Upload training_config.yml with huggingface_hub
Browse files- training_config.yml +13 -13
training_config.yml
CHANGED
|
@@ -5,8 +5,8 @@ model:
|
|
| 5 |
- v_proj
|
| 6 |
apply_lora_to_mlp: false
|
| 7 |
apply_lora_to_output: false
|
| 8 |
-
lora_rank:
|
| 9 |
-
lora_alpha:
|
| 10 |
perception_tokens: 2
|
| 11 |
use_clip: false
|
| 12 |
tokenizer:
|
|
@@ -22,11 +22,11 @@ checkpointer:
|
|
| 22 |
output_dir: output_checkpoints/experiment_1
|
| 23 |
model_type: LLAMA3
|
| 24 |
resume_from_checkpoint: false
|
| 25 |
-
interim_checkpoint_steps:
|
| 26 |
interim_gen_steps: null
|
| 27 |
-
max_new_tokens:
|
| 28 |
temperature: 0.6
|
| 29 |
-
top_k:
|
| 30 |
dataset:
|
| 31 |
_component_: ds.EvenBatcher
|
| 32 |
buffer_size: 36
|
|
@@ -46,19 +46,19 @@ dataset:
|
|
| 46 |
train_on_input: false
|
| 47 |
seed: null
|
| 48 |
shuffle: true
|
| 49 |
-
batch_size:
|
| 50 |
optimizer:
|
| 51 |
_component_: torch.optim.AdamW
|
| 52 |
-
weight_decay: 0.
|
| 53 |
lr: 0.0003
|
| 54 |
lr_scheduler:
|
| 55 |
_component_: torchtune.modules.get_cosine_schedule_with_warmup
|
| 56 |
-
num_warmup_steps:
|
| 57 |
loss:
|
| 58 |
_component_: torch.nn.CrossEntropyLoss
|
| 59 |
-
epochs:
|
| 60 |
max_steps_per_epoch: null
|
| 61 |
-
gradient_accumulation_steps:
|
| 62 |
compile: false
|
| 63 |
output_dir: /tmp/lora_finetune_output
|
| 64 |
metric_logger:
|
|
@@ -77,8 +77,8 @@ inference:
|
|
| 77 |
{video}
|
| 78 |
|
| 79 |
Caption the previous video.'
|
| 80 |
-
max_new_tokens:
|
| 81 |
-
temperature: 0.
|
| 82 |
-
top_k:
|
| 83 |
quantizer: null
|
| 84 |
gradient-accumulation-steps: 32
|
|
|
|
| 5 |
- v_proj
|
| 6 |
apply_lora_to_mlp: false
|
| 7 |
apply_lora_to_output: false
|
| 8 |
+
lora_rank: 16
|
| 9 |
+
lora_alpha: 32
|
| 10 |
perception_tokens: 2
|
| 11 |
use_clip: false
|
| 12 |
tokenizer:
|
|
|
|
| 22 |
output_dir: output_checkpoints/experiment_1
|
| 23 |
model_type: LLAMA3
|
| 24 |
resume_from_checkpoint: false
|
| 25 |
+
interim_checkpoint_steps: 15000
|
| 26 |
interim_gen_steps: null
|
| 27 |
+
max_new_tokens: 88
|
| 28 |
temperature: 0.6
|
| 29 |
+
top_k: 200
|
| 30 |
dataset:
|
| 31 |
_component_: ds.EvenBatcher
|
| 32 |
buffer_size: 36
|
|
|
|
| 46 |
train_on_input: false
|
| 47 |
seed: null
|
| 48 |
shuffle: true
|
| 49 |
+
batch_size: 8
|
| 50 |
optimizer:
|
| 51 |
_component_: torch.optim.AdamW
|
| 52 |
+
weight_decay: 0.99
|
| 53 |
lr: 0.0003
|
| 54 |
lr_scheduler:
|
| 55 |
_component_: torchtune.modules.get_cosine_schedule_with_warmup
|
| 56 |
+
num_warmup_steps: 4
|
| 57 |
loss:
|
| 58 |
_component_: torch.nn.CrossEntropyLoss
|
| 59 |
+
epochs: 6
|
| 60 |
max_steps_per_epoch: null
|
| 61 |
+
gradient_accumulation_steps: 512
|
| 62 |
compile: false
|
| 63 |
output_dir: /tmp/lora_finetune_output
|
| 64 |
metric_logger:
|
|
|
|
| 77 |
{video}
|
| 78 |
|
| 79 |
Caption the previous video.'
|
| 80 |
+
max_new_tokens: 222
|
| 81 |
+
temperature: 0.8
|
| 82 |
+
top_k: 222
|
| 83 |
quantizer: null
|
| 84 |
gradient-accumulation-steps: 32
|