End of training
Browse files- README.md +196 -0
- adapter_config.json +34 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- config.json +32 -0
- merges.txt +0 -0
- special_tokens_map.json +34 -0
- tokenizer.json +0 -0
- tokenizer_config.json +155 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: unsloth/SmolLM-360M-Instruct
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
model-index:
|
| 9 |
+
- name: 259316b6-6986-4175-8219-8f68b1d78bf7
|
| 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/SmolLM-360M-Instruct
|
| 23 |
+
bf16: auto
|
| 24 |
+
chat_template: llama3
|
| 25 |
+
dataset_prepared_path: null
|
| 26 |
+
datasets:
|
| 27 |
+
- data_files:
|
| 28 |
+
- 5de0a6225b35e6a6_train_data.json
|
| 29 |
+
ds_type: json
|
| 30 |
+
format: custom
|
| 31 |
+
path: /workspace/input_data/5de0a6225b35e6a6_train_data.json
|
| 32 |
+
type:
|
| 33 |
+
field_instruction: question
|
| 34 |
+
field_output: best
|
| 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: 2
|
| 44 |
+
eval_batch_size: 4
|
| 45 |
+
eval_max_new_tokens: 128
|
| 46 |
+
eval_steps: 500
|
| 47 |
+
eval_table_size: null
|
| 48 |
+
evals_per_epoch: null
|
| 49 |
+
flash_attention: true
|
| 50 |
+
fp16: false
|
| 51 |
+
fsdp: null
|
| 52 |
+
fsdp_config: null
|
| 53 |
+
gradient_accumulation_steps: 4
|
| 54 |
+
gradient_checkpointing: false
|
| 55 |
+
group_by_length: true
|
| 56 |
+
hub_model_id: JacksonBrune/259316b6-6986-4175-8219-8f68b1d78bf7
|
| 57 |
+
hub_strategy: end
|
| 58 |
+
learning_rate: 0.0002
|
| 59 |
+
load_in_4bit: false
|
| 60 |
+
load_in_8bit: false
|
| 61 |
+
local_rank: null
|
| 62 |
+
logging_steps: 50
|
| 63 |
+
lora_alpha: 64
|
| 64 |
+
lora_dropout: 0.05
|
| 65 |
+
lora_fan_in_fan_out: null
|
| 66 |
+
lora_model_dir: null
|
| 67 |
+
lora_r: 32
|
| 68 |
+
lora_target_linear: true
|
| 69 |
+
lr_scheduler: constant
|
| 70 |
+
max_grad_norm: 1.0
|
| 71 |
+
max_memory:
|
| 72 |
+
0: 75GB
|
| 73 |
+
max_steps: 20992
|
| 74 |
+
micro_batch_size: 4
|
| 75 |
+
mlflow_experiment_name: /tmp/5de0a6225b35e6a6_train_data.json
|
| 76 |
+
model_type: AutoModelForCausalLM
|
| 77 |
+
num_epochs: 10
|
| 78 |
+
optim_args:
|
| 79 |
+
adam_beta1: 0.9
|
| 80 |
+
adam_beta2: 0.95
|
| 81 |
+
adam_epsilon: 1e-5
|
| 82 |
+
optimizer: adamw_bnb_8bit
|
| 83 |
+
output_dir: miner_id_24
|
| 84 |
+
pad_to_sequence_len: true
|
| 85 |
+
resume_from_checkpoint: null
|
| 86 |
+
s2_attention: null
|
| 87 |
+
sample_packing: false
|
| 88 |
+
save_steps: 500
|
| 89 |
+
saves_per_epoch: null
|
| 90 |
+
sequence_len: 512
|
| 91 |
+
strict: false
|
| 92 |
+
tf32: true
|
| 93 |
+
tokenizer_type: AutoTokenizer
|
| 94 |
+
train_on_inputs: false
|
| 95 |
+
trust_remote_code: true
|
| 96 |
+
val_set_size: 0.05
|
| 97 |
+
wandb_entity: null
|
| 98 |
+
wandb_mode: online
|
| 99 |
+
wandb_name: 73d9f17e-ac33-4e46-b978-209d9af86655
|
| 100 |
+
wandb_project: SN56-18
|
| 101 |
+
wandb_run: your_name
|
| 102 |
+
wandb_runid: 73d9f17e-ac33-4e46-b978-209d9af86655
|
| 103 |
+
warmup_steps: 50
|
| 104 |
+
weight_decay: 0.0
|
| 105 |
+
xformers_attention: null
|
| 106 |
+
|
| 107 |
+
```
|
| 108 |
+
|
| 109 |
+
</details><br>
|
| 110 |
+
|
| 111 |
+
# 259316b6-6986-4175-8219-8f68b1d78bf7
|
| 112 |
+
|
| 113 |
+
This model is a fine-tuned version of [unsloth/SmolLM-360M-Instruct](https://huggingface.co/unsloth/SmolLM-360M-Instruct) on the None dataset.
|
| 114 |
+
It achieves the following results on the evaluation set:
|
| 115 |
+
- Loss: 1.6228
|
| 116 |
+
|
| 117 |
+
## Model description
|
| 118 |
+
|
| 119 |
+
More information needed
|
| 120 |
+
|
| 121 |
+
## Intended uses & limitations
|
| 122 |
+
|
| 123 |
+
More information needed
|
| 124 |
+
|
| 125 |
+
## Training and evaluation data
|
| 126 |
+
|
| 127 |
+
More information needed
|
| 128 |
+
|
| 129 |
+
## Training procedure
|
| 130 |
+
|
| 131 |
+
### Training hyperparameters
|
| 132 |
+
|
| 133 |
+
The following hyperparameters were used during training:
|
| 134 |
+
- learning_rate: 0.0002
|
| 135 |
+
- train_batch_size: 4
|
| 136 |
+
- eval_batch_size: 4
|
| 137 |
+
- seed: 42
|
| 138 |
+
- gradient_accumulation_steps: 4
|
| 139 |
+
- total_train_batch_size: 16
|
| 140 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
|
| 141 |
+
- lr_scheduler_type: constant
|
| 142 |
+
- lr_scheduler_warmup_steps: 50
|
| 143 |
+
- training_steps: 20992
|
| 144 |
+
|
| 145 |
+
### Training results
|
| 146 |
+
|
| 147 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 148 |
+
|:-------------:|:------:|:-----:|:---------------:|
|
| 149 |
+
| No log | 0.0002 | 1 | 2.3028 |
|
| 150 |
+
| 1.8555 | 0.0829 | 500 | 1.8779 |
|
| 151 |
+
| 1.8119 | 0.1658 | 1000 | 1.8287 |
|
| 152 |
+
| 1.8075 | 0.2488 | 1500 | 1.7988 |
|
| 153 |
+
| 1.794 | 0.3317 | 2000 | 1.7778 |
|
| 154 |
+
| 1.7426 | 0.4146 | 2500 | 1.7549 |
|
| 155 |
+
| 1.76 | 0.4975 | 3000 | 1.7473 |
|
| 156 |
+
| 1.7235 | 0.5804 | 3500 | 1.7252 |
|
| 157 |
+
| 1.7018 | 0.6633 | 4000 | 1.7179 |
|
| 158 |
+
| 1.7123 | 0.7463 | 4500 | 1.7043 |
|
| 159 |
+
| 1.703 | 0.8292 | 5000 | 1.6955 |
|
| 160 |
+
| 1.7163 | 0.9121 | 5500 | 1.6859 |
|
| 161 |
+
| 1.685 | 0.9950 | 6000 | 1.6784 |
|
| 162 |
+
| 1.6316 | 1.0779 | 6500 | 1.6730 |
|
| 163 |
+
| 1.5982 | 1.1609 | 7000 | 1.6682 |
|
| 164 |
+
| 1.616 | 1.2438 | 7500 | 1.6646 |
|
| 165 |
+
| 1.629 | 1.3267 | 8000 | 1.6584 |
|
| 166 |
+
| 1.6257 | 1.4096 | 8500 | 1.6508 |
|
| 167 |
+
| 1.6046 | 1.4925 | 9000 | 1.6463 |
|
| 168 |
+
| 1.5908 | 1.5755 | 9500 | 1.6412 |
|
| 169 |
+
| 1.6288 | 1.6584 | 10000 | 1.6372 |
|
| 170 |
+
| 1.5991 | 1.7413 | 10500 | 1.6324 |
|
| 171 |
+
| 1.6173 | 1.8242 | 11000 | 1.6308 |
|
| 172 |
+
| 1.6019 | 1.9071 | 11500 | 1.6222 |
|
| 173 |
+
| 1.6029 | 1.9900 | 12000 | 1.6239 |
|
| 174 |
+
| 1.5459 | 2.0730 | 12500 | 1.6161 |
|
| 175 |
+
| 1.5396 | 2.1559 | 13000 | 1.6178 |
|
| 176 |
+
| 1.5109 | 2.2388 | 13500 | 1.6154 |
|
| 177 |
+
| 1.5399 | 2.3217 | 14000 | 1.6139 |
|
| 178 |
+
| 1.5253 | 2.4046 | 14500 | 1.6105 |
|
| 179 |
+
| 1.5079 | 2.4876 | 15000 | 1.6055 |
|
| 180 |
+
| 1.5486 | 2.5705 | 15500 | 1.6048 |
|
| 181 |
+
| 1.5415 | 2.6534 | 16000 | 1.5985 |
|
| 182 |
+
| 1.5434 | 2.7363 | 16500 | 1.5957 |
|
| 183 |
+
| 1.5242 | 2.8192 | 17000 | 1.5933 |
|
| 184 |
+
| 1.515 | 2.9022 | 17500 | 1.5911 |
|
| 185 |
+
| 1.5353 | 2.9851 | 18000 | 1.5896 |
|
| 186 |
+
| 1.4758 | 3.0680 | 18500 | 1.6168 |
|
| 187 |
+
| 1.4531 | 3.1509 | 19000 | 1.6228 |
|
| 188 |
+
|
| 189 |
+
|
| 190 |
+
### Framework versions
|
| 191 |
+
|
| 192 |
+
- PEFT 0.13.2
|
| 193 |
+
- Transformers 4.46.0
|
| 194 |
+
- Pytorch 2.5.0+cu124
|
| 195 |
+
- Datasets 3.0.1
|
| 196 |
+
- 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/SmolLM-360M-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.05,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 32,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"gate_proj",
|
| 24 |
+
"q_proj",
|
| 25 |
+
"down_proj",
|
| 26 |
+
"up_proj",
|
| 27 |
+
"k_proj",
|
| 28 |
+
"o_proj",
|
| 29 |
+
"v_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:f0fb66f0b5b108dd2839ad17cf913b57cd8f8fc499472912e7dbf2f2f6eac1fa
|
| 3 |
+
size 69629450
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:163ff63ea232e5554ef184a41c0a274121df8d5041e140d4d6ff96fc1d92fc67
|
| 3 |
+
size 69527352
|
config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 3 |
+
"_name_or_path": "unsloth/SmolLM-360M-Instruct",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"LlamaForCausalLM"
|
| 6 |
+
],
|
| 7 |
+
"attention_bias": false,
|
| 8 |
+
"attention_dropout": 0.0,
|
| 9 |
+
"bos_token_id": 1,
|
| 10 |
+
"eos_token_id": 2,
|
| 11 |
+
"head_dim": 64,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"hidden_size": 960,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 2560,
|
| 16 |
+
"max_position_embeddings": 2048,
|
| 17 |
+
"mlp_bias": false,
|
| 18 |
+
"model_type": "llama",
|
| 19 |
+
"num_attention_heads": 15,
|
| 20 |
+
"num_hidden_layers": 32,
|
| 21 |
+
"num_key_value_heads": 5,
|
| 22 |
+
"pad_token_id": 2,
|
| 23 |
+
"pretraining_tp": 1,
|
| 24 |
+
"rms_norm_eps": 1e-05,
|
| 25 |
+
"rope_scaling": null,
|
| 26 |
+
"rope_theta": 10000.0,
|
| 27 |
+
"tie_word_embeddings": true,
|
| 28 |
+
"torch_dtype": "bfloat16",
|
| 29 |
+
"transformers_version": "4.46.0",
|
| 30 |
+
"use_cache": false,
|
| 31 |
+
"vocab_size": 49152
|
| 32 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>"
|
| 5 |
+
],
|
| 6 |
+
"bos_token": {
|
| 7 |
+
"content": "<|im_start|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false
|
| 12 |
+
},
|
| 13 |
+
"eos_token": {
|
| 14 |
+
"content": "<|im_end|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false
|
| 19 |
+
},
|
| 20 |
+
"pad_token": {
|
| 21 |
+
"content": "<empty_output>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false
|
| 26 |
+
},
|
| 27 |
+
"unk_token": {
|
| 28 |
+
"content": "<|endoftext|>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 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_config.json
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<repo_name>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"4": {
|
| 37 |
+
"content": "<reponame>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"5": {
|
| 45 |
+
"content": "<file_sep>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"6": {
|
| 53 |
+
"content": "<filename>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"7": {
|
| 61 |
+
"content": "<gh_stars>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"8": {
|
| 69 |
+
"content": "<issue_start>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"9": {
|
| 77 |
+
"content": "<issue_comment>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"10": {
|
| 85 |
+
"content": "<issue_closed>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"11": {
|
| 93 |
+
"content": "<jupyter_start>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"12": {
|
| 101 |
+
"content": "<jupyter_text>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"13": {
|
| 109 |
+
"content": "<jupyter_code>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"14": {
|
| 117 |
+
"content": "<jupyter_output>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": true
|
| 123 |
+
},
|
| 124 |
+
"15": {
|
| 125 |
+
"content": "<jupyter_script>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": true
|
| 131 |
+
},
|
| 132 |
+
"16": {
|
| 133 |
+
"content": "<empty_output>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": true
|
| 139 |
+
}
|
| 140 |
+
},
|
| 141 |
+
"additional_special_tokens": [
|
| 142 |
+
"<|im_start|>",
|
| 143 |
+
"<|im_end|>"
|
| 144 |
+
],
|
| 145 |
+
"bos_token": "<|im_start|>",
|
| 146 |
+
"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 %}",
|
| 147 |
+
"clean_up_tokenization_spaces": false,
|
| 148 |
+
"eos_token": "<|im_end|>",
|
| 149 |
+
"model_max_length": 2048,
|
| 150 |
+
"pad_token": "<empty_output>",
|
| 151 |
+
"padding_side": "left",
|
| 152 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 153 |
+
"unk_token": "<|endoftext|>",
|
| 154 |
+
"vocab_size": 49152
|
| 155 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5170715e989aeba5361e98192102b64beec813a1a21742374109aa6a1a09c25
|
| 3 |
+
size 6776
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|