beast33 commited on
Commit
a0be1a7
·
verified ·
1 Parent(s): a2da685

End of training

Browse files
README.md ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/mistral-7b-instruct-v0.3
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: d890c15d-7238-4fd9-9a7b-eb7aa7f30963
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: unsloth/mistral-7b-instruct-v0.3
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - bbdb7d345038de31_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/bbdb7d345038de31_train_data.json
32
+ type:
33
+ field_instruction: prompt
34
+ field_output: chosen
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ device_map: auto
42
+ do_eval: true
43
+ early_stopping_patience: null
44
+ eval_batch_size: 4
45
+ eval_max_new_tokens: 128
46
+ eval_steps: null
47
+ eval_table_size: null
48
+ evals_per_epoch: null
49
+ flash_attention: true
50
+ fp16: null
51
+ fsdp: null
52
+ fsdp_config: null
53
+ gradient_accumulation_steps: 4
54
+ gradient_checkpointing: true
55
+ group_by_length: true
56
+ hub_model_id: beast33/d890c15d-7238-4fd9-9a7b-eb7aa7f30963
57
+ hub_repo: null
58
+ hub_strategy: end
59
+ hub_token: null
60
+ learning_rate: 0.0001
61
+ load_in_4bit: true
62
+ load_in_8bit: true
63
+ local_rank: null
64
+ logging_steps: 1
65
+ lora_alpha: 16
66
+ lora_dropout: 0.05
67
+ lora_fan_in_fan_out: null
68
+ lora_model_dir: null
69
+ lora_r: 8
70
+ lora_target_linear: true
71
+ lr_scheduler: cosine
72
+ max_grad_norm: 1.0
73
+ max_memory:
74
+ 0: 75GB
75
+ max_steps: 200
76
+ micro_batch_size: 4
77
+ mlflow_experiment_name: /tmp/bbdb7d345038de31_train_data.json
78
+ model_type: AutoModelForCausalLM
79
+ num_epochs: 1
80
+ optimizer: adamw_bnb_8bit
81
+ output_dir: miner_id_24
82
+ pad_to_sequence_len: true
83
+ resume_from_checkpoint: null
84
+ s2_attention: null
85
+ sample_packing: false
86
+ save_steps: null
87
+ saves_per_epoch: null
88
+ sequence_len: 1024
89
+ strict: false
90
+ tf32: false
91
+ tokenizer_type: AutoTokenizer
92
+ train_on_inputs: false
93
+ trust_remote_code: true
94
+ val_set_size: 0.05
95
+ wandb_entity: null
96
+ wandb_mode: online
97
+ wandb_name: de370e54-9b1b-408e-9116-e240c8432fd9
98
+ wandb_project: Gradients-On-Demand
99
+ wandb_run: your_name
100
+ wandb_runid: de370e54-9b1b-408e-9116-e240c8432fd9
101
+ warmup_steps: 5
102
+ weight_decay: 0.0
103
+ xformers_attention: null
104
+
105
+ ```
106
+
107
+ </details><br>
108
+
109
+ # d890c15d-7238-4fd9-9a7b-eb7aa7f30963
110
+
111
+ This model is a fine-tuned version of [unsloth/mistral-7b-instruct-v0.3](https://huggingface.co/unsloth/mistral-7b-instruct-v0.3) on the None dataset.
112
+ It achieves the following results on the evaluation set:
113
+ - Loss: 0.6868
114
+
115
+ ## Model description
116
+
117
+ More information needed
118
+
119
+ ## Intended uses & limitations
120
+
121
+ More information needed
122
+
123
+ ## Training and evaluation data
124
+
125
+ More information needed
126
+
127
+ ## Training procedure
128
+
129
+ ### Training hyperparameters
130
+
131
+ The following hyperparameters were used during training:
132
+ - learning_rate: 0.0001
133
+ - train_batch_size: 4
134
+ - eval_batch_size: 4
135
+ - seed: 42
136
+ - gradient_accumulation_steps: 4
137
+ - total_train_batch_size: 16
138
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
139
+ - lr_scheduler_type: cosine
140
+ - lr_scheduler_warmup_steps: 5
141
+ - training_steps: 107
142
+
143
+ ### Training results
144
+
145
+ | Training Loss | Epoch | Step | Validation Loss |
146
+ |:-------------:|:-----:|:----:|:---------------:|
147
+ | 2.3805 | 1.0 | 107 | 0.6868 |
148
+
149
+
150
+ ### Framework versions
151
+
152
+ - PEFT 0.13.2
153
+ - Transformers 4.46.0
154
+ - Pytorch 2.5.0+cu124
155
+ - Datasets 3.0.1
156
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/mistral-7b-instruct-v0.3",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "down_proj",
25
+ "k_proj",
26
+ "v_proj",
27
+ "up_proj",
28
+ "gate_proj",
29
+ "o_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5405dfe7bc60cdd1120378f6824ca6fa1f6cd975601f052f202b2923cb0689dd
3
+ size 84047370
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffd3aa645fab257acc3f49ac13a5b8d5abef0fc9dc3b19034ab12c234c0982f4
3
+ size 83945296
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "unsloth/mistral-7b-instruct-v0.3",
4
+ "architectures": [
5
+ "MistralForCausalLM"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 32768,
16
+ "model_type": "mistral",
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 32,
19
+ "num_key_value_heads": 8,
20
+ "pad_token_id": 770,
21
+ "quantization_config": {
22
+ "_load_in_4bit": false,
23
+ "_load_in_8bit": true,
24
+ "bnb_4bit_compute_dtype": "float32",
25
+ "bnb_4bit_quant_storage": "uint8",
26
+ "bnb_4bit_quant_type": "fp4",
27
+ "bnb_4bit_use_double_quant": false,
28
+ "llm_int8_enable_fp32_cpu_offload": false,
29
+ "llm_int8_has_fp16_weight": false,
30
+ "llm_int8_skip_modules": null,
31
+ "llm_int8_threshold": 6.0,
32
+ "load_in_4bit": false,
33
+ "load_in_8bit": true,
34
+ "quant_method": "bitsandbytes"
35
+ },
36
+ "rms_norm_eps": 1e-05,
37
+ "rope_theta": 1000000.0,
38
+ "sliding_window": null,
39
+ "tie_word_embeddings": false,
40
+ "torch_dtype": "bfloat16",
41
+ "transformers_version": "4.46.0",
42
+ "unsloth_version": "2024.9",
43
+ "use_cache": false,
44
+ "vocab_size": 32768
45
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[control_768]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b63fbf363022e8b3ddde362e8969b6f50a7c509754b728d4d572215e4844d4a
3
+ size 6776