Commit
·
fa184c6
0
Parent(s):
Duplicate from jbochi/madlad400-3b-mt
Browse filesCo-authored-by: J Bochi <[email protected]>
- .gitattributes +39 -0
- README.md +633 -0
- added_tokens.json +2 -0
- config.json +29 -0
- generation_config.json +7 -0
- model-q2k.gguf +3 -0
- model-q3k.gguf +3 -0
- model-q4k.gguf +3 -0
- model.safetensors +3 -0
- special_tokens_map.json +23 -0
- spiece.model +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +38 -0
.gitattributes
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
*.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
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 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
|
| 32 |
+
*.xz 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
|
| 37 |
+
model-q4k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
model-q2k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
model-q3k.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,633 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 28 |
+
- el
|
| 29 |
+
- "no"
|
| 30 |
+
- bg
|
| 31 |
+
- sk
|
| 32 |
+
- ko
|
| 33 |
+
- ar
|
| 34 |
+
- lt
|
| 35 |
+
- ca
|
| 36 |
+
- sl
|
| 37 |
+
- he
|
| 38 |
+
- et
|
| 39 |
+
- lv
|
| 40 |
+
- hi
|
| 41 |
+
- sq
|
| 42 |
+
- ms
|
| 43 |
+
- az
|
| 44 |
+
- sr
|
| 45 |
+
- ta
|
| 46 |
+
- hr
|
| 47 |
+
- kk
|
| 48 |
+
- is
|
| 49 |
+
- ml
|
| 50 |
+
- mr
|
| 51 |
+
- te
|
| 52 |
+
- af
|
| 53 |
+
- gl
|
| 54 |
+
- fil
|
| 55 |
+
- be
|
| 56 |
+
- mk
|
| 57 |
+
- eu
|
| 58 |
+
- bn
|
| 59 |
+
- ka
|
| 60 |
+
- mn
|
| 61 |
+
- bs
|
| 62 |
+
- uz
|
| 63 |
+
- ur
|
| 64 |
+
- sw
|
| 65 |
+
- yue
|
| 66 |
+
- ne
|
| 67 |
+
- kn
|
| 68 |
+
- kaa
|
| 69 |
+
- gu
|
| 70 |
+
- si
|
| 71 |
+
- cy
|
| 72 |
+
- eo
|
| 73 |
+
- la
|
| 74 |
+
- hy
|
| 75 |
+
- ky
|
| 76 |
+
- tg
|
| 77 |
+
- ga
|
| 78 |
+
- mt
|
| 79 |
+
- my
|
| 80 |
+
- km
|
| 81 |
+
- tt
|
| 82 |
+
- so
|
| 83 |
+
- ku
|
| 84 |
+
- ps
|
| 85 |
+
- pa
|
| 86 |
+
- rw
|
| 87 |
+
- lo
|
| 88 |
+
- ha
|
| 89 |
+
- dv
|
| 90 |
+
- fy
|
| 91 |
+
- lb
|
| 92 |
+
- ckb
|
| 93 |
+
- mg
|
| 94 |
+
- gd
|
| 95 |
+
- am
|
| 96 |
+
- ug
|
| 97 |
+
- ht
|
| 98 |
+
- grc
|
| 99 |
+
- hmn
|
| 100 |
+
- sd
|
| 101 |
+
- jv
|
| 102 |
+
- mi
|
| 103 |
+
- tk
|
| 104 |
+
- ceb
|
| 105 |
+
- yi
|
| 106 |
+
- ba
|
| 107 |
+
- fo
|
| 108 |
+
- or
|
| 109 |
+
- xh
|
| 110 |
+
- su
|
| 111 |
+
- kl
|
| 112 |
+
- ny
|
| 113 |
+
- sm
|
| 114 |
+
- sn
|
| 115 |
+
- co
|
| 116 |
+
- zu
|
| 117 |
+
- ig
|
| 118 |
+
- yo
|
| 119 |
+
- pap
|
| 120 |
+
- st
|
| 121 |
+
- haw
|
| 122 |
+
- as
|
| 123 |
+
- oc
|
| 124 |
+
- cv
|
| 125 |
+
- lus
|
| 126 |
+
- tet
|
| 127 |
+
- gsw
|
| 128 |
+
- sah
|
| 129 |
+
- br
|
| 130 |
+
- rm
|
| 131 |
+
- sa
|
| 132 |
+
- bo
|
| 133 |
+
- om
|
| 134 |
+
- se
|
| 135 |
+
- ce
|
| 136 |
+
- cnh
|
| 137 |
+
- ilo
|
| 138 |
+
- hil
|
| 139 |
+
- udm
|
| 140 |
+
- os
|
| 141 |
+
- lg
|
| 142 |
+
- ti
|
| 143 |
+
- vec
|
| 144 |
+
- ts
|
| 145 |
+
- tyv
|
| 146 |
+
- kbd
|
| 147 |
+
- ee
|
| 148 |
+
- iba
|
| 149 |
+
- av
|
| 150 |
+
- kha
|
| 151 |
+
- to
|
| 152 |
+
- tn
|
| 153 |
+
- nso
|
| 154 |
+
- fj
|
| 155 |
+
- zza
|
| 156 |
+
- ak
|
| 157 |
+
- ada
|
| 158 |
+
- otq
|
| 159 |
+
- dz
|
| 160 |
+
- bua
|
| 161 |
+
- cfm
|
| 162 |
+
- ln
|
| 163 |
+
- chm
|
| 164 |
+
- gn
|
| 165 |
+
- krc
|
| 166 |
+
- wa
|
| 167 |
+
- hif
|
| 168 |
+
- yua
|
| 169 |
+
- srn
|
| 170 |
+
- war
|
| 171 |
+
- rom
|
| 172 |
+
- bik
|
| 173 |
+
- pam
|
| 174 |
+
- sg
|
| 175 |
+
- lu
|
| 176 |
+
- ady
|
| 177 |
+
- kbp
|
| 178 |
+
- syr
|
| 179 |
+
- ltg
|
| 180 |
+
- myv
|
| 181 |
+
- iso
|
| 182 |
+
- kac
|
| 183 |
+
- bho
|
| 184 |
+
- ay
|
| 185 |
+
- kum
|
| 186 |
+
- qu
|
| 187 |
+
- za
|
| 188 |
+
- pag
|
| 189 |
+
- ngu
|
| 190 |
+
- ve
|
| 191 |
+
- pck
|
| 192 |
+
- zap
|
| 193 |
+
- tyz
|
| 194 |
+
- hui
|
| 195 |
+
- bbc
|
| 196 |
+
- tzo
|
| 197 |
+
- tiv
|
| 198 |
+
- ksd
|
| 199 |
+
- gom
|
| 200 |
+
- min
|
| 201 |
+
- ang
|
| 202 |
+
- nhe
|
| 203 |
+
- bgp
|
| 204 |
+
- nzi
|
| 205 |
+
- nnb
|
| 206 |
+
- nv
|
| 207 |
+
- zxx
|
| 208 |
+
- bci
|
| 209 |
+
- kv
|
| 210 |
+
- new
|
| 211 |
+
- mps
|
| 212 |
+
- alt
|
| 213 |
+
- meu
|
| 214 |
+
- bew
|
| 215 |
+
- fon
|
| 216 |
+
- iu
|
| 217 |
+
- abt
|
| 218 |
+
- mgh
|
| 219 |
+
- mnw
|
| 220 |
+
- tvl
|
| 221 |
+
- dov
|
| 222 |
+
- tlh
|
| 223 |
+
- ho
|
| 224 |
+
- kw
|
| 225 |
+
- mrj
|
| 226 |
+
- meo
|
| 227 |
+
- crh
|
| 228 |
+
- mbt
|
| 229 |
+
- emp
|
| 230 |
+
- ace
|
| 231 |
+
- ium
|
| 232 |
+
- mam
|
| 233 |
+
- gym
|
| 234 |
+
- mai
|
| 235 |
+
- crs
|
| 236 |
+
- pon
|
| 237 |
+
- ubu
|
| 238 |
+
- fip
|
| 239 |
+
- quc
|
| 240 |
+
- gv
|
| 241 |
+
- kj
|
| 242 |
+
- btx
|
| 243 |
+
- ape
|
| 244 |
+
- chk
|
| 245 |
+
- rcf
|
| 246 |
+
- shn
|
| 247 |
+
- tzh
|
| 248 |
+
- mdf
|
| 249 |
+
- ppk
|
| 250 |
+
- ss
|
| 251 |
+
- gag
|
| 252 |
+
- cab
|
| 253 |
+
- kri
|
| 254 |
+
- seh
|
| 255 |
+
- ibb
|
| 256 |
+
- tbz
|
| 257 |
+
- bru
|
| 258 |
+
- enq
|
| 259 |
+
- ach
|
| 260 |
+
- cuk
|
| 261 |
+
- kmb
|
| 262 |
+
- wo
|
| 263 |
+
- kek
|
| 264 |
+
- qub
|
| 265 |
+
- tab
|
| 266 |
+
- bts
|
| 267 |
+
- kos
|
| 268 |
+
- rwo
|
| 269 |
+
- cak
|
| 270 |
+
- tuc
|
| 271 |
+
- bum
|
| 272 |
+
- cjk
|
| 273 |
+
- gil
|
| 274 |
+
- stq
|
| 275 |
+
- tsg
|
| 276 |
+
- quh
|
| 277 |
+
- mak
|
| 278 |
+
- arn
|
| 279 |
+
- ban
|
| 280 |
+
- jiv
|
| 281 |
+
- sja
|
| 282 |
+
- yap
|
| 283 |
+
- tcy
|
| 284 |
+
- toj
|
| 285 |
+
- twu
|
| 286 |
+
- xal
|
| 287 |
+
- amu
|
| 288 |
+
- rmc
|
| 289 |
+
- hus
|
| 290 |
+
- nia
|
| 291 |
+
- kjh
|
| 292 |
+
- bm
|
| 293 |
+
- guh
|
| 294 |
+
- mas
|
| 295 |
+
- acf
|
| 296 |
+
- dtp
|
| 297 |
+
- ksw
|
| 298 |
+
- bzj
|
| 299 |
+
- din
|
| 300 |
+
- zne
|
| 301 |
+
- mad
|
| 302 |
+
- msi
|
| 303 |
+
- mag
|
| 304 |
+
- mkn
|
| 305 |
+
- kg
|
| 306 |
+
- lhu
|
| 307 |
+
- ch
|
| 308 |
+
- qvi
|
| 309 |
+
- mh
|
| 310 |
+
- djk
|
| 311 |
+
- sus
|
| 312 |
+
- mfe
|
| 313 |
+
- srm
|
| 314 |
+
- dyu
|
| 315 |
+
- ctu
|
| 316 |
+
- gui
|
| 317 |
+
- pau
|
| 318 |
+
- inb
|
| 319 |
+
- bi
|
| 320 |
+
- mni
|
| 321 |
+
- guc
|
| 322 |
+
- jam
|
| 323 |
+
- wal
|
| 324 |
+
- jac
|
| 325 |
+
- bas
|
| 326 |
+
- gor
|
| 327 |
+
- skr
|
| 328 |
+
- nyu
|
| 329 |
+
- noa
|
| 330 |
+
- sda
|
| 331 |
+
- gub
|
| 332 |
+
- nog
|
| 333 |
+
- cni
|
| 334 |
+
- teo
|
| 335 |
+
- tdx
|
| 336 |
+
- sxn
|
| 337 |
+
- rki
|
| 338 |
+
- nr
|
| 339 |
+
- frp
|
| 340 |
+
- alz
|
| 341 |
+
- taj
|
| 342 |
+
- lrc
|
| 343 |
+
- cce
|
| 344 |
+
- rn
|
| 345 |
+
- jvn
|
| 346 |
+
- hvn
|
| 347 |
+
- nij
|
| 348 |
+
- dwr
|
| 349 |
+
- izz
|
| 350 |
+
- msm
|
| 351 |
+
- bus
|
| 352 |
+
- ktu
|
| 353 |
+
- chr
|
| 354 |
+
- maz
|
| 355 |
+
- tzj
|
| 356 |
+
- suz
|
| 357 |
+
- knj
|
| 358 |
+
- bim
|
| 359 |
+
- gvl
|
| 360 |
+
- bqc
|
| 361 |
+
- tca
|
| 362 |
+
- pis
|
| 363 |
+
- prk
|
| 364 |
+
- laj
|
| 365 |
+
- mel
|
| 366 |
+
- qxr
|
| 367 |
+
- niq
|
| 368 |
+
- ahk
|
| 369 |
+
- shp
|
| 370 |
+
- hne
|
| 371 |
+
- spp
|
| 372 |
+
- koi
|
| 373 |
+
- krj
|
| 374 |
+
- quf
|
| 375 |
+
- luz
|
| 376 |
+
- agr
|
| 377 |
+
- tsc
|
| 378 |
+
- mqy
|
| 379 |
+
- gof
|
| 380 |
+
- gbm
|
| 381 |
+
- miq
|
| 382 |
+
- dje
|
| 383 |
+
- awa
|
| 384 |
+
- bjj
|
| 385 |
+
- qvz
|
| 386 |
+
- sjp
|
| 387 |
+
- tll
|
| 388 |
+
- raj
|
| 389 |
+
- kjg
|
| 390 |
+
- bgz
|
| 391 |
+
- quy
|
| 392 |
+
- cbk
|
| 393 |
+
- akb
|
| 394 |
+
- oj
|
| 395 |
+
- ify
|
| 396 |
+
- mey
|
| 397 |
+
- ks
|
| 398 |
+
- cac
|
| 399 |
+
- brx
|
| 400 |
+
- qup
|
| 401 |
+
- syl
|
| 402 |
+
- jax
|
| 403 |
+
- ff
|
| 404 |
+
- ber
|
| 405 |
+
- tks
|
| 406 |
+
- trp
|
| 407 |
+
- mrw
|
| 408 |
+
- adh
|
| 409 |
+
- smt
|
| 410 |
+
- srr
|
| 411 |
+
- ffm
|
| 412 |
+
- qvc
|
| 413 |
+
- mtr
|
| 414 |
+
- ann
|
| 415 |
+
- kaa
|
| 416 |
+
- aa
|
| 417 |
+
- noe
|
| 418 |
+
- nut
|
| 419 |
+
- gyn
|
| 420 |
+
- kwi
|
| 421 |
+
- xmm
|
| 422 |
+
- msb
|
| 423 |
+
library_name: transformers
|
| 424 |
+
tags:
|
| 425 |
+
- text2text-generation
|
| 426 |
+
- text-generation-inference
|
| 427 |
+
datasets:
|
| 428 |
+
- allenai/MADLAD-400
|
| 429 |
+
pipeline_tag: translation
|
| 430 |
+
|
| 431 |
+
widget:
|
| 432 |
+
- text: "<2en> Como vai, amigo?"
|
| 433 |
+
example_title: "Translation to English"
|
| 434 |
+
- text: "<2de> Do you speak German?"
|
| 435 |
+
example_title: "Translation to German"
|
| 436 |
+
|
| 437 |
+
---
|
| 438 |
+
|
| 439 |
+
# Model Card for MADLAD-400-3B-MT
|
| 440 |
+
|
| 441 |
+
# Table of Contents
|
| 442 |
+
|
| 443 |
+
0. [TL;DR](#TL;DR)
|
| 444 |
+
1. [Model Details](#model-details)
|
| 445 |
+
2. [Usage](#usage)
|
| 446 |
+
3. [Uses](#uses)
|
| 447 |
+
4. [Bias, Risks, and Limitations](#bias-risks-and-limitations)
|
| 448 |
+
5. [Training Details](#training-details)
|
| 449 |
+
6. [Evaluation](#evaluation)
|
| 450 |
+
7. [Environmental Impact](#environmental-impact)
|
| 451 |
+
8. [Citation](#citation)
|
| 452 |
+
|
| 453 |
+
# TL;DR
|
| 454 |
+
|
| 455 |
+
MADLAD-400-3B-MT is a multilingual machine translation model based on the T5 architecture that was
|
| 456 |
+
trained on 1 trillion tokens covering over 450 languages using publicly available data.
|
| 457 |
+
It is competitive with models that are significantly larger.
|
| 458 |
+
|
| 459 |
+
**Disclaimer**: [Juarez Bochi](https://huggingface.co/jbochi), who was not involved in this research, converted
|
| 460 |
+
the original weights and wrote the contents of this model card based on the original paper and Flan-T5.
|
| 461 |
+
|
| 462 |
+
# Model Details
|
| 463 |
+
|
| 464 |
+
## Model Description
|
| 465 |
+
|
| 466 |
+
- **Model type:** Language model
|
| 467 |
+
- **Language(s) (NLP):** Multilingual (400+ languages)
|
| 468 |
+
- **License:** Apache 2.0
|
| 469 |
+
- **Related Models:** [All MADLAD-400 Checkpoints](https://huggingface.co/models?search=madlad)
|
| 470 |
+
- **Original Checkpoints:** [All Original MADLAD-400 Checkpoints](https://github.com/google-research/google-research/tree/master/madlad_400)
|
| 471 |
+
- **Resources for more information:**
|
| 472 |
+
- [Research paper](https://arxiv.org/abs/2309.04662)
|
| 473 |
+
- [GitHub Repo](https://github.com/google-research/t5x)
|
| 474 |
+
- [Hugging Face MADLAD-400 Docs (Similar to T5) ](https://huggingface.co/docs/transformers/model_doc/MADLAD-400) - [Pending PR](https://github.com/huggingface/transformers/pull/27471)
|
| 475 |
+
|
| 476 |
+
# Usage
|
| 477 |
+
|
| 478 |
+
Find below some example scripts on how to use the model:
|
| 479 |
+
|
| 480 |
+
## Using the Pytorch model with `transformers`
|
| 481 |
+
|
| 482 |
+
### Running the model on a CPU or GPU
|
| 483 |
+
|
| 484 |
+
<details>
|
| 485 |
+
<summary> Click to expand </summary>
|
| 486 |
+
|
| 487 |
+
First, install the Python packages that are required:
|
| 488 |
+
|
| 489 |
+
`pip install transformers accelerate sentencepiece`
|
| 490 |
+
|
| 491 |
+
```python
|
| 492 |
+
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
| 493 |
+
|
| 494 |
+
model_name = 'jbochi/madlad400-3b-mt'
|
| 495 |
+
model = T5ForConditionalGeneration.from_pretrained(model_name, device_map="auto")
|
| 496 |
+
tokenizer = T5Tokenizer.from_pretrained(model_name)
|
| 497 |
+
|
| 498 |
+
text = "<2pt> I love pizza!"
|
| 499 |
+
input_ids = tokenizer(text, return_tensors="pt").input_ids.to(model.device)
|
| 500 |
+
outputs = model.generate(input_ids=input_ids)
|
| 501 |
+
|
| 502 |
+
tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 503 |
+
# Eu adoro pizza!
|
| 504 |
+
```
|
| 505 |
+
|
| 506 |
+
</details>
|
| 507 |
+
|
| 508 |
+
## Running the model with Candle
|
| 509 |
+
|
| 510 |
+
<details>
|
| 511 |
+
<summary> Click to expand </summary>
|
| 512 |
+
|
| 513 |
+
Usage with [candle](https://github.com/huggingface/candle):
|
| 514 |
+
|
| 515 |
+
```bash
|
| 516 |
+
$ cargo run --example t5 --release -- \
|
| 517 |
+
--model-id "jbochi/madlad400-3b-mt" \
|
| 518 |
+
--prompt "<2de> How are you, my friend?" \
|
| 519 |
+
--decode --temperature 0
|
| 520 |
+
```
|
| 521 |
+
|
| 522 |
+
We also provide a quantized model (1.65 GB vs the original 11.8 GB file):
|
| 523 |
+
|
| 524 |
+
```
|
| 525 |
+
cargo run --example quantized-t5 --release -- \
|
| 526 |
+
--model-id "jbochi/madlad400-3b-mt" --weight-file "model-q4k.gguf" \
|
| 527 |
+
--prompt "<2de> How are you, my friend?" \
|
| 528 |
+
--temperature 0
|
| 529 |
+
...
|
| 530 |
+
Wie geht es dir, mein Freund?
|
| 531 |
+
```
|
| 532 |
+
|
| 533 |
+
</details>
|
| 534 |
+
|
| 535 |
+
|
| 536 |
+
# Uses
|
| 537 |
+
|
| 538 |
+
## Direct Use and Downstream Use
|
| 539 |
+
|
| 540 |
+
> Primary intended uses: Machine Translation and multilingual NLP tasks on over 400 languages.
|
| 541 |
+
> Primary intended users: Research community.
|
| 542 |
+
|
| 543 |
+
## Out-of-Scope Use
|
| 544 |
+
|
| 545 |
+
> These models are trained on general domain data and are therefore not meant to
|
| 546 |
+
> work on domain-specific models out-of-the box. Moreover, these research models have not been assessed
|
| 547 |
+
> for production usecases.
|
| 548 |
+
|
| 549 |
+
# Bias, Risks, and Limitations
|
| 550 |
+
|
| 551 |
+
> We note that we evaluate on only 204 of the languages supported by these models and on machine translation
|
| 552 |
+
> and few-shot machine translation tasks. Users must consider use of this model carefully for their own
|
| 553 |
+
> usecase.
|
| 554 |
+
|
| 555 |
+
## Ethical considerations and risks
|
| 556 |
+
|
| 557 |
+
> We trained these models with MADLAD-400 and publicly available data to create baseline models that
|
| 558 |
+
> support NLP for over 400 languages, with a focus on languages underrepresented in large-scale corpora.
|
| 559 |
+
> Given that these models were trained with web-crawled datasets that may contain sensitive, offensive or
|
| 560 |
+
> otherwise low-quality content despite extensive preprocessing, it is still possible that these issues to the
|
| 561 |
+
> underlying training data may cause differences in model performance and toxic (or otherwise problematic)
|
| 562 |
+
> output for certain domains. Moreover, large models are dual use technologies that have specific risks
|
| 563 |
+
> associated with their use and development. We point the reader to surveys such as those written by
|
| 564 |
+
> Weidinger et al. or Bommasani et al. for a more detailed discussion of these risks, and to Liebling
|
| 565 |
+
> et al. for a thorough discussion of the risks of machine translation systems.
|
| 566 |
+
|
| 567 |
+
## Known Limitations
|
| 568 |
+
|
| 569 |
+
More information needed
|
| 570 |
+
|
| 571 |
+
## Sensitive Use:
|
| 572 |
+
|
| 573 |
+
More information needed
|
| 574 |
+
|
| 575 |
+
# Training Details
|
| 576 |
+
|
| 577 |
+
> We train models of various sizes: a 3B, 32-layer parameter model,
|
| 578 |
+
> a 7.2B 48-layer parameter model and a 10.7B 32-layer parameter model.
|
| 579 |
+
> We share all parameters of the model across language pairs,
|
| 580 |
+
> and use a Sentence Piece Model with 256k tokens shared on both the encoder and decoder
|
| 581 |
+
> side. Each input sentence has a <2xx> token prepended to the source sentence to indicate the target
|
| 582 |
+
> language.
|
| 583 |
+
|
| 584 |
+
See the [research paper](https://arxiv.org/pdf/2309.04662.pdf) for further details.
|
| 585 |
+
|
| 586 |
+
## Training Data
|
| 587 |
+
|
| 588 |
+
> For both the machine translation and language model, MADLAD-400 is used. For the machine translation
|
| 589 |
+
> model, a combination of parallel datasources covering 157 languages is also used. Further details are
|
| 590 |
+
> described in the [paper](https://arxiv.org/pdf/2309.04662.pdf).
|
| 591 |
+
|
| 592 |
+
## Training Procedure
|
| 593 |
+
|
| 594 |
+
See the [research paper](https://arxiv.org/pdf/2309.04662.pdf) for further details.
|
| 595 |
+
|
| 596 |
+
# Evaluation
|
| 597 |
+
|
| 598 |
+
## Testing Data, Factors & Metrics
|
| 599 |
+
|
| 600 |
+
> For evaluation, we used WMT, NTREX, Flores-200 and Gatones datasets as described in Section 4.3 in the [paper](https://arxiv.org/pdf/2309.04662.pdf).
|
| 601 |
+
|
| 602 |
+
> The translation quality of this model varies based on language, as seen in the paper, and likely varies on
|
| 603 |
+
> domain, though we have not assessed this.
|
| 604 |
+
|
| 605 |
+
## Results
|
| 606 |
+
|
| 607 |
+

|
| 608 |
+
|
| 609 |
+

|
| 610 |
+
|
| 611 |
+

|
| 612 |
+
|
| 613 |
+
See the [research paper](https://arxiv.org/pdf/2309.04662.pdf) for further details.
|
| 614 |
+
|
| 615 |
+
# Environmental Impact
|
| 616 |
+
|
| 617 |
+
More information needed
|
| 618 |
+
|
| 619 |
+
# Citation
|
| 620 |
+
|
| 621 |
+
**BibTeX:**
|
| 622 |
+
|
| 623 |
+
```bibtex
|
| 624 |
+
@misc{kudugunta2023madlad400,
|
| 625 |
+
title={MADLAD-400: A Multilingual And Document-Level Large Audited Dataset},
|
| 626 |
+
author={Sneha Kudugunta and Isaac Caswell and Biao Zhang and Xavier Garcia and Christopher A. Choquette-Choo and Katherine Lee and Derrick Xin and Aditya Kusupati and Romi Stella and Ankur Bapna and Orhan Firat},
|
| 627 |
+
year={2023},
|
| 628 |
+
eprint={2309.04662},
|
| 629 |
+
archivePrefix={arXiv},
|
| 630 |
+
primaryClass={cs.CL}
|
| 631 |
+
}
|
| 632 |
+
```
|
| 633 |
+
|
added_tokens.json
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"T5ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"d_ff": 8192,
|
| 6 |
+
"d_kv": 128,
|
| 7 |
+
"d_model": 1024,
|
| 8 |
+
"dropout_rate": 0.1,
|
| 9 |
+
"decoder_start_token_id": 0,
|
| 10 |
+
"pad_token_id": 1,
|
| 11 |
+
"eos_token_id": 2,
|
| 12 |
+
"feed_forward_proj": "gated-gelu",
|
| 13 |
+
"initializer_factor": 1.0,
|
| 14 |
+
"is_encoder_decoder": true,
|
| 15 |
+
"layer_norm_epsilon": 1e-06,
|
| 16 |
+
"model_type": "t5",
|
| 17 |
+
"n_positions": 512,
|
| 18 |
+
"num_decoder_layers": 32,
|
| 19 |
+
"num_heads": 16,
|
| 20 |
+
"num_layers": 32,
|
| 21 |
+
"output_past": true,
|
| 22 |
+
"relative_attention_max_distance": 128,
|
| 23 |
+
"relative_attention_num_buckets": 32,
|
| 24 |
+
"task_specific_params": {},
|
| 25 |
+
"tie_word_embeddings": false,
|
| 26 |
+
"transformers_version": "4.23.1",
|
| 27 |
+
"use_cache": true,
|
| 28 |
+
"vocab_size": 256000
|
| 29 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"decoder_start_token_id": 0,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"pad_token_id": 1,
|
| 6 |
+
"transformers_version": "4.35.0"
|
| 7 |
+
}
|
model-q2k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abab3b4cf39c076b94517e5b7f53bf43a70e72032d787dde948c56a1c597df5d
|
| 3 |
+
size 965486240
|
model-q3k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d9850c77c4610037085b2595f5cfde13a23a70296596209d8d61b7cc0d34e6e
|
| 3 |
+
size 1264101024
|
model-q4k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea6e5531a3e95213c7f0635988d119e078a655c09306e47851e15d4c0c3f9c37
|
| 3 |
+
size 1654597280
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66ff5f8fcaf92291da486fdfbd4d5233cec90e1359348a56e3172c978b3a76d4
|
| 3 |
+
size 11761587872
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": {
|
| 3 |
+
"content": "</s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"pad_token": {
|
| 10 |
+
"content": "<s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"unk_token": {
|
| 17 |
+
"content": "<unk>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
}
|
| 23 |
+
}
|
spiece.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef11ac9a22c7503492f56d48dce53be20e339b63605983e9f27d2cd0e0f3922c
|
| 3 |
+
size 4427844
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2799ccc696b752ba00c34f58726bfe253a04921ceb6cfc620400f560474790b
|
| 3 |
+
size 16629031
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<unk>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<s>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "</s>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"additional_special_tokens": [],
|
| 29 |
+
"clean_up_tokenization_spaces": true,
|
| 30 |
+
"eos_token": "</s>",
|
| 31 |
+
"extra_ids": 0,
|
| 32 |
+
"legacy": false,
|
| 33 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 34 |
+
"pad_token": "<s>",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"tokenizer_class": "T5Tokenizer",
|
| 37 |
+
"unk_token": "<unk>"
|
| 38 |
+
}
|