dada22231 commited on
Commit
0d79af4
1 Parent(s): b525ffc

End of training

Browse files
Files changed (3) hide show
  1. README.md +175 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: TinyLlama/TinyLlama_v1.1
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 7ffbfe02-1733-4591-bd9a-b10643ba84a6
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: TinyLlama/TinyLlama_v1.1
23
+ bf16: auto
24
+ chat_template: llama3
25
+ cosine_min_lr_ratio: 0.1
26
+ data_processes: 16
27
+ dataset_prepared_path: null
28
+ datasets:
29
+ - data_files:
30
+ - 531634d08695f1ad_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ path: /workspace/input_data/531634d08695f1ad_train_data.json
34
+ type:
35
+ field_input: instruction_lang
36
+ field_instruction: instruction
37
+ field_output: response_accepted
38
+ format: '{instruction} {input}'
39
+ no_input_format: '{instruction}'
40
+ system_format: '{system}'
41
+ system_prompt: ''
42
+ debug: null
43
+ deepspeed: null
44
+ device_map: auto
45
+ do_eval: true
46
+ early_stopping_patience: 1
47
+ eval_batch_size: 1
48
+ eval_sample_packing: false
49
+ eval_steps: 25
50
+ evaluation_strategy: steps
51
+ flash_attention: false
52
+ fp16: null
53
+ fsdp: null
54
+ fsdp_config: null
55
+ gradient_accumulation_steps: 32
56
+ gradient_checkpointing: true
57
+ group_by_length: true
58
+ hub_model_id: dada22231/7ffbfe02-1733-4591-bd9a-b10643ba84a6
59
+ hub_strategy: checkpoint
60
+ hub_token: null
61
+ hub_username: dada22231
62
+ learning_rate: 0.0001
63
+ load_in_4bit: false
64
+ load_in_8bit: false
65
+ local_rank: null
66
+ logging_steps: 1
67
+ lora_alpha: 64
68
+ lora_dropout: 0.05
69
+ lora_fan_in_fan_out: null
70
+ lora_model_dir: null
71
+ lora_r: 32
72
+ lora_target_linear: true
73
+ lora_target_modules:
74
+ - q_proj
75
+ - v_proj
76
+ lr_scheduler: cosine
77
+ max_grad_norm: 1.0
78
+ max_memory:
79
+ 0: 70GiB
80
+ 1: 70GiB
81
+ 2: 70GiB
82
+ 3: 70GiB
83
+ max_steps: 95
84
+ micro_batch_size: 1
85
+ mlflow_experiment_name: /tmp/531634d08695f1ad_train_data.json
86
+ model_type: AutoModelForCausalLM
87
+ num_epochs: 3
88
+ optim_args:
89
+ adam_beta1: 0.9
90
+ adam_beta2: 0.95
91
+ adam_epsilon: 1e-5
92
+ optimizer: adamw_torch
93
+ output_dir: miner_id_24
94
+ pad_to_sequence_len: true
95
+ repository_id: dada22231/7ffbfe02-1733-4591-bd9a-b10643ba84a6
96
+ resume_from_checkpoint: null
97
+ s2_attention: null
98
+ sample_packing: false
99
+ save_steps: 25
100
+ save_strategy: steps
101
+ sequence_len: 2048
102
+ strict: false
103
+ tf32: false
104
+ tokenizer_type: AutoTokenizer
105
+ torch_compile: false
106
+ train_on_inputs: false
107
+ trust_remote_code: true
108
+ val_set_size: 50
109
+ wandb_entity: null
110
+ wandb_mode: online
111
+ wandb_name: 7ffbfe02-1733-4591-bd9a-b10643ba84a6
112
+ wandb_project: Public_TuningSN
113
+ wandb_runid: 7ffbfe02-1733-4591-bd9a-b10643ba84a6
114
+ warmup_ratio: 0.04
115
+ weight_decay: 0.01
116
+ xformers_attention: null
117
+
118
+ ```
119
+
120
+ </details><br>
121
+
122
+ # 7ffbfe02-1733-4591-bd9a-b10643ba84a6
123
+
124
+ This model is a fine-tuned version of [TinyLlama/TinyLlama_v1.1](https://huggingface.co/TinyLlama/TinyLlama_v1.1) on the None dataset.
125
+ It achieves the following results on the evaluation set:
126
+ - Loss: 2.3997
127
+
128
+ ## Model description
129
+
130
+ More information needed
131
+
132
+ ## Intended uses & limitations
133
+
134
+ More information needed
135
+
136
+ ## Training and evaluation data
137
+
138
+ More information needed
139
+
140
+ ## Training procedure
141
+
142
+ ### Training hyperparameters
143
+
144
+ The following hyperparameters were used during training:
145
+ - learning_rate: 0.0001
146
+ - train_batch_size: 1
147
+ - eval_batch_size: 1
148
+ - seed: 42
149
+ - distributed_type: multi-GPU
150
+ - num_devices: 4
151
+ - gradient_accumulation_steps: 32
152
+ - total_train_batch_size: 128
153
+ - total_eval_batch_size: 4
154
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
155
+ - lr_scheduler_type: cosine
156
+ - lr_scheduler_warmup_steps: 3
157
+ - training_steps: 95
158
+
159
+ ### Training results
160
+
161
+ | Training Loss | Epoch | Step | Validation Loss |
162
+ |:-------------:|:------:|:----:|:---------------:|
163
+ | 3.0123 | 0.0309 | 1 | 3.7543 |
164
+ | 2.5616 | 0.7715 | 25 | 2.6540 |
165
+ | 2.3682 | 1.5429 | 50 | 2.4570 |
166
+ | 2.4161 | 2.3144 | 75 | 2.3997 |
167
+
168
+
169
+ ### Framework versions
170
+
171
+ - PEFT 0.13.2
172
+ - Transformers 4.46.0
173
+ - Pytorch 2.5.0+cu124
174
+ - Datasets 3.0.1
175
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eda8a5043e4c5eeb31e644fb9b5ea31b65e84d5fbbb28cc2999c98e6da262210
3
+ size 101036698
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:734b64962d96dde20b023dee1d4f48a32c2f43a89f28c32574feb174c92a94db
3
  size 100966336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:267980867f83b369955945e4f7a3df8b790d72041041895e3422ef39fb5178aa
3
  size 100966336