Mr-FineTuner commited on
Commit
56d4537
·
verified ·
1 Parent(s): 441c3ed

Fine-tuned BAAI/bge-large-en-v1.5 for CEFR classification

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 1024,
3
+ "pooling_mode_cls_token": true,
4
+ "pooling_mode_mean_tokens": false,
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,406 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:14356
8
+ - loss:MultipleNegativesRankingLoss
9
+ base_model: BAAI/bge-large-en-v1.5
10
+ widget:
11
+ - source_sentence: Pear trees are usually productive for 50 to 75 years though some
12
+ still produce fruit after 100 years .
13
+ sentences:
14
+ - In the late 1950s , he studied cinema in France .
15
+ - Pear trees are usually productive for 50 to 75 years though some still produce
16
+ fruit after 100 years .
17
+ - A recording medium is a physical material that holds data expressed in any of
18
+ the existing recording formats .
19
+ - source_sentence: On poor , dry soils there are tropical heathlands .
20
+ sentences:
21
+ - On poor , dry soils there are tropical heathlands .
22
+ - There are plans to build a new library at my school .
23
+ - These are forest birds that tend to feed on insects at or near the ground .
24
+ - source_sentence: According to Statistics Canada , the county has a total area of
25
+ 2004.44 km2 .
26
+ sentences:
27
+ - In 2018 , there are eleven senators holding ministerial positions and the head
28
+ of state , the First mayor .
29
+ - According to Statistics Canada , the county has a total area of 2004.44 km2 .
30
+ - There are some common ways used to stretch piercings , of different origins and
31
+ useful for different people .
32
+ - source_sentence: Oll , who was married , fell into severe depressions after he divorced
33
+ .
34
+ sentences:
35
+ - Tide pools are a home for hardy organisms such as sea stars , mussels and clams
36
+ .
37
+ - Endgames can be studied according to the types of pieces that remain on board
38
+ .
39
+ - Oll , who was married , fell into severe depressions after he divorced .
40
+ - source_sentence: She often shared her boots with her sister .
41
+ sentences:
42
+ - She often shared her boots with her sister .
43
+ - Many of the Greek city -states also had a god or goddess associated with that
44
+ city .
45
+ - Until 1 April 2010 the Departments were as follows .
46
+ pipeline_tag: sentence-similarity
47
+ library_name: sentence-transformers
48
+ metrics:
49
+ - pearson_cosine
50
+ - spearman_cosine
51
+ model-index:
52
+ - name: SentenceTransformer based on BAAI/bge-large-en-v1.5
53
+ results:
54
+ - task:
55
+ type: semantic-similarity
56
+ name: Semantic Similarity
57
+ dataset:
58
+ name: dev
59
+ type: dev
60
+ metrics:
61
+ - type: pearson_cosine
62
+ value: 0.15520756564467134
63
+ name: Pearson Cosine
64
+ - type: spearman_cosine
65
+ value: 0.13351347160793242
66
+ name: Spearman Cosine
67
+ ---
68
+
69
+ # SentenceTransformer based on BAAI/bge-large-en-v1.5
70
+
71
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-large-en-v1.5](https://huggingface.co/BAAI/bge-large-en-v1.5). 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.
72
+
73
+ ## Model Details
74
+
75
+ ### Model Description
76
+ - **Model Type:** Sentence Transformer
77
+ - **Base model:** [BAAI/bge-large-en-v1.5](https://huggingface.co/BAAI/bge-large-en-v1.5) <!-- at revision d4aa6901d3a41ba39fb536a557fa166f842b0e09 -->
78
+ - **Maximum Sequence Length:** 512 tokens
79
+ - **Output Dimensionality:** 1024 dimensions
80
+ - **Similarity Function:** Cosine Similarity
81
+ <!-- - **Training Dataset:** Unknown -->
82
+ <!-- - **Language:** Unknown -->
83
+ <!-- - **License:** Unknown -->
84
+
85
+ ### Model Sources
86
+
87
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
88
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
89
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
90
+
91
+ ### Full Model Architecture
92
+
93
+ ```
94
+ SentenceTransformer(
95
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': True}) with Transformer model: BertModel
96
+ (1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
97
+ (2): Normalize()
98
+ )
99
+ ```
100
+
101
+ ## Usage
102
+
103
+ ### Direct Usage (Sentence Transformers)
104
+
105
+ First install the Sentence Transformers library:
106
+
107
+ ```bash
108
+ pip install -U sentence-transformers
109
+ ```
110
+
111
+ Then you can load this model and run inference.
112
+ ```python
113
+ from sentence_transformers import SentenceTransformer
114
+
115
+ # Download from the 🤗 Hub
116
+ model = SentenceTransformer("Mr-FineTuner/Eval_01_Final_3")
117
+ # Run inference
118
+ sentences = [
119
+ 'She often shared her boots with her sister .',
120
+ 'She often shared her boots with her sister .',
121
+ 'Until 1 April 2010 the Departments were as follows .',
122
+ ]
123
+ embeddings = model.encode(sentences)
124
+ print(embeddings.shape)
125
+ # [3, 1024]
126
+
127
+ # Get the similarity scores for the embeddings
128
+ similarities = model.similarity(embeddings, embeddings)
129
+ print(similarities.shape)
130
+ # [3, 3]
131
+ ```
132
+
133
+ <!--
134
+ ### Direct Usage (Transformers)
135
+
136
+ <details><summary>Click to see the direct usage in Transformers</summary>
137
+
138
+ </details>
139
+ -->
140
+
141
+ <!--
142
+ ### Downstream Usage (Sentence Transformers)
143
+
144
+ You can finetune this model on your own dataset.
145
+
146
+ <details><summary>Click to expand</summary>
147
+
148
+ </details>
149
+ -->
150
+
151
+ <!--
152
+ ### Out-of-Scope Use
153
+
154
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
155
+ -->
156
+
157
+ ## Evaluation
158
+
159
+ ### Metrics
160
+
161
+ #### Semantic Similarity
162
+
163
+ * Dataset: `dev`
164
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
165
+
166
+ | Metric | Value |
167
+ |:--------------------|:-----------|
168
+ | pearson_cosine | 0.1552 |
169
+ | **spearman_cosine** | **0.1335** |
170
+
171
+ <!--
172
+ ## Bias, Risks and Limitations
173
+
174
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
175
+ -->
176
+
177
+ <!--
178
+ ### Recommendations
179
+
180
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
181
+ -->
182
+
183
+ ## Training Details
184
+
185
+ ### Training Dataset
186
+
187
+ #### Unnamed Dataset
188
+
189
+ * Size: 14,356 training samples
190
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
191
+ * Approximate statistics based on the first 1000 samples:
192
+ | | sentence_0 | sentence_1 | label |
193
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------|
194
+ | type | string | string | float |
195
+ | details | <ul><li>min: 7 tokens</li><li>mean: 18.64 tokens</li><li>max: 42 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 18.64 tokens</li><li>max: 42 tokens</li></ul> | <ul><li>min: 1.0</li><li>mean: 3.32</li><li>max: 6.0</li></ul> |
196
+ * Samples:
197
+ | sentence_0 | sentence_1 | label |
198
+ |:---------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------|:-----------------|
199
+ | <code>Construction of the temple complex started in approximately 1264 BC and lasted for about 20 years , until 1244 BC .</code> | <code>Construction of the temple complex started in approximately 1264 BC and lasted for about 20 years , until 1244 BC .</code> | <code>3.0</code> |
200
+ | <code>He knew which bag to buy for his older sister 's birthday .</code> | <code>He knew which bag to buy for his older sister 's birthday .</code> | <code>3.0</code> |
201
+ | <code>The precise origin of absinthe is unclear .</code> | <code>The precise origin of absinthe is unclear .</code> | <code>4.0</code> |
202
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
203
+ ```json
204
+ {
205
+ "scale": 20.0,
206
+ "similarity_fct": "cos_sim"
207
+ }
208
+ ```
209
+
210
+ ### Training Hyperparameters
211
+ #### Non-Default Hyperparameters
212
+
213
+ - `eval_strategy`: steps
214
+ - `per_device_train_batch_size`: 16
215
+ - `per_device_eval_batch_size`: 16
216
+ - `multi_dataset_batch_sampler`: round_robin
217
+
218
+ #### All Hyperparameters
219
+ <details><summary>Click to expand</summary>
220
+
221
+ - `overwrite_output_dir`: False
222
+ - `do_predict`: False
223
+ - `eval_strategy`: steps
224
+ - `prediction_loss_only`: True
225
+ - `per_device_train_batch_size`: 16
226
+ - `per_device_eval_batch_size`: 16
227
+ - `per_gpu_train_batch_size`: None
228
+ - `per_gpu_eval_batch_size`: None
229
+ - `gradient_accumulation_steps`: 1
230
+ - `eval_accumulation_steps`: None
231
+ - `torch_empty_cache_steps`: None
232
+ - `learning_rate`: 5e-05
233
+ - `weight_decay`: 0.0
234
+ - `adam_beta1`: 0.9
235
+ - `adam_beta2`: 0.999
236
+ - `adam_epsilon`: 1e-08
237
+ - `max_grad_norm`: 1
238
+ - `num_train_epochs`: 3
239
+ - `max_steps`: -1
240
+ - `lr_scheduler_type`: linear
241
+ - `lr_scheduler_kwargs`: {}
242
+ - `warmup_ratio`: 0.0
243
+ - `warmup_steps`: 0
244
+ - `log_level`: passive
245
+ - `log_level_replica`: warning
246
+ - `log_on_each_node`: True
247
+ - `logging_nan_inf_filter`: True
248
+ - `save_safetensors`: True
249
+ - `save_on_each_node`: False
250
+ - `save_only_model`: False
251
+ - `restore_callback_states_from_checkpoint`: False
252
+ - `no_cuda`: False
253
+ - `use_cpu`: False
254
+ - `use_mps_device`: False
255
+ - `seed`: 42
256
+ - `data_seed`: None
257
+ - `jit_mode_eval`: False
258
+ - `use_ipex`: False
259
+ - `bf16`: False
260
+ - `fp16`: False
261
+ - `fp16_opt_level`: O1
262
+ - `half_precision_backend`: auto
263
+ - `bf16_full_eval`: False
264
+ - `fp16_full_eval`: False
265
+ - `tf32`: None
266
+ - `local_rank`: 0
267
+ - `ddp_backend`: None
268
+ - `tpu_num_cores`: None
269
+ - `tpu_metrics_debug`: False
270
+ - `debug`: []
271
+ - `dataloader_drop_last`: False
272
+ - `dataloader_num_workers`: 0
273
+ - `dataloader_prefetch_factor`: None
274
+ - `past_index`: -1
275
+ - `disable_tqdm`: False
276
+ - `remove_unused_columns`: True
277
+ - `label_names`: None
278
+ - `load_best_model_at_end`: False
279
+ - `ignore_data_skip`: False
280
+ - `fsdp`: []
281
+ - `fsdp_min_num_params`: 0
282
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
283
+ - `fsdp_transformer_layer_cls_to_wrap`: None
284
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
285
+ - `deepspeed`: None
286
+ - `label_smoothing_factor`: 0.0
287
+ - `optim`: adamw_torch
288
+ - `optim_args`: None
289
+ - `adafactor`: False
290
+ - `group_by_length`: False
291
+ - `length_column_name`: length
292
+ - `ddp_find_unused_parameters`: None
293
+ - `ddp_bucket_cap_mb`: None
294
+ - `ddp_broadcast_buffers`: False
295
+ - `dataloader_pin_memory`: True
296
+ - `dataloader_persistent_workers`: False
297
+ - `skip_memory_metrics`: True
298
+ - `use_legacy_prediction_loop`: False
299
+ - `push_to_hub`: False
300
+ - `resume_from_checkpoint`: None
301
+ - `hub_model_id`: None
302
+ - `hub_strategy`: every_save
303
+ - `hub_private_repo`: None
304
+ - `hub_always_push`: False
305
+ - `gradient_checkpointing`: False
306
+ - `gradient_checkpointing_kwargs`: None
307
+ - `include_inputs_for_metrics`: False
308
+ - `include_for_metrics`: []
309
+ - `eval_do_concat_batches`: True
310
+ - `fp16_backend`: auto
311
+ - `push_to_hub_model_id`: None
312
+ - `push_to_hub_organization`: None
313
+ - `mp_parameters`:
314
+ - `auto_find_batch_size`: False
315
+ - `full_determinism`: False
316
+ - `torchdynamo`: None
317
+ - `ray_scope`: last
318
+ - `ddp_timeout`: 1800
319
+ - `torch_compile`: False
320
+ - `torch_compile_backend`: None
321
+ - `torch_compile_mode`: None
322
+ - `dispatch_batches`: None
323
+ - `split_batches`: None
324
+ - `include_tokens_per_second`: False
325
+ - `include_num_input_tokens_seen`: False
326
+ - `neftune_noise_alpha`: None
327
+ - `optim_target_modules`: None
328
+ - `batch_eval_metrics`: False
329
+ - `eval_on_start`: False
330
+ - `use_liger_kernel`: False
331
+ - `eval_use_gather_object`: False
332
+ - `average_tokens_across_devices`: False
333
+ - `prompts`: None
334
+ - `batch_sampler`: batch_sampler
335
+ - `multi_dataset_batch_sampler`: round_robin
336
+
337
+ </details>
338
+
339
+ ### Training Logs
340
+ | Epoch | Step | Training Loss | dev cosine similarity loss | dev_spearman_cosine |
341
+ |:------:|:----:|:-------------:|:--------------------------:|:-------------------:|
342
+ | 0.5568 | 500 | 0.002 | 0.3391 | 0.1080 |
343
+ | 1.0 | 898 | - | 0.3654 | 0.1284 |
344
+ | 1.1136 | 1000 | 0.0011 | 0.3726 | 0.1298 |
345
+ | 1.6704 | 1500 | 0.0006 | 0.3889 | 0.1438 |
346
+ | 2.0 | 1796 | - | 0.3689 | 0.1359 |
347
+ | 2.2272 | 2000 | 0.0011 | 0.3737 | 0.1484 |
348
+ | 2.7840 | 2500 | 0.0009 | 0.3898 | 0.1349 |
349
+ | 3.0 | 2694 | - | 0.3908 | 0.1335 |
350
+
351
+
352
+ ### Framework Versions
353
+ - Python: 3.11.11
354
+ - Sentence Transformers: 3.4.1
355
+ - Transformers: 4.48.1
356
+ - PyTorch: 2.5.1+cu124
357
+ - Accelerate: 1.3.0
358
+ - Datasets: 3.2.0
359
+ - Tokenizers: 0.21.0
360
+
361
+ ## Citation
362
+
363
+ ### BibTeX
364
+
365
+ #### Sentence Transformers
366
+ ```bibtex
367
+ @inproceedings{reimers-2019-sentence-bert,
368
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
369
+ author = "Reimers, Nils and Gurevych, Iryna",
370
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
371
+ month = "11",
372
+ year = "2019",
373
+ publisher = "Association for Computational Linguistics",
374
+ url = "https://arxiv.org/abs/1908.10084",
375
+ }
376
+ ```
377
+
378
+ #### MultipleNegativesRankingLoss
379
+ ```bibtex
380
+ @misc{henderson2017efficient,
381
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
382
+ 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},
383
+ year={2017},
384
+ eprint={1705.00652},
385
+ archivePrefix={arXiv},
386
+ primaryClass={cs.CL}
387
+ }
388
+ ```
389
+
390
+ <!--
391
+ ## Glossary
392
+
393
+ *Clearly define terms in order to be accessible across audiences.*
394
+ -->
395
+
396
+ <!--
397
+ ## Model Card Authors
398
+
399
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
400
+ -->
401
+
402
+ <!--
403
+ ## Model Card Contact
404
+
405
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
406
+ -->
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "BAAI/bge-large-en-v1.5",
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": 1024,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 4096,
17
+ "label2id": {
18
+ "LABEL_0": 0
19
+ },
20
+ "layer_norm_eps": 1e-12,
21
+ "max_position_embeddings": 512,
22
+ "model_type": "bert",
23
+ "num_attention_heads": 16,
24
+ "num_hidden_layers": 24,
25
+ "pad_token_id": 0,
26
+ "position_embedding_type": "absolute",
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.48.1",
29
+ "type_vocab_size": 2,
30
+ "use_cache": true,
31
+ "vocab_size": 30522
32
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.4.1",
4
+ "transformers": "4.48.1",
5
+ "pytorch": "2.5.1+cu124"
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:939a136726d03f4280e79e73be24ca9a8c936bc852085434eaf5f30d9b6477ea
3
+ size 1340612432
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": 512,
3
+ "do_lower_case": true
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff