From 8f7b8d1aedf21817b4595e31cb37753ce6546cc0 Mon Sep 17 00:00:00 2001 From: ModelHub XC Date: Tue, 26 May 2026 12:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=EF=BC=8C=E7=94=B1ModelHub=20XC=E7=A4=BE=E5=8C=BA=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Model: Roc-M/mental-7B Source: Original Platform --- .gitattributes | 37 +++ DeepSeek-R1-Distill-Qwen-7B-F16.gguf | 3 + Modelfile | 17 ++ README.md | 200 ++++++++++++++++ config.json | 30 +++ generation_config.json | 9 + model-00001-of-00009.safetensors | 3 + model-00002-of-00009.safetensors | 3 + model-00003-of-00009.safetensors | 3 + model-00004-of-00009.safetensors | 3 + model-00005-of-00009.safetensors | 3 + model-00006-of-00009.safetensors | 3 + model-00007-of-00009.safetensors | 3 + model-00008-of-00009.safetensors | 3 + model-00009-of-00009.safetensors | 3 + model.safetensors.index.json | 346 +++++++++++++++++++++++++++ special_tokens_map.json | 23 ++ tokenizer.json | 3 + tokenizer_config.json | 205 ++++++++++++++++ 19 files changed, 900 insertions(+) create mode 100644 .gitattributes create mode 100644 DeepSeek-R1-Distill-Qwen-7B-F16.gguf create mode 100644 Modelfile create mode 100644 README.md create mode 100644 config.json create mode 100644 generation_config.json create mode 100644 model-00001-of-00009.safetensors create mode 100644 model-00002-of-00009.safetensors create mode 100644 model-00003-of-00009.safetensors create mode 100644 model-00004-of-00009.safetensors create mode 100644 model-00005-of-00009.safetensors create mode 100644 model-00006-of-00009.safetensors create mode 100644 model-00007-of-00009.safetensors create mode 100644 model-00008-of-00009.safetensors create mode 100644 model-00009-of-00009.safetensors create mode 100644 model.safetensors.index.json create mode 100644 special_tokens_map.json create mode 100644 tokenizer.json create mode 100644 tokenizer_config.json diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c4dcdf8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,37 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ckpt filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.mlmodel filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.npy filter=lfs diff=lfs merge=lfs -text +*.npz filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pickle filter=lfs diff=lfs merge=lfs -text +*.pkl filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +*.safetensors filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text +tokenizer.json filter=lfs diff=lfs merge=lfs -text +DeepSeek-R1-Distill-Qwen-7B-F16.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/DeepSeek-R1-Distill-Qwen-7B-F16.gguf b/DeepSeek-R1-Distill-Qwen-7B-F16.gguf new file mode 100644 index 0000000..26bb97c --- /dev/null +++ b/DeepSeek-R1-Distill-Qwen-7B-F16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa70f4dcc8eefa9cac9fca4806d9a19e66592eb76403d704e30b3cf8d8d2adfc +size 15237852928 diff --git a/Modelfile b/Modelfile new file mode 100644 index 0000000..f30f93b --- /dev/null +++ b/Modelfile @@ -0,0 +1,17 @@ +# ollama modelfile auto-generated by llamafactory + +FROM ./DeepSeek-R1-Distill-Qwen-7B-F16.gguf + +TEMPLATE """{{ if .System }}<|im_start|>system +{{ .System }}<|im_end|> +{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|im_start|>user +{{ .Content }}<|im_end|> +<|im_start|>assistant +{{ else if eq .Role "assistant" }}{{ .Content }}<|im_end|> +{{ end }}{{ end }}""" + +SYSTEM """You are Qwen, created by Alibaba Cloud. You are a helpful assistant.""" + +PARAMETER num_predict 400 +PARAMETER stop "<|end▁of▁sentence|>" +PARAMETER num_ctx 4096 diff --git a/README.md b/README.md new file mode 100644 index 0000000..a29ee29 --- /dev/null +++ b/README.md @@ -0,0 +1,200 @@ +--- +library_name: transformers +tags: +- llama-factory +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + +This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated. + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] \ No newline at end of file diff --git a/config.json b/config.json new file mode 100644 index 0000000..5c4b467 --- /dev/null +++ b/config.json @@ -0,0 +1,30 @@ +{ + "_name_or_path": "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B", + "architectures": [ + "Qwen2ForCausalLM" + ], + "attention_dropout": 0.0, + "bos_token_id": 151643, + "eos_token_id": 151643, + "hidden_act": "silu", + "hidden_size": 3584, + "initializer_range": 0.02, + "intermediate_size": 18944, + "max_position_embeddings": 131072, + "max_window_layers": 28, + "model_type": "qwen2", + "num_attention_heads": 28, + "num_hidden_layers": 28, + "num_key_value_heads": 4, + "rms_norm_eps": 1e-06, + "rope_scaling": null, + "rope_theta": 10000, + "sliding_window": null, + "tie_word_embeddings": false, + "torch_dtype": "bfloat16", + "transformers_version": "4.48.2", + "use_cache": true, + "use_mrope": false, + "use_sliding_window": false, + "vocab_size": 152064 +} diff --git a/generation_config.json b/generation_config.json new file mode 100644 index 0000000..faa5974 --- /dev/null +++ b/generation_config.json @@ -0,0 +1,9 @@ +{ + "_from_model_config": true, + "bos_token_id": 151646, + "do_sample": true, + "eos_token_id": 151643, + "temperature": 0.6, + "top_p": 0.95, + "transformers_version": "4.48.2" +} diff --git a/model-00001-of-00009.safetensors b/model-00001-of-00009.safetensors new file mode 100644 index 0000000..c41488f --- /dev/null +++ b/model-00001-of-00009.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e8e2f92f47cf8f4dabafbca5a567998de9740fae4d4d74659a865614f8bc677 +size 1886423520 diff --git a/model-00002-of-00009.safetensors b/model-00002-of-00009.safetensors new file mode 100644 index 0000000..dbba1fc --- /dev/null +++ b/model-00002-of-00009.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:577bd01b3e9e1472bdfde7283f54edd03c1c24cb6cfc462dbfdd7d6925eef95d +size 1864467800 diff --git a/model-00003-of-00009.safetensors b/model-00003-of-00009.safetensors new file mode 100644 index 0000000..868369b --- /dev/null +++ b/model-00003-of-00009.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d4f23066787974dd715e344279719314a148716af5597dcebdea2d7007f80f6 +size 1864467800 diff --git a/model-00004-of-00009.safetensors b/model-00004-of-00009.safetensors new file mode 100644 index 0000000..640da8e --- /dev/null +++ b/model-00004-of-00009.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ff37fbe85ca6b59b4b6ae0966c423b5a64132d3919aeb583dbaca18e180bf6e +size 1864467824 diff --git a/model-00005-of-00009.safetensors b/model-00005-of-00009.safetensors new file mode 100644 index 0000000..918d93a --- /dev/null +++ b/model-00005-of-00009.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd655da61809de055b8fdabbbe0c0ea4a4ba94c5048fb2136af226facc6f90c5 +size 1864467848 diff --git a/model-00006-of-00009.safetensors b/model-00006-of-00009.safetensors new file mode 100644 index 0000000..7532eb1 --- /dev/null +++ b/model-00006-of-00009.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:867a3d3a5fd57d2829a7c782918f8a21bb4dcc82eb3d10f1cd03c002b18f8c9d +size 1864467848 diff --git a/model-00007-of-00009.safetensors b/model-00007-of-00009.safetensors new file mode 100644 index 0000000..4af6ae7 --- /dev/null +++ b/model-00007-of-00009.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8b54c1eac0a77a1e78133423eacf845f7ed3a943756e8a4a7a4be5c40a949f4 +size 1864467848 diff --git a/model-00008-of-00009.safetensors b/model-00008-of-00009.safetensors new file mode 100644 index 0000000..5dff2fc --- /dev/null +++ b/model-00008-of-00009.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95092904d7f7739385e1c3b012d513635116042c61ddfcf3227316471ba87e04 +size 1068046456 diff --git a/model-00009-of-00009.safetensors b/model-00009-of-00009.safetensors new file mode 100644 index 0000000..ef3b83a --- /dev/null +++ b/model-00009-of-00009.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7946740ab848b4a02904f05bff81211bf9600fc20bfad39bbcc8d1703a40ce1c +size 1089994880 diff --git a/model.safetensors.index.json b/model.safetensors.index.json new file mode 100644 index 0000000..c924429 --- /dev/null +++ b/model.safetensors.index.json @@ -0,0 +1,346 @@ +{ + "metadata": { + "total_size": 15231233024 + }, + "weight_map": { + "lm_head.weight": "model-00009-of-00009.safetensors", + "model.embed_tokens.weight": "model-00001-of-00009.safetensors", + "model.layers.0.input_layernorm.weight": "model-00001-of-00009.safetensors", + "model.layers.0.mlp.down_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.0.mlp.up_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00009.safetensors", + "model.layers.0.self_attn.k_proj.bias": "model-00001-of-00009.safetensors", + "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.0.self_attn.q_proj.bias": "model-00001-of-00009.safetensors", + "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.0.self_attn.v_proj.bias": "model-00001-of-00009.safetensors", + "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.1.input_layernorm.weight": "model-00002-of-00009.safetensors", + "model.layers.1.mlp.down_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.1.mlp.up_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.1.post_attention_layernorm.weight": "model-00002-of-00009.safetensors", + "model.layers.1.self_attn.k_proj.bias": "model-00001-of-00009.safetensors", + "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.1.self_attn.q_proj.bias": "model-00001-of-00009.safetensors", + "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.1.self_attn.v_proj.bias": "model-00001-of-00009.safetensors", + "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00009.safetensors", + "model.layers.10.input_layernorm.weight": "model-00004-of-00009.safetensors", + "model.layers.10.mlp.down_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.10.mlp.gate_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.10.mlp.up_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.10.post_attention_layernorm.weight": "model-00004-of-00009.safetensors", + "model.layers.10.self_attn.k_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.10.self_attn.k_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.10.self_attn.o_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.10.self_attn.q_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.10.self_attn.q_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.10.self_attn.v_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.10.self_attn.v_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.11.input_layernorm.weight": "model-00004-of-00009.safetensors", + "model.layers.11.mlp.down_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.11.mlp.gate_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.11.mlp.up_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.11.post_attention_layernorm.weight": "model-00004-of-00009.safetensors", + "model.layers.11.self_attn.k_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.11.self_attn.k_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.11.self_attn.o_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.11.self_attn.q_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.11.self_attn.q_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.11.self_attn.v_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.11.self_attn.v_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.12.input_layernorm.weight": "model-00004-of-00009.safetensors", + "model.layers.12.mlp.down_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.12.mlp.gate_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.12.mlp.up_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.12.post_attention_layernorm.weight": "model-00004-of-00009.safetensors", + "model.layers.12.self_attn.k_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.12.self_attn.k_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.12.self_attn.o_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.12.self_attn.q_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.12.self_attn.q_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.12.self_attn.v_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.12.self_attn.v_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.13.input_layernorm.weight": "model-00005-of-00009.safetensors", + "model.layers.13.mlp.down_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.13.mlp.gate_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.13.mlp.up_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.13.post_attention_layernorm.weight": "model-00005-of-00009.safetensors", + "model.layers.13.self_attn.k_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.13.self_attn.k_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.13.self_attn.o_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.13.self_attn.q_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.13.self_attn.q_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.13.self_attn.v_proj.bias": "model-00004-of-00009.safetensors", + "model.layers.13.self_attn.v_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.14.input_layernorm.weight": "model-00005-of-00009.safetensors", + "model.layers.14.mlp.down_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.14.mlp.gate_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.14.mlp.up_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.14.post_attention_layernorm.weight": "model-00005-of-00009.safetensors", + "model.layers.14.self_attn.k_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.14.self_attn.k_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.14.self_attn.o_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.14.self_attn.q_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.14.self_attn.q_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.14.self_attn.v_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.14.self_attn.v_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.15.input_layernorm.weight": "model-00005-of-00009.safetensors", + "model.layers.15.mlp.down_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.15.mlp.gate_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.15.mlp.up_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.15.post_attention_layernorm.weight": "model-00005-of-00009.safetensors", + "model.layers.15.self_attn.k_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.15.self_attn.k_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.15.self_attn.o_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.15.self_attn.q_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.15.self_attn.q_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.15.self_attn.v_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.15.self_attn.v_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.16.input_layernorm.weight": "model-00005-of-00009.safetensors", + "model.layers.16.mlp.down_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.16.mlp.gate_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.16.mlp.up_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.16.post_attention_layernorm.weight": "model-00005-of-00009.safetensors", + "model.layers.16.self_attn.k_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.16.self_attn.k_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.16.self_attn.o_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.16.self_attn.q_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.16.self_attn.q_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.16.self_attn.v_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.16.self_attn.v_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.17.input_layernorm.weight": "model-00006-of-00009.safetensors", + "model.layers.17.mlp.down_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.17.mlp.gate_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.17.mlp.up_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.17.post_attention_layernorm.weight": "model-00006-of-00009.safetensors", + "model.layers.17.self_attn.k_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.17.self_attn.k_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.17.self_attn.o_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.17.self_attn.q_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.17.self_attn.q_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.17.self_attn.v_proj.bias": "model-00005-of-00009.safetensors", + "model.layers.17.self_attn.v_proj.weight": "model-00005-of-00009.safetensors", + "model.layers.18.input_layernorm.weight": "model-00006-of-00009.safetensors", + "model.layers.18.mlp.down_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.18.mlp.gate_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.18.mlp.up_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.18.post_attention_layernorm.weight": "model-00006-of-00009.safetensors", + "model.layers.18.self_attn.k_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.18.self_attn.k_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.18.self_attn.o_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.18.self_attn.q_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.18.self_attn.q_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.18.self_attn.v_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.18.self_attn.v_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.19.input_layernorm.weight": "model-00006-of-00009.safetensors", + "model.layers.19.mlp.down_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.19.mlp.gate_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.19.mlp.up_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.19.post_attention_layernorm.weight": "model-00006-of-00009.safetensors", + "model.layers.19.self_attn.k_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.19.self_attn.k_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.19.self_attn.o_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.19.self_attn.q_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.19.self_attn.q_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.19.self_attn.v_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.19.self_attn.v_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.2.input_layernorm.weight": "model-00002-of-00009.safetensors", + "model.layers.2.mlp.down_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.2.mlp.gate_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.2.mlp.up_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.2.post_attention_layernorm.weight": "model-00002-of-00009.safetensors", + "model.layers.2.self_attn.k_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.2.self_attn.k_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.2.self_attn.o_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.2.self_attn.q_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.2.self_attn.q_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.2.self_attn.v_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.2.self_attn.v_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.20.input_layernorm.weight": "model-00006-of-00009.safetensors", + "model.layers.20.mlp.down_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.20.mlp.gate_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.20.mlp.up_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.20.post_attention_layernorm.weight": "model-00006-of-00009.safetensors", + "model.layers.20.self_attn.k_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.20.self_attn.k_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.20.self_attn.o_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.20.self_attn.q_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.20.self_attn.q_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.20.self_attn.v_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.20.self_attn.v_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.21.input_layernorm.weight": "model-00007-of-00009.safetensors", + "model.layers.21.mlp.down_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.21.mlp.gate_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.21.mlp.up_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.21.post_attention_layernorm.weight": "model-00007-of-00009.safetensors", + "model.layers.21.self_attn.k_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.21.self_attn.k_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.21.self_attn.o_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.21.self_attn.q_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.21.self_attn.q_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.21.self_attn.v_proj.bias": "model-00006-of-00009.safetensors", + "model.layers.21.self_attn.v_proj.weight": "model-00006-of-00009.safetensors", + "model.layers.22.input_layernorm.weight": "model-00007-of-00009.safetensors", + "model.layers.22.mlp.down_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.22.mlp.gate_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.22.mlp.up_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.22.post_attention_layernorm.weight": "model-00007-of-00009.safetensors", + "model.layers.22.self_attn.k_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.22.self_attn.k_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.22.self_attn.o_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.22.self_attn.q_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.22.self_attn.q_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.22.self_attn.v_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.22.self_attn.v_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.23.input_layernorm.weight": "model-00007-of-00009.safetensors", + "model.layers.23.mlp.down_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.23.mlp.gate_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.23.mlp.up_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.23.post_attention_layernorm.weight": "model-00007-of-00009.safetensors", + "model.layers.23.self_attn.k_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.23.self_attn.k_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.23.self_attn.o_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.23.self_attn.q_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.23.self_attn.q_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.23.self_attn.v_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.23.self_attn.v_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.24.input_layernorm.weight": "model-00007-of-00009.safetensors", + "model.layers.24.mlp.down_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.24.mlp.gate_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.24.mlp.up_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.24.post_attention_layernorm.weight": "model-00007-of-00009.safetensors", + "model.layers.24.self_attn.k_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.24.self_attn.k_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.24.self_attn.o_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.24.self_attn.q_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.24.self_attn.q_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.24.self_attn.v_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.24.self_attn.v_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.25.input_layernorm.weight": "model-00008-of-00009.safetensors", + "model.layers.25.mlp.down_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.25.mlp.gate_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.25.mlp.up_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.25.post_attention_layernorm.weight": "model-00008-of-00009.safetensors", + "model.layers.25.self_attn.k_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.25.self_attn.k_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.25.self_attn.o_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.25.self_attn.q_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.25.self_attn.q_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.25.self_attn.v_proj.bias": "model-00007-of-00009.safetensors", + "model.layers.25.self_attn.v_proj.weight": "model-00007-of-00009.safetensors", + "model.layers.26.input_layernorm.weight": "model-00008-of-00009.safetensors", + "model.layers.26.mlp.down_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.26.mlp.gate_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.26.mlp.up_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.26.post_attention_layernorm.weight": "model-00008-of-00009.safetensors", + "model.layers.26.self_attn.k_proj.bias": "model-00008-of-00009.safetensors", + "model.layers.26.self_attn.k_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.26.self_attn.o_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.26.self_attn.q_proj.bias": "model-00008-of-00009.safetensors", + "model.layers.26.self_attn.q_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.26.self_attn.v_proj.bias": "model-00008-of-00009.safetensors", + "model.layers.26.self_attn.v_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.27.input_layernorm.weight": "model-00008-of-00009.safetensors", + "model.layers.27.mlp.down_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.27.mlp.gate_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.27.mlp.up_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.27.post_attention_layernorm.weight": "model-00008-of-00009.safetensors", + "model.layers.27.self_attn.k_proj.bias": "model-00008-of-00009.safetensors", + "model.layers.27.self_attn.k_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.27.self_attn.o_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.27.self_attn.q_proj.bias": "model-00008-of-00009.safetensors", + "model.layers.27.self_attn.q_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.27.self_attn.v_proj.bias": "model-00008-of-00009.safetensors", + "model.layers.27.self_attn.v_proj.weight": "model-00008-of-00009.safetensors", + "model.layers.3.input_layernorm.weight": "model-00002-of-00009.safetensors", + "model.layers.3.mlp.down_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.3.mlp.gate_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.3.mlp.up_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00009.safetensors", + "model.layers.3.self_attn.k_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.3.self_attn.k_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.3.self_attn.o_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.3.self_attn.q_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.3.self_attn.q_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.3.self_attn.v_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.3.self_attn.v_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.4.input_layernorm.weight": "model-00002-of-00009.safetensors", + "model.layers.4.mlp.down_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.4.mlp.up_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00009.safetensors", + "model.layers.4.self_attn.k_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.4.self_attn.k_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.4.self_attn.o_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.4.self_attn.q_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.4.self_attn.q_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.4.self_attn.v_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.4.self_attn.v_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.5.input_layernorm.weight": "model-00003-of-00009.safetensors", + "model.layers.5.mlp.down_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.5.mlp.gate_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.5.mlp.up_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.5.post_attention_layernorm.weight": "model-00003-of-00009.safetensors", + "model.layers.5.self_attn.k_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.5.self_attn.q_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.5.self_attn.v_proj.bias": "model-00002-of-00009.safetensors", + "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00009.safetensors", + "model.layers.6.input_layernorm.weight": "model-00003-of-00009.safetensors", + "model.layers.6.mlp.down_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.6.mlp.gate_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.6.mlp.up_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.6.post_attention_layernorm.weight": "model-00003-of-00009.safetensors", + "model.layers.6.self_attn.k_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.6.self_attn.k_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.6.self_attn.o_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.6.self_attn.q_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.6.self_attn.q_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.6.self_attn.v_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.6.self_attn.v_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.7.input_layernorm.weight": "model-00003-of-00009.safetensors", + "model.layers.7.mlp.down_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.7.mlp.gate_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.7.mlp.up_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.7.post_attention_layernorm.weight": "model-00003-of-00009.safetensors", + "model.layers.7.self_attn.k_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.7.self_attn.k_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.7.self_attn.o_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.7.self_attn.q_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.7.self_attn.q_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.7.self_attn.v_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.7.self_attn.v_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.8.input_layernorm.weight": "model-00003-of-00009.safetensors", + "model.layers.8.mlp.down_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.8.mlp.gate_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.8.mlp.up_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.8.post_attention_layernorm.weight": "model-00003-of-00009.safetensors", + "model.layers.8.self_attn.k_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.8.self_attn.k_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.8.self_attn.o_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.8.self_attn.q_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.8.self_attn.q_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.8.self_attn.v_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.8.self_attn.v_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.9.input_layernorm.weight": "model-00004-of-00009.safetensors", + "model.layers.9.mlp.down_proj.weight": "model-00004-of-00009.safetensors", + "model.layers.9.mlp.gate_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.9.mlp.up_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.9.post_attention_layernorm.weight": "model-00004-of-00009.safetensors", + "model.layers.9.self_attn.k_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.9.self_attn.k_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.9.self_attn.o_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.9.self_attn.q_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.9.self_attn.q_proj.weight": "model-00003-of-00009.safetensors", + "model.layers.9.self_attn.v_proj.bias": "model-00003-of-00009.safetensors", + "model.layers.9.self_attn.v_proj.weight": "model-00003-of-00009.safetensors", + "model.norm.weight": "model-00008-of-00009.safetensors" + } +} diff --git a/special_tokens_map.json b/special_tokens_map.json new file mode 100644 index 0000000..71e14b3 --- /dev/null +++ b/special_tokens_map.json @@ -0,0 +1,23 @@ +{ + "bos_token": { + "content": "<|begin▁of▁sentence|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false + }, + "eos_token": { + "content": "<|im_end|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false + }, + "pad_token": { + "content": "<|end▁of▁sentence|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false + } +} diff --git a/tokenizer.json b/tokenizer.json new file mode 100644 index 0000000..b6bc6a8 --- /dev/null +++ b/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02643f00207dfc5ed248992486bde04314c21dca556bf65ce520690962b8db63 +size 11422965 diff --git a/tokenizer_config.json b/tokenizer_config.json new file mode 100644 index 0000000..bb25b27 --- /dev/null +++ b/tokenizer_config.json @@ -0,0 +1,205 @@ +{ + "add_bos_token": true, + "add_eos_token": false, + "add_prefix_space": null, + "added_tokens_decoder": { + "151643": { + "content": "<|end▁of▁sentence|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": true + }, + "151644": { + "content": "<|User|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151645": { + "content": "<|Assistant|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151646": { + "content": "<|begin▁of▁sentence|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": true + }, + "151647": { + "content": "<|EOT|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151648": { + "content": "", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151649": { + "content": "", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151650": { + "content": "<|quad_start|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": true + }, + "151651": { + "content": "<|quad_end|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": true + }, + "151652": { + "content": "<|vision_start|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": true + }, + "151653": { + "content": "<|vision_end|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": true + }, + "151654": { + "content": "<|vision_pad|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": true + }, + "151655": { + "content": "<|image_pad|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": true + }, + "151656": { + "content": "<|video_pad|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": true + }, + "151657": { + "content": "", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151658": { + "content": "", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151659": { + "content": "<|fim_prefix|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151660": { + "content": "<|fim_middle|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151661": { + "content": "<|fim_suffix|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151662": { + "content": "<|fim_pad|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151663": { + "content": "<|repo_name|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151664": { + "content": "<|file_sep|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": false + }, + "151665": { + "content": "<|im_end|>", + "lstrip": false, + "normalized": false, + "rstrip": false, + "single_word": false, + "special": true + } + }, + "bos_token": "<|begin▁of▁sentence|>", + "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '' in content %}{% set content = content.split('')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|>\\n'}}{% endif %}", + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "extra_special_tokens": {}, + "legacy": true, + "model_max_length": 16384, + "pad_token": "<|end▁of▁sentence|>", + "padding_side": "left", + "sp_model_kwargs": {}, + "split_special_tokens": false, + "tokenizer_class": "LlamaTokenizer", + "unk_token": null, + "use_default_system_prompt": false +}