CDXV
/

CDXV commited on
Commit
5c6e055
·
0 Parent(s):

Duplicate from CDXV/result_model

Browse files
.gitattributes ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz 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,410 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: Children smiling and waving at camera
12
+ sentences:
13
+ - The kids are frowning
14
+ - The people are eating omelettes.
15
+ - Near a couple of restaurants, two people walk across the street.
16
+ - source_sentence: Two women, holding food carryout containers, hug.
17
+ sentences:
18
+ - two coworkers cross pathes on a street
19
+ - The woman is wearing white.
20
+ - Two groups of rival gang members flipped each other off.
21
+ - source_sentence: A woman is walking across the street eating a banana, while a man
22
+ is following with his briefcase.
23
+ sentences:
24
+ - A woman eats a banana and walks across a street, and there is a man trailing behind
25
+ her.
26
+ - An elderly man sits in a small shop.
27
+ - The adults are both male and female.
28
+ - source_sentence: People waiting to get on a train or just getting off.
29
+ sentences:
30
+ - There are people waiting on a train.
31
+ - The two sisters saw each other across the crowded diner and shared a hug, both
32
+ clutching their doggie bags.
33
+ - There are two woman in this picture.
34
+ - source_sentence: The school is having a special event in order to show the american
35
+ culture on how other cultures are dealt with in parties.
36
+ sentences:
37
+ - They are protesting outside the capital.
38
+ - A woman ordering pizza.
39
+ - A school is hosting an event.
40
+ pipeline_tag: sentence-similarity
41
+ library_name: sentence-transformers
42
+ metrics:
43
+ - pearson_cosine
44
+ - spearman_cosine
45
+ model-index:
46
+ - name: SentenceTransformer based on abdeljalilELmajjodi/model
47
+ results:
48
+ - task:
49
+ type: semantic-similarity
50
+ name: Semantic Similarity
51
+ dataset:
52
+ name: pair score evaluator dev
53
+ type: pair-score-evaluator-dev
54
+ metrics:
55
+ - type: pearson_cosine
56
+ value: -0.22939457943411037
57
+ name: Pearson Cosine
58
+ - type: spearman_cosine
59
+ value: -0.18637822325921868
60
+ name: Spearman Cosine
61
+ ---
62
+
63
+ # SentenceTransformer based on abdeljalilELmajjodi/model
64
+
65
+ 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.
66
+
67
+ ## Model Details
68
+
69
+ ### Model Description
70
+ - **Model Type:** Sentence Transformer
71
+ - **Base model:** [abdeljalilELmajjodi/model](https://huggingface.co/abdeljalilELmajjodi/model) <!-- at revision 284169e2c18b482372374a251b8dc1e1756416de -->
72
+ - **Maximum Sequence Length:** 512 tokens
73
+ - **Output Dimensionality:** 1024 dimensions
74
+ - **Similarity Function:** Cosine Similarity
75
+ - **Supported Modality:** Text
76
+ - **Training Dataset:**
77
+ - all-nli
78
+ <!-- - **Language:** Unknown -->
79
+ <!-- - **License:** Unknown -->
80
+
81
+ ### Model Sources
82
+
83
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
84
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
85
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
86
+
87
+ ### Full Model Architecture
88
+
89
+ ```
90
+ SentenceTransformer(
91
+ (0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'XLMRobertaModel'})
92
+ (1): Pooling({'embedding_dimension': 1024, 'pooling_mode': 'mean', 'include_prompt': True})
93
+ )
94
+ ```
95
+
96
+ ## Usage
97
+
98
+ ### Direct Usage (Sentence Transformers)
99
+
100
+ First install the Sentence Transformers library:
101
+
102
+ ```bash
103
+ pip install -U sentence-transformers
104
+ ```
105
+ Then you can load this model and run inference.
106
+ ```python
107
+ from sentence_transformers import SentenceTransformer
108
+
109
+ # Download from the 🤗 Hub
110
+ model = SentenceTransformer("sentence_transformers_model_id")
111
+ # Run inference
112
+ sentences = [
113
+ 'The school is having a special event in order to show the american culture on how other cultures are dealt with in parties.',
114
+ 'A school is hosting an event.',
115
+ 'They are protesting outside the capital.',
116
+ ]
117
+ embeddings = model.encode(sentences)
118
+ print(embeddings.shape)
119
+ # [3, 1024]
120
+
121
+ # Get the similarity scores for the embeddings
122
+ similarities = model.similarity(embeddings, embeddings)
123
+ print(similarities)
124
+ # tensor([[1.0000, 0.9755, 0.9818],
125
+ # [0.9755, 1.0000, 0.9960],
126
+ # [0.9818, 0.9960, 1.0000]])
127
+ ```
128
+ <!--
129
+ ### Direct Usage (Transformers)
130
+
131
+ <details><summary>Click to see the direct usage in Transformers</summary>
132
+
133
+ </details>
134
+ -->
135
+
136
+ <!--
137
+ ### Downstream Usage (Sentence Transformers)
138
+
139
+ You can finetune this model on your own dataset.
140
+
141
+ <details><summary>Click to expand</summary>
142
+
143
+ </details>
144
+ -->
145
+
146
+ <!--
147
+ ### Out-of-Scope Use
148
+
149
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
150
+ -->
151
+
152
+ ## Evaluation
153
+
154
+ ### Metrics
155
+
156
+ #### Semantic Similarity
157
+
158
+ * Dataset: `pair-score-evaluator-dev`
159
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.sentence_transformer.evaluation.EmbeddingSimilarityEvaluator)
160
+
161
+ | Metric | Value |
162
+ |:--------------------|:------------|
163
+ | pearson_cosine | -0.2294 |
164
+ | **spearman_cosine** | **-0.1864** |
165
+
166
+ <!--
167
+ ## Bias, Risks and Limitations
168
+
169
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
170
+ -->
171
+
172
+ <!--
173
+ ### Recommendations
174
+
175
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
176
+ -->
177
+
178
+ ## Training Details
179
+
180
+ ### Training Dataset
181
+
182
+ #### all-nli
183
+
184
+ * Dataset: all-nli
185
+ * Size: 80 training samples
186
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
187
+ * Approximate statistics based on the first 80 samples:
188
+ | | sentence1 | sentence2 | score |
189
+ |:--------|:-----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------|
190
+ | type | string | string | float |
191
+ | details | <ul><li>min: 10 tokens</li><li>mean: 25.76 tokens</li><li>max: 52 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 11.9 tokens</li><li>max: 29 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.48</li><li>max: 1.0</li></ul> |
192
+ * Samples:
193
+ | sentence1 | sentence2 | score |
194
+ |:-----------------------------------------------------------------------------------------------|:---------------------------------------------------------|:-----------------|
195
+ | <code>A man with blond-hair, and a brown shirt drinking out of a public water fountain.</code> | <code>A blond man drinking water from a fountain.</code> | <code>1.0</code> |
196
+ | <code>A man, woman, and child enjoying themselves on a beach.</code> | <code>A family of three is at the mall shopping.</code> | <code>0.0</code> |
197
+ | <code>A woman wearing all white and eating, walks next to a man holding a briefcase.</code> | <code>A married couple is sleeping.</code> | <code>0.0</code> |
198
+ * Loss: [<code>CoSENTLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
199
+ ```json
200
+ {
201
+ "scale": 20.0,
202
+ "similarity_fct": "pairwise_cos_sim"
203
+ }
204
+ ```
205
+
206
+ ### Evaluation Dataset
207
+
208
+ #### all-nli
209
+
210
+ * Dataset: all-nli
211
+ * Size: 20 evaluation samples
212
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
213
+ * Approximate statistics based on the first 20 samples:
214
+ | | sentence1 | sentence2 | score |
215
+ |:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:--------------------------------------------------------------|
216
+ | type | string | string | float |
217
+ | details | <ul><li>min: 10 tokens</li><li>mean: 25.6 tokens</li><li>max: 52 tokens</li></ul> | <ul><li>min: 8 tokens</li><li>mean: 12.3 tokens</li><li>max: 29 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.6</li><li>max: 1.0</li></ul> |
218
+ * Samples:
219
+ | sentence1 | sentence2 | score |
220
+ |:---------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------|:-----------------|
221
+ | <code>A man and a woman cross the street in front of a pizza and gyro restaurant.</code> | <code>Near a couple of restaurants, two people walk across the street.</code> | <code>1.0</code> |
222
+ | <code>Woman in white in foreground and a man slightly behind walking with a sign for John's Pizza and Gyro in the background.</code> | <code>A woman ordering pizza.</code> | <code>0.5</code> |
223
+ | <code>An older man sits with his orange juice at a small table in a coffee shop while employees in bright colored shirts smile in the background.</code> | <code>A boy flips a burger.</code> | <code>0.0</code> |
224
+ * Loss: [<code>CoSENTLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
225
+ ```json
226
+ {
227
+ "scale": 20.0,
228
+ "similarity_fct": "pairwise_cos_sim"
229
+ }
230
+ ```
231
+
232
+ ### Training Hyperparameters
233
+ #### Non-Default Hyperparameters
234
+
235
+ - `num_train_epochs`: 1
236
+ - `warmup_steps`: 0.05
237
+ - `bf16`: True
238
+ - `fp16_full_eval`: True
239
+ - `load_best_model_at_end`: True
240
+ - `push_to_hub`: True
241
+ - `gradient_checkpointing`: True
242
+
243
+ #### All Hyperparameters
244
+ <details><summary>Click to expand</summary>
245
+
246
+ - `do_predict`: False
247
+ - `prediction_loss_only`: True
248
+ - `per_device_train_batch_size`: 8
249
+ - `per_device_eval_batch_size`: 8
250
+ - `gradient_accumulation_steps`: 1
251
+ - `eval_accumulation_steps`: None
252
+ - `torch_empty_cache_steps`: None
253
+ - `learning_rate`: 5e-05
254
+ - `weight_decay`: 0.0
255
+ - `adam_beta1`: 0.9
256
+ - `adam_beta2`: 0.999
257
+ - `adam_epsilon`: 1e-08
258
+ - `max_grad_norm`: 1.0
259
+ - `num_train_epochs`: 1
260
+ - `max_steps`: -1
261
+ - `lr_scheduler_type`: linear
262
+ - `lr_scheduler_kwargs`: None
263
+ - `warmup_ratio`: None
264
+ - `warmup_steps`: 0.05
265
+ - `log_level`: passive
266
+ - `log_level_replica`: warning
267
+ - `log_on_each_node`: True
268
+ - `logging_nan_inf_filter`: True
269
+ - `enable_jit_checkpoint`: False
270
+ - `save_on_each_node`: False
271
+ - `save_only_model`: False
272
+ - `restore_callback_states_from_checkpoint`: False
273
+ - `use_cpu`: False
274
+ - `seed`: 42
275
+ - `data_seed`: None
276
+ - `bf16`: True
277
+ - `fp16`: False
278
+ - `bf16_full_eval`: False
279
+ - `fp16_full_eval`: True
280
+ - `tf32`: None
281
+ - `local_rank`: -1
282
+ - `ddp_backend`: None
283
+ - `debug`: []
284
+ - `dataloader_drop_last`: False
285
+ - `dataloader_num_workers`: 0
286
+ - `dataloader_prefetch_factor`: None
287
+ - `disable_tqdm`: False
288
+ - `remove_unused_columns`: True
289
+ - `label_names`: None
290
+ - `load_best_model_at_end`: True
291
+ - `ignore_data_skip`: False
292
+ - `fsdp`: []
293
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
294
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
295
+ - `parallelism_config`: None
296
+ - `deepspeed`: None
297
+ - `label_smoothing_factor`: 0.0
298
+ - `optim`: adamw_torch_fused
299
+ - `optim_args`: None
300
+ - `group_by_length`: False
301
+ - `length_column_name`: length
302
+ - `project`: huggingface
303
+ - `trackio_space_id`: trackio
304
+ - `ddp_find_unused_parameters`: None
305
+ - `ddp_bucket_cap_mb`: None
306
+ - `ddp_broadcast_buffers`: False
307
+ - `dataloader_pin_memory`: True
308
+ - `dataloader_persistent_workers`: False
309
+ - `skip_memory_metrics`: True
310
+ - `push_to_hub`: True
311
+ - `resume_from_checkpoint`: None
312
+ - `hub_model_id`: None
313
+ - `hub_strategy`: every_save
314
+ - `hub_private_repo`: None
315
+ - `hub_always_push`: False
316
+ - `hub_revision`: None
317
+ - `gradient_checkpointing`: True
318
+ - `gradient_checkpointing_kwargs`: None
319
+ - `include_for_metrics`: []
320
+ - `eval_do_concat_batches`: True
321
+ - `auto_find_batch_size`: False
322
+ - `full_determinism`: False
323
+ - `ddp_timeout`: 1800
324
+ - `torch_compile`: False
325
+ - `torch_compile_backend`: None
326
+ - `torch_compile_mode`: None
327
+ - `include_num_input_tokens_seen`: no
328
+ - `neftune_noise_alpha`: None
329
+ - `optim_target_modules`: None
330
+ - `batch_eval_metrics`: False
331
+ - `eval_on_start`: False
332
+ - `use_liger_kernel`: False
333
+ - `liger_kernel_config`: None
334
+ - `eval_use_gather_object`: False
335
+ - `average_tokens_across_devices`: True
336
+ - `use_cache`: False
337
+ - `prompts`: None
338
+ - `batch_sampler`: batch_sampler
339
+ - `multi_dataset_batch_sampler`: proportional
340
+ - `router_mapping`: {}
341
+ - `learning_rate_mapping`: {}
342
+
343
+ </details>
344
+
345
+ ### Training Logs
346
+ | Epoch | Step | Training Loss | Validation Loss | pair-score-evaluator-dev_spearman_cosine |
347
+ |:-------:|:------:|:-------------:|:---------------:|:----------------------------------------:|
348
+ | 0.1 | 1 | 2.7147 | - | - |
349
+ | 0.5 | 5 | 3.4691 | - | - |
350
+ | **1.0** | **10** | **3.0569** | **2.7822** | **-0.1864** |
351
+
352
+ * The bold row denotes the saved checkpoint.
353
+
354
+ ### Training Time
355
+ - **Training**: 3.3 minutes
356
+
357
+ ### Framework Versions
358
+ - Python: 3.12.13
359
+ - Sentence Transformers: 5.4.1
360
+ - Transformers: 5.0.0
361
+ - PyTorch: 2.10.0+cu128
362
+ - Accelerate: 1.13.0
363
+ - Datasets: 4.8.5
364
+ - Tokenizers: 0.22.2
365
+
366
+ ## Citation
367
+
368
+ ### BibTeX
369
+
370
+ #### Sentence Transformers
371
+ ```bibtex
372
+ @inproceedings{reimers-2019-sentence-bert,
373
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
374
+ author = "Reimers, Nils and Gurevych, Iryna",
375
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
376
+ month = "11",
377
+ year = "2019",
378
+ publisher = "Association for Computational Linguistics",
379
+ url = "https://arxiv.org/abs/1908.10084",
380
+ }
381
+ ```
382
+
383
+ #### CoSENTLoss
384
+ ```bibtex
385
+ @article{10531646,
386
+ 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.},
387
+ journal={IEEE/ACM Transactions on Audio, Speech, and Language Processing},
388
+ title={CoSENT: Consistent Sentence Embedding via Similarity Ranking},
389
+ year={2024},
390
+ doi={10.1109/TASLP.2024.3402087}
391
+ }
392
+ ```
393
+
394
+ <!--
395
+ ## Glossary
396
+
397
+ *Clearly define terms in order to be accessible across audiences.*
398
+ -->
399
+
400
+ <!--
401
+ ## Model Card Authors
402
+
403
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
404
+ -->
405
+
406
+ <!--
407
+ ## Model Card Contact
408
+
409
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
410
+ -->
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": true,
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.4.1",
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,3 @@
 
 
 
 
1
+ epoch,steps,cosine_pearson,cosine_spearman
2
+ 1.0,10,0.037203406650844886,0.07040057435528181
3
+ 1.0,10,-0.22939457943411037,-0.18637822325921868
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c79ed02fffd54520736eb1e2ae44fa2c569e1427220ccec360c690151461f91a
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:d6ea488ee6e9089a524722aa1c00b55b8ba2c4f57cb4cc27c18463a3d0bcca89
3
+ size 5521