femT-data commited on
Commit
2ad496e
1 Parent(s): a59753d

End of training

Browse files
Files changed (2) hide show
  1. README.md +141 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3.1
3
+ library_name: peft
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ base_model: meta-llama/Llama-3.1-8B-Instruct
8
+ model-index:
9
+ - name: llama-3.1-8B-instruct-overall
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ base_model: meta-llama/Llama-3.1-8B-Instruct
22
+ model_type: LlamaForCausalLM
23
+ tokenizer_type: AutoTokenizer
24
+
25
+ load_in_8bit: true
26
+ load_in_4bit: false
27
+ strict: false
28
+
29
+ datasets:
30
+ - path: data.jsonl
31
+ ds_type: json
32
+ type: alpaca
33
+
34
+ dataset_prepared_path:
35
+ val_set_size: 0.05
36
+ output_dir: ./outputs/lora-out
37
+ hub_model_id: femT-data/llama-3.1-8B-instruct-overall
38
+ deepspeed: /workspace/axolotl/deepspeed_configs/zero3_bf16.json
39
+
40
+ sequence_len: 4096
41
+ sample_packing: false
42
+ pad_to_sequence_len: true
43
+
44
+ adapter: lora
45
+ lora_model_dir:
46
+ lora_r: 32
47
+ lora_alpha: 16
48
+ lora_dropout: 0.05
49
+ lora_target_linear: true
50
+ lora_fan_in_fan_out:
51
+
52
+ gradient_accumulation_steps: 4
53
+ micro_batch_size: 4
54
+ num_epochs: 1
55
+ optimizer: adamw_bnb_8bit
56
+ lr_scheduler: cosine
57
+ learning_rate: 0.0002
58
+
59
+ train_on_inputs: false
60
+ group_by_length: false
61
+ bf16: auto
62
+ fp16:
63
+ tf32: false
64
+
65
+ gradient_checkpointing: true
66
+ early_stopping_patience:
67
+ resume_from_checkpoint:
68
+ local_rank:
69
+ logging_steps: 1
70
+ xformers_attention:
71
+ flash_attention: true
72
+ s2_attention:
73
+
74
+ warmup_steps: 10
75
+ evals_per_epoch: 1
76
+ eval_table_size:
77
+ eval_max_new_tokens: 128
78
+ saves_per_epoch: 1
79
+ debug:
80
+ deepspeed:
81
+ weight_decay: 0.0
82
+ fsdp:
83
+ fsdp_config:
84
+ special_tokens:
85
+ pad_token: <|end_of_text|>
86
+
87
+ ```
88
+
89
+ </details><br>
90
+
91
+ # llama-3.1-8B-instruct-overall
92
+
93
+ This model is a fine-tuned version of [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) on the None dataset.
94
+ It achieves the following results on the evaluation set:
95
+ - Loss: 0.3622
96
+
97
+ ## Model description
98
+
99
+ More information needed
100
+
101
+ ## Intended uses & limitations
102
+
103
+ More information needed
104
+
105
+ ## Training and evaluation data
106
+
107
+ More information needed
108
+
109
+ ## Training procedure
110
+
111
+ ### Training hyperparameters
112
+
113
+ The following hyperparameters were used during training:
114
+ - learning_rate: 0.0002
115
+ - train_batch_size: 4
116
+ - eval_batch_size: 4
117
+ - seed: 42
118
+ - distributed_type: multi-GPU
119
+ - num_devices: 4
120
+ - gradient_accumulation_steps: 4
121
+ - total_train_batch_size: 64
122
+ - total_eval_batch_size: 16
123
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
124
+ - lr_scheduler_type: cosine
125
+ - lr_scheduler_warmup_steps: 10
126
+ - num_epochs: 1
127
+
128
+ ### Training results
129
+
130
+ | Training Loss | Epoch | Step | Validation Loss |
131
+ |:-------------:|:------:|:----:|:---------------:|
132
+ | 0.5302 | 0.8889 | 6 | 0.3622 |
133
+
134
+
135
+ ### Framework versions
136
+
137
+ - PEFT 0.11.1
138
+ - Transformers 4.43.1
139
+ - Pytorch 2.3.0+cu121
140
+ - Datasets 2.19.1
141
+ - Tokenizers 0.19.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5fb7f04403f7f433776f768d264fd77ebbcf145025373550f8dd9fd57bdccfe
3
+ size 335706186