Publish Multilingual E5 Base for EIDORA Model Zoo
Browse files- .gitattributes +1 -0
- LICENSE +21 -0
- README.md +244 -0
- config.yaml +70 -0
- model.onnx +3 -0
- tokenizer/special_tokens_map.json +15 -0
- tokenizer/tokenizer.json +3 -0
- tokenizer/tokenizer_config.json +19 -0
.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/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The MIT License (MIT)
|
| 2 |
+
|
| 3 |
+
Copyright (c) Microsoft Corporation
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
README.md
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: onnx
|
| 3 |
+
pipeline_tag: feature-extraction
|
| 4 |
+
license: mit
|
| 5 |
+
base_model: intfloat/multilingual-e5-base
|
| 6 |
+
tags:
|
| 7 |
+
- eidora
|
| 8 |
+
- eidora-model-zoo
|
| 9 |
+
- onnx
|
| 10 |
+
- onnxruntime
|
| 11 |
+
- text
|
| 12 |
+
- multilingual
|
| 13 |
+
- embeddings
|
| 14 |
+
- e5
|
| 15 |
+
- modality:text
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Multilingual_E5_Base
|
| 19 |
+
|
| 20 |
+
Multilingual_E5_Base is a multilingual text-embedding model
|
| 21 |
+
adapted for the EIDORA Model Zoo.
|
| 22 |
+
|
| 23 |
+
It uses the original multilingual E5 Base encoder with
|
| 24 |
+
attention-mask-aware mean pooling and L2 normalization
|
| 25 |
+
inside the ONNX graph.
|
| 26 |
+
|
| 27 |
+
Each text produces a 768-dimensional embedding.
|
| 28 |
+
|
| 29 |
+
## Training Data and Checkpoint Provenance
|
| 30 |
+
|
| 31 |
+
**Original checkpoint:** `intfloat/multilingual-e5-base`
|
| 32 |
+
|
| 33 |
+
**Pinned revision:** `d128750597153bb5987e10b1c3493a34e5a4502a`
|
| 34 |
+
|
| 35 |
+
The original multilingual E5 models were developed
|
| 36 |
+
using contrastive pretraining on multilingual text pairs,
|
| 37 |
+
followed by supervised fine-tuning.
|
| 38 |
+
|
| 39 |
+
The base architecture uses XLM-RoBERTa.
|
| 40 |
+
|
| 41 |
+
This ONNX package uses the pinned upstream model weights
|
| 42 |
+
without additional training or fine-tuning.
|
| 43 |
+
|
| 44 |
+
The adaptation adds mean pooling and L2 normalization
|
| 45 |
+
to the exported inference graph.
|
| 46 |
+
|
| 47 |
+
Upstream checkpoint:
|
| 48 |
+
https://huggingface.co/intfloat/multilingual-e5-base
|
| 49 |
+
|
| 50 |
+
## Model Overview
|
| 51 |
+
|
| 52 |
+
| Property | Specification |
|
| 53 |
+
| --- | --- |
|
| 54 |
+
| Model | Multilingual_E5_Base |
|
| 55 |
+
| Architecture | XLM-RoBERTa / multilingual E5 |
|
| 56 |
+
| Modality | Text |
|
| 57 |
+
| Embedding dimensions | 768 |
|
| 58 |
+
| Maximum sequence length | 512 tokens |
|
| 59 |
+
| Pooling | Attention-mask-aware mean |
|
| 60 |
+
| Normalization | L2 |
|
| 61 |
+
| Similarity | Cosine |
|
| 62 |
+
| ONNX opset | 17 |
|
| 63 |
+
| License | MIT |
|
| 64 |
+
|
| 65 |
+
The model produces one normalized vector per input text.
|
| 66 |
+
|
| 67 |
+
## EIDORA Use and Supported Modalities
|
| 68 |
+
|
| 69 |
+
**Supported modality: Text**
|
| 70 |
+
|
| 71 |
+
The model can represent text in many languages,
|
| 72 |
+
including Russian, English and German.
|
| 73 |
+
|
| 74 |
+
Potential applications include multilingual retrieval,
|
| 75 |
+
semantic comparison, passage clustering and
|
| 76 |
+
exploratory analysis of transcripts and translations.
|
| 77 |
+
|
| 78 |
+
For retrieval, the upstream E5 model uses the following
|
| 79 |
+
input conventions:
|
| 80 |
+
|
| 81 |
+
- Queries: `query: historical newsreels`
|
| 82 |
+
- Documents: `passage: Soviet documentary footage`
|
| 83 |
+
|
| 84 |
+
For symmetric semantic-similarity tasks, the upstream
|
| 85 |
+
authors recommend the `query:` prefix.
|
| 86 |
+
|
| 87 |
+
EIDORA does not automatically add either prefix.
|
| 88 |
+
The user must include the appropriate prefix in the text.
|
| 89 |
+
|
| 90 |
+
The model does not accept images, video or audio.
|
| 91 |
+
|
| 92 |
+
## Input and Preprocessing
|
| 93 |
+
|
| 94 |
+
EIDORA uses the original XLM-RoBERTa tokenizer
|
| 95 |
+
included in this package.
|
| 96 |
+
|
| 97 |
+
The native text preparer applies:
|
| 98 |
+
|
| 99 |
+
- Maximum length: 512 tokens
|
| 100 |
+
- Right padding
|
| 101 |
+
- Right truncation
|
| 102 |
+
- Special tokens enabled
|
| 103 |
+
- No automatic prefix or suffix
|
| 104 |
+
|
| 105 |
+
The ONNX inputs are:
|
| 106 |
+
|
| 107 |
+
input_ids: int64 [batch, sequence]
|
| 108 |
+
attention_mask: int64 [batch, sequence]
|
| 109 |
+
|
| 110 |
+
Although the ONNX graph supports dynamic sequence
|
| 111 |
+
lengths, EIDORA's packaged preparer supplies
|
| 112 |
+
512-token padded or truncated tensors.
|
| 113 |
+
|
| 114 |
+
The tokenizer is stored in `tokenizer/`.
|
| 115 |
+
|
| 116 |
+
The preprocessing contract is defined in `config.yaml`.
|
| 117 |
+
|
| 118 |
+
## Output Embeddings
|
| 119 |
+
|
| 120 |
+
The ONNX output is:
|
| 121 |
+
|
| 122 |
+
embedding: float32 [batch, 768]
|
| 123 |
+
|
| 124 |
+
Token embeddings are pooled using an attention mask
|
| 125 |
+
so padded positions are excluded.
|
| 126 |
+
|
| 127 |
+
The pooled vector is L2-normalized inside the
|
| 128 |
+
ONNX graph.
|
| 129 |
+
|
| 130 |
+
Cosine similarity can be used to compare embeddings.
|
| 131 |
+
|
| 132 |
+
These outputs are text representations, not
|
| 133 |
+
sentiment scores or emotion predictions.
|
| 134 |
+
|
| 135 |
+
## Runtime and Compatibility
|
| 136 |
+
|
| 137 |
+
**Configuration schema:** EIDORA v3
|
| 138 |
+
|
| 139 |
+
**Minimum EIDORA version:** 0.2.6
|
| 140 |
+
|
| 141 |
+
**ONNX opset:** 17
|
| 142 |
+
|
| 143 |
+
Declared execution providers:
|
| 144 |
+
|
| 145 |
+
- CUDAExecutionProvider
|
| 146 |
+
- CPUExecutionProvider
|
| 147 |
+
|
| 148 |
+
The ONNX graph supports dynamic batch and sequence
|
| 149 |
+
dimensions. EIDORA's default preparation produces
|
| 150 |
+
512-token inputs.
|
| 151 |
+
|
| 152 |
+
The tokenizer, ONNX graph and runtime specification
|
| 153 |
+
are distributed together.
|
| 154 |
+
|
| 155 |
+
Provider availability depends on the installed
|
| 156 |
+
ONNX Runtime environment and hardware.
|
| 157 |
+
|
| 158 |
+
CoreML is not declared in this release.
|
| 159 |
+
|
| 160 |
+
## Limitations
|
| 161 |
+
|
| 162 |
+
- Input sequences are limited to 512 tokens by EIDORA's
|
| 163 |
+
default preparation configuration.
|
| 164 |
+
- Longer documents require segmentation.
|
| 165 |
+
- The `query:` and `passage:` conventions matter
|
| 166 |
+
for retrieval tasks.
|
| 167 |
+
- Performance may vary between languages and domains.
|
| 168 |
+
- Similarity values should be interpreted in the
|
| 169 |
+
context of the task and dataset.
|
| 170 |
+
- The model was not specifically fine-tuned for
|
| 171 |
+
historical newsreels or emotion recognition.
|
| 172 |
+
- Translation and transcription errors can affect
|
| 173 |
+
the resulting embeddings.
|
| 174 |
+
|
| 175 |
+
Users should evaluate the model on their intended
|
| 176 |
+
research collections.
|
| 177 |
+
|
| 178 |
+
## Research Context and References
|
| 179 |
+
|
| 180 |
+
The multilingual E5 models were introduced in:
|
| 181 |
+
|
| 182 |
+
Wang, L., Yang, N., Huang, X., Yang, L.,
|
| 183 |
+
Majumder, R., and Wei, F. (2024).
|
| 184 |
+
|
| 185 |
+
*Multilingual E5 Text Embeddings: A Technical Report.*
|
| 186 |
+
|
| 187 |
+
https://arxiv.org/abs/2402.05672
|
| 188 |
+
|
| 189 |
+
Original model:
|
| 190 |
+
https://huggingface.co/intfloat/multilingual-e5-base
|
| 191 |
+
|
| 192 |
+
Original E5 project:
|
| 193 |
+
https://github.com/microsoft/unilm/tree/master/e5
|
| 194 |
+
|
| 195 |
+
Multilingual embeddings may support cross-language
|
| 196 |
+
comparison of documents, subtitles, transcripts
|
| 197 |
+
and other textual research materials.
|
| 198 |
+
|
| 199 |
+
## License and Attribution
|
| 200 |
+
|
| 201 |
+
**License: MIT**
|
| 202 |
+
|
| 203 |
+
The original multilingual E5 checkpoint is
|
| 204 |
+
published under the MIT license.
|
| 205 |
+
|
| 206 |
+
The included `LICENSE` is taken from the
|
| 207 |
+
Microsoft UniLM repository and retains
|
| 208 |
+
Microsoft's copyright notice.
|
| 209 |
+
|
| 210 |
+
Upstream license:
|
| 211 |
+
https://github.com/microsoft/unilm/blob/master/LICENSE
|
| 212 |
+
|
| 213 |
+
EIDORA provides the ONNX conversion and runtime
|
| 214 |
+
adaptation, not the original model architecture
|
| 215 |
+
or training data.
|
| 216 |
+
|
| 217 |
+
## Package Information
|
| 218 |
+
|
| 219 |
+
**Model:** `Multilingual_E5_Base`
|
| 220 |
+
|
| 221 |
+
**Package version:** `1.0.0`
|
| 222 |
+
|
| 223 |
+
**Minimum EIDORA version:** `0.2.6`
|
| 224 |
+
|
| 225 |
+
**Modality:** Text
|
| 226 |
+
|
| 227 |
+
**Embedding dimensions:** 768
|
| 228 |
+
|
| 229 |
+
**ONNX SHA-256:**
|
| 230 |
+
|
| 231 |
+
`906e235cae965554518d92c08793083acb9a531f6566aa081319db0181aba68b`
|
| 232 |
+
|
| 233 |
+
Package files:
|
| 234 |
+
|
| 235 |
+
- `model.onnx` — ONNX embedding graph
|
| 236 |
+
- `config.yaml` — EIDORA runtime contract
|
| 237 |
+
- `README.md` — Public model card
|
| 238 |
+
- `LICENSE` — MIT license
|
| 239 |
+
- `tokenizer/tokenizer.json` — Tokenizer definition
|
| 240 |
+
- `tokenizer/tokenizer_config.json` — Tokenizer settings
|
| 241 |
+
- `tokenizer/special_tokens_map.json` — Special tokens
|
| 242 |
+
|
| 243 |
+
The package excludes internal scripts,
|
| 244 |
+
fixtures, test media and validation reports.
|
config.yaml
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version: 3
|
| 2 |
+
id: eidora/text-multilingual-e5-base
|
| 3 |
+
name: Multilingual_E5_Base
|
| 4 |
+
version: 1.0.0
|
| 5 |
+
modality: text
|
| 6 |
+
license: mit
|
| 7 |
+
bibtex: "@misc{wang2024multilinguale5,\n title={Multilingual E5 Text Embeddings:\
|
| 8 |
+
\ A Technical Report},\n author={Liang Wang and Nan Yang and Xiaolong Huang and\
|
| 9 |
+
\ Linjun Yang and Rangan Majumder and Furu Wei},\n year={2024},\n eprint={2402.05672},\n\
|
| 10 |
+
\ archivePrefix={arXiv}\n}"
|
| 11 |
+
compatibility:
|
| 12 |
+
min_eidora_version: 0.2.6
|
| 13 |
+
artifacts:
|
| 14 |
+
- path: model.onnx
|
| 15 |
+
sha256: 906e235cae965554518d92c08793083acb9a531f6566aa081319db0181aba68b
|
| 16 |
+
role: graph
|
| 17 |
+
- path: tokenizer/tokenizer.json
|
| 18 |
+
sha256: 62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626
|
| 19 |
+
role: asset
|
| 20 |
+
- path: tokenizer/tokenizer_config.json
|
| 21 |
+
sha256: efb5c0d09722e5fe59a462cd2a9976ee216d55b037597d997cd3fe833216da15
|
| 22 |
+
role: asset
|
| 23 |
+
- path: tokenizer/special_tokens_map.json
|
| 24 |
+
sha256: 06e405a36dfe4b9604f484f6a1e619af1a7f7d09e34a8555eb0b77b66318067f
|
| 25 |
+
role: asset
|
| 26 |
+
runtime:
|
| 27 |
+
graph: model.onnx
|
| 28 |
+
inputs:
|
| 29 |
+
- name: input_ids
|
| 30 |
+
source: token_ids
|
| 31 |
+
dtype: int64
|
| 32 |
+
shape:
|
| 33 |
+
- batch
|
| 34 |
+
- 512
|
| 35 |
+
- name: attention_mask
|
| 36 |
+
source: attention_mask
|
| 37 |
+
dtype: int64
|
| 38 |
+
shape:
|
| 39 |
+
- batch
|
| 40 |
+
- 512
|
| 41 |
+
output:
|
| 42 |
+
name: embedding
|
| 43 |
+
dtype: float32
|
| 44 |
+
shape:
|
| 45 |
+
- batch
|
| 46 |
+
- 768
|
| 47 |
+
execution_providers:
|
| 48 |
+
- CUDAExecutionProvider
|
| 49 |
+
- CPUExecutionProvider
|
| 50 |
+
preparation:
|
| 51 |
+
tokenizer_path: tokenizer
|
| 52 |
+
max_length: 512
|
| 53 |
+
padding_side: right
|
| 54 |
+
truncation_side: right
|
| 55 |
+
add_special_tokens: true
|
| 56 |
+
prefix: ''
|
| 57 |
+
suffix: ''
|
| 58 |
+
parameters:
|
| 59 |
+
truncation_side:
|
| 60 |
+
default: right
|
| 61 |
+
embedding:
|
| 62 |
+
dimensions: 768
|
| 63 |
+
normalized: true
|
| 64 |
+
similarity: cosine
|
| 65 |
+
metadata:
|
| 66 |
+
source_repository: intfloat/multilingual-e5-base
|
| 67 |
+
source_revision: d128750597153bb5987e10b1c3493a34e5a4502a
|
| 68 |
+
architecture: XLM-RoBERTa
|
| 69 |
+
pooling: attention-mask-aware mean pooling
|
| 70 |
+
description: Multilingual E5 Base text embeddings with L2 normalization.
|
model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:906e235cae965554518d92c08793083acb9a531f6566aa081319db0181aba68b
|
| 3 |
+
size 1110073566
|
tokenizer/special_tokens_map.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"cls_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": {
|
| 6 |
+
"content": "<mask>",
|
| 7 |
+
"lstrip": true,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false
|
| 11 |
+
},
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"sep_token": "</s>",
|
| 14 |
+
"unk_token": "<unk>"
|
| 15 |
+
}
|
tokenizer/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626
|
| 3 |
+
size 17082660
|
tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"clean_up_tokenization_spaces": true,
|
| 4 |
+
"cls_token": "<s>",
|
| 5 |
+
"eos_token": "</s>",
|
| 6 |
+
"mask_token": {
|
| 7 |
+
"__type": "AddedToken",
|
| 8 |
+
"content": "<mask>",
|
| 9 |
+
"lstrip": true,
|
| 10 |
+
"normalized": true,
|
| 11 |
+
"rstrip": false,
|
| 12 |
+
"single_word": false
|
| 13 |
+
},
|
| 14 |
+
"model_max_length": 512,
|
| 15 |
+
"pad_token": "<pad>",
|
| 16 |
+
"sep_token": "</s>",
|
| 17 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
| 18 |
+
"unk_token": "<unk>"
|
| 19 |
+
}
|