dpshade22 commited on
Commit
d09041a
·
verified ·
1 Parent(s): 2d0bbdf

Upload hf-e5-bible-50 embedding 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,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:262023
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: intfloat/e5-base-v2
11
+ widget:
12
+ - source_sentence: 'query: what happened at reign of hoshea'
13
+ sentences:
14
+ - 'passage: He did evil in the eyes of the Lord, but not like the kings of Israel
15
+ who preceded him.'
16
+ - 'passage: After David had finished talking with Saul, Jonathan became one in spirit
17
+ with David, and he loved him as himself.'
18
+ - 'passage: Those who trusted in Cush and boasted in Egypt will be dismayed and
19
+ put to shame.'
20
+ - source_sentence: 'query: who was God'
21
+ sentences:
22
+ - 'passage: For the pagan world runs after all such things, and your Father knows
23
+ that you need them.'
24
+ - 'passage: Then Saul prayed to the Lord, the God of Israel, “Why have you not answered
25
+ your servant today? If the fault is in me or my son Jonathan, respond with Urim,
26
+ but if the men of Israel are at fault, respond with Thummim.” Jonathan and Saul
27
+ were taken by lot, and the men were cleared.'
28
+ - 'passage: But what did you go out to see? A prophet? Yes, I tell you, and more
29
+ than a prophet.'
30
+ - source_sentence: 'query: story of holy week'
31
+ sentences:
32
+ - "passage: “Zebulun will live by the seashore\n and become a haven for ships;\n\
33
+ \ his border will extend toward Sidon."
34
+ - 'passage: “When you see Jerusalem being surrounded by armies, you will know that
35
+ its desolation is near.'
36
+ - 'passage: Rise! Let us go! Here comes my betrayer!”'
37
+ - source_sentence: 'query: Tabernacle Built in the Bible'
38
+ sentences:
39
+ - 'passage: Just before dawn Paul urged them all to eat. “For the last fourteen
40
+ days,” he said, “you have been in constant suspense and have gone without food—you
41
+ haven’t eaten anything.'
42
+ - 'passage: When he would not be dissuaded, we gave up and said, “The Lord’s will
43
+ be done.”'
44
+ - 'passage: The poles are to be inserted into the rings so they will be on two sides
45
+ of the altar when it is carried.'
46
+ - source_sentence: 'query: what happened to Jesus'
47
+ sentences:
48
+ - "passage: Like a slave longing for the evening shadows,\n or a hired laborer\
49
+ \ waiting to be paid,"
50
+ - 'passage: Then three thousand men from Judah went down to the cave in the rock
51
+ of Etam and said to Samson, “Don’t you realize that the Philistines are rulers
52
+ over us? What have you done to us?”
53
+
54
+ He answered, “I merely did to them what they did to me.”'
55
+ - 'passage: When Jesus saw her weeping, and the Jews who had come along with her
56
+ also weeping, he was deeply moved in spirit and troubled.'
57
+ pipeline_tag: sentence-similarity
58
+ library_name: sentence-transformers
59
+ ---
60
+
61
+ # SentenceTransformer based on intfloat/e5-base-v2
62
+
63
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [intfloat/e5-base-v2](https://huggingface.co/intfloat/e5-base-v2). 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.
64
+
65
+ ## Model Details
66
+
67
+ ### Model Description
68
+ - **Model Type:** Sentence Transformer
69
+ - **Base model:** [intfloat/e5-base-v2](https://huggingface.co/intfloat/e5-base-v2) <!-- at revision f52bf8ec8c7124536f0efb74aca902b2995e5bcd -->
70
+ - **Maximum Sequence Length:** 256 tokens
71
+ - **Output Dimensionality:** 768 dimensions
72
+ - **Similarity Function:** Cosine Similarity
73
+ <!-- - **Training Dataset:** Unknown -->
74
+ <!-- - **Language:** Unknown -->
75
+ <!-- - **License:** Unknown -->
76
+
77
+ ### Model Sources
78
+
79
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
80
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
81
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
82
+
83
+ ### Full Model Architecture
84
+
85
+ ```
86
+ SentenceTransformer(
87
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
88
+ (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})
89
+ (2): Normalize()
90
+ )
91
+ ```
92
+
93
+ ## Usage
94
+
95
+ ### Direct Usage (Sentence Transformers)
96
+
97
+ First install the Sentence Transformers library:
98
+
99
+ ```bash
100
+ pip install -U sentence-transformers
101
+ ```
102
+
103
+ Then you can load this model and run inference.
104
+ ```python
105
+ from sentence_transformers import SentenceTransformer
106
+
107
+ # Download from the 🤗 Hub
108
+ model = SentenceTransformer("sentence_transformers_model_id")
109
+ # Run inference
110
+ sentences = [
111
+ 'query: what happened to Jesus',
112
+ 'passage: When Jesus saw her weeping, and the Jews who had come along with her also weeping, he was deeply moved in spirit and troubled.',
113
+ 'passage: Like a slave longing for the evening shadows,\n or a hired laborer waiting to be paid,',
114
+ ]
115
+ embeddings = model.encode(sentences)
116
+ print(embeddings.shape)
117
+ # [3, 768]
118
+
119
+ # Get the similarity scores for the embeddings
120
+ similarities = model.similarity(embeddings, embeddings)
121
+ print(similarities)
122
+ # tensor([[1.0000, 0.7344, 0.5219],
123
+ # [0.7344, 1.0000, 0.5503],
124
+ # [0.5219, 0.5503, 1.0000]])
125
+ ```
126
+
127
+ <!--
128
+ ### Direct Usage (Transformers)
129
+
130
+ <details><summary>Click to see the direct usage in Transformers</summary>
131
+
132
+ </details>
133
+ -->
134
+
135
+ <!--
136
+ ### Downstream Usage (Sentence Transformers)
137
+
138
+ You can finetune this model on your own dataset.
139
+
140
+ <details><summary>Click to expand</summary>
141
+
142
+ </details>
143
+ -->
144
+
145
+ <!--
146
+ ### Out-of-Scope Use
147
+
148
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
149
+ -->
150
+
151
+ <!--
152
+ ## Bias, Risks and Limitations
153
+
154
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
155
+ -->
156
+
157
+ <!--
158
+ ### Recommendations
159
+
160
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
161
+ -->
162
+
163
+ ## Training Details
164
+
165
+ ### Training Dataset
166
+
167
+ #### Unnamed Dataset
168
+
169
+ * Size: 262,023 training samples
170
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
171
+ * Approximate statistics based on the first 1000 samples:
172
+ | | sentence_0 | sentence_1 | label |
173
+ |:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:--------------------------------------------------------------|
174
+ | type | string | string | float |
175
+ | details | <ul><li>min: 5 tokens</li><li>mean: 28.73 tokens</li><li>max: 256 tokens</li></ul> | <ul><li>min: 11 tokens</li><li>mean: 35.28 tokens</li><li>max: 79 tokens</li></ul> | <ul><li>min: 1.0</li><li>mean: 1.0</li><li>max: 1.0</li></ul> |
176
+ * Samples:
177
+ | sentence_0 | sentence_1 | label |
178
+ |:------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------|
179
+ | <code>query: Do not lurk like a thief near the house of the righteous,<br> do not plunder their dwelling place;</code> | <code>passage: for though the righteous fall seven times, they rise again,<br> but the wicked stumble when calamity strikes.</code> | <code>1.0</code> |
180
+ | <code>query: what is Bolster</code> | <code>passage: When he reached a certain place, he stopped for the night because the sun had set. Taking one of the stones there, he put it under his head and lay down to sleep.</code> | <code>1.0</code> |
181
+ | <code>query: The event 'Gamaliel advises the counsel and Apostles freed' as recorded in Scripture, involving Gamaliel.</code> | <code>passage: Day after day, in the temple courts and from house to house, they never stopped teaching and proclaiming the good news that Jesus is the Messiah.</code> | <code>1.0</code> |
182
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
183
+ ```json
184
+ {
185
+ "scale": 20.0,
186
+ "similarity_fct": "cos_sim",
187
+ "gather_across_devices": false
188
+ }
189
+ ```
190
+
191
+ ### Training Hyperparameters
192
+ #### Non-Default Hyperparameters
193
+
194
+ - `per_device_train_batch_size`: 32
195
+ - `per_device_eval_batch_size`: 32
196
+ - `num_train_epochs`: 1
197
+ - `max_steps`: 50
198
+ - `multi_dataset_batch_sampler`: round_robin
199
+
200
+ #### All Hyperparameters
201
+ <details><summary>Click to expand</summary>
202
+
203
+ - `overwrite_output_dir`: False
204
+ - `do_predict`: False
205
+ - `eval_strategy`: no
206
+ - `prediction_loss_only`: True
207
+ - `per_device_train_batch_size`: 32
208
+ - `per_device_eval_batch_size`: 32
209
+ - `per_gpu_train_batch_size`: None
210
+ - `per_gpu_eval_batch_size`: None
211
+ - `gradient_accumulation_steps`: 1
212
+ - `eval_accumulation_steps`: None
213
+ - `torch_empty_cache_steps`: None
214
+ - `learning_rate`: 5e-05
215
+ - `weight_decay`: 0.0
216
+ - `adam_beta1`: 0.9
217
+ - `adam_beta2`: 0.999
218
+ - `adam_epsilon`: 1e-08
219
+ - `max_grad_norm`: 1
220
+ - `num_train_epochs`: 1
221
+ - `max_steps`: 50
222
+ - `lr_scheduler_type`: linear
223
+ - `lr_scheduler_kwargs`: None
224
+ - `warmup_ratio`: 0.0
225
+ - `warmup_steps`: 0
226
+ - `log_level`: passive
227
+ - `log_level_replica`: warning
228
+ - `log_on_each_node`: True
229
+ - `logging_nan_inf_filter`: True
230
+ - `save_safetensors`: True
231
+ - `save_on_each_node`: False
232
+ - `save_only_model`: False
233
+ - `restore_callback_states_from_checkpoint`: False
234
+ - `no_cuda`: False
235
+ - `use_cpu`: False
236
+ - `use_mps_device`: False
237
+ - `seed`: 42
238
+ - `data_seed`: None
239
+ - `jit_mode_eval`: False
240
+ - `bf16`: False
241
+ - `fp16`: False
242
+ - `fp16_opt_level`: O1
243
+ - `half_precision_backend`: auto
244
+ - `bf16_full_eval`: False
245
+ - `fp16_full_eval`: False
246
+ - `tf32`: None
247
+ - `local_rank`: 0
248
+ - `ddp_backend`: None
249
+ - `tpu_num_cores`: None
250
+ - `tpu_metrics_debug`: False
251
+ - `debug`: []
252
+ - `dataloader_drop_last`: False
253
+ - `dataloader_num_workers`: 0
254
+ - `dataloader_prefetch_factor`: None
255
+ - `past_index`: -1
256
+ - `disable_tqdm`: False
257
+ - `remove_unused_columns`: True
258
+ - `label_names`: None
259
+ - `load_best_model_at_end`: False
260
+ - `ignore_data_skip`: False
261
+ - `fsdp`: []
262
+ - `fsdp_min_num_params`: 0
263
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
264
+ - `fsdp_transformer_layer_cls_to_wrap`: None
265
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
266
+ - `parallelism_config`: None
267
+ - `deepspeed`: None
268
+ - `label_smoothing_factor`: 0.0
269
+ - `optim`: adamw_torch_fused
270
+ - `optim_args`: None
271
+ - `adafactor`: False
272
+ - `group_by_length`: False
273
+ - `length_column_name`: length
274
+ - `project`: huggingface
275
+ - `trackio_space_id`: trackio
276
+ - `ddp_find_unused_parameters`: None
277
+ - `ddp_bucket_cap_mb`: None
278
+ - `ddp_broadcast_buffers`: False
279
+ - `dataloader_pin_memory`: True
280
+ - `dataloader_persistent_workers`: False
281
+ - `skip_memory_metrics`: True
282
+ - `use_legacy_prediction_loop`: False
283
+ - `push_to_hub`: False
284
+ - `resume_from_checkpoint`: None
285
+ - `hub_model_id`: None
286
+ - `hub_strategy`: every_save
287
+ - `hub_private_repo`: None
288
+ - `hub_always_push`: False
289
+ - `hub_revision`: None
290
+ - `gradient_checkpointing`: False
291
+ - `gradient_checkpointing_kwargs`: None
292
+ - `include_inputs_for_metrics`: False
293
+ - `include_for_metrics`: []
294
+ - `eval_do_concat_batches`: True
295
+ - `fp16_backend`: auto
296
+ - `push_to_hub_model_id`: None
297
+ - `push_to_hub_organization`: None
298
+ - `mp_parameters`:
299
+ - `auto_find_batch_size`: False
300
+ - `full_determinism`: False
301
+ - `torchdynamo`: None
302
+ - `ray_scope`: last
303
+ - `ddp_timeout`: 1800
304
+ - `torch_compile`: False
305
+ - `torch_compile_backend`: None
306
+ - `torch_compile_mode`: None
307
+ - `include_tokens_per_second`: False
308
+ - `include_num_input_tokens_seen`: no
309
+ - `neftune_noise_alpha`: None
310
+ - `optim_target_modules`: None
311
+ - `batch_eval_metrics`: False
312
+ - `eval_on_start`: False
313
+ - `use_liger_kernel`: False
314
+ - `liger_kernel_config`: None
315
+ - `eval_use_gather_object`: False
316
+ - `average_tokens_across_devices`: True
317
+ - `prompts`: None
318
+ - `batch_sampler`: batch_sampler
319
+ - `multi_dataset_batch_sampler`: round_robin
320
+ - `router_mapping`: {}
321
+ - `learning_rate_mapping`: {}
322
+
323
+ </details>
324
+
325
+ ### Framework Versions
326
+ - Python: 3.11.14
327
+ - Sentence Transformers: 5.2.0
328
+ - Transformers: 4.57.6
329
+ - PyTorch: 2.10.0+cpu
330
+ - Accelerate: 1.12.0
331
+ - Datasets: 4.5.0
332
+ - Tokenizers: 0.22.2
333
+
334
+ ## Citation
335
+
336
+ ### BibTeX
337
+
338
+ #### Sentence Transformers
339
+ ```bibtex
340
+ @inproceedings{reimers-2019-sentence-bert,
341
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
342
+ author = "Reimers, Nils and Gurevych, Iryna",
343
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
344
+ month = "11",
345
+ year = "2019",
346
+ publisher = "Association for Computational Linguistics",
347
+ url = "https://arxiv.org/abs/1908.10084",
348
+ }
349
+ ```
350
+
351
+ #### MultipleNegativesRankingLoss
352
+ ```bibtex
353
+ @misc{henderson2017efficient,
354
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
355
+ 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},
356
+ year={2017},
357
+ eprint={1705.00652},
358
+ archivePrefix={arXiv},
359
+ primaryClass={cs.CL}
360
+ }
361
+ ```
362
+
363
+ <!--
364
+ ## Glossary
365
+
366
+ *Clearly define terms in order to be accessible across audiences.*
367
+ -->
368
+
369
+ <!--
370
+ ## Model Card Authors
371
+
372
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
373
+ -->
374
+
375
+ <!--
376
+ ## Model Card Contact
377
+
378
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
379
+ -->
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
+ "dtype": "float32",
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
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
+ "transformers_version": "4.57.6",
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.2.0",
5
+ "transformers": "4.57.6",
6
+ "pytorch": "2.10.0+cpu"
7
+ },
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:ba18d4f4a899f497d5e19483f99fcee845b3edcd8bad5d2b09fd5497e00c55ca
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": 256,
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff