ldov commited on
Commit
3e2b580
·
verified ·
1 Parent(s): 4ff5ef8

Copy files from models/ldov/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7

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
+ nli-zero-shot/v3/base/multilingual/tokenizer.json filter=lfs diff=lfs merge=lfs -text
nli-zero-shot/v3/base/multilingual/.gitattributes ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ftz filter=lfs diff=lfs merge=lfs -text
6
+ *.gz filter=lfs diff=lfs merge=lfs -text
7
+ *.h5 filter=lfs diff=lfs merge=lfs -text
8
+ *.joblib filter=lfs diff=lfs merge=lfs -text
9
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
10
+ *.model filter=lfs diff=lfs merge=lfs -text
11
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
12
+ *.npy filter=lfs diff=lfs merge=lfs -text
13
+ *.npz filter=lfs diff=lfs merge=lfs -text
14
+ *.onnx filter=lfs diff=lfs merge=lfs -text
15
+ *.ot filter=lfs diff=lfs merge=lfs -text
16
+ *.parquet filter=lfs diff=lfs merge=lfs -text
17
+ *.pb filter=lfs diff=lfs merge=lfs -text
18
+ *.pickle filter=lfs diff=lfs merge=lfs -text
19
+ *.pkl filter=lfs diff=lfs merge=lfs -text
20
+ *.pt filter=lfs diff=lfs merge=lfs -text
21
+ *.pth filter=lfs diff=lfs merge=lfs -text
22
+ *.rar filter=lfs diff=lfs merge=lfs -text
23
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
24
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
25
+ *.tflite filter=lfs diff=lfs merge=lfs -text
26
+ *.tgz filter=lfs diff=lfs merge=lfs -text
27
+ *.wasm filter=lfs diff=lfs merge=lfs -text
28
+ *.xz filter=lfs diff=lfs merge=lfs -text
29
+ *.zip filter=lfs diff=lfs merge=lfs -text
30
+ *.zst filter=lfs diff=lfs merge=lfs -text
31
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
32
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
33
+ model.safetensors filter=lfs diff=lfs merge=lfs -text
nli-zero-shot/v3/base/multilingual/LICENSE ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
nli-zero-shot/v3/base/multilingual/README.md ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - multilingual
4
+ - zh
5
+ - ja
6
+ - ar
7
+ - ko
8
+ - de
9
+ - fr
10
+ - es
11
+ - pt
12
+ - hi
13
+ - id
14
+ - it
15
+ - tr
16
+ - ru
17
+ - bn
18
+ - ur
19
+ - mr
20
+ - ta
21
+ - vi
22
+ - fa
23
+ - pl
24
+ - uk
25
+ - nl
26
+ - sv
27
+ - he
28
+ - sw
29
+ - ps
30
+ license: mit
31
+ tags:
32
+ - zero-shot-classification
33
+ - text-classification
34
+ - nli
35
+ - pytorch
36
+ datasets:
37
+ - MoritzLaurer/multilingual-NLI-26lang-2mil7
38
+ - xnli
39
+ - multi_nli
40
+ - facebook/anli
41
+ - fever
42
+ - lingnli
43
+ - alisawuffles/WANLI
44
+ metrics:
45
+ - accuracy
46
+ pipeline_tag: zero-shot-classification
47
+ widget:
48
+ - text: Angela Merkel ist eine Politikerin in Deutschland und Vorsitzende der CDU
49
+ candidate_labels: politics, economy, entertainment, environment
50
+ model-index:
51
+ - name: DeBERTa-v3-base-xnli-multilingual-nli-2mil7
52
+ results:
53
+ - task:
54
+ type: text-classification
55
+ name: Natural Language Inference
56
+ dataset:
57
+ name: MultiNLI-matched
58
+ type: multi_nli
59
+ split: validation_matched
60
+ metrics:
61
+ - type: accuracy
62
+ value: 0,857
63
+ verified: false
64
+ - task:
65
+ type: text-classification
66
+ name: Natural Language Inference
67
+ dataset:
68
+ name: MultiNLI-mismatched
69
+ type: multi_nli
70
+ split: validation_mismatched
71
+ metrics:
72
+ - type: accuracy
73
+ value: 0,856
74
+ verified: false
75
+ - task:
76
+ type: text-classification
77
+ name: Natural Language Inference
78
+ dataset:
79
+ name: ANLI-all
80
+ type: anli
81
+ split: test_r1+test_r2+test_r3
82
+ metrics:
83
+ - type: accuracy
84
+ value: 0,537
85
+ verified: false
86
+ - task:
87
+ type: text-classification
88
+ name: Natural Language Inference
89
+ dataset:
90
+ name: ANLI-r3
91
+ type: anli
92
+ split: test_r3
93
+ metrics:
94
+ - type: accuracy
95
+ value: 0,497
96
+ verified: false
97
+ - task:
98
+ type: text-classification
99
+ name: Natural Language Inference
100
+ dataset:
101
+ name: WANLI
102
+ type: alisawuffles/WANLI
103
+ split: test
104
+ metrics:
105
+ - type: accuracy
106
+ value: 0,732
107
+ verified: false
108
+ - task:
109
+ type: text-classification
110
+ name: Natural Language Inference
111
+ dataset:
112
+ name: LingNLI
113
+ type: lingnli
114
+ split: test
115
+ metrics:
116
+ - type: accuracy
117
+ value: 0,788
118
+ verified: false
119
+ - task:
120
+ type: text-classification
121
+ name: Natural Language Inference
122
+ dataset:
123
+ name: fever-nli
124
+ type: fever-nli
125
+ split: test
126
+ metrics:
127
+ - type: accuracy
128
+ value: 0,761
129
+ verified: false
130
+ ---
131
+ # Model card for mDeBERTa-v3-base-xnli-multilingual-nli-2mil7
132
+
133
+ ## Model description
134
+
135
+ This multilingual model can perform natural language inference (NLI) on 100 languages and is therefore also suitable for multilingual zero-shot classification. The underlying mDeBERTa-v3-base model was pre-trained by Microsoft on the [CC100 multilingual dataset](https://huggingface.co/datasets/cc100) with 100 languages. The model was then fine-tuned on the [XNLI dataset](https://huggingface.co/datasets/xnli) and on the [multilingual-NLI-26lang-2mil7 dataset](https://huggingface.co/datasets/MoritzLaurer/multilingual-NLI-26lang-2mil7). Both datasets contain more than 2.7 million hypothesis-premise pairs in 27 languages spoken by more than 4 billion people.
136
+
137
+ As of December 2021, mDeBERTa-v3-base is the best performing multilingual base-sized transformer model introduced by Microsoft in [this paper](https://arxiv.org/pdf/2111.09543.pdf).
138
+
139
+
140
+ ### How to use the model
141
+ #### Simple zero-shot classification pipeline
142
+ ```python
143
+ from transformers import pipeline
144
+ classifier = pipeline("zero-shot-classification", model="MoritzLaurer/mDeBERTa-v3-base-mnli-xnli")
145
+ sequence_to_classify = "Angela Merkel ist eine Politikerin in Deutschland und Vorsitzende der CDU"
146
+ candidate_labels = ["politics", "economy", "entertainment", "environment"]
147
+ output = classifier(sequence_to_classify, candidate_labels, multi_label=False)
148
+ print(output)
149
+ ```
150
+ #### NLI use-case
151
+ ```python
152
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
153
+ import torch
154
+ device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
155
+
156
+ model_name = "MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7"
157
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
158
+ model = AutoModelForSequenceClassification.from_pretrained(model_name)
159
+
160
+ premise = "Angela Merkel ist eine Politikerin in Deutschland und Vorsitzende der CDU"
161
+ hypothesis = "Emmanuel Macron is the President of France"
162
+
163
+ input = tokenizer(premise, hypothesis, truncation=True, return_tensors="pt")
164
+ output = model(input["input_ids"].to(device)) # device = "cuda:0" or "cpu"
165
+ prediction = torch.softmax(output["logits"][0], -1).tolist()
166
+ label_names = ["entailment", "neutral", "contradiction"]
167
+ prediction = {name: round(float(pred) * 100, 1) for pred, name in zip(prediction, label_names)}
168
+ print(prediction)
169
+ ```
170
+
171
+ ### Training data
172
+ This model was trained on the [multilingual-nli-26lang-2mil7 dataset](https://huggingface.co/datasets/MoritzLaurer/multilingual-NLI-26lang-2mil7) and the [XNLI](https://huggingface.co/datasets/xnli) validation dataset.
173
+
174
+ The multilingual-nli-26lang-2mil7 dataset contains 2 730 000 NLI hypothesis-premise pairs in 26 languages spoken by more than 4 billion people. The dataset contains 105 000 text pairs per language. It is based on the English datasets [MultiNLI](https://huggingface.co/datasets/multi_nli), [Fever-NLI](https://github.com/easonnie/combine-FEVER-NSMN/blob/master/other_resources/nli_fever.md), [ANLI](https://huggingface.co/datasets/anli), [LingNLI](https://arxiv.org/pdf/2104.07179.pdf) and [WANLI](https://huggingface.co/datasets/alisawuffles/WANLI) and was created using the latest open-source machine translation models. The languages in the dataset are: ['ar', 'bn', 'de', 'es', 'fa', 'fr', 'he', 'hi', 'id', 'it', 'ja', 'ko', 'mr', 'nl', 'pl', 'ps', 'pt', 'ru', 'sv', 'sw', 'ta', 'tr', 'uk', 'ur', 'vi', 'zh'] (see [ISO language codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes). For more details, see the [datasheet](XXX). In addition, a sample of 105 000 text pairs was also added for English following the same sampling method as the other languages, leading to 27 languages.
175
+
176
+ Moreover, for each language a random set of 10% of the hypothesis-premise pairs was added where an English hypothesis was paired with the premise in the other language (and the same for English premises and other language hypotheses). This mix of languages in the text pairs should enable users to formulate a hypothesis in English for a target text in another language.
177
+
178
+ The [XNLI](https://huggingface.co/datasets/xnli) validation set consists of 2490 professionally translated texts from English to 14 other languages (37350 texts in total) (see [this paper](https://arxiv.org/pdf/1809.05053.pdf)). Note that XNLI also contains a training set of 14 machine translated versions of the MultiNLI dataset for 14 languages, but this data was excluded due to quality issues with the machine translations from 2018.
179
+
180
+ Note that for evaluation purposes, three languages were excluded from the XNLI training data and only included in the test data: ["bg","el","th"]. This was done in order to test the performance of the model on languages it has not seen during NLI fine-tuning on 27 languages, but only during pre-training on 100 languages - see evaluation metrics below.
181
+
182
+ The total training dataset had a size of 3 287 280 hypothesis-premise pairs.
183
+
184
+
185
+ ### Training procedure
186
+ mDeBERTa-v3-base-mnli-xnli was trained using the Hugging Face trainer with the following hyperparameters.
187
+
188
+ ```
189
+ training_args = TrainingArguments(
190
+ num_train_epochs=3, # total number of training epochs
191
+ learning_rate=2e-05,
192
+ per_device_train_batch_size=32, # batch size per device during training
193
+ gradient_accumulation_steps=2, # to double the effective batch size for
194
+ warmup_ratio=0.06, # number of warmup steps for learning rate scheduler
195
+ weight_decay=0.01, # strength of weight decay
196
+ fp16=False
197
+ )
198
+ ```
199
+
200
+ ### Eval results
201
+ The model was evaluated on the XNLI test set in 15 languages (5010 texts per language, 75150 in total) and the English test sets of [MultiNLI](https://huggingface.co/datasets/multi_nli), [Fever-NLI](https://github.com/easonnie/combine-FEVER-NSMN/blob/master/other_resources/nli_fever.md), [ANLI](https://huggingface.co/datasets/anli), [LingNLI](https://arxiv.org/pdf/2104.07179.pdf) and [WANLI](https://huggingface.co/datasets/alisawuffles/WANLI) . Note that multilingual NLI models are capable of classifying NLI texts without receiving NLI training data in the specific language (cross-lingual transfer). This means that the model is also able to do NLI on the other 73 languages mDeBERTa was pre-trained on, but performance is most likely lower than for those languages seen during NLI fine-tuning. The performance on the languages ["bg","el","th"] in the table below is a good indicated of this cross-lingual transfer, as these languages were not included in the training data.
202
+
203
+ |XNLI subsets|ar|bg|de|el|en|es|fr|hi|ru|sw|th|tr|ur|vi|zh|
204
+ | :---: |:---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
205
+ |Accuracy|0.794|0.822|0.824|0.809|0.871|0.832|0.823|0.769|0.803|0.746|0.786|0.792|0.744|0.793|0.803|
206
+ |Speed (text/sec, A100-GPU)|1344.0|1355.0|1472.0|1149.0|1697.0|1446.0|1278.0|1115.0|1380.0|1463.0|1713.0|1594.0|1189.0|877.0|1887.0|
207
+
208
+ |English Datasets|mnli_test_m|mnli_test_mm|anli_test|anli_test_r3|fever_test|ling_test|wanli_test|
209
+ | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
210
+ |Accuracy|0.857|0.856|0.537|0.497|0.761|0.788|0.732|0.794|
211
+ |Speed (text/sec, A100-GPU)|1000.0|1009.0|794.0|672.0|374.0|1177.0|1468.0|
212
+
213
+
214
+ Also note that if other multilingual models on the model hub claim performance of around 90% on languages other than English, the authors have most likely made a mistake during testing since non of the latest papers shows a multilingual average performance of more than a few points above 80% on XNLI (see [here](https://arxiv.org/pdf/2111.09543.pdf) or [here](https://arxiv.org/pdf/1911.02116.pdf)).
215
+
216
+
217
+ ## Limitations and bias
218
+ Please consult the original DeBERTa-V3 paper and literature on different NLI datasets for potential biases. Moreover, note that the multilingual-nli-26lang-2mil7 dataset was created using machine translation, which reduces the quality of the data for a complex task like NLI. You can inspect the data via the Hugging Face [dataset viewer](https://huggingface.co/datasets/MoritzLaurer/multilingual-NLI-26lang-2mil7) for languages you are interested in. Note that grammatical errors introduced by machine translation are less of an issue for zero-shot classification, for which grammar is less important.
219
+
220
+
221
+ ## Citation
222
+
223
+ If the dataset is useful for you, please cite the following article:
224
+ ```
225
+ @article{laurer_less_2022,
226
+ title = {Less {Annotating}, {More} {Classifying} – {Addressing} the {Data} {Scarcity} {Issue} of {Supervised} {Machine} {Learning} with {Deep} {Transfer} {Learning} and {BERT} - {NLI}},
227
+ url = {https://osf.io/74b8k},
228
+ language = {en-us},
229
+ urldate = {2022-07-28},
230
+ journal = {Preprint},
231
+ author = {Laurer, Moritz and Atteveldt, Wouter van and Casas, Andreu Salleras and Welbers, Kasper},
232
+ month = jun,
233
+ year = {2022},
234
+ note = {Publisher: Open Science Framework},
235
+ }
236
+ ```
237
+
238
+
239
+ ## Ideas for cooperation or questions?
240
+ For updates on new models and datasets, follow me on [Twitter](https://twitter.com/MoritzLaurer).
241
+ If you have questions or ideas for cooperation, contact me at m{dot}laurer{at}vu{dot}nl or on [LinkedIn](https://www.linkedin.com/in/moritz-laurer/)
242
+
243
+
244
+ ## Debugging and issues
245
+ Note that DeBERTa-v3 was released in late 2021 and older versions of HF Transformers seem to have issues running the model (e.g. resulting in an issue with the tokenizer). Using Transformers==4.13 or higher might solve some issues. Note that mDeBERTa currently does not support FP16, see here: https://github.com/microsoft/DeBERTa/issues/77
246
+
247
+
248
+
nli-zero-shot/v3/base/multilingual/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[MASK]": 250101
3
+ }
nli-zero-shot/v3/base/multilingual/config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./nli-scratch/best-multilingual-26lang-2mil7/best-multilingual-nli",
3
+ "architectures": [
4
+ "DebertaV2ForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "entailment",
12
+ "1": "neutral",
13
+ "2": "contradiction"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "contradiction": 2,
19
+ "entailment": 0,
20
+ "neutral": 1
21
+ },
22
+ "layer_norm_eps": 1e-07,
23
+ "max_position_embeddings": 512,
24
+ "max_relative_positions": -1,
25
+ "model_type": "deberta-v2",
26
+ "norm_rel_ebd": "layer_norm",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "pooler_dropout": 0,
31
+ "pooler_hidden_act": "gelu",
32
+ "pooler_hidden_size": 768,
33
+ "pos_att_type": [
34
+ "p2c",
35
+ "c2p"
36
+ ],
37
+ "position_biased_input": false,
38
+ "position_buckets": 256,
39
+ "relative_attention": true,
40
+ "share_att_key": true,
41
+ "torch_dtype": "float16",
42
+ "transformers_version": "4.21.0",
43
+ "type_vocab_size": 0,
44
+ "vocab_size": 251000
45
+ }
nli-zero-shot/v3/base/multilingual/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c8e29f1115986d032e92b0fbaa0bdef1062a46f658b08705f237c05014a8541
3
+ size 557652046
nli-zero-shot/v3/base/multilingual/onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9238a33e07411eae1d1cef1d5f22e5f556717ce586c827581bb59598a45fe37
3
+ size 1116115065
nli-zero-shot/v3/base/multilingual/onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18307c3bcb5d896a624c077af061b259d341829f3d13c8b3d49a044e28d4fe6a
3
+ size 338679133
nli-zero-shot/v3/base/multilingual/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2945aa0e24a64a42ee8acac1f1e6656087bf1586c45d47a695199e90862046f6
3
+ size 557692715
nli-zero-shot/v3/base/multilingual/special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": "[UNK]"
9
+ }
nli-zero-shot/v3/base/multilingual/spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13c8d666d62a7bc4ac8f040aab68e942c861f93303156cc28f5c7e885d86d6e3
3
+ size 4305025
nli-zero-shot/v3/base/multilingual/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e23095eb61ba944c7be3a5d3e8ec19e37ce7ced0daa03550bde03e83c21b3f8a
3
+ size 16316151
nli-zero-shot/v3/base/multilingual/tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "eos_token": "[SEP]",
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "name_or_path": "./nli-scratch/best-multilingual-26lang-2mil7/best-multilingual-nli",
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "sp_model_kwargs": {},
12
+ "special_tokens_map_file": null,
13
+ "split_by_punct": false,
14
+ "tokenizer_class": "DebertaV2Tokenizer",
15
+ "unk_token": "[UNK]",
16
+ "vocab_type": "spm"
17
+ }