Upload folder using huggingface_hub
Browse files- gemma_2b_d2l/args.yaml +213 -0
- gemma_2b_d2l/checkpoint-20000/pytorch_model.bin +3 -0
- gemma_demo/args.yaml +204 -0
- gemma_demo/checkpoint-80000/pytorch_model.bin +3 -0
- mistral_7b_d2l/args.yaml +213 -0
- mistral_7b_d2l/checkpoint-20000/pytorch_model.bin +3 -0
- qwen_4b_d2l/args.yaml +214 -0
- qwen_4b_d2l/checkpoint-20000/pytorch_model.bin +3 -0
gemma_2b_d2l/args.yaml
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
_n_gpu: 1
|
| 2 |
+
adafactor: false
|
| 3 |
+
adam_beta1: 0.9
|
| 4 |
+
adam_beta2: 0.999
|
| 5 |
+
adam_epsilon: 1.0e-08
|
| 6 |
+
aggregator_type: perceiver
|
| 7 |
+
auto_find_batch_size: false
|
| 8 |
+
average_tokens_across_devices: false
|
| 9 |
+
batch_eval_metrics: true
|
| 10 |
+
bf16: true
|
| 11 |
+
bf16_full_eval: false
|
| 12 |
+
ctx_encoder_model_name_or_path: null
|
| 13 |
+
ctx_encoder_type: per_layer_activations
|
| 14 |
+
data_seed: null
|
| 15 |
+
dataloader_drop_last: false
|
| 16 |
+
dataloader_num_workers: 8
|
| 17 |
+
dataloader_persistent_workers: false
|
| 18 |
+
dataloader_pin_memory: true
|
| 19 |
+
dataloader_prefetch_factor: 16
|
| 20 |
+
ddp_backend: null
|
| 21 |
+
ddp_broadcast_buffers: null
|
| 22 |
+
ddp_bucket_cap_mb: null
|
| 23 |
+
ddp_find_unused_parameters: false
|
| 24 |
+
ddp_timeout: 1048576
|
| 25 |
+
debug: []
|
| 26 |
+
deepspeed: null
|
| 27 |
+
deepspeed_plugin: null
|
| 28 |
+
disable_tqdm: false
|
| 29 |
+
do_eval: true
|
| 30 |
+
do_predict: false
|
| 31 |
+
do_train: false
|
| 32 |
+
dropout_rate: 0.0
|
| 33 |
+
eval_accumulation_steps: null
|
| 34 |
+
eval_delay: 0
|
| 35 |
+
eval_do_concat_batches: true
|
| 36 |
+
eval_on_start: false
|
| 37 |
+
eval_steps: 1000
|
| 38 |
+
eval_strategy: !!python/object/apply:transformers.trainer_utils.IntervalStrategy
|
| 39 |
+
- 'no'
|
| 40 |
+
eval_use_gather_object: false
|
| 41 |
+
exp_setup: !!python/object/apply:ctx_to_lora.configs.ExperimentSetup
|
| 42 |
+
- hyper_lora
|
| 43 |
+
extra_modules: null
|
| 44 |
+
fp16: false
|
| 45 |
+
fp16_backend: auto
|
| 46 |
+
fp16_full_eval: false
|
| 47 |
+
fp16_opt_level: O1
|
| 48 |
+
from_pretrained_checkpoint: train_outputs/runs/Sep29_14-42-46_slurm0-a3nodeset-9_88483_1e7bb34e/checkpoint-80000/pytorch_model.bin
|
| 49 |
+
fsdp: []
|
| 50 |
+
fsdp_config:
|
| 51 |
+
min_num_params: 0
|
| 52 |
+
xla: false
|
| 53 |
+
xla_fsdp_grad_ckpt: false
|
| 54 |
+
xla_fsdp_v2: false
|
| 55 |
+
fsdp_min_num_params: 0
|
| 56 |
+
fsdp_transformer_layer_cls_to_wrap: null
|
| 57 |
+
full_determinism: false
|
| 58 |
+
gen_lora_l1_reg_coef: 0.1
|
| 59 |
+
gen_per_device_eval_batch_size: 1
|
| 60 |
+
gradient_accumulation_steps: 16
|
| 61 |
+
gradient_checkpointing: false
|
| 62 |
+
gradient_checkpointing_kwargs: null
|
| 63 |
+
greater_is_better: null
|
| 64 |
+
group_by_length: false
|
| 65 |
+
half_precision_backend: auto
|
| 66 |
+
hub_always_push: false
|
| 67 |
+
hub_model_id: null
|
| 68 |
+
hub_private_repo: null
|
| 69 |
+
hub_strategy: !!python/object/apply:transformers.trainer_utils.HubStrategy
|
| 70 |
+
- every_save
|
| 71 |
+
hub_token: null
|
| 72 |
+
ignore_data_skip: false
|
| 73 |
+
include_inputs_for_metrics: false
|
| 74 |
+
include_num_input_tokens_seen: false
|
| 75 |
+
include_tokens_per_second: false
|
| 76 |
+
jit_mode_eval: false
|
| 77 |
+
label_smoothing_factor: 0.0
|
| 78 |
+
latent_size: 512
|
| 79 |
+
layer_idx: null
|
| 80 |
+
learning_rate: 2.0e-05
|
| 81 |
+
length_column_name: length
|
| 82 |
+
light_weight_latent_size: 128
|
| 83 |
+
load_best_model_at_end: false
|
| 84 |
+
local_rank: 4
|
| 85 |
+
log_level: passive
|
| 86 |
+
log_level_replica: warning
|
| 87 |
+
log_on_each_node: true
|
| 88 |
+
logging_dir: train_outputs/runs/Oct10_12-53-47_slurm0-a3nodeset-2_93442_fd3c1230
|
| 89 |
+
logging_first_step: true
|
| 90 |
+
logging_nan_inf_filter: true
|
| 91 |
+
logging_steps: 100
|
| 92 |
+
logging_strategy: !!python/object/apply:transformers.trainer_utils.IntervalStrategy
|
| 93 |
+
- steps
|
| 94 |
+
lora_dropout: 0.0
|
| 95 |
+
lora_r: 8
|
| 96 |
+
lr_scheduler_kwargs:
|
| 97 |
+
min_lr: 1.0e-07
|
| 98 |
+
lr_scheduler_type: !!python/object/apply:transformers.trainer_utils.SchedulerType
|
| 99 |
+
- cosine_with_min_lr
|
| 100 |
+
max_base_len: 8192
|
| 101 |
+
max_ctx_chunk_len: 512
|
| 102 |
+
max_ctx_chunk_num: null
|
| 103 |
+
max_ctx_len: -1
|
| 104 |
+
max_grad_norm: 1.0
|
| 105 |
+
max_new_tokens: 256
|
| 106 |
+
max_packed_ctx_len: 2048
|
| 107 |
+
max_packed_inp_len: 1024
|
| 108 |
+
max_qas_len: 512
|
| 109 |
+
max_qas_per_sample: 1
|
| 110 |
+
max_steps: 20000
|
| 111 |
+
max_train_samples_per_ds: null
|
| 112 |
+
max_val_samples_per_ds: 1000
|
| 113 |
+
metric_for_best_model: null
|
| 114 |
+
min_ctx_chunk_len: 25
|
| 115 |
+
model_name_or_path: google/gemma-2-2b-it
|
| 116 |
+
mp_parameters: ''
|
| 117 |
+
n_latent_queries: 8
|
| 118 |
+
neftune_noise_alpha: 5.0
|
| 119 |
+
no_cuda: false
|
| 120 |
+
notes: null
|
| 121 |
+
num_blocks: 9
|
| 122 |
+
num_chunk_probs:
|
| 123 |
+
'1': '0.5'
|
| 124 |
+
'2': '0.125'
|
| 125 |
+
'3': '0.0625'
|
| 126 |
+
'4': '0.0625'
|
| 127 |
+
'5': '0.0625'
|
| 128 |
+
'6': '0.0625'
|
| 129 |
+
'7': '0.0625'
|
| 130 |
+
'8': '0.0625'
|
| 131 |
+
num_latent_factor: 8
|
| 132 |
+
num_pre_head_layers: 1
|
| 133 |
+
num_self_attn_per_block: 0
|
| 134 |
+
num_train_epochs: 3.0
|
| 135 |
+
optim: !!python/object/apply:transformers.training_args.OptimizerNames
|
| 136 |
+
- adamw_torch_fused
|
| 137 |
+
optim_args: null
|
| 138 |
+
optim_target_modules: null
|
| 139 |
+
output_dir: train_outputs/runs/Oct10_12-53-47_slurm0-a3nodeset-2_93442_fd3c1230
|
| 140 |
+
overwrite_output_dir: false
|
| 141 |
+
past_index: -1
|
| 142 |
+
per_device_eval_batch_size: 64
|
| 143 |
+
per_device_train_batch_size: 1
|
| 144 |
+
per_gpu_eval_batch_size: null
|
| 145 |
+
per_gpu_train_batch_size: null
|
| 146 |
+
per_layer_processing: true
|
| 147 |
+
per_rank_gen: true
|
| 148 |
+
pooling_type: mean
|
| 149 |
+
prediction_loss_only: false
|
| 150 |
+
push_to_hub: false
|
| 151 |
+
push_to_hub_model_id: null
|
| 152 |
+
push_to_hub_organization: null
|
| 153 |
+
push_to_hub_token: null
|
| 154 |
+
quantize_ctx_encoder: true
|
| 155 |
+
ray_scope: last
|
| 156 |
+
remove_unused_columns: false
|
| 157 |
+
report_to:
|
| 158 |
+
- tensorboard
|
| 159 |
+
- wandb
|
| 160 |
+
restore_callback_states_from_checkpoint: false
|
| 161 |
+
resume_from_checkpoint: null
|
| 162 |
+
run_name: Oct10_12-53-47_slurm0-a3nodeset-2_93442_fd3c1230
|
| 163 |
+
save_on_each_node: false
|
| 164 |
+
save_only_model: false
|
| 165 |
+
save_safetensors: false
|
| 166 |
+
save_steps: 5000
|
| 167 |
+
save_strategy: !!python/object/apply:transformers.trainer_utils.SaveStrategy
|
| 168 |
+
- steps
|
| 169 |
+
save_total_limit: 2
|
| 170 |
+
seed: 42
|
| 171 |
+
shared_weights: false
|
| 172 |
+
skip_memory_metrics: true
|
| 173 |
+
streaming: false
|
| 174 |
+
target_modules:
|
| 175 |
+
- down_proj
|
| 176 |
+
test_ds_names: null
|
| 177 |
+
tf32: true
|
| 178 |
+
torch_compile: false
|
| 179 |
+
torch_compile_backend: null
|
| 180 |
+
torch_compile_mode: null
|
| 181 |
+
torch_empty_cache_steps: 10
|
| 182 |
+
torchdynamo: null
|
| 183 |
+
tp_size: 0
|
| 184 |
+
tpu_metrics_debug: false
|
| 185 |
+
tpu_num_cores: null
|
| 186 |
+
train_ds_names:
|
| 187 |
+
- self_gen/google/gemma-2-2b-it_temp_0.0_closed_qa_prob_1.0/fw_qa_v2/min_0_to_2000/train/*level_1*.parquet
|
| 188 |
+
- self_gen/google/gemma-2-2b-it_temp_0.0_closed_qa_prob_0.0/pwc_compact
|
| 189 |
+
- self_gen/google/gemma-2-2b-it_temp_0.0_closed_qa_prob_1.0/squad_compact
|
| 190 |
+
- self_gen/google/gemma-2-2b-it_temp_0.0_closed_qa_prob_1.0/ropes_compact
|
| 191 |
+
- self_gen/google/gemma-2-2b-it_temp_0.0_closed_qa_prob_1.0/drop_compact
|
| 192 |
+
use_bias: true
|
| 193 |
+
use_cpu: false
|
| 194 |
+
use_flash_attn: true
|
| 195 |
+
use_ipex: false
|
| 196 |
+
use_kl_loss: true
|
| 197 |
+
use_legacy_prediction_loop: false
|
| 198 |
+
use_liger_kernel: false
|
| 199 |
+
use_light_weight_lora: false
|
| 200 |
+
use_mps_device: false
|
| 201 |
+
use_per_ctx_average_loss: true
|
| 202 |
+
use_per_rank_bias: false
|
| 203 |
+
use_sequence_packing: true
|
| 204 |
+
use_token_mixing: false
|
| 205 |
+
val_ds_names:
|
| 206 |
+
- squad
|
| 207 |
+
- pwc
|
| 208 |
+
- drop
|
| 209 |
+
- ropes
|
| 210 |
+
- self_gen/google/gemma-2-2b-it_temp_0.0_closed_qa_prob_0.0/fw_qa_v2/min_0_to_2000/train/*level_0_val*.parquet
|
| 211 |
+
warmup_ratio: 0.0
|
| 212 |
+
warmup_steps: 2000
|
| 213 |
+
weight_decay: 0.01
|
gemma_2b_d2l/checkpoint-20000/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36b0ed4399cef3e1e3a6cbedb551e8f9a9c939d4d424bb1d3864c7d702e62dac
|
| 3 |
+
size 1261017534
|
gemma_demo/args.yaml
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
| 8 |
+
auto_find_batch_size: false
|
| 9 |
+
average_tokens_across_devices: false
|
| 10 |
+
batch_eval_metrics: true
|
| 11 |
+
bf16: true
|
| 12 |
+
bf16_full_eval: false
|
| 13 |
+
ctx_encoder_last_layer: null
|
| 14 |
+
ctx_encoder_model_name_or_path: null
|
| 15 |
+
ctx_encoder_type: per_layer_activations
|
| 16 |
+
data_seed: null
|
| 17 |
+
dataloader_drop_last: false
|
| 18 |
+
dataloader_num_workers: 8
|
| 19 |
+
dataloader_persistent_workers: false
|
| 20 |
+
dataloader_pin_memory: true
|
| 21 |
+
dataloader_prefetch_factor: 16
|
| 22 |
+
ddp_backend: null
|
| 23 |
+
ddp_broadcast_buffers: null
|
| 24 |
+
ddp_bucket_cap_mb: null
|
| 25 |
+
ddp_find_unused_parameters: false
|
| 26 |
+
ddp_timeout: 1048576
|
| 27 |
+
debug: []
|
| 28 |
+
deepspeed: null
|
| 29 |
+
deepspeed_plugin: null
|
| 30 |
+
disable_tqdm: false
|
| 31 |
+
do_eval: true
|
| 32 |
+
do_predict: false
|
| 33 |
+
do_train: false
|
| 34 |
+
dropout_rate: 0.0
|
| 35 |
+
eval_accumulation_steps: null
|
| 36 |
+
eval_delay: 0
|
| 37 |
+
eval_do_concat_batches: true
|
| 38 |
+
eval_on_start: false
|
| 39 |
+
eval_steps: 1000
|
| 40 |
+
eval_strategy: !!python/object/apply:transformers.trainer_utils.IntervalStrategy
|
| 41 |
+
- 'no'
|
| 42 |
+
eval_use_gather_object: false
|
| 43 |
+
exp_setup: !!python/object/apply:ctx_to_lora.configs.ExperimentSetup
|
| 44 |
+
- hyper_lora
|
| 45 |
+
extra_modules: null
|
| 46 |
+
fp16: false
|
| 47 |
+
fp16_backend: auto
|
| 48 |
+
fp16_full_eval: false
|
| 49 |
+
fp16_opt_level: O1
|
| 50 |
+
from_pretrained_checkpoint: train_outputs/runs/Nov13_14-20-28_slurm0-a3nodeset-12_102110_06981238/checkpoint-75000/pytorch_model.bin
|
| 51 |
+
fsdp: []
|
| 52 |
+
fsdp_config:
|
| 53 |
+
min_num_params: 0
|
| 54 |
+
xla: false
|
| 55 |
+
xla_fsdp_grad_ckpt: false
|
| 56 |
+
xla_fsdp_v2: false
|
| 57 |
+
fsdp_min_num_params: 0
|
| 58 |
+
fsdp_transformer_layer_cls_to_wrap: null
|
| 59 |
+
full_determinism: false
|
| 60 |
+
gen_lora_l1_reg_coef: 0.1
|
| 61 |
+
gen_per_device_eval_batch_size: 1
|
| 62 |
+
gradient_accumulation_steps: 8
|
| 63 |
+
gradient_checkpointing: false
|
| 64 |
+
gradient_checkpointing_kwargs: null
|
| 65 |
+
greater_is_better: null
|
| 66 |
+
group_by_length: false
|
| 67 |
+
half_precision_backend: auto
|
| 68 |
+
hub_always_push: false
|
| 69 |
+
hub_model_id: null
|
| 70 |
+
hub_private_repo: null
|
| 71 |
+
hub_strategy: !!python/object/apply:transformers.trainer_utils.HubStrategy
|
| 72 |
+
- every_save
|
| 73 |
+
hub_token: null
|
| 74 |
+
ignore_data_skip: false
|
| 75 |
+
include_inputs_for_metrics: false
|
| 76 |
+
include_num_input_tokens_seen: false
|
| 77 |
+
include_tokens_per_second: false
|
| 78 |
+
jit_mode_eval: false
|
| 79 |
+
label_smoothing_factor: 0.0
|
| 80 |
+
latent_size: 512
|
| 81 |
+
layer_idx: null
|
| 82 |
+
learning_rate: 4.0e-05
|
| 83 |
+
length_column_name: length
|
| 84 |
+
light_weight_latent_size: 128
|
| 85 |
+
load_best_model_at_end: false
|
| 86 |
+
local_rank: 3
|
| 87 |
+
log_level: passive
|
| 88 |
+
log_level_replica: warning
|
| 89 |
+
log_on_each_node: true
|
| 90 |
+
logging_dir: train_outputs/runs/Nov13_14-20-28_slurm0-a3nodeset-12_102110_06981238
|
| 91 |
+
logging_first_step: true
|
| 92 |
+
logging_nan_inf_filter: true
|
| 93 |
+
logging_steps: 100
|
| 94 |
+
logging_strategy: !!python/object/apply:transformers.trainer_utils.IntervalStrategy
|
| 95 |
+
- steps
|
| 96 |
+
lora_dropout: 0.0
|
| 97 |
+
lora_r: 8
|
| 98 |
+
lr_scheduler_kwargs:
|
| 99 |
+
min_lr: 1.0e-07
|
| 100 |
+
lr_scheduler_type: !!python/object/apply:transformers.trainer_utils.SchedulerType
|
| 101 |
+
- cosine_with_min_lr
|
| 102 |
+
max_base_len: 8192
|
| 103 |
+
max_ctx_chunk_len: -1
|
| 104 |
+
max_ctx_chunk_num: null
|
| 105 |
+
max_ctx_len: -1
|
| 106 |
+
max_grad_norm: 1.0
|
| 107 |
+
max_new_tokens: 256
|
| 108 |
+
max_packed_ctx_len: 4096
|
| 109 |
+
max_packed_inp_len: 4096
|
| 110 |
+
max_qas_len: 2048
|
| 111 |
+
max_qas_per_sample: 1
|
| 112 |
+
max_steps: 80000
|
| 113 |
+
max_test_samples_per_ds: 500
|
| 114 |
+
max_train_samples_per_ds: null
|
| 115 |
+
max_val_samples_per_ds: 1000
|
| 116 |
+
metric_for_best_model: null
|
| 117 |
+
min_ctx_chunk_len: -1
|
| 118 |
+
model_name_or_path: google/gemma-2-2b-it
|
| 119 |
+
mp_parameters: ''
|
| 120 |
+
n_latent_queries: 8
|
| 121 |
+
neftune_noise_alpha: 5.0
|
| 122 |
+
no_cuda: false
|
| 123 |
+
notes: null
|
| 124 |
+
num_blocks: 9
|
| 125 |
+
num_chunk_probs: null
|
| 126 |
+
num_latent_factor: 8
|
| 127 |
+
num_pre_head_layers: 1
|
| 128 |
+
num_self_attn_per_block: 0
|
| 129 |
+
num_train_epochs: 3.0
|
| 130 |
+
optim: !!python/object/apply:transformers.training_args.OptimizerNames
|
| 131 |
+
- adamw_torch_fused
|
| 132 |
+
optim_args: null
|
| 133 |
+
optim_target_modules: null
|
| 134 |
+
output_dir: train_outputs/runs/Nov13_14-20-28_slurm0-a3nodeset-12_102110_06981238
|
| 135 |
+
overwrite_output_dir: false
|
| 136 |
+
past_index: -1
|
| 137 |
+
per_device_eval_batch_size: 64
|
| 138 |
+
per_device_train_batch_size: 1
|
| 139 |
+
per_gpu_eval_batch_size: null
|
| 140 |
+
per_gpu_train_batch_size: null
|
| 141 |
+
per_layer_processing: true
|
| 142 |
+
per_rank_gen: true
|
| 143 |
+
pooling_type: mean
|
| 144 |
+
prediction_loss_only: false
|
| 145 |
+
push_to_hub: false
|
| 146 |
+
push_to_hub_model_id: null
|
| 147 |
+
push_to_hub_organization: null
|
| 148 |
+
push_to_hub_token: null
|
| 149 |
+
quantize_ctx_encoder: true
|
| 150 |
+
ray_scope: last
|
| 151 |
+
remove_unused_columns: false
|
| 152 |
+
report_to:
|
| 153 |
+
- tensorboard
|
| 154 |
+
- wandb
|
| 155 |
+
restore_callback_states_from_checkpoint: false
|
| 156 |
+
resume_from_checkpoint: train_outputs/runs/Nov13_14-20-28_slurm0-a3nodeset-12_102110_06981238/checkpoint-75000
|
| 157 |
+
run_name: Nov13_14-20-28_slurm0-a3nodeset-12_102110_06981238
|
| 158 |
+
save_on_each_node: false
|
| 159 |
+
save_only_model: false
|
| 160 |
+
save_safetensors: false
|
| 161 |
+
save_steps: 5000
|
| 162 |
+
save_strategy: !!python/object/apply:transformers.trainer_utils.SaveStrategy
|
| 163 |
+
- steps
|
| 164 |
+
save_total_limit: 2
|
| 165 |
+
seed: 42
|
| 166 |
+
shared_weights: false
|
| 167 |
+
skip_memory_metrics: true
|
| 168 |
+
streaming: false
|
| 169 |
+
target_modules:
|
| 170 |
+
- down_proj
|
| 171 |
+
test_ds_names: null
|
| 172 |
+
tf32: true
|
| 173 |
+
torch_compile: false
|
| 174 |
+
torch_compile_backend: null
|
| 175 |
+
torch_compile_mode: null
|
| 176 |
+
torch_empty_cache_steps: null
|
| 177 |
+
torchdynamo: null
|
| 178 |
+
tp_size: 0
|
| 179 |
+
tpu_metrics_debug: false
|
| 180 |
+
tpu_num_cores: null
|
| 181 |
+
train_ds_names:
|
| 182 |
+
- self_gen/google/gemma-2-2b-it_temp_0.0_closed_qa_prob_1.0/fw_qa_v2/min_0_to_2000/train/*level_1*.parquet
|
| 183 |
+
use_bias: true
|
| 184 |
+
use_cpu: false
|
| 185 |
+
use_flash_attn: true
|
| 186 |
+
use_ipex: false
|
| 187 |
+
use_kl_loss: true
|
| 188 |
+
use_legacy_prediction_loop: false
|
| 189 |
+
use_liger_kernel: false
|
| 190 |
+
use_light_weight_lora: false
|
| 191 |
+
use_mps_device: false
|
| 192 |
+
use_per_ctx_average_loss: true
|
| 193 |
+
use_per_rank_bias: false
|
| 194 |
+
use_sequence_packing: true
|
| 195 |
+
use_token_mixing: false
|
| 196 |
+
val_ds_names:
|
| 197 |
+
- squad
|
| 198 |
+
- pwc
|
| 199 |
+
- drop
|
| 200 |
+
- ropes
|
| 201 |
+
- self_gen/google/gemma-2-2b-it_temp_0.0_closed_qa_prob_0.0/fw_qa_v2/min_0_to_2000/train/*level_0_val*.parquet
|
| 202 |
+
warmup_ratio: 0.0
|
| 203 |
+
warmup_steps: 100
|
| 204 |
+
weight_decay: 0.01
|
gemma_demo/checkpoint-80000/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0e94a7200dfb7d1dd65b0d7d1fc95088f5bf2560c3ec07114e2e92069730d82
|
| 3 |
+
size 1261017534
|
mistral_7b_d2l/args.yaml
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
+
adam_beta1: 0.9
|
| 4 |
+
adam_beta2: 0.999
|
| 5 |
+
adam_epsilon: 1.0e-08
|
| 6 |
+
aggregator_type: perceiver
|
| 7 |
+
auto_find_batch_size: false
|
| 8 |
+
average_tokens_across_devices: false
|
| 9 |
+
batch_eval_metrics: true
|
| 10 |
+
bf16: true
|
| 11 |
+
bf16_full_eval: false
|
| 12 |
+
ctx_encoder_model_name_or_path: null
|
| 13 |
+
ctx_encoder_type: per_layer_activations
|
| 14 |
+
data_seed: null
|
| 15 |
+
dataloader_drop_last: false
|
| 16 |
+
dataloader_num_workers: 8
|
| 17 |
+
dataloader_persistent_workers: false
|
| 18 |
+
dataloader_pin_memory: true
|
| 19 |
+
dataloader_prefetch_factor: 16
|
| 20 |
+
ddp_backend: null
|
| 21 |
+
ddp_broadcast_buffers: null
|
| 22 |
+
ddp_bucket_cap_mb: null
|
| 23 |
+
ddp_find_unused_parameters: false
|
| 24 |
+
ddp_timeout: 1048576
|
| 25 |
+
debug: []
|
| 26 |
+
deepspeed: null
|
| 27 |
+
deepspeed_plugin: null
|
| 28 |
+
disable_tqdm: false
|
| 29 |
+
do_eval: true
|
| 30 |
+
do_predict: false
|
| 31 |
+
do_train: false
|
| 32 |
+
dropout_rate: 0.0
|
| 33 |
+
eval_accumulation_steps: null
|
| 34 |
+
eval_delay: 0
|
| 35 |
+
eval_do_concat_batches: true
|
| 36 |
+
eval_on_start: false
|
| 37 |
+
eval_steps: 1000
|
| 38 |
+
eval_strategy: !!python/object/apply:transformers.trainer_utils.IntervalStrategy
|
| 39 |
+
- 'no'
|
| 40 |
+
eval_use_gather_object: false
|
| 41 |
+
exp_setup: !!python/object/apply:ctx_to_lora.configs.ExperimentSetup
|
| 42 |
+
- hyper_lora
|
| 43 |
+
extra_modules: null
|
| 44 |
+
fp16: false
|
| 45 |
+
fp16_backend: auto
|
| 46 |
+
fp16_full_eval: false
|
| 47 |
+
fp16_opt_level: O1
|
| 48 |
+
from_pretrained_checkpoint: train_outputs/runs/Oct13_22-48-36_sakura-009_5696_e1de4530/checkpoint-80000/pytorch_model.bin
|
| 49 |
+
fsdp: []
|
| 50 |
+
fsdp_config:
|
| 51 |
+
min_num_params: 0
|
| 52 |
+
xla: false
|
| 53 |
+
xla_fsdp_grad_ckpt: false
|
| 54 |
+
xla_fsdp_v2: false
|
| 55 |
+
fsdp_min_num_params: 0
|
| 56 |
+
fsdp_transformer_layer_cls_to_wrap: null
|
| 57 |
+
full_determinism: false
|
| 58 |
+
gen_lora_l1_reg_coef: 0.1
|
| 59 |
+
gen_per_device_eval_batch_size: 1
|
| 60 |
+
gradient_accumulation_steps: 16
|
| 61 |
+
gradient_checkpointing: false
|
| 62 |
+
gradient_checkpointing_kwargs: null
|
| 63 |
+
greater_is_better: null
|
| 64 |
+
group_by_length: false
|
| 65 |
+
half_precision_backend: auto
|
| 66 |
+
hub_always_push: false
|
| 67 |
+
hub_model_id: null
|
| 68 |
+
hub_private_repo: null
|
| 69 |
+
hub_strategy: !!python/object/apply:transformers.trainer_utils.HubStrategy
|
| 70 |
+
- every_save
|
| 71 |
+
hub_token: null
|
| 72 |
+
ignore_data_skip: false
|
| 73 |
+
include_inputs_for_metrics: false
|
| 74 |
+
include_num_input_tokens_seen: false
|
| 75 |
+
include_tokens_per_second: false
|
| 76 |
+
jit_mode_eval: false
|
| 77 |
+
label_smoothing_factor: 0.0
|
| 78 |
+
latent_size: 512
|
| 79 |
+
layer_idx: null
|
| 80 |
+
learning_rate: 2.0e-05
|
| 81 |
+
length_column_name: length
|
| 82 |
+
light_weight_latent_size: 128
|
| 83 |
+
load_best_model_at_end: false
|
| 84 |
+
local_rank: 6
|
| 85 |
+
log_level: passive
|
| 86 |
+
log_level_replica: warning
|
| 87 |
+
log_on_each_node: true
|
| 88 |
+
logging_dir: train_outputs/runs/Oct24_19-35-30_sakura-002_6570_c39b20c9
|
| 89 |
+
logging_first_step: true
|
| 90 |
+
logging_nan_inf_filter: true
|
| 91 |
+
logging_steps: 100
|
| 92 |
+
logging_strategy: !!python/object/apply:transformers.trainer_utils.IntervalStrategy
|
| 93 |
+
- steps
|
| 94 |
+
lora_dropout: 0.0
|
| 95 |
+
lora_r: 8
|
| 96 |
+
lr_scheduler_kwargs:
|
| 97 |
+
min_lr: 1.0e-07
|
| 98 |
+
lr_scheduler_type: !!python/object/apply:transformers.trainer_utils.SchedulerType
|
| 99 |
+
- cosine_with_min_lr
|
| 100 |
+
max_base_len: 8192
|
| 101 |
+
max_ctx_chunk_len: 512
|
| 102 |
+
max_ctx_chunk_num: null
|
| 103 |
+
max_ctx_len: -1
|
| 104 |
+
max_grad_norm: 1.0
|
| 105 |
+
max_new_tokens: 256
|
| 106 |
+
max_packed_ctx_len: 2048
|
| 107 |
+
max_packed_inp_len: 512
|
| 108 |
+
max_qas_len: 512
|
| 109 |
+
max_qas_per_sample: 1
|
| 110 |
+
max_steps: 20000
|
| 111 |
+
max_test_samples_per_ds: 500
|
| 112 |
+
max_train_samples_per_ds: null
|
| 113 |
+
max_val_samples_per_ds: 1000
|
| 114 |
+
metric_for_best_model: null
|
| 115 |
+
min_ctx_chunk_len: 25
|
| 116 |
+
model_name_or_path: mistralai/Mistral-7B-Instruct-v0.2
|
| 117 |
+
mp_parameters: ''
|
| 118 |
+
n_latent_queries: 8
|
| 119 |
+
neftune_noise_alpha: 5.0
|
| 120 |
+
no_cuda: false
|
| 121 |
+
notes: null
|
| 122 |
+
num_blocks: 9
|
| 123 |
+
num_chunk_probs:
|
| 124 |
+
'1': '0.5'
|
| 125 |
+
'2': '0.125'
|
| 126 |
+
'3': '0.0625'
|
| 127 |
+
'4': '0.0625'
|
| 128 |
+
'5': '0.0625'
|
| 129 |
+
'6': '0.0625'
|
| 130 |
+
'7': '0.0625'
|
| 131 |
+
'8': '0.0625'
|
| 132 |
+
num_latent_factor: 8
|
| 133 |
+
num_pre_head_layers: 1
|
| 134 |
+
num_self_attn_per_block: 0
|
| 135 |
+
num_train_epochs: 3.0
|
| 136 |
+
optim: !!python/object/apply:transformers.training_args.OptimizerNames
|
| 137 |
+
- adamw_torch_fused
|
| 138 |
+
optim_args: null
|
| 139 |
+
optim_target_modules: null
|
| 140 |
+
output_dir: train_outputs/runs/Oct24_19-35-30_sakura-002_6570_c39b20c9
|
| 141 |
+
overwrite_output_dir: false
|
| 142 |
+
past_index: -1
|
| 143 |
+
per_device_eval_batch_size: 64
|
| 144 |
+
per_device_train_batch_size: 1
|
| 145 |
+
per_gpu_eval_batch_size: null
|
| 146 |
+
per_gpu_train_batch_size: null
|
| 147 |
+
per_layer_processing: true
|
| 148 |
+
per_rank_gen: true
|
| 149 |
+
pooling_type: mean
|
| 150 |
+
prediction_loss_only: false
|
| 151 |
+
push_to_hub: false
|
| 152 |
+
push_to_hub_model_id: null
|
| 153 |
+
push_to_hub_organization: null
|
| 154 |
+
push_to_hub_token: null
|
| 155 |
+
quantize_ctx_encoder: true
|
| 156 |
+
ray_scope: last
|
| 157 |
+
remove_unused_columns: false
|
| 158 |
+
report_to:
|
| 159 |
+
- tensorboard
|
| 160 |
+
- wandb
|
| 161 |
+
restore_callback_states_from_checkpoint: false
|
| 162 |
+
resume_from_checkpoint: null
|
| 163 |
+
run_name: Oct24_19-35-30_sakura-002_6570_c39b20c9
|
| 164 |
+
save_on_each_node: false
|
| 165 |
+
save_only_model: false
|
| 166 |
+
save_safetensors: false
|
| 167 |
+
save_steps: 5000
|
| 168 |
+
save_strategy: !!python/object/apply:transformers.trainer_utils.SaveStrategy
|
| 169 |
+
- steps
|
| 170 |
+
save_total_limit: 2
|
| 171 |
+
seed: 42
|
| 172 |
+
shared_weights: false
|
| 173 |
+
skip_memory_metrics: true
|
| 174 |
+
streaming: false
|
| 175 |
+
target_modules:
|
| 176 |
+
- down_proj
|
| 177 |
+
test_ds_names: null
|
| 178 |
+
tf32: true
|
| 179 |
+
torch_compile: false
|
| 180 |
+
torch_compile_backend: null
|
| 181 |
+
torch_compile_mode: null
|
| 182 |
+
torch_empty_cache_steps: null
|
| 183 |
+
torchdynamo: null
|
| 184 |
+
tp_size: 0
|
| 185 |
+
tpu_metrics_debug: false
|
| 186 |
+
tpu_num_cores: null
|
| 187 |
+
train_ds_names:
|
| 188 |
+
- self_gen/mistralai/Mistral-7B-Instruct-v0.2_temp_0.0_closed_qa_prob_1.0/fw_qa_v2/min_0_to_2000/train/*level_1*.parquet
|
| 189 |
+
- self_gen/mistralai/Mistral-7B-Instruct-v0.2_temp_0.0_closed_qa_prob_0.0/pwc_compact
|
| 190 |
+
- self_gen/mistralai/Mistral-7B-Instruct-v0.2_temp_0.0_closed_qa_prob_1.0/squad_compact
|
| 191 |
+
- self_gen/mistralai/Mistral-7B-Instruct-v0.2_temp_0.0_closed_qa_prob_1.0/ropes_compact
|
| 192 |
+
- self_gen/mistralai/Mistral-7B-Instruct-v0.2_temp_0.0_closed_qa_prob_1.0/drop_compact
|
| 193 |
+
use_bias: true
|
| 194 |
+
use_cpu: false
|
| 195 |
+
use_flash_attn: true
|
| 196 |
+
use_ipex: false
|
| 197 |
+
use_kl_loss: true
|
| 198 |
+
use_legacy_prediction_loop: false
|
| 199 |
+
use_liger_kernel: false
|
| 200 |
+
use_light_weight_lora: false
|
| 201 |
+
use_mps_device: false
|
| 202 |
+
use_per_ctx_average_loss: true
|
| 203 |
+
use_per_rank_bias: false
|
| 204 |
+
use_sequence_packing: true
|
| 205 |
+
use_token_mixing: false
|
| 206 |
+
val_ds_names:
|
| 207 |
+
- squad
|
| 208 |
+
- pwc
|
| 209 |
+
- drop
|
| 210 |
+
- ropes
|
| 211 |
+
warmup_ratio: 0.0
|
| 212 |
+
warmup_steps: 2000
|
| 213 |
+
weight_decay: 0.01
|
mistral_7b_d2l/checkpoint-20000/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:baa4ea0e54478e483a128080095a7a2e00c58649e3625f83d9f2aea3913fd3db
|
| 3 |
+
size 2296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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
_n_gpu: 1
|
| 2 |
+
adafactor: false
|
| 3 |
+
adam_beta1: 0.9
|
| 4 |
+
adam_beta2: 0.999
|
| 5 |
+
adam_epsilon: 1.0e-08
|
| 6 |
+
aggregator_type: perceiver
|
| 7 |
+
auto_find_batch_size: false
|
| 8 |
+
average_tokens_across_devices: false
|
| 9 |
+
batch_eval_metrics: true
|
| 10 |
+
bf16: true
|
| 11 |
+
bf16_full_eval: false
|
| 12 |
+
ctx_encoder_last_layer: null
|
| 13 |
+
ctx_encoder_model_name_or_path: null
|
| 14 |
+
ctx_encoder_type: per_layer_activations
|
| 15 |
+
data_seed: null
|
| 16 |
+
dataloader_drop_last: false
|
| 17 |
+
dataloader_num_workers: 8
|
| 18 |
+
dataloader_persistent_workers: false
|
| 19 |
+
dataloader_pin_memory: true
|
| 20 |
+
dataloader_prefetch_factor: 16
|
| 21 |
+
ddp_backend: null
|
| 22 |
+
ddp_broadcast_buffers: null
|
| 23 |
+
ddp_bucket_cap_mb: null
|
| 24 |
+
ddp_find_unused_parameters: false
|
| 25 |
+
ddp_timeout: 1048576
|
| 26 |
+
debug: []
|
| 27 |
+
deepspeed: null
|
| 28 |
+
deepspeed_plugin: null
|
| 29 |
+
disable_tqdm: false
|
| 30 |
+
do_eval: true
|
| 31 |
+
do_predict: false
|
| 32 |
+
do_train: false
|
| 33 |
+
dropout_rate: 0.0
|
| 34 |
+
eval_accumulation_steps: null
|
| 35 |
+
eval_delay: 0
|
| 36 |
+
eval_do_concat_batches: true
|
| 37 |
+
eval_on_start: false
|
| 38 |
+
eval_steps: 1000
|
| 39 |
+
eval_strategy: !!python/object/apply:transformers.trainer_utils.IntervalStrategy
|
| 40 |
+
- 'no'
|
| 41 |
+
eval_use_gather_object: false
|
| 42 |
+
exp_setup: !!python/object/apply:ctx_to_lora.configs.ExperimentSetup
|
| 43 |
+
- hyper_lora
|
| 44 |
+
extra_modules: null
|
| 45 |
+
fp16: false
|
| 46 |
+
fp16_backend: auto
|
| 47 |
+
fp16_full_eval: false
|
| 48 |
+
fp16_opt_level: O1
|
| 49 |
+
from_pretrained_checkpoint: train_outputs/runs/Nov03_12-20-12_slurm0-a3nodeset-7_98447_7ad3c46b/checkpoint-80000/pytorch_model.bin
|
| 50 |
+
fsdp: []
|
| 51 |
+
fsdp_config:
|
| 52 |
+
min_num_params: 0
|
| 53 |
+
xla: false
|
| 54 |
+
xla_fsdp_grad_ckpt: false
|
| 55 |
+
xla_fsdp_v2: false
|
| 56 |
+
fsdp_min_num_params: 0
|
| 57 |
+
fsdp_transformer_layer_cls_to_wrap: null
|
| 58 |
+
full_determinism: false
|
| 59 |
+
gen_lora_l1_reg_coef: 0.1
|
| 60 |
+
gen_per_device_eval_batch_size: 1
|
| 61 |
+
gradient_accumulation_steps: 16
|
| 62 |
+
gradient_checkpointing: false
|
| 63 |
+
gradient_checkpointing_kwargs: null
|
| 64 |
+
greater_is_better: null
|
| 65 |
+
group_by_length: false
|
| 66 |
+
half_precision_backend: auto
|
| 67 |
+
hub_always_push: false
|
| 68 |
+
hub_model_id: null
|
| 69 |
+
hub_private_repo: null
|
| 70 |
+
hub_strategy: !!python/object/apply:transformers.trainer_utils.HubStrategy
|
| 71 |
+
- every_save
|
| 72 |
+
hub_token: null
|
| 73 |
+
ignore_data_skip: false
|
| 74 |
+
include_inputs_for_metrics: false
|
| 75 |
+
include_num_input_tokens_seen: false
|
| 76 |
+
include_tokens_per_second: false
|
| 77 |
+
jit_mode_eval: false
|
| 78 |
+
label_smoothing_factor: 0.0
|
| 79 |
+
latent_size: 512
|
| 80 |
+
layer_idx: null
|
| 81 |
+
learning_rate: 2.0e-05
|
| 82 |
+
length_column_name: length
|
| 83 |
+
light_weight_latent_size: 128
|
| 84 |
+
load_best_model_at_end: false
|
| 85 |
+
local_rank: 2
|
| 86 |
+
log_level: passive
|
| 87 |
+
log_level_replica: warning
|
| 88 |
+
log_on_each_node: true
|
| 89 |
+
logging_dir: train_outputs/runs/Nov11_10-54-49_sakura-003_7392_9f1320be
|
| 90 |
+
logging_first_step: true
|
| 91 |
+
logging_nan_inf_filter: true
|
| 92 |
+
logging_steps: 100
|
| 93 |
+
logging_strategy: !!python/object/apply:transformers.trainer_utils.IntervalStrategy
|
| 94 |
+
- steps
|
| 95 |
+
lora_dropout: 0.0
|
| 96 |
+
lora_r: 8
|
| 97 |
+
lr_scheduler_kwargs:
|
| 98 |
+
min_lr: 1.0e-07
|
| 99 |
+
lr_scheduler_type: !!python/object/apply:transformers.trainer_utils.SchedulerType
|
| 100 |
+
- cosine_with_min_lr
|
| 101 |
+
max_base_len: 8192
|
| 102 |
+
max_ctx_chunk_len: 512
|
| 103 |
+
max_ctx_chunk_num: null
|
| 104 |
+
max_ctx_len: -1
|
| 105 |
+
max_grad_norm: 1.0
|
| 106 |
+
max_new_tokens: 256
|
| 107 |
+
max_packed_ctx_len: 2048
|
| 108 |
+
max_packed_inp_len: 1024
|
| 109 |
+
max_qas_len: 1024
|
| 110 |
+
max_qas_per_sample: 1
|
| 111 |
+
max_steps: 20000
|
| 112 |
+
max_test_samples_per_ds: 500
|
| 113 |
+
max_train_samples_per_ds: null
|
| 114 |
+
max_val_samples_per_ds: 1000
|
| 115 |
+
metric_for_best_model: null
|
| 116 |
+
min_ctx_chunk_len: 25
|
| 117 |
+
model_name_or_path: Qwen/Qwen3-4B-Instruct-2507
|
| 118 |
+
mp_parameters: ''
|
| 119 |
+
n_latent_queries: 8
|
| 120 |
+
neftune_noise_alpha: 5.0
|
| 121 |
+
no_cuda: false
|
| 122 |
+
notes: null
|
| 123 |
+
num_blocks: 9
|
| 124 |
+
num_chunk_probs:
|
| 125 |
+
'1': '0.5'
|
| 126 |
+
'2': '0.125'
|
| 127 |
+
'3': '0.0625'
|
| 128 |
+
'4': '0.0625'
|
| 129 |
+
'5': '0.0625'
|
| 130 |
+
'6': '0.0625'
|
| 131 |
+
'7': '0.0625'
|
| 132 |
+
'8': '0.0625'
|
| 133 |
+
num_latent_factor: 8
|
| 134 |
+
num_pre_head_layers: 1
|
| 135 |
+
num_self_attn_per_block: 0
|
| 136 |
+
num_train_epochs: 3.0
|
| 137 |
+
optim: !!python/object/apply:transformers.training_args.OptimizerNames
|
| 138 |
+
- adamw_torch_fused
|
| 139 |
+
optim_args: null
|
| 140 |
+
optim_target_modules: null
|
| 141 |
+
output_dir: train_outputs/runs/Nov11_10-54-49_sakura-003_7392_9f1320be
|
| 142 |
+
overwrite_output_dir: false
|
| 143 |
+
past_index: -1
|
| 144 |
+
per_device_eval_batch_size: 64
|
| 145 |
+
per_device_train_batch_size: 1
|
| 146 |
+
per_gpu_eval_batch_size: null
|
| 147 |
+
per_gpu_train_batch_size: null
|
| 148 |
+
per_layer_processing: true
|
| 149 |
+
per_rank_gen: true
|
| 150 |
+
pooling_type: mean
|
| 151 |
+
prediction_loss_only: false
|
| 152 |
+
push_to_hub: false
|
| 153 |
+
push_to_hub_model_id: null
|
| 154 |
+
push_to_hub_organization: null
|
| 155 |
+
push_to_hub_token: null
|
| 156 |
+
quantize_ctx_encoder: true
|
| 157 |
+
ray_scope: last
|
| 158 |
+
remove_unused_columns: false
|
| 159 |
+
report_to:
|
| 160 |
+
- tensorboard
|
| 161 |
+
- wandb
|
| 162 |
+
restore_callback_states_from_checkpoint: false
|
| 163 |
+
resume_from_checkpoint: null
|
| 164 |
+
run_name: Nov11_10-54-49_sakura-003_7392_9f1320be
|
| 165 |
+
save_on_each_node: false
|
| 166 |
+
save_only_model: false
|
| 167 |
+
save_safetensors: false
|
| 168 |
+
save_steps: 5000
|
| 169 |
+
save_strategy: !!python/object/apply:transformers.trainer_utils.SaveStrategy
|
| 170 |
+
- steps
|
| 171 |
+
save_total_limit: 2
|
| 172 |
+
seed: 42
|
| 173 |
+
shared_weights: false
|
| 174 |
+
skip_memory_metrics: true
|
| 175 |
+
streaming: false
|
| 176 |
+
target_modules:
|
| 177 |
+
- down_proj
|
| 178 |
+
test_ds_names: null
|
| 179 |
+
tf32: true
|
| 180 |
+
torch_compile: false
|
| 181 |
+
torch_compile_backend: null
|
| 182 |
+
torch_compile_mode: null
|
| 183 |
+
torch_empty_cache_steps: null
|
| 184 |
+
torchdynamo: null
|
| 185 |
+
tp_size: 0
|
| 186 |
+
tpu_metrics_debug: false
|
| 187 |
+
tpu_num_cores: null
|
| 188 |
+
train_ds_names:
|
| 189 |
+
- self_gen/Qwen/Qwen3-4B-Instruct-2507_temp_0.0_closed_qa_prob_1.0/fw_qa_v2/min_0_to_2000/train/*level_1*.parquet
|
| 190 |
+
- self_gen/Qwen/Qwen3-4B-Instruct-2507_temp_0.0_closed_qa_prob_0.0/pwc_compact
|
| 191 |
+
- self_gen/Qwen/Qwen3-4B-Instruct-2507_temp_0.0_closed_qa_prob_1.0/squad_compact
|
| 192 |
+
- self_gen/Qwen/Qwen3-4B-Instruct-2507_temp_0.0_closed_qa_prob_1.0/ropes_compact
|
| 193 |
+
- self_gen/Qwen/Qwen3-4B-Instruct-2507_temp_0.0_closed_qa_prob_1.0/drop_compact
|
| 194 |
+
use_bias: true
|
| 195 |
+
use_cpu: false
|
| 196 |
+
use_flash_attn: true
|
| 197 |
+
use_ipex: false
|
| 198 |
+
use_kl_loss: true
|
| 199 |
+
use_legacy_prediction_loop: false
|
| 200 |
+
use_liger_kernel: false
|
| 201 |
+
use_light_weight_lora: false
|
| 202 |
+
use_mps_device: false
|
| 203 |
+
use_per_ctx_average_loss: true
|
| 204 |
+
use_per_rank_bias: false
|
| 205 |
+
use_sequence_packing: true
|
| 206 |
+
use_token_mixing: false
|
| 207 |
+
val_ds_names:
|
| 208 |
+
- squad
|
| 209 |
+
- pwc
|
| 210 |
+
- drop
|
| 211 |
+
- ropes
|
| 212 |
+
warmup_ratio: 0.0
|
| 213 |
+
warmup_steps: 2000
|
| 214 |
+
weight_decay: 0.01
|
qwen_4b_d2l/checkpoint-20000/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6438b46c828dd3b5f88f21add0f7f5cacc7994d47bf15eda266786a506044591
|
| 3 |
+
size 1684073598
|