Add new SentenceTransformer model
Browse files- .gitattributes +1 -0
- 1_Pooling/config.json +10 -0
- README.md +1024 -0
- added_tokens.json +28 -0
- chat_template.jinja +85 -0
- config.json +60 -0
- config_sentence_transformers.json +14 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- modules.json +20 -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": false,
|
| 5 |
+
"pooling_mode_max_tokens": false,
|
| 6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
| 7 |
+
"pooling_mode_weightedmean_tokens": false,
|
| 8 |
+
"pooling_mode_lasttoken": true,
|
| 9 |
+
"include_prompt": true
|
| 10 |
+
}
|
README.md
ADDED
|
@@ -0,0 +1,1024 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-similarity
|
| 8 |
+
- feature-extraction
|
| 9 |
+
- dense
|
| 10 |
+
- generated_from_trainer
|
| 11 |
+
- dataset_size:127731
|
| 12 |
+
- loss:MatryoshkaLoss
|
| 13 |
+
- loss:MultipleNegativesRankingLoss
|
| 14 |
+
base_model: Qwen/Qwen3-Embedding-0.6B
|
| 15 |
+
widget:
|
| 16 |
+
- source_sentence: How does the Session Description Protocol (SDP) typically facilitate
|
| 17 |
+
media session setup?
|
| 18 |
+
sentences:
|
| 19 |
+
- The Serving GPRS Support Node (SGSN) typically initiates a PDP context activation
|
| 20 |
+
procedure towards the GGSN after receiving a request from the mobile device.
|
| 21 |
+
- SDP is used to describe the parameters for media streams, such as codecs, transport
|
| 22 |
+
protocols, and IP addresses, enabling endpoints to agree on how to exchange media.
|
| 23 |
+
- They show the order of the bits produced by the speech encoder.
|
| 24 |
+
- source_sentence: What is the primary function of an encoder in digital signal processing?
|
| 25 |
+
sentences:
|
| 26 |
+
- An encoder converts raw data into a specific digital format, often for compression
|
| 27 |
+
or transmission.
|
| 28 |
+
- A packetization time of 20ms is specified for GSM_HR within the Circuit Switched
|
| 29 |
+
Core Network.
|
| 30 |
+
- No, a fixed line may not always accept a hook flash, for instance, if it is an
|
| 31 |
+
ISDN line.
|
| 32 |
+
- source_sentence: What are the three distinct categories of Integration Reference
|
| 33 |
+
Point (IRP) specifications?
|
| 34 |
+
sentences:
|
| 35 |
+
- The three categories are Interface IRPs, NRM IRPs, and Data Definition IRPs.
|
| 36 |
+
- Certain categories of UEs may be configured for uplink MIMO operation in CELL_DCH
|
| 37 |
+
state.
|
| 38 |
+
- MCData private emergency alerts are targeted to an MCData user.
|
| 39 |
+
- source_sentence: What security requirement applies to the management connection
|
| 40 |
+
between a Home NodeB/Home eNodeB and the operator's management platform?
|
| 41 |
+
sentences:
|
| 42 |
+
- The management connection between a Home NodeB/Home eNodeB and the operator's
|
| 43 |
+
management platform must be end-to-end secure.
|
| 44 |
+
- The gprsSSF sends the ApplyChargingReportGPRS operation to report charging-related
|
| 45 |
+
information to the gsmSCF as previously requested.
|
| 46 |
+
- The Voice Activity Detection (VAD) algorithm uses these results.
|
| 47 |
+
- source_sentence: What is the provisioning scope for the eMLPP service?
|
| 48 |
+
sentences:
|
| 49 |
+
- eMLPP is provisioned per subscriber.
|
| 50 |
+
- The main objective is to verify that the User Equipment (UE) tracks channel variations
|
| 51 |
+
and selects the optimal transport format for frequency non-selective scheduling.
|
| 52 |
+
- SDP is used in SIP communications to describe the parameters and media capabilities
|
| 53 |
+
of a session, such as audio/video codecs, transport protocols, and IP addresses,
|
| 54 |
+
enabling participants to agree on the media types to be used.
|
| 55 |
+
datasets:
|
| 56 |
+
- KayaTechAI/Telecom-Technical-Documents-Retrieval-Embedding-Dataset
|
| 57 |
+
pipeline_tag: sentence-similarity
|
| 58 |
+
library_name: sentence-transformers
|
| 59 |
+
metrics:
|
| 60 |
+
- cosine_accuracy@1
|
| 61 |
+
- cosine_accuracy@3
|
| 62 |
+
- cosine_accuracy@5
|
| 63 |
+
- cosine_accuracy@10
|
| 64 |
+
- cosine_precision@1
|
| 65 |
+
- cosine_precision@3
|
| 66 |
+
- cosine_precision@5
|
| 67 |
+
- cosine_precision@10
|
| 68 |
+
- cosine_recall@1
|
| 69 |
+
- cosine_recall@3
|
| 70 |
+
- cosine_recall@5
|
| 71 |
+
- cosine_recall@10
|
| 72 |
+
- cosine_ndcg@10
|
| 73 |
+
- cosine_mrr@10
|
| 74 |
+
- cosine_map@100
|
| 75 |
+
model-index:
|
| 76 |
+
- name: Qwen3-Telecom-Retrieval-Embedding
|
| 77 |
+
results:
|
| 78 |
+
- task:
|
| 79 |
+
type: information-retrieval
|
| 80 |
+
name: Information Retrieval
|
| 81 |
+
dataset:
|
| 82 |
+
name: dim 1024
|
| 83 |
+
type: dim_1024
|
| 84 |
+
metrics:
|
| 85 |
+
- type: cosine_accuracy@1
|
| 86 |
+
value: 0.7988
|
| 87 |
+
name: Cosine Accuracy@1
|
| 88 |
+
- type: cosine_accuracy@3
|
| 89 |
+
value: 0.912
|
| 90 |
+
name: Cosine Accuracy@3
|
| 91 |
+
- type: cosine_accuracy@5
|
| 92 |
+
value: 0.9404
|
| 93 |
+
name: Cosine Accuracy@5
|
| 94 |
+
- type: cosine_accuracy@10
|
| 95 |
+
value: 0.9636
|
| 96 |
+
name: Cosine Accuracy@10
|
| 97 |
+
- type: cosine_precision@1
|
| 98 |
+
value: 0.7988
|
| 99 |
+
name: Cosine Precision@1
|
| 100 |
+
- type: cosine_precision@3
|
| 101 |
+
value: 0.304
|
| 102 |
+
name: Cosine Precision@3
|
| 103 |
+
- type: cosine_precision@5
|
| 104 |
+
value: 0.18808
|
| 105 |
+
name: Cosine Precision@5
|
| 106 |
+
- type: cosine_precision@10
|
| 107 |
+
value: 0.09635999999999999
|
| 108 |
+
name: Cosine Precision@10
|
| 109 |
+
- type: cosine_recall@1
|
| 110 |
+
value: 0.7988
|
| 111 |
+
name: Cosine Recall@1
|
| 112 |
+
- type: cosine_recall@3
|
| 113 |
+
value: 0.912
|
| 114 |
+
name: Cosine Recall@3
|
| 115 |
+
- type: cosine_recall@5
|
| 116 |
+
value: 0.9404
|
| 117 |
+
name: Cosine Recall@5
|
| 118 |
+
- type: cosine_recall@10
|
| 119 |
+
value: 0.9636
|
| 120 |
+
name: Cosine Recall@10
|
| 121 |
+
- type: cosine_ndcg@10
|
| 122 |
+
value: 0.8859618086372658
|
| 123 |
+
name: Cosine Ndcg@10
|
| 124 |
+
- type: cosine_mrr@10
|
| 125 |
+
value: 0.8605523809523802
|
| 126 |
+
name: Cosine Mrr@10
|
| 127 |
+
- type: cosine_map@100
|
| 128 |
+
value: 0.8621275446802356
|
| 129 |
+
name: Cosine Map@100
|
| 130 |
+
- task:
|
| 131 |
+
type: information-retrieval
|
| 132 |
+
name: Information Retrieval
|
| 133 |
+
dataset:
|
| 134 |
+
name: dim 768
|
| 135 |
+
type: dim_768
|
| 136 |
+
metrics:
|
| 137 |
+
- type: cosine_accuracy@1
|
| 138 |
+
value: 0.7996
|
| 139 |
+
name: Cosine Accuracy@1
|
| 140 |
+
- type: cosine_accuracy@3
|
| 141 |
+
value: 0.9148
|
| 142 |
+
name: Cosine Accuracy@3
|
| 143 |
+
- type: cosine_accuracy@5
|
| 144 |
+
value: 0.9408
|
| 145 |
+
name: Cosine Accuracy@5
|
| 146 |
+
- type: cosine_accuracy@10
|
| 147 |
+
value: 0.9624
|
| 148 |
+
name: Cosine Accuracy@10
|
| 149 |
+
- type: cosine_precision@1
|
| 150 |
+
value: 0.7996
|
| 151 |
+
name: Cosine Precision@1
|
| 152 |
+
- type: cosine_precision@3
|
| 153 |
+
value: 0.30493333333333333
|
| 154 |
+
name: Cosine Precision@3
|
| 155 |
+
- type: cosine_precision@5
|
| 156 |
+
value: 0.18816
|
| 157 |
+
name: Cosine Precision@5
|
| 158 |
+
- type: cosine_precision@10
|
| 159 |
+
value: 0.09623999999999999
|
| 160 |
+
name: Cosine Precision@10
|
| 161 |
+
- type: cosine_recall@1
|
| 162 |
+
value: 0.7996
|
| 163 |
+
name: Cosine Recall@1
|
| 164 |
+
- type: cosine_recall@3
|
| 165 |
+
value: 0.9148
|
| 166 |
+
name: Cosine Recall@3
|
| 167 |
+
- type: cosine_recall@5
|
| 168 |
+
value: 0.9408
|
| 169 |
+
name: Cosine Recall@5
|
| 170 |
+
- type: cosine_recall@10
|
| 171 |
+
value: 0.9624
|
| 172 |
+
name: Cosine Recall@10
|
| 173 |
+
- type: cosine_ndcg@10
|
| 174 |
+
value: 0.8858790284237884
|
| 175 |
+
name: Cosine Ndcg@10
|
| 176 |
+
- type: cosine_mrr@10
|
| 177 |
+
value: 0.8607868253968247
|
| 178 |
+
name: Cosine Mrr@10
|
| 179 |
+
- type: cosine_map@100
|
| 180 |
+
value: 0.8624659694868436
|
| 181 |
+
name: Cosine Map@100
|
| 182 |
+
- task:
|
| 183 |
+
type: information-retrieval
|
| 184 |
+
name: Information Retrieval
|
| 185 |
+
dataset:
|
| 186 |
+
name: dim 512
|
| 187 |
+
type: dim_512
|
| 188 |
+
metrics:
|
| 189 |
+
- type: cosine_accuracy@1
|
| 190 |
+
value: 0.7968
|
| 191 |
+
name: Cosine Accuracy@1
|
| 192 |
+
- type: cosine_accuracy@3
|
| 193 |
+
value: 0.9128
|
| 194 |
+
name: Cosine Accuracy@3
|
| 195 |
+
- type: cosine_accuracy@5
|
| 196 |
+
value: 0.9388
|
| 197 |
+
name: Cosine Accuracy@5
|
| 198 |
+
- type: cosine_accuracy@10
|
| 199 |
+
value: 0.962
|
| 200 |
+
name: Cosine Accuracy@10
|
| 201 |
+
- type: cosine_precision@1
|
| 202 |
+
value: 0.7968
|
| 203 |
+
name: Cosine Precision@1
|
| 204 |
+
- type: cosine_precision@3
|
| 205 |
+
value: 0.3042666666666667
|
| 206 |
+
name: Cosine Precision@3
|
| 207 |
+
- type: cosine_precision@5
|
| 208 |
+
value: 0.18775999999999998
|
| 209 |
+
name: Cosine Precision@5
|
| 210 |
+
- type: cosine_precision@10
|
| 211 |
+
value: 0.0962
|
| 212 |
+
name: Cosine Precision@10
|
| 213 |
+
- type: cosine_recall@1
|
| 214 |
+
value: 0.7968
|
| 215 |
+
name: Cosine Recall@1
|
| 216 |
+
- type: cosine_recall@3
|
| 217 |
+
value: 0.9128
|
| 218 |
+
name: Cosine Recall@3
|
| 219 |
+
- type: cosine_recall@5
|
| 220 |
+
value: 0.9388
|
| 221 |
+
name: Cosine Recall@5
|
| 222 |
+
- type: cosine_recall@10
|
| 223 |
+
value: 0.962
|
| 224 |
+
name: Cosine Recall@10
|
| 225 |
+
- type: cosine_ndcg@10
|
| 226 |
+
value: 0.8843651226363695
|
| 227 |
+
name: Cosine Ndcg@10
|
| 228 |
+
- type: cosine_mrr@10
|
| 229 |
+
value: 0.8589399999999993
|
| 230 |
+
name: Cosine Mrr@10
|
| 231 |
+
- type: cosine_map@100
|
| 232 |
+
value: 0.8605751171152864
|
| 233 |
+
name: Cosine Map@100
|
| 234 |
+
- task:
|
| 235 |
+
type: information-retrieval
|
| 236 |
+
name: Information Retrieval
|
| 237 |
+
dataset:
|
| 238 |
+
name: dim 256
|
| 239 |
+
type: dim_256
|
| 240 |
+
metrics:
|
| 241 |
+
- type: cosine_accuracy@1
|
| 242 |
+
value: 0.7804
|
| 243 |
+
name: Cosine Accuracy@1
|
| 244 |
+
- type: cosine_accuracy@3
|
| 245 |
+
value: 0.912
|
| 246 |
+
name: Cosine Accuracy@3
|
| 247 |
+
- type: cosine_accuracy@5
|
| 248 |
+
value: 0.9316
|
| 249 |
+
name: Cosine Accuracy@5
|
| 250 |
+
- type: cosine_accuracy@10
|
| 251 |
+
value: 0.9584
|
| 252 |
+
name: Cosine Accuracy@10
|
| 253 |
+
- type: cosine_precision@1
|
| 254 |
+
value: 0.7804
|
| 255 |
+
name: Cosine Precision@1
|
| 256 |
+
- type: cosine_precision@3
|
| 257 |
+
value: 0.304
|
| 258 |
+
name: Cosine Precision@3
|
| 259 |
+
- type: cosine_precision@5
|
| 260 |
+
value: 0.18631999999999999
|
| 261 |
+
name: Cosine Precision@5
|
| 262 |
+
- type: cosine_precision@10
|
| 263 |
+
value: 0.09584
|
| 264 |
+
name: Cosine Precision@10
|
| 265 |
+
- type: cosine_recall@1
|
| 266 |
+
value: 0.7804
|
| 267 |
+
name: Cosine Recall@1
|
| 268 |
+
- type: cosine_recall@3
|
| 269 |
+
value: 0.912
|
| 270 |
+
name: Cosine Recall@3
|
| 271 |
+
- type: cosine_recall@5
|
| 272 |
+
value: 0.9316
|
| 273 |
+
name: Cosine Recall@5
|
| 274 |
+
- type: cosine_recall@10
|
| 275 |
+
value: 0.9584
|
| 276 |
+
name: Cosine Recall@10
|
| 277 |
+
- type: cosine_ndcg@10
|
| 278 |
+
value: 0.8752571815294748
|
| 279 |
+
name: Cosine Ndcg@10
|
| 280 |
+
- type: cosine_mrr@10
|
| 281 |
+
value: 0.8479898412698406
|
| 282 |
+
name: Cosine Mrr@10
|
| 283 |
+
- type: cosine_map@100
|
| 284 |
+
value: 0.8496344353490233
|
| 285 |
+
name: Cosine Map@100
|
| 286 |
+
- task:
|
| 287 |
+
type: information-retrieval
|
| 288 |
+
name: Information Retrieval
|
| 289 |
+
dataset:
|
| 290 |
+
name: dim 128
|
| 291 |
+
type: dim_128
|
| 292 |
+
metrics:
|
| 293 |
+
- type: cosine_accuracy@1
|
| 294 |
+
value: 0.7696
|
| 295 |
+
name: Cosine Accuracy@1
|
| 296 |
+
- type: cosine_accuracy@3
|
| 297 |
+
value: 0.898
|
| 298 |
+
name: Cosine Accuracy@3
|
| 299 |
+
- type: cosine_accuracy@5
|
| 300 |
+
value: 0.9268
|
| 301 |
+
name: Cosine Accuracy@5
|
| 302 |
+
- type: cosine_accuracy@10
|
| 303 |
+
value: 0.9524
|
| 304 |
+
name: Cosine Accuracy@10
|
| 305 |
+
- type: cosine_precision@1
|
| 306 |
+
value: 0.7696
|
| 307 |
+
name: Cosine Precision@1
|
| 308 |
+
- type: cosine_precision@3
|
| 309 |
+
value: 0.2993333333333333
|
| 310 |
+
name: Cosine Precision@3
|
| 311 |
+
- type: cosine_precision@5
|
| 312 |
+
value: 0.18536
|
| 313 |
+
name: Cosine Precision@5
|
| 314 |
+
- type: cosine_precision@10
|
| 315 |
+
value: 0.09523999999999999
|
| 316 |
+
name: Cosine Precision@10
|
| 317 |
+
- type: cosine_recall@1
|
| 318 |
+
value: 0.7696
|
| 319 |
+
name: Cosine Recall@1
|
| 320 |
+
- type: cosine_recall@3
|
| 321 |
+
value: 0.898
|
| 322 |
+
name: Cosine Recall@3
|
| 323 |
+
- type: cosine_recall@5
|
| 324 |
+
value: 0.9268
|
| 325 |
+
name: Cosine Recall@5
|
| 326 |
+
- type: cosine_recall@10
|
| 327 |
+
value: 0.9524
|
| 328 |
+
name: Cosine Recall@10
|
| 329 |
+
- type: cosine_ndcg@10
|
| 330 |
+
value: 0.8663037855066872
|
| 331 |
+
name: Cosine Ndcg@10
|
| 332 |
+
- type: cosine_mrr@10
|
| 333 |
+
value: 0.838086349206348
|
| 334 |
+
name: Cosine Mrr@10
|
| 335 |
+
- type: cosine_map@100
|
| 336 |
+
value: 0.8398504688016839
|
| 337 |
+
name: Cosine Map@100
|
| 338 |
+
- task:
|
| 339 |
+
type: information-retrieval
|
| 340 |
+
name: Information Retrieval
|
| 341 |
+
dataset:
|
| 342 |
+
name: dim 64
|
| 343 |
+
type: dim_64
|
| 344 |
+
metrics:
|
| 345 |
+
- type: cosine_accuracy@1
|
| 346 |
+
value: 0.75
|
| 347 |
+
name: Cosine Accuracy@1
|
| 348 |
+
- type: cosine_accuracy@3
|
| 349 |
+
value: 0.8816
|
| 350 |
+
name: Cosine Accuracy@3
|
| 351 |
+
- type: cosine_accuracy@5
|
| 352 |
+
value: 0.9124
|
| 353 |
+
name: Cosine Accuracy@5
|
| 354 |
+
- type: cosine_accuracy@10
|
| 355 |
+
value: 0.9456
|
| 356 |
+
name: Cosine Accuracy@10
|
| 357 |
+
- type: cosine_precision@1
|
| 358 |
+
value: 0.75
|
| 359 |
+
name: Cosine Precision@1
|
| 360 |
+
- type: cosine_precision@3
|
| 361 |
+
value: 0.2938666666666666
|
| 362 |
+
name: Cosine Precision@3
|
| 363 |
+
- type: cosine_precision@5
|
| 364 |
+
value: 0.18247999999999998
|
| 365 |
+
name: Cosine Precision@5
|
| 366 |
+
- type: cosine_precision@10
|
| 367 |
+
value: 0.09455999999999999
|
| 368 |
+
name: Cosine Precision@10
|
| 369 |
+
- type: cosine_recall@1
|
| 370 |
+
value: 0.75
|
| 371 |
+
name: Cosine Recall@1
|
| 372 |
+
- type: cosine_recall@3
|
| 373 |
+
value: 0.8816
|
| 374 |
+
name: Cosine Recall@3
|
| 375 |
+
- type: cosine_recall@5
|
| 376 |
+
value: 0.9124
|
| 377 |
+
name: Cosine Recall@5
|
| 378 |
+
- type: cosine_recall@10
|
| 379 |
+
value: 0.9456
|
| 380 |
+
name: Cosine Recall@10
|
| 381 |
+
- type: cosine_ndcg@10
|
| 382 |
+
value: 0.8521807025695157
|
| 383 |
+
name: Cosine Ndcg@10
|
| 384 |
+
- type: cosine_mrr@10
|
| 385 |
+
value: 0.8217822222222212
|
| 386 |
+
name: Cosine Mrr@10
|
| 387 |
+
- type: cosine_map@100
|
| 388 |
+
value: 0.8236280446503726
|
| 389 |
+
name: Cosine Map@100
|
| 390 |
+
---
|
| 391 |
+
|
| 392 |
+
# Qwen3-Telecom-Retrieval-Embedding
|
| 393 |
+
|
| 394 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Qwen/Qwen3-Embedding-0.6B](https://huggingface.co/Qwen/Qwen3-Embedding-0.6B) on the [telecom-technical-documents-retrieval-embedding-dataset](https://huggingface.co/datasets/KayaTechAI/Telecom-Technical-Documents-Retrieval-Embedding-Dataset) dataset. 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.
|
| 395 |
+
|
| 396 |
+
## Model Details
|
| 397 |
+
|
| 398 |
+
### Model Description
|
| 399 |
+
- **Model Type:** Sentence Transformer
|
| 400 |
+
- **Base model:** [Qwen/Qwen3-Embedding-0.6B](https://huggingface.co/Qwen/Qwen3-Embedding-0.6B) <!-- at revision c54f2e6e80b2d7b7de06f51cec4959f6b3e03418 -->
|
| 401 |
+
- **Maximum Sequence Length:** 32768 tokens
|
| 402 |
+
- **Output Dimensionality:** 1024 dimensions
|
| 403 |
+
- **Similarity Function:** Cosine Similarity
|
| 404 |
+
- **Training Dataset:**
|
| 405 |
+
- [telecom-technical-documents-retrieval-embedding-dataset](https://huggingface.co/datasets/KayaTechAI/Telecom-Technical-Documents-Retrieval-Embedding-Dataset)
|
| 406 |
+
- **Language:** en
|
| 407 |
+
- **License:** apache-2.0
|
| 408 |
+
|
| 409 |
+
### Model Sources
|
| 410 |
+
|
| 411 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
| 412 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
|
| 413 |
+
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
| 414 |
+
|
| 415 |
+
### Full Model Architecture
|
| 416 |
+
|
| 417 |
+
```
|
| 418 |
+
SentenceTransformer(
|
| 419 |
+
(0): Transformer({'max_seq_length': 32768, 'do_lower_case': False, 'architecture': 'Qwen3Model'})
|
| 420 |
+
(1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': True, 'include_prompt': True})
|
| 421 |
+
(2): Normalize()
|
| 422 |
+
)
|
| 423 |
+
```
|
| 424 |
+
|
| 425 |
+
## Usage
|
| 426 |
+
|
| 427 |
+
### Direct Usage (Sentence Transformers)
|
| 428 |
+
|
| 429 |
+
First install the Sentence Transformers library:
|
| 430 |
+
|
| 431 |
+
```bash
|
| 432 |
+
pip install -U sentence-transformers
|
| 433 |
+
```
|
| 434 |
+
|
| 435 |
+
Then you can load this model and run inference.
|
| 436 |
+
```python
|
| 437 |
+
from sentence_transformers import SentenceTransformer
|
| 438 |
+
|
| 439 |
+
# Download from the 🤗 Hub
|
| 440 |
+
model = SentenceTransformer("KayaTechAI/Qwen3-0.6B-Fine-Tuned-Telecom-Technical-Documents-Retrieval-Embedding-Generalization-Baseline")
|
| 441 |
+
# Run inference
|
| 442 |
+
queries = [
|
| 443 |
+
"What is the provisioning scope for the eMLPP service?",
|
| 444 |
+
]
|
| 445 |
+
documents = [
|
| 446 |
+
'eMLPP is provisioned per subscriber.',
|
| 447 |
+
'The main objective is to verify that the User Equipment (UE) tracks channel variations and selects the optimal transport format for frequency non-selective scheduling.',
|
| 448 |
+
'SDP is used in SIP communications to describe the parameters and media capabilities of a session, such as audio/video codecs, transport protocols, and IP addresses, enabling participants to agree on the media types to be used.',
|
| 449 |
+
]
|
| 450 |
+
query_embeddings = model.encode_query(queries)
|
| 451 |
+
document_embeddings = model.encode_document(documents)
|
| 452 |
+
print(query_embeddings.shape, document_embeddings.shape)
|
| 453 |
+
# [1, 1024] [3, 1024]
|
| 454 |
+
|
| 455 |
+
# Get the similarity scores for the embeddings
|
| 456 |
+
similarities = model.similarity(query_embeddings, document_embeddings)
|
| 457 |
+
print(similarities)
|
| 458 |
+
# tensor([[ 0.6303, -0.0008, -0.0340]])
|
| 459 |
+
```
|
| 460 |
+
|
| 461 |
+
<!--
|
| 462 |
+
### Direct Usage (Transformers)
|
| 463 |
+
|
| 464 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
| 465 |
+
|
| 466 |
+
</details>
|
| 467 |
+
-->
|
| 468 |
+
|
| 469 |
+
<!--
|
| 470 |
+
### Downstream Usage (Sentence Transformers)
|
| 471 |
+
|
| 472 |
+
You can finetune this model on your own dataset.
|
| 473 |
+
|
| 474 |
+
<details><summary>Click to expand</summary>
|
| 475 |
+
|
| 476 |
+
</details>
|
| 477 |
+
-->
|
| 478 |
+
|
| 479 |
+
<!--
|
| 480 |
+
### Out-of-Scope Use
|
| 481 |
+
|
| 482 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 483 |
+
-->
|
| 484 |
+
|
| 485 |
+
## Evaluation
|
| 486 |
+
|
| 487 |
+
### Metrics
|
| 488 |
+
|
| 489 |
+
#### Information Retrieval
|
| 490 |
+
|
| 491 |
+
* Dataset: `dim_1024`
|
| 492 |
+
* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator) with these parameters:
|
| 493 |
+
```json
|
| 494 |
+
{
|
| 495 |
+
"truncate_dim": 1024
|
| 496 |
+
}
|
| 497 |
+
```
|
| 498 |
+
|
| 499 |
+
| Metric | Value |
|
| 500 |
+
|:--------------------|:----------|
|
| 501 |
+
| cosine_accuracy@1 | 0.7988 |
|
| 502 |
+
| cosine_accuracy@3 | 0.912 |
|
| 503 |
+
| cosine_accuracy@5 | 0.9404 |
|
| 504 |
+
| cosine_accuracy@10 | 0.9636 |
|
| 505 |
+
| cosine_precision@1 | 0.7988 |
|
| 506 |
+
| cosine_precision@3 | 0.304 |
|
| 507 |
+
| cosine_precision@5 | 0.1881 |
|
| 508 |
+
| cosine_precision@10 | 0.0964 |
|
| 509 |
+
| cosine_recall@1 | 0.7988 |
|
| 510 |
+
| cosine_recall@3 | 0.912 |
|
| 511 |
+
| cosine_recall@5 | 0.9404 |
|
| 512 |
+
| cosine_recall@10 | 0.9636 |
|
| 513 |
+
| **cosine_ndcg@10** | **0.886** |
|
| 514 |
+
| cosine_mrr@10 | 0.8606 |
|
| 515 |
+
| cosine_map@100 | 0.8621 |
|
| 516 |
+
|
| 517 |
+
#### Information Retrieval
|
| 518 |
+
|
| 519 |
+
* Dataset: `dim_768`
|
| 520 |
+
* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator) with these parameters:
|
| 521 |
+
```json
|
| 522 |
+
{
|
| 523 |
+
"truncate_dim": 768
|
| 524 |
+
}
|
| 525 |
+
```
|
| 526 |
+
|
| 527 |
+
| Metric | Value |
|
| 528 |
+
|:--------------------|:-----------|
|
| 529 |
+
| cosine_accuracy@1 | 0.7996 |
|
| 530 |
+
| cosine_accuracy@3 | 0.9148 |
|
| 531 |
+
| cosine_accuracy@5 | 0.9408 |
|
| 532 |
+
| cosine_accuracy@10 | 0.9624 |
|
| 533 |
+
| cosine_precision@1 | 0.7996 |
|
| 534 |
+
| cosine_precision@3 | 0.3049 |
|
| 535 |
+
| cosine_precision@5 | 0.1882 |
|
| 536 |
+
| cosine_precision@10 | 0.0962 |
|
| 537 |
+
| cosine_recall@1 | 0.7996 |
|
| 538 |
+
| cosine_recall@3 | 0.9148 |
|
| 539 |
+
| cosine_recall@5 | 0.9408 |
|
| 540 |
+
| cosine_recall@10 | 0.9624 |
|
| 541 |
+
| **cosine_ndcg@10** | **0.8859** |
|
| 542 |
+
| cosine_mrr@10 | 0.8608 |
|
| 543 |
+
| cosine_map@100 | 0.8625 |
|
| 544 |
+
|
| 545 |
+
#### Information Retrieval
|
| 546 |
+
|
| 547 |
+
* Dataset: `dim_512`
|
| 548 |
+
* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator) with these parameters:
|
| 549 |
+
```json
|
| 550 |
+
{
|
| 551 |
+
"truncate_dim": 512
|
| 552 |
+
}
|
| 553 |
+
```
|
| 554 |
+
|
| 555 |
+
| Metric | Value |
|
| 556 |
+
|:--------------------|:-----------|
|
| 557 |
+
| cosine_accuracy@1 | 0.7968 |
|
| 558 |
+
| cosine_accuracy@3 | 0.9128 |
|
| 559 |
+
| cosine_accuracy@5 | 0.9388 |
|
| 560 |
+
| cosine_accuracy@10 | 0.962 |
|
| 561 |
+
| cosine_precision@1 | 0.7968 |
|
| 562 |
+
| cosine_precision@3 | 0.3043 |
|
| 563 |
+
| cosine_precision@5 | 0.1878 |
|
| 564 |
+
| cosine_precision@10 | 0.0962 |
|
| 565 |
+
| cosine_recall@1 | 0.7968 |
|
| 566 |
+
| cosine_recall@3 | 0.9128 |
|
| 567 |
+
| cosine_recall@5 | 0.9388 |
|
| 568 |
+
| cosine_recall@10 | 0.962 |
|
| 569 |
+
| **cosine_ndcg@10** | **0.8844** |
|
| 570 |
+
| cosine_mrr@10 | 0.8589 |
|
| 571 |
+
| cosine_map@100 | 0.8606 |
|
| 572 |
+
|
| 573 |
+
#### Information Retrieval
|
| 574 |
+
|
| 575 |
+
* Dataset: `dim_256`
|
| 576 |
+
* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator) with these parameters:
|
| 577 |
+
```json
|
| 578 |
+
{
|
| 579 |
+
"truncate_dim": 256
|
| 580 |
+
}
|
| 581 |
+
```
|
| 582 |
+
|
| 583 |
+
| Metric | Value |
|
| 584 |
+
|:--------------------|:-----------|
|
| 585 |
+
| cosine_accuracy@1 | 0.7804 |
|
| 586 |
+
| cosine_accuracy@3 | 0.912 |
|
| 587 |
+
| cosine_accuracy@5 | 0.9316 |
|
| 588 |
+
| cosine_accuracy@10 | 0.9584 |
|
| 589 |
+
| cosine_precision@1 | 0.7804 |
|
| 590 |
+
| cosine_precision@3 | 0.304 |
|
| 591 |
+
| cosine_precision@5 | 0.1863 |
|
| 592 |
+
| cosine_precision@10 | 0.0958 |
|
| 593 |
+
| cosine_recall@1 | 0.7804 |
|
| 594 |
+
| cosine_recall@3 | 0.912 |
|
| 595 |
+
| cosine_recall@5 | 0.9316 |
|
| 596 |
+
| cosine_recall@10 | 0.9584 |
|
| 597 |
+
| **cosine_ndcg@10** | **0.8753** |
|
| 598 |
+
| cosine_mrr@10 | 0.848 |
|
| 599 |
+
| cosine_map@100 | 0.8496 |
|
| 600 |
+
|
| 601 |
+
#### Information Retrieval
|
| 602 |
+
|
| 603 |
+
* Dataset: `dim_128`
|
| 604 |
+
* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator) with these parameters:
|
| 605 |
+
```json
|
| 606 |
+
{
|
| 607 |
+
"truncate_dim": 128
|
| 608 |
+
}
|
| 609 |
+
```
|
| 610 |
+
|
| 611 |
+
| Metric | Value |
|
| 612 |
+
|:--------------------|:-----------|
|
| 613 |
+
| cosine_accuracy@1 | 0.7696 |
|
| 614 |
+
| cosine_accuracy@3 | 0.898 |
|
| 615 |
+
| cosine_accuracy@5 | 0.9268 |
|
| 616 |
+
| cosine_accuracy@10 | 0.9524 |
|
| 617 |
+
| cosine_precision@1 | 0.7696 |
|
| 618 |
+
| cosine_precision@3 | 0.2993 |
|
| 619 |
+
| cosine_precision@5 | 0.1854 |
|
| 620 |
+
| cosine_precision@10 | 0.0952 |
|
| 621 |
+
| cosine_recall@1 | 0.7696 |
|
| 622 |
+
| cosine_recall@3 | 0.898 |
|
| 623 |
+
| cosine_recall@5 | 0.9268 |
|
| 624 |
+
| cosine_recall@10 | 0.9524 |
|
| 625 |
+
| **cosine_ndcg@10** | **0.8663** |
|
| 626 |
+
| cosine_mrr@10 | 0.8381 |
|
| 627 |
+
| cosine_map@100 | 0.8399 |
|
| 628 |
+
|
| 629 |
+
#### Information Retrieval
|
| 630 |
+
|
| 631 |
+
* Dataset: `dim_64`
|
| 632 |
+
* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator) with these parameters:
|
| 633 |
+
```json
|
| 634 |
+
{
|
| 635 |
+
"truncate_dim": 64
|
| 636 |
+
}
|
| 637 |
+
```
|
| 638 |
+
|
| 639 |
+
| Metric | Value |
|
| 640 |
+
|:--------------------|:-----------|
|
| 641 |
+
| cosine_accuracy@1 | 0.75 |
|
| 642 |
+
| cosine_accuracy@3 | 0.8816 |
|
| 643 |
+
| cosine_accuracy@5 | 0.9124 |
|
| 644 |
+
| cosine_accuracy@10 | 0.9456 |
|
| 645 |
+
| cosine_precision@1 | 0.75 |
|
| 646 |
+
| cosine_precision@3 | 0.2939 |
|
| 647 |
+
| cosine_precision@5 | 0.1825 |
|
| 648 |
+
| cosine_precision@10 | 0.0946 |
|
| 649 |
+
| cosine_recall@1 | 0.75 |
|
| 650 |
+
| cosine_recall@3 | 0.8816 |
|
| 651 |
+
| cosine_recall@5 | 0.9124 |
|
| 652 |
+
| cosine_recall@10 | 0.9456 |
|
| 653 |
+
| **cosine_ndcg@10** | **0.8522** |
|
| 654 |
+
| cosine_mrr@10 | 0.8218 |
|
| 655 |
+
| cosine_map@100 | 0.8236 |
|
| 656 |
+
|
| 657 |
+
<!--
|
| 658 |
+
## Bias, Risks and Limitations
|
| 659 |
+
|
| 660 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
| 661 |
+
-->
|
| 662 |
+
|
| 663 |
+
<!--
|
| 664 |
+
### Recommendations
|
| 665 |
+
|
| 666 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
| 667 |
+
-->
|
| 668 |
+
|
| 669 |
+
## Training Details
|
| 670 |
+
|
| 671 |
+
### Training Dataset
|
| 672 |
+
|
| 673 |
+
#### telecom-technical-documents-retrieval-embedding-dataset
|
| 674 |
+
|
| 675 |
+
* Dataset: [telecom-technical-documents-retrieval-embedding-dataset](https://huggingface.co/datasets/KayaTechAI/Telecom-Technical-Documents-Retrieval-Embedding-Dataset) at [3ebf34a](https://huggingface.co/datasets/KayaTechAI/Telecom-Technical-Documents-Retrieval-Embedding-Dataset/tree/3ebf34ac897dfe81466bafbc12685ac2571eb8a1)
|
| 676 |
+
* Size: 127,731 training samples
|
| 677 |
+
* Columns: <code>anchor</code> and <code>positive</code>
|
| 678 |
+
* Approximate statistics based on the first 1000 samples:
|
| 679 |
+
| | anchor | positive |
|
| 680 |
+
|:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
|
| 681 |
+
| type | string | string |
|
| 682 |
+
| details | <ul><li>min: 7 tokens</li><li>mean: 18.79 tokens</li><li>max: 68 tokens</li></ul> | <ul><li>min: 4 tokens</li><li>mean: 26.09 tokens</li><li>max: 77 tokens</li></ul> |
|
| 683 |
+
* Samples:
|
| 684 |
+
| anchor | positive |
|
| 685 |
+
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| 686 |
+
| <code>What is the estimated Transmit power considered sufficient for achieving 95% Downlink coverage with a single Base Station?</code> | <code>Approximately 14 dBm Transmit power is considered sufficient.</code> |
|
| 687 |
+
| <code>What is the primary goal of the Nominal Accuracy requirement?</code> | <code>The primary goal of the Nominal Accuracy requirement is to ensure good accuracy when signal conditions are ideal.</code> |
|
| 688 |
+
| <code>What happens on the mobile station side if contention resolution fails because the G-RNTI value in the network's acknowledgement message differs from what the mobile station sent?</code> | <code>If the mobile station receives a PACKET UPLINK ACK/NACK message with a G-RNTI value different from the one it included in its first RLC data blocks, it signifies a contention resolution failure, and the mobile station will not transmit a PACKET CONTROL ACKNOWLEDGEMENT.</code> |
|
| 689 |
+
* Loss: [<code>MatryoshkaLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#matryoshkaloss) with these parameters:
|
| 690 |
+
```json
|
| 691 |
+
{
|
| 692 |
+
"loss": "MultipleNegativesRankingLoss",
|
| 693 |
+
"matryoshka_dims": [
|
| 694 |
+
1024,
|
| 695 |
+
768,
|
| 696 |
+
512,
|
| 697 |
+
256,
|
| 698 |
+
128,
|
| 699 |
+
64
|
| 700 |
+
],
|
| 701 |
+
"matryoshka_weights": [
|
| 702 |
+
1,
|
| 703 |
+
1,
|
| 704 |
+
1,
|
| 705 |
+
1,
|
| 706 |
+
1,
|
| 707 |
+
1
|
| 708 |
+
],
|
| 709 |
+
"n_dims_per_step": -1
|
| 710 |
+
}
|
| 711 |
+
```
|
| 712 |
+
|
| 713 |
+
### Training Hyperparameters
|
| 714 |
+
#### Non-Default Hyperparameters
|
| 715 |
+
|
| 716 |
+
- `eval_strategy`: epoch
|
| 717 |
+
- `per_device_train_batch_size`: 32
|
| 718 |
+
- `per_device_eval_batch_size`: 32
|
| 719 |
+
- `gradient_accumulation_steps`: 16
|
| 720 |
+
- `learning_rate`: 2e-05
|
| 721 |
+
- `num_train_epochs`: 4
|
| 722 |
+
- `lr_scheduler_type`: cosine
|
| 723 |
+
- `warmup_ratio`: 0.1
|
| 724 |
+
- `bf16`: True
|
| 725 |
+
- `tf32`: True
|
| 726 |
+
- `load_best_model_at_end`: True
|
| 727 |
+
- `batch_sampler`: no_duplicates
|
| 728 |
+
|
| 729 |
+
#### All Hyperparameters
|
| 730 |
+
<details><summary>Click to expand</summary>
|
| 731 |
+
|
| 732 |
+
- `overwrite_output_dir`: False
|
| 733 |
+
- `do_predict`: False
|
| 734 |
+
- `eval_strategy`: epoch
|
| 735 |
+
- `prediction_loss_only`: True
|
| 736 |
+
- `per_device_train_batch_size`: 32
|
| 737 |
+
- `per_device_eval_batch_size`: 32
|
| 738 |
+
- `per_gpu_train_batch_size`: None
|
| 739 |
+
- `per_gpu_eval_batch_size`: None
|
| 740 |
+
- `gradient_accumulation_steps`: 16
|
| 741 |
+
- `eval_accumulation_steps`: None
|
| 742 |
+
- `torch_empty_cache_steps`: None
|
| 743 |
+
- `learning_rate`: 2e-05
|
| 744 |
+
- `weight_decay`: 0.0
|
| 745 |
+
- `adam_beta1`: 0.9
|
| 746 |
+
- `adam_beta2`: 0.999
|
| 747 |
+
- `adam_epsilon`: 1e-08
|
| 748 |
+
- `max_grad_norm`: 1.0
|
| 749 |
+
- `num_train_epochs`: 4
|
| 750 |
+
- `max_steps`: -1
|
| 751 |
+
- `lr_scheduler_type`: cosine
|
| 752 |
+
- `lr_scheduler_kwargs`: {}
|
| 753 |
+
- `warmup_ratio`: 0.1
|
| 754 |
+
- `warmup_steps`: 0
|
| 755 |
+
- `log_level`: passive
|
| 756 |
+
- `log_level_replica`: warning
|
| 757 |
+
- `log_on_each_node`: True
|
| 758 |
+
- `logging_nan_inf_filter`: True
|
| 759 |
+
- `save_safetensors`: True
|
| 760 |
+
- `save_on_each_node`: False
|
| 761 |
+
- `save_only_model`: False
|
| 762 |
+
- `restore_callback_states_from_checkpoint`: False
|
| 763 |
+
- `no_cuda`: False
|
| 764 |
+
- `use_cpu`: False
|
| 765 |
+
- `use_mps_device`: False
|
| 766 |
+
- `seed`: 42
|
| 767 |
+
- `data_seed`: None
|
| 768 |
+
- `jit_mode_eval`: False
|
| 769 |
+
- `use_ipex`: False
|
| 770 |
+
- `bf16`: True
|
| 771 |
+
- `fp16`: False
|
| 772 |
+
- `fp16_opt_level`: O1
|
| 773 |
+
- `half_precision_backend`: auto
|
| 774 |
+
- `bf16_full_eval`: False
|
| 775 |
+
- `fp16_full_eval`: False
|
| 776 |
+
- `tf32`: True
|
| 777 |
+
- `local_rank`: 0
|
| 778 |
+
- `ddp_backend`: None
|
| 779 |
+
- `tpu_num_cores`: None
|
| 780 |
+
- `tpu_metrics_debug`: False
|
| 781 |
+
- `debug`: []
|
| 782 |
+
- `dataloader_drop_last`: False
|
| 783 |
+
- `dataloader_num_workers`: 0
|
| 784 |
+
- `dataloader_prefetch_factor`: None
|
| 785 |
+
- `past_index`: -1
|
| 786 |
+
- `disable_tqdm`: False
|
| 787 |
+
- `remove_unused_columns`: True
|
| 788 |
+
- `label_names`: None
|
| 789 |
+
- `load_best_model_at_end`: True
|
| 790 |
+
- `ignore_data_skip`: False
|
| 791 |
+
- `fsdp`: []
|
| 792 |
+
- `fsdp_min_num_params`: 0
|
| 793 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
| 794 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
| 795 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
| 796 |
+
- `deepspeed`: None
|
| 797 |
+
- `label_smoothing_factor`: 0.0
|
| 798 |
+
- `optim`: adamw_torch_fused
|
| 799 |
+
- `optim_args`: None
|
| 800 |
+
- `adafactor`: False
|
| 801 |
+
- `group_by_length`: False
|
| 802 |
+
- `length_column_name`: length
|
| 803 |
+
- `ddp_find_unused_parameters`: None
|
| 804 |
+
- `ddp_bucket_cap_mb`: None
|
| 805 |
+
- `ddp_broadcast_buffers`: False
|
| 806 |
+
- `dataloader_pin_memory`: True
|
| 807 |
+
- `dataloader_persistent_workers`: False
|
| 808 |
+
- `skip_memory_metrics`: True
|
| 809 |
+
- `use_legacy_prediction_loop`: False
|
| 810 |
+
- `push_to_hub`: False
|
| 811 |
+
- `resume_from_checkpoint`: None
|
| 812 |
+
- `hub_model_id`: None
|
| 813 |
+
- `hub_strategy`: every_save
|
| 814 |
+
- `hub_private_repo`: None
|
| 815 |
+
- `hub_always_push`: False
|
| 816 |
+
- `hub_revision`: None
|
| 817 |
+
- `gradient_checkpointing`: False
|
| 818 |
+
- `gradient_checkpointing_kwargs`: None
|
| 819 |
+
- `include_inputs_for_metrics`: False
|
| 820 |
+
- `include_for_metrics`: []
|
| 821 |
+
- `eval_do_concat_batches`: True
|
| 822 |
+
- `fp16_backend`: auto
|
| 823 |
+
- `push_to_hub_model_id`: None
|
| 824 |
+
- `push_to_hub_organization`: None
|
| 825 |
+
- `mp_parameters`:
|
| 826 |
+
- `auto_find_batch_size`: False
|
| 827 |
+
- `full_determinism`: False
|
| 828 |
+
- `torchdynamo`: None
|
| 829 |
+
- `ray_scope`: last
|
| 830 |
+
- `ddp_timeout`: 1800
|
| 831 |
+
- `torch_compile`: False
|
| 832 |
+
- `torch_compile_backend`: None
|
| 833 |
+
- `torch_compile_mode`: None
|
| 834 |
+
- `include_tokens_per_second`: False
|
| 835 |
+
- `include_num_input_tokens_seen`: False
|
| 836 |
+
- `neftune_noise_alpha`: None
|
| 837 |
+
- `optim_target_modules`: None
|
| 838 |
+
- `batch_eval_metrics`: False
|
| 839 |
+
- `eval_on_start`: False
|
| 840 |
+
- `use_liger_kernel`: False
|
| 841 |
+
- `liger_kernel_config`: None
|
| 842 |
+
- `eval_use_gather_object`: False
|
| 843 |
+
- `average_tokens_across_devices`: False
|
| 844 |
+
- `prompts`: None
|
| 845 |
+
- `batch_sampler`: no_duplicates
|
| 846 |
+
- `multi_dataset_batch_sampler`: proportional
|
| 847 |
+
- `router_mapping`: {}
|
| 848 |
+
- `learning_rate_mapping`: {}
|
| 849 |
+
|
| 850 |
+
</details>
|
| 851 |
+
|
| 852 |
+
### Training Logs
|
| 853 |
+
| Epoch | Step | Training Loss | dim_1024_cosine_ndcg@10 | dim_768_cosine_ndcg@10 | dim_512_cosine_ndcg@10 | dim_256_cosine_ndcg@10 | dim_128_cosine_ndcg@10 | dim_64_cosine_ndcg@10 |
|
| 854 |
+
|:-------:|:--------:|:-------------:|:-----------------------:|:----------------------:|:----------------------:|:----------------------:|:----------------------:|:---------------------:|
|
| 855 |
+
| 0.0401 | 10 | 1.5256 | - | - | - | - | - | - |
|
| 856 |
+
| 0.0802 | 20 | 0.8247 | - | - | - | - | - | - |
|
| 857 |
+
| 0.1202 | 30 | 0.4102 | - | - | - | - | - | - |
|
| 858 |
+
| 0.1603 | 40 | 0.27 | - | - | - | - | - | - |
|
| 859 |
+
| 0.2004 | 50 | 0.2182 | - | - | - | - | - | - |
|
| 860 |
+
| 0.2405 | 60 | 0.1998 | - | - | - | - | - | - |
|
| 861 |
+
| 0.2806 | 70 | 0.2017 | - | - | - | - | - | - |
|
| 862 |
+
| 0.3206 | 80 | 0.1672 | - | - | - | - | - | - |
|
| 863 |
+
| 0.3607 | 90 | 0.2029 | - | - | - | - | - | - |
|
| 864 |
+
| 0.4008 | 100 | 0.1609 | - | - | - | - | - | - |
|
| 865 |
+
| 0.4409 | 110 | 0.1565 | - | - | - | - | - | - |
|
| 866 |
+
| 0.4810 | 120 | 0.1476 | - | - | - | - | - | - |
|
| 867 |
+
| 0.5210 | 130 | 0.1278 | - | - | - | - | - | - |
|
| 868 |
+
| 0.5611 | 140 | 0.1669 | - | - | - | - | - | - |
|
| 869 |
+
| 0.6012 | 150 | 0.1642 | - | - | - | - | - | - |
|
| 870 |
+
| 0.6413 | 160 | 0.1307 | - | - | - | - | - | - |
|
| 871 |
+
| 0.6814 | 170 | 0.1487 | - | - | - | - | - | - |
|
| 872 |
+
| 0.7214 | 180 | 0.1329 | - | - | - | - | - | - |
|
| 873 |
+
| 0.7615 | 190 | 0.13 | - | - | - | - | - | - |
|
| 874 |
+
| 0.8016 | 200 | 0.1393 | - | - | - | - | - | - |
|
| 875 |
+
| 0.8417 | 210 | 0.1344 | - | - | - | - | - | - |
|
| 876 |
+
| 0.8818 | 220 | 0.1184 | - | - | - | - | - | - |
|
| 877 |
+
| 0.9218 | 230 | 0.1147 | - | - | - | - | - | - |
|
| 878 |
+
| 0.9619 | 240 | 0.1283 | - | - | - | - | - | - |
|
| 879 |
+
| 1.0 | 250 | 0.1228 | 0.8693 | 0.8683 | 0.8634 | 0.8535 | 0.8430 | 0.8082 |
|
| 880 |
+
| 1.0401 | 260 | 0.0613 | - | - | - | - | - | - |
|
| 881 |
+
| 1.0802 | 270 | 0.0559 | - | - | - | - | - | - |
|
| 882 |
+
| 1.1202 | 280 | 0.0704 | - | - | - | - | - | - |
|
| 883 |
+
| 1.1603 | 290 | 0.0578 | - | - | - | - | - | - |
|
| 884 |
+
| 1.2004 | 300 | 0.0588 | - | - | - | - | - | - |
|
| 885 |
+
| 1.2405 | 310 | 0.079 | - | - | - | - | - | - |
|
| 886 |
+
| 1.2806 | 320 | 0.0602 | - | - | - | - | - | - |
|
| 887 |
+
| 1.3206 | 330 | 0.0553 | - | - | - | - | - | - |
|
| 888 |
+
| 1.3607 | 340 | 0.0663 | - | - | - | - | - | - |
|
| 889 |
+
| 1.4008 | 350 | 0.0513 | - | - | - | - | - | - |
|
| 890 |
+
| 1.4409 | 360 | 0.0615 | - | - | - | - | - | - |
|
| 891 |
+
| 1.4810 | 370 | 0.0462 | - | - | - | - | - | - |
|
| 892 |
+
| 1.5210 | 380 | 0.0674 | - | - | - | - | - | - |
|
| 893 |
+
| 1.5611 | 390 | 0.0558 | - | - | - | - | - | - |
|
| 894 |
+
| 1.6012 | 400 | 0.0562 | - | - | - | - | - | - |
|
| 895 |
+
| 1.6413 | 410 | 0.0688 | - | - | - | - | - | - |
|
| 896 |
+
| 1.6814 | 420 | 0.0905 | - | - | - | - | - | - |
|
| 897 |
+
| 1.7214 | 430 | 0.0463 | - | - | - | - | - | - |
|
| 898 |
+
| 1.7615 | 440 | 0.0581 | - | - | - | - | - | - |
|
| 899 |
+
| 1.8016 | 450 | 0.0586 | - | - | - | - | - | - |
|
| 900 |
+
| 1.8417 | 460 | 0.0712 | - | - | - | - | - | - |
|
| 901 |
+
| 1.8818 | 470 | 0.041 | - | - | - | - | - | - |
|
| 902 |
+
| 1.9218 | 480 | 0.0578 | - | - | - | - | - | - |
|
| 903 |
+
| 1.9619 | 490 | 0.063 | - | - | - | - | - | - |
|
| 904 |
+
| 2.0 | 500 | 0.0505 | 0.8771 | 0.8780 | 0.8764 | 0.8690 | 0.8587 | 0.8353 |
|
| 905 |
+
| 2.0401 | 510 | 0.032 | - | - | - | - | - | - |
|
| 906 |
+
| 2.0802 | 520 | 0.0239 | - | - | - | - | - | - |
|
| 907 |
+
| 2.1202 | 530 | 0.029 | - | - | - | - | - | - |
|
| 908 |
+
| 2.1603 | 540 | 0.0236 | - | - | - | - | - | - |
|
| 909 |
+
| 2.2004 | 550 | 0.0381 | - | - | - | - | - | - |
|
| 910 |
+
| 2.2405 | 560 | 0.028 | - | - | - | - | - | - |
|
| 911 |
+
| 2.2806 | 570 | 0.0366 | - | - | - | - | - | - |
|
| 912 |
+
| 2.3206 | 580 | 0.0372 | - | - | - | - | - | - |
|
| 913 |
+
| 2.3607 | 590 | 0.0306 | - | - | - | - | - | - |
|
| 914 |
+
| 2.4008 | 600 | 0.0294 | - | - | - | - | - | - |
|
| 915 |
+
| 2.4409 | 610 | 0.0269 | - | - | - | - | - | - |
|
| 916 |
+
| 2.4810 | 620 | 0.0411 | - | - | - | - | - | - |
|
| 917 |
+
| 2.5210 | 630 | 0.0251 | - | - | - | - | - | - |
|
| 918 |
+
| 2.5611 | 640 | 0.0299 | - | - | - | - | - | - |
|
| 919 |
+
| 2.6012 | 650 | 0.0275 | - | - | - | - | - | - |
|
| 920 |
+
| 2.6413 | 660 | 0.0267 | - | - | - | - | - | - |
|
| 921 |
+
| 2.6814 | 670 | 0.0304 | - | - | - | - | - | - |
|
| 922 |
+
| 2.7214 | 680 | 0.0246 | - | - | - | - | - | - |
|
| 923 |
+
| 2.7615 | 690 | 0.025 | - | - | - | - | - | - |
|
| 924 |
+
| 2.8016 | 700 | 0.037 | - | - | - | - | - | - |
|
| 925 |
+
| 2.8417 | 710 | 0.0393 | - | - | - | - | - | - |
|
| 926 |
+
| 2.8818 | 720 | 0.0405 | - | - | - | - | - | - |
|
| 927 |
+
| 2.9218 | 730 | 0.0279 | - | - | - | - | - | - |
|
| 928 |
+
| 2.9619 | 740 | 0.0243 | - | - | - | - | - | - |
|
| 929 |
+
| 3.0 | 750 | 0.0284 | 0.8870 | 0.8858 | 0.8827 | 0.8745 | 0.8648 | 0.8499 |
|
| 930 |
+
| 3.0401 | 760 | 0.0166 | - | - | - | - | - | - |
|
| 931 |
+
| 3.0802 | 770 | 0.024 | - | - | - | - | - | - |
|
| 932 |
+
| 3.1202 | 780 | 0.0302 | - | - | - | - | - | - |
|
| 933 |
+
| 3.1603 | 790 | 0.0263 | - | - | - | - | - | - |
|
| 934 |
+
| 3.2004 | 800 | 0.0172 | - | - | - | - | - | - |
|
| 935 |
+
| 3.2405 | 810 | 0.023 | - | - | - | - | - | - |
|
| 936 |
+
| 3.2806 | 820 | 0.0313 | - | - | - | - | - | - |
|
| 937 |
+
| 3.3206 | 830 | 0.0253 | - | - | - | - | - | - |
|
| 938 |
+
| 3.3607 | 840 | 0.0189 | - | - | - | - | - | - |
|
| 939 |
+
| 3.4008 | 850 | 0.0177 | - | - | - | - | - | - |
|
| 940 |
+
| 3.4409 | 860 | 0.0187 | - | - | - | - | - | - |
|
| 941 |
+
| 3.4810 | 870 | 0.0142 | - | - | - | - | - | - |
|
| 942 |
+
| 3.5210 | 880 | 0.0281 | - | - | - | - | - | - |
|
| 943 |
+
| 3.5611 | 890 | 0.0253 | - | - | - | - | - | - |
|
| 944 |
+
| 3.6012 | 900 | 0.0184 | - | - | - | - | - | - |
|
| 945 |
+
| 3.6413 | 910 | 0.0217 | - | - | - | - | - | - |
|
| 946 |
+
| 3.6814 | 920 | 0.027 | - | - | - | - | - | - |
|
| 947 |
+
| 3.7214 | 930 | 0.0192 | - | - | - | - | - | - |
|
| 948 |
+
| 3.7615 | 940 | 0.0183 | - | - | - | - | - | - |
|
| 949 |
+
| 3.8016 | 950 | 0.0242 | - | - | - | - | - | - |
|
| 950 |
+
| 3.8417 | 960 | 0.0223 | - | - | - | - | - | - |
|
| 951 |
+
| 3.8818 | 970 | 0.0161 | - | - | - | - | - | - |
|
| 952 |
+
| 3.9218 | 980 | 0.0219 | - | - | - | - | - | - |
|
| 953 |
+
| 3.9619 | 990 | 0.0236 | - | - | - | - | - | - |
|
| 954 |
+
| **4.0** | **1000** | **0.0278** | **0.886** | **0.8859** | **0.8844** | **0.8753** | **0.8663** | **0.8522** |
|
| 955 |
+
|
| 956 |
+
* The bold row denotes the saved checkpoint.
|
| 957 |
+
|
| 958 |
+
### Framework Versions
|
| 959 |
+
- Python: 3.12.12
|
| 960 |
+
- Sentence Transformers: 5.2.3
|
| 961 |
+
- Transformers: 4.55.4
|
| 962 |
+
- PyTorch: 2.10.0+cu128
|
| 963 |
+
- Accelerate: 1.12.0
|
| 964 |
+
- Datasets: 3.6.0
|
| 965 |
+
- Tokenizers: 0.21.4
|
| 966 |
+
|
| 967 |
+
## Citation
|
| 968 |
+
|
| 969 |
+
### BibTeX
|
| 970 |
+
|
| 971 |
+
#### Sentence Transformers
|
| 972 |
+
```bibtex
|
| 973 |
+
@inproceedings{reimers-2019-sentence-bert,
|
| 974 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
| 975 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
| 976 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
| 977 |
+
month = "11",
|
| 978 |
+
year = "2019",
|
| 979 |
+
publisher = "Association for Computational Linguistics",
|
| 980 |
+
url = "https://arxiv.org/abs/1908.10084",
|
| 981 |
+
}
|
| 982 |
+
```
|
| 983 |
+
|
| 984 |
+
#### MatryoshkaLoss
|
| 985 |
+
```bibtex
|
| 986 |
+
@misc{kusupati2024matryoshka,
|
| 987 |
+
title={Matryoshka Representation Learning},
|
| 988 |
+
author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
|
| 989 |
+
year={2024},
|
| 990 |
+
eprint={2205.13147},
|
| 991 |
+
archivePrefix={arXiv},
|
| 992 |
+
primaryClass={cs.LG}
|
| 993 |
+
}
|
| 994 |
+
```
|
| 995 |
+
|
| 996 |
+
#### MultipleNegativesRankingLoss
|
| 997 |
+
```bibtex
|
| 998 |
+
@misc{henderson2017efficient,
|
| 999 |
+
title={Efficient Natural Language Response Suggestion for Smart Reply},
|
| 1000 |
+
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},
|
| 1001 |
+
year={2017},
|
| 1002 |
+
eprint={1705.00652},
|
| 1003 |
+
archivePrefix={arXiv},
|
| 1004 |
+
primaryClass={cs.CL}
|
| 1005 |
+
}
|
| 1006 |
+
```
|
| 1007 |
+
|
| 1008 |
+
<!--
|
| 1009 |
+
## Glossary
|
| 1010 |
+
|
| 1011 |
+
*Clearly define terms in order to be accessible across audiences.*
|
| 1012 |
+
-->
|
| 1013 |
+
|
| 1014 |
+
<!--
|
| 1015 |
+
## Model Card Authors
|
| 1016 |
+
|
| 1017 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
| 1018 |
+
-->
|
| 1019 |
+
|
| 1020 |
+
<!--
|
| 1021 |
+
## Model Card Contact
|
| 1022 |
+
|
| 1023 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 1024 |
+
-->
|
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,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"layer_types": [
|
| 15 |
+
"full_attention",
|
| 16 |
+
"full_attention",
|
| 17 |
+
"full_attention",
|
| 18 |
+
"full_attention",
|
| 19 |
+
"full_attention",
|
| 20 |
+
"full_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"full_attention"
|
| 43 |
+
],
|
| 44 |
+
"max_position_embeddings": 32768,
|
| 45 |
+
"max_window_layers": 28,
|
| 46 |
+
"model_type": "qwen3",
|
| 47 |
+
"num_attention_heads": 16,
|
| 48 |
+
"num_hidden_layers": 28,
|
| 49 |
+
"num_key_value_heads": 8,
|
| 50 |
+
"rms_norm_eps": 1e-06,
|
| 51 |
+
"rope_scaling": null,
|
| 52 |
+
"rope_theta": 1000000,
|
| 53 |
+
"sliding_window": null,
|
| 54 |
+
"tie_word_embeddings": true,
|
| 55 |
+
"torch_dtype": "float32",
|
| 56 |
+
"transformers_version": "4.55.4",
|
| 57 |
+
"use_cache": true,
|
| 58 |
+
"use_sliding_window": false,
|
| 59 |
+
"vocab_size": 151669
|
| 60 |
+
}
|
config_sentence_transformers.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prompts": {
|
| 3 |
+
"query": "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery:",
|
| 4 |
+
"document": ""
|
| 5 |
+
},
|
| 6 |
+
"default_prompt_name": null,
|
| 7 |
+
"similarity_fn_name": "cosine",
|
| 8 |
+
"model_type": "SentenceTransformer",
|
| 9 |
+
"__version__": {
|
| 10 |
+
"sentence_transformers": "5.2.3",
|
| 11 |
+
"transformers": "4.55.4",
|
| 12 |
+
"pytorch": "2.10.0+cu128"
|
| 13 |
+
}
|
| 14 |
+
}
|
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:b21673e793547c4325d656b03b49a66335bb38d124fcbf38d11bb38a9f6c6daf
|
| 3 |
+
size 2383139480
|
modules.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
{
|
| 15 |
+
"idx": 2,
|
| 16 |
+
"name": "2",
|
| 17 |
+
"path": "2_Normalize",
|
| 18 |
+
"type": "sentence_transformers.models.Normalize"
|
| 19 |
+
}
|
| 20 |
+
]
|
sentence_bert_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_seq_length": 32768,
|
| 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": "<|im_end|>",
|
| 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 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f45684bb3bd50e1eb753e6bc438efc14329c293af236ecd331667b46657a3cc
|
| 3 |
+
size 11423973
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
+
"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": "<|im_end|>",
|
| 232 |
+
"errors": "replace",
|
| 233 |
+
"extra_special_tokens": {},
|
| 234 |
+
"model_max_length": 131072,
|
| 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
|
|
|