jssky commited on
Commit
7c6b319
·
verified ·
1 Parent(s): e6133d5

End of training

Browse files
README.md ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v0.6
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: d3c80ab7-7292-44e3-b0b0-1b476f14caa1
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-1.1B-Chat-v0.6
23
+ bf16: false
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - fc84b16335bd5835_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/fc84b16335bd5835_train_data.json
32
+ type:
33
+ field_input: content
34
+ field_instruction: chapter
35
+ field_output: summary_text
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ devices:
43
+ - 0
44
+ - 1
45
+ - 2
46
+ - 3
47
+ - 4
48
+ - 5
49
+ - 6
50
+ - 7
51
+ early_stopping_patience: null
52
+ eval_max_new_tokens: 128
53
+ eval_table_size: null
54
+ evals_per_epoch: 4
55
+ flash_attention: true
56
+ fp16: true
57
+ fsdp: null
58
+ fsdp_config: null
59
+ gradient_accumulation_steps: 4
60
+ gradient_checkpointing: false
61
+ group_by_length: false
62
+ hub_model_id: jssky/d3c80ab7-7292-44e3-b0b0-1b476f14caa1
63
+ hub_repo: null
64
+ hub_strategy: checkpoint
65
+ hub_token: null
66
+ learning_rate: 0.0002
67
+ load_in_4bit: false
68
+ load_in_8bit: false
69
+ local_rank: null
70
+ logging_steps: 1
71
+ lora_alpha: 64
72
+ lora_dropout: 0.05
73
+ lora_fan_in_fan_out: null
74
+ lora_model_dir: null
75
+ lora_r: 32
76
+ lora_target_linear: true
77
+ lr_scheduler: cosine
78
+ max_steps: 20
79
+ micro_batch_size: 1
80
+ mlflow_experiment_name: /tmp/fc84b16335bd5835_train_data.json
81
+ model_type: AutoModelForCausalLM
82
+ num_epochs: 1
83
+ num_gpus: 8
84
+ optimizer: adamw_torch
85
+ output_dir: miner_id_24
86
+ pad_to_sequence_len: true
87
+ resume_from_checkpoint: null
88
+ s2_attention: null
89
+ sample_packing: false
90
+ saves_per_epoch: 4
91
+ sequence_len: 4056
92
+ strict: false
93
+ tf32: false
94
+ tokenizer_type: AutoTokenizer
95
+ train_batch_size: 16
96
+ train_on_inputs: false
97
+ trust_remote_code: true
98
+ val_set_size: 0.05
99
+ wandb_entity: null
100
+ wandb_mode: online
101
+ wandb_name: d3c80ab7-7292-44e3-b0b0-1b476f14caa1
102
+ wandb_project: Gradients-On-Demand
103
+ wandb_run: your_name
104
+ wandb_runid: d3c80ab7-7292-44e3-b0b0-1b476f14caa1
105
+ warmup_steps: 10
106
+ weight_decay: 0.0
107
+ xformers_attention: null
108
+
109
+ ```
110
+
111
+ </details><br>
112
+
113
+ # d3c80ab7-7292-44e3-b0b0-1b476f14caa1
114
+
115
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v0.6](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v0.6) on the None dataset.
116
+ It achieves the following results on the evaluation set:
117
+ - Loss: 5.1028
118
+
119
+ ## Model description
120
+
121
+ More information needed
122
+
123
+ ## Intended uses & limitations
124
+
125
+ More information needed
126
+
127
+ ## Training and evaluation data
128
+
129
+ More information needed
130
+
131
+ ## Training procedure
132
+
133
+ ### Training hyperparameters
134
+
135
+ The following hyperparameters were used during training:
136
+ - learning_rate: 0.0002
137
+ - train_batch_size: 1
138
+ - eval_batch_size: 1
139
+ - seed: 42
140
+ - distributed_type: multi-GPU
141
+ - num_devices: 8
142
+ - gradient_accumulation_steps: 4
143
+ - total_train_batch_size: 32
144
+ - total_eval_batch_size: 8
145
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
146
+ - lr_scheduler_type: cosine
147
+ - lr_scheduler_warmup_steps: 10
148
+ - training_steps: 20
149
+ - mixed_precision_training: Native AMP
150
+
151
+ ### Training results
152
+
153
+ | Training Loss | Epoch | Step | Validation Loss |
154
+ |:-------------:|:------:|:----:|:---------------:|
155
+ | 7.6743 | 0.0028 | 1 | 7.1293 |
156
+ | 7.7429 | 0.0141 | 5 | 7.0976 |
157
+ | 7.0434 | 0.0283 | 10 | 6.3337 |
158
+ | 5.7719 | 0.0424 | 15 | 5.4988 |
159
+ | 5.695 | 0.0565 | 20 | 5.1028 |
160
+
161
+
162
+ ### Framework versions
163
+
164
+ - PEFT 0.13.2
165
+ - Transformers 4.46.0
166
+ - Pytorch 2.5.0+cu124
167
+ - Datasets 3.0.1
168
+ - Tokenizers 0.20.1
adapter_config.json CHANGED
@@ -20,13 +20,13 @@
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
- "v_proj",
24
  "up_proj",
25
- "down_proj",
26
- "gate_proj",
27
  "o_proj",
28
- "q_proj",
29
- "k_proj"
 
 
 
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
 
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
 
23
  "up_proj",
 
 
24
  "o_proj",
25
+ "gate_proj",
26
+ "v_proj",
27
+ "k_proj",
28
+ "down_proj",
29
+ "q_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66a28a9f8f443f7dce46fe12d04b3a6652a55ffeeeba0e4609553b913fa87b77
3
+ size 101036698
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6937250c3c124f08bcfec45cd4a325f3405cb3f1f96296f7ad31bd5500713d84
3
  size 100966336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c0ecc2e9a75d14c753ea2123cc052ce634a5ace8a27427e3887b3bd040ff88f
3
  size 100966336
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0b55d7424e01d2da7c827809f0e75e814ca3307809331f5d1880db7934ea6a65
3
  size 6712
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:676c5b957839737d77485c6332fc96de69385066f3eef0d74b47f677462f11dc
3
  size 6712