Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- README.md +46 -41
- opus-MUL-EN/config.json +10 -0
- opus-MUL-EN/model.bin +3 -0
- opus-MUL-EN/shared_vocabulary.json +0 -0
- opus-MUL-EN/source.spm +3 -0
- opus-MUL-EN/target.spm +3 -0
- opus-PT-MUL/config.json +10 -0
- opus-PT-MUL/model.bin +3 -0
- opus-PT-MUL/shared_vocabulary.json +0 -0
- opus-PT-MUL/source.spm +3 -0
- opus-PT-MUL/target.spm +3 -0
.gitattributes
CHANGED
|
@@ -37,3 +37,7 @@ opus-EN-PT/source.spm filter=lfs diff=lfs merge=lfs -text
|
|
| 37 |
opus-EN-PT/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 38 |
opus-PT-EN/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
opus-PT-EN/target.spm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
opus-EN-PT/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 38 |
opus-PT-EN/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
opus-PT-EN/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
opus-MUL-EN/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
opus-MUL-EN/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
opus-PT-MUL/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
opus-PT-MUL/target.spm filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,41 +1,46 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
language:
|
| 4 |
-
- pt
|
| 5 |
-
- en
|
| 6 |
-
tags:
|
| 7 |
-
- translation
|
| 8 |
-
- ctranslate2
|
| 9 |
-
- opus-mt
|
| 10 |
-
- offline
|
| 11 |
-
---
|
| 12 |
-
|
| 13 |
-
# Modelos do Tradutor de Voz Offline (Atconsys)
|
| 14 |
-
|
| 15 |
-
Arquivos que o app **Tradutor** (Android e iOS) baixa na primeira execução para
|
| 16 |
-
traduzir sem internet. O app fixa cada download num commit deste repositório e confere
|
| 17 |
-
o SHA-256 de cada arquivo.
|
| 18 |
-
|
| 19 |
-
## Conteúdo
|
| 20 |
-
|
| 21 |
-
| Pasta | Sentido | Modelo original | Formato |
|
| 22 |
-
|---|---|---|---|
|
| 23 |
-
| `opus-PT-EN/` | português → inglês | [Helsinki-NLP/opus-mt-tc-bible-big-itc-deu_eng_fra_por_spa](https://huggingface.co/Helsinki-NLP/opus-mt-tc-bible-big-itc-deu_eng_fra_por_spa) | CTranslate2, int8 |
|
| 24 |
-
| `opus-EN-PT/` | inglês → português (Brasil) | [Helsinki-NLP/opus-mt-tc-big-en-pt](https://huggingface.co/Helsinki-NLP/opus-mt-tc-big-en-pt) | CTranslate2, int8 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- pt
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- translation
|
| 8 |
+
- ctranslate2
|
| 9 |
+
- opus-mt
|
| 10 |
+
- offline
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Modelos do Tradutor de Voz Offline (Atconsys)
|
| 14 |
+
|
| 15 |
+
Arquivos que o app **Tradutor** (Android e iOS) baixa na primeira execução para
|
| 16 |
+
traduzir sem internet. O app fixa cada download num commit deste repositório e confere
|
| 17 |
+
o SHA-256 de cada arquivo.
|
| 18 |
+
|
| 19 |
+
## Conteúdo
|
| 20 |
+
|
| 21 |
+
| Pasta | Sentido | Modelo original | Formato |
|
| 22 |
+
|---|---|---|---|
|
| 23 |
+
| `opus-PT-EN/` | português → inglês | [Helsinki-NLP/opus-mt-tc-bible-big-itc-deu_eng_fra_por_spa](https://huggingface.co/Helsinki-NLP/opus-mt-tc-bible-big-itc-deu_eng_fra_por_spa) | CTranslate2, int8 |
|
| 24 |
+
| `opus-EN-PT/` | inglês → português (Brasil) | [Helsinki-NLP/opus-mt-tc-big-en-pt](https://huggingface.co/Helsinki-NLP/opus-mt-tc-big-en-pt) | CTranslate2, int8 |
|
| 25 |
+
| `opus-PT-MUL/` | português → vários idiomas | [Helsinki-NLP/opus-mt-tc-bible-big-deu_eng_fra_por_spa-mul](https://huggingface.co/Helsinki-NLP/opus-mt-tc-bible-big-deu_eng_fra_por_spa-mul) (Apache 2.0) | CTranslate2, int8 |
|
| 26 |
+
| `opus-MUL-EN/` | vários idiomas → inglês | [Helsinki-NLP/opus-mt-tc-bible-big-mul-deu_eng_fra_por_spa](https://huggingface.co/Helsinki-NLP/opus-mt-tc-bible-big-mul-deu_eng_fra_por_spa) (Apache 2.0) | CTranslate2, int8 |
|
| 27 |
+
|
| 28 |
+
Conversão: `ct2-transformers-converter --model <original> --quantization int8 --copy_files source.spm target.spm`
|
| 29 |
+
(CTranslate2 4.8.3). Os pesos não foram retreinados nem alterados além da quantização.
|
| 30 |
+
|
| 31 |
+
Uso: o texto de entrada recebe um prefixo com o idioma de destino: `>>eng<<` em
|
| 32 |
+
`opus-PT-EN` e `opus-MUL-EN`, `>>pob<<` em `opus-EN-PT`, e o código ISO 639-3 do destino
|
| 33 |
+
(`>>spa<<`, `>>fra<<`, `>>tur<<`, `>>ara<<`, `>>cmn_Hans<<`, `>>tha<<`, `>>deu<<`,
|
| 34 |
+
`>>rus<<`, `>>ukr<<`, `>>ron<<`) em `opus-PT-MUL`.
|
| 35 |
+
|
| 36 |
+
## Licença e atribuição
|
| 37 |
+
|
| 38 |
+
Todos são obras derivadas (conversão e quantização) dos modelos **OPUS-MT** da equipe
|
| 39 |
+
Language Technology Research Group da Universidade de Helsinque. `opus-PT-EN` e
|
| 40 |
+
`opus-EN-PT` são publicados pelos autores sob **CC-BY 4.0**; `opus-PT-MUL` e `opus-MUL-EN`
|
| 41 |
+
sob **Apache 2.0**.
|
| 42 |
+
|
| 43 |
+
- Tiedemann, J. & Thottingal, S. (2020). *OPUS-MT — Building open translation services for the World.* EAMT 2020.
|
| 44 |
+
- Tiedemann, J. et al. (2023). *Democratizing neural machine translation with OPUS-MT.* Language Resources and Evaluation.
|
| 45 |
+
|
| 46 |
+
Esta redistribuição mantém as licenças originais de cada modelo: https://creativecommons.org/licenses/by/4.0/ e https://www.apache.org/licenses/LICENSE-2.0
|
opus-MUL-EN/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_source_bos": false,
|
| 3 |
+
"add_source_eos": false,
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"decoder_start_token": "</s>",
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"layer_norm_epsilon": null,
|
| 8 |
+
"multi_query_attention": false,
|
| 9 |
+
"unk_token": "<unk>"
|
| 10 |
+
}
|
opus-MUL-EN/model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51fbc02907d87dd9d1affbd46d2110561ce9619fa1a22cde4ed177287e13dca2
|
| 3 |
+
size 240835219
|
opus-MUL-EN/shared_vocabulary.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
opus-MUL-EN/source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18ef9bcdf680d6c26c18bb60346f38f7c272357f5fb940aad730fa7ef65d6199
|
| 3 |
+
size 735150
|
opus-MUL-EN/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afcb3fbad7dea1bdf7c730fb467b04f82daa9d12f0859c731d255c3ea0e4aaeb
|
| 3 |
+
size 807985
|
opus-PT-MUL/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_source_bos": false,
|
| 3 |
+
"add_source_eos": false,
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"decoder_start_token": "</s>",
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"layer_norm_epsilon": null,
|
| 8 |
+
"multi_query_attention": false,
|
| 9 |
+
"unk_token": "<unk>"
|
| 10 |
+
}
|
opus-PT-MUL/model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ebbca73d55b2c708b0282355d720eb6842d30f5fc68d897e56f828dce09b1ae
|
| 3 |
+
size 246670147
|
opus-PT-MUL/shared_vocabulary.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
opus-PT-MUL/source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65ad5af01db2eb3d54ce33e997cc19269963aed88587ac2c9508c7b91547a306
|
| 3 |
+
size 808100
|
opus-PT-MUL/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb16370843987108b7b28b2e61bd542978cd4925c97a8fab56f030152edf40e9
|
| 3 |
+
size 734857
|