Initial commit
Browse files- .gitattributes +1 -0
- README.md +323 -0
- benchmark_results.txt +21 -0
- benchmark_translations.zip +3 -0
- config.json +45 -0
- pytorch_model.bin +3 -0
- source.spm +3 -0
- special_tokens_map.json +1 -0
- target.spm +3 -0
- tokenizer_config.json +1 -0
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -26,3 +26,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
26 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
27 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
28 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
26 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
27 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
28 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.spm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,323 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- ces+slk
|
4 |
+
- cs
|
5 |
+
- en
|
6 |
+
|
7 |
+
tags:
|
8 |
+
- translation
|
9 |
+
|
10 |
+
license: cc-by-4.0
|
11 |
+
model-index:
|
12 |
+
- name: opus-mt-tc-big-ces_slk-en
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Translation ces-eng
|
16 |
+
type: translation
|
17 |
+
args: ces-eng
|
18 |
+
dataset:
|
19 |
+
name: flores101-devtest
|
20 |
+
type: flores_101
|
21 |
+
args: ces eng devtest
|
22 |
+
metrics:
|
23 |
+
- name: BLEU
|
24 |
+
type: bleu
|
25 |
+
value: 41.2
|
26 |
+
- task:
|
27 |
+
name: Translation slk-eng
|
28 |
+
type: translation
|
29 |
+
args: slk-eng
|
30 |
+
dataset:
|
31 |
+
name: flores101-devtest
|
32 |
+
type: flores_101
|
33 |
+
args: slk eng devtest
|
34 |
+
metrics:
|
35 |
+
- name: BLEU
|
36 |
+
type: bleu
|
37 |
+
value: 40.1
|
38 |
+
- task:
|
39 |
+
name: Translation ces-eng
|
40 |
+
type: translation
|
41 |
+
args: ces-eng
|
42 |
+
dataset:
|
43 |
+
name: multi30k_test_2016_flickr
|
44 |
+
type: multi30k-2016_flickr
|
45 |
+
args: ces-eng
|
46 |
+
metrics:
|
47 |
+
- name: BLEU
|
48 |
+
type: bleu
|
49 |
+
value: 38.6
|
50 |
+
- task:
|
51 |
+
name: Translation ces-eng
|
52 |
+
type: translation
|
53 |
+
args: ces-eng
|
54 |
+
dataset:
|
55 |
+
name: multi30k_test_2018_flickr
|
56 |
+
type: multi30k-2018_flickr
|
57 |
+
args: ces-eng
|
58 |
+
metrics:
|
59 |
+
- name: BLEU
|
60 |
+
type: bleu
|
61 |
+
value: 37.9
|
62 |
+
- task:
|
63 |
+
name: Translation ces-eng
|
64 |
+
type: translation
|
65 |
+
args: ces-eng
|
66 |
+
dataset:
|
67 |
+
name: news-test2008
|
68 |
+
type: news-test2008
|
69 |
+
args: ces-eng
|
70 |
+
metrics:
|
71 |
+
- name: BLEU
|
72 |
+
type: bleu
|
73 |
+
value: 26.2
|
74 |
+
- task:
|
75 |
+
name: Translation ces-eng
|
76 |
+
type: translation
|
77 |
+
args: ces-eng
|
78 |
+
dataset:
|
79 |
+
name: tatoeba-test-v2021-08-07
|
80 |
+
type: tatoeba_mt
|
81 |
+
args: ces-eng
|
82 |
+
metrics:
|
83 |
+
- name: BLEU
|
84 |
+
type: bleu
|
85 |
+
value: 57.7
|
86 |
+
- task:
|
87 |
+
name: Translation ces-eng
|
88 |
+
type: translation
|
89 |
+
args: ces-eng
|
90 |
+
dataset:
|
91 |
+
name: newstest2009
|
92 |
+
type: wmt-2009-news
|
93 |
+
args: ces-eng
|
94 |
+
metrics:
|
95 |
+
- name: BLEU
|
96 |
+
type: bleu
|
97 |
+
value: 28.8
|
98 |
+
- task:
|
99 |
+
name: Translation ces-eng
|
100 |
+
type: translation
|
101 |
+
args: ces-eng
|
102 |
+
dataset:
|
103 |
+
name: newstest2010
|
104 |
+
type: wmt-2010-news
|
105 |
+
args: ces-eng
|
106 |
+
metrics:
|
107 |
+
- name: BLEU
|
108 |
+
type: bleu
|
109 |
+
value: 30.3
|
110 |
+
- task:
|
111 |
+
name: Translation ces-eng
|
112 |
+
type: translation
|
113 |
+
args: ces-eng
|
114 |
+
dataset:
|
115 |
+
name: newstest2011
|
116 |
+
type: wmt-2011-news
|
117 |
+
args: ces-eng
|
118 |
+
metrics:
|
119 |
+
- name: BLEU
|
120 |
+
type: bleu
|
121 |
+
value: 30.3
|
122 |
+
- task:
|
123 |
+
name: Translation ces-eng
|
124 |
+
type: translation
|
125 |
+
args: ces-eng
|
126 |
+
dataset:
|
127 |
+
name: newstest2012
|
128 |
+
type: wmt-2012-news
|
129 |
+
args: ces-eng
|
130 |
+
metrics:
|
131 |
+
- name: BLEU
|
132 |
+
type: bleu
|
133 |
+
value: 29.4
|
134 |
+
- task:
|
135 |
+
name: Translation ces-eng
|
136 |
+
type: translation
|
137 |
+
args: ces-eng
|
138 |
+
dataset:
|
139 |
+
name: newstest2013
|
140 |
+
type: wmt-2013-news
|
141 |
+
args: ces-eng
|
142 |
+
metrics:
|
143 |
+
- name: BLEU
|
144 |
+
type: bleu
|
145 |
+
value: 33.1
|
146 |
+
- task:
|
147 |
+
name: Translation ces-eng
|
148 |
+
type: translation
|
149 |
+
args: ces-eng
|
150 |
+
dataset:
|
151 |
+
name: newstest2014
|
152 |
+
type: wmt-2014-news
|
153 |
+
args: ces-eng
|
154 |
+
metrics:
|
155 |
+
- name: BLEU
|
156 |
+
type: bleu
|
157 |
+
value: 38.3
|
158 |
+
- task:
|
159 |
+
name: Translation ces-eng
|
160 |
+
type: translation
|
161 |
+
args: ces-eng
|
162 |
+
dataset:
|
163 |
+
name: newstest2015
|
164 |
+
type: wmt-2015-news
|
165 |
+
args: ces-eng
|
166 |
+
metrics:
|
167 |
+
- name: BLEU
|
168 |
+
type: bleu
|
169 |
+
value: 33.6
|
170 |
+
- task:
|
171 |
+
name: Translation ces-eng
|
172 |
+
type: translation
|
173 |
+
args: ces-eng
|
174 |
+
dataset:
|
175 |
+
name: newstest2016
|
176 |
+
type: wmt-2016-news
|
177 |
+
args: ces-eng
|
178 |
+
metrics:
|
179 |
+
- name: BLEU
|
180 |
+
type: bleu
|
181 |
+
value: 36.8
|
182 |
+
- task:
|
183 |
+
name: Translation ces-eng
|
184 |
+
type: translation
|
185 |
+
args: ces-eng
|
186 |
+
dataset:
|
187 |
+
name: newstest2017
|
188 |
+
type: wmt-2017-news
|
189 |
+
args: ces-eng
|
190 |
+
metrics:
|
191 |
+
- name: BLEU
|
192 |
+
type: bleu
|
193 |
+
value: 32.3
|
194 |
+
- task:
|
195 |
+
name: Translation ces-eng
|
196 |
+
type: translation
|
197 |
+
args: ces-eng
|
198 |
+
dataset:
|
199 |
+
name: newstest2018
|
200 |
+
type: wmt-2018-news
|
201 |
+
args: ces-eng
|
202 |
+
metrics:
|
203 |
+
- name: BLEU
|
204 |
+
type: bleu
|
205 |
+
value: 33.0
|
206 |
+
---
|
207 |
+
# opus-mt-tc-big-ces_slk-en
|
208 |
+
|
209 |
+
Neural machine translation model for translating from unknown (ces+slk) to English (en).
|
210 |
+
|
211 |
+
This model is part of the [OPUS-MT project](https://github.com/Helsinki-NLP/Opus-MT), an effort to make neural machine translation models widely available and accessible for many languages in the world. All models are originally trained using the amazing framework of [Marian NMT](https://marian-nmt.github.io/), an efficient NMT implementation written in pure C++. The models have been converted to pyTorch using the transformers library by huggingface. Training data is taken from [OPUS](https://opus.nlpl.eu/) and training pipelines use the procedures of [OPUS-MT-train](https://github.com/Helsinki-NLP/Opus-MT-train).
|
212 |
+
|
213 |
+
* Publications: [OPUS-MT – Building open translation services for the World](https://aclanthology.org/2020.eamt-1.61/) and [The Tatoeba Translation Challenge – Realistic Data Sets for Low Resource and Multilingual MT](https://aclanthology.org/2020.wmt-1.139/) (Please, cite if you use this model.)
|
214 |
+
|
215 |
+
```
|
216 |
+
@inproceedings{tiedemann-thottingal-2020-opus,
|
217 |
+
title = "{OPUS}-{MT} {--} Building open translation services for the World",
|
218 |
+
author = {Tiedemann, J{\"o}rg and Thottingal, Santhosh},
|
219 |
+
booktitle = "Proceedings of the 22nd Annual Conference of the European Association for Machine Translation",
|
220 |
+
month = nov,
|
221 |
+
year = "2020",
|
222 |
+
address = "Lisboa, Portugal",
|
223 |
+
publisher = "European Association for Machine Translation",
|
224 |
+
url = "https://aclanthology.org/2020.eamt-1.61",
|
225 |
+
pages = "479--480",
|
226 |
+
}
|
227 |
+
|
228 |
+
@inproceedings{tiedemann-2020-tatoeba,
|
229 |
+
title = "The Tatoeba Translation Challenge {--} Realistic Data Sets for Low Resource and Multilingual {MT}",
|
230 |
+
author = {Tiedemann, J{\"o}rg},
|
231 |
+
booktitle = "Proceedings of the Fifth Conference on Machine Translation",
|
232 |
+
month = nov,
|
233 |
+
year = "2020",
|
234 |
+
address = "Online",
|
235 |
+
publisher = "Association for Computational Linguistics",
|
236 |
+
url = "https://aclanthology.org/2020.wmt-1.139",
|
237 |
+
pages = "1174--1182",
|
238 |
+
}
|
239 |
+
```
|
240 |
+
|
241 |
+
## Model info
|
242 |
+
|
243 |
+
* Release: 2022-03-17
|
244 |
+
* source language(s): ces
|
245 |
+
* target language(s): eng
|
246 |
+
* model: transformer-big
|
247 |
+
* data: opusTCv20210807+bt ([source](https://github.com/Helsinki-NLP/Tatoeba-Challenge))
|
248 |
+
* tokenization: SentencePiece (spm32k,spm32k)
|
249 |
+
* original model: [opusTCv20210807+bt_transformer-big_2022-03-17.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/ces+slk-eng/opusTCv20210807+bt_transformer-big_2022-03-17.zip)
|
250 |
+
* more information released models: [OPUS-MT ces+slk-eng README](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ces+slk-eng/README.md)
|
251 |
+
|
252 |
+
## Usage
|
253 |
+
|
254 |
+
A short example code:
|
255 |
+
|
256 |
+
```python
|
257 |
+
from transformers import MarianMTModel, MarianTokenizer
|
258 |
+
|
259 |
+
src_text = [
|
260 |
+
"Podívej se na své kalhoty! Zapni si je na zip.",
|
261 |
+
"Mrzí mě, že Tom odchází."
|
262 |
+
]
|
263 |
+
|
264 |
+
model_name = "pytorch-models/opus-mt-tc-big-ces_slk-en"
|
265 |
+
tokenizer = MarianTokenizer.from_pretrained(model_name)
|
266 |
+
model = MarianMTModel.from_pretrained(model_name)
|
267 |
+
translated = model.generate(**tokenizer(src_text, return_tensors="pt", padding=True))
|
268 |
+
|
269 |
+
for t in translated:
|
270 |
+
print( tokenizer.decode(t, skip_special_tokens=True) )
|
271 |
+
|
272 |
+
# expected output:
|
273 |
+
# Look at your pants, zip them up.
|
274 |
+
# I'm sorry Tom's leaving.
|
275 |
+
```
|
276 |
+
|
277 |
+
You can also use OPUS-MT models with the transformers pipelines, for example:
|
278 |
+
|
279 |
+
```python
|
280 |
+
from transformers import pipeline
|
281 |
+
pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-tc-big-ces_slk-en")
|
282 |
+
print(pipe("Podívej se na své kalhoty! Zapni si je na zip."))
|
283 |
+
|
284 |
+
# expected output: Look at your pants, zip them up.
|
285 |
+
```
|
286 |
+
|
287 |
+
## Benchmarks
|
288 |
+
|
289 |
+
* test set translations: [opusTCv20210807+bt_transformer-big_2022-03-17.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ces+slk-eng/opusTCv20210807+bt_transformer-big_2022-03-17.test.txt)
|
290 |
+
* test set scores: [opusTCv20210807+bt_transformer-big_2022-03-17.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ces+slk-eng/opusTCv20210807+bt_transformer-big_2022-03-17.eval.txt)
|
291 |
+
* benchmark results: [benchmark_results.txt](benchmark_results.txt)
|
292 |
+
* benchmark output: [benchmark_translations.zip](benchmark_translations.zip)
|
293 |
+
|
294 |
+
| langpair | testset | chr-F | BLEU | #sent | #words |
|
295 |
+
|----------|---------|-------|-------|-------|--------|
|
296 |
+
| ces-eng | tatoeba-test-v2021-08-07 | 0.72120 | 57.7 | 13824 | 105010 |
|
297 |
+
| ces-eng | flores101-devtest | 0.66511 | 41.2 | 1012 | 24721 |
|
298 |
+
| slk-eng | flores101-devtest | 0.66084 | 40.1 | 1012 | 24721 |
|
299 |
+
| ces-eng | multi30k_test_2016_flickr | 0.62216 | 38.6 | 1000 | 12955 |
|
300 |
+
| ces-eng | multi30k_test_2018_flickr | 0.61838 | 37.9 | 1071 | 14689 |
|
301 |
+
| ces-eng | newssyscomb2009 | 0.56380 | 29.9 | 502 | 11818 |
|
302 |
+
| ces-eng | news-test2008 | 0.54071 | 26.2 | 2051 | 49380 |
|
303 |
+
| ces-eng | newstest2009 | 0.55871 | 28.8 | 2525 | 65399 |
|
304 |
+
| ces-eng | newstest2010 | 0.57634 | 30.3 | 2489 | 61711 |
|
305 |
+
| ces-eng | newstest2011 | 0.57002 | 30.3 | 3003 | 74681 |
|
306 |
+
| ces-eng | newstest2012 | 0.56564 | 29.4 | 3003 | 72812 |
|
307 |
+
| ces-eng | newstest2013 | 0.58723 | 33.1 | 3000 | 64505 |
|
308 |
+
| ces-eng | newstest2014 | 0.64192 | 38.3 | 3003 | 68065 |
|
309 |
+
| ces-eng | newstest2015 | 0.58688 | 33.6 | 2656 | 53569 |
|
310 |
+
| ces-eng | newstest2016 | 0.61544 | 36.8 | 2999 | 64670 |
|
311 |
+
| ces-eng | newstest2017 | 0.58085 | 32.3 | 3005 | 61721 |
|
312 |
+
| ces-eng | newstest2018 | 0.58627 | 33.0 | 2983 | 63495 |
|
313 |
+
|
314 |
+
## Acknowledgements
|
315 |
+
|
316 |
+
The work is supported by the [European Language Grid](https://www.european-language-grid.eu/) as [pilot project 2866](https://live.european-language-grid.eu/catalogue/#/resource/projects/2866), by the [FoTran project](https://www.helsinki.fi/en/researchgroups/natural-language-understanding-with-cross-lingual-grounding), funded by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No 771113), and the [MeMAD project](https://memad.eu/), funded by the European Union’s Horizon 2020 Research and Innovation Programme under grant agreement No 780069. We are also grateful for the generous computational resources and IT infrastructure provided by [CSC -- IT Center for Science](https://www.csc.fi/), Finland.
|
317 |
+
|
318 |
+
## Model conversion info
|
319 |
+
|
320 |
+
* transformers version: 4.16.2
|
321 |
+
* OPUS-MT git hash: 3405783
|
322 |
+
* port time: Wed Apr 13 18:42:25 EEST 2022
|
323 |
+
* port machine: LM0-400-22516.local
|
benchmark_results.txt
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
ces-eng flores101-dev 0.65682 40.3 997 23555
|
2 |
+
slk-eng flores101-dev 0.66564 40.5 997 23555
|
3 |
+
ces-eng flores101-devtest 0.66511 41.2 1012 24721
|
4 |
+
slk-eng flores101-devtest 0.66084 40.1 1012 24721
|
5 |
+
ces-eng multi30k_test_2016_flickr 0.62216 38.6 1000 12955
|
6 |
+
ces-eng multi30k_test_2018_flickr 0.61838 37.9 1071 14689
|
7 |
+
ces-eng newssyscomb2009 0.56380 29.9 502 11818
|
8 |
+
ces-eng news-test2008 0.54071 26.2 2051 49380
|
9 |
+
ces-eng newstest2009 0.55871 28.8 2525 65399
|
10 |
+
ces-eng newstest2010 0.57634 30.3 2489 61711
|
11 |
+
ces-eng newstest2011 0.57002 30.3 3003 74681
|
12 |
+
ces-eng newstest2012 0.56564 29.4 3003 72812
|
13 |
+
ces-eng newstest2013 0.58723 33.1 3000 64505
|
14 |
+
ces-eng newstest2014 0.64192 38.3 3003 68065
|
15 |
+
ces-eng newstest2015 0.58688 33.6 2656 53569
|
16 |
+
ces-eng newstest2016 0.61544 36.8 2999 64670
|
17 |
+
ces-eng newstest2017 0.58085 32.3 3005 61721
|
18 |
+
ces-eng newstest2018 0.58627 33.0 2983 63495
|
19 |
+
ces-eng tatoeba-test-v2020-07-28 0.72914 58.7 10000 75376
|
20 |
+
ces-eng tatoeba-test-v2021-03-30 0.72430 58.1 12076 91333
|
21 |
+
ces-eng tatoeba-test-v2021-08-07 0.72120 57.7 13824 105010
|
benchmark_translations.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:219badbde1aff531be2d8fec8be7b0423e7de76b38c0ae0022fc11dbf9d53561
|
3 |
+
size 6159479
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.0,
|
3 |
+
"activation_function": "relu",
|
4 |
+
"architectures": [
|
5 |
+
"MarianMTModel"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bad_words_ids": [
|
9 |
+
[
|
10 |
+
57713
|
11 |
+
]
|
12 |
+
],
|
13 |
+
"bos_token_id": 0,
|
14 |
+
"classifier_dropout": 0.0,
|
15 |
+
"d_model": 1024,
|
16 |
+
"decoder_attention_heads": 16,
|
17 |
+
"decoder_ffn_dim": 4096,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 6,
|
20 |
+
"decoder_start_token_id": 57713,
|
21 |
+
"decoder_vocab_size": 57714,
|
22 |
+
"dropout": 0.1,
|
23 |
+
"encoder_attention_heads": 16,
|
24 |
+
"encoder_ffn_dim": 4096,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 6,
|
27 |
+
"eos_token_id": 42506,
|
28 |
+
"forced_eos_token_id": 42506,
|
29 |
+
"init_std": 0.02,
|
30 |
+
"is_encoder_decoder": true,
|
31 |
+
"max_length": 512,
|
32 |
+
"max_position_embeddings": 1024,
|
33 |
+
"model_type": "marian",
|
34 |
+
"normalize_embedding": false,
|
35 |
+
"num_beams": 4,
|
36 |
+
"num_hidden_layers": 6,
|
37 |
+
"pad_token_id": 57713,
|
38 |
+
"scale_embedding": true,
|
39 |
+
"share_encoder_decoder_embeddings": true,
|
40 |
+
"static_position_embeddings": true,
|
41 |
+
"torch_dtype": "float16",
|
42 |
+
"transformers_version": "4.18.0.dev0",
|
43 |
+
"use_cache": true,
|
44 |
+
"vocab_size": 57714
|
45 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8b2b661c4df5163032e90aeb3e431efe1019615058270a6a251625a60a1ff46
|
3 |
+
size 589318403
|
source.spm
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa297556cf75acf29f51dea0f1c0ef5225d247450e05307fd44dea6ea3185251
|
3 |
+
size 823611
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}
|
target.spm
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1c603a8ddb42de2558898ca8d1ff49eb9549bc15d5922102c9890a2db4108f5
|
3 |
+
size 796116
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"source_lang": "ces+slk", "target_lang": "en", "unk_token": "<unk>", "eos_token": "</s>", "pad_token": "<pad>", "model_max_length": 512, "sp_model_kwargs": {}, "separate_vocabs": false, "special_tokens_map_file": null, "name_or_path": "marian-models/opusTCv20210807+bt_transformer-big_2022-03-17/ces+slk-en", "tokenizer_class": "MarianTokenizer"}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|