karan842 commited on
Commit
cf09a0b
·
verified ·
1 Parent(s): f8f510e

Model save

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,420 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:10000
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: sentence-transformers/all-MiniLM-L6-v2
11
+ widget:
12
+ - source_sentence: great walks uk book
13
+ sentences:
14
+ - loose match
15
+ - loose match
16
+ - lamina mapa montevideo
17
+ - source_sentence: close match
18
+ sentences:
19
+ - shenanigans squad t shirt
20
+ - tyre inflators
21
+ - waves hair men
22
+ - source_sentence: close match
23
+ sentences:
24
+ - loose match
25
+ - ordnance survey maps explorer 166
26
+ - pocket staff
27
+ - source_sentence: letters for outdoor signs
28
+ sentences:
29
+ - outdoor sign
30
+ - loose match
31
+ - spice jar bamboo lid
32
+ - source_sentence: lunch
33
+ sentences:
34
+ - lunch box verre bambou
35
+ - narwhal sticker book
36
+ - the north face hedgehog
37
+ pipeline_tag: sentence-similarity
38
+ library_name: sentence-transformers
39
+ metrics:
40
+ - pearson_cosine
41
+ - spearman_cosine
42
+ model-index:
43
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
44
+ results:
45
+ - task:
46
+ type: semantic-similarity
47
+ name: Semantic Similarity
48
+ dataset:
49
+ name: custom validation
50
+ type: custom-validation
51
+ metrics:
52
+ - type: pearson_cosine
53
+ value: .nan
54
+ name: Pearson Cosine
55
+ - type: spearman_cosine
56
+ value: .nan
57
+ name: Spearman Cosine
58
+ ---
59
+
60
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
61
+
62
+ 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.
63
+
64
+ ## Model Details
65
+
66
+ ### Model Description
67
+ - **Model Type:** Sentence Transformer
68
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
69
+ - **Maximum Sequence Length:** 512 tokens
70
+ - **Output Dimensionality:** 384 dimensions
71
+ - **Similarity Function:** Cosine Similarity
72
+ <!-- - **Training Dataset:** Unknown -->
73
+ <!-- - **Language:** Unknown -->
74
+ <!-- - **License:** Unknown -->
75
+
76
+ ### Model Sources
77
+
78
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
79
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
80
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
81
+
82
+ ### Full Model Architecture
83
+
84
+ ```
85
+ SentenceTransformer(
86
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False, 'architecture': 'BertModel'})
87
+ (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})
88
+ )
89
+ ```
90
+
91
+ ## Usage
92
+
93
+ ### Direct Usage (Sentence Transformers)
94
+
95
+ First install the Sentence Transformers library:
96
+
97
+ ```bash
98
+ pip install -U sentence-transformers
99
+ ```
100
+
101
+ Then you can load this model and run inference.
102
+ ```python
103
+ from sentence_transformers import SentenceTransformer
104
+
105
+ # Download from the 🤗 Hub
106
+ model = SentenceTransformer("aihello/keyword-recommendation-beta")
107
+ # Run inference
108
+ sentences = [
109
+ 'lunch',
110
+ 'lunch box verre bambou',
111
+ 'narwhal sticker book',
112
+ ]
113
+ embeddings = model.encode(sentences)
114
+ print(embeddings.shape)
115
+ # [3, 384]
116
+
117
+ # Get the similarity scores for the embeddings
118
+ similarities = model.similarity(embeddings, embeddings)
119
+ print(similarities)
120
+ # tensor([[1.0000, 0.6072, 0.2710],
121
+ # [0.6072, 1.0000, 0.3213],
122
+ # [0.2710, 0.3213, 1.0000]])
123
+ ```
124
+
125
+ <!--
126
+ ### Direct Usage (Transformers)
127
+
128
+ <details><summary>Click to see the direct usage in Transformers</summary>
129
+
130
+ </details>
131
+ -->
132
+
133
+ <!--
134
+ ### Downstream Usage (Sentence Transformers)
135
+
136
+ You can finetune this model on your own dataset.
137
+
138
+ <details><summary>Click to expand</summary>
139
+
140
+ </details>
141
+ -->
142
+
143
+ <!--
144
+ ### Out-of-Scope Use
145
+
146
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
147
+ -->
148
+
149
+ ## Evaluation
150
+
151
+ ### Metrics
152
+
153
+ #### Semantic Similarity
154
+
155
+ * Dataset: `custom-validation`
156
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
157
+
158
+ | Metric | Value |
159
+ |:--------------------|:--------|
160
+ | pearson_cosine | nan |
161
+ | **spearman_cosine** | **nan** |
162
+
163
+ <!--
164
+ ## Bias, Risks and Limitations
165
+
166
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
167
+ -->
168
+
169
+ <!--
170
+ ### Recommendations
171
+
172
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
173
+ -->
174
+
175
+ ## Training Details
176
+
177
+ ### Training Dataset
178
+
179
+ #### Unnamed Dataset
180
+
181
+ * Size: 10,000 training samples
182
+ * Columns: <code>sentence1</code> and <code>sentence2</code>
183
+ * Approximate statistics based on the first 1000 samples:
184
+ | | sentence1 | sentence2 |
185
+ |:--------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
186
+ | type | string | string |
187
+ | details | <ul><li>min: 2 tokens</li><li>mean: 6.17 tokens</li><li>max: 16 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 6.83 tokens</li><li>max: 24 tokens</li></ul> |
188
+ * Samples:
189
+ | sentence1 | sentence2 |
190
+ |:-------------------------------------------|:------------------------------|
191
+ | <code>freeze ease john frieda serum</code> | <code>john frieda</code> |
192
+ | <code>wwwamazoncom</code> | <code>wwwamazoncom</code> |
193
+ | <code>ok</code> | <code>we j ok kl. alll</code> |
194
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
195
+ ```json
196
+ {
197
+ "scale": 20.0,
198
+ "similarity_fct": "cos_sim"
199
+ }
200
+ ```
201
+
202
+ ### Evaluation Dataset
203
+
204
+ #### Unnamed Dataset
205
+
206
+ * Size: 5,500 evaluation samples
207
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
208
+ * Approximate statistics based on the first 1000 samples:
209
+ | | sentence1 | sentence2 | score |
210
+ |:--------|:--------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:--------------------------------------------------------------|
211
+ | type | string | string | float |
212
+ | details | <ul><li>min: 2 tokens</li><li>mean: 6.2 tokens</li><li>max: 16 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 7.03 tokens</li><li>max: 24 tokens</li></ul> | <ul><li>min: 1.0</li><li>mean: 1.0</li><li>max: 1.0</li></ul> |
213
+ * Samples:
214
+ | sentence1 | sentence2 | score |
215
+ |:------------------------------|:----------------------------------|:-----------------|
216
+ | <code>adaptateur 12v</code> | <code>adaptateur 12v 500ma</code> | <code>1.0</code> |
217
+ | <code>fifo</code> | <code>loose match</code> | <code>1.0</code> |
218
+ | <code>bucket list book</code> | <code>loose match</code> | <code>1.0</code> |
219
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
220
+ ```json
221
+ {
222
+ "scale": 20.0,
223
+ "similarity_fct": "cos_sim"
224
+ }
225
+ ```
226
+
227
+ ### Training Hyperparameters
228
+ #### Non-Default Hyperparameters
229
+
230
+ - `eval_strategy`: steps
231
+ - `per_device_train_batch_size`: 48
232
+ - `learning_rate`: 2e-05
233
+ - `push_to_hub`: True
234
+ - `hub_model_id`: aihello/keyword-recommendation-beta
235
+ - `hub_strategy`: end
236
+
237
+ #### All Hyperparameters
238
+ <details><summary>Click to expand</summary>
239
+
240
+ - `overwrite_output_dir`: False
241
+ - `do_predict`: False
242
+ - `eval_strategy`: steps
243
+ - `prediction_loss_only`: True
244
+ - `per_device_train_batch_size`: 48
245
+ - `per_device_eval_batch_size`: 8
246
+ - `per_gpu_train_batch_size`: None
247
+ - `per_gpu_eval_batch_size`: None
248
+ - `gradient_accumulation_steps`: 1
249
+ - `eval_accumulation_steps`: None
250
+ - `torch_empty_cache_steps`: None
251
+ - `learning_rate`: 2e-05
252
+ - `weight_decay`: 0.0
253
+ - `adam_beta1`: 0.9
254
+ - `adam_beta2`: 0.999
255
+ - `adam_epsilon`: 1e-08
256
+ - `max_grad_norm`: 1.0
257
+ - `num_train_epochs`: 3
258
+ - `max_steps`: -1
259
+ - `lr_scheduler_type`: linear
260
+ - `lr_scheduler_kwargs`: {}
261
+ - `warmup_ratio`: 0.0
262
+ - `warmup_steps`: 0
263
+ - `log_level`: passive
264
+ - `log_level_replica`: warning
265
+ - `log_on_each_node`: True
266
+ - `logging_nan_inf_filter`: True
267
+ - `save_safetensors`: True
268
+ - `save_on_each_node`: False
269
+ - `save_only_model`: False
270
+ - `restore_callback_states_from_checkpoint`: False
271
+ - `no_cuda`: False
272
+ - `use_cpu`: False
273
+ - `use_mps_device`: False
274
+ - `seed`: 42
275
+ - `data_seed`: None
276
+ - `jit_mode_eval`: False
277
+ - `use_ipex`: False
278
+ - `bf16`: False
279
+ - `fp16`: False
280
+ - `fp16_opt_level`: O1
281
+ - `half_precision_backend`: auto
282
+ - `bf16_full_eval`: False
283
+ - `fp16_full_eval`: False
284
+ - `tf32`: None
285
+ - `local_rank`: 0
286
+ - `ddp_backend`: None
287
+ - `tpu_num_cores`: None
288
+ - `tpu_metrics_debug`: False
289
+ - `debug`: []
290
+ - `dataloader_drop_last`: False
291
+ - `dataloader_num_workers`: 0
292
+ - `dataloader_prefetch_factor`: None
293
+ - `past_index`: -1
294
+ - `disable_tqdm`: False
295
+ - `remove_unused_columns`: True
296
+ - `label_names`: None
297
+ - `load_best_model_at_end`: False
298
+ - `ignore_data_skip`: False
299
+ - `fsdp`: []
300
+ - `fsdp_min_num_params`: 0
301
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
302
+ - `fsdp_transformer_layer_cls_to_wrap`: None
303
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
304
+ - `deepspeed`: None
305
+ - `label_smoothing_factor`: 0.0
306
+ - `optim`: adamw_torch
307
+ - `optim_args`: None
308
+ - `adafactor`: False
309
+ - `group_by_length`: False
310
+ - `length_column_name`: length
311
+ - `ddp_find_unused_parameters`: None
312
+ - `ddp_bucket_cap_mb`: None
313
+ - `ddp_broadcast_buffers`: False
314
+ - `dataloader_pin_memory`: True
315
+ - `dataloader_persistent_workers`: False
316
+ - `skip_memory_metrics`: True
317
+ - `use_legacy_prediction_loop`: False
318
+ - `push_to_hub`: True
319
+ - `resume_from_checkpoint`: None
320
+ - `hub_model_id`: aihello/keyword-recommendation-beta
321
+ - `hub_strategy`: end
322
+ - `hub_private_repo`: None
323
+ - `hub_always_push`: False
324
+ - `hub_revision`: None
325
+ - `gradient_checkpointing`: False
326
+ - `gradient_checkpointing_kwargs`: None
327
+ - `include_inputs_for_metrics`: False
328
+ - `include_for_metrics`: []
329
+ - `eval_do_concat_batches`: True
330
+ - `fp16_backend`: auto
331
+ - `push_to_hub_model_id`: None
332
+ - `push_to_hub_organization`: None
333
+ - `mp_parameters`:
334
+ - `auto_find_batch_size`: False
335
+ - `full_determinism`: False
336
+ - `torchdynamo`: None
337
+ - `ray_scope`: last
338
+ - `ddp_timeout`: 1800
339
+ - `torch_compile`: False
340
+ - `torch_compile_backend`: None
341
+ - `torch_compile_mode`: None
342
+ - `include_tokens_per_second`: False
343
+ - `include_num_input_tokens_seen`: False
344
+ - `neftune_noise_alpha`: None
345
+ - `optim_target_modules`: None
346
+ - `batch_eval_metrics`: False
347
+ - `eval_on_start`: False
348
+ - `use_liger_kernel`: False
349
+ - `liger_kernel_config`: None
350
+ - `eval_use_gather_object`: False
351
+ - `average_tokens_across_devices`: False
352
+ - `prompts`: None
353
+ - `batch_sampler`: batch_sampler
354
+ - `multi_dataset_batch_sampler`: proportional
355
+ - `router_mapping`: {}
356
+ - `learning_rate_mapping`: {}
357
+
358
+ </details>
359
+
360
+ ### Training Logs
361
+ | Epoch | Step | Training Loss | Validation Loss | custom-validation_spearman_cosine |
362
+ |:------:|:----:|:-------------:|:---------------:|:---------------------------------:|
363
+ | 2.3923 | 500 | 0.8613 | 0.5926 | nan |
364
+
365
+
366
+ ### Framework Versions
367
+ - Python: 3.12.6
368
+ - Sentence Transformers: 5.0.0
369
+ - Transformers: 4.53.0
370
+ - PyTorch: 2.7.1+cu126
371
+ - Accelerate: 1.7.0
372
+ - Datasets: 3.6.0
373
+ - Tokenizers: 0.21.1
374
+
375
+ ## Citation
376
+
377
+ ### BibTeX
378
+
379
+ #### Sentence Transformers
380
+ ```bibtex
381
+ @inproceedings{reimers-2019-sentence-bert,
382
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
383
+ author = "Reimers, Nils and Gurevych, Iryna",
384
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
385
+ month = "11",
386
+ year = "2019",
387
+ publisher = "Association for Computational Linguistics",
388
+ url = "https://arxiv.org/abs/1908.10084",
389
+ }
390
+ ```
391
+
392
+ #### MultipleNegativesRankingLoss
393
+ ```bibtex
394
+ @misc{henderson2017efficient,
395
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
396
+ 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},
397
+ year={2017},
398
+ eprint={1705.00652},
399
+ archivePrefix={arXiv},
400
+ primaryClass={cs.CL}
401
+ }
402
+ ```
403
+
404
+ <!--
405
+ ## Glossary
406
+
407
+ *Clearly define terms in order to be accessible across audiences.*
408
+ -->
409
+
410
+ <!--
411
+ ## Model Card Authors
412
+
413
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
414
+ -->
415
+
416
+ <!--
417
+ ## Model Card Contact
418
+
419
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
420
+ -->
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 384,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 1536,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 6,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.53.0",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 30522
25
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "SentenceTransformer",
3
+ "__version__": {
4
+ "sentence_transformers": "5.0.0",
5
+ "transformers": "4.53.0",
6
+ "pytorch": "2.7.1+cu126"
7
+ },
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
eval/similarity_evaluation_custom-validation_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine_pearson,cosine_spearman
2
+ 2.3923444976076556,500,nan,nan
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae40874f8ba2f3a313ebe93ea8fe5576ea93502d4916453e860304146565313f
3
+ size 90864192
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": 512,
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,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "[UNK]"
65
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e0ff41728e3805d632d15bdb152a91604d9eae3dfdca37f05018fe630a29dc3
3
+ size 6033
vocab.txt ADDED
The diff for this file is too large to render. See raw diff