End of training
Browse files- README.md +148 -0
- adapter_config.json +34 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +16 -0
- config.json +47 -0
- special_tokens_map.json +34 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +159 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: Vikhrmodels/Vikhr-7B-instruct_0.4
|
4 |
+
tags:
|
5 |
+
- axolotl
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: 4c244fe0-342d-412f-83d2-817a14228fcd
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
[<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)
|
16 |
+
<details><summary>See axolotl config</summary>
|
17 |
+
|
18 |
+
axolotl version: `0.4.1`
|
19 |
+
```yaml
|
20 |
+
adapter: lora
|
21 |
+
base_model: Vikhrmodels/Vikhr-7B-instruct_0.4
|
22 |
+
bf16: auto
|
23 |
+
chat_template: llama3
|
24 |
+
dataset_prepared_path: null
|
25 |
+
datasets:
|
26 |
+
- data_files:
|
27 |
+
- 0c711a1480f59d37_train_data.json
|
28 |
+
ds_type: json
|
29 |
+
format: custom
|
30 |
+
path: /workspace/input_data/0c711a1480f59d37_train_data.json
|
31 |
+
type:
|
32 |
+
field_instruction: source
|
33 |
+
field_output: target
|
34 |
+
format: '{instruction}'
|
35 |
+
no_input_format: '{instruction}'
|
36 |
+
system_format: '{system}'
|
37 |
+
system_prompt: ''
|
38 |
+
debug: null
|
39 |
+
deepspeed: null
|
40 |
+
early_stopping_patience: null
|
41 |
+
eval_max_new_tokens: 128
|
42 |
+
eval_table_size: null
|
43 |
+
evals_per_epoch: 1
|
44 |
+
flash_attention: true
|
45 |
+
fp16: null
|
46 |
+
fsdp: null
|
47 |
+
fsdp_config: null
|
48 |
+
gradient_accumulation_steps: 4
|
49 |
+
gradient_checkpointing: true
|
50 |
+
gradient_clipping: 1.0
|
51 |
+
group_by_length: false
|
52 |
+
hub_model_id: nhoxinh/4c244fe0-342d-412f-83d2-817a14228fcd
|
53 |
+
hub_repo: null
|
54 |
+
hub_strategy: end
|
55 |
+
hub_token: null
|
56 |
+
learning_rate: 5.0e-05
|
57 |
+
load_in_4bit: true
|
58 |
+
load_in_8bit: true
|
59 |
+
local_rank: null
|
60 |
+
logging_steps: 1
|
61 |
+
lora_alpha: 16
|
62 |
+
lora_dropout: 0.05
|
63 |
+
lora_fan_in_fan_out: null
|
64 |
+
lora_model_dir: null
|
65 |
+
lora_r: 8
|
66 |
+
lora_target_linear: true
|
67 |
+
lr_scheduler: cosine
|
68 |
+
max_steps: 200
|
69 |
+
micro_batch_size: 2
|
70 |
+
mlflow_experiment_name: /tmp/0c711a1480f59d37_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: 1024
|
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: c88fd593-37b5-4dc0-be79-680dbbc06811
|
90 |
+
wandb_project: Gradients-On-Demand
|
91 |
+
wandb_run: your_name
|
92 |
+
wandb_runid: c88fd593-37b5-4dc0-be79-680dbbc06811
|
93 |
+
warmup_steps: 5
|
94 |
+
weight_decay: 0.01
|
95 |
+
xformers_attention: true
|
96 |
+
|
97 |
+
```
|
98 |
+
|
99 |
+
</details><br>
|
100 |
+
|
101 |
+
# 4c244fe0-342d-412f-83d2-817a14228fcd
|
102 |
+
|
103 |
+
This model is a fine-tuned version of [Vikhrmodels/Vikhr-7B-instruct_0.4](https://huggingface.co/Vikhrmodels/Vikhr-7B-instruct_0.4) on the None dataset.
|
104 |
+
It achieves the following results on the evaluation set:
|
105 |
+
- Loss: 1.5657
|
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: 5e-05
|
125 |
+
- train_batch_size: 2
|
126 |
+
- eval_batch_size: 2
|
127 |
+
- seed: 42
|
128 |
+
- gradient_accumulation_steps: 4
|
129 |
+
- total_train_batch_size: 8
|
130 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
131 |
+
- lr_scheduler_type: cosine
|
132 |
+
- lr_scheduler_warmup_steps: 5
|
133 |
+
- training_steps: 200
|
134 |
+
|
135 |
+
### Training results
|
136 |
+
|
137 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
138 |
+
|:-------------:|:------:|:----:|:---------------:|
|
139 |
+
| 1.3866 | 0.0841 | 200 | 1.5657 |
|
140 |
+
|
141 |
+
|
142 |
+
### Framework versions
|
143 |
+
|
144 |
+
- PEFT 0.13.2
|
145 |
+
- Transformers 4.46.0
|
146 |
+
- Pytorch 2.5.0+cu124
|
147 |
+
- Datasets 3.0.1
|
148 |
+
- 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": "Vikhrmodels/Vikhr-7B-instruct_0.4",
|
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 |
+
"k_proj",
|
24 |
+
"q_proj",
|
25 |
+
"up_proj",
|
26 |
+
"gate_proj",
|
27 |
+
"o_proj",
|
28 |
+
"v_proj",
|
29 |
+
"down_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:0b9a5ab1904f322febbb21dca0b9e75550b061847f8cd4b7f79583a195283e8b
|
3 |
+
size 84047370
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2fcda65657cf959375b620f705aeda4d01b8996e05d1d39a2bf83185593cd4dc
|
3 |
+
size 83945296
|
added_tokens.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|future_token_0|>": 79085,
|
3 |
+
"<|future_token_10|>": 79095,
|
4 |
+
"<|future_token_11|>": 79096,
|
5 |
+
"<|future_token_1|>": 79086,
|
6 |
+
"<|future_token_2|>": 79087,
|
7 |
+
"<|future_token_3|>": 79088,
|
8 |
+
"<|future_token_4|>": 79089,
|
9 |
+
"<|future_token_5|>": 79090,
|
10 |
+
"<|future_token_6|>": 79091,
|
11 |
+
"<|future_token_7|>": 79092,
|
12 |
+
"<|future_token_8|>": 79093,
|
13 |
+
"<|future_token_9|>": 79094,
|
14 |
+
"<|im_end|>": 79097,
|
15 |
+
"<|im_start|>": 79098
|
16 |
+
}
|
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "Vikhrmodels/Vikhr-7B-instruct_0.4",
|
4 |
+
"architectures": [
|
5 |
+
"MistralForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_bias": false,
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"head_dim": 128,
|
12 |
+
"hidden_act": "silu",
|
13 |
+
"hidden_size": 4096,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 14336,
|
16 |
+
"max_position_embeddings": 32768,
|
17 |
+
"mlp_bias": false,
|
18 |
+
"model_type": "llama",
|
19 |
+
"num_attention_heads": 32,
|
20 |
+
"num_hidden_layers": 32,
|
21 |
+
"num_key_value_heads": 8,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"quantization_config": {
|
24 |
+
"_load_in_4bit": false,
|
25 |
+
"_load_in_8bit": true,
|
26 |
+
"bnb_4bit_compute_dtype": "float32",
|
27 |
+
"bnb_4bit_quant_storage": "uint8",
|
28 |
+
"bnb_4bit_quant_type": "fp4",
|
29 |
+
"bnb_4bit_use_double_quant": false,
|
30 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
31 |
+
"llm_int8_has_fp16_weight": false,
|
32 |
+
"llm_int8_skip_modules": null,
|
33 |
+
"llm_int8_threshold": 6.0,
|
34 |
+
"load_in_4bit": false,
|
35 |
+
"load_in_8bit": true,
|
36 |
+
"quant_method": "bitsandbytes"
|
37 |
+
},
|
38 |
+
"rms_norm_eps": 1e-05,
|
39 |
+
"rope_scaling": null,
|
40 |
+
"rope_theta": 10000.0,
|
41 |
+
"sliding_window": 4096,
|
42 |
+
"tie_word_embeddings": false,
|
43 |
+
"torch_dtype": "bfloat16",
|
44 |
+
"transformers_version": "4.46.0",
|
45 |
+
"use_cache": false,
|
46 |
+
"vocab_size": 79099
|
47 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_end|>",
|
4 |
+
"<|im_start|>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<s>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "</s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false
|
26 |
+
},
|
27 |
+
"unk_token": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|
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:e3f0f84b42f79947ab92931c7c5ded699e845e6862e4e29f0b97f87e279da601
|
3 |
+
size 1636166
|
tokenizer_config.json
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": true,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
},
|
30 |
+
"79085": {
|
31 |
+
"content": "<|future_token_0|>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false,
|
36 |
+
"special": false
|
37 |
+
},
|
38 |
+
"79086": {
|
39 |
+
"content": "<|future_token_1|>",
|
40 |
+
"lstrip": false,
|
41 |
+
"normalized": true,
|
42 |
+
"rstrip": false,
|
43 |
+
"single_word": false,
|
44 |
+
"special": false
|
45 |
+
},
|
46 |
+
"79087": {
|
47 |
+
"content": "<|future_token_2|>",
|
48 |
+
"lstrip": false,
|
49 |
+
"normalized": true,
|
50 |
+
"rstrip": false,
|
51 |
+
"single_word": false,
|
52 |
+
"special": false
|
53 |
+
},
|
54 |
+
"79088": {
|
55 |
+
"content": "<|future_token_3|>",
|
56 |
+
"lstrip": false,
|
57 |
+
"normalized": true,
|
58 |
+
"rstrip": false,
|
59 |
+
"single_word": false,
|
60 |
+
"special": false
|
61 |
+
},
|
62 |
+
"79089": {
|
63 |
+
"content": "<|future_token_4|>",
|
64 |
+
"lstrip": false,
|
65 |
+
"normalized": true,
|
66 |
+
"rstrip": false,
|
67 |
+
"single_word": false,
|
68 |
+
"special": false
|
69 |
+
},
|
70 |
+
"79090": {
|
71 |
+
"content": "<|future_token_5|>",
|
72 |
+
"lstrip": false,
|
73 |
+
"normalized": true,
|
74 |
+
"rstrip": false,
|
75 |
+
"single_word": false,
|
76 |
+
"special": false
|
77 |
+
},
|
78 |
+
"79091": {
|
79 |
+
"content": "<|future_token_6|>",
|
80 |
+
"lstrip": false,
|
81 |
+
"normalized": true,
|
82 |
+
"rstrip": false,
|
83 |
+
"single_word": false,
|
84 |
+
"special": false
|
85 |
+
},
|
86 |
+
"79092": {
|
87 |
+
"content": "<|future_token_7|>",
|
88 |
+
"lstrip": false,
|
89 |
+
"normalized": true,
|
90 |
+
"rstrip": false,
|
91 |
+
"single_word": false,
|
92 |
+
"special": false
|
93 |
+
},
|
94 |
+
"79093": {
|
95 |
+
"content": "<|future_token_8|>",
|
96 |
+
"lstrip": false,
|
97 |
+
"normalized": true,
|
98 |
+
"rstrip": false,
|
99 |
+
"single_word": false,
|
100 |
+
"special": false
|
101 |
+
},
|
102 |
+
"79094": {
|
103 |
+
"content": "<|future_token_9|>",
|
104 |
+
"lstrip": false,
|
105 |
+
"normalized": true,
|
106 |
+
"rstrip": false,
|
107 |
+
"single_word": false,
|
108 |
+
"special": false
|
109 |
+
},
|
110 |
+
"79095": {
|
111 |
+
"content": "<|future_token_10|>",
|
112 |
+
"lstrip": false,
|
113 |
+
"normalized": true,
|
114 |
+
"rstrip": false,
|
115 |
+
"single_word": false,
|
116 |
+
"special": false
|
117 |
+
},
|
118 |
+
"79096": {
|
119 |
+
"content": "<|future_token_11|>",
|
120 |
+
"lstrip": false,
|
121 |
+
"normalized": true,
|
122 |
+
"rstrip": false,
|
123 |
+
"single_word": false,
|
124 |
+
"special": false
|
125 |
+
},
|
126 |
+
"79097": {
|
127 |
+
"content": "<|im_end|>",
|
128 |
+
"lstrip": false,
|
129 |
+
"normalized": false,
|
130 |
+
"rstrip": false,
|
131 |
+
"single_word": false,
|
132 |
+
"special": true
|
133 |
+
},
|
134 |
+
"79098": {
|
135 |
+
"content": "<|im_start|>",
|
136 |
+
"lstrip": false,
|
137 |
+
"normalized": false,
|
138 |
+
"rstrip": false,
|
139 |
+
"single_word": false,
|
140 |
+
"special": true
|
141 |
+
}
|
142 |
+
},
|
143 |
+
"additional_special_tokens": [
|
144 |
+
"<|im_end|>",
|
145 |
+
"<|im_start|>"
|
146 |
+
],
|
147 |
+
"bos_token": "<s>",
|
148 |
+
"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 %}",
|
149 |
+
"clean_up_tokenization_spaces": false,
|
150 |
+
"eos_token": "</s>",
|
151 |
+
"legacy": true,
|
152 |
+
"model_max_length": 1512,
|
153 |
+
"pad_token": "</s>",
|
154 |
+
"sp_model_kwargs": {},
|
155 |
+
"spaces_between_special_tokens": false,
|
156 |
+
"tokenizer_class": "LlamaTokenizer",
|
157 |
+
"unk_token": "<unk>",
|
158 |
+
"use_default_system_prompt": true
|
159 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d816fddfc80cbc329a9ffdab57a0d475d9936baeb166689e5b43e16966687662
|
3 |
+
size 6776
|