AnandK27 MeghanaArakkal prapti19 commited on
Commit
46f6509
·
verified ·
0 Parent(s):

Super-squash branch 'main' using huggingface_hub

Browse files

Co-authored-by: MeghanaArakkal <[email protected]>
Co-authored-by: prapti19 <[email protected]>

.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: microsoft/Phi-3.5-mini-instruct
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: sn_math_curator_on_ensemble_8
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
+
17
+ This is an open-source fine-tuned reasoning adapter of [microsoft/Phi-3.5-mini-instruct](https://huggingface.co/microsoft/Phi-3.5-mini-instruct), transformed into a math reasoning model using data curated from [collinear-ai/R1-Distill-SFT-Curated](https://huggingface.co/datasets/collinear-ai/R1-Distill-SFT-Curated).
18
+
19
+ [<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)
20
+ <details><summary>See axolotl version</summary>
21
+
22
+ axolotl version: `0.5.0`
23
+ <!-- ```yaml
24
+ strict: false
25
+ base_model: microsoft/Phi-3.5-mini-instruct
26
+ tokenizer_config: microsoft/Phi-3.5-mini-instruct
27
+ model_type: AutoModelForCausalLM
28
+ tokenizer_type: AutoTokenizer
29
+
30
+ # Output configuration
31
+ hub_model_id: collinear-ai/sn_math_curator_on_ensemble_8
32
+ dataset_prepared_path: data/sn_math_curator_on_ensemble_8
33
+ output_dir: model/sn_math_curator_on_ensemble_8
34
+
35
+ # Format the dataset into the right instruction format.
36
+ chat_template: phi_3
37
+ datasets:
38
+ - path: collinear-ai/R1-Distill-SFT-numina-math-ensemble_8_train
39
+ split: train
40
+ type: chat_template
41
+ chat_template: phi_3
42
+ field_messages: train_conv
43
+ message_field_role: role
44
+ message_field_content: content
45
+ train_on_inputs: false #FALSE
46
+
47
+ val_set_size: 0.05
48
+ # Data packing
49
+ sequence_len: 4096
50
+ eval_sample_packing: false
51
+ sample_packing: false
52
+ pad_to_sequence_len: true
53
+ group_by_length: false
54
+
55
+ # Lora config
56
+ adapter: qlora
57
+ lora_model_dir:
58
+ load_in_8bit: false
59
+ load_in_4bit: true -->
60
+ <!-- lora_r: 128
61
+ lora_alpha: 64
62
+ lora_dropout: 0.2
63
+ lora_target_linear: true
64
+ lora_fan_in_fan_out:
65
+ lora_target_modules:
66
+ - gate_proj
67
+ - down_proj
68
+ - up_proj
69
+ - q_proj
70
+ - v_proj
71
+ - k_proj
72
+ - o_proj
73
+ lora_modules_to_save:
74
+ - embed_tokens
75
+ - lm_head
76
+
77
+
78
+ # Logging config
79
+ wandb_project: sn-curators-downstream
80
+ wandb_entity: nazneen
81
+ wandb_name: curator_math_sn_ensemble_8_phi
82
+
83
+ # Trainer config
84
+ gradient_accumulation_steps: 2
85
+ micro_batch_size: 10
86
+ num_epochs: 1
87
+ optimizer: paged_adamw_8bit
88
+ lr_scheduler: cosine
89
+ learning_rate: 0.000005
90
+
91
+
92
+ bfloat16: true
93
+ bf16: true
94
+ fp16:
95
+ tf32: false -->
96
+
97
+ <!-- gradient_checkpointing: true
98
+ early_stopping_patience:
99
+ resume_from_checkpoint:
100
+ local_rank:
101
+ logging_steps: 10
102
+ xformers_attention:
103
+ flash_attention: true
104
+ save_safetensors: true
105
+
106
+
107
+
108
+ warmup_steps: 50
109
+ evals_per_epoch: 3
110
+ eval_table_size: 3
111
+ eval_max_new_tokens: 2048
112
+ saves_per_epoch: 40
113
+ debug:
114
+ deepspeed:
115
+ weight_decay: 0.02
116
+ fsdp_config:
117
+ special_tokens:
118
+ bos_token: "<s>"
119
+ eos_token: "<|endoftext|>"
120
+ unk_token: "<unk>"
121
+ pad_token: "<|endoftext|>"
122
+
123
+ ``` -->
124
+
125
+ </details><br>
126
+
127
+
128
+
129
+ ## Intended uses & limitations
130
+
131
+ Math-Reasoning
132
+
133
+ ## Training and evaluation data
134
+
135
+ Training data curated from [collinear-ai/R1-Distill-SFT-Curated](https://huggingface.co/datasets/collinear-ai/R1-Distill-SFT-Curated)
136
+ Evaluation data: [HuggingFaceH4/MATH-500](https://huggingface.co/datasets/HuggingFaceH4/MATH-500)
137
+
138
+ ## Training procedure
139
+
140
+ ### Training hyperparameters
141
+
142
+ The following hyperparameters were used during training:
143
+ - learning_rate: 5e-06
144
+ - train_batch_size: 10
145
+ - eval_batch_size: 10
146
+ - seed: 42
147
+ - distributed_type: multi-GPU
148
+ - num_devices: 8
149
+ - gradient_accumulation_steps: 2
150
+ - total_train_batch_size: 160
151
+ - total_eval_batch_size: 80
152
+ - optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
153
+ - lr_scheduler_type: cosine
154
+ - lr_scheduler_warmup_steps: 50
155
+ - num_epochs: 1
156
+
157
+ ### Training results
158
+
159
+ | Training Loss | Epoch | Step | Validation Loss |
160
+ |:-------------:|:------:|:----:|:---------------:|
161
+ | No log | 0.0003 | 1 | 0.6646 |
162
+ | 0.3174 | 0.3335 | 1247 | 0.3329 |
163
+ | 0.307 | 0.6670 | 2494 | 0.3169 |
164
+
165
+ ### Evaluation on Math500
166
+
167
+ ![Math Reasoning Evaluation](https://huggingface.co/collinear-ai/math_reasoning_phi_c2/raw/main/math500_eval_c1_c2.png)
168
+
169
+
170
+ ### Framework versions
171
+
172
+ - PEFT 0.13.2
173
+ - Transformers 4.46.1
174
+ - Pytorch 2.3.1+cu121
175
+ - Datasets 3.0.1
176
+ - Tokenizers 0.20.3
adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/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": 64,
14
+ "lora_dropout": 0.2,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [
18
+ "embed_tokens",
19
+ "lm_head"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 128,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "o_proj",
27
+ "k_proj",
28
+ "q_proj",
29
+ "up_proj",
30
+ "gate_proj",
31
+ "gate_up_proj",
32
+ "down_proj",
33
+ "qkv_proj",
34
+ "v_proj"
35
+ ],
36
+ "task_type": "CAUSAL_LM",
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c3133202c9eeae63f32e0abca0df85015c08cf01f264089eaec783c9ee6a1a8
3
+ size 1199344216
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,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "microsoft/Phi-3.5-mini-instruct",
4
+ "architectures": [
5
+ "Phi3ForCausalLM"
6
+ ],
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "auto_map": {
10
+ "AutoConfig": "microsoft/Phi-3.5-mini-instruct--configuration_phi3.Phi3Config",
11
+ "AutoModelForCausalLM": "microsoft/Phi-3.5-mini-instruct--modeling_phi3.Phi3ForCausalLM"
12
+ },
13
+ "bos_token_id": 1,
14
+ "embd_pdrop": 0.0,
15
+ "eos_token_id": 32000,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 3072,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 8192,
20
+ "max_position_embeddings": 131072,
21
+ "model_type": "phi3",
22
+ "num_attention_heads": 32,
23
+ "num_hidden_layers": 32,
24
+ "num_key_value_heads": 32,
25
+ "original_max_position_embeddings": 4096,
26
+ "pad_token_id": 32000,
27
+ "quantization_config": {
28
+ "_load_in_4bit": true,
29
+ "_load_in_8bit": false,
30
+ "bnb_4bit_compute_dtype": "bfloat16",
31
+ "bnb_4bit_quant_storage": "bfloat16",
32
+ "bnb_4bit_quant_type": "nf4",
33
+ "bnb_4bit_use_double_quant": true,
34
+ "llm_int8_enable_fp32_cpu_offload": false,
35
+ "llm_int8_has_fp16_weight": false,
36
+ "llm_int8_skip_modules": null,
37
+ "llm_int8_threshold": 6.0,
38
+ "load_in_4bit": true,
39
+ "load_in_8bit": false,
40
+ "quant_method": "bitsandbytes"
41
+ },
42
+ "resid_pdrop": 0.0,
43
+ "rms_norm_eps": 1e-05,
44
+ "rope_scaling": {
45
+ "long_factor": [
46
+ 1.0800000429153442,
47
+ 1.1100000143051147,
48
+ 1.1399999856948853,
49
+ 1.340000033378601,
50
+ 1.5899999141693115,
51
+ 1.600000023841858,
52
+ 1.6200000047683716,
53
+ 2.620000123977661,
54
+ 3.2300000190734863,
55
+ 3.2300000190734863,
56
+ 4.789999961853027,
57
+ 7.400000095367432,
58
+ 7.700000286102295,
59
+ 9.09000015258789,
60
+ 12.199999809265137,
61
+ 17.670000076293945,
62
+ 24.46000099182129,
63
+ 28.57000160217285,
64
+ 30.420001983642578,
65
+ 30.840002059936523,
66
+ 32.590003967285156,
67
+ 32.93000411987305,
68
+ 42.320003509521484,
69
+ 44.96000289916992,
70
+ 50.340003967285156,
71
+ 50.45000457763672,
72
+ 57.55000305175781,
73
+ 57.93000411987305,
74
+ 58.21000289916992,
75
+ 60.1400032043457,
76
+ 62.61000442504883,
77
+ 62.62000274658203,
78
+ 62.71000289916992,
79
+ 63.1400032043457,
80
+ 63.1400032043457,
81
+ 63.77000427246094,
82
+ 63.93000411987305,
83
+ 63.96000289916992,
84
+ 63.970001220703125,
85
+ 64.02999877929688,
86
+ 64.06999969482422,
87
+ 64.08000183105469,
88
+ 64.12000274658203,
89
+ 64.41000366210938,
90
+ 64.4800033569336,
91
+ 64.51000213623047,
92
+ 64.52999877929688,
93
+ 64.83999633789062
94
+ ],
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
+ "type": "longrope"
146
+ },
147
+ "rope_theta": 10000.0,
148
+ "sliding_window": 262144,
149
+ "tie_word_embeddings": false,
150
+ "torch_dtype": "bfloat16",
151
+ "transformers_version": "4.46.1",
152
+ "use_cache": false,
153
+ "vocab_size": 32064
154
+ }
math500_eval_c1_c2.png ADDED
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": "<|endoftext|>",
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: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": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'system') %}{{'<|system|>' + '\n' + message['content'] + '<|end|>' + '\n'}}{% elif (message['role'] == 'user') %}{{'<|user|>' + '\n' + message['content'] + '<|end|>' + '\n' + '<|assistant|>' + '\n'}}{% elif message['role'] == 'assistant' %}{{message['content'] + '<|end|>' + '\n'}}{% endif %}{% endfor %}",
121
+ "clean_up_tokenization_spaces": false,
122
+ "eos_token": "<|endoftext|>",
123
+ "legacy": false,
124
+ "model_max_length": 131072,
125
+ "pad_token": "<|endoftext|>",
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:c673fd12296a7622b7a46d1a7aab69688b4fcb6f2a03cf9f35d55593ca9a04aa
3
+ size 6712