yandac commited on
Commit
b265113
1 Parent(s): 4cb9403

Add new SentenceTransformer model.

Browse files
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,375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sentence-transformers/all-MiniLM-L6-v2
3
+ datasets: []
4
+ language: []
5
+ library_name: sentence-transformers
6
+ pipeline_tag: sentence-similarity
7
+ tags:
8
+ - sentence-transformers
9
+ - sentence-similarity
10
+ - feature-extraction
11
+ - generated_from_trainer
12
+ - dataset_size:1053
13
+ - loss:CosineSimilarityLoss
14
+ widget:
15
+ - source_sentence: 'question: Radiateur électrique à inertie fluide pas cher disponible
16
+ à Bastia ? ----->query: query=radiateur électrique inertie fluide&sort=price-asc&context=298'
17
+ sentences:
18
+ - 'question: Je recherche un pied de table disponible dans le magasin d''Ivry sur
19
+ Seine. ----->query: query=Pied de table&context=142'
20
+ - 'question: Peinture intérieure Luxens disponible dans le magasin de Vitry ? ----->query:
21
+ query=luxens peinture interieure&context=21'
22
+ - 'question: Radiateur disponible dans le magasin de Montauban ? ----->query: query=Radiateur&context=189'
23
+ - source_sentence: 'question: Avez-vous des produits bio ? ----->query: query=Bio'
24
+ sentences:
25
+ - 'question: Je cherche des parpaings creux disponibles dans le magasin de Pau. ----->query:
26
+ query=parpaing creux&context=41'
27
+ - 'question: Je recherche des profilés disponibles dans le magasin de Bordeaux. ----->query:
28
+ query=profilé&context=37'
29
+ - 'question: Avez-vous des supports collecteurs disponibles dans le magasin de Strasbourg
30
+ ? ----->query: query=Support collecteur&context=40'
31
+ - source_sentence: 'question: Donnez-moi les pieds de table les moins chers disponibles
32
+ dans le magasin de Thoiry. ----->query: query=pieds table&sort=price-asc&context=167'
33
+ sentences:
34
+ - 'question: Je cherche des pieds pour meuble. ----->query: query=Pieds meuble'
35
+ - 'question: J''ai besoin d''enduit de rebouchage pour un chantier, est-ce que vous
36
+ en avez en stock dans le magasin d''Osny ? ----->query: query=enduit de rebouchage&context=23'
37
+ - 'question: Avez-vous du mastic d''étanchéité disponible dans le magasin de Clermont
38
+ Ferrand ? ----->query: query=mastic d''etancheite&context=133'
39
+ - source_sentence: 'question: Donnez-moi les pieds de table les moins chers disponibles
40
+ dans le magasin de Thoiry. ----->query: query=pieds table&sort=price-asc&context=167'
41
+ sentences:
42
+ - 'question: Je recherche du parquet. ----->query: query=parket'
43
+ - 'question: J''aimerais savoir si vous avez des pinces à dénuder dans le magasin
44
+ de Cabries. ----->query: query=pince a denuder&context=66'
45
+ - 'question: Parquet contrecollé pas cher dans le magasin de Nice. ----->query:
46
+ query=parquet contrecolle&sort=price-asc&context=6'
47
+ - source_sentence: 'question: Je cherche une scie dans le magasin de Dinard. ----->query:
48
+ query=Scie&context=178'
49
+ sentences:
50
+ - 'question: Dalles pour l''extérieur ----->query: query=dalle exterieur'
51
+ - 'question: J''ai besoin d''une goulotte pour câble électrique, disponible dans
52
+ le magasin de Vitry. ----->query: query=goulotte pour cable electrique&context=21'
53
+ - 'question: J''aimerais savoir si vous avez des pinces à dénuder dans le magasin
54
+ de Cabries. ----->query: query=pince a denuder&context=66'
55
+ ---
56
+
57
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
58
+
59
+ 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). 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.
60
+
61
+ ## Model Details
62
+
63
+ ### Model Description
64
+ - **Model Type:** Sentence Transformer
65
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision 8b3219a92973c328a8e22fadcfa821b5dc75636a -->
66
+ - **Maximum Sequence Length:** 256 tokens
67
+ - **Output Dimensionality:** 384 tokens
68
+ - **Similarity Function:** Cosine Similarity
69
+ <!-- - **Training Dataset:** Unknown -->
70
+ <!-- - **Language:** Unknown -->
71
+ <!-- - **License:** Unknown -->
72
+
73
+ ### Model Sources
74
+
75
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
76
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
77
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
78
+
79
+ ### Full Model Architecture
80
+
81
+ ```
82
+ SentenceTransformer(
83
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
84
+ (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})
85
+ (2): Normalize()
86
+ )
87
+ ```
88
+
89
+ ## Usage
90
+
91
+ ### Direct Usage (Sentence Transformers)
92
+
93
+ First install the Sentence Transformers library:
94
+
95
+ ```bash
96
+ pip install -U sentence-transformers
97
+ ```
98
+
99
+ Then you can load this model and run inference.
100
+ ```python
101
+ from sentence_transformers import SentenceTransformer
102
+
103
+ # Download from the 🤗 Hub
104
+ model = SentenceTransformer("yandac/embedding_model_search_api")
105
+ # Run inference
106
+ sentences = [
107
+ 'question: Je cherche une scie dans le magasin de Dinard. ----->query: query=Scie&context=178',
108
+ "question: J'aimerais savoir si vous avez des pinces à dénuder dans le magasin de Cabries. ----->query: query=pince a denuder&context=66",
109
+ "question: J'ai besoin d'une goulotte pour câble électrique, disponible dans le magasin de Vitry. ----->query: query=goulotte pour cable electrique&context=21",
110
+ ]
111
+ embeddings = model.encode(sentences)
112
+ print(embeddings.shape)
113
+ # [3, 384]
114
+
115
+ # Get the similarity scores for the embeddings
116
+ similarities = model.similarity(embeddings, embeddings)
117
+ print(similarities.shape)
118
+ # [3, 3]
119
+ ```
120
+
121
+ <!--
122
+ ### Direct Usage (Transformers)
123
+
124
+ <details><summary>Click to see the direct usage in Transformers</summary>
125
+
126
+ </details>
127
+ -->
128
+
129
+ <!--
130
+ ### Downstream Usage (Sentence Transformers)
131
+
132
+ You can finetune this model on your own dataset.
133
+
134
+ <details><summary>Click to expand</summary>
135
+
136
+ </details>
137
+ -->
138
+
139
+ <!--
140
+ ### Out-of-Scope Use
141
+
142
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
143
+ -->
144
+
145
+ <!--
146
+ ## Bias, Risks and Limitations
147
+
148
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
149
+ -->
150
+
151
+ <!--
152
+ ### Recommendations
153
+
154
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
155
+ -->
156
+
157
+ ## Training Details
158
+
159
+ ### Training Dataset
160
+
161
+ #### Unnamed Dataset
162
+
163
+
164
+ * Size: 1,053 training samples
165
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>label</code>
166
+ * Approximate statistics based on the first 1000 samples:
167
+ | | sentence1 | sentence2 | label |
168
+ |:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:---------------------------------------------------------------|
169
+ | type | string | string | float |
170
+ | details | <ul><li>min: 20 tokens</li><li>mean: 45.16 tokens</li><li>max: 67 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 43.69 tokens</li><li>max: 66 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.24</li><li>max: 0.9</li></ul> |
171
+ * Samples:
172
+ | sentence1 | sentence2 | label |
173
+ |:--------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------|
174
+ | <code>question: Peinture pour bois extérieur disponible dans le magasin de Mundolsheim ? ----->query: query=Peinture bois extérieur&context=197</code> | <code>question: Avez-vous des plans de travail d'angle disponibles dans le magasin de Douai ? ----->query: query=plan de travail d'angle&context=183</code> | <code>0.0</code> |
175
+ | <code>question: Sac de granulés de bois disponible dans le magasin de Brive ? ----->query: query=sac granule bois&context=175</code> | <code>question: Avez-vous des 1/2 ronds disponibles dans le magasin de Compiegne ? ----->query: query=1/2 rond&context=78</code> | <code>0.0</code> |
176
+ | <code>question: Je cherche un rouleau d'étanchéité disponible dans le magasin de Cabries. ----->query: query=rouleau etancheite&context=66</code> | <code>question: Je recherche un pied de table disponible dans le magasin d'Ivry sur Seine. ----->query: query=Pied de table&context=142</code> | <code>0.0</code> |
177
+ * Loss: [<code>CosineSimilarityLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosinesimilarityloss) with these parameters:
178
+ ```json
179
+ {
180
+ "loss_fct": "torch.nn.modules.loss.MSELoss"
181
+ }
182
+ ```
183
+
184
+ ### Training Hyperparameters
185
+ #### Non-Default Hyperparameters
186
+
187
+ - `per_device_train_batch_size`: 1
188
+ - `num_train_epochs`: 4.8
189
+ - `warmup_ratio`: 0.1
190
+ - `fp16`: True
191
+
192
+ #### All Hyperparameters
193
+ <details><summary>Click to expand</summary>
194
+
195
+ - `overwrite_output_dir`: False
196
+ - `do_predict`: False
197
+ - `eval_strategy`: no
198
+ - `prediction_loss_only`: True
199
+ - `per_device_train_batch_size`: 1
200
+ - `per_device_eval_batch_size`: 8
201
+ - `per_gpu_train_batch_size`: None
202
+ - `per_gpu_eval_batch_size`: None
203
+ - `gradient_accumulation_steps`: 1
204
+ - `eval_accumulation_steps`: None
205
+ - `learning_rate`: 5e-05
206
+ - `weight_decay`: 0.0
207
+ - `adam_beta1`: 0.9
208
+ - `adam_beta2`: 0.999
209
+ - `adam_epsilon`: 1e-08
210
+ - `max_grad_norm`: 1.0
211
+ - `num_train_epochs`: 4.8
212
+ - `max_steps`: -1
213
+ - `lr_scheduler_type`: linear
214
+ - `lr_scheduler_kwargs`: {}
215
+ - `warmup_ratio`: 0.1
216
+ - `warmup_steps`: 0
217
+ - `log_level`: passive
218
+ - `log_level_replica`: warning
219
+ - `log_on_each_node`: True
220
+ - `logging_nan_inf_filter`: True
221
+ - `save_safetensors`: True
222
+ - `save_on_each_node`: False
223
+ - `save_only_model`: False
224
+ - `restore_callback_states_from_checkpoint`: False
225
+ - `no_cuda`: False
226
+ - `use_cpu`: False
227
+ - `use_mps_device`: False
228
+ - `seed`: 42
229
+ - `data_seed`: None
230
+ - `jit_mode_eval`: False
231
+ - `use_ipex`: False
232
+ - `bf16`: False
233
+ - `fp16`: True
234
+ - `fp16_opt_level`: O1
235
+ - `half_precision_backend`: auto
236
+ - `bf16_full_eval`: False
237
+ - `fp16_full_eval`: False
238
+ - `tf32`: None
239
+ - `local_rank`: 0
240
+ - `ddp_backend`: None
241
+ - `tpu_num_cores`: None
242
+ - `tpu_metrics_debug`: False
243
+ - `debug`: []
244
+ - `dataloader_drop_last`: False
245
+ - `dataloader_num_workers`: 0
246
+ - `dataloader_prefetch_factor`: None
247
+ - `past_index`: -1
248
+ - `disable_tqdm`: False
249
+ - `remove_unused_columns`: True
250
+ - `label_names`: None
251
+ - `load_best_model_at_end`: False
252
+ - `ignore_data_skip`: False
253
+ - `fsdp`: []
254
+ - `fsdp_min_num_params`: 0
255
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
256
+ - `fsdp_transformer_layer_cls_to_wrap`: None
257
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
258
+ - `deepspeed`: None
259
+ - `label_smoothing_factor`: 0.0
260
+ - `optim`: adamw_torch
261
+ - `optim_args`: None
262
+ - `adafactor`: False
263
+ - `group_by_length`: False
264
+ - `length_column_name`: length
265
+ - `ddp_find_unused_parameters`: None
266
+ - `ddp_bucket_cap_mb`: None
267
+ - `ddp_broadcast_buffers`: False
268
+ - `dataloader_pin_memory`: True
269
+ - `dataloader_persistent_workers`: False
270
+ - `skip_memory_metrics`: True
271
+ - `use_legacy_prediction_loop`: False
272
+ - `push_to_hub`: False
273
+ - `resume_from_checkpoint`: None
274
+ - `hub_model_id`: None
275
+ - `hub_strategy`: every_save
276
+ - `hub_private_repo`: False
277
+ - `hub_always_push`: False
278
+ - `gradient_checkpointing`: False
279
+ - `gradient_checkpointing_kwargs`: None
280
+ - `include_inputs_for_metrics`: False
281
+ - `eval_do_concat_batches`: True
282
+ - `fp16_backend`: auto
283
+ - `push_to_hub_model_id`: None
284
+ - `push_to_hub_organization`: None
285
+ - `mp_parameters`:
286
+ - `auto_find_batch_size`: False
287
+ - `full_determinism`: False
288
+ - `torchdynamo`: None
289
+ - `ray_scope`: last
290
+ - `ddp_timeout`: 1800
291
+ - `torch_compile`: False
292
+ - `torch_compile_backend`: None
293
+ - `torch_compile_mode`: None
294
+ - `dispatch_batches`: None
295
+ - `split_batches`: None
296
+ - `include_tokens_per_second`: False
297
+ - `include_num_input_tokens_seen`: False
298
+ - `neftune_noise_alpha`: None
299
+ - `optim_target_modules`: None
300
+ - `batch_eval_metrics`: False
301
+ - `eval_on_start`: False
302
+ - `batch_sampler`: batch_sampler
303
+ - `multi_dataset_batch_sampler`: proportional
304
+
305
+ </details>
306
+
307
+ ### Training Logs
308
+ | Epoch | Step | Training Loss |
309
+ |:------:|:----:|:-------------:|
310
+ | 1.5152 | 100 | 0.0071 |
311
+ | 0.4748 | 500 | 0.0076 |
312
+ | 0.9497 | 1000 | 0.0162 |
313
+ | 1.4245 | 1500 | 0.0164 |
314
+ | 1.8993 | 2000 | 0.0155 |
315
+ | 2.3742 | 2500 | 0.0112 |
316
+ | 2.8490 | 3000 | 0.0106 |
317
+ | 3.3238 | 3500 | 0.0064 |
318
+ | 3.7987 | 4000 | 0.0055 |
319
+ | 4.2735 | 4500 | 0.0043 |
320
+ | 4.7483 | 5000 | 0.0027 |
321
+ | 0.4748 | 500 | 0.0046 |
322
+ | 0.9497 | 1000 | 0.0102 |
323
+ | 1.4245 | 1500 | 0.0134 |
324
+ | 1.8993 | 2000 | 0.0133 |
325
+ | 2.3742 | 2500 | 0.0086 |
326
+ | 2.8490 | 3000 | 0.007 |
327
+ | 3.3238 | 3500 | 0.0049 |
328
+ | 3.7987 | 4000 | 0.0037 |
329
+ | 4.2735 | 4500 | 0.0031 |
330
+ | 4.7483 | 5000 | 0.0022 |
331
+
332
+
333
+ ### Framework Versions
334
+ - Python: 3.11.9
335
+ - Sentence Transformers: 3.0.1
336
+ - Transformers: 4.42.4
337
+ - PyTorch: 2.3.1+cu118
338
+ - Accelerate: 0.33.0
339
+ - Datasets: 2.20.0
340
+ - Tokenizers: 0.19.1
341
+
342
+ ## Citation
343
+
344
+ ### BibTeX
345
+
346
+ #### Sentence Transformers
347
+ ```bibtex
348
+ @inproceedings{reimers-2019-sentence-bert,
349
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
350
+ author = "Reimers, Nils and Gurevych, Iryna",
351
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
352
+ month = "11",
353
+ year = "2019",
354
+ publisher = "Association for Computational Linguistics",
355
+ url = "https://arxiv.org/abs/1908.10084",
356
+ }
357
+ ```
358
+
359
+ <!--
360
+ ## Glossary
361
+
362
+ *Clearly define terms in order to be accessible across audiences.*
363
+ -->
364
+
365
+ <!--
366
+ ## Model Card Authors
367
+
368
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
369
+ -->
370
+
371
+ <!--
372
+ ## Model Card Contact
373
+
374
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
375
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Data/output_embedding_training/training_all-MiniLM-L6-v2-2024-08-02_14-21-00/final",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.42.4",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.0.1",
4
+ "transformers": "4.42.4",
5
+ "pytorch": "2.3.1+cu118"
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:7972568b6484d607b6ebae99296b0883d4ce9b9d096d4b4f054de24e33de9390
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
+ ]
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,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 256,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff