sukhrobnurali commited on
Commit
dbeb453
·
verified ·
1 Parent(s): 78d7ec2

Add new SentenceTransformer model

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
1_Pooling/config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "embedding_dimension": 384,
3
+ "pooling_mode": "mean",
4
+ "include_prompt": true
5
+ }
README.md ADDED
@@ -0,0 +1,400 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - uz
4
+ - en
5
+ tags:
6
+ - sentence-transformers
7
+ - sentence-similarity
8
+ - feature-extraction
9
+ - generated_from_trainer
10
+ - dataset_size:356278
11
+ - loss:MultipleNegativesRankingLoss
12
+ base_model: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
13
+ widget:
14
+ - source_sentence: Бас, Қуръон ила азоб ваъдамдан қўрққанларни огоҳлантир.
15
+ sentences:
16
+ - If you are prevented from doing so, then make whatever offering you can afford
17
+ and do not shave your heads until the offering has reached the place of sacrifice.
18
+ - Moses said to him, ‘You are indeed clearly perverse!’
19
+ - So keep on reminding through the Qurʼan whoever fears My warning.
20
+ - source_sentence: Булардан олдин Нуҳ қавми ҳам ёлғончи қилган эди. Бас бандамизни
21
+ ёлғончига чиқаришди ва, мажнун, дейишди.
22
+ sentences:
23
+ - Error while moving.
24
+ - Before these, the people of Nooh denied and they belied Our bondman and said,
25
+ “He is a madman” and rebuffed him.
26
+ - On the contrary, they said the same as what the former people used to say.
27
+ - source_sentence: Ва Иброҳимнинг мақомини намозгоҳ тутинг.
28
+ sentences:
29
+ - Storage Size
30
+ - and every builder and diver from the demons,
31
+ - Adopt the place where Abraham stood as a place for prayer.
32
+ - source_sentence: Kodlash usulini tanlash
33
+ sentences:
34
+ - God will bring them together; God is All-knowing and All-aware.
35
+ - Automatic verification
36
+ - Select Charset
37
+ - source_sentence: 'Yangi aloqa@ info: whatsthis'
38
+ sentences:
39
+ - Align Center (Horizontal)
40
+ - Create a new jots page
41
+ - That He may make that which the devil proposeth a temptation for those in whose
42
+ hearts is a disease, and those whose hearts are hardened - Lo! the evil-doers
43
+ are in open schism -
44
+ datasets:
45
+ - sukhrobnurali/uzbek-embedding-pairs
46
+ pipeline_tag: sentence-similarity
47
+ library_name: sentence-transformers
48
+ ---
49
+
50
+ # SentenceTransformer based on sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
51
+
52
+ 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) on the [uzbek-embedding-pairs](https://huggingface.co/datasets/sukhrobnurali/uzbek-embedding-pairs) dataset. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for retrieval.
53
+
54
+ ## Model Details
55
+
56
+ ### Model Description
57
+ - **Model Type:** Sentence Transformer
58
+ - **Base model:** [sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2) <!-- at revision e8f8c211226b894fcb81acc59f3b34ba3efd5f42 -->
59
+ - **Maximum Sequence Length:** 192 tokens
60
+ - **Output Dimensionality:** 384 dimensions
61
+ - **Similarity Function:** Cosine Similarity
62
+ - **Supported Modality:** Text
63
+ - **Training Dataset:**
64
+ - [uzbek-embedding-pairs](https://huggingface.co/datasets/sukhrobnurali/uzbek-embedding-pairs)
65
+ - **Languages:** uz, en
66
+ <!-- - **License:** Unknown -->
67
+
68
+ ### Model Sources
69
+
70
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
71
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
72
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
73
+
74
+ ### Full Model Architecture
75
+
76
+ ```
77
+ SentenceTransformer(
78
+ (0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'BertModel'})
79
+ (1): Pooling({'embedding_dimension': 384, 'pooling_mode': 'mean', 'include_prompt': True})
80
+ )
81
+ ```
82
+
83
+ ## Usage
84
+
85
+ ### Direct Usage (Sentence Transformers)
86
+
87
+ First install the Sentence Transformers library:
88
+
89
+ ```bash
90
+ pip install -U sentence-transformers
91
+ ```
92
+ Then you can load this model and run inference.
93
+ ```python
94
+ from sentence_transformers import SentenceTransformer
95
+
96
+ # Download from the 🤗 Hub
97
+ model = SentenceTransformer("sukhrobnurali/uzbek-minilm")
98
+ # Run inference
99
+ sentences = [
100
+ 'Yangi aloqa@ info: whatsthis',
101
+ 'Create a new jots page',
102
+ 'Align Center (Horizontal)',
103
+ ]
104
+ embeddings = model.encode(sentences)
105
+ print(embeddings.shape)
106
+ # [3, 384]
107
+
108
+ # Get the similarity scores for the embeddings
109
+ similarities = model.similarity(embeddings, embeddings)
110
+ print(similarities)
111
+ # tensor([[1.0000, 0.3137, 0.1726],
112
+ # [0.3137, 1.0000, 0.2216],
113
+ # [0.1726, 0.2216, 1.0000]])
114
+ ```
115
+ <!--
116
+ ### Direct Usage (Transformers)
117
+
118
+ <details><summary>Click to see the direct usage in Transformers</summary>
119
+
120
+ </details>
121
+ -->
122
+
123
+ <!--
124
+ ### Downstream Usage (Sentence Transformers)
125
+
126
+ You can finetune this model on your own dataset.
127
+
128
+ <details><summary>Click to expand</summary>
129
+
130
+ </details>
131
+ -->
132
+
133
+ <!--
134
+ ### Out-of-Scope Use
135
+
136
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
137
+ -->
138
+
139
+ <!--
140
+ ## Bias, Risks and Limitations
141
+
142
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
143
+ -->
144
+
145
+ <!--
146
+ ### Recommendations
147
+
148
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
149
+ -->
150
+
151
+ ## Training Details
152
+
153
+ ### Training Dataset
154
+
155
+ #### uzbek-embedding-pairs
156
+
157
+ * Dataset: [uzbek-embedding-pairs](https://huggingface.co/datasets/sukhrobnurali/uzbek-embedding-pairs) at [311dc5b](https://huggingface.co/datasets/sukhrobnurali/uzbek-embedding-pairs/tree/311dc5b7001061f5e137da714010c362ab206fb2)
158
+ * Size: 356,278 training samples
159
+ * Columns: <code>anchor</code> and <code>positive</code>
160
+ * Approximate statistics based on the first 100 samples:
161
+ | | anchor | positive |
162
+ |:---------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
163
+ | type | string | string |
164
+ | modality | text | text |
165
+ | details | <ul><li>min: 6 tokens</li><li>mean: 34.42 tokens</li><li>max: 96 tokens</li></ul> | <ul><li>min: 4 tokens</li><li>mean: 22.18 tokens</li><li>max: 89 tokens</li></ul> |
166
+ * Samples:
167
+ | anchor | positive |
168
+ |:--------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------|
169
+ | <code>ʼ%sʼ printerda qogʻoz tugadi.</code> | <code>Printer ʼ%sʼ is out of paper.</code> |
170
+ | <code>Яхшилар сифати бўлган ушбу сифатларга такрор-такрор даъват бежиз эмас. Аввало, бу ишларни амалга ошириш осон эмас.</code> | <code>But surely he who bears patiently and is forgiving -- surely that is true constancy.</code> |
171
+ | <code>Obʼektlarni guruhlash</code> | <code>Intersect Paths</code> |
172
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
173
+ ```json
174
+ {
175
+ "scale": 20.0,
176
+ "similarity_fct": "cos_sim",
177
+ "gather_across_devices": false,
178
+ "directions": [
179
+ "query_to_doc"
180
+ ],
181
+ "partition_mode": "joint",
182
+ "hardness_mode": null,
183
+ "hardness_strength": 0.0
184
+ }
185
+ ```
186
+
187
+ ### Training Hyperparameters
188
+ #### Non-Default Hyperparameters
189
+
190
+ - `per_device_train_batch_size`: 192
191
+ - `learning_rate`: 2e-05
192
+ - `num_train_epochs`: 1
193
+ - `warmup_steps`: 0.1
194
+ - `bf16`: True
195
+ - `dataloader_drop_last`: True
196
+ - `batch_sampler`: no_duplicates
197
+
198
+ #### All Hyperparameters
199
+ <details><summary>Click to expand</summary>
200
+
201
+ - `do_predict`: False
202
+ - `prediction_loss_only`: True
203
+ - `per_device_train_batch_size`: 192
204
+ - `per_device_eval_batch_size`: 8
205
+ - `gradient_accumulation_steps`: 1
206
+ - `eval_accumulation_steps`: None
207
+ - `torch_empty_cache_steps`: None
208
+ - `learning_rate`: 2e-05
209
+ - `weight_decay`: 0.0
210
+ - `adam_beta1`: 0.9
211
+ - `adam_beta2`: 0.999
212
+ - `adam_epsilon`: 1e-08
213
+ - `max_grad_norm`: 1.0
214
+ - `num_train_epochs`: 1
215
+ - `max_steps`: -1
216
+ - `lr_scheduler_type`: linear
217
+ - `lr_scheduler_kwargs`: None
218
+ - `warmup_ratio`: None
219
+ - `warmup_steps`: 0.1
220
+ - `log_level`: passive
221
+ - `log_level_replica`: warning
222
+ - `log_on_each_node`: True
223
+ - `logging_nan_inf_filter`: True
224
+ - `enable_jit_checkpoint`: False
225
+ - `save_on_each_node`: False
226
+ - `save_only_model`: False
227
+ - `restore_callback_states_from_checkpoint`: False
228
+ - `use_cpu`: False
229
+ - `seed`: 42
230
+ - `data_seed`: None
231
+ - `bf16`: True
232
+ - `fp16`: False
233
+ - `bf16_full_eval`: False
234
+ - `fp16_full_eval`: False
235
+ - `tf32`: None
236
+ - `local_rank`: -1
237
+ - `ddp_backend`: None
238
+ - `debug`: []
239
+ - `dataloader_drop_last`: True
240
+ - `dataloader_num_workers`: 0
241
+ - `dataloader_prefetch_factor`: None
242
+ - `disable_tqdm`: False
243
+ - `remove_unused_columns`: True
244
+ - `label_names`: None
245
+ - `load_best_model_at_end`: False
246
+ - `ignore_data_skip`: False
247
+ - `fsdp`: []
248
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
249
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
250
+ - `parallelism_config`: None
251
+ - `deepspeed`: None
252
+ - `label_smoothing_factor`: 0.0
253
+ - `optim`: adamw_torch_fused
254
+ - `optim_args`: None
255
+ - `group_by_length`: False
256
+ - `length_column_name`: length
257
+ - `project`: huggingface
258
+ - `trackio_space_id`: trackio
259
+ - `ddp_find_unused_parameters`: None
260
+ - `ddp_bucket_cap_mb`: None
261
+ - `ddp_broadcast_buffers`: False
262
+ - `dataloader_pin_memory`: True
263
+ - `dataloader_persistent_workers`: False
264
+ - `skip_memory_metrics`: True
265
+ - `push_to_hub`: False
266
+ - `resume_from_checkpoint`: None
267
+ - `hub_model_id`: None
268
+ - `hub_strategy`: every_save
269
+ - `hub_private_repo`: None
270
+ - `hub_always_push`: False
271
+ - `hub_revision`: None
272
+ - `gradient_checkpointing`: False
273
+ - `gradient_checkpointing_kwargs`: None
274
+ - `include_for_metrics`: []
275
+ - `eval_do_concat_batches`: True
276
+ - `auto_find_batch_size`: False
277
+ - `full_determinism`: False
278
+ - `ddp_timeout`: 1800
279
+ - `torch_compile`: False
280
+ - `torch_compile_backend`: None
281
+ - `torch_compile_mode`: None
282
+ - `include_num_input_tokens_seen`: no
283
+ - `neftune_noise_alpha`: None
284
+ - `optim_target_modules`: None
285
+ - `batch_eval_metrics`: False
286
+ - `eval_on_start`: False
287
+ - `use_liger_kernel`: False
288
+ - `liger_kernel_config`: None
289
+ - `eval_use_gather_object`: False
290
+ - `average_tokens_across_devices`: True
291
+ - `use_cache`: False
292
+ - `prompts`: None
293
+ - `batch_sampler`: no_duplicates
294
+ - `multi_dataset_batch_sampler`: proportional
295
+ - `router_mapping`: {}
296
+ - `learning_rate_mapping`: {}
297
+
298
+ </details>
299
+
300
+ ### Training Logs
301
+ | Epoch | Step | Training Loss |
302
+ |:------:|:----:|:-------------:|
303
+ | 0.0270 | 50 | 4.5990 |
304
+ | 0.0539 | 100 | 1.8362 |
305
+ | 0.0809 | 150 | 1.2709 |
306
+ | 0.1078 | 200 | 0.9252 |
307
+ | 0.1348 | 250 | 0.7992 |
308
+ | 0.1617 | 300 | 0.7023 |
309
+ | 0.1887 | 350 | 0.6044 |
310
+ | 0.2156 | 400 | 0.5761 |
311
+ | 0.2426 | 450 | 0.5165 |
312
+ | 0.2695 | 500 | 0.4683 |
313
+ | 0.2965 | 550 | 0.4661 |
314
+ | 0.3235 | 600 | 0.4269 |
315
+ | 0.3504 | 650 | 0.4249 |
316
+ | 0.3774 | 700 | 0.4245 |
317
+ | 0.4043 | 750 | 0.3812 |
318
+ | 0.4313 | 800 | 0.3573 |
319
+ | 0.4582 | 850 | 0.3685 |
320
+ | 0.4852 | 900 | 0.3819 |
321
+ | 0.5121 | 950 | 0.3395 |
322
+ | 0.5391 | 1000 | 0.3274 |
323
+ | 0.5660 | 1050 | 0.3380 |
324
+ | 0.5930 | 1100 | 0.3201 |
325
+ | 0.6199 | 1150 | 0.3199 |
326
+ | 0.6469 | 1200 | 0.3272 |
327
+ | 0.6739 | 1250 | 0.3262 |
328
+ | 0.7008 | 1300 | 0.3174 |
329
+ | 0.7278 | 1350 | 0.3222 |
330
+ | 0.7547 | 1400 | 0.3172 |
331
+ | 0.7817 | 1450 | 0.3012 |
332
+ | 0.8086 | 1500 | 0.2922 |
333
+ | 0.8356 | 1550 | 0.2930 |
334
+ | 0.8625 | 1600 | 0.2984 |
335
+ | 0.8895 | 1650 | 0.2983 |
336
+ | 0.9164 | 1700 | 0.2826 |
337
+ | 0.9434 | 1750 | 0.2943 |
338
+ | 0.9704 | 1800 | 0.3059 |
339
+ | 0.9973 | 1850 | 0.2680 |
340
+
341
+
342
+ ### Training Time
343
+ - **Training**: 7.7 minutes
344
+
345
+ ### Framework Versions
346
+ - Python: 3.12.13
347
+ - Sentence Transformers: 5.5.1
348
+ - Transformers: 5.0.0
349
+ - PyTorch: 2.11.0+cu128
350
+ - Accelerate: 1.13.0
351
+ - Datasets: 4.0.0
352
+ - Tokenizers: 0.22.2
353
+
354
+ ## Citation
355
+
356
+ ### BibTeX
357
+
358
+ #### Sentence Transformers
359
+ ```bibtex
360
+ @inproceedings{reimers-2019-sentence-bert,
361
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
362
+ author = "Reimers, Nils and Gurevych, Iryna",
363
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
364
+ month = "11",
365
+ year = "2019",
366
+ publisher = "Association for Computational Linguistics",
367
+ url = "https://arxiv.org/abs/1908.10084",
368
+ }
369
+ ```
370
+
371
+ #### MultipleNegativesRankingLoss
372
+ ```bibtex
373
+ @misc{oord2019representationlearningcontrastivepredictive,
374
+ title={Representation Learning with Contrastive Predictive Coding},
375
+ author={Aaron van den Oord and Yazhe Li and Oriol Vinyals},
376
+ year={2019},
377
+ eprint={1807.03748},
378
+ archivePrefix={arXiv},
379
+ primaryClass={cs.LG},
380
+ url={https://arxiv.org/abs/1807.03748},
381
+ }
382
+ ```
383
+
384
+ <!--
385
+ ## Glossary
386
+
387
+ *Clearly define terms in order to be accessible across audiences.*
388
+ -->
389
+
390
+ <!--
391
+ ## Model Card Authors
392
+
393
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
394
+ -->
395
+
396
+ <!--
397
+ ## Model Card Contact
398
+
399
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
400
+ -->
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 384,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 1536,
17
+ "is_decoder": false,
18
+ "layer_norm_eps": 1e-12,
19
+ "max_position_embeddings": 512,
20
+ "model_type": "bert",
21
+ "num_attention_heads": 12,
22
+ "num_hidden_layers": 12,
23
+ "pad_token_id": 1,
24
+ "position_embedding_type": "absolute",
25
+ "tie_word_embeddings": true,
26
+ "transformers_version": "5.0.0",
27
+ "type_vocab_size": 2,
28
+ "use_cache": false,
29
+ "vocab_size": 250037
30
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "pytorch": "2.11.0+cu128",
4
+ "sentence_transformers": "5.5.1",
5
+ "transformers": "5.0.0"
6
+ },
7
+ "default_prompt_name": null,
8
+ "model_type": "SentenceTransformer",
9
+ "prompts": {
10
+ "document": "",
11
+ "query": ""
12
+ },
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:dfaa57a1ad2d0ed6a85554d2a5e2b7c73186f6432b7e103741460d68469dc619
3
+ size 470637392
modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.base.modules.transformer.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling"
13
+ }
14
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "transformer_task": "feature-extraction",
3
+ "modality_config": {
4
+ "text": {
5
+ "method": "forward",
6
+ "method_output_name": "last_hidden_state"
7
+ }
8
+ },
9
+ "module_output_name": "token_embeddings"
10
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94b6f66edb763a1de9ee0edb887c3c33d2522e18a9fad2199600e485832af325
3
+ size 17082987
tokenizer_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<s>",
4
+ "cls_token": "<s>",
5
+ "do_lower_case": true,
6
+ "eos_token": "</s>",
7
+ "is_local": true,
8
+ "mask_token": "<mask>",
9
+ "max_length": 128,
10
+ "model_max_length": 192,
11
+ "pad_to_multiple_of": null,
12
+ "pad_token": "<pad>",
13
+ "pad_token_type_id": 0,
14
+ "padding_side": "right",
15
+ "sep_token": "</s>",
16
+ "stride": 0,
17
+ "strip_accents": null,
18
+ "tokenize_chinese_chars": true,
19
+ "tokenizer_class": "TokenizersBackend",
20
+ "truncation_side": "right",
21
+ "truncation_strategy": "longest_first",
22
+ "unk_token": "<unk>"
23
+ }