lesso04 commited on
Commit
afc1271
·
verified ·
1 Parent(s): f51207f

End of training

Browse files
Files changed (2) hide show
  1. README.md +163 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: JackFram/llama-160m
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: b043e58c-eadc-4a82-808d-5cb5ff10094c
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/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)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: JackFram/llama-160m
23
+ bf16: true
24
+ chat_template: llama3
25
+ datasets:
26
+ - data_files:
27
+ - 899a7ca23f86f3d7_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/899a7ca23f86f3d7_train_data.json
31
+ type:
32
+ field_input: subcategory
33
+ field_instruction: prompt
34
+ field_output: subtopic_w_explanation
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: null
42
+ eval_max_new_tokens: 128
43
+ eval_table_size: null
44
+ evals_per_epoch: 4
45
+ flash_attention: false
46
+ fp16: false
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 2
50
+ gradient_checkpointing: true
51
+ group_by_length: false
52
+ hub_model_id: lesso04/b043e58c-eadc-4a82-808d-5cb5ff10094c
53
+ hub_repo: null
54
+ hub_strategy: checkpoint
55
+ hub_token: null
56
+ learning_rate: 0.0001
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 1
61
+ lora_alpha: 32
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 16
66
+ lora_target_linear: true
67
+ lr_scheduler: cosine
68
+ max_memory:
69
+ 0: 77GiB
70
+ max_steps: 50
71
+ micro_batch_size: 8
72
+ mlflow_experiment_name: /tmp/899a7ca23f86f3d7_train_data.json
73
+ model_type: AutoModelForCausalLM
74
+ num_epochs: 3
75
+ optimizer: adamw_torch
76
+ output_dir: miner_id_24
77
+ pad_to_sequence_len: true
78
+ resume_from_checkpoint: null
79
+ s2_attention: null
80
+ sample_packing: false
81
+ save_steps: 25
82
+ save_strategy: steps
83
+ sequence_len: 1024
84
+ special_tokens:
85
+ pad_token: </s>
86
+ strict: false
87
+ tf32: false
88
+ tokenizer_type: AutoTokenizer
89
+ train_on_inputs: true
90
+ trust_remote_code: true
91
+ val_set_size: 0.05
92
+ wandb_entity: null
93
+ wandb_mode: online
94
+ wandb_name: b043e58c-eadc-4a82-808d-5cb5ff10094c
95
+ wandb_project: Gradients-On-Demand
96
+ wandb_run: your_name
97
+ wandb_runid: b043e58c-eadc-4a82-808d-5cb5ff10094c
98
+ warmup_steps: 10
99
+ weight_decay: 0.01
100
+ xformers_attention: false
101
+
102
+ ```
103
+
104
+ </details><br>
105
+
106
+ # b043e58c-eadc-4a82-808d-5cb5ff10094c
107
+
108
+ This model is a fine-tuned version of [JackFram/llama-160m](https://huggingface.co/JackFram/llama-160m) on the None dataset.
109
+ It achieves the following results on the evaluation set:
110
+ - Loss: 1.5277
111
+
112
+ ## Model description
113
+
114
+ More information needed
115
+
116
+ ## Intended uses & limitations
117
+
118
+ More information needed
119
+
120
+ ## Training and evaluation data
121
+
122
+ More information needed
123
+
124
+ ## Training procedure
125
+
126
+ ### Training hyperparameters
127
+
128
+ The following hyperparameters were used during training:
129
+ - learning_rate: 0.0001
130
+ - train_batch_size: 8
131
+ - eval_batch_size: 8
132
+ - seed: 42
133
+ - gradient_accumulation_steps: 2
134
+ - total_train_batch_size: 16
135
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
136
+ - lr_scheduler_type: cosine
137
+ - lr_scheduler_warmup_steps: 10
138
+ - training_steps: 50
139
+
140
+ ### Training results
141
+
142
+ | Training Loss | Epoch | Step | Validation Loss |
143
+ |:-------------:|:------:|:----:|:---------------:|
144
+ | 2.3969 | 0.0005 | 1 | 2.6363 |
145
+ | 2.4778 | 0.0025 | 5 | 2.6211 |
146
+ | 2.7076 | 0.0050 | 10 | 2.4356 |
147
+ | 2.2686 | 0.0074 | 15 | 2.1835 |
148
+ | 2.0556 | 0.0099 | 20 | 1.9822 |
149
+ | 1.581 | 0.0124 | 25 | 1.8298 |
150
+ | 1.8391 | 0.0149 | 30 | 1.7055 |
151
+ | 1.3024 | 0.0173 | 35 | 1.6104 |
152
+ | 1.6791 | 0.0198 | 40 | 1.5548 |
153
+ | 1.3803 | 0.0223 | 45 | 1.5320 |
154
+ | 1.6068 | 0.0248 | 50 | 1.5277 |
155
+
156
+
157
+ ### Framework versions
158
+
159
+ - PEFT 0.13.2
160
+ - Transformers 4.46.0
161
+ - Pytorch 2.5.0+cu124
162
+ - Datasets 3.0.1
163
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:851bd559deaa40601ed68753a97244cb280d92edd6e14a6e886e967e3e6b4128
3
+ size 13626282