Views
No views yet
0.7.01base_model: NousResearch/Meta-Llama-3.1-8B-Instruct
2model_type: LlamaForCausalLM
3tokenizer_type: AutoTokenizer
4hub_model_id: bkciccar/llama-3.1-8b-instruct-culture-lora
5
6load_in_8bit: false
7load_in_4bit: false
8strict: false
9
10datasets:
11 - path: json
12 data_files: culture_shuffle.jsonl
13 split: train
14 type: alpaca
15
16test_datasets:
17 - path: json
18 data_files:
19 - culturalbench-hard-preprocessed.jsonl
20 split: train
21 type:
22 system_prompt: Below is a question with a potential answer. Please respond with only 'true' or 'false'.
23 field_system:
24 field_instruction: prompt_question
25 field_input: prompt_option
26 field_output: answer
27 format: |-
28 ### Question:
29 {instruction}
30
31 ### Option:
32 {input}
33
34 ### Response (true or false):
35
36dataset_prepared_path:
37output_dir: /scratch/bkciccar/outputs/llama-3.1-8b-lora
38
39sequence_len: 4096
40sample_packing: true
41eval_sample_packing: true
42pad_to_sequence_len: true
43
44adapter: lora
45lora_model_dir:
46lora_r: 32
47lora_alpha: 16
48lora_dropout: 0.05
49lora_target_linear: true
50lora_fan_in_fan_out: false
51lora_modules_to_save:
52 - embed_tokens
53 - lm_head
54
55wandb_project: "CultureBank_FineTuning"
56wandb_entity: "bcicc"
57wandb_watch:
58wandb_name: "Lora_FineTuning_Run_02"
59wandb_log_model:
60
61gradient_accumulation_steps: 4
62micro_batch_size: 2
63eval_batch_size: 10
64num_epochs: 4
65optimizer: paged_adamw_8bit
66lr_scheduler: cosine
67learning_rate: 2e-5
68
69train_on_inputs: false
70group_by_length: false
71bf16: auto
72fp16:
73tf32: false
74
75gradient_checkpointing: true
76early_stopping_patience:
77resume_from_checkpoint:
78local_rank:
79logging_steps: 1
80xformers_attention:
81flash_attention: true
82s2_attention:
83
84warmup_steps: 10
85eval_table_size:
86eval_max_new_tokens: 5
87evals_per_epoch: 16
88saves_per_epoch: 4
89debug:
90deepspeed:
91weight_decay: 0.0
92fsdp:
93fsdp_config:
94special_tokens:
95 pad_token: <|end_of_text|>
96
97overrides_of_trainer_kwargs:
98 compute_metrics: "custom_metrics.compute_metrics"
99| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.9524 | 0.0031 | 1 | 4.8913 |
| 1.7809 | 0.0652 | 21 | 3.4064 |
| 1.546 | 0.1303 | 42 | 2.4681 |
| 1.4622 | 0.1955 | 63 | 2.7218 |
| 1.4921 | 0.2607 | 84 | 2.9218 |
| 1.3685 | 0.3258 | 105 | 2.9830 |
| 1.3769 | 0.3910 | 126 | 3.0171 |
| 1.3545 | 0.4562 | 147 | 2.9413 |
| 1.3076 | 0.5213 | 168 | 2.9677 |
| 1.348 | 0.5865 | 189 | 2.9398 |
| 1.3773 | 0.6517 | 210 | 2.7952 |
| 1.3463 | 0.7168 | 231 | 2.7154 |
| 1.2929 | 0.7820 | 252 | 2.7142 |
| 1.3266 | 0.8472 | 273 | 2.7186 |
| 1.283 | 0.9123 | 294 | 2.7368 |
| 1.3002 | 0.9775 | 315 | 2.6642 |
| 1.3143 | 1.0403 | 336 | 2.6567 |
| 1.3153 | 1.1055 | 357 | 2.6529 |
| 1.25 | 1.1707 | 378 | 2.5628 |
| 1.2879 | 1.2358 | 399 | 2.5440 |
| 1.2793 | 1.3010 | 420 | 2.5021 |
| 1.2602 | 1.3662 | 441 | 2.6023 |
| 1.2722 | 1.4313 | 462 | 2.5679 |
| 1.231 | 1.4965 | 483 | 2.5696 |
| 1.2678 | 1.5617 | 504 | 2.6337 |
| 1.2661 | 1.6268 | 525 | 2.5937 |
| 1.2665 | 1.6920 | 546 | 2.5784 |
| 1.2655 | 1.7572 | 567 | 2.5441 |
| 1.3415 | 1.8223 | 588 | 2.5772 |
| 1.2492 | 1.8875 | 609 | 2.5519 |
| 1.2046 | 1.9527 | 630 | 2.5300 |
| 1.2731 | 2.0155 | 651 | 2.5886 |
| 1.2637 | 2.0807 | 672 | 2.5399 |
| 1.2628 | 2.1458 | 693 | 2.5214 |
| 1.2477 | 2.2110 | 714 | 2.5174 |
| 1.24 | 2.2762 | 735 | 2.5024 |
| 1.2603 | 2.3413 | 756 | 2.5612 |
| 1.2505 | 2.4065 | 777 | 2.5594 |
| 1.2459 | 2.4717 | 798 | 2.5561 |
| 1.2634 | 2.5369 | 819 | 2.4952 |
| 1.2029 | 2.6020 | 840 | 2.5080 |
| 1.2593 | 2.6672 | 861 | 2.5153 |
| 1.158 | 2.7324 | 882 | 2.5123 |
| 1.2832 | 2.7975 | 903 | 2.5380 |
| 1.2801 | 2.8627 | 924 | 2.5191 |
| 1.1838 | 2.9279 | 945 | 2.5267 |
| 1.2102 | 2.9930 | 966 | 2.5323 |
| 1.2958 | 3.0559 | 987 | 2.5298 |
| 1.2847 | 3.1210 | 1008 | 2.5263 |
| 1.1752 | 3.1862 | 1029 | 2.5244 |
| 1.2475 | 3.2514 | 1050 | 2.5180 |
| 1.2407 | 3.3165 | 1071 | 2.5161 |
| 1.2478 | 3.3817 | 1092 | 2.5279 |
| 1.1969 | 3.4469 | 1113 | 2.5171 |
| 1.1802 | 3.5120 | 1134 | 2.5435 |
| 1.2196 | 3.5772 | 1155 | 2.5194 |
| 1.1793 | 3.6424 | 1176 | 2.5250 |
| 1.2863 | 3.7075 | 1197 | 2.5148 |
| 1.2437 | 3.7727 | 1218 | 2.5327 |
| 1.1947 | 3.8379 | 1239 | 2.5291 |
| 1.281 | 3.9030 | 1260 | 2.5136 |
| 1.1866 | 3.9682 | 1281 | 2.5461 |