nblinh63 commited on
Commit
baca3d9
1 Parent(s): 5d4d7a5

End of training

Browse files
README.md ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: unsloth/Phi-3.5-mini-instruct
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: dafc10de-459f-408d-b56d-89534e74773b
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/Phi-3.5-mini-instruct
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 5598b4a05bb7ccba_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/5598b4a05bb7ccba_train_data.json
32
+ type:
33
+ field_instruction: question
34
+ field_output: answerKey
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: null
42
+ eval_max_new_tokens: 128
43
+ eval_table_size: null
44
+ evals_per_epoch: 1
45
+ flash_attention: false
46
+ fp16: null
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 1
50
+ gradient_checkpointing: true
51
+ group_by_length: false
52
+ hub_model_id: nblinh63/dafc10de-459f-408d-b56d-89534e74773b
53
+ hub_repo: null
54
+ hub_strategy: end
55
+ hub_token: null
56
+ learning_rate: 0.0002
57
+ load_in_4bit: true
58
+ load_in_8bit: true
59
+ local_rank: null
60
+ logging_steps: 1
61
+ lora_alpha: 32
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 16
66
+ lora_target_linear: true
67
+ lr_scheduler: cosine
68
+ max_steps: 50
69
+ micro_batch_size: 2
70
+ mlflow_experiment_name: /tmp/5598b4a05bb7ccba_train_data.json
71
+ model_type: AutoModelForCausalLM
72
+ num_epochs: 1
73
+ optimizer: adamw_bnb_8bit
74
+ output_dir: miner_id_24
75
+ pad_to_sequence_len: true
76
+ resume_from_checkpoint: null
77
+ s2_attention: null
78
+ sample_packing: false
79
+ saves_per_epoch: 1
80
+ sequence_len: 2048
81
+ strict: false
82
+ tf32: false
83
+ tokenizer_type: AutoTokenizer
84
+ train_on_inputs: false
85
+ trust_remote_code: true
86
+ val_set_size: 0.05
87
+ wandb_entity: null
88
+ wandb_mode: online
89
+ wandb_name: dafc10de-459f-408d-b56d-89534e74773b
90
+ wandb_project: Gradients-On-Demand
91
+ wandb_run: your_name
92
+ wandb_runid: dafc10de-459f-408d-b56d-89534e74773b
93
+ warmup_steps: 10
94
+ weight_decay: 0.01
95
+ xformers_attention: true
96
+
97
+ ```
98
+
99
+ </details><br>
100
+
101
+ # dafc10de-459f-408d-b56d-89534e74773b
102
+
103
+ This model is a fine-tuned version of [unsloth/Phi-3.5-mini-instruct](https://huggingface.co/unsloth/Phi-3.5-mini-instruct) on the None dataset.
104
+ It achieves the following results on the evaluation set:
105
+ - Loss: nan
106
+
107
+ ## Model description
108
+
109
+ More information needed
110
+
111
+ ## Intended uses & limitations
112
+
113
+ More information needed
114
+
115
+ ## Training and evaluation data
116
+
117
+ More information needed
118
+
119
+ ## Training procedure
120
+
121
+ ### Training hyperparameters
122
+
123
+ The following hyperparameters were used during training:
124
+ - learning_rate: 0.0002
125
+ - train_batch_size: 2
126
+ - eval_batch_size: 2
127
+ - seed: 42
128
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
129
+ - lr_scheduler_type: cosine
130
+ - lr_scheduler_warmup_steps: 10
131
+ - training_steps: 50
132
+
133
+ ### Training results
134
+
135
+ | Training Loss | Epoch | Step | Validation Loss |
136
+ |:-------------:|:------:|:----:|:---------------:|
137
+ | 0.0 | 0.0519 | 50 | nan |
138
+
139
+
140
+ ### Framework versions
141
+
142
+ - PEFT 0.13.2
143
+ - Transformers 4.46.0
144
+ - Pytorch 2.5.0+cu124
145
+ - Datasets 3.0.1
146
+ - 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/Phi-3.5-mini-instruct",
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": 32,
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": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "v_proj",
24
+ "up_proj",
25
+ "k_proj",
26
+ "down_proj",
27
+ "q_proj",
28
+ "o_proj",
29
+ "gate_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:465961b072f861b091bc1a01554ff7bd0154d99e69031c9434c95b5f4801a5b0
3
+ size 119698954
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a53564e41492a082f357b0384795129a4ee06c4c0582d48f47e5deb9ae5f2e5
3
+ size 119597408
added_tokens.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<|assistant|>": 32001,
3
+ "<|endoftext|>": 32000,
4
+ "<|end|>": 32007,
5
+ "<|placeholder1|>": 32002,
6
+ "<|placeholder2|>": 32003,
7
+ "<|placeholder3|>": 32004,
8
+ "<|placeholder4|>": 32005,
9
+ "<|placeholder5|>": 32008,
10
+ "<|placeholder6|>": 32009,
11
+ "<|system|>": 32006,
12
+ "<|user|>": 32010
13
+ }
config.json ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "unsloth/Phi-3.5-mini-instruct",
4
+ "architectures": [
5
+ "LlamaForCausalLM"
6
+ ],
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 1,
10
+ "eos_token_id": 32000,
11
+ "head_dim": 96,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 3072,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 8192,
16
+ "max_position_embeddings": 131072,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 32,
20
+ "num_hidden_layers": 32,
21
+ "num_key_value_heads": 32,
22
+ "original_max_position_embeddings": 4096,
23
+ "pad_token_id": 32000,
24
+ "pretraining_tp": 1,
25
+ "quantization_config": {
26
+ "_load_in_4bit": false,
27
+ "_load_in_8bit": true,
28
+ "bnb_4bit_compute_dtype": "float32",
29
+ "bnb_4bit_quant_storage": "uint8",
30
+ "bnb_4bit_quant_type": "fp4",
31
+ "bnb_4bit_use_double_quant": false,
32
+ "llm_int8_enable_fp32_cpu_offload": false,
33
+ "llm_int8_has_fp16_weight": false,
34
+ "llm_int8_skip_modules": null,
35
+ "llm_int8_threshold": 6.0,
36
+ "load_in_4bit": false,
37
+ "load_in_8bit": true,
38
+ "quant_method": "bitsandbytes"
39
+ },
40
+ "rms_norm_eps": 1e-05,
41
+ "rope_scaling": {
42
+ "attention_factor": 32.0,
43
+ "factor": 32.0,
44
+ "long_factor": [
45
+ 1.0800000429153442,
46
+ 1.1100000143051147,
47
+ 1.1399999856948853,
48
+ 1.340000033378601,
49
+ 1.5899999141693115,
50
+ 1.600000023841858,
51
+ 1.6200000047683716,
52
+ 2.620000123977661,
53
+ 3.2300000190734863,
54
+ 3.2300000190734863,
55
+ 4.789999961853027,
56
+ 7.400000095367432,
57
+ 7.700000286102295,
58
+ 9.09000015258789,
59
+ 12.199999809265137,
60
+ 17.670000076293945,
61
+ 24.46000099182129,
62
+ 28.57000160217285,
63
+ 30.420001983642578,
64
+ 30.840002059936523,
65
+ 32.590003967285156,
66
+ 32.93000411987305,
67
+ 42.320003509521484,
68
+ 44.96000289916992,
69
+ 50.340003967285156,
70
+ 50.45000457763672,
71
+ 57.55000305175781,
72
+ 57.93000411987305,
73
+ 58.21000289916992,
74
+ 60.1400032043457,
75
+ 62.61000442504883,
76
+ 62.62000274658203,
77
+ 62.71000289916992,
78
+ 63.1400032043457,
79
+ 63.1400032043457,
80
+ 63.77000427246094,
81
+ 63.93000411987305,
82
+ 63.96000289916992,
83
+ 63.970001220703125,
84
+ 64.02999877929688,
85
+ 64.06999969482422,
86
+ 64.08000183105469,
87
+ 64.12000274658203,
88
+ 64.41000366210938,
89
+ 64.4800033569336,
90
+ 64.51000213623047,
91
+ 64.52999877929688,
92
+ 64.83999633789062
93
+ ],
94
+ "rope_type": "longrope",
95
+ "short_factor": [
96
+ 1.0,
97
+ 1.0199999809265137,
98
+ 1.0299999713897705,
99
+ 1.0299999713897705,
100
+ 1.0499999523162842,
101
+ 1.0499999523162842,
102
+ 1.0499999523162842,
103
+ 1.0499999523162842,
104
+ 1.0499999523162842,
105
+ 1.0699999332427979,
106
+ 1.0999999046325684,
107
+ 1.1099998950958252,
108
+ 1.1599998474121094,
109
+ 1.1599998474121094,
110
+ 1.1699998378753662,
111
+ 1.2899998426437378,
112
+ 1.339999794960022,
113
+ 1.679999828338623,
114
+ 1.7899998426437378,
115
+ 1.8199998140335083,
116
+ 1.8499997854232788,
117
+ 1.8799997568130493,
118
+ 1.9099997282028198,
119
+ 1.9399996995925903,
120
+ 1.9899996519088745,
121
+ 2.0199997425079346,
122
+ 2.0199997425079346,
123
+ 2.0199997425079346,
124
+ 2.0199997425079346,
125
+ 2.0199997425079346,
126
+ 2.0199997425079346,
127
+ 2.0299997329711914,
128
+ 2.0299997329711914,
129
+ 2.0299997329711914,
130
+ 2.0299997329711914,
131
+ 2.0299997329711914,
132
+ 2.0299997329711914,
133
+ 2.0299997329711914,
134
+ 2.0299997329711914,
135
+ 2.0299997329711914,
136
+ 2.0799996852874756,
137
+ 2.0899996757507324,
138
+ 2.189999580383301,
139
+ 2.2199995517730713,
140
+ 2.5899994373321533,
141
+ 2.729999542236328,
142
+ 2.749999523162842,
143
+ 2.8399994373321533
144
+ ]
145
+ },
146
+ "rope_theta": 10000.0,
147
+ "tie_word_embeddings": false,
148
+ "torch_dtype": "bfloat16",
149
+ "transformers_version": "4.46.0",
150
+ "use_cache": false,
151
+ "vocab_size": 32064
152
+ }
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": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|placeholder6|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": true,
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": true,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "32000": {
31
+ "content": "<|endoftext|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "<|assistant|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": true,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "32002": {
47
+ "content": "<|placeholder1|>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": true,
51
+ "single_word": false,
52
+ "special": true
53
+ },
54
+ "32003": {
55
+ "content": "<|placeholder2|>",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": true,
59
+ "single_word": false,
60
+ "special": true
61
+ },
62
+ "32004": {
63
+ "content": "<|placeholder3|>",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": true,
67
+ "single_word": false,
68
+ "special": true
69
+ },
70
+ "32005": {
71
+ "content": "<|placeholder4|>",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": true,
75
+ "single_word": false,
76
+ "special": true
77
+ },
78
+ "32006": {
79
+ "content": "<|system|>",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": true,
83
+ "single_word": false,
84
+ "special": true
85
+ },
86
+ "32007": {
87
+ "content": "<|end|>",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": true,
91
+ "single_word": false,
92
+ "special": true
93
+ },
94
+ "32008": {
95
+ "content": "<|placeholder5|>",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": true,
99
+ "single_word": false,
100
+ "special": true
101
+ },
102
+ "32009": {
103
+ "content": "<|placeholder6|>",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": true,
107
+ "single_word": false,
108
+ "special": true
109
+ },
110
+ "32010": {
111
+ "content": "<|user|>",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": true,
115
+ "single_word": false,
116
+ "special": true
117
+ }
118
+ },
119
+ "bos_token": "<s>",
120
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
121
+ "clean_up_tokenization_spaces": false,
122
+ "eos_token": "<|endoftext|>",
123
+ "legacy": false,
124
+ "model_max_length": 131072,
125
+ "pad_token": "<|placeholder6|>",
126
+ "padding_side": "left",
127
+ "sp_model_kwargs": {},
128
+ "tokenizer_class": "LlamaTokenizer",
129
+ "unk_token": "<unk>",
130
+ "use_default_system_prompt": false
131
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d41c0c52b6bf931e9b9361ee28b0ef30fabd866596980f5a1b831d4ce38161c
3
+ size 6776