liho00 commited on
Commit
80e2355
1 Parent(s): 5f37a7b

Upload training_config.yml with huggingface_hub

Browse files
Files changed (1) hide show
  1. 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: 8
9
- lora_alpha: 16
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: 5000
26
  interim_gen_steps: null
27
- max_new_tokens: 100
28
  temperature: 0.6
29
- top_k: 300
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: 4
50
  optimizer:
51
  _component_: torch.optim.AdamW
52
- weight_decay: 0.01
53
  lr: 0.0003
54
  lr_scheduler:
55
  _component_: torchtune.modules.get_cosine_schedule_with_warmup
56
- num_warmup_steps: 100
57
  loss:
58
  _component_: torch.nn.CrossEntropyLoss
59
- epochs: 5
60
  max_steps_per_epoch: null
61
- gradient_accumulation_steps: 16
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: 300
81
- temperature: 0.6
82
- top_k: 300
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