srirangamuc commited on
Commit
47866b5
·
verified ·
1 Parent(s): e4230be

Add new SentenceTransformer model

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 768,
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,354 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:39308
9
+ - loss:CosineSimilarityLoss
10
+ base_model: srirangamuc/roberta-dapt-pathology
11
+ widget:
12
+ - source_sentence: does this image show lymph node, mycobacterium avium-intracellulae
13
+ mai?
14
+ sentences:
15
+ - good example either chest
16
+ - 'yes'
17
+ - cut surface both testicles on normal and one quite small typical probably due
18
+ to mumps
19
+ - source_sentence: is the prominent cell in the center field intact?
20
+ sentences:
21
+ - 'yes'
22
+ - 'no'
23
+ - cardiovascular
24
+ - source_sentence: what is present?
25
+ sentences:
26
+ - vasculature
27
+ - both legs
28
+ - hodgkins disease
29
+ - source_sentence: does this image show fractures brain which is slide and close-up
30
+ view of these fractures is slide?
31
+ sentences:
32
+ - 'no'
33
+ - 'yes'
34
+ - 'no'
35
+ - source_sentence: is macerated stillborn present?
36
+ sentences:
37
+ - 'yes'
38
+ - islet inflammation
39
+ - been to show multiloculated nature
40
+ pipeline_tag: sentence-similarity
41
+ library_name: sentence-transformers
42
+ ---
43
+
44
+ # SentenceTransformer based on srirangamuc/roberta-dapt-pathology
45
+
46
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [srirangamuc/roberta-dapt-pathology](https://huggingface.co/srirangamuc/roberta-dapt-pathology). 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.
47
+
48
+ ## Model Details
49
+
50
+ ### Model Description
51
+ - **Model Type:** Sentence Transformer
52
+ - **Base model:** [srirangamuc/roberta-dapt-pathology](https://huggingface.co/srirangamuc/roberta-dapt-pathology) <!-- at revision 42d79acceb06f36a4408077691ef2f0339802502 -->
53
+ - **Maximum Sequence Length:** 514 tokens
54
+ - **Output Dimensionality:** 768 dimensions
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': 514, 'do_lower_case': False, 'architecture': 'RobertaModel'})
71
+ (1): Pooling({'word_embedding_dimension': 768, '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("srirangamuc/pathology-sbert-finetuned")
91
+ # Run inference
92
+ sentences = [
93
+ 'is macerated stillborn present?',
94
+ 'yes',
95
+ 'been to show multiloculated nature',
96
+ ]
97
+ embeddings = model.encode(sentences)
98
+ print(embeddings.shape)
99
+ # [3, 768]
100
+
101
+ # Get the similarity scores for the embeddings
102
+ similarities = model.similarity(embeddings, embeddings)
103
+ print(similarities)
104
+ # tensor([[1.0000, 0.7341, 0.0858],
105
+ # [0.7341, 1.0000, 0.1051],
106
+ # [0.0858, 0.1051, 1.0000]])
107
+ ```
108
+
109
+ <!--
110
+ ### Direct Usage (Transformers)
111
+
112
+ <details><summary>Click to see the direct usage in Transformers</summary>
113
+
114
+ </details>
115
+ -->
116
+
117
+ <!--
118
+ ### Downstream Usage (Sentence Transformers)
119
+
120
+ You can finetune this model on your own dataset.
121
+
122
+ <details><summary>Click to expand</summary>
123
+
124
+ </details>
125
+ -->
126
+
127
+ <!--
128
+ ### Out-of-Scope Use
129
+
130
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
131
+ -->
132
+
133
+ <!--
134
+ ## Bias, Risks and Limitations
135
+
136
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
137
+ -->
138
+
139
+ <!--
140
+ ### Recommendations
141
+
142
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
143
+ -->
144
+
145
+ ## Training Details
146
+
147
+ ### Training Dataset
148
+
149
+ #### Unnamed Dataset
150
+
151
+ * Size: 39,308 training samples
152
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
153
+ * Approximate statistics based on the first 1000 samples:
154
+ | | sentence_0 | sentence_1 | label |
155
+ |:--------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------|
156
+ | type | string | string | float |
157
+ | details | <ul><li>min: 3 tokens</li><li>mean: 7.68 tokens</li><li>max: 38 tokens</li></ul> | <ul><li>min: 1 tokens</li><li>mean: 1.94 tokens</li><li>max: 22 tokens</li></ul> | <ul><li>min: 0.1</li><li>mean: 0.49</li><li>max: 0.9</li></ul> |
158
+ * Samples:
159
+ | sentence_0 | sentence_1 | label |
160
+ |:------------------------------------------|:-------------------------------------|:-----------------|
161
+ | <code>where is this from?</code> | <code>gastrointestinal system</code> | <code>0.9</code> |
162
+ | <code>what is present?</code> | <code>gastrointestinal</code> | <code>0.1</code> |
163
+ | <code>is gastrointestinal present?</code> | <code>yes</code> | <code>0.9</code> |
164
+ * Loss: [<code>CosineSimilarityLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosinesimilarityloss) with these parameters:
165
+ ```json
166
+ {
167
+ "loss_fct": "torch.nn.modules.loss.MSELoss"
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
+ - `parallelism_config`: None
247
+ - `deepspeed`: None
248
+ - `label_smoothing_factor`: 0.0
249
+ - `optim`: adamw_torch
250
+ - `optim_args`: None
251
+ - `adafactor`: False
252
+ - `group_by_length`: False
253
+ - `length_column_name`: length
254
+ - `ddp_find_unused_parameters`: None
255
+ - `ddp_bucket_cap_mb`: None
256
+ - `ddp_broadcast_buffers`: False
257
+ - `dataloader_pin_memory`: True
258
+ - `dataloader_persistent_workers`: False
259
+ - `skip_memory_metrics`: True
260
+ - `use_legacy_prediction_loop`: False
261
+ - `push_to_hub`: False
262
+ - `resume_from_checkpoint`: None
263
+ - `hub_model_id`: None
264
+ - `hub_strategy`: every_save
265
+ - `hub_private_repo`: None
266
+ - `hub_always_push`: False
267
+ - `hub_revision`: None
268
+ - `gradient_checkpointing`: False
269
+ - `gradient_checkpointing_kwargs`: None
270
+ - `include_inputs_for_metrics`: False
271
+ - `include_for_metrics`: []
272
+ - `eval_do_concat_batches`: True
273
+ - `fp16_backend`: auto
274
+ - `push_to_hub_model_id`: None
275
+ - `push_to_hub_organization`: None
276
+ - `mp_parameters`:
277
+ - `auto_find_batch_size`: False
278
+ - `full_determinism`: False
279
+ - `torchdynamo`: None
280
+ - `ray_scope`: last
281
+ - `ddp_timeout`: 1800
282
+ - `torch_compile`: False
283
+ - `torch_compile_backend`: None
284
+ - `torch_compile_mode`: None
285
+ - `include_tokens_per_second`: False
286
+ - `include_num_input_tokens_seen`: False
287
+ - `neftune_noise_alpha`: None
288
+ - `optim_target_modules`: None
289
+ - `batch_eval_metrics`: False
290
+ - `eval_on_start`: False
291
+ - `use_liger_kernel`: False
292
+ - `liger_kernel_config`: None
293
+ - `eval_use_gather_object`: False
294
+ - `average_tokens_across_devices`: False
295
+ - `prompts`: None
296
+ - `batch_sampler`: batch_sampler
297
+ - `multi_dataset_batch_sampler`: round_robin
298
+ - `router_mapping`: {}
299
+ - `learning_rate_mapping`: {}
300
+
301
+ </details>
302
+
303
+ ### Training Logs
304
+ | Epoch | Step | Training Loss |
305
+ |:------:|:----:|:-------------:|
306
+ | 0.2035 | 500 | 0.1421 |
307
+ | 0.4070 | 1000 | 0.0952 |
308
+ | 0.6105 | 1500 | 0.0893 |
309
+ | 0.8140 | 2000 | 0.0865 |
310
+
311
+
312
+ ### Framework Versions
313
+ - Python: 3.11.13
314
+ - Sentence Transformers: 5.1.0
315
+ - Transformers: 4.56.1
316
+ - PyTorch: 2.7.1+cu118
317
+ - Accelerate: 1.9.0
318
+ - Datasets: 4.0.0
319
+ - Tokenizers: 0.22.0
320
+
321
+ ## Citation
322
+
323
+ ### BibTeX
324
+
325
+ #### Sentence Transformers
326
+ ```bibtex
327
+ @inproceedings{reimers-2019-sentence-bert,
328
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
329
+ author = "Reimers, Nils and Gurevych, Iryna",
330
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
331
+ month = "11",
332
+ year = "2019",
333
+ publisher = "Association for Computational Linguistics",
334
+ url = "https://arxiv.org/abs/1908.10084",
335
+ }
336
+ ```
337
+
338
+ <!--
339
+ ## Glossary
340
+
341
+ *Clearly define terms in order to be accessible across audiences.*
342
+ -->
343
+
344
+ <!--
345
+ ## Model Card Authors
346
+
347
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
348
+ -->
349
+
350
+ <!--
351
+ ## Model Card Contact
352
+
353
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
354
+ -->
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "</s>": 16001,
3
+ "<s>": 16000
4
+ }
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "position_embedding_type": "absolute",
22
+ "transformers_version": "4.56.1",
23
+ "type_vocab_size": 1,
24
+ "use_cache": true,
25
+ "vocab_size": 16002
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "SentenceTransformer",
3
+ "__version__": {
4
+ "sentence_transformers": "5.1.0",
5
+ "transformers": "4.56.1",
6
+ "pytorch": "2.7.1+cu118"
7
+ },
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9e92c0d4bbe33ccb9a44f3a365cf2a02ec9c553ef7caf1d95fc9ebe820f4d45
3
+ size 393348904
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": 514,
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": "[CLS]",
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": false,
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": "[SEP]",
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
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[PAD]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "[UNK]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[CLS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[SEP]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "[MASK]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "16000": {
45
+ "content": "<s>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "16001": {
53
+ "content": "</s>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ }
60
+ },
61
+ "bos_token": "<s>",
62
+ "clean_up_tokenization_spaces": false,
63
+ "cls_token": "[CLS]",
64
+ "eos_token": "</s>",
65
+ "errors": "replace",
66
+ "extra_special_tokens": {},
67
+ "mask_token": "[MASK]",
68
+ "max_length": 512,
69
+ "model_max_length": 514,
70
+ "pad_to_multiple_of": null,
71
+ "pad_token": "[PAD]",
72
+ "pad_token_type_id": 0,
73
+ "padding_side": "right",
74
+ "sep_token": "[SEP]",
75
+ "stride": 0,
76
+ "tokenizer_class": "RobertaTokenizer",
77
+ "trim_offsets": true,
78
+ "truncation_side": "right",
79
+ "truncation_strategy": "longest_first",
80
+ "unk_token": "[UNK]"
81
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff