minpeter commited on
Commit
d7287c1
·
verified ·
1 Parent(s): b4c639a

End of training

Browse files
Files changed (3) hide show
  1. README.md +139 -0
  2. generation_config.json +9 -0
  3. pytorch_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: llama3.2
4
+ base_model: meta-llama/Llama-3.2-1B
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ datasets:
9
+ - philschmid/guanaco-sharegpt-style
10
+ model-index:
11
+ - name: Llama-3.2-1B-Instruct-chatml
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
19
+ <details><summary>See axolotl config</summary>
20
+
21
+ axolotl version: `0.6.0`
22
+ ```yaml
23
+
24
+
25
+ base_model: meta-llama/Llama-3.2-1B
26
+ hub_model_id: minpeter/Llama-3.2-1B-Instruct-chatml
27
+
28
+ load_in_8bit: false
29
+ load_in_4bit: false
30
+ strict: false
31
+
32
+ chat_template: chatml
33
+ datasets:
34
+ - path: philschmid/guanaco-sharegpt-style
35
+ type: chat_template
36
+ field_messages: conversations
37
+ message_field_role: from
38
+ message_field_content: value
39
+ dataset_prepared_path: last_run_prepared
40
+ dataset_processes: 1000
41
+ val_set_size: 0.05
42
+
43
+ sequence_len: 8192
44
+ sample_packing: true
45
+ pad_to_sequence_len: true
46
+
47
+ wandb_project: "axolotl"
48
+ wandb_entity: "kasfiekfs-e"
49
+ wandb_watch:
50
+ wandb_name:
51
+ wandb_log_model:
52
+
53
+ gradient_accumulation_steps: 8
54
+ micro_batch_size: 1
55
+ num_epochs: 1
56
+ optimizer: paged_adamw_8bit
57
+ lr_scheduler: cosine
58
+ learning_rate: 2e-5
59
+
60
+ train_on_inputs: false
61
+ group_by_length: false
62
+ bf16: auto
63
+ fp16:
64
+ tf32: false
65
+
66
+ gradient_checkpointing: true
67
+ gradient_checkpointing_kwargs:
68
+ use_reentrant: false
69
+ early_stopping_patience:
70
+ resume_from_checkpoint:
71
+ logging_steps: 1
72
+ xformers_attention:
73
+ flash_attention: true
74
+
75
+ warmup_steps: 100
76
+ evals_per_epoch: 2
77
+ eval_table_size:
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.2-1B-Instruct-chatml
92
+
93
+ This model is a fine-tuned version of [meta-llama/Llama-3.2-1B](https://huggingface.co/meta-llama/Llama-3.2-1B) on the philschmid/guanaco-sharegpt-style dataset.
94
+ It achieves the following results on the evaluation set:
95
+ - Loss: 1.4580
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: 2e-05
115
+ - train_batch_size: 1
116
+ - eval_batch_size: 1
117
+ - seed: 42
118
+ - gradient_accumulation_steps: 8
119
+ - total_train_batch_size: 8
120
+ - optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
121
+ - lr_scheduler_type: cosine
122
+ - lr_scheduler_warmup_steps: 100
123
+ - num_epochs: 1
124
+
125
+ ### Training results
126
+
127
+ | Training Loss | Epoch | Step | Validation Loss |
128
+ |:-------------:|:------:|:----:|:---------------:|
129
+ | 1.4718 | 0.0189 | 1 | 1.5516 |
130
+ | 1.5295 | 0.4917 | 26 | 1.4926 |
131
+ | 1.3268 | 0.9835 | 52 | 1.4580 |
132
+
133
+
134
+ ### Framework versions
135
+
136
+ - Transformers 4.47.1
137
+ - Pytorch 2.5.1+cu124
138
+ - Datasets 3.2.0
139
+ - Tokenizers 0.21.0
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 128000,
4
+ "do_sample": true,
5
+ "eos_token_id": 128001,
6
+ "temperature": 0.6,
7
+ "top_p": 0.9,
8
+ "transformers_version": "4.47.1"
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:382b3d26f54718e1d9580fb1de647b06bba3ad3008dca0dffe525cdf90eb5c07
3
+ size 2471678226