Text Generation
PEFT
Safetensors
code
code-review
security
qwen2.5-coder
lora
bad-theory-labs
conversational
Instructions to use affableiq/btl-2-coder-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use affableiq/btl-2-coder-7B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-coder-7b-instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "affableiq/btl-2-coder-7B") - Notebooks
- Google Colab
- Kaggle
Release btl-2-coder-7B api4k-template1k LoRA adapter
Browse files- .gitattributes +1 -0
- README.md +98 -0
- SHA256SUMS +8 -0
- adapter_config.json +52 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +54 -0
- tokenizer.json +3 -0
- tokenizer_config.json +202 -0
- training_args.bin +3 -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,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: unsloth/Qwen2.5-Coder-7B-Instruct
|
| 4 |
+
library_name: peft
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
+
tags:
|
| 7 |
+
- code
|
| 8 |
+
- code-review
|
| 9 |
+
- security
|
| 10 |
+
- qwen2.5-coder
|
| 11 |
+
- lora
|
| 12 |
+
- bad-theory-labs
|
| 13 |
+
model_name: btl-2-coder-7B
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# BTL-2 Coder 7B
|
| 17 |
+
|
| 18 |
+
BTL-2 Coder 7B is a LoRA adapter for `unsloth/Qwen2.5-Coder-7B-Instruct`, trained for structured code-review findings.
|
| 19 |
+
|
| 20 |
+
## Intended Use
|
| 21 |
+
|
| 22 |
+
Use this model for local-first code review:
|
| 23 |
+
|
| 24 |
+
- SQL injection
|
| 25 |
+
- path traversal
|
| 26 |
+
- authorization bypass
|
| 27 |
+
- missing error handling
|
| 28 |
+
- boundary/off-by-one logic
|
| 29 |
+
- related security and correctness bugs
|
| 30 |
+
|
| 31 |
+
It is not yet a general autonomous coding agent and should not be marketed as a SWE-Bench repair model.
|
| 32 |
+
|
| 33 |
+
## Training
|
| 34 |
+
|
| 35 |
+
- Base: `unsloth/Qwen2.5-Coder-7B-Instruct`
|
| 36 |
+
- Trainer: Unsloth LoRA SFT
|
| 37 |
+
- Data: `4,000` API teacher traces + `1,000` template traces
|
| 38 |
+
- Split: `4,500` train / `500` eval
|
| 39 |
+
- Epochs: `2`
|
| 40 |
+
- Max length: `4096`
|
| 41 |
+
|
| 42 |
+
Only redacted, opt-in traces should be used for future training.
|
| 43 |
+
|
| 44 |
+
## Prompt
|
| 45 |
+
|
| 46 |
+
Use strict schema prompting:
|
| 47 |
+
|
| 48 |
+
```text
|
| 49 |
+
Return only a JSON array. No markdown and no wrapper object.
|
| 50 |
+
Each finding must include: severity, file, line, title, evidence, recommendation, confidence.
|
| 51 |
+
severity must be exactly one of: critical, high, medium, low.
|
| 52 |
+
Never put a category in severity.
|
| 53 |
+
confidence must be a number from 0 to 1, never a string label.
|
| 54 |
+
Every finding must include concrete evidence and a non-empty recommendation.
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
Example output:
|
| 58 |
+
|
| 59 |
+
```json
|
| 60 |
+
[
|
| 61 |
+
{
|
| 62 |
+
"severity": "critical",
|
| 63 |
+
"file": "src/users.ts",
|
| 64 |
+
"line": 42,
|
| 65 |
+
"title": "SQL injection through string-built query",
|
| 66 |
+
"evidence": "The user id is concatenated directly into the SQL string.",
|
| 67 |
+
"recommendation": "Use a parameterized query.",
|
| 68 |
+
"confidence": 0.96
|
| 69 |
+
}
|
| 70 |
+
]
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## Evaluation
|
| 74 |
+
|
| 75 |
+
| Eval | JSON parse | Schema valid | Numeric confidence | Category hit | File hit | Precision | Recall | Weighted severity recall |
|
| 76 |
+
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
|
| 77 |
+
| Heldout 100 strict | 1.000 | 0.952 | 1.000 | 0.783 | 0.840 | - | - | - |
|
| 78 |
+
| Heldout 30 strict v2 | 1.000 | 0.975 | 1.000 | 0.867 | 0.867 | - | - | - |
|
| 79 |
+
| Seeded 15 strict | 1.000 | 1.000 | 1.000 | 0.933 | 1.000 | 0.933 | 0.933 | 0.956 |
|
| 80 |
+
|
| 81 |
+
## Limitations
|
| 82 |
+
|
| 83 |
+
- Strict schema prompting is required for best results.
|
| 84 |
+
- The model may miss subtle multi-file issues.
|
| 85 |
+
- The model can produce plausible but incorrect findings; keep human review in the loop.
|
| 86 |
+
- Do not use on private repositories unless you control the inference environment and data policy.
|
| 87 |
+
|
| 88 |
+
## Release Artifacts
|
| 89 |
+
|
| 90 |
+
This Hugging Face repo should include:
|
| 91 |
+
|
| 92 |
+
- `adapter_model.safetensors`
|
| 93 |
+
- `adapter_config.json`
|
| 94 |
+
- `tokenizer.json`
|
| 95 |
+
- `tokenizer_config.json`
|
| 96 |
+
- `chat_template.jinja`
|
| 97 |
+
- `training_args.bin`
|
| 98 |
+
- this `README.md`
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
a5d81b7fbba4f0a09ec88ca7206d2d25d9dbf141b6f236afe517b7647ea2aa5c README.md
|
| 2 |
+
74cf19bc8a8e21d384d24026ae06fcba2b0168826ae847d46dff2107cecd0e20 SHA256SUMS
|
| 3 |
+
755d5b561d039e97ad67b99c75dd1f8312d768f7f1879a120e2fcef33596e274 adapter_config.json
|
| 4 |
+
8436e2f27afe3726af40373e26bfcb2c764513ff2737067e33d3002c07098ade adapter_model.safetensors
|
| 5 |
+
cd8e9439f0570856fd70470bf8889ebd8b5d1107207f67a5efb46e342330527f chat_template.jinja
|
| 6 |
+
ea43b288542655d72d632195ab9b58ca2cd9532c292bf6667827ce899ad196bc tokenizer.json
|
| 7 |
+
7cd38d182a09f57796af5ef7dbe15c9fa8595fdaa94c5cba9a3065f6e987b1fd tokenizer_config.json
|
| 8 |
+
5811e0147d545faafa9083e10f21552c17b4e3ae375a37b3c8acd79751833548 training_args.bin
|
adapter_config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "Qwen2ForCausalLM",
|
| 7 |
+
"parent_library": "transformers.models.qwen2.modeling_qwen2",
|
| 8 |
+
"unsloth_fixed": true
|
| 9 |
+
},
|
| 10 |
+
"base_model_name_or_path": "unsloth/qwen2.5-coder-7b-instruct-bnb-4bit",
|
| 11 |
+
"bias": "none",
|
| 12 |
+
"corda_config": null,
|
| 13 |
+
"ensure_weight_tying": false,
|
| 14 |
+
"eva_config": null,
|
| 15 |
+
"exclude_modules": null,
|
| 16 |
+
"fan_in_fan_out": false,
|
| 17 |
+
"inference_mode": true,
|
| 18 |
+
"init_lora_weights": true,
|
| 19 |
+
"layer_replication": null,
|
| 20 |
+
"layers_pattern": null,
|
| 21 |
+
"layers_to_transform": null,
|
| 22 |
+
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 128,
|
| 24 |
+
"lora_bias": false,
|
| 25 |
+
"lora_dropout": 0,
|
| 26 |
+
"lora_ga_config": null,
|
| 27 |
+
"megatron_config": null,
|
| 28 |
+
"megatron_core": "megatron.core",
|
| 29 |
+
"modules_to_save": null,
|
| 30 |
+
"peft_type": "LORA",
|
| 31 |
+
"peft_version": "0.19.1",
|
| 32 |
+
"qalora_group_size": 16,
|
| 33 |
+
"r": 64,
|
| 34 |
+
"rank_pattern": {},
|
| 35 |
+
"revision": null,
|
| 36 |
+
"target_modules": [
|
| 37 |
+
"up_proj",
|
| 38 |
+
"q_proj",
|
| 39 |
+
"o_proj",
|
| 40 |
+
"down_proj",
|
| 41 |
+
"gate_proj",
|
| 42 |
+
"v_proj",
|
| 43 |
+
"k_proj"
|
| 44 |
+
],
|
| 45 |
+
"target_parameters": null,
|
| 46 |
+
"task_type": "CAUSAL_LM",
|
| 47 |
+
"trainable_token_indices": null,
|
| 48 |
+
"use_bdlora": null,
|
| 49 |
+
"use_dora": false,
|
| 50 |
+
"use_qalora": false,
|
| 51 |
+
"use_rslora": false
|
| 52 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8436e2f27afe3726af40373e26bfcb2c764513ff2737067e33d3002c07098ade
|
| 3 |
+
size 645975704
|
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 %}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea43b288542655d72d632195ab9b58ca2cd9532c292bf6667827ce899ad196bc
|
| 3 |
+
size 11422082
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [],
|
| 9 |
+
"is_local": false,
|
| 10 |
+
"model_max_length": 32768,
|
| 11 |
+
"pad_token": "<|PAD_TOKEN|>",
|
| 12 |
+
"padding_side": "right",
|
| 13 |
+
"split_special_tokens": false,
|
| 14 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 15 |
+
"unk_token": null,
|
| 16 |
+
"added_tokens_decoder": {
|
| 17 |
+
"151643": {
|
| 18 |
+
"content": "<|endoftext|>",
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"lstrip": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"special": true
|
| 24 |
+
},
|
| 25 |
+
"151644": {
|
| 26 |
+
"content": "<|im_start|>",
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"rstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"special": true
|
| 32 |
+
},
|
| 33 |
+
"151645": {
|
| 34 |
+
"content": "<|im_end|>",
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"lstrip": false,
|
| 37 |
+
"rstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"special": true
|
| 40 |
+
},
|
| 41 |
+
"151646": {
|
| 42 |
+
"content": "<|object_ref_start|>",
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"lstrip": false,
|
| 45 |
+
"rstrip": false,
|
| 46 |
+
"normalized": false,
|
| 47 |
+
"special": true
|
| 48 |
+
},
|
| 49 |
+
"151647": {
|
| 50 |
+
"content": "<|object_ref_end|>",
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"lstrip": false,
|
| 53 |
+
"rstrip": false,
|
| 54 |
+
"normalized": false,
|
| 55 |
+
"special": true
|
| 56 |
+
},
|
| 57 |
+
"151648": {
|
| 58 |
+
"content": "<|box_start|>",
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"lstrip": false,
|
| 61 |
+
"rstrip": false,
|
| 62 |
+
"normalized": false,
|
| 63 |
+
"special": true
|
| 64 |
+
},
|
| 65 |
+
"151649": {
|
| 66 |
+
"content": "<|box_end|>",
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"lstrip": false,
|
| 69 |
+
"rstrip": false,
|
| 70 |
+
"normalized": false,
|
| 71 |
+
"special": true
|
| 72 |
+
},
|
| 73 |
+
"151650": {
|
| 74 |
+
"content": "<|quad_start|>",
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"lstrip": false,
|
| 77 |
+
"rstrip": false,
|
| 78 |
+
"normalized": false,
|
| 79 |
+
"special": true
|
| 80 |
+
},
|
| 81 |
+
"151651": {
|
| 82 |
+
"content": "<|quad_end|>",
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"lstrip": false,
|
| 85 |
+
"rstrip": false,
|
| 86 |
+
"normalized": false,
|
| 87 |
+
"special": true
|
| 88 |
+
},
|
| 89 |
+
"151652": {
|
| 90 |
+
"content": "<|vision_start|>",
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"lstrip": false,
|
| 93 |
+
"rstrip": false,
|
| 94 |
+
"normalized": false,
|
| 95 |
+
"special": true
|
| 96 |
+
},
|
| 97 |
+
"151653": {
|
| 98 |
+
"content": "<|vision_end|>",
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"lstrip": false,
|
| 101 |
+
"rstrip": false,
|
| 102 |
+
"normalized": false,
|
| 103 |
+
"special": true
|
| 104 |
+
},
|
| 105 |
+
"151654": {
|
| 106 |
+
"content": "<|vision_pad|>",
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"lstrip": false,
|
| 109 |
+
"rstrip": false,
|
| 110 |
+
"normalized": false,
|
| 111 |
+
"special": true
|
| 112 |
+
},
|
| 113 |
+
"151655": {
|
| 114 |
+
"content": "<|image_pad|>",
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"lstrip": false,
|
| 117 |
+
"rstrip": false,
|
| 118 |
+
"normalized": false,
|
| 119 |
+
"special": true
|
| 120 |
+
},
|
| 121 |
+
"151656": {
|
| 122 |
+
"content": "<|video_pad|>",
|
| 123 |
+
"single_word": false,
|
| 124 |
+
"lstrip": false,
|
| 125 |
+
"rstrip": false,
|
| 126 |
+
"normalized": false,
|
| 127 |
+
"special": true
|
| 128 |
+
},
|
| 129 |
+
"151657": {
|
| 130 |
+
"content": "<tool_call>",
|
| 131 |
+
"single_word": false,
|
| 132 |
+
"lstrip": false,
|
| 133 |
+
"rstrip": false,
|
| 134 |
+
"normalized": false,
|
| 135 |
+
"special": false
|
| 136 |
+
},
|
| 137 |
+
"151658": {
|
| 138 |
+
"content": "</tool_call>",
|
| 139 |
+
"single_word": false,
|
| 140 |
+
"lstrip": false,
|
| 141 |
+
"rstrip": false,
|
| 142 |
+
"normalized": false,
|
| 143 |
+
"special": false
|
| 144 |
+
},
|
| 145 |
+
"151659": {
|
| 146 |
+
"content": "<|fim_prefix|>",
|
| 147 |
+
"single_word": false,
|
| 148 |
+
"lstrip": false,
|
| 149 |
+
"rstrip": false,
|
| 150 |
+
"normalized": false,
|
| 151 |
+
"special": false
|
| 152 |
+
},
|
| 153 |
+
"151660": {
|
| 154 |
+
"content": "<|fim_middle|>",
|
| 155 |
+
"single_word": false,
|
| 156 |
+
"lstrip": false,
|
| 157 |
+
"rstrip": false,
|
| 158 |
+
"normalized": false,
|
| 159 |
+
"special": false
|
| 160 |
+
},
|
| 161 |
+
"151661": {
|
| 162 |
+
"content": "<|fim_suffix|>",
|
| 163 |
+
"single_word": false,
|
| 164 |
+
"lstrip": false,
|
| 165 |
+
"rstrip": false,
|
| 166 |
+
"normalized": false,
|
| 167 |
+
"special": false
|
| 168 |
+
},
|
| 169 |
+
"151662": {
|
| 170 |
+
"content": "<|fim_pad|>",
|
| 171 |
+
"single_word": false,
|
| 172 |
+
"lstrip": false,
|
| 173 |
+
"rstrip": false,
|
| 174 |
+
"normalized": false,
|
| 175 |
+
"special": false
|
| 176 |
+
},
|
| 177 |
+
"151663": {
|
| 178 |
+
"content": "<|repo_name|>",
|
| 179 |
+
"single_word": false,
|
| 180 |
+
"lstrip": false,
|
| 181 |
+
"rstrip": false,
|
| 182 |
+
"normalized": false,
|
| 183 |
+
"special": false
|
| 184 |
+
},
|
| 185 |
+
"151664": {
|
| 186 |
+
"content": "<|file_sep|>",
|
| 187 |
+
"single_word": false,
|
| 188 |
+
"lstrip": false,
|
| 189 |
+
"rstrip": false,
|
| 190 |
+
"normalized": false,
|
| 191 |
+
"special": false
|
| 192 |
+
},
|
| 193 |
+
"151665": {
|
| 194 |
+
"content": "<|PAD_TOKEN|>",
|
| 195 |
+
"single_word": false,
|
| 196 |
+
"lstrip": false,
|
| 197 |
+
"rstrip": false,
|
| 198 |
+
"normalized": false,
|
| 199 |
+
"special": true
|
| 200 |
+
}
|
| 201 |
+
}
|
| 202 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5811e0147d545faafa9083e10f21552c17b4e3ae375a37b3c8acd79751833548
|
| 3 |
+
size 5265
|