Sentence Similarity
sentence-transformers
Safetensors
qwen3
feature-extraction
Generated from Trainer
dataset_size:268861
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Matjac5/MNLP_M3_RAG_MODEL_data_mixture_cs_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Matjac5/MNLP_M3_RAG_MODEL_data_mixture_cs_2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Matjac5/MNLP_M3_RAG_MODEL_data_mixture_cs_2") sentences = [ "There are seven thieves. They stole diamonds from a diamond merchant and ran away. While running, night sets in and they decide to rest in the jungle.\nWhen everybody was sleeping, two of them woke up and decided to divide the diamonds equally among themselves. But when they divided the diamonds equally, one diamond is left.\nSo they woke up the 3rd thief and tried to divide the diamonds equally again but still one diamond was left. Then they woke up the 4th thief to divide the diamonds equally again, and again one diamond was left. This happened with the 5th and 6th thief – one diamond was still left.\nFinally, they woke up the 7th thief and this time the diamonds were divided equally.\nHow many diamonds did they steal in total?", "'", "'", "e" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Upload rag SentenceTransformer
Browse files- .gitattributes +1 -0
- 1_Pooling/config.json +10 -0
- README.md +408 -0
- added_tokens.json +28 -0
- chat_template.jinja +85 -0
- config.json +30 -0
- config_sentence_transformers.json +10 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- modules.json +14 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +239 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
1_Pooling/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"word_embedding_dimension": 1024,
|
| 3 |
+
"pooling_mode_cls_token": false,
|
| 4 |
+
"pooling_mode_mean_tokens": true,
|
| 5 |
+
"pooling_mode_max_tokens": false,
|
| 6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
| 7 |
+
"pooling_mode_weightedmean_tokens": false,
|
| 8 |
+
"pooling_mode_lasttoken": false,
|
| 9 |
+
"include_prompt": true
|
| 10 |
+
}
|
README.md
ADDED
|
@@ -0,0 +1,408 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:268861
|
| 8 |
+
- loss:MultipleNegativesRankingLoss
|
| 9 |
+
base_model: Qwen/Qwen3-0.6B-Base
|
| 10 |
+
widget:
|
| 11 |
+
- source_sentence: 'There are seven thieves. They stole diamonds from a diamond merchant
|
| 12 |
+
and ran away. While running, night sets in and they decide to rest in the jungle.
|
| 13 |
+
|
| 14 |
+
When everybody was sleeping, two of them woke up and decided to divide the diamonds
|
| 15 |
+
equally among themselves. But when they divided the diamonds equally, one diamond
|
| 16 |
+
is left.
|
| 17 |
+
|
| 18 |
+
So they woke up the 3rd thief and tried to divide the diamonds equally again but
|
| 19 |
+
still one diamond was left. Then they woke up the 4th thief to divide the diamonds
|
| 20 |
+
equally again, and again one diamond was left. This happened with the 5th and
|
| 21 |
+
6th thief – one diamond was still left.
|
| 22 |
+
|
| 23 |
+
Finally, they woke up the 7th thief and this time the diamonds were divided equally.
|
| 24 |
+
|
| 25 |
+
How many diamonds did they steal in total?'
|
| 26 |
+
sentences:
|
| 27 |
+
- ''''
|
| 28 |
+
- ''''
|
| 29 |
+
- e
|
| 30 |
+
- source_sentence: 'praveen starts business with rs . 3220 and after 5 months , hari
|
| 31 |
+
joins with praveen as his partner . after a year , the profit is divided in the
|
| 32 |
+
ratio 2 : 3 . what is hari ’ s contribution in the capital ?'
|
| 33 |
+
sentences:
|
| 34 |
+
- s
|
| 35 |
+
- '5'
|
| 36 |
+
- '['
|
| 37 |
+
- source_sentence: 'Which of the following is material of choice in class V
|
| 38 |
+
|
| 39 |
+
cavity with abfraction?'
|
| 40 |
+
sentences:
|
| 41 |
+
- '['
|
| 42 |
+
- t
|
| 43 |
+
- G
|
| 44 |
+
- source_sentence: A right circular cylinder has a height of 25 and a radius of 5.
|
| 45 |
+
A rectangular solid with a height of 15 and a square base, is placed in the cylinder
|
| 46 |
+
such that each of the corners of the solid is tangent to the cylinder wall. Liquid
|
| 47 |
+
is then poured into the cylinder such that it reaches the rim. What is the volume
|
| 48 |
+
of the liquid?
|
| 49 |
+
sentences:
|
| 50 |
+
- '5'
|
| 51 |
+
- '['
|
| 52 |
+
- '2'
|
| 53 |
+
- source_sentence: Cerebral angiography was performed by -
|
| 54 |
+
sentences:
|
| 55 |
+
- S
|
| 56 |
+
- t
|
| 57 |
+
- '2'
|
| 58 |
+
pipeline_tag: sentence-similarity
|
| 59 |
+
library_name: sentence-transformers
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
# SentenceTransformer based on Qwen/Qwen3-0.6B-Base
|
| 63 |
+
|
| 64 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Qwen/Qwen3-0.6B-Base](https://huggingface.co/Qwen/Qwen3-0.6B-Base). It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
| 65 |
+
|
| 66 |
+
## Model Details
|
| 67 |
+
|
| 68 |
+
### Model Description
|
| 69 |
+
- **Model Type:** Sentence Transformer
|
| 70 |
+
- **Base model:** [Qwen/Qwen3-0.6B-Base](https://huggingface.co/Qwen/Qwen3-0.6B-Base) <!-- at revision 11214f7f3465775dcce23c3752ecea5a42ee0ddc -->
|
| 71 |
+
- **Maximum Sequence Length:** 128 tokens
|
| 72 |
+
- **Output Dimensionality:** 1024 dimensions
|
| 73 |
+
- **Similarity Function:** Cosine Similarity
|
| 74 |
+
<!-- - **Training Dataset:** Unknown -->
|
| 75 |
+
<!-- - **Language:** Unknown -->
|
| 76 |
+
<!-- - **License:** Unknown -->
|
| 77 |
+
|
| 78 |
+
### Model Sources
|
| 79 |
+
|
| 80 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
| 81 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
| 82 |
+
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
| 83 |
+
|
| 84 |
+
### Full Model Architecture
|
| 85 |
+
|
| 86 |
+
```
|
| 87 |
+
SentenceTransformer(
|
| 88 |
+
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: Qwen3Model
|
| 89 |
+
(1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
| 90 |
+
)
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
## Usage
|
| 94 |
+
|
| 95 |
+
### Direct Usage (Sentence Transformers)
|
| 96 |
+
|
| 97 |
+
First install the Sentence Transformers library:
|
| 98 |
+
|
| 99 |
+
```bash
|
| 100 |
+
pip install -U sentence-transformers
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
Then you can load this model and run inference.
|
| 104 |
+
```python
|
| 105 |
+
from sentence_transformers import SentenceTransformer
|
| 106 |
+
|
| 107 |
+
# Download from the 🤗 Hub
|
| 108 |
+
model = SentenceTransformer("sentence_transformers_model_id")
|
| 109 |
+
# Run inference
|
| 110 |
+
sentences = [
|
| 111 |
+
'Cerebral angiography was performed by -',
|
| 112 |
+
'S',
|
| 113 |
+
'2',
|
| 114 |
+
]
|
| 115 |
+
embeddings = model.encode(sentences)
|
| 116 |
+
print(embeddings.shape)
|
| 117 |
+
# [3, 1024]
|
| 118 |
+
|
| 119 |
+
# Get the similarity scores for the embeddings
|
| 120 |
+
similarities = model.similarity(embeddings, embeddings)
|
| 121 |
+
print(similarities.shape)
|
| 122 |
+
# [3, 3]
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
<!--
|
| 126 |
+
### Direct Usage (Transformers)
|
| 127 |
+
|
| 128 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
| 129 |
+
|
| 130 |
+
</details>
|
| 131 |
+
-->
|
| 132 |
+
|
| 133 |
+
<!--
|
| 134 |
+
### Downstream Usage (Sentence Transformers)
|
| 135 |
+
|
| 136 |
+
You can finetune this model on your own dataset.
|
| 137 |
+
|
| 138 |
+
<details><summary>Click to expand</summary>
|
| 139 |
+
|
| 140 |
+
</details>
|
| 141 |
+
-->
|
| 142 |
+
|
| 143 |
+
<!--
|
| 144 |
+
### Out-of-Scope Use
|
| 145 |
+
|
| 146 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 147 |
+
-->
|
| 148 |
+
|
| 149 |
+
<!--
|
| 150 |
+
## Bias, Risks and Limitations
|
| 151 |
+
|
| 152 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
| 153 |
+
-->
|
| 154 |
+
|
| 155 |
+
<!--
|
| 156 |
+
### Recommendations
|
| 157 |
+
|
| 158 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
| 159 |
+
-->
|
| 160 |
+
|
| 161 |
+
## Training Details
|
| 162 |
+
|
| 163 |
+
### Training Dataset
|
| 164 |
+
|
| 165 |
+
#### Unnamed Dataset
|
| 166 |
+
|
| 167 |
+
* Size: 268,861 training samples
|
| 168 |
+
* Columns: <code>sentence_0</code> and <code>sentence_1</code>
|
| 169 |
+
* Approximate statistics based on the first 1000 samples:
|
| 170 |
+
| | sentence_0 | sentence_1 |
|
| 171 |
+
|:--------|:----------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
|
| 172 |
+
| type | string | string |
|
| 173 |
+
| details | <ul><li>min: 5 tokens</li><li>mean: 48.3 tokens</li><li>max: 128 tokens</li></ul> | <ul><li>min: 0 tokens</li><li>mean: 0.97 tokens</li><li>max: 1 tokens</li></ul> |
|
| 174 |
+
* Samples:
|
| 175 |
+
| sentence_0 | sentence_1 |
|
| 176 |
+
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------|
|
| 177 |
+
| <code>A 1200 m long train crosses a tree in 120 sec, how much time will I take to pass a platform 1100 m long?</code> | <code>'</code> |
|
| 178 |
+
| <code>What is the opposite of rarefaction zones, where air molecules in waves are loosely packed?</code> | <code>[</code> |
|
| 179 |
+
| <code>if w is 40 percent less than e , e is 40 percent less than y , and z is 46 percent less than y , then z is greater than w by what percent of w ?</code> | <code>%</code> |
|
| 180 |
+
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 181 |
+
```json
|
| 182 |
+
{
|
| 183 |
+
"scale": 20.0,
|
| 184 |
+
"similarity_fct": "cos_sim"
|
| 185 |
+
}
|
| 186 |
+
```
|
| 187 |
+
|
| 188 |
+
### Training Hyperparameters
|
| 189 |
+
#### Non-Default Hyperparameters
|
| 190 |
+
|
| 191 |
+
- `per_device_train_batch_size`: 64
|
| 192 |
+
- `per_device_eval_batch_size`: 64
|
| 193 |
+
- `num_train_epochs`: 4
|
| 194 |
+
- `fp16`: True
|
| 195 |
+
- `multi_dataset_batch_sampler`: round_robin
|
| 196 |
+
|
| 197 |
+
#### All Hyperparameters
|
| 198 |
+
<details><summary>Click to expand</summary>
|
| 199 |
+
|
| 200 |
+
- `overwrite_output_dir`: False
|
| 201 |
+
- `do_predict`: False
|
| 202 |
+
- `eval_strategy`: no
|
| 203 |
+
- `prediction_loss_only`: True
|
| 204 |
+
- `per_device_train_batch_size`: 64
|
| 205 |
+
- `per_device_eval_batch_size`: 64
|
| 206 |
+
- `per_gpu_train_batch_size`: None
|
| 207 |
+
- `per_gpu_eval_batch_size`: None
|
| 208 |
+
- `gradient_accumulation_steps`: 1
|
| 209 |
+
- `eval_accumulation_steps`: None
|
| 210 |
+
- `torch_empty_cache_steps`: None
|
| 211 |
+
- `learning_rate`: 5e-05
|
| 212 |
+
- `weight_decay`: 0.0
|
| 213 |
+
- `adam_beta1`: 0.9
|
| 214 |
+
- `adam_beta2`: 0.999
|
| 215 |
+
- `adam_epsilon`: 1e-08
|
| 216 |
+
- `max_grad_norm`: 1
|
| 217 |
+
- `num_train_epochs`: 4
|
| 218 |
+
- `max_steps`: -1
|
| 219 |
+
- `lr_scheduler_type`: linear
|
| 220 |
+
- `lr_scheduler_kwargs`: {}
|
| 221 |
+
- `warmup_ratio`: 0.0
|
| 222 |
+
- `warmup_steps`: 0
|
| 223 |
+
- `log_level`: passive
|
| 224 |
+
- `log_level_replica`: warning
|
| 225 |
+
- `log_on_each_node`: True
|
| 226 |
+
- `logging_nan_inf_filter`: True
|
| 227 |
+
- `save_safetensors`: True
|
| 228 |
+
- `save_on_each_node`: False
|
| 229 |
+
- `save_only_model`: False
|
| 230 |
+
- `restore_callback_states_from_checkpoint`: False
|
| 231 |
+
- `no_cuda`: False
|
| 232 |
+
- `use_cpu`: False
|
| 233 |
+
- `use_mps_device`: False
|
| 234 |
+
- `seed`: 42
|
| 235 |
+
- `data_seed`: None
|
| 236 |
+
- `jit_mode_eval`: False
|
| 237 |
+
- `use_ipex`: False
|
| 238 |
+
- `bf16`: False
|
| 239 |
+
- `fp16`: True
|
| 240 |
+
- `fp16_opt_level`: O1
|
| 241 |
+
- `half_precision_backend`: auto
|
| 242 |
+
- `bf16_full_eval`: False
|
| 243 |
+
- `fp16_full_eval`: False
|
| 244 |
+
- `tf32`: None
|
| 245 |
+
- `local_rank`: 0
|
| 246 |
+
- `ddp_backend`: None
|
| 247 |
+
- `tpu_num_cores`: None
|
| 248 |
+
- `tpu_metrics_debug`: False
|
| 249 |
+
- `debug`: []
|
| 250 |
+
- `dataloader_drop_last`: False
|
| 251 |
+
- `dataloader_num_workers`: 0
|
| 252 |
+
- `dataloader_prefetch_factor`: None
|
| 253 |
+
- `past_index`: -1
|
| 254 |
+
- `disable_tqdm`: False
|
| 255 |
+
- `remove_unused_columns`: True
|
| 256 |
+
- `label_names`: None
|
| 257 |
+
- `load_best_model_at_end`: False
|
| 258 |
+
- `ignore_data_skip`: False
|
| 259 |
+
- `fsdp`: []
|
| 260 |
+
- `fsdp_min_num_params`: 0
|
| 261 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
| 262 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
| 263 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
| 264 |
+
- `deepspeed`: None
|
| 265 |
+
- `label_smoothing_factor`: 0.0
|
| 266 |
+
- `optim`: adamw_torch
|
| 267 |
+
- `optim_args`: None
|
| 268 |
+
- `adafactor`: False
|
| 269 |
+
- `group_by_length`: False
|
| 270 |
+
- `length_column_name`: length
|
| 271 |
+
- `ddp_find_unused_parameters`: None
|
| 272 |
+
- `ddp_bucket_cap_mb`: None
|
| 273 |
+
- `ddp_broadcast_buffers`: False
|
| 274 |
+
- `dataloader_pin_memory`: True
|
| 275 |
+
- `dataloader_persistent_workers`: False
|
| 276 |
+
- `skip_memory_metrics`: True
|
| 277 |
+
- `use_legacy_prediction_loop`: False
|
| 278 |
+
- `push_to_hub`: False
|
| 279 |
+
- `resume_from_checkpoint`: None
|
| 280 |
+
- `hub_model_id`: None
|
| 281 |
+
- `hub_strategy`: every_save
|
| 282 |
+
- `hub_private_repo`: None
|
| 283 |
+
- `hub_always_push`: False
|
| 284 |
+
- `gradient_checkpointing`: False
|
| 285 |
+
- `gradient_checkpointing_kwargs`: None
|
| 286 |
+
- `include_inputs_for_metrics`: False
|
| 287 |
+
- `include_for_metrics`: []
|
| 288 |
+
- `eval_do_concat_batches`: True
|
| 289 |
+
- `fp16_backend`: auto
|
| 290 |
+
- `push_to_hub_model_id`: None
|
| 291 |
+
- `push_to_hub_organization`: None
|
| 292 |
+
- `mp_parameters`:
|
| 293 |
+
- `auto_find_batch_size`: False
|
| 294 |
+
- `full_determinism`: False
|
| 295 |
+
- `torchdynamo`: None
|
| 296 |
+
- `ray_scope`: last
|
| 297 |
+
- `ddp_timeout`: 1800
|
| 298 |
+
- `torch_compile`: False
|
| 299 |
+
- `torch_compile_backend`: None
|
| 300 |
+
- `torch_compile_mode`: None
|
| 301 |
+
- `include_tokens_per_second`: False
|
| 302 |
+
- `include_num_input_tokens_seen`: False
|
| 303 |
+
- `neftune_noise_alpha`: None
|
| 304 |
+
- `optim_target_modules`: None
|
| 305 |
+
- `batch_eval_metrics`: False
|
| 306 |
+
- `eval_on_start`: False
|
| 307 |
+
- `use_liger_kernel`: False
|
| 308 |
+
- `eval_use_gather_object`: False
|
| 309 |
+
- `average_tokens_across_devices`: False
|
| 310 |
+
- `prompts`: None
|
| 311 |
+
- `batch_sampler`: batch_sampler
|
| 312 |
+
- `multi_dataset_batch_sampler`: round_robin
|
| 313 |
+
|
| 314 |
+
</details>
|
| 315 |
+
|
| 316 |
+
### Training Logs
|
| 317 |
+
| Epoch | Step | Training Loss |
|
| 318 |
+
|:------:|:-----:|:-------------:|
|
| 319 |
+
| 0.1190 | 500 | 4.0939 |
|
| 320 |
+
| 0.2380 | 1000 | 3.7716 |
|
| 321 |
+
| 0.3571 | 1500 | 0.0 |
|
| 322 |
+
| 0.4761 | 2000 | 0.0 |
|
| 323 |
+
| 0.5951 | 2500 | 0.0 |
|
| 324 |
+
| 0.7141 | 3000 | 0.0 |
|
| 325 |
+
| 0.8331 | 3500 | 0.0 |
|
| 326 |
+
| 0.9522 | 4000 | 0.0 |
|
| 327 |
+
| 1.0712 | 4500 | 0.0 |
|
| 328 |
+
| 1.1902 | 5000 | 0.0 |
|
| 329 |
+
| 1.3092 | 5500 | 0.0 |
|
| 330 |
+
| 1.4282 | 6000 | 0.0 |
|
| 331 |
+
| 1.5473 | 6500 | 0.0 |
|
| 332 |
+
| 1.6663 | 7000 | 0.0 |
|
| 333 |
+
| 1.7853 | 7500 | 0.0 |
|
| 334 |
+
| 1.9043 | 8000 | 0.0 |
|
| 335 |
+
| 2.0233 | 8500 | 0.0 |
|
| 336 |
+
| 2.1423 | 9000 | 0.0 |
|
| 337 |
+
| 2.2614 | 9500 | 0.0 |
|
| 338 |
+
| 2.3804 | 10000 | 0.0 |
|
| 339 |
+
| 2.4994 | 10500 | 0.0 |
|
| 340 |
+
| 2.6184 | 11000 | 0.0 |
|
| 341 |
+
| 2.7374 | 11500 | 0.0 |
|
| 342 |
+
| 2.8565 | 12000 | 0.0 |
|
| 343 |
+
| 2.9755 | 12500 | 0.0 |
|
| 344 |
+
| 3.0945 | 13000 | 0.0 |
|
| 345 |
+
| 3.2135 | 13500 | 0.0 |
|
| 346 |
+
| 3.3325 | 14000 | 0.0 |
|
| 347 |
+
| 3.4516 | 14500 | 0.0 |
|
| 348 |
+
| 3.5706 | 15000 | 0.0 |
|
| 349 |
+
| 3.6896 | 15500 | 0.0 |
|
| 350 |
+
| 3.8086 | 16000 | 0.0 |
|
| 351 |
+
| 3.9276 | 16500 | 0.0 |
|
| 352 |
+
|
| 353 |
+
|
| 354 |
+
### Framework Versions
|
| 355 |
+
- Python: 3.11.13
|
| 356 |
+
- Sentence Transformers: 4.1.0
|
| 357 |
+
- Transformers: 4.52.4
|
| 358 |
+
- PyTorch: 2.6.0+cu124
|
| 359 |
+
- Accelerate: 1.7.0
|
| 360 |
+
- Datasets: 3.6.0
|
| 361 |
+
- Tokenizers: 0.21.1
|
| 362 |
+
|
| 363 |
+
## Citation
|
| 364 |
+
|
| 365 |
+
### BibTeX
|
| 366 |
+
|
| 367 |
+
#### Sentence Transformers
|
| 368 |
+
```bibtex
|
| 369 |
+
@inproceedings{reimers-2019-sentence-bert,
|
| 370 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
| 371 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
| 372 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
| 373 |
+
month = "11",
|
| 374 |
+
year = "2019",
|
| 375 |
+
publisher = "Association for Computational Linguistics",
|
| 376 |
+
url = "https://arxiv.org/abs/1908.10084",
|
| 377 |
+
}
|
| 378 |
+
```
|
| 379 |
+
|
| 380 |
+
#### MultipleNegativesRankingLoss
|
| 381 |
+
```bibtex
|
| 382 |
+
@misc{henderson2017efficient,
|
| 383 |
+
title={Efficient Natural Language Response Suggestion for Smart Reply},
|
| 384 |
+
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
|
| 385 |
+
year={2017},
|
| 386 |
+
eprint={1705.00652},
|
| 387 |
+
archivePrefix={arXiv},
|
| 388 |
+
primaryClass={cs.CL}
|
| 389 |
+
}
|
| 390 |
+
```
|
| 391 |
+
|
| 392 |
+
<!--
|
| 393 |
+
## Glossary
|
| 394 |
+
|
| 395 |
+
*Clearly define terms in order to be accessible across audiences.*
|
| 396 |
+
-->
|
| 397 |
+
|
| 398 |
+
<!--
|
| 399 |
+
## Model Card Authors
|
| 400 |
+
|
| 401 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
| 402 |
+
-->
|
| 403 |
+
|
| 404 |
+
<!--
|
| 405 |
+
## Model Card Contact
|
| 406 |
+
|
| 407 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 408 |
+
-->
|
added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 27 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 28 |
+
{%- elif message.role == "assistant" %}
|
| 29 |
+
{%- set content = message.content %}
|
| 30 |
+
{%- set reasoning_content = '' %}
|
| 31 |
+
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
|
| 32 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 33 |
+
{%- else %}
|
| 34 |
+
{%- if '</think>' in message.content %}
|
| 35 |
+
{%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
|
| 36 |
+
{%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 37 |
+
{%- endif %}
|
| 38 |
+
{%- endif %}
|
| 39 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 40 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 41 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 42 |
+
{%- else %}
|
| 43 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- else %}
|
| 46 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 47 |
+
{%- endif %}
|
| 48 |
+
{%- if message.tool_calls %}
|
| 49 |
+
{%- for tool_call in message.tool_calls %}
|
| 50 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 51 |
+
{{- '\n' }}
|
| 52 |
+
{%- endif %}
|
| 53 |
+
{%- if tool_call.function %}
|
| 54 |
+
{%- set tool_call = tool_call.function %}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 57 |
+
{{- tool_call.name }}
|
| 58 |
+
{{- '", "arguments": ' }}
|
| 59 |
+
{%- if tool_call.arguments is string %}
|
| 60 |
+
{{- tool_call.arguments }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{{- tool_call.arguments | tojson }}
|
| 63 |
+
{%- endif %}
|
| 64 |
+
{{- '}\n</tool_call>' }}
|
| 65 |
+
{%- endfor %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{{- '<|im_end|>\n' }}
|
| 68 |
+
{%- elif message.role == "tool" %}
|
| 69 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 70 |
+
{{- '<|im_start|>user' }}
|
| 71 |
+
{%- endif %}
|
| 72 |
+
{{- '\n<tool_response>\n' }}
|
| 73 |
+
{{- message.content }}
|
| 74 |
+
{{- '\n</tool_response>' }}
|
| 75 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 76 |
+
{{- '<|im_end|>\n' }}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{%- endif %}
|
| 79 |
+
{%- endfor %}
|
| 80 |
+
{%- if add_generation_prompt %}
|
| 81 |
+
{{- '<|im_start|>assistant\n' }}
|
| 82 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 83 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 84 |
+
{%- endif %}
|
| 85 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3Model"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 151643,
|
| 8 |
+
"eos_token_id": 151643,
|
| 9 |
+
"head_dim": 128,
|
| 10 |
+
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 1024,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 3072,
|
| 14 |
+
"max_position_embeddings": 32768,
|
| 15 |
+
"max_window_layers": 28,
|
| 16 |
+
"model_type": "qwen3",
|
| 17 |
+
"num_attention_heads": 16,
|
| 18 |
+
"num_hidden_layers": 28,
|
| 19 |
+
"num_key_value_heads": 8,
|
| 20 |
+
"rms_norm_eps": 1e-06,
|
| 21 |
+
"rope_scaling": null,
|
| 22 |
+
"rope_theta": 1000000,
|
| 23 |
+
"sliding_window": null,
|
| 24 |
+
"tie_word_embeddings": true,
|
| 25 |
+
"torch_dtype": "float32",
|
| 26 |
+
"transformers_version": "4.52.4",
|
| 27 |
+
"use_cache": true,
|
| 28 |
+
"use_sliding_window": false,
|
| 29 |
+
"vocab_size": 151936
|
| 30 |
+
}
|
config_sentence_transformers.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"__version__": {
|
| 3 |
+
"sentence_transformers": "4.1.0",
|
| 4 |
+
"transformers": "4.52.4",
|
| 5 |
+
"pytorch": "2.6.0+cu124"
|
| 6 |
+
},
|
| 7 |
+
"prompts": {},
|
| 8 |
+
"default_prompt_name": null,
|
| 9 |
+
"similarity_fn_name": "cosine"
|
| 10 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdeae6d28d0a1704d66cdb36938add1c6ef97c23633f5a1e29a8bcf009486f9f
|
| 3 |
+
size 2384233112
|
modules.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"idx": 0,
|
| 4 |
+
"name": "0",
|
| 5 |
+
"path": "",
|
| 6 |
+
"type": "sentence_transformers.models.Transformer"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"idx": 1,
|
| 10 |
+
"name": "1",
|
| 11 |
+
"path": "1_Pooling",
|
| 12 |
+
"type": "sentence_transformers.models.Pooling"
|
| 13 |
+
}
|
| 14 |
+
]
|
sentence_bert_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_seq_length": 128,
|
| 3 |
+
"do_lower_case": false
|
| 4 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|endoftext|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"clean_up_tokenization_spaces": false,
|
| 231 |
+
"eos_token": "<|endoftext|>",
|
| 232 |
+
"errors": "replace",
|
| 233 |
+
"extra_special_tokens": {},
|
| 234 |
+
"model_max_length": 128,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"split_special_tokens": false,
|
| 237 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 238 |
+
"unk_token": null
|
| 239 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|