tuantmdev commited on
Commit
f0074d0
·
verified ·
1 Parent(s): ff26f65

End of training

Browse files
Files changed (2) hide show
  1. README.md +159 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/mistral-7b-v0.2
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 56cdd1ad-eac8-46cd-818c-25ec969f6972
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
+ auto_find_batch_size: true
23
+ base_model: unsloth/mistral-7b-v0.2
24
+ bf16: auto
25
+ chat_template: llama3
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - ba20c01dd9f45c0c_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/ba20c01dd9f45c0c_train_data.json
33
+ type:
34
+ field_instruction: Question
35
+ field_output: A
36
+ format: '{instruction}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ early_stopping_patience: 3
43
+ eval_max_new_tokens: 128
44
+ eval_steps: 50
45
+ eval_table_size: null
46
+ flash_attention: true
47
+ fp16: null
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 8
51
+ gradient_checkpointing: false
52
+ group_by_length: true
53
+ hub_model_id: tuantmdev/56cdd1ad-eac8-46cd-818c-25ec969f6972
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 1e-4
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 40
62
+ lora_alpha: 64
63
+ lora_dropout: 0.05
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 32
67
+ lora_target_linear: true
68
+ lr_scheduler: cosine
69
+ max_grad_norm: 1.0
70
+ max_steps: 400
71
+ micro_batch_size: 2
72
+ mlflow_experiment_name: /tmp/ba20c01dd9f45c0c_train_data.json
73
+ model_type: AutoModelForCausalLM
74
+ num_epochs: 1
75
+ optimizer: adamw_bnb_8bit
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: 50
82
+ save_strategy: steps
83
+ sequence_len: 512
84
+ strict: false
85
+ tf32: false
86
+ tokenizer_type: AutoTokenizer
87
+ train_on_inputs: false
88
+ trust_remote_code: true
89
+ val_set_size: 0.05
90
+ wandb_entity: null
91
+ wandb_mode: online
92
+ wandb_name: ab9110c0-27a7-4d27-9a3a-12318b05faae
93
+ wandb_project: Gradients-On-Demand
94
+ wandb_run: unknown
95
+ wandb_runid: ab9110c0-27a7-4d27-9a3a-12318b05faae
96
+ warmup_steps: 80
97
+ weight_decay: 0.0
98
+ xformers_attention: null
99
+
100
+ ```
101
+
102
+ </details><br>
103
+
104
+ # 56cdd1ad-eac8-46cd-818c-25ec969f6972
105
+
106
+ This model is a fine-tuned version of [unsloth/mistral-7b-v0.2](https://huggingface.co/unsloth/mistral-7b-v0.2) on the None dataset.
107
+ It achieves the following results on the evaluation set:
108
+ - Loss: 1.3833
109
+
110
+ ## Model description
111
+
112
+ More information needed
113
+
114
+ ## Intended uses & limitations
115
+
116
+ More information needed
117
+
118
+ ## Training and evaluation data
119
+
120
+ More information needed
121
+
122
+ ## Training procedure
123
+
124
+ ### Training hyperparameters
125
+
126
+ The following hyperparameters were used during training:
127
+ - learning_rate: 0.0001
128
+ - train_batch_size: 2
129
+ - eval_batch_size: 2
130
+ - seed: 42
131
+ - gradient_accumulation_steps: 8
132
+ - total_train_batch_size: 16
133
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
134
+ - lr_scheduler_type: cosine
135
+ - lr_scheduler_warmup_steps: 80
136
+ - training_steps: 400
137
+
138
+ ### Training results
139
+
140
+ | Training Loss | Epoch | Step | Validation Loss |
141
+ |:-------------:|:------:|:----:|:---------------:|
142
+ | No log | 0.0011 | 1 | 2.0043 |
143
+ | 12.9919 | 0.0530 | 50 | 1.7225 |
144
+ | 11.8 | 0.1060 | 100 | 1.7714 |
145
+ | 11.7626 | 0.1590 | 150 | 1.6205 |
146
+ | 11.344 | 0.2120 | 200 | 1.6030 |
147
+ | 11.9366 | 0.2650 | 250 | 1.5612 |
148
+ | 11.5103 | 0.3180 | 300 | 1.4549 |
149
+ | 11.2139 | 0.3711 | 350 | 1.3931 |
150
+ | 11.2909 | 0.4241 | 400 | 1.3833 |
151
+
152
+
153
+ ### Framework versions
154
+
155
+ - PEFT 0.13.2
156
+ - Transformers 4.46.0
157
+ - Pytorch 2.5.0+cu124
158
+ - Datasets 3.0.1
159
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eeb13f50c1054ee11b78accbb998937f08c5dbaa683710bb3e401efa1e23f249
3
+ size 335706186