liho00 commited on
Commit
6a87e91
·
verified ·
1 Parent(s): 96bc126

Upload training_config.yml with huggingface_hub

Browse files
Files changed (1) hide show
  1. training_config.yml +11 -9
training_config.yml CHANGED
@@ -11,10 +11,10 @@ model:
11
  use_clip: false
12
  tokenizer:
13
  _component_: models.a2a_tokenizer
14
- path: checkpoints/Meta-Llama-3-8B-Instruct/tokenizer.model
15
  checkpointer:
16
  _component_: torchtune.utils.FullModelMetaCheckpointer
17
- checkpoint_dir: checkpoints/Meta-Llama-3-8B-Instruct/
18
  checkpoint_files:
19
  - consolidated.00.pth
20
  adapter_checkpoint: null
@@ -25,10 +25,11 @@ resume_from_checkpoint: false
25
  interim_checkpoint_steps: 5000
26
  interim_gen_steps: null
27
  max_new_tokens: 100
28
- temperature: 0.8
29
  top_k: 300
30
  dataset:
31
  _component_: ds.EvenBatcher
 
32
  dataset:
33
  _component_: ds.RoundRobinDataset
34
  datasets:
@@ -45,21 +46,21 @@ dataset:
45
  train_on_input: false
46
  seed: null
47
  shuffle: true
48
- batch_size: 2
49
  optimizer:
50
  _component_: torch.optim.AdamW
51
  weight_decay: 0.01
52
- lr: 3.0e-06
53
  lr_scheduler:
54
  _component_: torchtune.modules.get_cosine_schedule_with_warmup
55
  num_warmup_steps: 100
56
  loss:
57
  _component_: torch.nn.CrossEntropyLoss
58
- epochs: 1
59
  max_steps_per_epoch: null
60
- gradient_accumulation_steps: 32
61
  compile: false
62
- output_dir: /home/user/omegalabs-anytoany-bittensor/modelss
63
  metric_logger:
64
  _component_: torchtune.utils.metric_logging.DiskLogger
65
  log_dir: ${output_dir}
@@ -77,6 +78,7 @@ inference:
77
 
78
  Caption the previous video.'
79
  max_new_tokens: 300
80
- temperature: 0.8
81
  top_k: 300
82
  quantizer: null
 
 
11
  use_clip: false
12
  tokenizer:
13
  _component_: models.a2a_tokenizer
14
+ path: models/tokenizer.model
15
  checkpointer:
16
  _component_: torchtune.utils.FullModelMetaCheckpointer
17
+ checkpoint_dir: checkpoints/Meta-Llama-3-8B-Instruct/original
18
  checkpoint_files:
19
  - consolidated.00.pth
20
  adapter_checkpoint: null
 
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
33
  dataset:
34
  _component_: ds.RoundRobinDataset
35
  datasets:
 
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:
65
  _component_: torchtune.utils.metric_logging.DiskLogger
66
  log_dir: ${output_dir}
 
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