Andou2yu commited on
Commit
c545b16
·
verified ·
1 Parent(s): a2bdd9e

Upload Bi-Encoder weights (InfoNCE fine-tuned on BEDR)

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 768,
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,404 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:54320
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: BAAI/bge-base-en-v1.5
11
+ widget:
12
+ - source_sentence: The ransomware injected malicious.dll into svchost.exe to execute
13
+ its encryption routines under a trusted process.
14
+ sentences:
15
+ - A rootkit modified UEFI runtime services to maintain control over the system.
16
+ - ZxxZ has relied on victims to open a malicious attachment delivered via email.
17
+ - FIN7 has used random junk code to obfuscate malware code.
18
+ - source_sentence: OnionDuke has the capability to use a Denial of Service module.
19
+ sentences:
20
+ - The attacker exploited a denial-of-service vulnerability in the WordPress plugin.
21
+ - Before activating, the ransomware used 'net share' to enumerate shared folders
22
+ across the corporate network.
23
+ - Akira engages in double-extortion ransomware, exfiltrating files then encrypting
24
+ them, in order to prompt victims to pay a ransom.
25
+ - source_sentence: The threat actor increased the storage quota limit to accommodate
26
+ large-scale data exfiltration operations.
27
+ sentences:
28
+ - The payload of CozyCar is encrypted with simple XOR with a rotating key. The CozyCar
29
+ configuration file has been encrypted with RC4 keys.
30
+ - An adversary changed the Google Cloud organization policy constraints to allow
31
+ unrestricted resource deployment across all projects.
32
+ - The malware queried professional networking sites to collect branch office physical
33
+ addresses.
34
+ - source_sentence: The threat actor altered DNS SRV records to redirect service authentication
35
+ requests to compromised servers.
36
+ sentences:
37
+ - The malware altered local DNS settings to redirect traffic from banking websites
38
+ to phishing servers.
39
+ - The compromised system ran 'c2_client.exe' to reconnect to the command and control
40
+ infrastructure.
41
+ - The malware leveraged MailSniper to find emails with employee personal identifiable
42
+ information.
43
+ - source_sentence: APT28 has exploited open Wi-Fi access points for initial access
44
+ to target devices using the network.
45
+ sentences:
46
+ - The spyware stored collected data in hidden disk areas reserved for firmware updates
47
+ and system recovery.
48
+ - DarkComet gathers the username from the victim’s machine.
49
+ - A script was deployed to search for and connect to unsecured guest Wi-Fi networks
50
+ in the area.
51
+ pipeline_tag: sentence-similarity
52
+ library_name: sentence-transformers
53
+ ---
54
+
55
+ # SentenceTransformer based on BAAI/bge-base-en-v1.5
56
+
57
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-base-en-v1.5](https://huggingface.co/BAAI/bge-base-en-v1.5). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
58
+
59
+ ## Model Details
60
+
61
+ ### Model Description
62
+ - **Model Type:** Sentence Transformer
63
+ - **Base model:** [BAAI/bge-base-en-v1.5](https://huggingface.co/BAAI/bge-base-en-v1.5) <!-- at revision a5beb1e3e68b9ab74eb54cfd186867f64f240e1a -->
64
+ - **Maximum Sequence Length:** 512 tokens
65
+ - **Output Dimensionality:** 768 dimensions
66
+ - **Similarity Function:** Cosine Similarity
67
+ <!-- - **Training Dataset:** Unknown -->
68
+ <!-- - **Language:** Unknown -->
69
+ <!-- - **License:** Unknown -->
70
+
71
+ ### Model Sources
72
+
73
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
74
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
75
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
76
+
77
+ ### Full Model Architecture
78
+
79
+ ```
80
+ SentenceTransformer(
81
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': True, 'architecture': 'BertModel'})
82
+ (1): Pooling({'word_embedding_dimension': 768, '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})
83
+ (2): Normalize()
84
+ )
85
+ ```
86
+
87
+ ## Usage
88
+
89
+ ### Direct Usage (Sentence Transformers)
90
+
91
+ First install the Sentence Transformers library:
92
+
93
+ ```bash
94
+ pip install -U sentence-transformers
95
+ ```
96
+
97
+ Then you can load this model and run inference.
98
+ ```python
99
+ from sentence_transformers import SentenceTransformer
100
+
101
+ # Download from the 🤗 Hub
102
+ model = SentenceTransformer("sentence_transformers_model_id")
103
+ # Run inference
104
+ sentences = [
105
+ 'APT28 has exploited open Wi-Fi access points for initial access to target devices using the network.',
106
+ 'A script was deployed to search for and connect to unsecured guest Wi-Fi networks in the area.',
107
+ 'The spyware stored collected data in hidden disk areas reserved for firmware updates and system recovery.',
108
+ ]
109
+ embeddings = model.encode(sentences)
110
+ print(embeddings.shape)
111
+ # [3, 768]
112
+
113
+ # Get the similarity scores for the embeddings
114
+ similarities = model.similarity(embeddings, embeddings)
115
+ print(similarities)
116
+ # tensor([[ 1.0000, 0.9010, -0.0563],
117
+ # [ 0.9010, 1.0000, 0.0412],
118
+ # [-0.0563, 0.0412, 1.0000]])
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
+ * Size: 54,320 training samples
164
+ * Columns: <code>sentence_0</code> and <code>sentence_1</code>
165
+ * Approximate statistics based on the first 1000 samples:
166
+ | | sentence_0 | sentence_1 |
167
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
168
+ | type | string | string |
169
+ | details | <ul><li>min: 8 tokens</li><li>mean: 23.66 tokens</li><li>max: 95 tokens</li></ul> | <ul><li>min: 9 tokens</li><li>mean: 23.49 tokens</li><li>max: 95 tokens</li></ul> |
170
+ * Samples:
171
+ | sentence_0 | sentence_1 |
172
+ |:---------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------|
173
+ | <code>ICMP timestamp requests were sent to gather information about network device availability.</code> | <code>The malware executed ping commands to map the victim's internal network structure.</code> |
174
+ | <code>Using Azure Resource Manager API calls, the threat actor listed all virtual machines across multiple subscriptions.</code> | <code>The adversary used a service principal to query the Microsoft Graph API and enumerate all service principals.</code> |
175
+ | <code>A malicious DLL was written to the Office application's startup folder for persistence.</code> | <code>The persistence mechanism modified Office registry settings to execute malicious code.</code> |
176
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
177
+ ```json
178
+ {
179
+ "scale": 20.0,
180
+ "similarity_fct": "cos_sim",
181
+ "gather_across_devices": false
182
+ }
183
+ ```
184
+
185
+ ### Training Hyperparameters
186
+ #### Non-Default Hyperparameters
187
+
188
+ - `per_device_train_batch_size`: 16
189
+ - `per_device_eval_batch_size`: 16
190
+ - `num_train_epochs`: 4
191
+ - `multi_dataset_batch_sampler`: round_robin
192
+
193
+ #### All Hyperparameters
194
+ <details><summary>Click to expand</summary>
195
+
196
+ - `overwrite_output_dir`: False
197
+ - `do_predict`: False
198
+ - `eval_strategy`: no
199
+ - `prediction_loss_only`: True
200
+ - `per_device_train_batch_size`: 16
201
+ - `per_device_eval_batch_size`: 16
202
+ - `per_gpu_train_batch_size`: None
203
+ - `per_gpu_eval_batch_size`: None
204
+ - `gradient_accumulation_steps`: 1
205
+ - `eval_accumulation_steps`: None
206
+ - `torch_empty_cache_steps`: None
207
+ - `learning_rate`: 5e-05
208
+ - `weight_decay`: 0.0
209
+ - `adam_beta1`: 0.9
210
+ - `adam_beta2`: 0.999
211
+ - `adam_epsilon`: 1e-08
212
+ - `max_grad_norm`: 1
213
+ - `num_train_epochs`: 4
214
+ - `max_steps`: -1
215
+ - `lr_scheduler_type`: linear
216
+ - `lr_scheduler_kwargs`: {}
217
+ - `warmup_ratio`: 0.0
218
+ - `warmup_steps`: 0
219
+ - `log_level`: passive
220
+ - `log_level_replica`: warning
221
+ - `log_on_each_node`: True
222
+ - `logging_nan_inf_filter`: True
223
+ - `save_safetensors`: True
224
+ - `save_on_each_node`: False
225
+ - `save_only_model`: False
226
+ - `restore_callback_states_from_checkpoint`: False
227
+ - `no_cuda`: False
228
+ - `use_cpu`: False
229
+ - `use_mps_device`: False
230
+ - `seed`: 42
231
+ - `data_seed`: None
232
+ - `jit_mode_eval`: False
233
+ - `bf16`: False
234
+ - `fp16`: False
235
+ - `fp16_opt_level`: O1
236
+ - `half_precision_backend`: auto
237
+ - `bf16_full_eval`: False
238
+ - `fp16_full_eval`: False
239
+ - `tf32`: None
240
+ - `local_rank`: 0
241
+ - `ddp_backend`: None
242
+ - `tpu_num_cores`: None
243
+ - `tpu_metrics_debug`: False
244
+ - `debug`: []
245
+ - `dataloader_drop_last`: False
246
+ - `dataloader_num_workers`: 0
247
+ - `dataloader_prefetch_factor`: None
248
+ - `past_index`: -1
249
+ - `disable_tqdm`: False
250
+ - `remove_unused_columns`: True
251
+ - `label_names`: None
252
+ - `load_best_model_at_end`: False
253
+ - `ignore_data_skip`: False
254
+ - `fsdp`: []
255
+ - `fsdp_min_num_params`: 0
256
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
257
+ - `fsdp_transformer_layer_cls_to_wrap`: None
258
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
259
+ - `parallelism_config`: None
260
+ - `deepspeed`: None
261
+ - `label_smoothing_factor`: 0.0
262
+ - `optim`: adamw_torch_fused
263
+ - `optim_args`: None
264
+ - `adafactor`: False
265
+ - `group_by_length`: False
266
+ - `length_column_name`: length
267
+ - `project`: huggingface
268
+ - `trackio_space_id`: trackio
269
+ - `ddp_find_unused_parameters`: None
270
+ - `ddp_bucket_cap_mb`: None
271
+ - `ddp_broadcast_buffers`: False
272
+ - `dataloader_pin_memory`: True
273
+ - `dataloader_persistent_workers`: False
274
+ - `skip_memory_metrics`: True
275
+ - `use_legacy_prediction_loop`: False
276
+ - `push_to_hub`: False
277
+ - `resume_from_checkpoint`: None
278
+ - `hub_model_id`: None
279
+ - `hub_strategy`: every_save
280
+ - `hub_private_repo`: None
281
+ - `hub_always_push`: False
282
+ - `hub_revision`: None
283
+ - `gradient_checkpointing`: False
284
+ - `gradient_checkpointing_kwargs`: None
285
+ - `include_inputs_for_metrics`: False
286
+ - `include_for_metrics`: []
287
+ - `eval_do_concat_batches`: True
288
+ - `fp16_backend`: auto
289
+ - `push_to_hub_model_id`: None
290
+ - `push_to_hub_organization`: None
291
+ - `mp_parameters`:
292
+ - `auto_find_batch_size`: False
293
+ - `full_determinism`: False
294
+ - `torchdynamo`: None
295
+ - `ray_scope`: last
296
+ - `ddp_timeout`: 1800
297
+ - `torch_compile`: False
298
+ - `torch_compile_backend`: None
299
+ - `torch_compile_mode`: None
300
+ - `include_tokens_per_second`: False
301
+ - `include_num_input_tokens_seen`: no
302
+ - `neftune_noise_alpha`: None
303
+ - `optim_target_modules`: None
304
+ - `batch_eval_metrics`: False
305
+ - `eval_on_start`: False
306
+ - `use_liger_kernel`: False
307
+ - `liger_kernel_config`: None
308
+ - `eval_use_gather_object`: False
309
+ - `average_tokens_across_devices`: True
310
+ - `prompts`: None
311
+ - `batch_sampler`: batch_sampler
312
+ - `multi_dataset_batch_sampler`: round_robin
313
+ - `router_mapping`: {}
314
+ - `learning_rate_mapping`: {}
315
+
316
+ </details>
317
+
318
+ ### Training Logs
319
+ | Epoch | Step | Training Loss |
320
+ |:------:|:-----:|:-------------:|
321
+ | 0.1473 | 500 | 0.7961 |
322
+ | 0.2946 | 1000 | 0.4543 |
323
+ | 0.4418 | 1500 | 0.3414 |
324
+ | 0.5891 | 2000 | 0.2844 |
325
+ | 0.7364 | 2500 | 0.2156 |
326
+ | 0.8837 | 3000 | 0.1984 |
327
+ | 1.0309 | 3500 | 0.1555 |
328
+ | 1.1782 | 4000 | 0.1195 |
329
+ | 1.3255 | 4500 | 0.1039 |
330
+ | 1.4728 | 5000 | 0.1007 |
331
+ | 1.6200 | 5500 | 0.1023 |
332
+ | 1.7673 | 6000 | 0.0975 |
333
+ | 1.9146 | 6500 | 0.0855 |
334
+ | 2.0619 | 7000 | 0.0889 |
335
+ | 2.2091 | 7500 | 0.069 |
336
+ | 2.3564 | 8000 | 0.07 |
337
+ | 2.5037 | 8500 | 0.0633 |
338
+ | 2.6510 | 9000 | 0.0593 |
339
+ | 2.7982 | 9500 | 0.0624 |
340
+ | 2.9455 | 10000 | 0.0574 |
341
+ | 3.0928 | 10500 | 0.0599 |
342
+ | 3.2401 | 11000 | 0.0484 |
343
+ | 3.3873 | 11500 | 0.0544 |
344
+ | 3.5346 | 12000 | 0.0596 |
345
+ | 3.6819 | 12500 | 0.0536 |
346
+ | 3.8292 | 13000 | 0.0517 |
347
+ | 3.9764 | 13500 | 0.0464 |
348
+
349
+
350
+ ### Framework Versions
351
+ - Python: 3.10.19
352
+ - Sentence Transformers: 5.2.0
353
+ - Transformers: 4.57.3
354
+ - PyTorch: 2.9.1
355
+ - Accelerate: 1.12.0
356
+ - Datasets: 4.4.2
357
+ - Tokenizers: 0.22.1
358
+
359
+ ## Citation
360
+
361
+ ### BibTeX
362
+
363
+ #### Sentence Transformers
364
+ ```bibtex
365
+ @inproceedings{reimers-2019-sentence-bert,
366
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
367
+ author = "Reimers, Nils and Gurevych, Iryna",
368
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
369
+ month = "11",
370
+ year = "2019",
371
+ publisher = "Association for Computational Linguistics",
372
+ url = "https://arxiv.org/abs/1908.10084",
373
+ }
374
+ ```
375
+
376
+ #### MultipleNegativesRankingLoss
377
+ ```bibtex
378
+ @misc{henderson2017efficient,
379
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
380
+ 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},
381
+ year={2017},
382
+ eprint={1705.00652},
383
+ archivePrefix={arXiv},
384
+ primaryClass={cs.CL}
385
+ }
386
+ ```
387
+
388
+ <!--
389
+ ## Glossary
390
+
391
+ *Clearly define terms in order to be accessible across audiences.*
392
+ -->
393
+
394
+ <!--
395
+ ## Model Card Authors
396
+
397
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
398
+ -->
399
+
400
+ <!--
401
+ ## Model Card Contact
402
+
403
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
404
+ -->
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
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": 12,
24
+ "num_hidden_layers": 12,
25
+ "pad_token_id": 0,
26
+ "position_embedding_type": "absolute",
27
+ "transformers_version": "4.57.3",
28
+ "type_vocab_size": 2,
29
+ "use_cache": true,
30
+ "vocab_size": 30522
31
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "5.2.0",
4
+ "transformers": "4.57.3",
5
+ "pytorch": "2.9.1"
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:4012c47d2ab8ab59e8183e528c5e5e59e8e98a29b1958a3571babcddd5086054
3
+ size 437951328
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