PhoenixB commited on
Commit
8dab980
·
verified ·
1 Parent(s): 5eeed97

Model save

Browse files
Files changed (1) hide show
  1. README.md +171 -0
README.md ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 395a6a61-0f7b-4863-8229-c4012c9dfb19
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.5.2`
20
+ ```yaml
21
+ adapter: qlora
22
+ auto_find_batch_size: true
23
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
24
+ bf16: auto
25
+ chat_template: llama3
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - ede7429851ef5df2_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/ede7429851ef5df2_train_data.json
33
+ type:
34
+ field_input: input
35
+ field_instruction: instruction
36
+ field_output: output
37
+ format: '{instruction} {input}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ eval_max_new_tokens: 128
43
+ eval_sample_packing: false
44
+ eval_steps: 10
45
+ eval_table_size: null
46
+ flash_attention: true
47
+ fp16: false
48
+ fsdp:
49
+ - full_shard
50
+ - auto_wrap
51
+ fsdp_config:
52
+ fsdp_cpu_ram_efficient_loading: true
53
+ fsdp_limit_all_gathers: true
54
+ fsdp_offload_params: true
55
+ fsdp_sharding_strategy: FULL_SHARD
56
+ fsdp_state_dict_type: FULL_STATE_DICT
57
+ fsdp_sync_module_states: true
58
+ fsdp_use_orig_params: false
59
+ gpu_memory_limit: 80GiB
60
+ gradient_accumulation_steps: 4
61
+ gradient_checkpointing: false
62
+ group_by_length: true
63
+ hub_model_id: PhoenixB/395a6a61-0f7b-4863-8229-c4012c9dfb19
64
+ hub_repo: null
65
+ hub_strategy: checkpoint
66
+ hub_token: null
67
+ learning_rate: 2e-4
68
+ liger_fused_linear_cross_entropy: true
69
+ liger_glu_activation: true
70
+ liger_layer_norm: true
71
+ liger_rms_norm: true
72
+ liger_rope: true
73
+ load_in_4bit: true
74
+ load_in_8bit: false
75
+ local_rank: null
76
+ logging_steps: 5
77
+ lora_alpha: 16
78
+ lora_dropout: 0.05
79
+ lora_fan_in_fan_out: null
80
+ lora_model_dir: null
81
+ lora_r: 16
82
+ lora_target_linear: true
83
+ lr_scheduler: cosine
84
+ max_steps: 30
85
+ micro_batch_size: 2
86
+ mlflow_experiment_name: /tmp/ede7429851ef5df2_train_data.json
87
+ model_type: AutoModelForCausalLM
88
+ num_epochs: 3
89
+ optimizer: adamw_torch_fused
90
+ output_dir: miner_id_24
91
+ pad_to_sequence_len: true
92
+ plugins:
93
+ - axolotl.integrations.liger.LigerPlugin
94
+ resume_from_checkpoint: null
95
+ s2_attention: null
96
+ sample_packing: false
97
+ save_steps: 10
98
+ sequence_len: 2048
99
+ strict: false
100
+ tf32: true
101
+ tokenizer_type: AutoTokenizer
102
+ train_on_inputs: false
103
+ trust_remote_code: true
104
+ val_set_size: 0.05
105
+ wandb_entity: null
106
+ wandb_mode: online
107
+ wandb_name: a6244505-2e07-44b4-99ba-63bf30141945
108
+ wandb_project: Gradients-On-Demand
109
+ wandb_run: your_name
110
+ wandb_runid: a6244505-2e07-44b4-99ba-63bf30141945
111
+ warmup_steps: 5
112
+ weight_decay: 0.0
113
+
114
+ ```
115
+
116
+ </details><br>
117
+
118
+ # 395a6a61-0f7b-4863-8229-c4012c9dfb19
119
+
120
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) on the None dataset.
121
+ It achieves the following results on the evaluation set:
122
+ - Loss: 3.4867
123
+
124
+ ## Model description
125
+
126
+ More information needed
127
+
128
+ ## Intended uses & limitations
129
+
130
+ More information needed
131
+
132
+ ## Training and evaluation data
133
+
134
+ More information needed
135
+
136
+ ## Training procedure
137
+
138
+ ### Training hyperparameters
139
+
140
+ The following hyperparameters were used during training:
141
+ - learning_rate: 0.0002
142
+ - train_batch_size: 2
143
+ - eval_batch_size: 2
144
+ - seed: 42
145
+ - distributed_type: multi-GPU
146
+ - num_devices: 2
147
+ - gradient_accumulation_steps: 4
148
+ - total_train_batch_size: 16
149
+ - total_eval_batch_size: 4
150
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
151
+ - lr_scheduler_type: cosine
152
+ - lr_scheduler_warmup_steps: 5
153
+ - training_steps: 30
154
+
155
+ ### Training results
156
+
157
+ | Training Loss | Epoch | Step | Validation Loss |
158
+ |:-------------:|:------:|:----:|:---------------:|
159
+ | No log | 0.0001 | 1 | 4.1456 |
160
+ | 3.9929 | 0.0012 | 10 | 3.8277 |
161
+ | 3.7848 | 0.0023 | 20 | 3.5399 |
162
+ | 3.4585 | 0.0035 | 30 | 3.4867 |
163
+
164
+
165
+ ### Framework versions
166
+
167
+ - PEFT 0.13.2
168
+ - Transformers 4.46.3
169
+ - Pytorch 2.5.1+cu124
170
+ - Datasets 3.1.0
171
+ - Tokenizers 0.20.3