mkiram commited on
Commit
dc3b824
·
verified ·
1 Parent(s): 2dea16d

Training in progress, step 10

Browse files
.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,5 @@
 
 
 
 
 
 
1
+ {
2
+ "embedding_dimension": 1024,
3
+ "pooling_mode": "mean",
4
+ "include_prompt": true
5
+ }
README.md ADDED
@@ -0,0 +1,413 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:80
8
+ - loss:CoSENTLoss
9
+ base_model: abdeljalilELmajjodi/model
10
+ widget:
11
+ - source_sentence: A woman is walking across the street eating a banana, while a man
12
+ is following with his briefcase.
13
+ sentences:
14
+ - A woman eats ice cream walking down the sidewalk, and there is another woman in
15
+ front of her with a purse.
16
+ - A man in a restaurant is waiting for his meal to arrive.
17
+ - Nobody has food.
18
+ - source_sentence: Two adults, one female in white, with shades and one male, gray
19
+ clothes, walking across a street, away from a eatery with a blurred image of a
20
+ dark colored red shirted person in the foreground.
21
+ sentences:
22
+ - An elderly man sits in a small shop.
23
+ - They are protesting outside the capital.
24
+ - Two adults walking across a road
25
+ - source_sentence: A few people in a restaurant setting, one of them is drinking orange
26
+ juice.
27
+ sentences:
28
+ - The diners are at a restaurant.
29
+ - The boy skates down the sidewalk.
30
+ - The people are sitting at desks in school.
31
+ - source_sentence: A man with blond-hair, and a brown shirt drinking out of a public
32
+ water fountain.
33
+ sentences:
34
+ - A blond man getting a drink of water from a fountain in the park.
35
+ - A female is next to a man.
36
+ - The woman and man are outdoors.
37
+ - source_sentence: Two women who just had lunch hugging and saying goodbye.
38
+ sentences:
39
+ - A man and a woman walk down a crowded city street.
40
+ - The couple are walking across the street together.
41
+ - There are two woman in this picture.
42
+ pipeline_tag: sentence-similarity
43
+ library_name: sentence-transformers
44
+ metrics:
45
+ - pearson_cosine
46
+ - spearman_cosine
47
+ model-index:
48
+ - name: SentenceTransformer based on abdeljalilELmajjodi/model
49
+ results:
50
+ - task:
51
+ type: semantic-similarity
52
+ name: Semantic Similarity
53
+ dataset:
54
+ name: pair score evaluator dev
55
+ type: pair-score-evaluator-dev
56
+ metrics:
57
+ - type: pearson_cosine
58
+ value: -0.19455064165452754
59
+ name: Pearson Cosine
60
+ - type: spearman_cosine
61
+ value: -0.23640181564913884
62
+ name: Spearman Cosine
63
+ ---
64
+
65
+ # SentenceTransformer based on abdeljalilELmajjodi/model
66
+
67
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [abdeljalilELmajjodi/model](https://huggingface.co/abdeljalilELmajjodi/model) on the all-nli dataset. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for retrieval.
68
+
69
+ ## Model Details
70
+
71
+ ### Model Description
72
+ - **Model Type:** Sentence Transformer
73
+ - **Base model:** [abdeljalilELmajjodi/model](https://huggingface.co/abdeljalilELmajjodi/model) <!-- at revision 284169e2c18b482372374a251b8dc1e1756416de -->
74
+ - **Maximum Sequence Length:** 512 tokens
75
+ - **Output Dimensionality:** 1024 dimensions
76
+ - **Similarity Function:** Cosine Similarity
77
+ - **Supported Modality:** Text
78
+ - **Training Dataset:**
79
+ - all-nli
80
+ <!-- - **Language:** Unknown -->
81
+ <!-- - **License:** Unknown -->
82
+
83
+ ### Model Sources
84
+
85
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
86
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
87
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
88
+
89
+ ### Full Model Architecture
90
+
91
+ ```
92
+ SentenceTransformer(
93
+ (0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'XLMRobertaModel'})
94
+ (1): Pooling({'embedding_dimension': 1024, 'pooling_mode': 'mean', 'include_prompt': True})
95
+ )
96
+ ```
97
+
98
+ ## Usage
99
+
100
+ ### Direct Usage (Sentence Transformers)
101
+
102
+ First install the Sentence Transformers library:
103
+
104
+ ```bash
105
+ pip install -U sentence-transformers
106
+ ```
107
+ Then you can load this model and run inference.
108
+ ```python
109
+ from sentence_transformers import SentenceTransformer
110
+
111
+ # Download from the 🤗 Hub
112
+ model = SentenceTransformer("sentence_transformers_model_id")
113
+ # Run inference
114
+ sentences = [
115
+ 'Two women who just had lunch hugging and saying goodbye.',
116
+ 'There are two woman in this picture.',
117
+ 'A man and a woman walk down a crowded city street.',
118
+ ]
119
+ embeddings = model.encode(sentences)
120
+ print(embeddings.shape)
121
+ # [3, 1024]
122
+
123
+ # Get the similarity scores for the embeddings
124
+ similarities = model.similarity(embeddings, embeddings)
125
+ print(similarities)
126
+ # tensor([[1.0000, 0.9875, 0.9876],
127
+ # [0.9875, 1.0000, 0.9877],
128
+ # [0.9876, 0.9877, 1.0000]])
129
+ ```
130
+ <!--
131
+ ### Direct Usage (Transformers)
132
+
133
+ <details><summary>Click to see the direct usage in Transformers</summary>
134
+
135
+ </details>
136
+ -->
137
+
138
+ <!--
139
+ ### Downstream Usage (Sentence Transformers)
140
+
141
+ You can finetune this model on your own dataset.
142
+
143
+ <details><summary>Click to expand</summary>
144
+
145
+ </details>
146
+ -->
147
+
148
+ <!--
149
+ ### Out-of-Scope Use
150
+
151
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
152
+ -->
153
+
154
+ ## Evaluation
155
+
156
+ ### Metrics
157
+
158
+ #### Semantic Similarity
159
+
160
+ * Dataset: `pair-score-evaluator-dev`
161
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.sentence_transformer.evaluation.EmbeddingSimilarityEvaluator)
162
+
163
+ | Metric | Value |
164
+ |:--------------------|:------------|
165
+ | pearson_cosine | -0.1946 |
166
+ | **spearman_cosine** | **-0.2364** |
167
+
168
+ <!--
169
+ ## Bias, Risks and Limitations
170
+
171
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
172
+ -->
173
+
174
+ <!--
175
+ ### Recommendations
176
+
177
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
178
+ -->
179
+
180
+ ## Training Details
181
+
182
+ ### Training Dataset
183
+
184
+ #### all-nli
185
+
186
+ * Dataset: all-nli
187
+ * Size: 80 training samples
188
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
189
+ * Approximate statistics based on the first 80 samples:
190
+ | | sentence1 | sentence2 | score |
191
+ |:---------|:-----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------|
192
+ | type | string | string | float |
193
+ | modality | text | text | |
194
+ | details | <ul><li>min: 10 tokens</li><li>mean: 25.19 tokens</li><li>max: 52 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 12.0 tokens</li><li>max: 29 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.49</li><li>max: 1.0</li></ul> |
195
+ * Samples:
196
+ | sentence1 | sentence2 | score |
197
+ |:----------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------|:-----------------|
198
+ | <code>Two women, holding food carryout containers, hug.</code> | <code>The two sisters saw each other across the crowded diner and shared a hug, both clutching their doggie bags.</code> | <code>0.5</code> |
199
+ | <code>People waiting to get on a train or just getting off.</code> | <code>There are people just getting on a train</code> | <code>1.0</code> |
200
+ | <code>Two women who just had lunch hugging and saying goodbye.</code> | <code>The friends have just met for the first time in 20 years, and have had a great time catching up.</code> | <code>0.5</code> |
201
+ * Loss: [<code>CoSENTLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
202
+ ```json
203
+ {
204
+ "scale": 20.0,
205
+ "similarity_fct": "pairwise_cos_sim"
206
+ }
207
+ ```
208
+
209
+ ### Evaluation Dataset
210
+
211
+ #### all-nli
212
+
213
+ * Dataset: all-nli
214
+ * Size: 20 evaluation samples
215
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
216
+ * Approximate statistics based on the first 20 samples:
217
+ | | sentence1 | sentence2 | score |
218
+ |:---------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------|
219
+ | type | string | string | float |
220
+ | modality | text | text | |
221
+ | details | <ul><li>min: 10 tokens</li><li>mean: 27.9 tokens</li><li>max: 52 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 11.9 tokens</li><li>max: 29 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.57</li><li>max: 1.0</li></ul> |
222
+ * Samples:
223
+ | sentence1 | sentence2 | score |
224
+ |:----------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------|:-----------------|
225
+ | <code>A woman is walking across the street eating a banana, while a man is following with his briefcase.</code> | <code>A woman eats ice cream walking down the sidewalk, and there is another woman in front of her with a purse.</code> | <code>0.0</code> |
226
+ | <code>Two women who just had lunch hugging and saying goodbye.</code> | <code>There are two woman in this picture.</code> | <code>1.0</code> |
227
+ | <code>A woman wearing all white and eating, walks next to a man holding a briefcase.</code> | <code>A female is next to a man.</code> | <code>1.0</code> |
228
+ * Loss: [<code>CoSENTLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
229
+ ```json
230
+ {
231
+ "scale": 20.0,
232
+ "similarity_fct": "pairwise_cos_sim"
233
+ }
234
+ ```
235
+
236
+ ### Training Hyperparameters
237
+ #### Non-Default Hyperparameters
238
+
239
+ - `num_train_epochs`: 1
240
+ - `warmup_steps`: 0.05
241
+ - `bf16`: True
242
+ - `fp16_full_eval`: True
243
+ - `load_best_model_at_end`: True
244
+ - `push_to_hub`: True
245
+ - `gradient_checkpointing`: True
246
+
247
+ #### All Hyperparameters
248
+ <details><summary>Click to expand</summary>
249
+
250
+ - `do_predict`: False
251
+ - `prediction_loss_only`: True
252
+ - `per_device_train_batch_size`: 8
253
+ - `per_device_eval_batch_size`: 8
254
+ - `gradient_accumulation_steps`: 1
255
+ - `eval_accumulation_steps`: None
256
+ - `torch_empty_cache_steps`: None
257
+ - `learning_rate`: 5e-05
258
+ - `weight_decay`: 0.0
259
+ - `adam_beta1`: 0.9
260
+ - `adam_beta2`: 0.999
261
+ - `adam_epsilon`: 1e-08
262
+ - `max_grad_norm`: 1.0
263
+ - `num_train_epochs`: 1
264
+ - `max_steps`: -1
265
+ - `lr_scheduler_type`: linear
266
+ - `lr_scheduler_kwargs`: None
267
+ - `warmup_ratio`: None
268
+ - `warmup_steps`: 0.05
269
+ - `log_level`: passive
270
+ - `log_level_replica`: warning
271
+ - `log_on_each_node`: True
272
+ - `logging_nan_inf_filter`: True
273
+ - `enable_jit_checkpoint`: False
274
+ - `save_on_each_node`: False
275
+ - `save_only_model`: False
276
+ - `restore_callback_states_from_checkpoint`: False
277
+ - `use_cpu`: False
278
+ - `seed`: 42
279
+ - `data_seed`: None
280
+ - `bf16`: True
281
+ - `fp16`: False
282
+ - `bf16_full_eval`: False
283
+ - `fp16_full_eval`: True
284
+ - `tf32`: None
285
+ - `local_rank`: -1
286
+ - `ddp_backend`: None
287
+ - `debug`: []
288
+ - `dataloader_drop_last`: False
289
+ - `dataloader_num_workers`: 0
290
+ - `dataloader_prefetch_factor`: None
291
+ - `disable_tqdm`: False
292
+ - `remove_unused_columns`: True
293
+ - `label_names`: None
294
+ - `load_best_model_at_end`: True
295
+ - `ignore_data_skip`: False
296
+ - `fsdp`: []
297
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
298
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
299
+ - `parallelism_config`: None
300
+ - `deepspeed`: None
301
+ - `label_smoothing_factor`: 0.0
302
+ - `optim`: adamw_torch_fused
303
+ - `optim_args`: None
304
+ - `group_by_length`: False
305
+ - `length_column_name`: length
306
+ - `project`: huggingface
307
+ - `trackio_space_id`: trackio
308
+ - `ddp_find_unused_parameters`: None
309
+ - `ddp_bucket_cap_mb`: None
310
+ - `ddp_broadcast_buffers`: False
311
+ - `dataloader_pin_memory`: True
312
+ - `dataloader_persistent_workers`: False
313
+ - `skip_memory_metrics`: True
314
+ - `push_to_hub`: True
315
+ - `resume_from_checkpoint`: None
316
+ - `hub_model_id`: None
317
+ - `hub_strategy`: every_save
318
+ - `hub_private_repo`: None
319
+ - `hub_always_push`: False
320
+ - `hub_revision`: None
321
+ - `gradient_checkpointing`: True
322
+ - `gradient_checkpointing_kwargs`: None
323
+ - `include_for_metrics`: []
324
+ - `eval_do_concat_batches`: True
325
+ - `auto_find_batch_size`: False
326
+ - `full_determinism`: False
327
+ - `ddp_timeout`: 1800
328
+ - `torch_compile`: False
329
+ - `torch_compile_backend`: None
330
+ - `torch_compile_mode`: None
331
+ - `include_num_input_tokens_seen`: no
332
+ - `neftune_noise_alpha`: None
333
+ - `optim_target_modules`: None
334
+ - `batch_eval_metrics`: False
335
+ - `eval_on_start`: False
336
+ - `use_liger_kernel`: False
337
+ - `liger_kernel_config`: None
338
+ - `eval_use_gather_object`: False
339
+ - `average_tokens_across_devices`: True
340
+ - `use_cache`: False
341
+ - `prompts`: None
342
+ - `batch_sampler`: batch_sampler
343
+ - `multi_dataset_batch_sampler`: proportional
344
+ - `router_mapping`: {}
345
+ - `learning_rate_mapping`: {}
346
+
347
+ </details>
348
+
349
+ ### Training Logs
350
+ | Epoch | Step | Training Loss | Validation Loss | pair-score-evaluator-dev_spearman_cosine |
351
+ |:-----:|:----:|:-------------:|:---------------:|:----------------------------------------:|
352
+ | 0.1 | 1 | 3.0474 | - | - |
353
+ | 0.5 | 5 | 2.8526 | - | - |
354
+ | 1.0 | 10 | 2.7798 | 2.6701 | -0.2364 |
355
+
356
+
357
+ ### Training Time
358
+ - **Training**: 40.5 seconds
359
+
360
+ ### Framework Versions
361
+ - Python: 3.12.13
362
+ - Sentence Transformers: 5.5.0
363
+ - Transformers: 5.0.0
364
+ - PyTorch: 2.10.0+cu128
365
+ - Accelerate: 1.13.0
366
+ - Datasets: 4.8.5
367
+ - Tokenizers: 0.22.2
368
+
369
+ ## Citation
370
+
371
+ ### BibTeX
372
+
373
+ #### Sentence Transformers
374
+ ```bibtex
375
+ @inproceedings{reimers-2019-sentence-bert,
376
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
377
+ author = "Reimers, Nils and Gurevych, Iryna",
378
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
379
+ month = "11",
380
+ year = "2019",
381
+ publisher = "Association for Computational Linguistics",
382
+ url = "https://arxiv.org/abs/1908.10084",
383
+ }
384
+ ```
385
+
386
+ #### CoSENTLoss
387
+ ```bibtex
388
+ @article{10531646,
389
+ author={Huang, Xiang and Peng, Hao and Zou, Dongcheng and Liu, Zhiwei and Li, Jianxin and Liu, Kay and Wu, Jia and Su, Jianlin and Yu, Philip S.},
390
+ journal={IEEE/ACM Transactions on Audio, Speech, and Language Processing},
391
+ title={CoSENT: Consistent Sentence Embedding via Similarity Ranking},
392
+ year={2024},
393
+ doi={10.1109/TASLP.2024.3402087}
394
+ }
395
+ ```
396
+
397
+ <!--
398
+ ## Glossary
399
+
400
+ *Clearly define terms in order to be accessible across audiences.*
401
+ -->
402
+
403
+ <!--
404
+ ## Model Card Authors
405
+
406
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
407
+ -->
408
+
409
+ <!--
410
+ ## Model Card Contact
411
+
412
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
413
+ -->
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "XLMRobertaModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 4096,
16
+ "is_decoder": false,
17
+ "layer_norm_eps": 1e-05,
18
+ "max_position_embeddings": 514,
19
+ "model_type": "xlm-roberta",
20
+ "num_attention_heads": 16,
21
+ "num_hidden_layers": 24,
22
+ "output_past": true,
23
+ "pad_token_id": 1,
24
+ "position_embedding_type": "absolute",
25
+ "tie_word_embeddings": true,
26
+ "transformers_version": "5.0.0",
27
+ "type_vocab_size": 1,
28
+ "use_cache": false,
29
+ "use_flash_attention_2": true,
30
+ "vocab_size": 250002
31
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "pytorch": "2.10.0+cu128",
4
+ "sentence_transformers": "5.5.0",
5
+ "transformers": "5.0.0"
6
+ },
7
+ "default_prompt_name": null,
8
+ "model_type": "SentenceTransformer",
9
+ "prompts": {
10
+ "document": "",
11
+ "query": ""
12
+ },
13
+ "similarity_fn_name": "cosine"
14
+ }
eval/similarity_evaluation_pair-score-evaluator-dev_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine_pearson,cosine_spearman
2
+ 1.0,10,-0.19455064165452754,-0.23640181564913884
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd543476f0f9a01f618a31f4d22cdeb7059819c2e9923664bd2c8775967be487
3
+ size 2239607120
modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.base.modules.transformer.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling"
13
+ }
14
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "transformer_task": "feature-extraction",
3
+ "modality_config": {
4
+ "text": {
5
+ "method": "forward",
6
+ "method_output_name": "last_hidden_state"
7
+ }
8
+ },
9
+ "module_output_name": "token_embeddings"
10
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fe715a86a37cd2b20e5eaeee8b22815bce65de676d1e0cd856114b59dab67fc
3
+ size 16766387
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "cls_token": "<s>",
7
+ "eos_token": "</s>",
8
+ "is_local": false,
9
+ "mask_token": "<mask>",
10
+ "model_max_length": 512,
11
+ "model_specific_special_tokens": {},
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "tokenizer_class": "XLMRobertaTokenizer",
15
+ "unk_token": "<unk>"
16
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed3793454249ac09153c91935ccdccdf6002b921720ebd53025cf7c59189c6b8
3
+ size 5457