Instructions to use mavrii-dev/qwen2.5-0.5b-instruct-python-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mavrii-dev/qwen2.5-0.5b-instruct-python-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "mavrii-dev/qwen2.5-0.5b-instruct-python-lora") - Notebooks
- Google Colab
- Kaggle
Ali Munaf commited on
LoRA adapter, tokenizer, model card and evaluation results
Browse files- .gitattributes +1 -0
- README.md +129 -0
- adapter_config.json +42 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +24 -0
- chat_template.jinja +54 -0
- eval_results.json +367 -0
- loss_curve.png +0 -0
- merges.txt +0 -0
- special_tokens_map.json +31 -0
- split.json +439 -0
- tokenizer.json +3 -0
- tokenizer_config.json +207 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* 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
|
|
|
|
|
|
| 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
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-0.5B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
datasets:
|
| 6 |
+
- bernabepuente/python-instruction-dataset
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
pipeline_tag: text-generation
|
| 10 |
+
tags:
|
| 11 |
+
- lora
|
| 12 |
+
- peft
|
| 13 |
+
- sft
|
| 14 |
+
- python
|
| 15 |
+
- code
|
| 16 |
+
- qwen2
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Qwen2.5-0.5B-Instruct · Python assistant LoRA (learning project)
|
| 20 |
+
|
| 21 |
+
A LoRA adapter for [Qwen/Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct), supervised fine-tuned on the small
|
| 22 |
+
[bernabepuente/python-instruction-dataset](https://huggingface.co/datasets/bernabepuente/python-instruction-dataset) dataset to answer Python questions: writing code from instructions,
|
| 23 |
+
explaining concepts, and fixing bugs.
|
| 24 |
+
|
| 25 |
+
**This is a practical learning project, not a state-of-the-art coding model.** It's a 0.5B-parameter model trained on about 329 examples.
|
| 26 |
+
Larger coding models (e.g. Qwen2.5-Coder) will do much better. Always run and test the code it produces.
|
| 27 |
+
|
| 28 |
+
## How to use
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
from peft import AutoPeftModelForCausalLM
|
| 32 |
+
from transformers import AutoTokenizer
|
| 33 |
+
|
| 34 |
+
repo = "<this repo id>"
|
| 35 |
+
model = AutoPeftModelForCausalLM.from_pretrained(repo, torch_dtype="auto", device_map="auto")
|
| 36 |
+
tokenizer = AutoTokenizer.from_pretrained(repo)
|
| 37 |
+
|
| 38 |
+
messages = [
|
| 39 |
+
{"role": "system", "content": 'You are a helpful Python coding assistant. Write clear, correct, idiomatic Python, explain the code concisely, and point out bugs and how to fix them when asked.'},
|
| 40 |
+
{"role": "user", "content": "Write a function that removes duplicates from a list while keeping order."},
|
| 41 |
+
]
|
| 42 |
+
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
|
| 43 |
+
out = model.generate(inputs, max_new_tokens=512, do_sample=False)
|
| 44 |
+
print(tokenizer.decode(out[0, inputs.shape[1]:], skip_special_tokens=True))
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
The adapter was trained **with the system prompt above**. Use it for coding questions. Without it, the model behaves closer to the base model.
|
| 48 |
+
To merge the weights into a standalone model: `model.merge_and_unload().save_pretrained(...)`.
|
| 49 |
+
|
| 50 |
+
## Training data
|
| 51 |
+
|
| 52 |
+
* Source: `bernabepuente/python-instruction-dataset`, 462 rows. Fields used: `instruction`, optional `input` (non-empty in only 10 cleaned rows), and `output`.
|
| 53 |
+
**The `thought` field was not used.**
|
| 54 |
+
* Cleaning (421 rows kept): dropped 6 empty/very short outputs,
|
| 55 |
+
22 truncated outputs (unbalanced code fences), 13 outputs
|
| 56 |
+
whose `python` code blocks fail `ast.parse`, and 0 exact duplicates.
|
| 57 |
+
* Split (seed 42): instructions were clustered by word overlap (Jaccard ≥ 0.6) so that paraphrased questions never straddle splits, giving
|
| 58 |
+
train 329 / validation 43 / test 49 rows. The exact `row_id`s are in `split.json`.
|
| 59 |
+
* **Topic coverage is narrow** (keyword counts on cleaned instructions):
|
| 60 |
+
|
| 61 |
+
| Topic | Examples |
|
| 62 |
+
|---|---|
|
| 63 |
+
| exceptions / errors | 100 |
|
| 64 |
+
| web (FastAPI/Flask/Django) | 96 |
|
| 65 |
+
| pandas / DataFrames | 89 |
|
| 66 |
+
| logging / monitoring | 75 |
|
| 67 |
+
| Docker / deployment | 64 |
|
| 68 |
+
| async / asyncio | 2 |
|
| 69 |
+
| debugging / fixing bugs | 2 |
|
| 70 |
+
| testing | 2 |
|
| 71 |
+
| decorators | 1 |
|
| 72 |
+
| type hints | 0 |
|
| 73 |
+
|
| 74 |
+
Async, decorators, type hints and debugging are barely represented, so the fine-tune can't have learned much about them from this data.
|
| 75 |
+
The reference answers were **not** verified for correctness beyond the Python syntax check. The dataset declares **no license**.
|
| 76 |
+
Check its terms before reusing this adapter commercially.
|
| 77 |
+
|
| 78 |
+
## Training procedure
|
| 79 |
+
|
| 80 |
+
LoRA (r=16, alpha=32, dropout=0.05) on all attention and MLP projections. Loss only on assistant tokens.
|
| 81 |
+
lr 0.0001 (cosine, warmup 0.05), effective batch
|
| 82 |
+
16, up to 3 epochs with early stopping on validation loss
|
| 83 |
+
(best checkpoint kept: eval loss 1.4719 after 63 steps).
|
| 84 |
+
Max length 1536 tokens, fp16 mixed precision on Tesla T4, 3.0 min.
|
| 85 |
+
Software: torch 2.11.0+cu130, transformers 4.57.1, peft 0.17.1, datasets 4.8.5.
|
| 86 |
+
|
| 87 |
+

|
| 88 |
+
|
| 89 |
+
## Evaluation
|
| 90 |
+
|
| 91 |
+
Base = the same model with the adapter disabled. Greedy decoding, same prompts. Full details are in `eval_results.json`.
|
| 92 |
+
|
| 93 |
+
| Metric | Base | Fine-tuned |
|
| 94 |
+
|---|---|---|
|
| 95 |
+
| Test loss on reference answers ↓ | 1.302 | 1.109 |
|
| 96 |
+
| Test perplexity ↓ | 3.68 | 3.03 |
|
| 97 |
+
| ROUGE-L F1 vs reference ↑ | 0.158 | 0.369 |
|
| 98 |
+
| Generated `python` blocks that parse ↑ | 100.0% | 100.0% |
|
| 99 |
+
| Answers finished within token limit ↑ | 14.3% | 95.9% |
|
| 100 |
+
| Mean answer length (chars) | 2089 | 447 |
|
| 101 |
+
| **Executable benchmark (pass@1, greedy)** ↑ | 9/16 | 8/16 |
|
| 102 |
+
| type hints | 0/2 | 2/2 |
|
| 103 |
+
| decorators | 2/2 | 0/2 |
|
| 104 |
+
| async | 0/2 | 1/2 |
|
| 105 |
+
| pandas | 2/3 | 2/3 |
|
| 106 |
+
| exceptions | 2/2 | 1/2 |
|
| 107 |
+
| debugging | 1/3 | 0/3 |
|
| 108 |
+
| basics | 2/2 | 2/2 |
|
| 109 |
+
| General probes, auto-checks ↑ | 4/4 | 3/4 |
|
| 110 |
+
|
| 111 |
+
* **Test loss / ROUGE-L** use the 49 held-out dataset questions. They measure how closely the model matches the dataset's answers and style, *not* whether the code is correct.
|
| 112 |
+
The test questions come from the same narrow topics as training, so they're in-distribution.
|
| 113 |
+
* **Executable benchmark**: 16 small hand-written tasks with unit tests (type hints, decorators, async, pandas, exceptions, debugging, basics).
|
| 114 |
+
Each task is worth 6.2 points, so a difference of 1–2 tasks is within noise. This is *not* HumanEval/MBPP.
|
| 115 |
+
For a standard number, run e.g. [EvalPlus](https://github.com/evalplus/evalplus) on both models.
|
| 116 |
+
* **General probes**: 6 everyday questions without the coding system prompt, used to spot obvious damage to general chat ability. That's a smoke test, not a benchmark.
|
| 117 |
+
|
| 118 |
+
## Limitations
|
| 119 |
+
|
| 120 |
+
* **Tiny, narrow dataset.** About 329 training examples, concentrated on Docker, pandas, exceptions, logging and web frameworks. Expect little or no improvement on other topics.
|
| 121 |
+
* **Small model.** 0.5B parameters. It makes logic errors, invents APIs and package options, and can write code that looks right but isn't. Review and test everything.
|
| 122 |
+
* **Unverified references.** The training answers come from a public dataset that wasn't checked for correctness or security. The model may reproduce its mistakes,
|
| 123 |
+
e.g. outdated Dockerfile practices.
|
| 124 |
+
* **Limited evaluation.** The small test set, a 16-task hand-written benchmark and 6 general probes can't capture regressions on other skills or languages.
|
| 125 |
+
* English only. No additional safety tuning beyond what the base model has.
|
| 126 |
+
|
| 127 |
+
## Reproducibility
|
| 128 |
+
|
| 129 |
+
The notebook that produced this adapter fixes seed 42, records library versions, and saves the data split (`split.json`) and every metric (`eval_results.json`).
|
adapter_config.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-0.5B-Instruct",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 32,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0.05,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"qalora_group_size": 16,
|
| 24 |
+
"r": 16,
|
| 25 |
+
"rank_pattern": {},
|
| 26 |
+
"revision": null,
|
| 27 |
+
"target_modules": [
|
| 28 |
+
"down_proj",
|
| 29 |
+
"gate_proj",
|
| 30 |
+
"q_proj",
|
| 31 |
+
"v_proj",
|
| 32 |
+
"up_proj",
|
| 33 |
+
"k_proj",
|
| 34 |
+
"o_proj"
|
| 35 |
+
],
|
| 36 |
+
"target_parameters": null,
|
| 37 |
+
"task_type": "CAUSAL_LM",
|
| 38 |
+
"trainable_token_indices": null,
|
| 39 |
+
"use_dora": false,
|
| 40 |
+
"use_qalora": false,
|
| 41 |
+
"use_rslora": false
|
| 42 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d434c1a9b5873366c99ba3bbbe24fb7e0d1481a8b55d3ec0b49b230e2cd0903
|
| 3 |
+
size 35237104
|
added_tokens.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</tool_call>": 151658,
|
| 3 |
+
"<tool_call>": 151657,
|
| 4 |
+
"<|box_end|>": 151649,
|
| 5 |
+
"<|box_start|>": 151648,
|
| 6 |
+
"<|endoftext|>": 151643,
|
| 7 |
+
"<|file_sep|>": 151664,
|
| 8 |
+
"<|fim_middle|>": 151660,
|
| 9 |
+
"<|fim_pad|>": 151662,
|
| 10 |
+
"<|fim_prefix|>": 151659,
|
| 11 |
+
"<|fim_suffix|>": 151661,
|
| 12 |
+
"<|im_end|>": 151645,
|
| 13 |
+
"<|im_start|>": 151644,
|
| 14 |
+
"<|image_pad|>": 151655,
|
| 15 |
+
"<|object_ref_end|>": 151647,
|
| 16 |
+
"<|object_ref_start|>": 151646,
|
| 17 |
+
"<|quad_end|>": 151651,
|
| 18 |
+
"<|quad_start|>": 151650,
|
| 19 |
+
"<|repo_name|>": 151663,
|
| 20 |
+
"<|video_pad|>": 151656,
|
| 21 |
+
"<|vision_end|>": 151653,
|
| 22 |
+
"<|vision_pad|>": 151654,
|
| 23 |
+
"<|vision_start|>": 151652
|
| 24 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
eval_results.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"results": {
|
| 3 |
+
"base": {
|
| 4 |
+
"test_loss": {
|
| 5 |
+
"loss": 1.3017,
|
| 6 |
+
"perplexity": 3.676
|
| 7 |
+
},
|
| 8 |
+
"test_generation": {
|
| 9 |
+
"n_prompts": 49,
|
| 10 |
+
"rougeL_f1": 0.1579,
|
| 11 |
+
"python_blocks": 63,
|
| 12 |
+
"python_blocks_parse_rate": 1.0,
|
| 13 |
+
"finished_rate": 0.1429,
|
| 14 |
+
"mean_chars": 2089
|
| 15 |
+
},
|
| 16 |
+
"exec_benchmark": {
|
| 17 |
+
"passed": 9,
|
| 18 |
+
"total": 16,
|
| 19 |
+
"by_category": {
|
| 20 |
+
"type hints": "0/2",
|
| 21 |
+
"decorators": "2/2",
|
| 22 |
+
"async": "0/2",
|
| 23 |
+
"pandas": "2/3",
|
| 24 |
+
"exceptions": "2/2",
|
| 25 |
+
"debugging": "1/3",
|
| 26 |
+
"basics": "2/2"
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"general_probes": {
|
| 30 |
+
"auto_checks_passed": 4,
|
| 31 |
+
"auto_checks_total": 4
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
"finetuned": {
|
| 35 |
+
"test_loss": {
|
| 36 |
+
"loss": 1.1089,
|
| 37 |
+
"perplexity": 3.031
|
| 38 |
+
},
|
| 39 |
+
"test_generation": {
|
| 40 |
+
"n_prompts": 49,
|
| 41 |
+
"rougeL_f1": 0.3686,
|
| 42 |
+
"python_blocks": 1,
|
| 43 |
+
"python_blocks_parse_rate": 1.0,
|
| 44 |
+
"finished_rate": 0.9592,
|
| 45 |
+
"mean_chars": 447
|
| 46 |
+
},
|
| 47 |
+
"exec_benchmark": {
|
| 48 |
+
"passed": 8,
|
| 49 |
+
"total": 16,
|
| 50 |
+
"by_category": {
|
| 51 |
+
"type hints": "2/2",
|
| 52 |
+
"decorators": "0/2",
|
| 53 |
+
"async": "1/2",
|
| 54 |
+
"pandas": "2/3",
|
| 55 |
+
"exceptions": "1/2",
|
| 56 |
+
"debugging": "0/3",
|
| 57 |
+
"basics": "2/2"
|
| 58 |
+
}
|
| 59 |
+
},
|
| 60 |
+
"general_probes": {
|
| 61 |
+
"auto_checks_passed": 3,
|
| 62 |
+
"auto_checks_total": 4
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
},
|
| 66 |
+
"exec_benchmark_details": {
|
| 67 |
+
"base": [
|
| 68 |
+
{
|
| 69 |
+
"task": "chunk_list",
|
| 70 |
+
"category": "type hints",
|
| 71 |
+
"passed": false,
|
| 72 |
+
"syntax_ok": true,
|
| 73 |
+
"error": "ValueError: size must be at least 1"
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"task": "word_frequencies",
|
| 77 |
+
"category": "type hints",
|
| 78 |
+
"passed": false,
|
| 79 |
+
"syntax_ok": true,
|
| 80 |
+
"error": "AssertionError: Test case 3 failed"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"task": "retry",
|
| 84 |
+
"category": "decorators",
|
| 85 |
+
"passed": true,
|
| 86 |
+
"syntax_ok": true,
|
| 87 |
+
"error": ""
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"task": "count_calls",
|
| 91 |
+
"category": "decorators",
|
| 92 |
+
"passed": true,
|
| 93 |
+
"syntax_ok": true,
|
| 94 |
+
"error": ""
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"task": "fetch_all",
|
| 98 |
+
"category": "async",
|
| 99 |
+
"passed": false,
|
| 100 |
+
"syntax_ok": true,
|
| 101 |
+
"error": " +------------------------------------"
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"task": "run_with_timeout",
|
| 105 |
+
"category": "async",
|
| 106 |
+
"passed": false,
|
| 107 |
+
"syntax_ok": true,
|
| 108 |
+
"error": "TypeError: object function can't be used in 'await' expression"
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"task": "average_salary_by_department",
|
| 112 |
+
"category": "pandas",
|
| 113 |
+
"passed": true,
|
| 114 |
+
"syntax_ok": true,
|
| 115 |
+
"error": ""
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"task": "filter_adults",
|
| 119 |
+
"category": "pandas",
|
| 120 |
+
"passed": true,
|
| 121 |
+
"syntax_ok": true,
|
| 122 |
+
"error": ""
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"task": "fill_missing_scores",
|
| 126 |
+
"category": "pandas",
|
| 127 |
+
"passed": false,
|
| 128 |
+
"syntax_ok": true,
|
| 129 |
+
"error": "AssertionError"
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"task": "safe_divide",
|
| 133 |
+
"category": "exceptions",
|
| 134 |
+
"passed": true,
|
| 135 |
+
"syntax_ok": true,
|
| 136 |
+
"error": ""
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"task": "read_int_from_file",
|
| 140 |
+
"category": "exceptions",
|
| 141 |
+
"passed": true,
|
| 142 |
+
"syntax_ok": true,
|
| 143 |
+
"error": ""
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"task": "average",
|
| 147 |
+
"category": "debugging",
|
| 148 |
+
"passed": true,
|
| 149 |
+
"syntax_ok": true,
|
| 150 |
+
"error": ""
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"task": "find_max",
|
| 154 |
+
"category": "debugging",
|
| 155 |
+
"passed": false,
|
| 156 |
+
"syntax_ok": true,
|
| 157 |
+
"error": "AssertionError"
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"task": "add_item",
|
| 161 |
+
"category": "debugging",
|
| 162 |
+
"passed": false,
|
| 163 |
+
"syntax_ok": true,
|
| 164 |
+
"error": "AssertionError"
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"task": "is_palindrome",
|
| 168 |
+
"category": "basics",
|
| 169 |
+
"passed": true,
|
| 170 |
+
"syntax_ok": true,
|
| 171 |
+
"error": ""
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"task": "Point",
|
| 175 |
+
"category": "basics",
|
| 176 |
+
"passed": true,
|
| 177 |
+
"syntax_ok": true,
|
| 178 |
+
"error": ""
|
| 179 |
+
}
|
| 180 |
+
],
|
| 181 |
+
"finetuned": [
|
| 182 |
+
{
|
| 183 |
+
"task": "chunk_list",
|
| 184 |
+
"category": "type hints",
|
| 185 |
+
"passed": true,
|
| 186 |
+
"syntax_ok": true,
|
| 187 |
+
"error": ""
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"task": "word_frequencies",
|
| 191 |
+
"category": "type hints",
|
| 192 |
+
"passed": true,
|
| 193 |
+
"syntax_ok": true,
|
| 194 |
+
"error": ""
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"task": "retry",
|
| 198 |
+
"category": "decorators",
|
| 199 |
+
"passed": false,
|
| 200 |
+
"syntax_ok": false,
|
| 201 |
+
"error": "SyntaxError: f-string: expecting '=', or '!', or ':', or '}'"
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"task": "count_calls",
|
| 205 |
+
"category": "decorators",
|
| 206 |
+
"passed": false,
|
| 207 |
+
"syntax_ok": true,
|
| 208 |
+
"error": "AttributeError: 'function' object has no attribute 'calls'"
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"task": "fetch_all",
|
| 212 |
+
"category": "async",
|
| 213 |
+
"passed": true,
|
| 214 |
+
"syntax_ok": true,
|
| 215 |
+
"error": ""
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"task": "run_with_timeout",
|
| 219 |
+
"category": "async",
|
| 220 |
+
"passed": false,
|
| 221 |
+
"syntax_ok": true,
|
| 222 |
+
"error": "TimeoutError"
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"task": "average_salary_by_department",
|
| 226 |
+
"category": "pandas",
|
| 227 |
+
"passed": true,
|
| 228 |
+
"syntax_ok": true,
|
| 229 |
+
"error": ""
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"task": "filter_adults",
|
| 233 |
+
"category": "pandas",
|
| 234 |
+
"passed": true,
|
| 235 |
+
"syntax_ok": true,
|
| 236 |
+
"error": ""
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"task": "fill_missing_scores",
|
| 240 |
+
"category": "pandas",
|
| 241 |
+
"passed": false,
|
| 242 |
+
"syntax_ok": true,
|
| 243 |
+
"error": "AssertionError"
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"task": "safe_divide",
|
| 247 |
+
"category": "exceptions",
|
| 248 |
+
"passed": true,
|
| 249 |
+
"syntax_ok": true,
|
| 250 |
+
"error": ""
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"task": "read_int_from_file",
|
| 254 |
+
"category": "exceptions",
|
| 255 |
+
"passed": false,
|
| 256 |
+
"syntax_ok": true,
|
| 257 |
+
"error": "ValueError: invalid literal for int() with base 10: 'abc'"
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"task": "average",
|
| 261 |
+
"category": "debugging",
|
| 262 |
+
"passed": false,
|
| 263 |
+
"syntax_ok": false,
|
| 264 |
+
"error": "SyntaxError: invalid syntax"
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"task": "find_max",
|
| 268 |
+
"category": "debugging",
|
| 269 |
+
"passed": false,
|
| 270 |
+
"syntax_ok": false,
|
| 271 |
+
"error": "SyntaxError: invalid syntax"
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"task": "add_item",
|
| 275 |
+
"category": "debugging",
|
| 276 |
+
"passed": false,
|
| 277 |
+
"syntax_ok": false,
|
| 278 |
+
"error": "SyntaxError: invalid syntax"
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"task": "is_palindrome",
|
| 282 |
+
"category": "basics",
|
| 283 |
+
"passed": true,
|
| 284 |
+
"syntax_ok": true,
|
| 285 |
+
"error": ""
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"task": "Point",
|
| 289 |
+
"category": "basics",
|
| 290 |
+
"passed": true,
|
| 291 |
+
"syntax_ok": true,
|
| 292 |
+
"error": ""
|
| 293 |
+
}
|
| 294 |
+
]
|
| 295 |
+
},
|
| 296 |
+
"clean_stats": {
|
| 297 |
+
"dropped_unbalanced_fence": 22,
|
| 298 |
+
"repaired_stray_brace": 1,
|
| 299 |
+
"dropped_empty_or_short": 6,
|
| 300 |
+
"dropped_python_syntax_error": 13,
|
| 301 |
+
"raw_rows": 462,
|
| 302 |
+
"clean_rows": 421,
|
| 303 |
+
"rows_with_input": 10,
|
| 304 |
+
"rows_with_python_block": 39
|
| 305 |
+
},
|
| 306 |
+
"topic_counts": {
|
| 307 |
+
"async / asyncio": 2,
|
| 308 |
+
"decorators": 1,
|
| 309 |
+
"type hints": 0,
|
| 310 |
+
"debugging / fixing bugs": 2,
|
| 311 |
+
"pandas / DataFrames": 89,
|
| 312 |
+
"exceptions / errors": 100,
|
| 313 |
+
"logging / monitoring": 75,
|
| 314 |
+
"Docker / deployment": 64,
|
| 315 |
+
"web (FastAPI/Flask/Django)": 96,
|
| 316 |
+
"testing": 2
|
| 317 |
+
},
|
| 318 |
+
"split": {
|
| 319 |
+
"seed": 42,
|
| 320 |
+
"n_clusters": 293,
|
| 321 |
+
"sizes": {
|
| 322 |
+
"test": 49,
|
| 323 |
+
"validation": 43,
|
| 324 |
+
"train": 329
|
| 325 |
+
},
|
| 326 |
+
"method": "Jaccard>=0.6 clustering of instruction words, cluster-level shuffle split"
|
| 327 |
+
},
|
| 328 |
+
"training": {
|
| 329 |
+
"lora": {
|
| 330 |
+
"r": 16,
|
| 331 |
+
"lora_alpha": 32,
|
| 332 |
+
"lora_dropout": 0.05,
|
| 333 |
+
"target_modules": [
|
| 334 |
+
"q_proj",
|
| 335 |
+
"k_proj",
|
| 336 |
+
"v_proj",
|
| 337 |
+
"o_proj",
|
| 338 |
+
"gate_proj",
|
| 339 |
+
"up_proj",
|
| 340 |
+
"down_proj"
|
| 341 |
+
]
|
| 342 |
+
},
|
| 343 |
+
"num_train_epochs": 3,
|
| 344 |
+
"learning_rate": 0.0001,
|
| 345 |
+
"per_device_train_batch_size": 4,
|
| 346 |
+
"gradient_accumulation_steps": 4,
|
| 347 |
+
"warmup_ratio": 0.05,
|
| 348 |
+
"lr_scheduler_type": "cosine",
|
| 349 |
+
"weight_decay": 0.0,
|
| 350 |
+
"max_grad_norm": 1.0,
|
| 351 |
+
"eval_steps": 10,
|
| 352 |
+
"early_stopping_patience": 3,
|
| 353 |
+
"best_eval_loss": 1.4719452857971191,
|
| 354 |
+
"steps": 63,
|
| 355 |
+
"minutes": 3.0
|
| 356 |
+
},
|
| 357 |
+
"env": {
|
| 358 |
+
"python": "3.13.15",
|
| 359 |
+
"torch": "2.11.0+cu130",
|
| 360 |
+
"transformers": "4.57.1",
|
| 361 |
+
"peft": "0.17.1",
|
| 362 |
+
"datasets": "4.8.5",
|
| 363 |
+
"gpu": "Tesla T4",
|
| 364 |
+
"precision": "fp16"
|
| 365 |
+
},
|
| 366 |
+
"smoke_test": false
|
| 367 |
+
}
|
loss_curve.png
ADDED
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
split.json
ADDED
|
@@ -0,0 +1,439 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"seed": 42,
|
| 3 |
+
"n_clusters": 293,
|
| 4 |
+
"sizes": {
|
| 5 |
+
"test": 49,
|
| 6 |
+
"validation": 43,
|
| 7 |
+
"train": 329
|
| 8 |
+
},
|
| 9 |
+
"method": "Jaccard>=0.6 clustering of instruction words, cluster-level shuffle split",
|
| 10 |
+
"row_ids": {
|
| 11 |
+
"test": [
|
| 12 |
+
2,
|
| 13 |
+
9,
|
| 14 |
+
24,
|
| 15 |
+
26,
|
| 16 |
+
28,
|
| 17 |
+
33,
|
| 18 |
+
38,
|
| 19 |
+
41,
|
| 20 |
+
43,
|
| 21 |
+
47,
|
| 22 |
+
51,
|
| 23 |
+
56,
|
| 24 |
+
62,
|
| 25 |
+
67,
|
| 26 |
+
68,
|
| 27 |
+
127,
|
| 28 |
+
134,
|
| 29 |
+
138,
|
| 30 |
+
148,
|
| 31 |
+
164,
|
| 32 |
+
176,
|
| 33 |
+
179,
|
| 34 |
+
183,
|
| 35 |
+
184,
|
| 36 |
+
185,
|
| 37 |
+
189,
|
| 38 |
+
195,
|
| 39 |
+
198,
|
| 40 |
+
199,
|
| 41 |
+
216,
|
| 42 |
+
221,
|
| 43 |
+
225,
|
| 44 |
+
227,
|
| 45 |
+
241,
|
| 46 |
+
257,
|
| 47 |
+
258,
|
| 48 |
+
259,
|
| 49 |
+
304,
|
| 50 |
+
337,
|
| 51 |
+
339,
|
| 52 |
+
341,
|
| 53 |
+
347,
|
| 54 |
+
366,
|
| 55 |
+
373,
|
| 56 |
+
407,
|
| 57 |
+
416,
|
| 58 |
+
418,
|
| 59 |
+
432,
|
| 60 |
+
448
|
| 61 |
+
],
|
| 62 |
+
"validation": [
|
| 63 |
+
11,
|
| 64 |
+
46,
|
| 65 |
+
59,
|
| 66 |
+
63,
|
| 67 |
+
66,
|
| 68 |
+
72,
|
| 69 |
+
78,
|
| 70 |
+
94,
|
| 71 |
+
99,
|
| 72 |
+
112,
|
| 73 |
+
120,
|
| 74 |
+
135,
|
| 75 |
+
137,
|
| 76 |
+
143,
|
| 77 |
+
144,
|
| 78 |
+
158,
|
| 79 |
+
165,
|
| 80 |
+
174,
|
| 81 |
+
181,
|
| 82 |
+
207,
|
| 83 |
+
208,
|
| 84 |
+
209,
|
| 85 |
+
215,
|
| 86 |
+
231,
|
| 87 |
+
246,
|
| 88 |
+
268,
|
| 89 |
+
285,
|
| 90 |
+
289,
|
| 91 |
+
300,
|
| 92 |
+
327,
|
| 93 |
+
329,
|
| 94 |
+
349,
|
| 95 |
+
374,
|
| 96 |
+
377,
|
| 97 |
+
378,
|
| 98 |
+
383,
|
| 99 |
+
399,
|
| 100 |
+
405,
|
| 101 |
+
409,
|
| 102 |
+
412,
|
| 103 |
+
420,
|
| 104 |
+
430,
|
| 105 |
+
434
|
| 106 |
+
],
|
| 107 |
+
"train": [
|
| 108 |
+
1,
|
| 109 |
+
3,
|
| 110 |
+
4,
|
| 111 |
+
5,
|
| 112 |
+
6,
|
| 113 |
+
8,
|
| 114 |
+
10,
|
| 115 |
+
12,
|
| 116 |
+
13,
|
| 117 |
+
14,
|
| 118 |
+
15,
|
| 119 |
+
16,
|
| 120 |
+
17,
|
| 121 |
+
18,
|
| 122 |
+
19,
|
| 123 |
+
20,
|
| 124 |
+
21,
|
| 125 |
+
22,
|
| 126 |
+
23,
|
| 127 |
+
25,
|
| 128 |
+
27,
|
| 129 |
+
29,
|
| 130 |
+
30,
|
| 131 |
+
31,
|
| 132 |
+
32,
|
| 133 |
+
34,
|
| 134 |
+
35,
|
| 135 |
+
36,
|
| 136 |
+
39,
|
| 137 |
+
40,
|
| 138 |
+
42,
|
| 139 |
+
45,
|
| 140 |
+
48,
|
| 141 |
+
50,
|
| 142 |
+
52,
|
| 143 |
+
53,
|
| 144 |
+
54,
|
| 145 |
+
55,
|
| 146 |
+
57,
|
| 147 |
+
58,
|
| 148 |
+
60,
|
| 149 |
+
61,
|
| 150 |
+
64,
|
| 151 |
+
65,
|
| 152 |
+
69,
|
| 153 |
+
70,
|
| 154 |
+
71,
|
| 155 |
+
73,
|
| 156 |
+
74,
|
| 157 |
+
75,
|
| 158 |
+
76,
|
| 159 |
+
77,
|
| 160 |
+
79,
|
| 161 |
+
80,
|
| 162 |
+
81,
|
| 163 |
+
82,
|
| 164 |
+
83,
|
| 165 |
+
84,
|
| 166 |
+
85,
|
| 167 |
+
86,
|
| 168 |
+
87,
|
| 169 |
+
88,
|
| 170 |
+
89,
|
| 171 |
+
90,
|
| 172 |
+
91,
|
| 173 |
+
93,
|
| 174 |
+
95,
|
| 175 |
+
96,
|
| 176 |
+
97,
|
| 177 |
+
98,
|
| 178 |
+
100,
|
| 179 |
+
101,
|
| 180 |
+
102,
|
| 181 |
+
103,
|
| 182 |
+
104,
|
| 183 |
+
105,
|
| 184 |
+
106,
|
| 185 |
+
109,
|
| 186 |
+
110,
|
| 187 |
+
111,
|
| 188 |
+
113,
|
| 189 |
+
114,
|
| 190 |
+
115,
|
| 191 |
+
116,
|
| 192 |
+
118,
|
| 193 |
+
121,
|
| 194 |
+
122,
|
| 195 |
+
123,
|
| 196 |
+
124,
|
| 197 |
+
126,
|
| 198 |
+
130,
|
| 199 |
+
131,
|
| 200 |
+
132,
|
| 201 |
+
133,
|
| 202 |
+
136,
|
| 203 |
+
139,
|
| 204 |
+
140,
|
| 205 |
+
142,
|
| 206 |
+
145,
|
| 207 |
+
146,
|
| 208 |
+
147,
|
| 209 |
+
149,
|
| 210 |
+
150,
|
| 211 |
+
151,
|
| 212 |
+
152,
|
| 213 |
+
153,
|
| 214 |
+
154,
|
| 215 |
+
155,
|
| 216 |
+
159,
|
| 217 |
+
160,
|
| 218 |
+
162,
|
| 219 |
+
163,
|
| 220 |
+
166,
|
| 221 |
+
167,
|
| 222 |
+
168,
|
| 223 |
+
169,
|
| 224 |
+
170,
|
| 225 |
+
171,
|
| 226 |
+
172,
|
| 227 |
+
173,
|
| 228 |
+
175,
|
| 229 |
+
177,
|
| 230 |
+
180,
|
| 231 |
+
182,
|
| 232 |
+
187,
|
| 233 |
+
188,
|
| 234 |
+
190,
|
| 235 |
+
191,
|
| 236 |
+
192,
|
| 237 |
+
193,
|
| 238 |
+
194,
|
| 239 |
+
196,
|
| 240 |
+
197,
|
| 241 |
+
200,
|
| 242 |
+
201,
|
| 243 |
+
202,
|
| 244 |
+
203,
|
| 245 |
+
204,
|
| 246 |
+
205,
|
| 247 |
+
206,
|
| 248 |
+
210,
|
| 249 |
+
211,
|
| 250 |
+
212,
|
| 251 |
+
213,
|
| 252 |
+
214,
|
| 253 |
+
217,
|
| 254 |
+
218,
|
| 255 |
+
219,
|
| 256 |
+
220,
|
| 257 |
+
222,
|
| 258 |
+
223,
|
| 259 |
+
224,
|
| 260 |
+
226,
|
| 261 |
+
228,
|
| 262 |
+
229,
|
| 263 |
+
230,
|
| 264 |
+
232,
|
| 265 |
+
234,
|
| 266 |
+
235,
|
| 267 |
+
237,
|
| 268 |
+
239,
|
| 269 |
+
240,
|
| 270 |
+
242,
|
| 271 |
+
243,
|
| 272 |
+
245,
|
| 273 |
+
247,
|
| 274 |
+
248,
|
| 275 |
+
249,
|
| 276 |
+
250,
|
| 277 |
+
251,
|
| 278 |
+
252,
|
| 279 |
+
253,
|
| 280 |
+
254,
|
| 281 |
+
255,
|
| 282 |
+
256,
|
| 283 |
+
260,
|
| 284 |
+
261,
|
| 285 |
+
262,
|
| 286 |
+
263,
|
| 287 |
+
264,
|
| 288 |
+
265,
|
| 289 |
+
266,
|
| 290 |
+
267,
|
| 291 |
+
269,
|
| 292 |
+
270,
|
| 293 |
+
271,
|
| 294 |
+
272,
|
| 295 |
+
273,
|
| 296 |
+
274,
|
| 297 |
+
275,
|
| 298 |
+
276,
|
| 299 |
+
277,
|
| 300 |
+
278,
|
| 301 |
+
279,
|
| 302 |
+
280,
|
| 303 |
+
281,
|
| 304 |
+
283,
|
| 305 |
+
284,
|
| 306 |
+
286,
|
| 307 |
+
287,
|
| 308 |
+
288,
|
| 309 |
+
290,
|
| 310 |
+
291,
|
| 311 |
+
292,
|
| 312 |
+
293,
|
| 313 |
+
294,
|
| 314 |
+
295,
|
| 315 |
+
296,
|
| 316 |
+
297,
|
| 317 |
+
298,
|
| 318 |
+
299,
|
| 319 |
+
301,
|
| 320 |
+
302,
|
| 321 |
+
303,
|
| 322 |
+
305,
|
| 323 |
+
306,
|
| 324 |
+
307,
|
| 325 |
+
308,
|
| 326 |
+
310,
|
| 327 |
+
313,
|
| 328 |
+
314,
|
| 329 |
+
316,
|
| 330 |
+
318,
|
| 331 |
+
320,
|
| 332 |
+
321,
|
| 333 |
+
322,
|
| 334 |
+
323,
|
| 335 |
+
324,
|
| 336 |
+
325,
|
| 337 |
+
326,
|
| 338 |
+
328,
|
| 339 |
+
330,
|
| 340 |
+
331,
|
| 341 |
+
332,
|
| 342 |
+
333,
|
| 343 |
+
336,
|
| 344 |
+
338,
|
| 345 |
+
340,
|
| 346 |
+
342,
|
| 347 |
+
343,
|
| 348 |
+
344,
|
| 349 |
+
345,
|
| 350 |
+
346,
|
| 351 |
+
348,
|
| 352 |
+
350,
|
| 353 |
+
351,
|
| 354 |
+
352,
|
| 355 |
+
354,
|
| 356 |
+
355,
|
| 357 |
+
356,
|
| 358 |
+
359,
|
| 359 |
+
360,
|
| 360 |
+
362,
|
| 361 |
+
363,
|
| 362 |
+
364,
|
| 363 |
+
365,
|
| 364 |
+
367,
|
| 365 |
+
368,
|
| 366 |
+
369,
|
| 367 |
+
370,
|
| 368 |
+
371,
|
| 369 |
+
372,
|
| 370 |
+
376,
|
| 371 |
+
379,
|
| 372 |
+
380,
|
| 373 |
+
382,
|
| 374 |
+
384,
|
| 375 |
+
385,
|
| 376 |
+
386,
|
| 377 |
+
387,
|
| 378 |
+
388,
|
| 379 |
+
389,
|
| 380 |
+
390,
|
| 381 |
+
391,
|
| 382 |
+
392,
|
| 383 |
+
393,
|
| 384 |
+
394,
|
| 385 |
+
395,
|
| 386 |
+
397,
|
| 387 |
+
398,
|
| 388 |
+
400,
|
| 389 |
+
401,
|
| 390 |
+
403,
|
| 391 |
+
404,
|
| 392 |
+
406,
|
| 393 |
+
408,
|
| 394 |
+
410,
|
| 395 |
+
411,
|
| 396 |
+
413,
|
| 397 |
+
414,
|
| 398 |
+
415,
|
| 399 |
+
417,
|
| 400 |
+
419,
|
| 401 |
+
421,
|
| 402 |
+
422,
|
| 403 |
+
424,
|
| 404 |
+
425,
|
| 405 |
+
426,
|
| 406 |
+
427,
|
| 407 |
+
428,
|
| 408 |
+
429,
|
| 409 |
+
431,
|
| 410 |
+
433,
|
| 411 |
+
435,
|
| 412 |
+
436,
|
| 413 |
+
437,
|
| 414 |
+
438,
|
| 415 |
+
439,
|
| 416 |
+
440,
|
| 417 |
+
441,
|
| 418 |
+
442,
|
| 419 |
+
443,
|
| 420 |
+
444,
|
| 421 |
+
445,
|
| 422 |
+
446,
|
| 423 |
+
447,
|
| 424 |
+
449,
|
| 425 |
+
450,
|
| 426 |
+
451,
|
| 427 |
+
452,
|
| 428 |
+
453,
|
| 429 |
+
454,
|
| 430 |
+
455,
|
| 431 |
+
456,
|
| 432 |
+
457,
|
| 433 |
+
458,
|
| 434 |
+
459,
|
| 435 |
+
460,
|
| 436 |
+
461
|
| 437 |
+
]
|
| 438 |
+
}
|
| 439 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5eee858c5123a4279c3e1f7b81247343f356ac767940b2692a928ad929543214
|
| 3 |
+
size 11422063
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
}
|
| 181 |
+
},
|
| 182 |
+
"additional_special_tokens": [
|
| 183 |
+
"<|im_start|>",
|
| 184 |
+
"<|im_end|>",
|
| 185 |
+
"<|object_ref_start|>",
|
| 186 |
+
"<|object_ref_end|>",
|
| 187 |
+
"<|box_start|>",
|
| 188 |
+
"<|box_end|>",
|
| 189 |
+
"<|quad_start|>",
|
| 190 |
+
"<|quad_end|>",
|
| 191 |
+
"<|vision_start|>",
|
| 192 |
+
"<|vision_end|>",
|
| 193 |
+
"<|vision_pad|>",
|
| 194 |
+
"<|image_pad|>",
|
| 195 |
+
"<|video_pad|>"
|
| 196 |
+
],
|
| 197 |
+
"bos_token": null,
|
| 198 |
+
"clean_up_tokenization_spaces": false,
|
| 199 |
+
"eos_token": "<|im_end|>",
|
| 200 |
+
"errors": "replace",
|
| 201 |
+
"extra_special_tokens": {},
|
| 202 |
+
"model_max_length": 131072,
|
| 203 |
+
"pad_token": "<|endoftext|>",
|
| 204 |
+
"split_special_tokens": false,
|
| 205 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 206 |
+
"unk_token": null
|
| 207 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|