aisuko/encoder-L6-V2
Browse files- 1_Pooling/config.json +10 -0
- README.md +761 -0
- config.json +25 -0
- config_sentence_transformers.json +10 -0
- eval/similarity_evaluation_sts-dev_results.csv +6 -0
- model.safetensors +3 -0
- modules.json +20 -0
- runs/Jul30_12-33-24_504bbaf3a637/events.out.tfevents.1753878821.504bbaf3a637.13.0 +3 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +65 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
1_Pooling/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"word_embedding_dimension": 384,
|
| 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,761 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- sentence-transformers
|
| 4 |
+
- sentence-similarity
|
| 5 |
+
- feature-extraction
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
- dataset_size:4984
|
| 8 |
+
- loss:MultipleNegativesRankingLoss
|
| 9 |
+
base_model: sentence-transformers/all-MiniLM-L6-v2
|
| 10 |
+
widget:
|
| 11 |
+
- source_sentence: '<think>
|
| 12 |
+
|
| 13 |
+
Let’s think through this step by step
|
| 14 |
+
|
| 15 |
+
rp = 500/month
|
| 16 |
+
|
| 17 |
+
fp = 10/day
|
| 18 |
+
|
| 19 |
+
lp = 60/lesson
|
| 20 |
+
|
| 21 |
+
lpw = 2 lessons/week
|
| 22 |
+
|
| 23 |
+
yp = 12 months/year
|
| 24 |
+
|
| 25 |
+
total = (500 × 12) + (10 × 365) + (60 × 2 × 52)
|
| 26 |
+
|
| 27 |
+
total = 6000 + 3650 + 6240
|
| 28 |
+
|
| 29 |
+
total = 15890
|
| 30 |
+
|
| 31 |
+
</think>
|
| 32 |
+
|
| 33 |
+
\boxed{15890}'
|
| 34 |
+
sentences:
|
| 35 |
+
- '<think>
|
| 36 |
+
|
| 37 |
+
Let’s think through this step by step
|
| 38 |
+
|
| 39 |
+
rp = 500/month
|
| 40 |
+
|
| 41 |
+
fp = 10/day
|
| 42 |
+
|
| 43 |
+
lp = 60/lesson
|
| 44 |
+
|
| 45 |
+
tp = (500 × 12) + (10 × 365) + (60 × 2 × 52)
|
| 46 |
+
|
| 47 |
+
tp = 6000 + 3650 + 6240
|
| 48 |
+
|
| 49 |
+
tp = 15890
|
| 50 |
+
|
| 51 |
+
</think>
|
| 52 |
+
|
| 53 |
+
\boxed{15890}'
|
| 54 |
+
- '<think>
|
| 55 |
+
|
| 56 |
+
Let’s think through this step by step
|
| 57 |
+
|
| 58 |
+
h1 = 500 ft
|
| 59 |
+
|
| 60 |
+
h2 = 2 * h1 = 2 * 500 = 1000 ft
|
| 61 |
+
|
| 62 |
+
Total height = h1 + h2 = 500 + 1000 = 1500 ft
|
| 63 |
+
|
| 64 |
+
</think>
|
| 65 |
+
|
| 66 |
+
\boxed{1500}'
|
| 67 |
+
- '<think>
|
| 68 |
+
|
| 69 |
+
Let’s think through this step by step
|
| 70 |
+
|
| 71 |
+
fc = 200
|
| 72 |
+
|
| 73 |
+
lc = 500
|
| 74 |
+
|
| 75 |
+
dc = 500 × 0.8 = 400
|
| 76 |
+
|
| 77 |
+
nc = 200 - 50 = 150
|
| 78 |
+
|
| 79 |
+
tc = 150 + 400 = 550
|
| 80 |
+
|
| 81 |
+
</think>
|
| 82 |
+
|
| 83 |
+
\boxed{550}'
|
| 84 |
+
- source_sentence: '<think>
|
| 85 |
+
|
| 86 |
+
Let’s think through this step by step
|
| 87 |
+
|
| 88 |
+
s = 5 MB/song
|
| 89 |
+
|
| 90 |
+
m1 = 10 songs
|
| 91 |
+
|
| 92 |
+
m2 = 15 songs
|
| 93 |
+
|
| 94 |
+
m3 = 3 songs
|
| 95 |
+
|
| 96 |
+
total = (10 + 15 + 3) × 5
|
| 97 |
+
|
| 98 |
+
total = 28 × 5 = 140 MB
|
| 99 |
+
|
| 100 |
+
</think>
|
| 101 |
+
|
| 102 |
+
\boxed{140}'
|
| 103 |
+
sentences:
|
| 104 |
+
- '<think>
|
| 105 |
+
|
| 106 |
+
Let’s think through this step by step
|
| 107 |
+
|
| 108 |
+
s = 5 MB/song
|
| 109 |
+
|
| 110 |
+
m1 = 10 songs
|
| 111 |
+
|
| 112 |
+
m2 = 15 songs
|
| 113 |
+
|
| 114 |
+
m3 = 3 songs
|
| 115 |
+
|
| 116 |
+
Total memory = (10 + 15 + 3) × 5
|
| 117 |
+
|
| 118 |
+
Total memory = 28 × 5 = 140 MB
|
| 119 |
+
|
| 120 |
+
</think>
|
| 121 |
+
|
| 122 |
+
\boxed{140}'
|
| 123 |
+
- '<think>
|
| 124 |
+
|
| 125 |
+
Let’s think through this step by step
|
| 126 |
+
|
| 127 |
+
total_slices = 12
|
| 128 |
+
|
| 129 |
+
eaten_slices = 12 × (1/4) = 3
|
| 130 |
+
|
| 131 |
+
kept_slices = 12 - 3 = 9
|
| 132 |
+
|
| 133 |
+
</think>
|
| 134 |
+
|
| 135 |
+
\boxed{9}'
|
| 136 |
+
- '<think>
|
| 137 |
+
|
| 138 |
+
Let’s think through this step by step
|
| 139 |
+
|
| 140 |
+
Bald Mountain = 1.5 meters = 150 cm
|
| 141 |
+
|
| 142 |
+
Billy Mountain = 3.5 meters = 350 cm
|
| 143 |
+
|
| 144 |
+
Mount Pilot = 126 cm
|
| 145 |
+
|
| 146 |
+
Difference between Billy Mountain and Bald Mountain = 350 - 150 = 200 cm
|
| 147 |
+
|
| 148 |
+
Difference between Mount Pilot and Bald Mountain = 126 - 150 = -24 cm
|
| 149 |
+
|
| 150 |
+
</think>
|
| 151 |
+
|
| 152 |
+
\boxed{200}'
|
| 153 |
+
- source_sentence: '<think>
|
| 154 |
+
|
| 155 |
+
Let’s think through this step by step
|
| 156 |
+
|
| 157 |
+
Strength training: 1 hour/session × 3 sessions/week = 3 hours/week
|
| 158 |
+
|
| 159 |
+
Boxing training: 1.5 hours/session × 4 sessions/week = 6 hours/week
|
| 160 |
+
|
| 161 |
+
Total training hours per week = 3 + 6 = 9 hours/week
|
| 162 |
+
|
| 163 |
+
</think>
|
| 164 |
+
|
| 165 |
+
\boxed{9}'
|
| 166 |
+
sentences:
|
| 167 |
+
- '<think>
|
| 168 |
+
|
| 169 |
+
Let’s think through this step by step
|
| 170 |
+
|
| 171 |
+
t = 5
|
| 172 |
+
|
| 173 |
+
p = 4
|
| 174 |
+
|
| 175 |
+
s = 6
|
| 176 |
+
|
| 177 |
+
r = 5 / 2 = 2.5
|
| 178 |
+
|
| 179 |
+
income = (2 × 5) + 4 + (4 × 6) + (6 × 2.5)
|
| 180 |
+
|
| 181 |
+
income = 10 + 4 + 24 + 15
|
| 182 |
+
|
| 183 |
+
income = 53
|
| 184 |
+
|
| 185 |
+
</think>
|
| 186 |
+
|
| 187 |
+
\boxed{53}'
|
| 188 |
+
- '<think>
|
| 189 |
+
|
| 190 |
+
Let’s think through this step by step
|
| 191 |
+
|
| 192 |
+
Strength training: 1 hour/session × 3 sessions/week = 3 hours/week
|
| 193 |
+
|
| 194 |
+
Boxing training: 1.5 hours/session × 4 sessions/week = 6 hours/week
|
| 195 |
+
|
| 196 |
+
Total training hours per week = 3 + 6 = 9 hours/week
|
| 197 |
+
|
| 198 |
+
</think>
|
| 199 |
+
|
| 200 |
+
\boxed{9}'
|
| 201 |
+
- '<think>
|
| 202 |
+
|
| 203 |
+
Let’s think through this step by step
|
| 204 |
+
|
| 205 |
+
Let d be the number of ducks sold
|
| 206 |
+
|
| 207 |
+
Earnings from selling chickens = 5 × 8 = 40
|
| 208 |
+
|
| 209 |
+
Earnings from selling ducks = 10d
|
| 210 |
+
|
| 211 |
+
Total earnings = 40 + 10d
|
| 212 |
+
|
| 213 |
+
Amount spent on wheelbarrow = (1/2)(40 + 10d)
|
| 214 |
+
|
| 215 |
+
Amount earned from selling wheelbarrow = 60
|
| 216 |
+
|
| 217 |
+
40 + 10d = 2(60)
|
| 218 |
+
|
| 219 |
+
10d = 80
|
| 220 |
+
|
| 221 |
+
d = 8
|
| 222 |
+
|
| 223 |
+
</think>
|
| 224 |
+
|
| 225 |
+
\boxed{8}'
|
| 226 |
+
- source_sentence: '<think>
|
| 227 |
+
|
| 228 |
+
Let’s think through this step by step
|
| 229 |
+
|
| 230 |
+
up = 3 flights
|
| 231 |
+
|
| 232 |
+
down = 3 flights
|
| 233 |
+
|
| 234 |
+
total = (3 + 3) × 5 = 30 flights
|
| 235 |
+
|
| 236 |
+
</think>
|
| 237 |
+
|
| 238 |
+
\boxed{30}'
|
| 239 |
+
sentences:
|
| 240 |
+
- '<think>
|
| 241 |
+
|
| 242 |
+
Let’s think through this step by step
|
| 243 |
+
|
| 244 |
+
up = 3 flights
|
| 245 |
+
|
| 246 |
+
down = 3 flights
|
| 247 |
+
|
| 248 |
+
total = (3 + 3) × 5 = 30 flights
|
| 249 |
+
|
| 250 |
+
</think>
|
| 251 |
+
|
| 252 |
+
\boxed{30}'
|
| 253 |
+
- '<think>
|
| 254 |
+
|
| 255 |
+
Let’s think through this step by step
|
| 256 |
+
|
| 257 |
+
J = M + 10
|
| 258 |
+
|
| 259 |
+
J + 10 = 25
|
| 260 |
+
|
| 261 |
+
(M + 10) + 10 = 25
|
| 262 |
+
|
| 263 |
+
M + 20 = 25
|
| 264 |
+
|
| 265 |
+
M = 5
|
| 266 |
+
|
| 267 |
+
J = 5 + 10 = 15
|
| 268 |
+
|
| 269 |
+
Sum = 5 + 15 = 20
|
| 270 |
+
|
| 271 |
+
</think>
|
| 272 |
+
|
| 273 |
+
\boxed{20}'
|
| 274 |
+
- '<think>
|
| 275 |
+
|
| 276 |
+
Let’s think through this step by step
|
| 277 |
+
|
| 278 |
+
total_money = 7(1) + 4(5) + 2(10) + 1(20) = 7 + 20 + 20 + 20 = 67
|
| 279 |
+
|
| 280 |
+
cost = 67 - 4 = 63
|
| 281 |
+
|
| 282 |
+
pounds = 63 / 3 = 21
|
| 283 |
+
|
| 284 |
+
days = 7
|
| 285 |
+
|
| 286 |
+
average = 21 / 7 = 3
|
| 287 |
+
|
| 288 |
+
</think>
|
| 289 |
+
|
| 290 |
+
\boxed{3}'
|
| 291 |
+
- source_sentence: '<think>
|
| 292 |
+
|
| 293 |
+
Let’s think through this step by step
|
| 294 |
+
|
| 295 |
+
n = 4
|
| 296 |
+
|
| 297 |
+
sp = 75
|
| 298 |
+
|
| 299 |
+
t = 36
|
| 300 |
+
|
| 301 |
+
spt = 36 / 4 = 9
|
| 302 |
+
|
| 303 |
+
op = 75 + 9 = 84
|
| 304 |
+
|
| 305 |
+
</think>
|
| 306 |
+
|
| 307 |
+
\boxed{84}'
|
| 308 |
+
sentences:
|
| 309 |
+
- '<think>
|
| 310 |
+
|
| 311 |
+
Let’s think through this step by step
|
| 312 |
+
|
| 313 |
+
Let B be Benedict''s house size
|
| 314 |
+
|
| 315 |
+
K = 10000 sq ft
|
| 316 |
+
|
| 317 |
+
K = 4B + 600
|
| 318 |
+
|
| 319 |
+
10000 = 4B + 600
|
| 320 |
+
|
| 321 |
+
4B = 9400
|
| 322 |
+
|
| 323 |
+
B = 2350 sq ft
|
| 324 |
+
|
| 325 |
+
</think>
|
| 326 |
+
|
| 327 |
+
\boxed{2350}'
|
| 328 |
+
- '<think>
|
| 329 |
+
|
| 330 |
+
Let’s think through this step by step
|
| 331 |
+
|
| 332 |
+
Total throws = 80
|
| 333 |
+
|
| 334 |
+
No pass thrown = 30% of 80 = 0.3 × 80 = 24
|
| 335 |
+
|
| 336 |
+
Sacked for a loss = 0.5 × 24 = 12
|
| 337 |
+
|
| 338 |
+
</think>
|
| 339 |
+
|
| 340 |
+
\boxed{12}'
|
| 341 |
+
- '<think>
|
| 342 |
+
|
| 343 |
+
Let’s think through this step by step
|
| 344 |
+
|
| 345 |
+
n = 4
|
| 346 |
+
|
| 347 |
+
sp = 75
|
| 348 |
+
|
| 349 |
+
t = 36
|
| 350 |
+
|
| 351 |
+
spt = t / n = 36 / 4 = 9
|
| 352 |
+
|
| 353 |
+
op = sp + spt = 75 + 9 = 84
|
| 354 |
+
|
| 355 |
+
</think>
|
| 356 |
+
|
| 357 |
+
\boxed{84}'
|
| 358 |
+
pipeline_tag: sentence-similarity
|
| 359 |
+
library_name: sentence-transformers
|
| 360 |
+
metrics:
|
| 361 |
+
- pearson_cosine
|
| 362 |
+
- spearman_cosine
|
| 363 |
+
model-index:
|
| 364 |
+
- name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
|
| 365 |
+
results:
|
| 366 |
+
- task:
|
| 367 |
+
type: semantic-similarity
|
| 368 |
+
name: Semantic Similarity
|
| 369 |
+
dataset:
|
| 370 |
+
name: sts dev
|
| 371 |
+
type: sts-dev
|
| 372 |
+
metrics:
|
| 373 |
+
- type: pearson_cosine
|
| 374 |
+
value: 0.8776143775032945
|
| 375 |
+
name: Pearson Cosine
|
| 376 |
+
- type: spearman_cosine
|
| 377 |
+
value: 0.8754887541943006
|
| 378 |
+
name: Spearman Cosine
|
| 379 |
+
- task:
|
| 380 |
+
type: semantic-similarity
|
| 381 |
+
name: Semantic Similarity
|
| 382 |
+
dataset:
|
| 383 |
+
name: sts test
|
| 384 |
+
type: sts-test
|
| 385 |
+
metrics:
|
| 386 |
+
- type: pearson_cosine
|
| 387 |
+
value: 0.877613066248591
|
| 388 |
+
name: Pearson Cosine
|
| 389 |
+
- type: spearman_cosine
|
| 390 |
+
value: 0.875487017524482
|
| 391 |
+
name: Spearman Cosine
|
| 392 |
+
---
|
| 393 |
+
|
| 394 |
+
# SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
|
| 395 |
+
|
| 396 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) on the csv dataset. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
| 397 |
+
|
| 398 |
+
## Model Details
|
| 399 |
+
|
| 400 |
+
### Model Description
|
| 401 |
+
- **Model Type:** Sentence Transformer
|
| 402 |
+
- **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
|
| 403 |
+
- **Maximum Sequence Length:** 256 tokens
|
| 404 |
+
- **Output Dimensionality:** 384 dimensions
|
| 405 |
+
- **Similarity Function:** Cosine Similarity
|
| 406 |
+
- **Training Dataset:**
|
| 407 |
+
- csv
|
| 408 |
+
<!-- - **Language:** Unknown -->
|
| 409 |
+
<!-- - **License:** Unknown -->
|
| 410 |
+
|
| 411 |
+
### Model Sources
|
| 412 |
+
|
| 413 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
| 414 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
| 415 |
+
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
| 416 |
+
|
| 417 |
+
### Full Model Architecture
|
| 418 |
+
|
| 419 |
+
```
|
| 420 |
+
SentenceTransformer(
|
| 421 |
+
(0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
|
| 422 |
+
(1): Pooling({'word_embedding_dimension': 384, '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})
|
| 423 |
+
(2): Normalize()
|
| 424 |
+
)
|
| 425 |
+
```
|
| 426 |
+
|
| 427 |
+
## Usage
|
| 428 |
+
|
| 429 |
+
### Direct Usage (Sentence Transformers)
|
| 430 |
+
|
| 431 |
+
First install the Sentence Transformers library:
|
| 432 |
+
|
| 433 |
+
```bash
|
| 434 |
+
pip install -U sentence-transformers
|
| 435 |
+
```
|
| 436 |
+
|
| 437 |
+
Then you can load this model and run inference.
|
| 438 |
+
```python
|
| 439 |
+
from sentence_transformers import SentenceTransformer
|
| 440 |
+
|
| 441 |
+
# Download from the 🤗 Hub
|
| 442 |
+
model = SentenceTransformer("training")
|
| 443 |
+
# Run inference
|
| 444 |
+
sentences = [
|
| 445 |
+
'<think>\nLet’s think through this step by step\nn = 4\nsp = 75\nt = 36\nspt = 36 / 4 = 9\nop = 75 + 9 = 84\n</think>\n\\boxed{84}',
|
| 446 |
+
'<think>\nLet’s think through this step by step\nn = 4\nsp = 75\nt = 36\nspt = t / n = 36 / 4 = 9\nop = sp + spt = 75 + 9 = 84\n</think>\n\\boxed{84}',
|
| 447 |
+
"<think>\nLet’s think through this step by step\nLet B be Benedict's house size\nK = 10000 sq ft\nK = 4B + 600\n10000 = 4B + 600\n4B = 9400\nB = 2350 sq ft\n</think>\n\\boxed{2350}",
|
| 448 |
+
]
|
| 449 |
+
embeddings = model.encode(sentences)
|
| 450 |
+
print(embeddings.shape)
|
| 451 |
+
# [3, 384]
|
| 452 |
+
|
| 453 |
+
# Get the similarity scores for the embeddings
|
| 454 |
+
similarities = model.similarity(embeddings, embeddings)
|
| 455 |
+
print(similarities.shape)
|
| 456 |
+
# [3, 3]
|
| 457 |
+
```
|
| 458 |
+
|
| 459 |
+
<!--
|
| 460 |
+
### Direct Usage (Transformers)
|
| 461 |
+
|
| 462 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
| 463 |
+
|
| 464 |
+
</details>
|
| 465 |
+
-->
|
| 466 |
+
|
| 467 |
+
<!--
|
| 468 |
+
### Downstream Usage (Sentence Transformers)
|
| 469 |
+
|
| 470 |
+
You can finetune this model on your own dataset.
|
| 471 |
+
|
| 472 |
+
<details><summary>Click to expand</summary>
|
| 473 |
+
|
| 474 |
+
</details>
|
| 475 |
+
-->
|
| 476 |
+
|
| 477 |
+
<!--
|
| 478 |
+
### Out-of-Scope Use
|
| 479 |
+
|
| 480 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 481 |
+
-->
|
| 482 |
+
|
| 483 |
+
## Evaluation
|
| 484 |
+
|
| 485 |
+
### Metrics
|
| 486 |
+
|
| 487 |
+
#### Semantic Similarity
|
| 488 |
+
|
| 489 |
+
* Datasets: `sts-dev` and `sts-test`
|
| 490 |
+
* Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
|
| 491 |
+
|
| 492 |
+
| Metric | sts-dev | sts-test |
|
| 493 |
+
|:--------------------|:-----------|:-----------|
|
| 494 |
+
| pearson_cosine | 0.8776 | 0.8776 |
|
| 495 |
+
| **spearman_cosine** | **0.8755** | **0.8755** |
|
| 496 |
+
|
| 497 |
+
<!--
|
| 498 |
+
## Bias, Risks and Limitations
|
| 499 |
+
|
| 500 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
| 501 |
+
-->
|
| 502 |
+
|
| 503 |
+
<!--
|
| 504 |
+
### Recommendations
|
| 505 |
+
|
| 506 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
| 507 |
+
-->
|
| 508 |
+
|
| 509 |
+
## Training Details
|
| 510 |
+
|
| 511 |
+
### Training Dataset
|
| 512 |
+
|
| 513 |
+
#### csv
|
| 514 |
+
|
| 515 |
+
* Dataset: csv
|
| 516 |
+
* Size: 4,984 training samples
|
| 517 |
+
* Columns: <code>anchor</code> and <code>positive</code>
|
| 518 |
+
* Approximate statistics based on the first 1000 samples:
|
| 519 |
+
| | anchor | positive |
|
| 520 |
+
|:--------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
|
| 521 |
+
| type | string | string |
|
| 522 |
+
| details | <ul><li>min: 34 tokens</li><li>mean: 66.41 tokens</li><li>max: 256 tokens</li></ul> | <ul><li>min: 36 tokens</li><li>mean: 67.03 tokens</li><li>max: 256 tokens</li></ul> |
|
| 523 |
+
* Samples:
|
| 524 |
+
| anchor | positive |
|
| 525 |
+
|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| 526 |
+
| <code><think><br>Let’s think through this step by step<br>ht_hare = 14 inches<br>ht_camel = 24 × 14 = 336 inches<br>ht_camel_ft = 336 / 12 = 28 feet<br></think><br>\boxed{28}</code> | <code><think><br>Let’s think through this step by step<br>ht_hare = 14 inches<br>ht_camel = 24 * 14 = 336 inches<br>ht_camel_ft = 336 / 12 = 28 feet<br></think><br>\boxed{28}</code> |
|
| 527 |
+
| <code><think><br>Let’s think through this step by step<br>cpb = 5<br>sp = 90<br>pmpb = 2<br>tp = 5 × 5 = 25<br>tpmp = 5 × 2 = 10<br>profit = 90 - 25 - 10 = 55<br></think><br>\boxed{55}</code> | <code><think><br>Let’s think through this step by step<br>cp = 5 × 5 = 25<br>sp = 90<br>p = sp - cp - (5 × 2) = 90 - 25 - 10 = 55<br></think><br>\boxed{55}</code> |
|
| 528 |
+
| <code><think><br>Let’s think through this step by step<br>Time to iron a blouse = 15 minutes<br>Time to iron a dress = 20 minutes<br>Time spent on blouses = 2 hours = 120 minutes<br>Time spent on dresses = 3 hours = 180 minutes<br>Number of blouses ironed = 120 / 15 = 8<br>Number of dresses ironed = 180 / 20 = 9<br>Total pieces of clothes ironed = 8 + 9 = 17<br></think><br>\boxed{17}</code> | <code><think><br>Let’s think through this step by step<br>Time to iron 1 blouse = 15 minutes<br>Time to iron 1 dress = 20 minutes<br>Time spent on blouses = 2 hours = 120 minutes<br>Time spent on dresses = 3 hours = 180 minutes<br>Number of blouses ironed = 120 / 15 = 8<br>Number of dresses ironed = 180 / 20 = 9<br>Total pieces of clothes ironed = 8 + 9 = 17<br></think><br>\boxed{17}</code> |
|
| 529 |
+
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 530 |
+
```json
|
| 531 |
+
{
|
| 532 |
+
"scale": 20.0,
|
| 533 |
+
"similarity_fct": "cos_sim"
|
| 534 |
+
}
|
| 535 |
+
```
|
| 536 |
+
|
| 537 |
+
### Evaluation Dataset
|
| 538 |
+
|
| 539 |
+
#### csv
|
| 540 |
+
|
| 541 |
+
* Dataset: csv
|
| 542 |
+
* Size: 4,984 evaluation samples
|
| 543 |
+
* Columns: <code>anchor</code> and <code>positive</code>
|
| 544 |
+
* Approximate statistics based on the first 1000 samples:
|
| 545 |
+
| | anchor | positive |
|
| 546 |
+
|:--------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
|
| 547 |
+
| type | string | string |
|
| 548 |
+
| details | <ul><li>min: 33 tokens</li><li>mean: 66.68 tokens</li><li>max: 164 tokens</li></ul> | <ul><li>min: 33 tokens</li><li>mean: 66.71 tokens</li><li>max: 161 tokens</li></ul> |
|
| 549 |
+
* Samples:
|
| 550 |
+
| anchor | positive |
|
| 551 |
+
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| 552 |
+
| <code><think><br>Let’s think through this step by step<br>sg = 36<br>sc = 1/4<br>fl = 1/3<br>sg_left = sg - (sg × sc) - (sg × (1 - sc) × fl)<br>sg_left = 36 - (36 × 1/4) - (36 × (1 - 1/4) × 1/3)<br>sg_left = 36 - 9 - 6<br>sg_left = 21<br></think><br>\boxed{21}</code> | <code><think><br>Let’s think through this step by step<br>sg = 36<br>sc = 1/4<br>fl = 1/3<br>sg_left = sg - (sg × sc) - (sg × (1 - sc) × fl)<br>sg_left = 36 - (36 × 1/4) - (36 × (1 - 1/4) × 1/3)<br>sg_left = 36 - 9 - 6<br>sg_left = 21<br></think><br>\boxed{21}</code> |
|
| 553 |
+
| <code><think><br>Let’s think through this step by step<br>d1 = 125 miles<br>d2 = 223 miles<br>d3 = 493 - (125 + 223)<br>d3 = 145 miles<br></think><br>\boxed{145}</code> | <code><think><br>Let’s think through this step by step<br>d1 = 125 miles<br>d2 = 223 miles<br>d3 = 493 - (125 + 223)<br>d3 = 145 miles<br></think><br>\boxed{145}</code> |
|
| 554 |
+
| <code><think><br>Let’s think through this step by step<br>Total workdays = 2 weeks × 5 days/week = 10 days<br>Paid vacation days = 6 days<br>Unpaid vacation days = 10 - 6 = 4 days<br>Total pay = 15 × 8 = $120/day<br>Missed pay = 4 × 120 = $480<br></think><br>\boxed{480}</code> | <code><think><br>Let’s think through this step by step<br>Total workdays = 2 weeks × 5 days/week = 10 days<br>Paid vacation days = 6 days<br>Unpaid vacation days = 10 - 6 = 4 days<br>Total pay = 15 × 8 = $120/day<br>Missed pay = 4 × 120 = $480<br></think><br>\boxed{480}</code> |
|
| 555 |
+
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 556 |
+
```json
|
| 557 |
+
{
|
| 558 |
+
"scale": 20.0,
|
| 559 |
+
"similarity_fct": "cos_sim"
|
| 560 |
+
}
|
| 561 |
+
```
|
| 562 |
+
|
| 563 |
+
### Training Hyperparameters
|
| 564 |
+
#### Non-Default Hyperparameters
|
| 565 |
+
|
| 566 |
+
- `eval_strategy`: steps
|
| 567 |
+
- `per_device_train_batch_size`: 16
|
| 568 |
+
- `per_device_eval_batch_size`: 16
|
| 569 |
+
- `learning_rate`: 2e-05
|
| 570 |
+
- `num_train_epochs`: 2
|
| 571 |
+
- `warmup_ratio`: 0.1
|
| 572 |
+
- `fp16`: True
|
| 573 |
+
- `batch_sampler`: no_duplicates
|
| 574 |
+
|
| 575 |
+
#### All Hyperparameters
|
| 576 |
+
<details><summary>Click to expand</summary>
|
| 577 |
+
|
| 578 |
+
- `overwrite_output_dir`: False
|
| 579 |
+
- `do_predict`: False
|
| 580 |
+
- `eval_strategy`: steps
|
| 581 |
+
- `prediction_loss_only`: True
|
| 582 |
+
- `per_device_train_batch_size`: 16
|
| 583 |
+
- `per_device_eval_batch_size`: 16
|
| 584 |
+
- `per_gpu_train_batch_size`: None
|
| 585 |
+
- `per_gpu_eval_batch_size`: None
|
| 586 |
+
- `gradient_accumulation_steps`: 1
|
| 587 |
+
- `eval_accumulation_steps`: None
|
| 588 |
+
- `torch_empty_cache_steps`: None
|
| 589 |
+
- `learning_rate`: 2e-05
|
| 590 |
+
- `weight_decay`: 0.0
|
| 591 |
+
- `adam_beta1`: 0.9
|
| 592 |
+
- `adam_beta2`: 0.999
|
| 593 |
+
- `adam_epsilon`: 1e-08
|
| 594 |
+
- `max_grad_norm`: 1.0
|
| 595 |
+
- `num_train_epochs`: 2
|
| 596 |
+
- `max_steps`: -1
|
| 597 |
+
- `lr_scheduler_type`: linear
|
| 598 |
+
- `lr_scheduler_kwargs`: {}
|
| 599 |
+
- `warmup_ratio`: 0.1
|
| 600 |
+
- `warmup_steps`: 0
|
| 601 |
+
- `log_level`: passive
|
| 602 |
+
- `log_level_replica`: warning
|
| 603 |
+
- `log_on_each_node`: True
|
| 604 |
+
- `logging_nan_inf_filter`: True
|
| 605 |
+
- `save_safetensors`: True
|
| 606 |
+
- `save_on_each_node`: False
|
| 607 |
+
- `save_only_model`: False
|
| 608 |
+
- `restore_callback_states_from_checkpoint`: False
|
| 609 |
+
- `no_cuda`: False
|
| 610 |
+
- `use_cpu`: False
|
| 611 |
+
- `use_mps_device`: False
|
| 612 |
+
- `seed`: 42
|
| 613 |
+
- `data_seed`: None
|
| 614 |
+
- `jit_mode_eval`: False
|
| 615 |
+
- `use_ipex`: False
|
| 616 |
+
- `bf16`: False
|
| 617 |
+
- `fp16`: True
|
| 618 |
+
- `fp16_opt_level`: O1
|
| 619 |
+
- `half_precision_backend`: auto
|
| 620 |
+
- `bf16_full_eval`: False
|
| 621 |
+
- `fp16_full_eval`: False
|
| 622 |
+
- `tf32`: None
|
| 623 |
+
- `local_rank`: 0
|
| 624 |
+
- `ddp_backend`: None
|
| 625 |
+
- `tpu_num_cores`: None
|
| 626 |
+
- `tpu_metrics_debug`: False
|
| 627 |
+
- `debug`: []
|
| 628 |
+
- `dataloader_drop_last`: False
|
| 629 |
+
- `dataloader_num_workers`: 0
|
| 630 |
+
- `dataloader_prefetch_factor`: None
|
| 631 |
+
- `past_index`: -1
|
| 632 |
+
- `disable_tqdm`: False
|
| 633 |
+
- `remove_unused_columns`: True
|
| 634 |
+
- `label_names`: None
|
| 635 |
+
- `load_best_model_at_end`: False
|
| 636 |
+
- `ignore_data_skip`: False
|
| 637 |
+
- `fsdp`: []
|
| 638 |
+
- `fsdp_min_num_params`: 0
|
| 639 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
| 640 |
+
- `tp_size`: 0
|
| 641 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
| 642 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
| 643 |
+
- `deepspeed`: None
|
| 644 |
+
- `label_smoothing_factor`: 0.0
|
| 645 |
+
- `optim`: adamw_torch
|
| 646 |
+
- `optim_args`: None
|
| 647 |
+
- `adafactor`: False
|
| 648 |
+
- `group_by_length`: False
|
| 649 |
+
- `length_column_name`: length
|
| 650 |
+
- `ddp_find_unused_parameters`: None
|
| 651 |
+
- `ddp_bucket_cap_mb`: None
|
| 652 |
+
- `ddp_broadcast_buffers`: False
|
| 653 |
+
- `dataloader_pin_memory`: True
|
| 654 |
+
- `dataloader_persistent_workers`: False
|
| 655 |
+
- `skip_memory_metrics`: True
|
| 656 |
+
- `use_legacy_prediction_loop`: False
|
| 657 |
+
- `push_to_hub`: False
|
| 658 |
+
- `resume_from_checkpoint`: None
|
| 659 |
+
- `hub_model_id`: None
|
| 660 |
+
- `hub_strategy`: every_save
|
| 661 |
+
- `hub_private_repo`: None
|
| 662 |
+
- `hub_always_push`: False
|
| 663 |
+
- `gradient_checkpointing`: False
|
| 664 |
+
- `gradient_checkpointing_kwargs`: None
|
| 665 |
+
- `include_inputs_for_metrics`: False
|
| 666 |
+
- `include_for_metrics`: []
|
| 667 |
+
- `eval_do_concat_batches`: True
|
| 668 |
+
- `fp16_backend`: auto
|
| 669 |
+
- `push_to_hub_model_id`: None
|
| 670 |
+
- `push_to_hub_organization`: None
|
| 671 |
+
- `mp_parameters`:
|
| 672 |
+
- `auto_find_batch_size`: False
|
| 673 |
+
- `full_determinism`: False
|
| 674 |
+
- `torchdynamo`: None
|
| 675 |
+
- `ray_scope`: last
|
| 676 |
+
- `ddp_timeout`: 1800
|
| 677 |
+
- `torch_compile`: False
|
| 678 |
+
- `torch_compile_backend`: None
|
| 679 |
+
- `torch_compile_mode`: None
|
| 680 |
+
- `include_tokens_per_second`: False
|
| 681 |
+
- `include_num_input_tokens_seen`: False
|
| 682 |
+
- `neftune_noise_alpha`: None
|
| 683 |
+
- `optim_target_modules`: None
|
| 684 |
+
- `batch_eval_metrics`: False
|
| 685 |
+
- `eval_on_start`: False
|
| 686 |
+
- `use_liger_kernel`: False
|
| 687 |
+
- `eval_use_gather_object`: False
|
| 688 |
+
- `average_tokens_across_devices`: False
|
| 689 |
+
- `prompts`: None
|
| 690 |
+
- `batch_sampler`: no_duplicates
|
| 691 |
+
- `multi_dataset_batch_sampler`: proportional
|
| 692 |
+
|
| 693 |
+
</details>
|
| 694 |
+
|
| 695 |
+
### Training Logs
|
| 696 |
+
| Epoch | Step | Training Loss | Validation Loss | sts-dev_spearman_cosine | sts-test_spearman_cosine |
|
| 697 |
+
|:------:|:----:|:-------------:|:---------------:|:-----------------------:|:------------------------:|
|
| 698 |
+
| -1 | -1 | - | - | 0.8671 | - |
|
| 699 |
+
| 0.3953 | 100 | 0.0204 | 0.0018 | 0.8743 | - |
|
| 700 |
+
| 0.7905 | 200 | 0.0046 | 0.0020 | 0.8752 | - |
|
| 701 |
+
| 1.1858 | 300 | 0.0021 | 0.0012 | 0.8752 | - |
|
| 702 |
+
| 1.5810 | 400 | 0.0008 | 0.0016 | 0.8757 | - |
|
| 703 |
+
| 1.9763 | 500 | 0.0027 | 0.0014 | 0.8755 | - |
|
| 704 |
+
| -1 | -1 | - | - | - | 0.8755 |
|
| 705 |
+
|
| 706 |
+
|
| 707 |
+
### Framework Versions
|
| 708 |
+
- Python: 3.11.11
|
| 709 |
+
- Sentence Transformers: 3.4.1
|
| 710 |
+
- Transformers: 4.51.1
|
| 711 |
+
- PyTorch: 2.5.1+cu124
|
| 712 |
+
- Accelerate: 1.3.0
|
| 713 |
+
- Datasets: 3.5.0
|
| 714 |
+
- Tokenizers: 0.21.0
|
| 715 |
+
|
| 716 |
+
## Citation
|
| 717 |
+
|
| 718 |
+
### BibTeX
|
| 719 |
+
|
| 720 |
+
#### Sentence Transformers
|
| 721 |
+
```bibtex
|
| 722 |
+
@inproceedings{reimers-2019-sentence-bert,
|
| 723 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
| 724 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
| 725 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
| 726 |
+
month = "11",
|
| 727 |
+
year = "2019",
|
| 728 |
+
publisher = "Association for Computational Linguistics",
|
| 729 |
+
url = "https://arxiv.org/abs/1908.10084",
|
| 730 |
+
}
|
| 731 |
+
```
|
| 732 |
+
|
| 733 |
+
#### MultipleNegativesRankingLoss
|
| 734 |
+
```bibtex
|
| 735 |
+
@misc{henderson2017efficient,
|
| 736 |
+
title={Efficient Natural Language Response Suggestion for Smart Reply},
|
| 737 |
+
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},
|
| 738 |
+
year={2017},
|
| 739 |
+
eprint={1705.00652},
|
| 740 |
+
archivePrefix={arXiv},
|
| 741 |
+
primaryClass={cs.CL}
|
| 742 |
+
}
|
| 743 |
+
```
|
| 744 |
+
|
| 745 |
+
<!--
|
| 746 |
+
## Glossary
|
| 747 |
+
|
| 748 |
+
*Clearly define terms in order to be accessible across audiences.*
|
| 749 |
+
-->
|
| 750 |
+
|
| 751 |
+
<!--
|
| 752 |
+
## Model Card Authors
|
| 753 |
+
|
| 754 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
| 755 |
+
-->
|
| 756 |
+
|
| 757 |
+
<!--
|
| 758 |
+
## Model Card Contact
|
| 759 |
+
|
| 760 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 761 |
+
-->
|
config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertModel"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"classifier_dropout": null,
|
| 7 |
+
"gradient_checkpointing": false,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 384,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 1536,
|
| 13 |
+
"layer_norm_eps": 1e-12,
|
| 14 |
+
"max_position_embeddings": 512,
|
| 15 |
+
"model_type": "bert",
|
| 16 |
+
"num_attention_heads": 12,
|
| 17 |
+
"num_hidden_layers": 6,
|
| 18 |
+
"pad_token_id": 0,
|
| 19 |
+
"position_embedding_type": "absolute",
|
| 20 |
+
"torch_dtype": "float32",
|
| 21 |
+
"transformers_version": "4.51.1",
|
| 22 |
+
"type_vocab_size": 2,
|
| 23 |
+
"use_cache": true,
|
| 24 |
+
"vocab_size": 30522
|
| 25 |
+
}
|
config_sentence_transformers.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"__version__": {
|
| 3 |
+
"sentence_transformers": "3.4.1",
|
| 4 |
+
"transformers": "4.51.1",
|
| 5 |
+
"pytorch": "2.5.1+cu124"
|
| 6 |
+
},
|
| 7 |
+
"prompts": {},
|
| 8 |
+
"default_prompt_name": null,
|
| 9 |
+
"similarity_fn_name": "cosine"
|
| 10 |
+
}
|
eval/similarity_evaluation_sts-dev_results.csv
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
epoch,steps,cosine_pearson,cosine_spearman
|
| 2 |
+
0.3952569169960474,100,0.8768557369102674,0.874318253748564
|
| 3 |
+
0.7905138339920948,200,0.8771717388441402,0.8751972862601562
|
| 4 |
+
1.1857707509881423,300,0.8773181376919055,0.8752357555656901
|
| 5 |
+
1.5810276679841897,400,0.8778527655445694,0.8756841473426699
|
| 6 |
+
1.9762845849802373,500,0.8776143775032945,0.8754887541943006
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ece53c030bb3c7c5e8fe9a780d74d62c9bed62fa1d7ed2ce28cf4ad1086a7fff
|
| 3 |
+
size 90864192
|
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 |
+
]
|
runs/Jul30_12-33-24_504bbaf3a637/events.out.tfevents.1753878821.504bbaf3a637.13.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d25fbfd64ed27f4f8d0a9edfdd4ce2705071859a1902b553481e0fe24b51272f
|
| 3 |
+
size 7733
|
sentence_bert_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_seq_length": 256,
|
| 3 |
+
"do_lower_case": false
|
| 4 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": {
|
| 3 |
+
"content": "[CLS]",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"mask_token": {
|
| 10 |
+
"content": "[MASK]",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "[PAD]",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"sep_token": {
|
| 24 |
+
"content": "[SEP]",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"unk_token": {
|
| 31 |
+
"content": "[UNK]",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
}
|
| 37 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"100": {
|
| 12 |
+
"content": "[UNK]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"101": {
|
| 20 |
+
"content": "[CLS]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"102": {
|
| 28 |
+
"content": "[SEP]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"103": {
|
| 36 |
+
"content": "[MASK]",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"clean_up_tokenization_spaces": false,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_basic_tokenize": true,
|
| 47 |
+
"do_lower_case": true,
|
| 48 |
+
"extra_special_tokens": {},
|
| 49 |
+
"mask_token": "[MASK]",
|
| 50 |
+
"max_length": 128,
|
| 51 |
+
"model_max_length": 256,
|
| 52 |
+
"never_split": null,
|
| 53 |
+
"pad_to_multiple_of": null,
|
| 54 |
+
"pad_token": "[PAD]",
|
| 55 |
+
"pad_token_type_id": 0,
|
| 56 |
+
"padding_side": "right",
|
| 57 |
+
"sep_token": "[SEP]",
|
| 58 |
+
"stride": 0,
|
| 59 |
+
"strip_accents": null,
|
| 60 |
+
"tokenize_chinese_chars": true,
|
| 61 |
+
"tokenizer_class": "BertTokenizer",
|
| 62 |
+
"truncation_side": "right",
|
| 63 |
+
"truncation_strategy": "longest_first",
|
| 64 |
+
"unk_token": "[UNK]"
|
| 65 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72844a2c9869e8268360ecadfb2231093d1bedbfbe8460de39ede366a9e681cb
|
| 3 |
+
size 5560
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|