Text Generation
Transformers
Safetensors
laguna
laguna-s-2.1
vllm
quantized
rfa
4-bit precision
conversational
custom_code
8-bit precision
Instructions to use tcclaviger/Laguna-S-2.1-RFA_L with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tcclaviger/Laguna-S-2.1-RFA_L with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tcclaviger/Laguna-S-2.1-RFA_L", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tcclaviger/Laguna-S-2.1-RFA_L", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("tcclaviger/Laguna-S-2.1-RFA_L", trust_remote_code=True, device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use tcclaviger/Laguna-S-2.1-RFA_L with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tcclaviger/Laguna-S-2.1-RFA_L" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tcclaviger/Laguna-S-2.1-RFA_L", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tcclaviger/Laguna-S-2.1-RFA_L
- SGLang
How to use tcclaviger/Laguna-S-2.1-RFA_L with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tcclaviger/Laguna-S-2.1-RFA_L" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tcclaviger/Laguna-S-2.1-RFA_L", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tcclaviger/Laguna-S-2.1-RFA_L" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tcclaviger/Laguna-S-2.1-RFA_L", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use tcclaviger/Laguna-S-2.1-RFA_L with Docker Model Runner:
docker model run hf.co/tcclaviger/Laguna-S-2.1-RFA_L
Add files using upload-large-folder tool
Browse files- README.md +207 -0
- chat_template.jinja +94 -0
- config.json +312 -0
- eval_metrics.txt +27 -0
- generation_config.json +24 -0
- model-00000.safetensors +3 -0
- model-00001.safetensors +3 -0
- model-00002.safetensors +3 -0
- model-00003.safetensors +3 -0
- model-00004.safetensors +3 -0
- model-00005.safetensors +3 -0
- model-00006.safetensors +3 -0
- model-00007.safetensors +3 -0
- model-00008.safetensors +3 -0
- model-00009.safetensors +3 -0
- model-00011.safetensors +3 -0
- model-00012.safetensors +3 -0
- model.safetensors.index.json +0 -0
- tokenizer.json +0 -0
- tokenizer_config.json +576 -0
README.md
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
inference: false
|
| 4 |
+
extra_gated_description: >-
|
| 5 |
+
To learn more about how we process your personal data, please read our <a
|
| 6 |
+
href="https://poolside.ai/legal/privacy">Privacy Policy</a>.
|
| 7 |
+
tags:
|
| 8 |
+
- laguna-s-2.1
|
| 9 |
+
- vllm
|
| 10 |
+
- quantized
|
| 11 |
+
- rfa
|
| 12 |
+
- 4-bit
|
| 13 |
+
license: openmdw-1.1
|
| 14 |
+
pipeline_tag: text-generation
|
| 15 |
+
base_model:
|
| 16 |
+
- poolside/Laguna-S-2.1
|
| 17 |
+
base_model_relation: quantized
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
> [!IMPORTANT]
|
| 21 |
+
> ## Linear-RFA 4-bit quant of [poolside/Laguna-S-2.1](https://huggingface.co/poolside/Laguna-S-2.1)
|
| 22 |
+
>
|
| 23 |
+
> This is `tcclaviger/Laguna-S-2.1-RFA_L` — an RFA 4-bit quantization of Poolside's
|
| 24 |
+
> **Laguna-S-2.1**. The `_L` (linear-only) build quantizes the MLP and expert linear
|
| 25 |
+
> layers to 4-bit (IQ4_NL grid, group 16, Hadamard-16 rotation, asymmetric block-float
|
| 26 |
+
> scales) while keeping **all attention, the router gate, and the lm_head in bf16**.
|
| 27 |
+
> 71.2 GB total, 4.504 bits/weight. All credit for the model to Poolside; this repo only
|
| 28 |
+
> changes the numerics. **The full original model card is preserved verbatim below.**
|
| 29 |
+
>
|
| 30 |
+
> **Runtime:** requires [`tcclaviger/vllm:latest`](https://hub.docker.com/r/tcclaviger/vllm) — an **RDNA 4 (gfx12xx)** vLLM image and the only build with the RFA kernels; no other vLLM build loads these weights. **Not validated on any other hardware at this time.**
|
| 31 |
+
>
|
| 32 |
+
> **DFlash speculative decoding works with this RFA checkpoint.** Pair it with the
|
| 33 |
+
> [Laguna-S-2.1-DFlash](https://huggingface.co/poolside/Laguna-S-2.1-DFlash) draft model
|
| 34 |
+
> exactly as documented in the vLLM section below — the RFA quant does not touch the
|
| 35 |
+
> attention path, so the DFlash draft head runs unchanged.
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
<p align="center">
|
| 40 |
+
<img alt="poolside-banner" src="https://poolside.ai/assets/laguna/laguna-s-2-1-banner.svg" width="800px">
|
| 41 |
+
</p>
|
| 42 |
+
|
| 43 |
+
<p align="center">
|
| 44 |
+
<a href="https://openrouter.ai/poolside/laguna-s-2.1"><strong>Use on OpenRouter</strong></a> ·
|
| 45 |
+
<a href="https://vercel.com/ai-gateway/models/laguna-s-2.1"><strong>Use on Vercel AI Gateway</strong></a> ·
|
| 46 |
+
<a href="https://poolside.ai/blog/introducing-laguna-s-2-1"><strong>Release blog post</strong></a>
|
| 47 |
+
</p>
|
| 48 |
+
|
| 49 |
+
<br>
|
| 50 |
+
|
| 51 |
+
# Laguna S 2.1
|
| 52 |
+
|
| 53 |
+
Laguna S 2.1 is a 118B total parameter Mixture-of-Experts model with 8B activated
|
| 54 |
+
parameters per token, designed for agentic coding and long-horizon work. It sits
|
| 55 |
+
between [Laguna XS 2.1](https://huggingface.co/poolside/Laguna-XS-2.1) (33B-A3B) and
|
| 56 |
+
Laguna M.1 (225B-A23B) in the Laguna series and shares the family recipe: a
|
| 57 |
+
token-choice router with softplus gating over 256 routed experts plus one shared
|
| 58 |
+
expert, grouped-query attention, and interleaved full/sliding-window attention.
|
| 59 |
+
|
| 60 |
+
## Highlights
|
| 61 |
+
|
| 62 |
+
- **Mixed SWA and global attention layout**: 48 layers in a 1:3 global-to-SWA ratio
|
| 63 |
+
(12 global attention layers, 36 sliding-window layers, window 512), with softplus
|
| 64 |
+
attention gating and per-layer-type rotary scales
|
| 65 |
+
- **1M context**: 1,048,576-token context window
|
| 66 |
+
- **Native reasoning support**: interleaved thinking between tool calls, with
|
| 67 |
+
per-request control via `enable_thinking`
|
| 68 |
+
- **Speculative decoding**: a trained
|
| 69 |
+
[DFlash draft model](https://huggingface.co/poolside/Laguna-S-2.1-DFlash) is available
|
| 70 |
+
for lower-latency serving
|
| 71 |
+
- **Quantized variants**:
|
| 72 |
+
[FP8](https://huggingface.co/poolside/Laguna-S-2.1-FP8),
|
| 73 |
+
[NVFP4](https://huggingface.co/poolside/Laguna-S-2.1-NVFP4),
|
| 74 |
+
[INT4](https://huggingface.co/poolside/Laguna-S-2.1-INT4) and
|
| 75 |
+
[GGUF](https://huggingface.co/poolside/Laguna-S-2.1-GGUF)
|
| 76 |
+
- **OpenMDW-1.1 license**: Use and modify the model and associated materials freely
|
| 77 |
+
for commercial and non-commercial purposes
|
| 78 |
+
([learn more about OpenMDW](https://openmdw.ai/))
|
| 79 |
+
|
| 80 |
+
## Model overview
|
| 81 |
+
|
| 82 |
+
- Number of parameters: 118B total, ~8B activated per token
|
| 83 |
+
- Layers: 48 (12 global attention, 36 sliding-window attention)
|
| 84 |
+
- Experts: 256 routed (top-10) plus 1 shared expert
|
| 85 |
+
- Attention: grouped-query, 8 KV heads, head dim 128; per-head softplus output gating
|
| 86 |
+
- Sliding window: 512 tokens
|
| 87 |
+
- Context window: 1,048,576 tokens
|
| 88 |
+
- Vocabulary: 100,352 tokens (Laguna family tokenizer)
|
| 89 |
+
- Modality: text-to-text
|
| 90 |
+
- Reasoning: interleaved thinking with preserved thinking
|
| 91 |
+
|
| 92 |
+
## Benchmark results
|
| 93 |
+
|
| 94 |
+
<p align="center">
|
| 95 |
+
<img alt="benchmarks" src="https://poolside.ai/assets/laguna/laguna-s-2-1-chart.svg" width="800px">
|
| 96 |
+
</p>
|
| 97 |
+
|
| 98 |
+
| Model | Size | Terminal-Bench 2.1 | SWE-bench Multilingual | SWE-Bench Pro (Public Dataset) | DeepSWE | SWE Atlas (Codebase QnA) | Toolathlon Verified |
|
| 99 |
+
|---|---|---|---|---|---|---|---|
|
| 100 |
+
| **Laguna S 2.1** | 118B-A8B | **70.2%** | **78.5%** | **59.4%** | **40.4%** | **46.2%** | **49.7%** |
|
| 101 |
+
| Tencent Hy3 | 295B-A21B | 71.7% | 75.8% | 57.9% | - | - | - |
|
| 102 |
+
| Inkling | 975B-A41B | 63.8% | - | 54.3% | - | - | 45.5%* |
|
| 103 |
+
| Nemotron 3 Ultra | 550B-A55B | 56.4% | 67.7% | - | - | - | 34.3%* |
|
| 104 |
+
| DeepSeek-V4-Pro Max | 1.6T-A49B | 64.0%* | 76.2% | 55.4% | 9.0%* | 27.2%* | 55.9%* |
|
| 105 |
+
| Kimi K3 | 2800B-A50B | 88.3% | - | - | 69% | - | - |
|
| 106 |
+
| Qwen 3.7 Max | - | 74.5%* | 78.3% | 60.6% | - | - | - |
|
| 107 |
+
| Muse Spark 1.1 | - | 80% | - | 61.5% | 53.3% | 42.2%* | 75.6% |
|
| 108 |
+
| Claude Fable 5 | - | 88% | - | 80.3% | 70% | - | - |
|
| 109 |
+
|
| 110 |
+
Benchmarks as of 21 July 2026. Laguna S 2.1 in **bold**; a dash (-) marks a benchmark a model was not evaluated on. Scores marked * are as reported by third parties: Terminal-Bench 2.1 and DeepSWE via Artificial Analysis, SWE Atlas via Scale AI's official leaderboard, and Toolathlon Verified via its official leaderboard. Full evaluation trajectories: [trajectories.poolside.ai](https://trajectories.poolside.ai).
|
| 111 |
+
|
| 112 |
+
## Usage
|
| 113 |
+
|
| 114 |
+
Laguna S 2.1 uses the same `laguna` architecture as Laguna XS 2.1, so the same
|
| 115 |
+
engine integrations apply (vLLM, SGLang, Transformers, TRT-LLM, llama.cpp). At 118B
|
| 116 |
+
parameters the BF16 checkpoint needs multiple GPUs (roughly 236GB of weights);
|
| 117 |
+
quantized variants reduce this substantially.
|
| 118 |
+
|
| 119 |
+
### vLLM
|
| 120 |
+
|
| 121 |
+
```shell
|
| 122 |
+
vllm serve \
|
| 123 |
+
--model poolside/Laguna-S-2.1 \
|
| 124 |
+
--tensor-parallel-size 4 \
|
| 125 |
+
--tool-call-parser poolside_v1 \
|
| 126 |
+
--reasoning-parser poolside_v1 \
|
| 127 |
+
--enable-auto-tool-choice \
|
| 128 |
+
--served-model-name laguna \
|
| 129 |
+
--default-chat-template-kwargs '{"enable_thinking": true}'
|
| 130 |
+
```
|
| 131 |
+
|
| 132 |
+
> [!NOTE]
|
| 133 |
+
> **Optional: speculative decoding with DFlash.** Pair with the
|
| 134 |
+
> [Laguna S 2.1 DFlash draft model](https://huggingface.co/poolside/Laguna-S-2.1-DFlash)
|
| 135 |
+
> by adding
|
| 136 |
+
> `--speculative-config '{"model":"poolside/Laguna-S-2.1-DFlash","num_speculative_tokens":7,"method":"dflash"}'`.
|
| 137 |
+
|
| 138 |
+
### SGLang
|
| 139 |
+
|
| 140 |
+
```shell
|
| 141 |
+
python -m sglang.launch_server \
|
| 142 |
+
--model-path poolside/Laguna-S-2.1 \
|
| 143 |
+
--tp-size 4 \
|
| 144 |
+
--reasoning-parser poolside_v1 \
|
| 145 |
+
--tool-call-parser poolside_v1 \
|
| 146 |
+
--trust-remote-code
|
| 147 |
+
```
|
| 148 |
+
|
| 149 |
+
### TRT-LLM
|
| 150 |
+
|
| 151 |
+
```shell
|
| 152 |
+
trtllm-serve poolside/Laguna-S-2.1 --trust-remote-code \
|
| 153 |
+
--tool_parser poolside_v1 --reasoning_parser laguna
|
| 154 |
+
```
|
| 155 |
+
|
| 156 |
+
Note the flag names differ from vLLM's (`--tool_parser`, and the reasoning parser
|
| 157 |
+
is `laguna`, not `poolside_v1`).
|
| 158 |
+
|
| 159 |
+
### llama.cpp
|
| 160 |
+
|
| 161 |
+
GGUF conversions are available at
|
| 162 |
+
[poolside/Laguna-S-2.1-GGUF](https://huggingface.co/poolside/Laguna-S-2.1-GGUF).
|
| 163 |
+
Serve with poolside's llama.cpp fork, branch
|
| 164 |
+
[`laguna`](https://github.com/poolsideai/llama.cpp/tree/laguna), which carries
|
| 165 |
+
full Laguna support including DFlash speculative decoding. (Base Laguna support
|
| 166 |
+
is also in upstream review:
|
| 167 |
+
[ggml-org/llama.cpp#25165](https://github.com/ggml-org/llama.cpp/pull/25165).)
|
| 168 |
+
|
| 169 |
+
```shell
|
| 170 |
+
git clone --branch laguna https://github.com/poolsideai/llama.cpp
|
| 171 |
+
cd llama.cpp && cmake -B build && cmake --build build -j
|
| 172 |
+
|
| 173 |
+
./build/bin/llama-server -m laguna-s-2.1-Q4_K_M.gguf --jinja --port 8000
|
| 174 |
+
|
| 175 |
+
# with DFlash speculative decoding:
|
| 176 |
+
./build/bin/llama-server -m laguna-s-2.1-Q4_K_M.gguf \
|
| 177 |
+
-md laguna-s-2.1-DFlash-BF16.gguf \
|
| 178 |
+
--spec-type draft-dflash --spec-draft-n-max 7 -fa on --jinja --port 8000
|
| 179 |
+
```
|
| 180 |
+
|
| 181 |
+
## Controlling reasoning
|
| 182 |
+
|
| 183 |
+
Laguna S 2.1 has native reasoning support and works best with *preserved thinking*:
|
| 184 |
+
keep `reasoning_content` from prior assistant messages in the message history.
|
| 185 |
+
The model will generally reason before calling tools and between tool calls, and
|
| 186 |
+
may stop reasoning in follow-up steps if prior thinking blocks are dropped.
|
| 187 |
+
|
| 188 |
+
Thinking is controlled per request via the chat template:
|
| 189 |
+
|
| 190 |
+
```python
|
| 191 |
+
extra_body={"chat_template_kwargs": {"enable_thinking": False}}
|
| 192 |
+
```
|
| 193 |
+
|
| 194 |
+
or at the server level with
|
| 195 |
+
`--default-chat-template-kwargs '{"enable_thinking": true}'`. For agentic coding
|
| 196 |
+
use cases we recommend enabling thinking and preserving reasoning in the message
|
| 197 |
+
history.
|
| 198 |
+
|
| 199 |
+
## License
|
| 200 |
+
|
| 201 |
+
This model is licensed under the [OpenMDW-1.1 License](https://huggingface.co/poolside/Laguna-S-2.1/blob/main/LICENSE.md).
|
| 202 |
+
|
| 203 |
+
## Intended and Responsible Use
|
| 204 |
+
|
| 205 |
+
Laguna S 2.1 is designed for software engineering and agentic coding use cases, and you are responsible for confirming that it is appropriate for your intended application. Laguna S 2.1 is subject to the [OpenMDW-1.1 License](https://huggingface.co/poolside/Laguna-S-2.1/blob/main/LICENSE.md), and should be used consistently with Poolside's [Acceptable Use Policy](https://poolside.ai/legal/acceptable-use-policy). We advise against circumventing Laguna S 2.1 safety guardrails without implementing substantially equivalent mitigations appropriate for your use case.
|
| 206 |
+
|
| 207 |
+
Please report security vulnerabilities or safety concerns to [security@poolside.ai](mailto:security@poolside.ai).
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{#- Iteration on laguna_glm_thinking_v8/chat_template.jinja -#}
|
| 2 |
+
{#- No formatting instructions -#}
|
| 3 |
+
{{- "〈|EOS|〉" -}}
|
| 4 |
+
{%- set enable_thinking = enable_thinking | default(true) -%}
|
| 5 |
+
{%- set add_generation_prompt = add_generation_prompt | default(false) -%}
|
| 6 |
+
{%- set preserve_thinking = preserve_thinking | default(false) -%}
|
| 7 |
+
|
| 8 |
+
{#- ───── header (system message) ───── -#}
|
| 9 |
+
{#- A caller-supplied system message with empty content opts out of the default below, producing no <system> block — used to train without a system message. -#}
|
| 10 |
+
{%- set system_message = "You are a helpful, conversationally-fluent assistant made by Poolside. You are here to be helpful to users through natural language conversations." -%}
|
| 11 |
+
{%- if messages and messages[0].role == "system" -%}
|
| 12 |
+
{%- set system_message = messages[0].content -%}
|
| 13 |
+
{%- set messages = messages[1:] -%}
|
| 14 |
+
{%- endif -%}
|
| 15 |
+
|
| 16 |
+
{%- set has_sys = system_message and system_message.strip() -%}
|
| 17 |
+
{%- if has_sys or tools or enable_thinking -%}
|
| 18 |
+
{{- "<system>" -}}
|
| 19 |
+
|
| 20 |
+
{%- if has_sys -%}
|
| 21 |
+
{{- system_message.rstrip() -}}
|
| 22 |
+
{%- if tools -%}{{- "\n\n" -}}{%- endif -%}
|
| 23 |
+
{%- endif -%}
|
| 24 |
+
|
| 25 |
+
{%- if tools -%}
|
| 26 |
+
{{- "### Tools\n\n" -}}
|
| 27 |
+
{{- "You may call functions to assist with the user query.\n" -}}
|
| 28 |
+
{{- "All available function signatures are listed below:\n" -}}
|
| 29 |
+
{{- "<available_tools>\n" -}}
|
| 30 |
+
{%- for tool in tools -%}
|
| 31 |
+
{{- (tool | tojson) ~ "\n" -}}
|
| 32 |
+
{%- endfor -%}
|
| 33 |
+
{{- "</available_tools>" -}}
|
| 34 |
+
{%- endif -%}
|
| 35 |
+
|
| 36 |
+
{{- "</system>\n" -}}
|
| 37 |
+
{%- endif -%}
|
| 38 |
+
|
| 39 |
+
{#- ───── main loop ───── -#}
|
| 40 |
+
{%- for message in messages -%}
|
| 41 |
+
{%- set content = message.content if message.content is string else "" -%}
|
| 42 |
+
{%- if message.role == "user" -%}
|
| 43 |
+
{{- "<user>" + content + "</user>\n" -}}
|
| 44 |
+
{%- elif message.role == "assistant" -%}
|
| 45 |
+
{%- generation -%}
|
| 46 |
+
{{- "<assistant>" -}}
|
| 47 |
+
{#- Extract reasoning content from message.reasoning (vLLM field name) or message.reasoning_content -#}
|
| 48 |
+
{%- set reasoning_content = '' -%}
|
| 49 |
+
{%- if message.reasoning is string -%}
|
| 50 |
+
{%- set reasoning_content = message.reasoning -%}
|
| 51 |
+
{%- elif message.reasoning_content is string -%}
|
| 52 |
+
{%- set reasoning_content = message.reasoning_content -%}
|
| 53 |
+
{%- endif -%}
|
| 54 |
+
{#- Display reasoning content for all messages if enable_thinking -#}
|
| 55 |
+
{%- if enable_thinking or preserve_thinking -%}
|
| 56 |
+
{{- '<think>' + reasoning_content + '</think>' -}}
|
| 57 |
+
{%- else -%}
|
| 58 |
+
{{- '</think>' -}}
|
| 59 |
+
{%- endif -%}
|
| 60 |
+
{#- Display main content (trailing newline only when no tool_calls follow) -#}
|
| 61 |
+
{%- if content -%}
|
| 62 |
+
{{- content -}}
|
| 63 |
+
{%- endif -%}
|
| 64 |
+
{%- if message.tool_calls -%}
|
| 65 |
+
{%- for tool_call in message.tool_calls -%}
|
| 66 |
+
{%- set function_data = tool_call.function -%}
|
| 67 |
+
{{- '<tool_call>' + function_data.name -}}
|
| 68 |
+
{%- set _args = function_data.arguments -%}
|
| 69 |
+
{%- for k, v in _args.items() -%}
|
| 70 |
+
{{- "<arg_key>" ~ k ~ "</arg_key>" -}}
|
| 71 |
+
{{- "<arg_value>" -}}{{- v | tojson(ensure_ascii=False) if v is not string else v -}}{{- "</arg_value>" -}}
|
| 72 |
+
{%- endfor -%}
|
| 73 |
+
{{- "</tool_call>" -}}
|
| 74 |
+
{%- endfor -%}
|
| 75 |
+
{%- endif -%}
|
| 76 |
+
{{- "</assistant>\n" -}}
|
| 77 |
+
{%- endgeneration -%}
|
| 78 |
+
{%- elif message.role == "tool" -%}
|
| 79 |
+
{{- "<tool_response>" + content + "</tool_response>\n" -}}
|
| 80 |
+
{%- elif message.role == "system" -%}
|
| 81 |
+
{#- Render additional system messages (the first one, if any, is handled separately in the header and was sliced off above) -#}
|
| 82 |
+
{{- "<system>" + content + "</system>\n" -}}
|
| 83 |
+
{%- endif -%}
|
| 84 |
+
{%- endfor -%}
|
| 85 |
+
{#- ───── generation prompt ───── -#}
|
| 86 |
+
{%- if add_generation_prompt -%}
|
| 87 |
+
{{- "<assistant>" -}}
|
| 88 |
+
{#- ───── Include reasoning mode directive ───── -#}
|
| 89 |
+
{%- if enable_thinking -%}
|
| 90 |
+
{{- '<think>' -}}
|
| 91 |
+
{%- else -%}
|
| 92 |
+
{{- '</think>' -}}
|
| 93 |
+
{%- endif -%}
|
| 94 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,312 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LagunaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"auto_map": {
|
| 6 |
+
"AutoConfig": "configuration_laguna.LagunaConfig",
|
| 7 |
+
"AutoModelForCausalLM": "modeling_laguna.LagunaForCausalLM"
|
| 8 |
+
},
|
| 9 |
+
"model_type": "laguna",
|
| 10 |
+
"vocab_size": 100352,
|
| 11 |
+
"hidden_size": 3072,
|
| 12 |
+
"intermediate_size": 12288,
|
| 13 |
+
"num_hidden_layers": 48,
|
| 14 |
+
"num_attention_heads": 48,
|
| 15 |
+
"num_key_value_heads": 8,
|
| 16 |
+
"head_dim": 128,
|
| 17 |
+
"max_position_embeddings": 1048576,
|
| 18 |
+
"attention_bias": false,
|
| 19 |
+
"attention_dropout": 0.0,
|
| 20 |
+
"rms_norm_eps": 1e-06,
|
| 21 |
+
"num_experts": 256,
|
| 22 |
+
"num_experts_per_tok": 10,
|
| 23 |
+
"moe_intermediate_size": 1024,
|
| 24 |
+
"shared_expert_intermediate_size": 1024,
|
| 25 |
+
"norm_topk_prob": true,
|
| 26 |
+
"router_aux_loss_coef": 0.0,
|
| 27 |
+
"decoder_sparse_step": 1,
|
| 28 |
+
"mlp_only_layers": [
|
| 29 |
+
0
|
| 30 |
+
],
|
| 31 |
+
"bos_token_id": 2,
|
| 32 |
+
"eos_token_id": [
|
| 33 |
+
2,
|
| 34 |
+
24
|
| 35 |
+
],
|
| 36 |
+
"pad_token_id": 9,
|
| 37 |
+
"tie_word_embeddings": false,
|
| 38 |
+
"use_cache": true,
|
| 39 |
+
"torch_dtype": "bfloat16",
|
| 40 |
+
"gating": "per-head",
|
| 41 |
+
"sliding_window": 512,
|
| 42 |
+
"rope_parameters": {
|
| 43 |
+
"full_attention": {
|
| 44 |
+
"rope_theta": 500000.0,
|
| 45 |
+
"rope_type": "yarn",
|
| 46 |
+
"factor": 128.0,
|
| 47 |
+
"original_max_position_embeddings": 8192,
|
| 48 |
+
"beta_slow": 1.0,
|
| 49 |
+
"beta_fast": 32.0,
|
| 50 |
+
"attention_factor": 1.4852030263919618,
|
| 51 |
+
"partial_rotary_factor": 0.5
|
| 52 |
+
},
|
| 53 |
+
"sliding_attention": {
|
| 54 |
+
"rope_type": "default",
|
| 55 |
+
"rope_theta": 10000.0,
|
| 56 |
+
"partial_rotary_factor": 1.0
|
| 57 |
+
}
|
| 58 |
+
},
|
| 59 |
+
"layer_types": [
|
| 60 |
+
"full_attention",
|
| 61 |
+
"sliding_attention",
|
| 62 |
+
"sliding_attention",
|
| 63 |
+
"sliding_attention",
|
| 64 |
+
"full_attention",
|
| 65 |
+
"sliding_attention",
|
| 66 |
+
"sliding_attention",
|
| 67 |
+
"sliding_attention",
|
| 68 |
+
"full_attention",
|
| 69 |
+
"sliding_attention",
|
| 70 |
+
"sliding_attention",
|
| 71 |
+
"sliding_attention",
|
| 72 |
+
"full_attention",
|
| 73 |
+
"sliding_attention",
|
| 74 |
+
"sliding_attention",
|
| 75 |
+
"sliding_attention",
|
| 76 |
+
"full_attention",
|
| 77 |
+
"sliding_attention",
|
| 78 |
+
"sliding_attention",
|
| 79 |
+
"sliding_attention",
|
| 80 |
+
"full_attention",
|
| 81 |
+
"sliding_attention",
|
| 82 |
+
"sliding_attention",
|
| 83 |
+
"sliding_attention",
|
| 84 |
+
"full_attention",
|
| 85 |
+
"sliding_attention",
|
| 86 |
+
"sliding_attention",
|
| 87 |
+
"sliding_attention",
|
| 88 |
+
"full_attention",
|
| 89 |
+
"sliding_attention",
|
| 90 |
+
"sliding_attention",
|
| 91 |
+
"sliding_attention",
|
| 92 |
+
"full_attention",
|
| 93 |
+
"sliding_attention",
|
| 94 |
+
"sliding_attention",
|
| 95 |
+
"sliding_attention",
|
| 96 |
+
"full_attention",
|
| 97 |
+
"sliding_attention",
|
| 98 |
+
"sliding_attention",
|
| 99 |
+
"sliding_attention",
|
| 100 |
+
"full_attention",
|
| 101 |
+
"sliding_attention",
|
| 102 |
+
"sliding_attention",
|
| 103 |
+
"sliding_attention",
|
| 104 |
+
"full_attention",
|
| 105 |
+
"sliding_attention",
|
| 106 |
+
"sliding_attention",
|
| 107 |
+
"sliding_attention"
|
| 108 |
+
],
|
| 109 |
+
"moe_apply_router_weight_on_input": false,
|
| 110 |
+
"mlp_layer_types": [
|
| 111 |
+
"dense",
|
| 112 |
+
"sparse",
|
| 113 |
+
"sparse",
|
| 114 |
+
"sparse",
|
| 115 |
+
"sparse",
|
| 116 |
+
"sparse",
|
| 117 |
+
"sparse",
|
| 118 |
+
"sparse",
|
| 119 |
+
"sparse",
|
| 120 |
+
"sparse",
|
| 121 |
+
"sparse",
|
| 122 |
+
"sparse",
|
| 123 |
+
"sparse",
|
| 124 |
+
"sparse",
|
| 125 |
+
"sparse",
|
| 126 |
+
"sparse",
|
| 127 |
+
"sparse",
|
| 128 |
+
"sparse",
|
| 129 |
+
"sparse",
|
| 130 |
+
"sparse",
|
| 131 |
+
"sparse",
|
| 132 |
+
"sparse",
|
| 133 |
+
"sparse",
|
| 134 |
+
"sparse",
|
| 135 |
+
"sparse",
|
| 136 |
+
"sparse",
|
| 137 |
+
"sparse",
|
| 138 |
+
"sparse",
|
| 139 |
+
"sparse",
|
| 140 |
+
"sparse",
|
| 141 |
+
"sparse",
|
| 142 |
+
"sparse",
|
| 143 |
+
"sparse",
|
| 144 |
+
"sparse",
|
| 145 |
+
"sparse",
|
| 146 |
+
"sparse",
|
| 147 |
+
"sparse",
|
| 148 |
+
"sparse",
|
| 149 |
+
"sparse",
|
| 150 |
+
"sparse",
|
| 151 |
+
"sparse",
|
| 152 |
+
"sparse",
|
| 153 |
+
"sparse",
|
| 154 |
+
"sparse",
|
| 155 |
+
"sparse",
|
| 156 |
+
"sparse",
|
| 157 |
+
"sparse",
|
| 158 |
+
"sparse"
|
| 159 |
+
],
|
| 160 |
+
"gating_types": [
|
| 161 |
+
"per_head",
|
| 162 |
+
"per_head",
|
| 163 |
+
"per_head",
|
| 164 |
+
"per_head",
|
| 165 |
+
"per_head",
|
| 166 |
+
"per_head",
|
| 167 |
+
"per_head",
|
| 168 |
+
"per_head",
|
| 169 |
+
"per_head",
|
| 170 |
+
"per_head",
|
| 171 |
+
"per_head",
|
| 172 |
+
"per_head",
|
| 173 |
+
"per_head",
|
| 174 |
+
"per_head",
|
| 175 |
+
"per_head",
|
| 176 |
+
"per_head",
|
| 177 |
+
"per_head",
|
| 178 |
+
"per_head",
|
| 179 |
+
"per_head",
|
| 180 |
+
"per_head",
|
| 181 |
+
"per_head",
|
| 182 |
+
"per_head",
|
| 183 |
+
"per_head",
|
| 184 |
+
"per_head",
|
| 185 |
+
"per_head",
|
| 186 |
+
"per_head",
|
| 187 |
+
"per_head",
|
| 188 |
+
"per_head",
|
| 189 |
+
"per_head",
|
| 190 |
+
"per_head",
|
| 191 |
+
"per_head",
|
| 192 |
+
"per_head",
|
| 193 |
+
"per_head",
|
| 194 |
+
"per_head",
|
| 195 |
+
"per_head",
|
| 196 |
+
"per_head",
|
| 197 |
+
"per_head",
|
| 198 |
+
"per_head",
|
| 199 |
+
"per_head",
|
| 200 |
+
"per_head",
|
| 201 |
+
"per_head",
|
| 202 |
+
"per_head",
|
| 203 |
+
"per_head",
|
| 204 |
+
"per_head",
|
| 205 |
+
"per_head",
|
| 206 |
+
"per_head",
|
| 207 |
+
"per_head",
|
| 208 |
+
"per_head"
|
| 209 |
+
],
|
| 210 |
+
"moe_routed_scaling_factor": 2.5,
|
| 211 |
+
"num_attention_heads_per_layer": [
|
| 212 |
+
48,
|
| 213 |
+
72,
|
| 214 |
+
72,
|
| 215 |
+
72,
|
| 216 |
+
48,
|
| 217 |
+
72,
|
| 218 |
+
72,
|
| 219 |
+
72,
|
| 220 |
+
48,
|
| 221 |
+
72,
|
| 222 |
+
72,
|
| 223 |
+
72,
|
| 224 |
+
48,
|
| 225 |
+
72,
|
| 226 |
+
72,
|
| 227 |
+
72,
|
| 228 |
+
48,
|
| 229 |
+
72,
|
| 230 |
+
72,
|
| 231 |
+
72,
|
| 232 |
+
48,
|
| 233 |
+
72,
|
| 234 |
+
72,
|
| 235 |
+
72,
|
| 236 |
+
48,
|
| 237 |
+
72,
|
| 238 |
+
72,
|
| 239 |
+
72,
|
| 240 |
+
48,
|
| 241 |
+
72,
|
| 242 |
+
72,
|
| 243 |
+
72,
|
| 244 |
+
48,
|
| 245 |
+
72,
|
| 246 |
+
72,
|
| 247 |
+
72,
|
| 248 |
+
48,
|
| 249 |
+
72,
|
| 250 |
+
72,
|
| 251 |
+
72,
|
| 252 |
+
48,
|
| 253 |
+
72,
|
| 254 |
+
72,
|
| 255 |
+
72,
|
| 256 |
+
48,
|
| 257 |
+
72,
|
| 258 |
+
72,
|
| 259 |
+
72
|
| 260 |
+
],
|
| 261 |
+
"moe_router_logit_softcapping": 0.0,
|
| 262 |
+
"quantization_config": {
|
| 263 |
+
"config_groups": {
|
| 264 |
+
"group_0": {
|
| 265 |
+
"format": "rfa-pack-quantized",
|
| 266 |
+
"input_activations": null,
|
| 267 |
+
"output_activations": null,
|
| 268 |
+
"targets": [
|
| 269 |
+
"Linear"
|
| 270 |
+
],
|
| 271 |
+
"weights": {
|
| 272 |
+
"num_bits": 4,
|
| 273 |
+
"type": "float",
|
| 274 |
+
"group_size": 16,
|
| 275 |
+
"grid": "iq4_nl",
|
| 276 |
+
"codebook": [
|
| 277 |
+
-127,
|
| 278 |
+
-104,
|
| 279 |
+
-83,
|
| 280 |
+
-65,
|
| 281 |
+
-49,
|
| 282 |
+
-35,
|
| 283 |
+
-22,
|
| 284 |
+
-10,
|
| 285 |
+
1,
|
| 286 |
+
13,
|
| 287 |
+
25,
|
| 288 |
+
38,
|
| 289 |
+
53,
|
| 290 |
+
69,
|
| 291 |
+
89,
|
| 292 |
+
113
|
| 293 |
+
],
|
| 294 |
+
"scale_dtype": "torch.int8",
|
| 295 |
+
"scale_exp_dtype": "torch.int8",
|
| 296 |
+
"scale_encoding": "block_float_i8m_i8e",
|
| 297 |
+
"symmetric": false,
|
| 298 |
+
"rotation": "hadamard16"
|
| 299 |
+
}
|
| 300 |
+
}
|
| 301 |
+
},
|
| 302 |
+
"format": "rfa-pack-quantized",
|
| 303 |
+
"quant_method": "rfa",
|
| 304 |
+
"quantization_status": "compressed",
|
| 305 |
+
"version": "rfa-1.0",
|
| 306 |
+
"ignore": [
|
| 307 |
+
"re:.*\\.self_attn\\..*",
|
| 308 |
+
"re:.*\\.mlp\\.gate\\.weight$",
|
| 309 |
+
"re:^lm_head"
|
| 310 |
+
]
|
| 311 |
+
}
|
| 312 |
+
}
|
eval_metrics.txt
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Laguna-S-2.1-RFA ===
|
| 2 |
+
arch: laguna
|
| 3 |
+
codebook: [-127, -104, -83, -65, -49, -35, -22, -10, 1, 13, 25, 38, 53, 69, 89, 113]
|
| 4 |
+
rotation: hadamard16
|
| 5 |
+
|
| 6 |
+
[integrity] shards=13 missing=none
|
| 7 |
+
[integrity] index total_size=71.16GB on-disk safetensors sum=71.17GB
|
| 8 |
+
[integrity] tensors: index=109249 headers=109249 OK
|
| 9 |
+
|
| 10 |
+
[coverage] quantized expert-mods=0 linear-mods=36240 fp16-protected=0 copied=529
|
| 11 |
+
[coverage] missing/bad: 0
|
| 12 |
+
|
| 13 |
+
[bpw] quant-target params=114.10B rfa bytes=64.25GB -> 4.504 bits/weight
|
| 14 |
+
[size] total=71.16GB = rfa 64.25GB + copied(bf16/other) 6.91GB
|
| 15 |
+
|
| 16 |
+
[fidelity] dequant vs source (relFro / SQNR):
|
| 17 |
+
model.layers.0.mlp.down_proj relFro=6.150% SQNR=24.2 dB
|
| 18 |
+
model.layers.0.mlp.gate_proj relFro=6.311% SQNR=24.0 dB
|
| 19 |
+
model.layers.0.mlp.up_proj relFro=6.304% SQNR=24.0 dB
|
| 20 |
+
model.layers.24.mlp.experts.0.down_proj relFro=6.328% SQNR=24.0 dB
|
| 21 |
+
model.layers.24.mlp.experts.0.gate_proj relFro=6.334% SQNR=24.0 dB
|
| 22 |
+
model.layers.24.mlp.experts.0.up_proj relFro=6.335% SQNR=24.0 dB
|
| 23 |
+
model.layers.47.mlp.experts.0.down_proj relFro=6.338% SQNR=24.0 dB
|
| 24 |
+
model.layers.47.mlp.experts.0.gate_proj relFro=6.340% SQNR=24.0 dB
|
| 25 |
+
model.layers.47.mlp.experts.0.up_proj relFro=6.336% SQNR=24.0 dB
|
| 26 |
+
|
| 27 |
+
DONE
|
generation_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
2,
|
| 6 |
+
24
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 9,
|
| 9 |
+
"temperature": 1.0,
|
| 10 |
+
"top_p": 1.0,
|
| 11 |
+
"min_p": 0.0,
|
| 12 |
+
"top_k": 20,
|
| 13 |
+
"tool_call_parser": "poolside_v1",
|
| 14 |
+
"reasoning_parser": "poolside_v1",
|
| 15 |
+
"default_chat_template_kwargs": {
|
| 16 |
+
"enable_thinking": true
|
| 17 |
+
},
|
| 18 |
+
"speculative_config": {
|
| 19 |
+
"method": "dflash",
|
| 20 |
+
"source": "huggingface",
|
| 21 |
+
"model": "poolside/Laguna-S-2.1-DFlash",
|
| 22 |
+
"num_speculative_tokens": 15
|
| 23 |
+
}
|
| 24 |
+
}
|
model-00000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d288cc71cc76e4f0b187afb27e55fb844f2a2cdf583fc227f9856a9173afbd9
|
| 3 |
+
size 5395952168
|
model-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04eba164f38c5c0362032e3c68894936e0f5d5fab27eaf69a873baee977aaf1a
|
| 3 |
+
size 5679441824
|
model-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f513e4fc9168f2c996d73b9a24af34dcd15594d06885dee96c30a8cc6495773b
|
| 3 |
+
size 5463493712
|
model-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9f7b7fcd069a159b2ac06d0decf6bd5ffdf0d4cc329f1f6d9d92315b054c17c
|
| 3 |
+
size 5463498336
|
model-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0aa012bcc06f5011019cfb525f4b386a546aefcfdcf333bc2d80601207c12c57
|
| 3 |
+
size 5463502960
|
model-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:768579b5e91415bd58368b5aa8ac473bba50bfd36f6eb19ca2d6fe1f2b99c929
|
| 3 |
+
size 5463502960
|
model-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61f69ec37d26ca2a23938f96f6651526b676d4365cbaa9680484245c25312349
|
| 3 |
+
size 5463502960
|
model-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd526feafed49e8d23e481b8c3e3001fca5f38ff5a6a81a644f27d5afdd951d9
|
| 3 |
+
size 5463502960
|
model-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b3934c683bc4ca23b05e2853a1c928e2207a59a6459ef8aecbbcbbee976b088
|
| 3 |
+
size 5463502960
|
model-00009.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97d58fc61a1ed6762d70a5d561336c3ac00a138beaa9affd4d669de220a6fc41
|
| 3 |
+
size 5463502960
|
model-00011.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13d8bc5e29e307d4da3031314f5f6cca80696daf62822cccb665fd8a19a414ce
|
| 3 |
+
size 5463502960
|
model-00012.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f41ef40dba5edf23d919c39b86be389c3e62e9668c37c6aa406d982c146d95ab
|
| 3 |
+
size 5463502960
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,576 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "〈|UNK|〉",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "〈|CODE_START|〉",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "〈|EOS|〉",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "〈|CODE_END|〉",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"4": {
|
| 36 |
+
"content": "〈|META_START|〉",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
},
|
| 43 |
+
"5": {
|
| 44 |
+
"content": "〈|META_END|〉",
|
| 45 |
+
"lstrip": false,
|
| 46 |
+
"normalized": false,
|
| 47 |
+
"rstrip": false,
|
| 48 |
+
"single_word": false,
|
| 49 |
+
"special": true
|
| 50 |
+
},
|
| 51 |
+
"6": {
|
| 52 |
+
"content": "〈|FIM_MIDDLE|〉",
|
| 53 |
+
"lstrip": false,
|
| 54 |
+
"normalized": false,
|
| 55 |
+
"rstrip": false,
|
| 56 |
+
"single_word": false,
|
| 57 |
+
"special": true
|
| 58 |
+
},
|
| 59 |
+
"7": {
|
| 60 |
+
"content": "〈|FIM_SUFFIX|〉",
|
| 61 |
+
"lstrip": false,
|
| 62 |
+
"normalized": false,
|
| 63 |
+
"rstrip": false,
|
| 64 |
+
"single_word": false,
|
| 65 |
+
"special": true
|
| 66 |
+
},
|
| 67 |
+
"8": {
|
| 68 |
+
"content": "〈|SEP|〉",
|
| 69 |
+
"lstrip": false,
|
| 70 |
+
"normalized": false,
|
| 71 |
+
"rstrip": false,
|
| 72 |
+
"single_word": false,
|
| 73 |
+
"special": true
|
| 74 |
+
},
|
| 75 |
+
"9": {
|
| 76 |
+
"content": "〈|PAD|〉",
|
| 77 |
+
"lstrip": false,
|
| 78 |
+
"normalized": false,
|
| 79 |
+
"rstrip": false,
|
| 80 |
+
"single_word": false,
|
| 81 |
+
"special": true
|
| 82 |
+
},
|
| 83 |
+
"10": {
|
| 84 |
+
"content": "〈|CLS|〉",
|
| 85 |
+
"lstrip": false,
|
| 86 |
+
"normalized": false,
|
| 87 |
+
"rstrip": false,
|
| 88 |
+
"single_word": false,
|
| 89 |
+
"special": true
|
| 90 |
+
},
|
| 91 |
+
"11": {
|
| 92 |
+
"content": "〈|FIM_START|〉",
|
| 93 |
+
"lstrip": false,
|
| 94 |
+
"normalized": false,
|
| 95 |
+
"rstrip": false,
|
| 96 |
+
"single_word": false,
|
| 97 |
+
"special": true
|
| 98 |
+
},
|
| 99 |
+
"12": {
|
| 100 |
+
"content": "〈|MASK|〉",
|
| 101 |
+
"lstrip": false,
|
| 102 |
+
"normalized": false,
|
| 103 |
+
"rstrip": false,
|
| 104 |
+
"single_word": false,
|
| 105 |
+
"special": true
|
| 106 |
+
},
|
| 107 |
+
"13": {
|
| 108 |
+
"content": "|◊|",
|
| 109 |
+
"lstrip": false,
|
| 110 |
+
"normalized": false,
|
| 111 |
+
"rstrip": false,
|
| 112 |
+
"single_word": false,
|
| 113 |
+
"special": true
|
| 114 |
+
},
|
| 115 |
+
"14": {
|
| 116 |
+
"content": "〈|",
|
| 117 |
+
"lstrip": false,
|
| 118 |
+
"normalized": false,
|
| 119 |
+
"rstrip": false,
|
| 120 |
+
"single_word": false,
|
| 121 |
+
"special": true
|
| 122 |
+
},
|
| 123 |
+
"15": {
|
| 124 |
+
"content": "|〉",
|
| 125 |
+
"lstrip": false,
|
| 126 |
+
"normalized": false,
|
| 127 |
+
"rstrip": false,
|
| 128 |
+
"single_word": false,
|
| 129 |
+
"special": true
|
| 130 |
+
},
|
| 131 |
+
"16": {
|
| 132 |
+
"content": "〈|/",
|
| 133 |
+
"lstrip": false,
|
| 134 |
+
"normalized": false,
|
| 135 |
+
"rstrip": false,
|
| 136 |
+
"single_word": false,
|
| 137 |
+
"special": true
|
| 138 |
+
},
|
| 139 |
+
"17": {
|
| 140 |
+
"content": "/|〉",
|
| 141 |
+
"lstrip": false,
|
| 142 |
+
"normalized": false,
|
| 143 |
+
"rstrip": false,
|
| 144 |
+
"single_word": false,
|
| 145 |
+
"special": true
|
| 146 |
+
},
|
| 147 |
+
"20": {
|
| 148 |
+
"content": "〈|SPECIAL_1|〉",
|
| 149 |
+
"lstrip": false,
|
| 150 |
+
"normalized": false,
|
| 151 |
+
"rstrip": false,
|
| 152 |
+
"single_word": false,
|
| 153 |
+
"special": true
|
| 154 |
+
},
|
| 155 |
+
"21": {
|
| 156 |
+
"content": "〈|SPECIAL_2|〉",
|
| 157 |
+
"lstrip": false,
|
| 158 |
+
"normalized": false,
|
| 159 |
+
"rstrip": false,
|
| 160 |
+
"single_word": false,
|
| 161 |
+
"special": true
|
| 162 |
+
},
|
| 163 |
+
"22": {
|
| 164 |
+
"content": "〈|SPECIAL_3|〉",
|
| 165 |
+
"lstrip": false,
|
| 166 |
+
"normalized": false,
|
| 167 |
+
"rstrip": false,
|
| 168 |
+
"single_word": false,
|
| 169 |
+
"special": true
|
| 170 |
+
},
|
| 171 |
+
"27": {
|
| 172 |
+
"content": "〈|SPECIAL_8|〉",
|
| 173 |
+
"lstrip": false,
|
| 174 |
+
"normalized": false,
|
| 175 |
+
"rstrip": false,
|
| 176 |
+
"single_word": false,
|
| 177 |
+
"special": true
|
| 178 |
+
},
|
| 179 |
+
"28": {
|
| 180 |
+
"content": "〈|SPECIAL_9|〉",
|
| 181 |
+
"lstrip": false,
|
| 182 |
+
"normalized": false,
|
| 183 |
+
"rstrip": false,
|
| 184 |
+
"single_word": false,
|
| 185 |
+
"special": true
|
| 186 |
+
},
|
| 187 |
+
"29": {
|
| 188 |
+
"content": "〈|SPECIAL_10|〉",
|
| 189 |
+
"lstrip": false,
|
| 190 |
+
"normalized": false,
|
| 191 |
+
"rstrip": false,
|
| 192 |
+
"single_word": false,
|
| 193 |
+
"special": true
|
| 194 |
+
},
|
| 195 |
+
"30": {
|
| 196 |
+
"content": "〈|SPECIAL_11|〉",
|
| 197 |
+
"lstrip": false,
|
| 198 |
+
"normalized": false,
|
| 199 |
+
"rstrip": false,
|
| 200 |
+
"single_word": false,
|
| 201 |
+
"special": true
|
| 202 |
+
},
|
| 203 |
+
"31": {
|
| 204 |
+
"content": "〈|SPECIAL_12|〉",
|
| 205 |
+
"lstrip": false,
|
| 206 |
+
"normalized": false,
|
| 207 |
+
"rstrip": false,
|
| 208 |
+
"single_word": false,
|
| 209 |
+
"special": true
|
| 210 |
+
},
|
| 211 |
+
"32": {
|
| 212 |
+
"content": "〈|SPECIAL_13|〉",
|
| 213 |
+
"lstrip": false,
|
| 214 |
+
"normalized": false,
|
| 215 |
+
"rstrip": false,
|
| 216 |
+
"single_word": false,
|
| 217 |
+
"special": true
|
| 218 |
+
},
|
| 219 |
+
"33": {
|
| 220 |
+
"content": "〈|SPECIAL_14|〉",
|
| 221 |
+
"lstrip": false,
|
| 222 |
+
"normalized": false,
|
| 223 |
+
"rstrip": false,
|
| 224 |
+
"single_word": false,
|
| 225 |
+
"special": true
|
| 226 |
+
},
|
| 227 |
+
"34": {
|
| 228 |
+
"content": "〈|SPECIAL_15|〉",
|
| 229 |
+
"lstrip": false,
|
| 230 |
+
"normalized": false,
|
| 231 |
+
"rstrip": false,
|
| 232 |
+
"single_word": false,
|
| 233 |
+
"special": true
|
| 234 |
+
},
|
| 235 |
+
"35": {
|
| 236 |
+
"content": "〈|SPECIAL_16|〉",
|
| 237 |
+
"lstrip": false,
|
| 238 |
+
"normalized": false,
|
| 239 |
+
"rstrip": false,
|
| 240 |
+
"single_word": false,
|
| 241 |
+
"special": true
|
| 242 |
+
},
|
| 243 |
+
"36": {
|
| 244 |
+
"content": "〈|SPECIAL_17|〉",
|
| 245 |
+
"lstrip": false,
|
| 246 |
+
"normalized": false,
|
| 247 |
+
"rstrip": false,
|
| 248 |
+
"single_word": false,
|
| 249 |
+
"special": true
|
| 250 |
+
},
|
| 251 |
+
"37": {
|
| 252 |
+
"content": "〈|SPECIAL_18|〉",
|
| 253 |
+
"lstrip": false,
|
| 254 |
+
"normalized": false,
|
| 255 |
+
"rstrip": false,
|
| 256 |
+
"single_word": false,
|
| 257 |
+
"special": true
|
| 258 |
+
},
|
| 259 |
+
"38": {
|
| 260 |
+
"content": "〈|SPECIAL_19|〉",
|
| 261 |
+
"lstrip": false,
|
| 262 |
+
"normalized": false,
|
| 263 |
+
"rstrip": false,
|
| 264 |
+
"single_word": false,
|
| 265 |
+
"special": true
|
| 266 |
+
},
|
| 267 |
+
"39": {
|
| 268 |
+
"content": "〈|SPECIAL_20|〉",
|
| 269 |
+
"lstrip": false,
|
| 270 |
+
"normalized": false,
|
| 271 |
+
"rstrip": false,
|
| 272 |
+
"single_word": false,
|
| 273 |
+
"special": true
|
| 274 |
+
},
|
| 275 |
+
"40": {
|
| 276 |
+
"content": "〈|SPECIAL_21|〉",
|
| 277 |
+
"lstrip": false,
|
| 278 |
+
"normalized": false,
|
| 279 |
+
"rstrip": false,
|
| 280 |
+
"single_word": false,
|
| 281 |
+
"special": true
|
| 282 |
+
},
|
| 283 |
+
"41": {
|
| 284 |
+
"content": "〈|SPECIAL_22|〉",
|
| 285 |
+
"lstrip": false,
|
| 286 |
+
"normalized": false,
|
| 287 |
+
"rstrip": false,
|
| 288 |
+
"single_word": false,
|
| 289 |
+
"special": true
|
| 290 |
+
},
|
| 291 |
+
"42": {
|
| 292 |
+
"content": "〈|SPECIAL_23|〉",
|
| 293 |
+
"lstrip": false,
|
| 294 |
+
"normalized": false,
|
| 295 |
+
"rstrip": false,
|
| 296 |
+
"single_word": false,
|
| 297 |
+
"special": true
|
| 298 |
+
},
|
| 299 |
+
"43": {
|
| 300 |
+
"content": "〈|SPECIAL_24|〉",
|
| 301 |
+
"lstrip": false,
|
| 302 |
+
"normalized": false,
|
| 303 |
+
"rstrip": false,
|
| 304 |
+
"single_word": false,
|
| 305 |
+
"special": true
|
| 306 |
+
},
|
| 307 |
+
"44": {
|
| 308 |
+
"content": "〈|SPECIAL_25|〉",
|
| 309 |
+
"lstrip": false,
|
| 310 |
+
"normalized": false,
|
| 311 |
+
"rstrip": false,
|
| 312 |
+
"single_word": false,
|
| 313 |
+
"special": true
|
| 314 |
+
},
|
| 315 |
+
"45": {
|
| 316 |
+
"content": "〈|SPECIAL_26|〉",
|
| 317 |
+
"lstrip": false,
|
| 318 |
+
"normalized": false,
|
| 319 |
+
"rstrip": false,
|
| 320 |
+
"single_word": false,
|
| 321 |
+
"special": true
|
| 322 |
+
},
|
| 323 |
+
"46": {
|
| 324 |
+
"content": "〈|SPECIAL_27|〉",
|
| 325 |
+
"lstrip": false,
|
| 326 |
+
"normalized": false,
|
| 327 |
+
"rstrip": false,
|
| 328 |
+
"single_word": false,
|
| 329 |
+
"special": true
|
| 330 |
+
},
|
| 331 |
+
"47": {
|
| 332 |
+
"content": "〈|SPECIAL_28|〉",
|
| 333 |
+
"lstrip": false,
|
| 334 |
+
"normalized": false,
|
| 335 |
+
"rstrip": false,
|
| 336 |
+
"single_word": false,
|
| 337 |
+
"special": true
|
| 338 |
+
},
|
| 339 |
+
"48": {
|
| 340 |
+
"content": "〈|SPECIAL_29|〉",
|
| 341 |
+
"lstrip": false,
|
| 342 |
+
"normalized": false,
|
| 343 |
+
"rstrip": false,
|
| 344 |
+
"single_word": false,
|
| 345 |
+
"special": true
|
| 346 |
+
},
|
| 347 |
+
"49": {
|
| 348 |
+
"content": "〈|SPECIAL_30|〉",
|
| 349 |
+
"lstrip": false,
|
| 350 |
+
"normalized": false,
|
| 351 |
+
"rstrip": false,
|
| 352 |
+
"single_word": false,
|
| 353 |
+
"special": true
|
| 354 |
+
},
|
| 355 |
+
"50": {
|
| 356 |
+
"content": "〈|SPECIAL_31|〉",
|
| 357 |
+
"lstrip": false,
|
| 358 |
+
"normalized": false,
|
| 359 |
+
"rstrip": false,
|
| 360 |
+
"single_word": false,
|
| 361 |
+
"special": true
|
| 362 |
+
},
|
| 363 |
+
"51": {
|
| 364 |
+
"content": "〈|SPECIAL_32|〉",
|
| 365 |
+
"lstrip": false,
|
| 366 |
+
"normalized": false,
|
| 367 |
+
"rstrip": false,
|
| 368 |
+
"single_word": false,
|
| 369 |
+
"special": true
|
| 370 |
+
},
|
| 371 |
+
"52": {
|
| 372 |
+
"content": "〈|SPECIAL_33|〉",
|
| 373 |
+
"lstrip": false,
|
| 374 |
+
"normalized": false,
|
| 375 |
+
"rstrip": false,
|
| 376 |
+
"single_word": false,
|
| 377 |
+
"special": true
|
| 378 |
+
},
|
| 379 |
+
"53": {
|
| 380 |
+
"content": "〈|SPECIAL_34|〉",
|
| 381 |
+
"lstrip": false,
|
| 382 |
+
"normalized": false,
|
| 383 |
+
"rstrip": false,
|
| 384 |
+
"single_word": false,
|
| 385 |
+
"special": true
|
| 386 |
+
},
|
| 387 |
+
"54": {
|
| 388 |
+
"content": "〈|SPECIAL_35|〉",
|
| 389 |
+
"lstrip": false,
|
| 390 |
+
"normalized": false,
|
| 391 |
+
"rstrip": false,
|
| 392 |
+
"single_word": false,
|
| 393 |
+
"special": true
|
| 394 |
+
},
|
| 395 |
+
"55": {
|
| 396 |
+
"content": "〈|SPECIAL_36|〉",
|
| 397 |
+
"lstrip": false,
|
| 398 |
+
"normalized": false,
|
| 399 |
+
"rstrip": false,
|
| 400 |
+
"single_word": false,
|
| 401 |
+
"special": true
|
| 402 |
+
},
|
| 403 |
+
"56": {
|
| 404 |
+
"content": "〈|SPECIAL_37|〉",
|
| 405 |
+
"lstrip": false,
|
| 406 |
+
"normalized": false,
|
| 407 |
+
"rstrip": false,
|
| 408 |
+
"single_word": false,
|
| 409 |
+
"special": true
|
| 410 |
+
},
|
| 411 |
+
"57": {
|
| 412 |
+
"content": "〈|SPECIAL_38|〉",
|
| 413 |
+
"lstrip": false,
|
| 414 |
+
"normalized": false,
|
| 415 |
+
"rstrip": false,
|
| 416 |
+
"single_word": false,
|
| 417 |
+
"special": true
|
| 418 |
+
},
|
| 419 |
+
"58": {
|
| 420 |
+
"content": "〈|SPECIAL_39|〉",
|
| 421 |
+
"lstrip": false,
|
| 422 |
+
"normalized": false,
|
| 423 |
+
"rstrip": false,
|
| 424 |
+
"single_word": false,
|
| 425 |
+
"special": true
|
| 426 |
+
},
|
| 427 |
+
"59": {
|
| 428 |
+
"content": "〈|SPECIAL_40|〉",
|
| 429 |
+
"lstrip": false,
|
| 430 |
+
"normalized": false,
|
| 431 |
+
"rstrip": false,
|
| 432 |
+
"single_word": false,
|
| 433 |
+
"special": true
|
| 434 |
+
},
|
| 435 |
+
"60": {
|
| 436 |
+
"content": "〈|SPECIAL_41|〉",
|
| 437 |
+
"lstrip": false,
|
| 438 |
+
"normalized": false,
|
| 439 |
+
"rstrip": false,
|
| 440 |
+
"single_word": false,
|
| 441 |
+
"special": true
|
| 442 |
+
},
|
| 443 |
+
"61": {
|
| 444 |
+
"content": "〈|SPECIAL_42|〉",
|
| 445 |
+
"lstrip": false,
|
| 446 |
+
"normalized": false,
|
| 447 |
+
"rstrip": false,
|
| 448 |
+
"single_word": false,
|
| 449 |
+
"special": true
|
| 450 |
+
},
|
| 451 |
+
"62": {
|
| 452 |
+
"content": "〈|SPECIAL_43|〉",
|
| 453 |
+
"lstrip": false,
|
| 454 |
+
"normalized": false,
|
| 455 |
+
"rstrip": false,
|
| 456 |
+
"single_word": false,
|
| 457 |
+
"special": true
|
| 458 |
+
},
|
| 459 |
+
"63": {
|
| 460 |
+
"content": "〈|SPECIAL_44|〉",
|
| 461 |
+
"lstrip": false,
|
| 462 |
+
"normalized": false,
|
| 463 |
+
"rstrip": false,
|
| 464 |
+
"single_word": false,
|
| 465 |
+
"special": true
|
| 466 |
+
},
|
| 467 |
+
"64": {
|
| 468 |
+
"content": "〈|SPECIAL_45|〉",
|
| 469 |
+
"lstrip": false,
|
| 470 |
+
"normalized": false,
|
| 471 |
+
"rstrip": false,
|
| 472 |
+
"single_word": false,
|
| 473 |
+
"special": true
|
| 474 |
+
},
|
| 475 |
+
"65": {
|
| 476 |
+
"content": "〈|SPECIAL_46|〉",
|
| 477 |
+
"lstrip": false,
|
| 478 |
+
"normalized": false,
|
| 479 |
+
"rstrip": false,
|
| 480 |
+
"single_word": false,
|
| 481 |
+
"special": true
|
| 482 |
+
},
|
| 483 |
+
"66": {
|
| 484 |
+
"content": "〈|SPECIAL_47|〉",
|
| 485 |
+
"lstrip": false,
|
| 486 |
+
"normalized": false,
|
| 487 |
+
"rstrip": false,
|
| 488 |
+
"single_word": false,
|
| 489 |
+
"special": true
|
| 490 |
+
},
|
| 491 |
+
"67": {
|
| 492 |
+
"content": "〈|SPECIAL_48|〉",
|
| 493 |
+
"lstrip": false,
|
| 494 |
+
"normalized": false,
|
| 495 |
+
"rstrip": false,
|
| 496 |
+
"single_word": false,
|
| 497 |
+
"special": true
|
| 498 |
+
},
|
| 499 |
+
"68": {
|
| 500 |
+
"content": "〈|SPECIAL_49|〉",
|
| 501 |
+
"lstrip": false,
|
| 502 |
+
"normalized": false,
|
| 503 |
+
"rstrip": false,
|
| 504 |
+
"single_word": false,
|
| 505 |
+
"special": true
|
| 506 |
+
},
|
| 507 |
+
"69": {
|
| 508 |
+
"content": "〈|SPECIAL_50|〉",
|
| 509 |
+
"lstrip": false,
|
| 510 |
+
"normalized": false,
|
| 511 |
+
"rstrip": false,
|
| 512 |
+
"single_word": false,
|
| 513 |
+
"special": true
|
| 514 |
+
},
|
| 515 |
+
"18": {
|
| 516 |
+
"content": "<think>",
|
| 517 |
+
"single_word": false,
|
| 518 |
+
"lstrip": false,
|
| 519 |
+
"rstrip": false,
|
| 520 |
+
"normalized": false,
|
| 521 |
+
"special": false
|
| 522 |
+
},
|
| 523 |
+
"19": {
|
| 524 |
+
"content": "</think>",
|
| 525 |
+
"single_word": false,
|
| 526 |
+
"lstrip": false,
|
| 527 |
+
"rstrip": false,
|
| 528 |
+
"normalized": false,
|
| 529 |
+
"special": false
|
| 530 |
+
},
|
| 531 |
+
"23": {
|
| 532 |
+
"content": "<assistant>",
|
| 533 |
+
"single_word": false,
|
| 534 |
+
"lstrip": false,
|
| 535 |
+
"rstrip": false,
|
| 536 |
+
"normalized": false,
|
| 537 |
+
"special": false
|
| 538 |
+
},
|
| 539 |
+
"24": {
|
| 540 |
+
"content": "</assistant>",
|
| 541 |
+
"single_word": false,
|
| 542 |
+
"lstrip": false,
|
| 543 |
+
"rstrip": false,
|
| 544 |
+
"normalized": false,
|
| 545 |
+
"special": true
|
| 546 |
+
},
|
| 547 |
+
"25": {
|
| 548 |
+
"content": "<tool_call>",
|
| 549 |
+
"single_word": false,
|
| 550 |
+
"lstrip": false,
|
| 551 |
+
"rstrip": false,
|
| 552 |
+
"normalized": false,
|
| 553 |
+
"special": false
|
| 554 |
+
},
|
| 555 |
+
"26": {
|
| 556 |
+
"content": "</tool_call>",
|
| 557 |
+
"single_word": false,
|
| 558 |
+
"lstrip": false,
|
| 559 |
+
"rstrip": false,
|
| 560 |
+
"normalized": false,
|
| 561 |
+
"special": false
|
| 562 |
+
}
|
| 563 |
+
},
|
| 564 |
+
"bos_token": "〈|EOS|〉",
|
| 565 |
+
"clean_up_tokenization_spaces": false,
|
| 566 |
+
"cls_token": "〈|CLS|〉",
|
| 567 |
+
"eos_token": "〈|EOS|〉",
|
| 568 |
+
"extra_special_tokens": {},
|
| 569 |
+
"mask_token": "〈|MASK|〉",
|
| 570 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 571 |
+
"pad_token": "〈|PAD|〉",
|
| 572 |
+
"sep_token": "〈|SEP|〉",
|
| 573 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 574 |
+
"unk_token": "〈|UNK|〉",
|
| 575 |
+
"chat_template": "{% include 'chat_template.jinja' %}"
|
| 576 |
+
}
|