Pyro-X2 commited on
Commit
e2544c0
·
verified ·
1 Parent(s): 03692f4

Add new SentenceTransformer model

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 768,
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,427 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:4480
8
+ - loss:CosineSimilarityLoss
9
+ base_model: distilbert/distilbert-base-uncased
10
+ widget:
11
+ - source_sentence: I have the same thing.
12
+ sentences:
13
+ - And, Obama gets zero credit for the budget under him.
14
+ - UK urges countries over Syria aid
15
+ - I have the same situation and have traveled extensively.
16
+ - source_sentence: a man wearing a gray hat fishing out of a fishing boat.
17
+ sentences:
18
+ - A man wearing a straw hat and fishing vest in a stream.
19
+ - no, it's not an answer.
20
+ - Mann's work and the HS was all about Tree rings.
21
+ - source_sentence: A small white cat with glowing eyes standing underneath a chair.
22
+ sentences:
23
+ - A white cat stands on the floor.
24
+ - A woman is cutting a tomato.
25
+ - The man is playing the piano with his nose.
26
+ - source_sentence: Originally Posted by muslim girl ooops sorry!
27
+ sentences:
28
+ - Originally Posted by muslim girl its not a complete impossibility.
29
+ - A person riding a dirt bike.
30
+ - None of the casualties was Americans, said Capt. Michael Calvert, regiment spokesman.
31
+ - source_sentence: Tell us what the charges were.
32
+ sentences:
33
+ - The Judges orders a three-page letter to be filed.
34
+ - Yes what are his charges.
35
+ - A person is buttering a tray.
36
+ pipeline_tag: sentence-similarity
37
+ library_name: sentence-transformers
38
+ metrics:
39
+ - pearson_cosine
40
+ - spearman_cosine
41
+ model-index:
42
+ - name: SentenceTransformer based on distilbert/distilbert-base-uncased
43
+ results:
44
+ - task:
45
+ type: semantic-similarity
46
+ name: Semantic Similarity
47
+ dataset:
48
+ name: sts dev
49
+ type: sts-dev
50
+ metrics:
51
+ - type: pearson_cosine
52
+ value: 0.3779858984516553
53
+ name: Pearson Cosine
54
+ - type: spearman_cosine
55
+ value: 0.473144636361867
56
+ name: Spearman Cosine
57
+ - task:
58
+ type: semantic-similarity
59
+ name: Semantic Similarity
60
+ dataset:
61
+ name: sts test
62
+ type: sts-test
63
+ metrics:
64
+ - type: pearson_cosine
65
+ value: 0.34896468808057485
66
+ name: Pearson Cosine
67
+ - type: spearman_cosine
68
+ value: 0.44906241393019836
69
+ name: Spearman Cosine
70
+ ---
71
+
72
+ # SentenceTransformer based on distilbert/distilbert-base-uncased
73
+
74
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on the csv dataset. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
75
+
76
+ ## Model Details
77
+
78
+ ### Model Description
79
+ - **Model Type:** Sentence Transformer
80
+ - **Base model:** [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) <!-- at revision 12040accade4e8a0f71eabdb258fecc2e7e948be -->
81
+ - **Maximum Sequence Length:** 512 tokens
82
+ - **Output Dimensionality:** 768 dimensions
83
+ - **Similarity Function:** Cosine Similarity
84
+ - **Training Dataset:**
85
+ - csv
86
+ <!-- - **Language:** Unknown -->
87
+ <!-- - **License:** Unknown -->
88
+
89
+ ### Model Sources
90
+
91
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
92
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
93
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
94
+
95
+ ### Full Model Architecture
96
+
97
+ ```
98
+ SentenceTransformer(
99
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: DistilBertModel
100
+ (1): Pooling({'word_embedding_dimension': 768, '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})
101
+ )
102
+ ```
103
+
104
+ ## Usage
105
+
106
+ ### Direct Usage (Sentence Transformers)
107
+
108
+ First install the Sentence Transformers library:
109
+
110
+ ```bash
111
+ pip install -U sentence-transformers
112
+ ```
113
+
114
+ Then you can load this model and run inference.
115
+ ```python
116
+ from sentence_transformers import SentenceTransformer
117
+
118
+ # Download from the 🤗 Hub
119
+ model = SentenceTransformer("Pyro-X2/distilbert-base-uncased-sts")
120
+ # Run inference
121
+ sentences = [
122
+ 'Tell us what the charges were.',
123
+ 'Yes what are his charges.',
124
+ 'A person is buttering a tray.',
125
+ ]
126
+ embeddings = model.encode(sentences)
127
+ print(embeddings.shape)
128
+ # [3, 768]
129
+
130
+ # Get the similarity scores for the embeddings
131
+ similarities = model.similarity(embeddings, embeddings)
132
+ print(similarities.shape)
133
+ # [3, 3]
134
+ ```
135
+
136
+ <!--
137
+ ### Direct Usage (Transformers)
138
+
139
+ <details><summary>Click to see the direct usage in Transformers</summary>
140
+
141
+ </details>
142
+ -->
143
+
144
+ <!--
145
+ ### Downstream Usage (Sentence Transformers)
146
+
147
+ You can finetune this model on your own dataset.
148
+
149
+ <details><summary>Click to expand</summary>
150
+
151
+ </details>
152
+ -->
153
+
154
+ <!--
155
+ ### Out-of-Scope Use
156
+
157
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
158
+ -->
159
+
160
+ ## Evaluation
161
+
162
+ ### Metrics
163
+
164
+ #### Semantic Similarity
165
+
166
+ * Datasets: `sts-dev` and `sts-test`
167
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
168
+
169
+ | Metric | sts-dev | sts-test |
170
+ |:--------------------|:-----------|:-----------|
171
+ | pearson_cosine | 0.378 | 0.349 |
172
+ | **spearman_cosine** | **0.4731** | **0.4491** |
173
+
174
+ <!--
175
+ ## Bias, Risks and Limitations
176
+
177
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
178
+ -->
179
+
180
+ <!--
181
+ ### Recommendations
182
+
183
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
184
+ -->
185
+
186
+ ## Training Details
187
+
188
+ ### Training Dataset
189
+
190
+ #### csv
191
+
192
+ * Dataset: csv
193
+ * Size: 4,480 training samples
194
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
195
+ * Approximate statistics based on the first 1000 samples:
196
+ | | sentence1 | sentence2 | score |
197
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------|
198
+ | type | string | string | int |
199
+ | details | <ul><li>min: 6 tokens</li><li>mean: 15.14 tokens</li><li>max: 50 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.07 tokens</li><li>max: 52 tokens</li></ul> | <ul><li>0: ~14.20%</li><li>1: ~11.60%</li><li>2: ~18.40%</li><li>3: ~23.30%</li><li>4: ~21.70%</li><li>5: ~10.80%</li></ul> |
200
+ * Samples:
201
+ | sentence1 | sentence2 | score |
202
+ |:---------------------------------------------------------------------|:------------------------------------------------------------------------------|:---------------|
203
+ | <code>A man is speaking.</code> | <code>A man is spitting.</code> | <code>1</code> |
204
+ | <code>Austrian found hoarding 56 stolen skulls in home museum</code> | <code>Austrian man charged after 56 human skulls are found at his home</code> | <code>4</code> |
205
+ | <code>Mitt Romney wins Republican primary in Indiana</code> | <code>Romney wins Florida Republican primary</code> | <code>2</code> |
206
+ * Loss: [<code>CosineSimilarityLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosinesimilarityloss) with these parameters:
207
+ ```json
208
+ {
209
+ "loss_fct": "torch.nn.modules.loss.MSELoss"
210
+ }
211
+ ```
212
+
213
+ ### Evaluation Dataset
214
+
215
+ #### csv
216
+
217
+ * Dataset: csv
218
+ * Size: 560 evaluation samples
219
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
220
+ * Approximate statistics based on the first 560 samples:
221
+ | | sentence1 | sentence2 | score |
222
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------|
223
+ | type | string | string | int |
224
+ | details | <ul><li>min: 5 tokens</li><li>mean: 14.41 tokens</li><li>max: 44 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 14.28 tokens</li><li>max: 42 tokens</li></ul> | <ul><li>0: ~12.86%</li><li>1: ~16.96%</li><li>2: ~14.82%</li><li>3: ~18.21%</li><li>4: ~26.43%</li><li>5: ~10.71%</li></ul> |
225
+ * Samples:
226
+ | sentence1 | sentence2 | score |
227
+ |:----------------------------------------------------------------------------------|:--------------------------------------------------------------------|:---------------|
228
+ | <code>An airplane is flying in the air.</code> | <code>A South African Airways plane is flying in a blue sky.</code> | <code>3</code> |
229
+ | <code>A television, upholstered chair, and coffee stable in a bright room.</code> | <code>A leather couch and wooden table in a living room.</code> | <code>2</code> |
230
+ | <code>Red panda’s short-lived zoo escape</code> | <code>India’s march to Mars</code> | <code>0</code> |
231
+ * Loss: [<code>CosineSimilarityLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosinesimilarityloss) with these parameters:
232
+ ```json
233
+ {
234
+ "loss_fct": "torch.nn.modules.loss.MSELoss"
235
+ }
236
+ ```
237
+
238
+ ### Training Hyperparameters
239
+ #### Non-Default Hyperparameters
240
+
241
+ - `eval_strategy`: steps
242
+ - `per_device_train_batch_size`: 16
243
+ - `per_device_eval_batch_size`: 16
244
+ - `num_train_epochs`: 4
245
+ - `warmup_ratio`: 0.1
246
+
247
+ #### All Hyperparameters
248
+ <details><summary>Click to expand</summary>
249
+
250
+ - `overwrite_output_dir`: False
251
+ - `do_predict`: False
252
+ - `eval_strategy`: steps
253
+ - `prediction_loss_only`: True
254
+ - `per_device_train_batch_size`: 16
255
+ - `per_device_eval_batch_size`: 16
256
+ - `per_gpu_train_batch_size`: None
257
+ - `per_gpu_eval_batch_size`: None
258
+ - `gradient_accumulation_steps`: 1
259
+ - `eval_accumulation_steps`: None
260
+ - `torch_empty_cache_steps`: None
261
+ - `learning_rate`: 5e-05
262
+ - `weight_decay`: 0.0
263
+ - `adam_beta1`: 0.9
264
+ - `adam_beta2`: 0.999
265
+ - `adam_epsilon`: 1e-08
266
+ - `max_grad_norm`: 1.0
267
+ - `num_train_epochs`: 4
268
+ - `max_steps`: -1
269
+ - `lr_scheduler_type`: linear
270
+ - `lr_scheduler_kwargs`: {}
271
+ - `warmup_ratio`: 0.1
272
+ - `warmup_steps`: 0
273
+ - `log_level`: passive
274
+ - `log_level_replica`: warning
275
+ - `log_on_each_node`: True
276
+ - `logging_nan_inf_filter`: True
277
+ - `save_safetensors`: True
278
+ - `save_on_each_node`: False
279
+ - `save_only_model`: False
280
+ - `restore_callback_states_from_checkpoint`: False
281
+ - `no_cuda`: False
282
+ - `use_cpu`: False
283
+ - `use_mps_device`: False
284
+ - `seed`: 42
285
+ - `data_seed`: None
286
+ - `jit_mode_eval`: False
287
+ - `use_ipex`: False
288
+ - `bf16`: False
289
+ - `fp16`: False
290
+ - `fp16_opt_level`: O1
291
+ - `half_precision_backend`: auto
292
+ - `bf16_full_eval`: False
293
+ - `fp16_full_eval`: False
294
+ - `tf32`: None
295
+ - `local_rank`: 0
296
+ - `ddp_backend`: None
297
+ - `tpu_num_cores`: None
298
+ - `tpu_metrics_debug`: False
299
+ - `debug`: []
300
+ - `dataloader_drop_last`: False
301
+ - `dataloader_num_workers`: 0
302
+ - `dataloader_prefetch_factor`: None
303
+ - `past_index`: -1
304
+ - `disable_tqdm`: False
305
+ - `remove_unused_columns`: True
306
+ - `label_names`: None
307
+ - `load_best_model_at_end`: False
308
+ - `ignore_data_skip`: False
309
+ - `fsdp`: []
310
+ - `fsdp_min_num_params`: 0
311
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
312
+ - `fsdp_transformer_layer_cls_to_wrap`: None
313
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
314
+ - `deepspeed`: None
315
+ - `label_smoothing_factor`: 0.0
316
+ - `optim`: adamw_torch
317
+ - `optim_args`: None
318
+ - `adafactor`: False
319
+ - `group_by_length`: False
320
+ - `length_column_name`: length
321
+ - `ddp_find_unused_parameters`: None
322
+ - `ddp_bucket_cap_mb`: None
323
+ - `ddp_broadcast_buffers`: False
324
+ - `dataloader_pin_memory`: True
325
+ - `dataloader_persistent_workers`: False
326
+ - `skip_memory_metrics`: True
327
+ - `use_legacy_prediction_loop`: False
328
+ - `push_to_hub`: False
329
+ - `resume_from_checkpoint`: None
330
+ - `hub_model_id`: None
331
+ - `hub_strategy`: every_save
332
+ - `hub_private_repo`: None
333
+ - `hub_always_push`: False
334
+ - `gradient_checkpointing`: False
335
+ - `gradient_checkpointing_kwargs`: None
336
+ - `include_inputs_for_metrics`: False
337
+ - `include_for_metrics`: []
338
+ - `eval_do_concat_batches`: True
339
+ - `fp16_backend`: auto
340
+ - `push_to_hub_model_id`: None
341
+ - `push_to_hub_organization`: None
342
+ - `mp_parameters`:
343
+ - `auto_find_batch_size`: False
344
+ - `full_determinism`: False
345
+ - `torchdynamo`: None
346
+ - `ray_scope`: last
347
+ - `ddp_timeout`: 1800
348
+ - `torch_compile`: False
349
+ - `torch_compile_backend`: None
350
+ - `torch_compile_mode`: None
351
+ - `dispatch_batches`: None
352
+ - `split_batches`: None
353
+ - `include_tokens_per_second`: False
354
+ - `include_num_input_tokens_seen`: False
355
+ - `neftune_noise_alpha`: None
356
+ - `optim_target_modules`: None
357
+ - `batch_eval_metrics`: False
358
+ - `eval_on_start`: False
359
+ - `use_liger_kernel`: False
360
+ - `eval_use_gather_object`: False
361
+ - `average_tokens_across_devices`: False
362
+ - `prompts`: None
363
+ - `batch_sampler`: batch_sampler
364
+ - `multi_dataset_batch_sampler`: proportional
365
+
366
+ </details>
367
+
368
+ ### Training Logs
369
+ | Epoch | Step | Training Loss | Validation Loss | sts-dev_spearman_cosine | sts-test_spearman_cosine |
370
+ |:------:|:----:|:-------------:|:---------------:|:-----------------------:|:------------------------:|
371
+ | 0.3571 | 100 | 5.031 | 5.0990 | 0.4973 | - |
372
+ | 0.7143 | 200 | 4.9152 | 5.0985 | 0.4944 | - |
373
+ | 1.0714 | 300 | 4.8198 | 5.0984 | 0.4959 | - |
374
+ | 1.4286 | 400 | 4.9102 | 5.0983 | 0.4884 | - |
375
+ | 1.7857 | 500 | 4.9238 | 5.0983 | 0.4798 | - |
376
+ | 2.1429 | 600 | 4.9387 | 5.0983 | 0.4777 | - |
377
+ | 2.5 | 700 | 4.8955 | 5.0983 | 0.4752 | - |
378
+ | 2.8571 | 800 | 4.9623 | 5.0983 | 0.4740 | - |
379
+ | 3.2143 | 900 | 4.7754 | 5.0983 | 0.4739 | - |
380
+ | 3.5714 | 1000 | 4.936 | 5.0983 | 0.4734 | - |
381
+ | 3.9286 | 1100 | 4.9254 | 5.0983 | 0.4731 | - |
382
+ | -1 | -1 | - | - | - | 0.4491 |
383
+
384
+
385
+ ### Framework Versions
386
+ - Python: 3.12.12
387
+ - Sentence Transformers: 4.1.0
388
+ - Transformers: 4.49.0
389
+ - PyTorch: 2.3.0.post101
390
+ - Accelerate: 1.10.1
391
+ - Datasets: 3.3.2
392
+ - Tokenizers: 0.21.0
393
+
394
+ ## Citation
395
+
396
+ ### BibTeX
397
+
398
+ #### Sentence Transformers
399
+ ```bibtex
400
+ @inproceedings{reimers-2019-sentence-bert,
401
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
402
+ author = "Reimers, Nils and Gurevych, Iryna",
403
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
404
+ month = "11",
405
+ year = "2019",
406
+ publisher = "Association for Computational Linguistics",
407
+ url = "https://arxiv.org/abs/1908.10084",
408
+ }
409
+ ```
410
+
411
+ <!--
412
+ ## Glossary
413
+
414
+ *Clearly define terms in order to be accessible across audiences.*
415
+ -->
416
+
417
+ <!--
418
+ ## Model Card Authors
419
+
420
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
421
+ -->
422
+
423
+ <!--
424
+ ## Model Card Contact
425
+
426
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
427
+ -->
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertModel"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "initializer_range": 0.02,
12
+ "max_position_embeddings": 512,
13
+ "model_type": "distilbert",
14
+ "n_heads": 12,
15
+ "n_layers": 6,
16
+ "pad_token_id": 0,
17
+ "qa_dropout": 0.1,
18
+ "seq_classif_dropout": 0.2,
19
+ "sinusoidal_pos_embds": false,
20
+ "tie_weights_": true,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.49.0",
23
+ "vocab_size": 30522
24
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "4.1.0",
4
+ "transformers": "4.49.0",
5
+ "pytorch": "2.3.0.post101"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "cosine"
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:095ce092589e451938f25613b1a5483d21ab1fa6e4a4de8fb6c4d8a17668e141
3
+ size 265462608
modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ }
14
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 512,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "DistilBertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff