hothanhtienqb commited on
Commit
8be8433
1 Parent(s): a7c0082

up mindmap model

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* 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
 
 
 
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
37
+ unigram.json filter=lfs diff=lfs merge=lfs -text
1_Pooling/.ipynb_checkpoints/config-checkpoint.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
+ }
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,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
3
+ library_name: sentence-transformers
4
+ pipeline_tag: sentence-similarity
5
+ tags:
6
+ - sentence-transformers
7
+ - sentence-similarity
8
+ - feature-extraction
9
+ - generated_from_trainer
10
+ - dataset_size:101072
11
+ - loss:MultipleNegativesRankingLoss
12
+ widget:
13
+ - source_sentence: What are the special names of Kanyakumari?
14
+ sentences:
15
+ - What are the other names of Kanniyakumari?
16
+ - What happen if we don't buy foreign goods?
17
+ - Why does Uber not allow their drivers to see the per-trip ratings received from
18
+ clients?
19
+ - source_sentence: Why do we continue this American experiment? We hate each other.
20
+ Liberals are about to burn the country down at inauguration, why continue?
21
+ sentences:
22
+ - What would happen if ₹2000 forged?
23
+ - Why do Caucasian countries hate each other?
24
+ - Why should I select you for this particular job?
25
+ - source_sentence: What instrument begins the horn section in the Radiohead song The
26
+ National Anthem?
27
+ sentences:
28
+ - What is 16t^2=75t+10 quadraticly?
29
+ - How do I become more open?
30
+ - What do Americans think of Kurds?
31
+ - source_sentence: What is the average time one needs to prepare for the IAS?
32
+ sentences:
33
+ - What is the average time for preparation of IAS?
34
+ - What is the easiest foreign language for a native English speaker to learn?
35
+ - Where do men masturbate usually?
36
+ - source_sentence: What was Nikola Tesla's IQ?
37
+ sentences:
38
+ - Where can I get best qualities outdoor tiles in Sydney?
39
+ - What hotel in Raipur would be safe for unmarried couples, without the harassment
40
+ of police, hotel staff, and moral police?
41
+ - Did Nikola Tesla have children?
42
+ ---
43
+
44
+ # SentenceTransformer based on sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
45
+
46
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-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.
47
+
48
+ ## Model Details
49
+
50
+ ### Model Description
51
+ - **Model Type:** Sentence Transformer
52
+ - **Base model:** [sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2) <!-- at revision bf3bf13ab40c3157080a7ab344c831b9ad18b5eb -->
53
+ - **Maximum Sequence Length:** 128 tokens
54
+ - **Output Dimensionality:** 384 tokens
55
+ - **Similarity Function:** Cosine Similarity
56
+ <!-- - **Training Dataset:** Unknown -->
57
+ <!-- - **Language:** Unknown -->
58
+ <!-- - **License:** Unknown -->
59
+
60
+ ### Model Sources
61
+
62
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
63
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
64
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
65
+
66
+ ### Full Model Architecture
67
+
68
+ ```
69
+ SentenceTransformer(
70
+ (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
71
+ (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})
72
+ )
73
+ ```
74
+
75
+ ## Usage
76
+
77
+ ### Direct Usage (Sentence Transformers)
78
+
79
+ First install the Sentence Transformers library:
80
+
81
+ ```bash
82
+ pip install -U sentence-transformers
83
+ ```
84
+
85
+ Then you can load this model and run inference.
86
+ ```python
87
+ from sentence_transformers import SentenceTransformer
88
+
89
+ # Download from the 🤗 Hub
90
+ model = SentenceTransformer("sentence_transformers_model_id")
91
+ # Run inference
92
+ sentences = [
93
+ "What was Nikola Tesla's IQ?",
94
+ 'Did Nikola Tesla have children?',
95
+ 'What hotel in Raipur would be safe for unmarried couples, without the harassment of police, hotel staff, and moral police?',
96
+ ]
97
+ embeddings = model.encode(sentences)
98
+ print(embeddings.shape)
99
+ # [3, 384]
100
+
101
+ # Get the similarity scores for the embeddings
102
+ similarities = model.similarity(embeddings, embeddings)
103
+ print(similarities.shape)
104
+ # [3, 3]
105
+ ```
106
+
107
+ <!--
108
+ ### Direct Usage (Transformers)
109
+
110
+ <details><summary>Click to see the direct usage in Transformers</summary>
111
+
112
+ </details>
113
+ -->
114
+
115
+ <!--
116
+ ### Downstream Usage (Sentence Transformers)
117
+
118
+ You can finetune this model on your own dataset.
119
+
120
+ <details><summary>Click to expand</summary>
121
+
122
+ </details>
123
+ -->
124
+
125
+ <!--
126
+ ### Out-of-Scope Use
127
+
128
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
129
+ -->
130
+
131
+ <!--
132
+ ## Bias, Risks and Limitations
133
+
134
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
135
+ -->
136
+
137
+ <!--
138
+ ### Recommendations
139
+
140
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
141
+ -->
142
+
143
+ ## Training Details
144
+
145
+ ### Training Dataset
146
+
147
+ #### Unnamed Dataset
148
+
149
+
150
+ * Size: 101,072 training samples
151
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
152
+ * Approximate statistics based on the first 1000 samples:
153
+ | | sentence_0 | sentence_1 | label |
154
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------|
155
+ | type | string | string | float |
156
+ | details | <ul><li>min: 6 tokens</li><li>mean: 16.52 tokens</li><li>max: 59 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.55 tokens</li><li>max: 78 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.37</li><li>max: 1.0</li></ul> |
157
+ * Samples:
158
+ | sentence_0 | sentence_1 | label |
159
+ |:------------------------------------------------------------------|:--------------------------------------------------------------|:-----------------|
160
+ | <code>How can I improve my pronunciation of English words?</code> | <code>How can I improve my pronunciation in English?</code> | <code>1.0</code> |
161
+ | <code>How can I increase my attractiveness?</code> | <code>How do I increase my attraction towards someone?</code> | <code>0.0</code> |
162
+ | <code>What are the best places to work in?</code> | <code>Which are the best places to work in india?</code> | <code>0.0</code> |
163
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
164
+ ```json
165
+ {
166
+ "scale": 20.0,
167
+ "similarity_fct": "cos_sim"
168
+ }
169
+ ```
170
+
171
+ ### Training Hyperparameters
172
+ #### Non-Default Hyperparameters
173
+
174
+ - `per_device_train_batch_size`: 16
175
+ - `per_device_eval_batch_size`: 16
176
+ - `num_train_epochs`: 1
177
+ - `multi_dataset_batch_sampler`: round_robin
178
+
179
+ #### All Hyperparameters
180
+ <details><summary>Click to expand</summary>
181
+
182
+ - `overwrite_output_dir`: False
183
+ - `do_predict`: False
184
+ - `eval_strategy`: no
185
+ - `prediction_loss_only`: True
186
+ - `per_device_train_batch_size`: 16
187
+ - `per_device_eval_batch_size`: 16
188
+ - `per_gpu_train_batch_size`: None
189
+ - `per_gpu_eval_batch_size`: None
190
+ - `gradient_accumulation_steps`: 1
191
+ - `eval_accumulation_steps`: None
192
+ - `torch_empty_cache_steps`: None
193
+ - `learning_rate`: 5e-05
194
+ - `weight_decay`: 0.0
195
+ - `adam_beta1`: 0.9
196
+ - `adam_beta2`: 0.999
197
+ - `adam_epsilon`: 1e-08
198
+ - `max_grad_norm`: 1
199
+ - `num_train_epochs`: 1
200
+ - `max_steps`: -1
201
+ - `lr_scheduler_type`: linear
202
+ - `lr_scheduler_kwargs`: {}
203
+ - `warmup_ratio`: 0.0
204
+ - `warmup_steps`: 0
205
+ - `log_level`: passive
206
+ - `log_level_replica`: warning
207
+ - `log_on_each_node`: True
208
+ - `logging_nan_inf_filter`: True
209
+ - `save_safetensors`: True
210
+ - `save_on_each_node`: False
211
+ - `save_only_model`: False
212
+ - `restore_callback_states_from_checkpoint`: False
213
+ - `no_cuda`: False
214
+ - `use_cpu`: False
215
+ - `use_mps_device`: False
216
+ - `seed`: 42
217
+ - `data_seed`: None
218
+ - `jit_mode_eval`: False
219
+ - `use_ipex`: False
220
+ - `bf16`: False
221
+ - `fp16`: False
222
+ - `fp16_opt_level`: O1
223
+ - `half_precision_backend`: auto
224
+ - `bf16_full_eval`: False
225
+ - `fp16_full_eval`: False
226
+ - `tf32`: None
227
+ - `local_rank`: 0
228
+ - `ddp_backend`: None
229
+ - `tpu_num_cores`: None
230
+ - `tpu_metrics_debug`: False
231
+ - `debug`: []
232
+ - `dataloader_drop_last`: False
233
+ - `dataloader_num_workers`: 0
234
+ - `dataloader_prefetch_factor`: None
235
+ - `past_index`: -1
236
+ - `disable_tqdm`: False
237
+ - `remove_unused_columns`: True
238
+ - `label_names`: None
239
+ - `load_best_model_at_end`: False
240
+ - `ignore_data_skip`: False
241
+ - `fsdp`: []
242
+ - `fsdp_min_num_params`: 0
243
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
244
+ - `fsdp_transformer_layer_cls_to_wrap`: None
245
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
246
+ - `deepspeed`: None
247
+ - `label_smoothing_factor`: 0.0
248
+ - `optim`: adamw_torch
249
+ - `optim_args`: None
250
+ - `adafactor`: False
251
+ - `group_by_length`: False
252
+ - `length_column_name`: length
253
+ - `ddp_find_unused_parameters`: None
254
+ - `ddp_bucket_cap_mb`: None
255
+ - `ddp_broadcast_buffers`: False
256
+ - `dataloader_pin_memory`: True
257
+ - `dataloader_persistent_workers`: False
258
+ - `skip_memory_metrics`: True
259
+ - `use_legacy_prediction_loop`: False
260
+ - `push_to_hub`: False
261
+ - `resume_from_checkpoint`: None
262
+ - `hub_model_id`: None
263
+ - `hub_strategy`: every_save
264
+ - `hub_private_repo`: False
265
+ - `hub_always_push`: False
266
+ - `gradient_checkpointing`: False
267
+ - `gradient_checkpointing_kwargs`: None
268
+ - `include_inputs_for_metrics`: False
269
+ - `eval_do_concat_batches`: True
270
+ - `fp16_backend`: auto
271
+ - `push_to_hub_model_id`: None
272
+ - `push_to_hub_organization`: None
273
+ - `mp_parameters`:
274
+ - `auto_find_batch_size`: False
275
+ - `full_determinism`: False
276
+ - `torchdynamo`: None
277
+ - `ray_scope`: last
278
+ - `ddp_timeout`: 1800
279
+ - `torch_compile`: False
280
+ - `torch_compile_backend`: None
281
+ - `torch_compile_mode`: None
282
+ - `dispatch_batches`: None
283
+ - `split_batches`: None
284
+ - `include_tokens_per_second`: False
285
+ - `include_num_input_tokens_seen`: False
286
+ - `neftune_noise_alpha`: None
287
+ - `optim_target_modules`: None
288
+ - `batch_eval_metrics`: False
289
+ - `eval_on_start`: False
290
+ - `use_liger_kernel`: False
291
+ - `eval_use_gather_object`: False
292
+ - `batch_sampler`: batch_sampler
293
+ - `multi_dataset_batch_sampler`: round_robin
294
+
295
+ </details>
296
+
297
+ ### Training Logs
298
+ | Epoch | Step | Training Loss |
299
+ |:------:|:----:|:-------------:|
300
+ | 0.0792 | 500 | 0.3521 |
301
+ | 0.1583 | 1000 | 0.3428 |
302
+ | 0.2375 | 1500 | 0.3234 |
303
+ | 0.3166 | 2000 | 0.2888 |
304
+ | 0.3958 | 2500 | 0.3205 |
305
+ | 0.4749 | 3000 | 0.2975 |
306
+ | 0.5541 | 3500 | 0.2854 |
307
+ | 0.6332 | 4000 | 0.2913 |
308
+ | 0.7124 | 4500 | 0.2991 |
309
+ | 0.7915 | 5000 | 0.292 |
310
+ | 0.8707 | 5500 | 0.3149 |
311
+ | 0.9498 | 6000 | 0.289 |
312
+
313
+
314
+ ### Framework Versions
315
+ - Python: 3.9.20
316
+ - Sentence Transformers: 3.1.1
317
+ - Transformers: 4.45.1
318
+ - PyTorch: 2.4.1+cpu
319
+ - Accelerate: 0.34.2
320
+ - Datasets: 3.0.1
321
+ - Tokenizers: 0.20.0
322
+
323
+ ## Citation
324
+
325
+ ### BibTeX
326
+
327
+ #### Sentence Transformers
328
+ ```bibtex
329
+ @inproceedings{reimers-2019-sentence-bert,
330
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
331
+ author = "Reimers, Nils and Gurevych, Iryna",
332
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
333
+ month = "11",
334
+ year = "2019",
335
+ publisher = "Association for Computational Linguistics",
336
+ url = "https://arxiv.org/abs/1908.10084",
337
+ }
338
+ ```
339
+
340
+ #### MultipleNegativesRankingLoss
341
+ ```bibtex
342
+ @misc{henderson2017efficient,
343
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
344
+ 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},
345
+ year={2017},
346
+ eprint={1705.00652},
347
+ archivePrefix={arXiv},
348
+ primaryClass={cs.CL}
349
+ }
350
+ ```
351
+
352
+ <!--
353
+ ## Glossary
354
+
355
+ *Clearly define terms in order to be accessible across audiences.*
356
+ -->
357
+
358
+ <!--
359
+ ## Model Card Authors
360
+
361
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
362
+ -->
363
+
364
+ <!--
365
+ ## Model Card Contact
366
+
367
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
368
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
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": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.45.1",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 250037
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.1.1",
4
+ "transformers": "4.45.1",
5
+ "pytorch": "2.4.1+cpu"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": null
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35f7e12afab73191421ee19247c23c055ea56290d6d8220a39e0993fd799271d
3
+ size 470637416
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": 128,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cad551d5600a84242d0973327029452a1e3672ba6313c2a3c3d69c4310e12719
3
+ size 17082987
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
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>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
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
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "<s>",
47
+ "do_lower_case": true,
48
+ "eos_token": "</s>",
49
+ "mask_token": "<mask>",
50
+ "max_length": 128,
51
+ "model_max_length": 128,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "<pad>",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "</s>",
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
+ }
unigram.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da145b5e7700ae40f16691ec32a0b1fdc1ee3298db22a31ea55f57a966c4a65d
3
+ size 14763260