End of training
Browse files- README.md +150 -0
- adapter_config.json +31 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +13 -0
- config.json +154 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +131 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: mit
|
4 |
+
base_model: microsoft/Phi-3-mini-128k-instruct
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: 3e65ec97-6b69-44d3-b413-140ca80fb107
|
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: microsoft/Phi-3-mini-128k-instruct
|
23 |
+
bf16: false
|
24 |
+
chat_template: llama3
|
25 |
+
dataset_prepared_path: null
|
26 |
+
datasets:
|
27 |
+
- data_files:
|
28 |
+
- 0b4adbdddd3eb432_train_data.json
|
29 |
+
ds_type: json
|
30 |
+
format: custom
|
31 |
+
path: /workspace/input_data/0b4adbdddd3eb432_train_data.json
|
32 |
+
type:
|
33 |
+
field_instruction: clue
|
34 |
+
field_output: answer
|
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: true
|
47 |
+
fsdp: null
|
48 |
+
fsdp_config: null
|
49 |
+
gradient_accumulation_steps: 4
|
50 |
+
gradient_checkpointing: true
|
51 |
+
gradient_clipping: 1.0
|
52 |
+
group_by_length: false
|
53 |
+
hub_model_id: thangla01/3e65ec97-6b69-44d3-b413-140ca80fb107
|
54 |
+
hub_repo: null
|
55 |
+
hub_strategy: end
|
56 |
+
hub_token: null
|
57 |
+
learning_rate: 0.0001
|
58 |
+
load_in_4bit: true
|
59 |
+
load_in_8bit: true
|
60 |
+
local_rank: null
|
61 |
+
logging_steps: 1
|
62 |
+
lora_alpha: 32
|
63 |
+
lora_dropout: 0.1
|
64 |
+
lora_fan_in_fan_out: null
|
65 |
+
lora_model_dir: null
|
66 |
+
lora_r: 16
|
67 |
+
lora_target_linear: true
|
68 |
+
lr_scheduler: cosine
|
69 |
+
max_steps: 100
|
70 |
+
micro_batch_size: 1
|
71 |
+
mlflow_experiment_name: /tmp/0b4adbdddd3eb432_train_data.json
|
72 |
+
model_type: AutoModelForCausalLM
|
73 |
+
num_epochs: 1
|
74 |
+
optimizer: adamw_bnb_8bit
|
75 |
+
output_dir: miner_id_24
|
76 |
+
pad_to_sequence_len: true
|
77 |
+
resume_from_checkpoint: null
|
78 |
+
s2_attention: null
|
79 |
+
sample_packing: false
|
80 |
+
saves_per_epoch: 1
|
81 |
+
sequence_len: 2048
|
82 |
+
strict: false
|
83 |
+
tf32: false
|
84 |
+
tokenizer_type: AutoTokenizer
|
85 |
+
train_on_inputs: true
|
86 |
+
trust_remote_code: true
|
87 |
+
val_set_size: 0.05
|
88 |
+
wandb_entity: null
|
89 |
+
wandb_mode: online
|
90 |
+
wandb_name: 3e65ec97-6b69-44d3-b413-140ca80fb107
|
91 |
+
wandb_project: Gradients-On-Demand
|
92 |
+
wandb_run: your_name
|
93 |
+
wandb_runid: 3e65ec97-6b69-44d3-b413-140ca80fb107
|
94 |
+
warmup_steps: 10
|
95 |
+
weight_decay: 0.01
|
96 |
+
xformers_attention: true
|
97 |
+
|
98 |
+
```
|
99 |
+
|
100 |
+
</details><br>
|
101 |
+
|
102 |
+
# 3e65ec97-6b69-44d3-b413-140ca80fb107
|
103 |
+
|
104 |
+
This model is a fine-tuned version of [microsoft/Phi-3-mini-128k-instruct](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct) on the None dataset.
|
105 |
+
It achieves the following results on the evaluation set:
|
106 |
+
- Loss: 3.8084
|
107 |
+
|
108 |
+
## Model description
|
109 |
+
|
110 |
+
More information needed
|
111 |
+
|
112 |
+
## Intended uses & limitations
|
113 |
+
|
114 |
+
More information needed
|
115 |
+
|
116 |
+
## Training and evaluation data
|
117 |
+
|
118 |
+
More information needed
|
119 |
+
|
120 |
+
## Training procedure
|
121 |
+
|
122 |
+
### Training hyperparameters
|
123 |
+
|
124 |
+
The following hyperparameters were used during training:
|
125 |
+
- learning_rate: 0.0001
|
126 |
+
- train_batch_size: 1
|
127 |
+
- eval_batch_size: 1
|
128 |
+
- seed: 42
|
129 |
+
- gradient_accumulation_steps: 4
|
130 |
+
- total_train_batch_size: 4
|
131 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
132 |
+
- lr_scheduler_type: cosine
|
133 |
+
- lr_scheduler_warmup_steps: 10
|
134 |
+
- training_steps: 100
|
135 |
+
- mixed_precision_training: Native AMP
|
136 |
+
|
137 |
+
### Training results
|
138 |
+
|
139 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
140 |
+
|:-------------:|:------:|:----:|:---------------:|
|
141 |
+
| 15.7952 | 0.0012 | 100 | 3.8084 |
|
142 |
+
|
143 |
+
|
144 |
+
### Framework versions
|
145 |
+
|
146 |
+
- PEFT 0.13.2
|
147 |
+
- Transformers 4.46.0
|
148 |
+
- Pytorch 2.5.0+cu124
|
149 |
+
- Datasets 3.0.1
|
150 |
+
- Tokenizers 0.20.1
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "microsoft/Phi-3-mini-128k-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.1,
|
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 |
+
"qkv_proj",
|
24 |
+
"down_proj",
|
25 |
+
"o_proj",
|
26 |
+
"gate_up_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c43b55a23b591e5b22782ea76ec5a899d9d297a623fa0bb3f14f9ec0ff6d84c
|
3 |
+
size 100755850
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a28669f4ff93ccc11ff1a0ca0c0f57ab7ab47b9ad3cb4767e87e2344caaf549
|
3 |
+
size 100697728
|
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-mini-128k-instruct",
|
4 |
+
"architectures": [
|
5 |
+
"Phi3ForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_bias": false,
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auto_map": {
|
10 |
+
"AutoConfig": "microsoft/Phi-3-mini-128k-instruct--configuration_phi3.Phi3Config",
|
11 |
+
"AutoModelForCausalLM": "microsoft/Phi-3-mini-128k-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": false,
|
29 |
+
"_load_in_8bit": true,
|
30 |
+
"bnb_4bit_compute_dtype": "float32",
|
31 |
+
"bnb_4bit_quant_storage": "uint8",
|
32 |
+
"bnb_4bit_quant_type": "fp4",
|
33 |
+
"bnb_4bit_use_double_quant": false,
|
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": false,
|
39 |
+
"load_in_8bit": true,
|
40 |
+
"quant_method": "bitsandbytes"
|
41 |
+
},
|
42 |
+
"resid_pdrop": 0.0,
|
43 |
+
"rms_norm_eps": 1e-05,
|
44 |
+
"rope_scaling": {
|
45 |
+
"long_factor": [
|
46 |
+
1.0700000524520874,
|
47 |
+
1.1200000047683716,
|
48 |
+
1.149999976158142,
|
49 |
+
1.4199999570846558,
|
50 |
+
1.5699999332427979,
|
51 |
+
1.7999999523162842,
|
52 |
+
2.129999876022339,
|
53 |
+
2.129999876022339,
|
54 |
+
3.009999990463257,
|
55 |
+
5.910000324249268,
|
56 |
+
6.950000286102295,
|
57 |
+
9.070000648498535,
|
58 |
+
9.930000305175781,
|
59 |
+
10.710000038146973,
|
60 |
+
11.130000114440918,
|
61 |
+
14.609999656677246,
|
62 |
+
15.409998893737793,
|
63 |
+
19.809999465942383,
|
64 |
+
37.279998779296875,
|
65 |
+
38.279998779296875,
|
66 |
+
38.599998474121094,
|
67 |
+
40.12000274658203,
|
68 |
+
46.20000457763672,
|
69 |
+
50.940006256103516,
|
70 |
+
53.66000747680664,
|
71 |
+
54.9373893737793,
|
72 |
+
56.89738845825195,
|
73 |
+
57.28738784790039,
|
74 |
+
59.98738479614258,
|
75 |
+
60.86738586425781,
|
76 |
+
60.887386322021484,
|
77 |
+
61.71739196777344,
|
78 |
+
62.91739273071289,
|
79 |
+
62.957393646240234,
|
80 |
+
63.41739273071289,
|
81 |
+
63.8173942565918,
|
82 |
+
63.83739471435547,
|
83 |
+
63.897396087646484,
|
84 |
+
63.93739700317383,
|
85 |
+
64.06739807128906,
|
86 |
+
64.11434936523438,
|
87 |
+
64.12435150146484,
|
88 |
+
64.15435028076172,
|
89 |
+
64.19435119628906,
|
90 |
+
64.24435424804688,
|
91 |
+
64.57435607910156,
|
92 |
+
64.69000244140625,
|
93 |
+
64.76000213623047
|
94 |
+
],
|
95 |
+
"short_factor": [
|
96 |
+
1.1,
|
97 |
+
1.1,
|
98 |
+
1.1,
|
99 |
+
1.3000000000000003,
|
100 |
+
1.3500000000000003,
|
101 |
+
1.3500000000000003,
|
102 |
+
1.4000000000000004,
|
103 |
+
1.5500000000000005,
|
104 |
+
2.000000000000001,
|
105 |
+
2.000000000000001,
|
106 |
+
2.000000000000001,
|
107 |
+
2.000000000000001,
|
108 |
+
2.000000000000001,
|
109 |
+
2.000000000000001,
|
110 |
+
2.000000000000001,
|
111 |
+
2.000000000000001,
|
112 |
+
2.000000000000001,
|
113 |
+
2.000000000000001,
|
114 |
+
2.000000000000001,
|
115 |
+
2.000000000000001,
|
116 |
+
2.000000000000001,
|
117 |
+
2.000000000000001,
|
118 |
+
2.000000000000001,
|
119 |
+
2.000000000000001,
|
120 |
+
2.000000000000001,
|
121 |
+
2.0500000000000007,
|
122 |
+
2.0500000000000007,
|
123 |
+
2.0500000000000007,
|
124 |
+
2.0500000000000007,
|
125 |
+
2.0500000000000007,
|
126 |
+
2.0500000000000007,
|
127 |
+
2.1000000000000005,
|
128 |
+
2.1000000000000005,
|
129 |
+
2.1500000000000004,
|
130 |
+
2.25,
|
131 |
+
2.25,
|
132 |
+
2.25,
|
133 |
+
2.25,
|
134 |
+
2.25,
|
135 |
+
2.3999999999999995,
|
136 |
+
2.4499999999999993,
|
137 |
+
2.499999999999999,
|
138 |
+
2.6999999999999984,
|
139 |
+
2.6999999999999984,
|
140 |
+
2.7499999999999982,
|
141 |
+
2.799999999999998,
|
142 |
+
2.8999999999999977,
|
143 |
+
3.049999999999997
|
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.0",
|
152 |
+
"use_cache": false,
|
153 |
+
"vocab_size": 32064
|
154 |
+
}
|
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": "{% 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": "<|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:f91320e2562a2ea4ef28dd1798c44b91f51b96812b84211a5b994e9c8a133b15
|
3 |
+
size 6776
|