sneakyfree commited on
Commit
cb1ce05
·
verified ·
1 Parent(s): 243e45e

upstream-archive byte-perfect snapshot of Helsinki-NLP/opus-mt-tc-big-itc-tr (ADR-039 Phase D)

Browse files
.gitattributes CHANGED
@@ -2,13 +2,11 @@
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
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
  *.ftz filter=lfs diff=lfs merge=lfs -text
7
  *.gz filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
  *.model filter=lfs diff=lfs merge=lfs -text
13
  *.msgpack filter=lfs diff=lfs merge=lfs -text
14
  *.npy filter=lfs diff=lfs merge=lfs -text
@@ -22,10 +20,8 @@
22
  *.pt filter=lfs diff=lfs merge=lfs -text
23
  *.pth filter=lfs diff=lfs merge=lfs -text
24
  *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
  *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
  *.tflite filter=lfs diff=lfs merge=lfs -text
30
  *.tgz filter=lfs diff=lfs merge=lfs -text
31
  *.wasm filter=lfs diff=lfs merge=lfs -text
@@ -33,3 +29,5 @@ 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
 
 
 
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
 
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
 
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
+ *.spm filter=lfs diff=lfs merge=lfs -text
33
+ model.safetensors filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ca
4
+ - es
5
+ - fr
6
+ - gl
7
+ - it
8
+ - oc
9
+ - pt
10
+ - ro
11
+ - tr
12
+
13
+ tags:
14
+ - translation
15
+ - opus-mt-tc
16
+
17
+ license: cc-by-4.0
18
+ model-index:
19
+ - name: opus-mt-tc-big-itc-tr
20
+ results:
21
+ - task:
22
+ name: Translation cat-tur
23
+ type: translation
24
+ args: cat-tur
25
+ dataset:
26
+ name: flores101-devtest
27
+ type: flores_101
28
+ args: cat tur devtest
29
+ metrics:
30
+ - name: BLEU
31
+ type: bleu
32
+ value: 21.7
33
+ - name: chr-F
34
+ type: chrf
35
+ value: 0.54892
36
+ - task:
37
+ name: Translation fra-tur
38
+ type: translation
39
+ args: fra-tur
40
+ dataset:
41
+ name: flores101-devtest
42
+ type: flores_101
43
+ args: fra tur devtest
44
+ metrics:
45
+ - name: BLEU
46
+ type: bleu
47
+ value: 21.7
48
+ - name: chr-F
49
+ type: chrf
50
+ value: 0.55342
51
+ - task:
52
+ name: Translation glg-tur
53
+ type: translation
54
+ args: glg-tur
55
+ dataset:
56
+ name: flores101-devtest
57
+ type: flores_101
58
+ args: glg tur devtest
59
+ metrics:
60
+ - name: BLEU
61
+ type: bleu
62
+ value: 20.6
63
+ - name: chr-F
64
+ type: chrf
65
+ value: 0.53936
66
+ - task:
67
+ name: Translation ita-tur
68
+ type: translation
69
+ args: ita-tur
70
+ dataset:
71
+ name: flores101-devtest
72
+ type: flores_101
73
+ args: ita tur devtest
74
+ metrics:
75
+ - name: BLEU
76
+ type: bleu
77
+ value: 18.4
78
+ - name: chr-F
79
+ type: chrf
80
+ value: 0.52842
81
+ - task:
82
+ name: Translation oci-tur
83
+ type: translation
84
+ args: oci-tur
85
+ dataset:
86
+ name: flores101-devtest
87
+ type: flores_101
88
+ args: oci tur devtest
89
+ metrics:
90
+ - name: BLEU
91
+ type: bleu
92
+ value: 17.6
93
+ - name: chr-F
94
+ type: chrf
95
+ value: 0.50618
96
+ - task:
97
+ name: Translation por-tur
98
+ type: translation
99
+ args: por-tur
100
+ dataset:
101
+ name: flores101-devtest
102
+ type: flores_101
103
+ args: por tur devtest
104
+ metrics:
105
+ - name: BLEU
106
+ type: bleu
107
+ value: 23.5
108
+ - name: chr-F
109
+ type: chrf
110
+ value: 0.56396
111
+ - task:
112
+ name: Translation ron-tur
113
+ type: translation
114
+ args: ron-tur
115
+ dataset:
116
+ name: flores101-devtest
117
+ type: flores_101
118
+ args: ron tur devtest
119
+ metrics:
120
+ - name: BLEU
121
+ type: bleu
122
+ value: 21.5
123
+ - name: chr-F
124
+ type: chrf
125
+ value: 0.55409
126
+ - task:
127
+ name: Translation spa-tur
128
+ type: translation
129
+ args: spa-tur
130
+ dataset:
131
+ name: flores101-devtest
132
+ type: flores_101
133
+ args: spa tur devtest
134
+ metrics:
135
+ - name: BLEU
136
+ type: bleu
137
+ value: 16.5
138
+ - name: chr-F
139
+ type: chrf
140
+ value: 0.51066
141
+ - task:
142
+ name: Translation fra-tur
143
+ type: translation
144
+ args: fra-tur
145
+ dataset:
146
+ name: tatoeba-test-v2021-08-07
147
+ type: tatoeba_mt
148
+ args: fra-tur
149
+ metrics:
150
+ - name: BLEU
151
+ type: bleu
152
+ value: 34.8
153
+ - name: chr-F
154
+ type: chrf
155
+ value: 0.63006
156
+ - task:
157
+ name: Translation ita-tur
158
+ type: translation
159
+ args: ita-tur
160
+ dataset:
161
+ name: tatoeba-test-v2021-08-07
162
+ type: tatoeba_mt
163
+ args: ita-tur
164
+ metrics:
165
+ - name: BLEU
166
+ type: bleu
167
+ value: 34.9
168
+ - name: chr-F
169
+ type: chrf
170
+ value: 0.59991
171
+ - task:
172
+ name: Translation por-tur
173
+ type: translation
174
+ args: por-tur
175
+ dataset:
176
+ name: tatoeba-test-v2021-08-07
177
+ type: tatoeba_mt
178
+ args: por-tur
179
+ metrics:
180
+ - name: BLEU
181
+ type: bleu
182
+ value: 40.1
183
+ - name: chr-F
184
+ type: chrf
185
+ value: 0.67836
186
+ - task:
187
+ name: Translation ron-tur
188
+ type: translation
189
+ args: ron-tur
190
+ dataset:
191
+ name: tatoeba-test-v2021-08-07
192
+ type: tatoeba_mt
193
+ args: ron-tur
194
+ metrics:
195
+ - name: BLEU
196
+ type: bleu
197
+ value: 35.5
198
+ - name: chr-F
199
+ type: chrf
200
+ value: 0.64031
201
+ - task:
202
+ name: Translation spa-tur
203
+ type: translation
204
+ args: spa-tur
205
+ dataset:
206
+ name: tatoeba-test-v2021-08-07
207
+ type: tatoeba_mt
208
+ args: spa-tur
209
+ metrics:
210
+ - name: BLEU
211
+ type: bleu
212
+ value: 45.2
213
+ - name: chr-F
214
+ type: chrf
215
+ value: 0.71524
216
+ ---
217
+ # opus-mt-tc-big-itc-tr
218
+
219
+ ## Table of Contents
220
+ - [Model Details](#model-details)
221
+ - [Uses](#uses)
222
+ - [Risks, Limitations and Biases](#risks-limitations-and-biases)
223
+ - [How to Get Started With the Model](#how-to-get-started-with-the-model)
224
+ - [Training](#training)
225
+ - [Evaluation](#evaluation)
226
+ - [Citation Information](#citation-information)
227
+ - [Acknowledgements](#acknowledgements)
228
+
229
+ ## Model Details
230
+
231
+ Neural machine translation model for translating from Italic languages (itc) to Turkish (tr).
232
+
233
+ 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).
234
+ **Model Description:**
235
+ - **Developed by:** Language Technology Research Group at the University of Helsinki
236
+ - **Model Type:** Translation (transformer-big)
237
+ - **Release**: 2022-07-28
238
+ - **License:** CC-BY-4.0
239
+ - **Language(s):**
240
+ - Source Language(s): cat fra glg ita lad lad_Latn oci por ron spa
241
+ - Target Language(s): tur
242
+ - Language Pair(s): cat-tur fra-tur glg-tur ita-tur oci-tur por-tur ron-tur spa-tur
243
+ - Valid Target Language Labels:
244
+ - **Original Model**: [opusTCv20210807_transformer-big_2022-07-28.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/itc-tur/opusTCv20210807_transformer-big_2022-07-28.zip)
245
+ - **Resources for more information:**
246
+ - [OPUS-MT-train GitHub Repo](https://github.com/Helsinki-NLP/OPUS-MT-train)
247
+ - More information about released models for this language pair: [OPUS-MT itc-tur README](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/itc-tur/README.md)
248
+ - [More information about MarianNMT models in the transformers library](https://huggingface.co/docs/transformers/model_doc/marian)
249
+ - [Tatoeba Translation Challenge](https://github.com/Helsinki-NLP/Tatoeba-Challenge/
250
+
251
+ ## Uses
252
+
253
+ This model can be used for translation and text-to-text generation.
254
+
255
+ ## Risks, Limitations and Biases
256
+
257
+ **CONTENT WARNING: Readers should be aware that the model is trained on various public data sets that may contain content that is disturbing, offensive, and can propagate historical and current stereotypes.**
258
+
259
+ Significant research has explored bias and fairness issues with language models (see, e.g., [Sheng et al. (2021)](https://aclanthology.org/2021.acl-long.330.pdf) and [Bender et al. (2021)](https://dl.acm.org/doi/pdf/10.1145/3442188.3445922)).
260
+
261
+ ## How to Get Started With the Model
262
+
263
+ A short example code:
264
+
265
+ ```python
266
+ from transformers import MarianMTModel, MarianTokenizer
267
+
268
+ src_text = [
269
+ ""Di che nazionalità sono le tue dottoresse?" "Malese."",
270
+ ""Di che nazionalità sono i nostri amici?" "Maltese.""
271
+ ]
272
+
273
+ model_name = "pytorch-models/opus-mt-tc-big-itc-tr"
274
+ tokenizer = MarianTokenizer.from_pretrained(model_name)
275
+ model = MarianMTModel.from_pretrained(model_name)
276
+ translated = model.generate(**tokenizer(src_text, return_tensors="pt", padding=True))
277
+
278
+ for t in translated:
279
+ print( tokenizer.decode(t, skip_special_tokens=True) )
280
+
281
+ # expected output:
282
+ # "Doktorların hangi milletten?" "Malezyalı."
283
+ # "Arkadaşlarımız hangi milletten?" "Maltalı."
284
+ ```
285
+
286
+ You can also use OPUS-MT models with the transformers pipelines, for example:
287
+
288
+ ```python
289
+ from transformers import pipeline
290
+ pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-tc-big-itc-tr")
291
+ print(pipe(""Di che nazionalità sono le tue dottoresse?" "Malese.""))
292
+
293
+ # expected output: "Doktorların hangi milletten?" "Malezyalı."
294
+ ```
295
+
296
+ ## Training
297
+
298
+ - **Data**: opusTCv20210807 ([source](https://github.com/Helsinki-NLP/Tatoeba-Challenge))
299
+ - **Pre-processing**: SentencePiece (spm32k,spm32k)
300
+ - **Model Type:** transformer-big
301
+ - **Original MarianNMT Model**: [opusTCv20210807_transformer-big_2022-07-28.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/itc-tur/opusTCv20210807_transformer-big_2022-07-28.zip)
302
+ - **Training Scripts**: [GitHub Repo](https://github.com/Helsinki-NLP/OPUS-MT-train)
303
+
304
+ ## Evaluation
305
+
306
+ * test set translations: [opusTCv20210807_transformer-big_2022-07-28.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/itc-tur/opusTCv20210807_transformer-big_2022-07-28.test.txt)
307
+ * test set scores: [opusTCv20210807_transformer-big_2022-07-28.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/itc-tur/opusTCv20210807_transformer-big_2022-07-28.eval.txt)
308
+ * benchmark results: [benchmark_results.txt](benchmark_results.txt)
309
+ * benchmark output: [benchmark_translations.zip](benchmark_translations.zip)
310
+
311
+ | langpair | testset | chr-F | BLEU | #sent | #words |
312
+ |----------|---------|-------|-------|-------|--------|
313
+ | fra-tur | tatoeba-test-v2021-08-07 | 0.63006 | 34.8 | 2582 | 14307 |
314
+ | ita-tur | tatoeba-test-v2021-08-07 | 0.59991 | 34.9 | 10000 | 75807 |
315
+ | por-tur | tatoeba-test-v2021-08-07 | 0.67836 | 40.1 | 1794 | 9312 |
316
+ | ron-tur | tatoeba-test-v2021-08-07 | 0.64031 | 35.5 | 2460 | 13788 |
317
+ | spa-tur | tatoeba-test-v2021-08-07 | 0.71524 | 45.2 | 10615 | 56099 |
318
+ | cat-tur | flores101-devtest | 0.54892 | 21.7 | 1012 | 20253 |
319
+ | fra-tur | flores101-devtest | 0.55342 | 21.7 | 1012 | 20253 |
320
+ | glg-tur | flores101-devtest | 0.53936 | 20.6 | 1012 | 20253 |
321
+ | ita-tur | flores101-devtest | 0.52842 | 18.4 | 1012 | 20253 |
322
+ | oci-tur | flores101-devtest | 0.50618 | 17.6 | 1012 | 20253 |
323
+ | por-tur | flores101-devtest | 0.56396 | 23.5 | 1012 | 20253 |
324
+ | ron-tur | flores101-devtest | 0.55409 | 21.5 | 1012 | 20253 |
325
+ | spa-tur | flores101-devtest | 0.51066 | 16.5 | 1012 | 20253 |
326
+
327
+ ## Citation Information
328
+
329
+ * 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.)
330
+
331
+ ```
332
+ @inproceedings{tiedemann-thottingal-2020-opus,
333
+ title = "{OPUS}-{MT} {--} Building open translation services for the World",
334
+ author = {Tiedemann, J{\"o}rg and Thottingal, Santhosh},
335
+ booktitle = "Proceedings of the 22nd Annual Conference of the European Association for Machine Translation",
336
+ month = nov,
337
+ year = "2020",
338
+ address = "Lisboa, Portugal",
339
+ publisher = "European Association for Machine Translation",
340
+ url = "https://aclanthology.org/2020.eamt-1.61",
341
+ pages = "479--480",
342
+ }
343
+
344
+ @inproceedings{tiedemann-2020-tatoeba,
345
+ title = "The Tatoeba Translation Challenge {--} Realistic Data Sets for Low Resource and Multilingual {MT}",
346
+ author = {Tiedemann, J{\"o}rg},
347
+ booktitle = "Proceedings of the Fifth Conference on Machine Translation",
348
+ month = nov,
349
+ year = "2020",
350
+ address = "Online",
351
+ publisher = "Association for Computational Linguistics",
352
+ url = "https://aclanthology.org/2020.wmt-1.139",
353
+ pages = "1174--1182",
354
+ }
355
+ ```
356
+
357
+ ## Acknowledgements
358
+
359
+ 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.
360
+
361
+ ## Model conversion info
362
+
363
+ * transformers version: 4.16.2
364
+ * OPUS-MT git hash: 8b9f0b0
365
+ * port time: Sat Aug 13 00:03:26 EEST 2022
366
+ * port machine: LM0-400-22516.local
benchmark_results.txt ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cat-tur flores101-dev 0.55437 22.1 997 19181
2
+ fra-tur flores101-dev 0.55809 22.1 997 19181
3
+ glg-tur flores101-dev 0.54208 20.0 997 19181
4
+ ita-tur flores101-dev 0.52877 18.4 997 19181
5
+ oci-tur flores101-dev 0.51024 18.2 997 19181
6
+ por-tur flores101-dev 0.57003 23.4 997 19181
7
+ ron-tur flores101-dev 0.55945 22.2 997 19181
8
+ spa-tur flores101-dev 0.51357 16.5 997 19181
9
+ cat-tur flores101-devtest 0.54892 21.7 1012 20253
10
+ fra-tur flores101-devtest 0.55342 21.7 1012 20253
11
+ glg-tur flores101-devtest 0.53936 20.6 1012 20253
12
+ ita-tur flores101-devtest 0.52842 18.4 1012 20253
13
+ oci-tur flores101-devtest 0.50618 17.6 1012 20253
14
+ por-tur flores101-devtest 0.56396 23.5 1012 20253
15
+ ron-tur flores101-devtest 0.55409 21.5 1012 20253
16
+ spa-tur flores101-devtest 0.51066 16.5 1012 20253
17
+ fra-tur tatoeba-test-v2020-07-28 0.62875 34.8 2500 13833
18
+ ron-tur tatoeba-test-v2020-07-28 0.64025 35.5 2464 13804
19
+ spa-tur tatoeba-test-v2020-07-28 0.71895 45.7 10000 52245
20
+ fra-tur tatoeba-test-v2021-03-30 0.62937 34.8 5004 27739
21
+ ron-tur tatoeba-test-v2021-03-30 0.64025 35.5 2464 13804
22
+ spa-tur tatoeba-test-v2021-03-30 0.71838 45.6 10225 53559
23
+ fra-tur tatoeba-test-v2021-08-07 0.63006 34.8 2582 14307
24
+ ita-tur tatoeba-test-v2021-08-07 0.59991 34.9 10000 75807
25
+ por-tur tatoeba-test-v2021-08-07 0.67836 40.1 1794 9312
26
+ ron-tur tatoeba-test-v2021-08-07 0.64031 35.5 2460 13788
27
+ spa-tur tatoeba-test-v2021-08-07 0.71524 45.2 10615 56099
benchmark_translations.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8c8c78cca27532bd411f6639cb4df5f75c759bf4e7d6394e1c7db62b2065377
3
+ size 4453846
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
+ 58544
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": 58544,
21
+ "decoder_vocab_size": 58545,
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": 45913,
28
+ "forced_eos_token_id": 45913,
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": 58544,
38
+ "scale_embedding": true,
39
+ "share_encoder_decoder_embeddings": true,
40
+ "static_position_embeddings": true,
41
+ "torch_dtype": "float16",
42
+ "transformers_version": "4.34.0.dev0",
43
+ "use_cache": true,
44
+ "vocab_size": 58545
45
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 58544
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 58544,
9
+ "eos_token_id": 45913,
10
+ "forced_eos_token_id": 45913,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 58544,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.34.0.dev0"
16
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8529a405fa97fffee48a86e134f494c41f6e72f1bb30ac1e59b372c5be842857
3
+ size 472761530
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80c1b37da84fe3e4822fa5056e7d3e27befc31e71ca613c95d9bb495a876ec14
3
+ size 472818501
source.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ace12b20f025a06c3ef27ee566f2e4f56b900cb4b40bd766a6094dc055933765
3
+ size 802843
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:6eb3375c132c34b473d930533cff67d4f39cdf52405830418956639fbf97fa0e
3
+ size 832675
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e276b09233c960ca9e71692c19e53210ee7409f2ca151d864b7253ec8bf407ec
3
+ size 954374200
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"source_lang": "itc", "target_lang": "tr", "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_transformer-big_2022-07-28/itc-tr", "tokenizer_class": "MarianTokenizer"}
vocab.json ADDED
The diff for this file is too large to render. See raw diff