RavenAgent commited on
Commit
01590b8
·
verified ·
1 Parent(s): dd65fa7

Initial upload: camembert-large fine-tune for French construction matching (v2, 14k pairs)

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 1024,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": 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,436 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:14481
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: Lajavaness/sentence-camembert-large
11
+ widget:
12
+ - source_sentence: Plomberie sanitaire
13
+ sentences:
14
+ - Semis manuel de pelouses à gazon, mauresques et ordinaires
15
+ - interne
16
+ - Installation sanitaire
17
+ - source_sentence: Charpente bois
18
+ sentences:
19
+ - Structure charpente
20
+ - Équipements sanitaires
21
+ - Installation pour le briquetage des garnitures de frein
22
+ - source_sentence: Machine à découper pour la découpe de la base des bandes et des
23
+ plaques aiguilletées
24
+ sentences:
25
+ - AVB-915
26
+ - Touret d'affûtage pour bandes et plaques à aiguilles
27
+ - section 200 x 400 mm
28
+ - source_sentence: plus de 32 cm
29
+ sentences:
30
+ - combustible gaz-mazout, capacité de production de vapeur 35-75 t/h, pression 3,9
31
+ MPa
32
+ - plus de 0,2 à 0,35 m3
33
+ - à la norme 01-02-104-01
34
+ - source_sentence: jusqu'à 25 m
35
+ sentences:
36
+ - à la norme 33-04-018-02
37
+ - 14,2 t
38
+ - jusqu'à 50 m
39
+ pipeline_tag: sentence-similarity
40
+ library_name: sentence-transformers
41
+ metrics:
42
+ - pearson_cosine
43
+ - spearman_cosine
44
+ model-index:
45
+ - name: SentenceTransformer based on Lajavaness/sentence-camembert-large
46
+ results:
47
+ - task:
48
+ type: semantic-similarity
49
+ name: Semantic Similarity
50
+ dataset:
51
+ name: eval
52
+ type: eval
53
+ metrics:
54
+ - type: pearson_cosine
55
+ value: .nan
56
+ name: Pearson Cosine
57
+ - type: spearman_cosine
58
+ value: .nan
59
+ name: Spearman Cosine
60
+ ---
61
+
62
+ # SentenceTransformer based on Lajavaness/sentence-camembert-large
63
+
64
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Lajavaness/sentence-camembert-large](https://huggingface.co/Lajavaness/sentence-camembert-large). It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
65
+
66
+ ## Model Details
67
+
68
+ ### Model Description
69
+ - **Model Type:** Sentence Transformer
70
+ - **Base model:** [Lajavaness/sentence-camembert-large](https://huggingface.co/Lajavaness/sentence-camembert-large) <!-- at revision 4d78b025607a4fa3803e994520dade7c337441b8 -->
71
+ - **Maximum Sequence Length:** 514 tokens
72
+ - **Output Dimensionality:** 1024 dimensions
73
+ - **Similarity Function:** Cosine Similarity
74
+ <!-- - **Training Dataset:** Unknown -->
75
+ <!-- - **Language:** Unknown -->
76
+ <!-- - **License:** Unknown -->
77
+
78
+ ### Model Sources
79
+
80
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
81
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
82
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
83
+
84
+ ### Full Model Architecture
85
+
86
+ ```
87
+ SentenceTransformer(
88
+ (0): Transformer({'max_seq_length': 514, 'do_lower_case': False, 'architecture': 'CamembertModel'})
89
+ (1): Pooling({'word_embedding_dimension': 1024, '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})
90
+ )
91
+ ```
92
+
93
+ ## Usage
94
+
95
+ ### Direct Usage (Sentence Transformers)
96
+
97
+ First install the Sentence Transformers library:
98
+
99
+ ```bash
100
+ pip install -U sentence-transformers
101
+ ```
102
+
103
+ Then you can load this model and run inference.
104
+ ```python
105
+ from sentence_transformers import SentenceTransformer
106
+
107
+ # Download from the 🤗 Hub
108
+ model = SentenceTransformer("sentence_transformers_model_id")
109
+ # Run inference
110
+ sentences = [
111
+ "jusqu'à 25 m",
112
+ "jusqu'à 50 m",
113
+ 'à la norme 33-04-018-02',
114
+ ]
115
+ embeddings = model.encode(sentences)
116
+ print(embeddings.shape)
117
+ # [3, 1024]
118
+
119
+ # Get the similarity scores for the embeddings
120
+ similarities = model.similarity(embeddings, embeddings)
121
+ print(similarities)
122
+ # tensor([[1.0000, 0.8389, 0.0886],
123
+ # [0.8389, 1.0000, 0.1294],
124
+ # [0.0886, 0.1294, 1.0000]])
125
+ ```
126
+
127
+ <!--
128
+ ### Direct Usage (Transformers)
129
+
130
+ <details><summary>Click to see the direct usage in Transformers</summary>
131
+
132
+ </details>
133
+ -->
134
+
135
+ <!--
136
+ ### Downstream Usage (Sentence Transformers)
137
+
138
+ You can finetune this model on your own dataset.
139
+
140
+ <details><summary>Click to expand</summary>
141
+
142
+ </details>
143
+ -->
144
+
145
+ <!--
146
+ ### Out-of-Scope Use
147
+
148
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
149
+ -->
150
+
151
+ ## Evaluation
152
+
153
+ ### Metrics
154
+
155
+ #### Semantic Similarity
156
+
157
+ * Dataset: `eval`
158
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
159
+
160
+ | Metric | Value |
161
+ |:--------------------|:--------|
162
+ | pearson_cosine | nan |
163
+ | **spearman_cosine** | **nan** |
164
+
165
+ <!--
166
+ ## Bias, Risks and Limitations
167
+
168
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
169
+ -->
170
+
171
+ <!--
172
+ ### Recommendations
173
+
174
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
175
+ -->
176
+
177
+ ## Training Details
178
+
179
+ ### Training Dataset
180
+
181
+ #### Unnamed Dataset
182
+
183
+ * Size: 14,481 training samples
184
+ * Columns: <code>anchor</code> and <code>positive</code>
185
+ * Approximate statistics based on the first 1000 samples:
186
+ | | anchor | positive |
187
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
188
+ | type | string | string |
189
+ | details | <ul><li>min: 3 tokens</li><li>mean: 13.16 tokens</li><li>max: 59 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 13.46 tokens</li><li>max: 61 tokens</li></ul> |
190
+ * Samples:
191
+ | anchor | positive |
192
+ |:-----------------------------------------------------------------------|:------------------------------------------------------------------------|
193
+ | <code>Balances à plate-forme ; dispositif de recouvrement</code> | <code>Machine d'alumination</code> |
194
+ | <code>plus de 18 m², coefficient de résistance des roches 4 - 6</code> | <code>plus de 18 m², coefficient de résistance des roches 7 - 20</code> |
195
+ | <code>plus de 20 à 30 m dans les sols du groupe 1</code> | <code>plus de 20 à 30 m dans les sols du groupe 2</code> |
196
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
197
+ ```json
198
+ {
199
+ "scale": 20.0,
200
+ "similarity_fct": "cos_sim",
201
+ "gather_across_devices": false
202
+ }
203
+ ```
204
+
205
+ ### Evaluation Dataset
206
+
207
+ #### Unnamed Dataset
208
+
209
+ * Size: 1,609 evaluation samples
210
+ * Columns: <code>anchor</code> and <code>positive</code>
211
+ * Approximate statistics based on the first 1000 samples:
212
+ | | anchor | positive |
213
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
214
+ | type | string | string |
215
+ | details | <ul><li>min: 3 tokens</li><li>mean: 12.72 tokens</li><li>max: 62 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 13.04 tokens</li><li>max: 64 tokens</li></ul> |
216
+ * Samples:
217
+ | anchor | positive |
218
+ |:---------------------------------------|:---------------------------------------|
219
+ | <code>10 m3, groupe de sols 3 m</code> | <code>15 m3, groupe de sols 1 m</code> |
220
+ | <code>125-200 mm</code> | <code>250-400 mm</code> |
221
+ | <code>à la norme 01-01-032-05</code> | <code>à la norme 01-01-032-06</code> |
222
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
223
+ ```json
224
+ {
225
+ "scale": 20.0,
226
+ "similarity_fct": "cos_sim",
227
+ "gather_across_devices": false
228
+ }
229
+ ```
230
+
231
+ ### Training Hyperparameters
232
+ #### Non-Default Hyperparameters
233
+
234
+ - `eval_strategy`: epoch
235
+ - `per_device_train_batch_size`: 16
236
+ - `learning_rate`: 2e-05
237
+ - `num_train_epochs`: 5
238
+ - `warmup_steps`: 453
239
+ - `load_best_model_at_end`: True
240
+
241
+ #### All Hyperparameters
242
+ <details><summary>Click to expand</summary>
243
+
244
+ - `overwrite_output_dir`: False
245
+ - `do_predict`: False
246
+ - `eval_strategy`: epoch
247
+ - `prediction_loss_only`: True
248
+ - `per_device_train_batch_size`: 16
249
+ - `per_device_eval_batch_size`: 8
250
+ - `per_gpu_train_batch_size`: None
251
+ - `per_gpu_eval_batch_size`: None
252
+ - `gradient_accumulation_steps`: 1
253
+ - `eval_accumulation_steps`: None
254
+ - `torch_empty_cache_steps`: None
255
+ - `learning_rate`: 2e-05
256
+ - `weight_decay`: 0.0
257
+ - `adam_beta1`: 0.9
258
+ - `adam_beta2`: 0.999
259
+ - `adam_epsilon`: 1e-08
260
+ - `max_grad_norm`: 1.0
261
+ - `num_train_epochs`: 5
262
+ - `max_steps`: -1
263
+ - `lr_scheduler_type`: linear
264
+ - `lr_scheduler_kwargs`: None
265
+ - `warmup_ratio`: 0.0
266
+ - `warmup_steps`: 453
267
+ - `log_level`: passive
268
+ - `log_level_replica`: warning
269
+ - `log_on_each_node`: True
270
+ - `logging_nan_inf_filter`: True
271
+ - `save_safetensors`: True
272
+ - `save_on_each_node`: False
273
+ - `save_only_model`: False
274
+ - `restore_callback_states_from_checkpoint`: False
275
+ - `no_cuda`: False
276
+ - `use_cpu`: False
277
+ - `use_mps_device`: False
278
+ - `seed`: 42
279
+ - `data_seed`: None
280
+ - `jit_mode_eval`: False
281
+ - `bf16`: False
282
+ - `fp16`: False
283
+ - `fp16_opt_level`: O1
284
+ - `half_precision_backend`: auto
285
+ - `bf16_full_eval`: False
286
+ - `fp16_full_eval`: False
287
+ - `tf32`: None
288
+ - `local_rank`: 0
289
+ - `ddp_backend`: None
290
+ - `tpu_num_cores`: None
291
+ - `tpu_metrics_debug`: False
292
+ - `debug`: []
293
+ - `dataloader_drop_last`: False
294
+ - `dataloader_num_workers`: 0
295
+ - `dataloader_prefetch_factor`: None
296
+ - `past_index`: -1
297
+ - `disable_tqdm`: False
298
+ - `remove_unused_columns`: True
299
+ - `label_names`: None
300
+ - `load_best_model_at_end`: True
301
+ - `ignore_data_skip`: False
302
+ - `fsdp`: []
303
+ - `fsdp_min_num_params`: 0
304
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
305
+ - `fsdp_transformer_layer_cls_to_wrap`: None
306
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
307
+ - `parallelism_config`: None
308
+ - `deepspeed`: None
309
+ - `label_smoothing_factor`: 0.0
310
+ - `optim`: adamw_torch_fused
311
+ - `optim_args`: None
312
+ - `adafactor`: False
313
+ - `group_by_length`: False
314
+ - `length_column_name`: length
315
+ - `project`: huggingface
316
+ - `trackio_space_id`: trackio
317
+ - `ddp_find_unused_parameters`: None
318
+ - `ddp_bucket_cap_mb`: None
319
+ - `ddp_broadcast_buffers`: False
320
+ - `dataloader_pin_memory`: True
321
+ - `dataloader_persistent_workers`: False
322
+ - `skip_memory_metrics`: True
323
+ - `use_legacy_prediction_loop`: False
324
+ - `push_to_hub`: False
325
+ - `resume_from_checkpoint`: None
326
+ - `hub_model_id`: None
327
+ - `hub_strategy`: every_save
328
+ - `hub_private_repo`: None
329
+ - `hub_always_push`: False
330
+ - `hub_revision`: None
331
+ - `gradient_checkpointing`: False
332
+ - `gradient_checkpointing_kwargs`: None
333
+ - `include_inputs_for_metrics`: False
334
+ - `include_for_metrics`: []
335
+ - `eval_do_concat_batches`: True
336
+ - `fp16_backend`: auto
337
+ - `push_to_hub_model_id`: None
338
+ - `push_to_hub_organization`: None
339
+ - `mp_parameters`:
340
+ - `auto_find_batch_size`: False
341
+ - `full_determinism`: False
342
+ - `torchdynamo`: None
343
+ - `ray_scope`: last
344
+ - `ddp_timeout`: 1800
345
+ - `torch_compile`: False
346
+ - `torch_compile_backend`: None
347
+ - `torch_compile_mode`: None
348
+ - `include_tokens_per_second`: False
349
+ - `include_num_input_tokens_seen`: no
350
+ - `neftune_noise_alpha`: None
351
+ - `optim_target_modules`: None
352
+ - `batch_eval_metrics`: False
353
+ - `eval_on_start`: False
354
+ - `use_liger_kernel`: False
355
+ - `liger_kernel_config`: None
356
+ - `eval_use_gather_object`: False
357
+ - `average_tokens_across_devices`: True
358
+ - `prompts`: None
359
+ - `batch_sampler`: batch_sampler
360
+ - `multi_dataset_batch_sampler`: proportional
361
+ - `router_mapping`: {}
362
+ - `learning_rate_mapping`: {}
363
+
364
+ </details>
365
+
366
+ ### Training Logs
367
+ | Epoch | Step | Training Loss | Validation Loss | eval_spearman_cosine |
368
+ |:-------:|:--------:|:-------------:|:---------------:|:--------------------:|
369
+ | 0.5 | 453 | 0.5925 | - | - |
370
+ | 1.0 | 906 | 0.4408 | 0.2765 | nan |
371
+ | 1.5 | 1359 | 0.3219 | - | - |
372
+ | 2.0 | 1812 | 0.2956 | 0.2330 | nan |
373
+ | 2.5 | 2265 | 0.1923 | - | - |
374
+ | 3.0 | 2718 | 0.2017 | 0.2032 | nan |
375
+ | 3.5 | 3171 | 0.1307 | - | - |
376
+ | **4.0** | **3624** | **0.1151** | **0.1981** | **nan** |
377
+ | 4.5 | 4077 | 0.096 | - | - |
378
+ | 5.0 | 4530 | 0.0793 | 0.2025 | nan |
379
+
380
+ * The bold row denotes the saved checkpoint.
381
+
382
+ ### Framework Versions
383
+ - Python: 3.9.6
384
+ - Sentence Transformers: 5.1.2
385
+ - Transformers: 4.57.6
386
+ - PyTorch: 2.8.0
387
+ - Accelerate: 1.10.1
388
+ - Datasets: 4.5.0
389
+ - Tokenizers: 0.22.2
390
+
391
+ ## Citation
392
+
393
+ ### BibTeX
394
+
395
+ #### Sentence Transformers
396
+ ```bibtex
397
+ @inproceedings{reimers-2019-sentence-bert,
398
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
399
+ author = "Reimers, Nils and Gurevych, Iryna",
400
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
401
+ month = "11",
402
+ year = "2019",
403
+ publisher = "Association for Computational Linguistics",
404
+ url = "https://arxiv.org/abs/1908.10084",
405
+ }
406
+ ```
407
+
408
+ #### MultipleNegativesRankingLoss
409
+ ```bibtex
410
+ @misc{henderson2017efficient,
411
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
412
+ 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},
413
+ year={2017},
414
+ eprint={1705.00652},
415
+ archivePrefix={arXiv},
416
+ primaryClass={cs.CL}
417
+ }
418
+ ```
419
+
420
+ <!--
421
+ ## Glossary
422
+
423
+ *Clearly define terms in order to be accessible across audiences.*
424
+ -->
425
+
426
+ <!--
427
+ ## Model Card Authors
428
+
429
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
430
+ -->
431
+
432
+ <!--
433
+ ## Model Card Contact
434
+
435
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
436
+ -->
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CamembertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "camembert",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "transformers_version": "4.57.6",
24
+ "type_vocab_size": 1,
25
+ "use_cache": true,
26
+ "vocab_size": 32005
27
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "5.1.2",
4
+ "transformers": "4.57.6",
5
+ "pytorch": "2.8.0"
6
+ },
7
+ "model_type": "SentenceTransformer",
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:851715d3fc932774097c11769a977877f680229bb65961bc6ec23a446d0bdaad
3
+ size 1346690896
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": 514,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s>NOTUSED",
4
+ "</s>NOTUSED"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<s>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "cls_token": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "eos_token": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "mask_token": {
28
+ "content": "<mask>",
29
+ "lstrip": true,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ },
34
+ "pad_token": {
35
+ "content": "<pad>",
36
+ "lstrip": false,
37
+ "normalized": false,
38
+ "rstrip": false,
39
+ "single_word": false
40
+ },
41
+ "sep_token": {
42
+ "content": "</s>",
43
+ "lstrip": false,
44
+ "normalized": false,
45
+ "rstrip": false,
46
+ "single_word": false
47
+ },
48
+ "unk_token": {
49
+ "content": "<unk>",
50
+ "lstrip": false,
51
+ "normalized": false,
52
+ "rstrip": false,
53
+ "single_word": false
54
+ }
55
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>NOTUSED",
5
+ "lstrip": true,
6
+ "normalized": false,
7
+ "rstrip": true,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>NOTUSED",
21
+ "lstrip": true,
22
+ "normalized": false,
23
+ "rstrip": true,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "5": {
36
+ "content": "<s>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "6": {
44
+ "content": "</s>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "32004": {
52
+ "content": "<mask>",
53
+ "lstrip": true,
54
+ "normalized": true,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ }
59
+ },
60
+ "additional_special_tokens": [
61
+ "<s>NOTUSED",
62
+ "</s>NOTUSED"
63
+ ],
64
+ "bos_token": "<s>",
65
+ "clean_up_tokenization_spaces": true,
66
+ "cls_token": "<s>",
67
+ "eos_token": "</s>",
68
+ "extra_special_tokens": {},
69
+ "mask_token": "<mask>",
70
+ "max_length": 514,
71
+ "model_max_length": 514,
72
+ "pad_to_multiple_of": null,
73
+ "pad_token": "<pad>",
74
+ "pad_token_type_id": 0,
75
+ "padding_side": "right",
76
+ "sep_token": "</s>",
77
+ "sp_model_kwargs": {},
78
+ "stride": 0,
79
+ "tokenizer_class": "CamembertTokenizer",
80
+ "truncation_side": "right",
81
+ "truncation_strategy": "longest_first",
82
+ "unk_token": "<unk>"
83
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2ac4d46737adf2f1434ee5912e31669fc97b99a3e6cae2c16b6d82cab53b40a
3
+ size 6161