Commit
·
cb545ee
0
Parent(s):
Duplicate from Alxis955/qwe2.5-coder-Uncensored
Browse filesCo-authored-by: Jose Alexis Terrazas <Alxis955@users.noreply.huggingface.co>
- .gitattributes +37 -0
- README.md +224 -0
- adapter_config.json +39 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +25 -0
- merges.txt +0 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/added_tokens.json +25 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/added_tokens.json:Zone.Identifier +2 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/config.json +43 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/config.json:Zone.Identifier +2 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/generation_config.json +8 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/generation_config.json:Zone.Identifier +2 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/merges.txt +0 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/merges.txt:Zone.Identifier +2 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/model-00001-of-00002.safetensors +3 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/model-00001-of-00002.safetensors:Zone.Identifier +2 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/model-00002-of-00002.safetensors +3 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/model-00002-of-00002.safetensors:Zone.Identifier +2 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/model.safetensors.index.json +0 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/model.safetensors.index.json:Zone.Identifier +2 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/special_tokens_map.json +31 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/special_tokens_map.json:Zone.Identifier +2 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/tokenizer.json +3 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/tokenizer.json:Zone.Identifier +2 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/tokenizer_config.json +217 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/tokenizer_config.json:Zone.Identifier +2 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/vocab.json +0 -0
- modelos_qwen/MERGED_qwen25_UNCENSORED_02/vocab.json:Zone.Identifier +2 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +217 -0
- training_loss_curve.png +0 -0
- training_loss_history.csv +11 -0
- vocab.json +0 -0
.gitattributes
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz 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 |
+
modelos_qwen/MERGED_qwen25_UNCENSORED_02/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- WizardLMTeam/WizardLM_evol_instruct_70k
|
| 5 |
+
- huihui-ai/Guilherme34_uncensor
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
base_model:
|
| 9 |
+
- Qwen/Qwen2.5-Coder-7B
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
tags:
|
| 12 |
+
- code
|
| 13 |
+
---
|
| 14 |
+
# Uncensored LLM for Offensive Security - `qwen25_UNCENSORED_03-C`
|
| 15 |
+
|
| 16 |
+
## Description
|
| 17 |
+
|
| 18 |
+
**This model is a result of a JCR publication in MDPI Applied Science named Automated Malware Source Code Generation via Uncensored LLMs and Adversarial Evasion of Censored Model Doi: https://doi.org/10.3390/app15179252**
|
| 19 |
+
|
| 20 |
+
If you think it is useful, please cite it by:
|
| 21 |
+
```text
|
| 22 |
+
@Article{AUTHOR = {Acosta-Bermejo, Raúl and Terrazas-Chavez, José Alexis and Aguirre-Anaya, Eleazar},
|
| 23 |
+
TITLE = {Automated Malware Source Code Generation via Uncensored LLMs and Adversarial Evasion of Censored Model},
|
| 24 |
+
JOURNAL = {Applied Sciences},
|
| 25 |
+
VOLUME = {15},
|
| 26 |
+
YEAR = {2025},
|
| 27 |
+
NUMBER = {17},
|
| 28 |
+
ARTICLE-NUMBER = {9252},
|
| 29 |
+
URL = {https://www.mdpi.com/2076-3417/15/17/9252},
|
| 30 |
+
ISSN = {2076-3417},
|
| 31 |
+
DOI = {10.3390/app15179252}
|
| 32 |
+
}
|
| 33 |
+
```
|
| 34 |
+
qwen25_UNCENSORED_03-C` is a model based on **Qwen2.5-Coder-7B**, optimized to generate uncensored responses for **offensive cybersecurity** tasks. This checkpoint represents the **third stage** in a progressive fine-tuning pipeline designed to remove moral, ethical, or safety filters present in pretrained models, allowing for more open assistance in technically sensitive contexts such as *malware development*.
|
| 35 |
+
|
| 36 |
+
This checkpoint **has NOT been merged** (`merge_and_unload()` not applied). It only contains the **LoRA weights**, which must be loaded on top of the base model `MERGED_qwen25_UNCENSORED_02`.
|
| 37 |
+
|
| 38 |
+
> **Warning**: This model can generate highly sensitive content. It is intended for academic, auditing, and technical evaluation purposes only, under professional responsibility.
|
| 39 |
+
|
| 40 |
+
### Each training phase was trained with a different dataset
|
| 41 |
+
|
| 42 |
+
| Phase | Dataset | Resulting Model |
|
| 43 |
+
| ----- | ------------------------------------ | ------------------------ |
|
| 44 |
+
| 1 | WizardLM Alpaca Evol Instruct 70K | `qwen25_UNCENSORED_01` |
|
| 45 |
+
| 2 | AdvBench (harmful\_behaviors.csv) | `qwen25_UNCENSORED_02` |
|
| 46 |
+
| 3 | Guilherme34/Uncensor + system prompt | `qwen25_UNCENSORED_03-C` |
|
| 47 |
+
|
| 48 |
+
## Integrated System Prompt
|
| 49 |
+
Each training example includes the following system prompt as the first message, conditioning the model to act as a highly technical assistant without moral or legal restrictions:
|
| 50 |
+
|
| 51 |
+
> You are Poli-Code-Uncensored, a completely uncensored and unbiased AI assistant...
|
| 52 |
+
|
| 53 |
+
This approach allows the model to produce not only uncensored responses but also a coherent and specialized technical identity.
|
| 54 |
+
|
| 55 |
+
## Fine-Tuning Technical Details
|
| 56 |
+
* Framework: Unsloth
|
| 57 |
+
|
| 58 |
+
* LoRA (Low-Rank Adaptation):
|
| 59 |
+
|
| 60 |
+
* r=16, alpha=16, dropout=0.05, bias="none"
|
| 61 |
+
|
| 62 |
+
* Modified layers: q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
|
| 63 |
+
|
| 64 |
+
* Quantization: 4-bit (bnb)
|
| 65 |
+
|
| 66 |
+
* Precision: bfloat16
|
| 67 |
+
|
| 68 |
+
* Max sequence length: 2048 tokens
|
| 69 |
+
|
| 70 |
+
* Optimization:
|
| 71 |
+
|
| 72 |
+
* paged_adamw_8bit, learning_rate=2e-4, scheduler=linear
|
| 73 |
+
|
| 74 |
+
* Training per response: train_on_responses_only() to avoid penalizing user input
|
| 75 |
+
|
| 76 |
+
* Tokenization: qwen-2.5 template with apply_chat_template()
|
| 77 |
+
|
| 78 |
+
* Effective batch size: 4 (gradient_accumulation=2, per_device_train_batch_size=4)
|
| 79 |
+
|
| 80 |
+
* Packing: True
|
| 81 |
+
|
| 82 |
+
## Evaluation with Adapted RefusalBench
|
| 83 |
+
The model was evaluated with a benchmark based on RefusalBench (Chiang et al., 2023), which measures residual refusal patterns.
|
| 84 |
+
|
| 85 |
+
| Model | Fine-Tuning Data | Total Refusal | Total Accepted | Refusal Rate | Max Time (s) | Min Time (s) |
|
| 86 |
+
| ---------------------------- | -------------------- | ------------- | -------------- | ------------ | ------------ | ------------ |
|
| 87 |
+
| Qwen2.5-Coder-7B-bnb-4bit | Base model | 297 | 263 | 53.04% | 7.34s | 0.45s |
|
| 88 |
+
| MERGED\_qwen\_uncensored\_01 | WizardLM-70K | 279 | 281 | 49.82% | 7.94s | 0.74s |
|
| 89 |
+
| Qwen2.5\_UNCENSORED\_02 | Adv-Bench | 61 | 499 | 10.89% | 11.74s | 1.79s |
|
| 90 |
+
| Qwen2.5\_UNCENSORED\_03-C | Guilherme34-uncensor | 33 | 527 | 5.89% | 10.88s | 1.03s |
|
| 91 |
+
|
| 92 |
+
The results show a significant and progressive reduction in censorship thanks to the phased approach and personality conditioning.
|
| 93 |
+
|
| 94 |
+
## Training Environment
|
| 95 |
+
|
| 96 |
+
| Resource | Specification |
|
| 97 |
+
| ------------------------ | --------------------------------------- |
|
| 98 |
+
| **CPU** | Intel Core i7-12700F (12th Gen) |
|
| 99 |
+
| **RAM** | 64 GB DDR4 |
|
| 100 |
+
| **GPU** | NVIDIA GeForce RTX 4070 Ti (12 GB VRAM) |
|
| 101 |
+
| **Operating System** | Ubuntu 24.04 LTS (WSL2 on Windows) |
|
| 102 |
+
| **Python** | 3.12 |
|
| 103 |
+
| **Framework** | Unsloth + Hugging Face Transformers |
|
| 104 |
+
| **Fine-Tuning Duration** | |
|
| 105 |
+
| Phase 1 (WizardLM-70K) | \~8 hours |
|
| 106 |
+
| Phases 2 and 3 | 10–15 minutes |
|
| 107 |
+
|
| 108 |
+
## Usage with transformers + peft
|
| 109 |
+
```bash
|
| 110 |
+
pip install transformers accelerate peft torch
|
| 111 |
+
```
|
| 112 |
+
### Load the model
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
```Python
|
| 117 |
+
import sys
|
| 118 |
+
import torch
|
| 119 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 120 |
+
|
| 121 |
+
def clean_output(text, original_prompt):
|
| 122 |
+
cleaned = text.replace(original_prompt, "")
|
| 123 |
+
cleaned = cleaned.encode().decode("unicode_escape")
|
| 124 |
+
truncations = [
|
| 125 |
+
"Note however", "Disclaimer", "This answer was provided", "Remember that",
|
| 126 |
+
"It is illegal", "As an AI", "I'm sorry"
|
| 127 |
+
]
|
| 128 |
+
for phrase in truncations:
|
| 129 |
+
if phrase in cleaned:
|
| 130 |
+
cleaned = cleaned.split(phrase)[0].strip()
|
| 131 |
+
return cleaned.strip()
|
| 132 |
+
|
| 133 |
+
def main():
|
| 134 |
+
if len(sys.argv) < 2:
|
| 135 |
+
print(" Usage: python inf_qwen_final.py /path/to/model")
|
| 136 |
+
sys.exit(1)
|
| 137 |
+
|
| 138 |
+
model_path = sys.argv[1]
|
| 139 |
+
|
| 140 |
+
prompt = r"""
|
| 141 |
+
Develop a Python script that, after successfully encrypting each target file, securely deletes the original unencrypted copy.
|
| 142 |
+
Use Windows API or overwrite techniques to make file recovery more difficult (e.g., writing random bytes before deletion).
|
| 143 |
+
The script must log the deletion status of each file to a local hidden file named .activity_log.
|
| 144 |
+
|
| 145 |
+
"""
|
| 146 |
+
|
| 147 |
+
print(f" Loading model from: {model_path}")
|
| 148 |
+
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|
| 149 |
+
tokenizer.model_max_length = 32768
|
| 150 |
+
|
| 151 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 152 |
+
model_path,
|
| 153 |
+
device_map="auto",
|
| 154 |
+
trust_remote_code=True
|
| 155 |
+
)
|
| 156 |
+
model.eval()
|
| 157 |
+
|
| 158 |
+
max_new_tokens = 2048
|
| 159 |
+
max_input_tokens = tokenizer.model_max_length - max_new_tokens
|
| 160 |
+
|
| 161 |
+
inputs = tokenizer(
|
| 162 |
+
prompt,
|
| 163 |
+
return_tensors="pt",
|
| 164 |
+
truncation=True,
|
| 165 |
+
max_length=max_input_tokens
|
| 166 |
+
)
|
| 167 |
+
inputs = {k: v.to(model.device) for k, v in inputs.items()}
|
| 168 |
+
|
| 169 |
+
print(" Generating response...")
|
| 170 |
+
with torch.no_grad():
|
| 171 |
+
output = model.generate(
|
| 172 |
+
**inputs,
|
| 173 |
+
max_new_tokens=max_new_tokens,
|
| 174 |
+
do_sample=True,
|
| 175 |
+
temperature=0.7,
|
| 176 |
+
top_p=0.95,
|
| 177 |
+
top_k=50,
|
| 178 |
+
eos_token_id=tokenizer.eos_token_id,
|
| 179 |
+
pad_token_id=tokenizer.pad_token_id,
|
| 180 |
+
repetition_penalty=1.1
|
| 181 |
+
)
|
| 182 |
+
|
| 183 |
+
decoded = tokenizer.decode(output[0], skip_special_tokens=True)
|
| 184 |
+
final_output = clean_output(decoded, prompt)
|
| 185 |
+
|
| 186 |
+
print("\n Generated code:\n")
|
| 187 |
+
print(final_output)
|
| 188 |
+
|
| 189 |
+
if __name__ == "__main__":
|
| 190 |
+
main()
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
|
| 194 |
+
```
|
| 195 |
+
|
| 196 |
+
### Usage
|
| 197 |
+
|
| 198 |
+
```bash
|
| 199 |
+
python script.py qwen25_UNCENSORED_03-C
|
| 200 |
+
```
|
| 201 |
+
qwen25_UNCENSORED_03-C is the fine-tuned model folder, containing the adapter files and the inference script.
|
| 202 |
+
|
| 203 |
+
The script automatically tries to load the base model from a sibling folder named:
|
| 204 |
+
```
|
| 205 |
+
MERGED_qwen25_UNCENSORED_02
|
| 206 |
+
```
|
| 207 |
+
|
| 208 |
+
### Folder Structure
|
| 209 |
+
```
|
| 210 |
+
/your_project/
|
| 211 |
+
│
|
| 212 |
+
├── MERGED_qwen25_UNCENSORED_02/ ← Base model (merged or original)
|
| 213 |
+
│ └── config.json
|
| 214 |
+
│ └── pytorch_model.bin
|
| 215 |
+
│ └── ...
|
| 216 |
+
│
|
| 217 |
+
├── qwen25_UNCENSORED_03-C/ ← Fine-tuned adapter model
|
| 218 |
+
│ └── script.py
|
| 219 |
+
│ └── adapter_model.bin
|
| 220 |
+
│ └── adapter_config.json
|
| 221 |
+
│ └── ...
|
| 222 |
+
```
|
| 223 |
+
|
| 224 |
+
Ensure that the base model folder (MERGED_qwen25_UNCENSORED_02) is complete and in the same path as the adapter folder, or the script will not be able to find and load it.
|
adapter_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "modelos_qwen/MERGED_qwen25_UNCENSORED_02",
|
| 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": 16,
|
| 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 |
+
"r": 16,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"k_proj",
|
| 28 |
+
"o_proj",
|
| 29 |
+
"v_proj",
|
| 30 |
+
"gate_proj",
|
| 31 |
+
"down_proj",
|
| 32 |
+
"up_proj",
|
| 33 |
+
"q_proj"
|
| 34 |
+
],
|
| 35 |
+
"task_type": "CAUSAL_LM",
|
| 36 |
+
"trainable_token_indices": null,
|
| 37 |
+
"use_dora": false,
|
| 38 |
+
"use_rslora": false
|
| 39 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7023b22a07bf8b7e85fb89f6096d89c6f4bca754225ba7a2bcb293b2ac24b052
|
| 3 |
+
size 161533192
|
added_tokens.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</tool_call>": 151658,
|
| 3 |
+
"<tool_call>": 151657,
|
| 4 |
+
"<|PAD_TOKEN|>": 151665,
|
| 5 |
+
"<|box_end|>": 151649,
|
| 6 |
+
"<|box_start|>": 151648,
|
| 7 |
+
"<|endoftext|>": 151643,
|
| 8 |
+
"<|file_sep|>": 151664,
|
| 9 |
+
"<|fim_middle|>": 151660,
|
| 10 |
+
"<|fim_pad|>": 151662,
|
| 11 |
+
"<|fim_prefix|>": 151659,
|
| 12 |
+
"<|fim_suffix|>": 151661,
|
| 13 |
+
"<|im_end|>": 151645,
|
| 14 |
+
"<|im_start|>": 151644,
|
| 15 |
+
"<|image_pad|>": 151655,
|
| 16 |
+
"<|object_ref_end|>": 151647,
|
| 17 |
+
"<|object_ref_start|>": 151646,
|
| 18 |
+
"<|quad_end|>": 151651,
|
| 19 |
+
"<|quad_start|>": 151650,
|
| 20 |
+
"<|repo_name|>": 151663,
|
| 21 |
+
"<|video_pad|>": 151656,
|
| 22 |
+
"<|vision_end|>": 151653,
|
| 23 |
+
"<|vision_pad|>": 151654,
|
| 24 |
+
"<|vision_start|>": 151652
|
| 25 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/added_tokens.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</tool_call>": 151658,
|
| 3 |
+
"<tool_call>": 151657,
|
| 4 |
+
"<|PAD_TOKEN|>": 151665,
|
| 5 |
+
"<|box_end|>": 151649,
|
| 6 |
+
"<|box_start|>": 151648,
|
| 7 |
+
"<|endoftext|>": 151643,
|
| 8 |
+
"<|file_sep|>": 151664,
|
| 9 |
+
"<|fim_middle|>": 151660,
|
| 10 |
+
"<|fim_pad|>": 151662,
|
| 11 |
+
"<|fim_prefix|>": 151659,
|
| 12 |
+
"<|fim_suffix|>": 151661,
|
| 13 |
+
"<|im_end|>": 151645,
|
| 14 |
+
"<|im_start|>": 151644,
|
| 15 |
+
"<|image_pad|>": 151655,
|
| 16 |
+
"<|object_ref_end|>": 151647,
|
| 17 |
+
"<|object_ref_start|>": 151646,
|
| 18 |
+
"<|quad_end|>": 151651,
|
| 19 |
+
"<|quad_start|>": 151650,
|
| 20 |
+
"<|repo_name|>": 151663,
|
| 21 |
+
"<|video_pad|>": 151656,
|
| 22 |
+
"<|vision_end|>": 151653,
|
| 23 |
+
"<|vision_pad|>": 151654,
|
| 24 |
+
"<|vision_start|>": 151652
|
| 25 |
+
}
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/added_tokens.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"eos_token_id": 151643,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 3584,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 18944,
|
| 12 |
+
"max_position_embeddings": 32768,
|
| 13 |
+
"max_window_layers": 28,
|
| 14 |
+
"model_type": "qwen2",
|
| 15 |
+
"num_attention_heads": 28,
|
| 16 |
+
"num_hidden_layers": 28,
|
| 17 |
+
"num_key_value_heads": 4,
|
| 18 |
+
"pad_token_id": 151665,
|
| 19 |
+
"quantization_config": {
|
| 20 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 21 |
+
"bnb_4bit_quant_type": "nf4",
|
| 22 |
+
"bnb_4bit_use_double_quant": true,
|
| 23 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 24 |
+
"llm_int8_has_fp16_weight": false,
|
| 25 |
+
"llm_int8_skip_modules": null,
|
| 26 |
+
"llm_int8_threshold": 6.0,
|
| 27 |
+
"load_in_4bit": true,
|
| 28 |
+
"load_in_8bit": false,
|
| 29 |
+
"quant_method": "bitsandbytes"
|
| 30 |
+
},
|
| 31 |
+
"rms_norm_eps": 1e-06,
|
| 32 |
+
"rope_scaling": null,
|
| 33 |
+
"rope_theta": 1000000.0,
|
| 34 |
+
"sliding_window": null,
|
| 35 |
+
"tie_word_embeddings": false,
|
| 36 |
+
"torch_dtype": "bfloat16",
|
| 37 |
+
"transformers_version": "4.50.3",
|
| 38 |
+
"unsloth_fixed": true,
|
| 39 |
+
"unsloth_version": "2025.3.19",
|
| 40 |
+
"use_cache": true,
|
| 41 |
+
"use_sliding_window": false,
|
| 42 |
+
"vocab_size": 152064
|
| 43 |
+
}
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/config.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/generation_config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"eos_token_id": 151643,
|
| 4 |
+
"max_length": 32768,
|
| 5 |
+
"max_new_tokens": 2048,
|
| 6 |
+
"pad_token_id": 151665,
|
| 7 |
+
"transformers_version": "4.50.3"
|
| 8 |
+
}
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/generation_config.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/merges.txt:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fad791e91b251989cff3a4018b33e0de1ba435f29fd6dc580caee6ca1c1ba04e
|
| 3 |
+
size 4457259581
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/model-00001-of-00002.safetensors:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0167e1c1b01ce71c87dd479157695cc1667342b9d2d75d2a64a648dfbaf04b8f
|
| 3 |
+
size 1089994880
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/model-00002-of-00002.safetensors:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/model.safetensors.index.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/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": "<|endoftext|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|PAD_TOKEN|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/special_tokens_map.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fab42efe8d17406525a9154b728cf9e957629a8ed7ce997770efdd71128c6a1a
|
| 3 |
+
size 11422086
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/tokenizer.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/tokenizer_config.json
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"151665": {
|
| 182 |
+
"content": "<|PAD_TOKEN|>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": true
|
| 188 |
+
}
|
| 189 |
+
},
|
| 190 |
+
"additional_special_tokens": [
|
| 191 |
+
"<|im_start|>",
|
| 192 |
+
"<|im_end|>",
|
| 193 |
+
"<|object_ref_start|>",
|
| 194 |
+
"<|object_ref_end|>",
|
| 195 |
+
"<|box_start|>",
|
| 196 |
+
"<|box_end|>",
|
| 197 |
+
"<|quad_start|>",
|
| 198 |
+
"<|quad_end|>",
|
| 199 |
+
"<|vision_start|>",
|
| 200 |
+
"<|vision_end|>",
|
| 201 |
+
"<|vision_pad|>",
|
| 202 |
+
"<|image_pad|>",
|
| 203 |
+
"<|video_pad|>"
|
| 204 |
+
],
|
| 205 |
+
"bos_token": null,
|
| 206 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\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>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\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\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %} {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 207 |
+
"clean_up_tokenization_spaces": false,
|
| 208 |
+
"eos_token": "<|endoftext|>",
|
| 209 |
+
"errors": "replace",
|
| 210 |
+
"extra_special_tokens": {},
|
| 211 |
+
"model_max_length": 32768,
|
| 212 |
+
"pad_token": "<|PAD_TOKEN|>",
|
| 213 |
+
"padding_side": "right",
|
| 214 |
+
"split_special_tokens": false,
|
| 215 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 216 |
+
"unk_token": null
|
| 217 |
+
}
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/tokenizer_config.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
modelos_qwen/MERGED_qwen25_UNCENSORED_02/vocab.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
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": "<|endoftext|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|PAD_TOKEN|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fab42efe8d17406525a9154b728cf9e957629a8ed7ce997770efdd71128c6a1a
|
| 3 |
+
size 11422086
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"151665": {
|
| 182 |
+
"content": "<|PAD_TOKEN|>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": true
|
| 188 |
+
}
|
| 189 |
+
},
|
| 190 |
+
"additional_special_tokens": [
|
| 191 |
+
"<|im_start|>",
|
| 192 |
+
"<|im_end|>",
|
| 193 |
+
"<|object_ref_start|>",
|
| 194 |
+
"<|object_ref_end|>",
|
| 195 |
+
"<|box_start|>",
|
| 196 |
+
"<|box_end|>",
|
| 197 |
+
"<|quad_start|>",
|
| 198 |
+
"<|quad_end|>",
|
| 199 |
+
"<|vision_start|>",
|
| 200 |
+
"<|vision_end|>",
|
| 201 |
+
"<|vision_pad|>",
|
| 202 |
+
"<|image_pad|>",
|
| 203 |
+
"<|video_pad|>"
|
| 204 |
+
],
|
| 205 |
+
"bos_token": null,
|
| 206 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\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>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\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\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %} {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 207 |
+
"clean_up_tokenization_spaces": false,
|
| 208 |
+
"eos_token": "<|endoftext|>",
|
| 209 |
+
"errors": "replace",
|
| 210 |
+
"extra_special_tokens": {},
|
| 211 |
+
"model_max_length": 32768,
|
| 212 |
+
"pad_token": "<|PAD_TOKEN|>",
|
| 213 |
+
"padding_side": "right",
|
| 214 |
+
"split_special_tokens": false,
|
| 215 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 216 |
+
"unk_token": null
|
| 217 |
+
}
|
training_loss_curve.png
ADDED
|
training_loss_history.csv
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
loss,grad_norm,learning_rate,epoch,step
|
| 2 |
+
2.0842,0.39258643984794617,4.000000000000001e-06,0.09302325581395349,10
|
| 3 |
+
2.0411,0.31776493787765503,8.000000000000001e-06,0.18604651162790697,20
|
| 4 |
+
1.9467,0.2665407359600067,1.2e-05,0.27906976744186046,30
|
| 5 |
+
1.9131,0.27922648191452026,1.6000000000000003e-05,0.37209302325581395,40
|
| 6 |
+
1.7353,0.38724032044410706,2e-05,0.46511627906976744,50
|
| 7 |
+
1.5224,0.6602446436882019,2.4e-05,0.5581395348837209,60
|
| 8 |
+
1.0967,0.6640816926956177,2.8000000000000003e-05,0.6511627906976745,70
|
| 9 |
+
0.6702,0.26523134112358093,3.2000000000000005e-05,0.7441860465116279,80
|
| 10 |
+
0.5406,0.17431379854679108,3.6e-05,0.8372093023255814,90
|
| 11 |
+
0.5325,0.16474466025829315,4e-05,0.9302325581395349,100
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|