Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- Helsinki-NLP-opus-mt-afa-en/config.json +56 -0
- Helsinki-NLP-opus-mt-afa-en/decoder_model.onnx +3 -0
- Helsinki-NLP-opus-mt-afa-en/decoder_model_merged.onnx +3 -0
- Helsinki-NLP-opus-mt-afa-en/decoder_with_past_model.onnx +3 -0
- Helsinki-NLP-opus-mt-afa-en/encoder_model.onnx +3 -0
- Helsinki-NLP-opus-mt-afa-en/generation_config.json +16 -0
- Helsinki-NLP-opus-mt-afa-en/source.spm +3 -0
- Helsinki-NLP-opus-mt-afa-en/special_tokens_map.json +5 -0
- Helsinki-NLP-opus-mt-afa-en/target.spm +3 -0
- Helsinki-NLP-opus-mt-afa-en/tokenizer_config.json +39 -0
- Helsinki-NLP-opus-mt-afa-en/vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -2871,3 +2871,5 @@ Helsinki-NLP-opus-mt-am-sv/source.spm filter=lfs diff=lfs merge=lfs -text
|
|
| 2871 |
Helsinki-NLP-opus-mt-am-sv/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 2872 |
Helsinki-NLP-opus-mt-alv-en/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 2873 |
Helsinki-NLP-opus-mt-alv-en/target.spm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 2871 |
Helsinki-NLP-opus-mt-am-sv/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 2872 |
Helsinki-NLP-opus-mt-alv-en/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 2873 |
Helsinki-NLP-opus-mt-alv-en/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 2874 |
+
Helsinki-NLP-opus-mt-afa-en/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 2875 |
+
Helsinki-NLP-opus-mt-afa-en/target.spm filter=lfs diff=lfs merge=lfs -text
|
Helsinki-NLP-opus-mt-afa-en/config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "swish",
|
| 4 |
+
"add_bias_logits": false,
|
| 5 |
+
"add_final_layer_norm": false,
|
| 6 |
+
"architectures": [
|
| 7 |
+
"MarianMTModel"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"bos_token_id": 0,
|
| 11 |
+
"classif_dropout": 0.0,
|
| 12 |
+
"classifier_dropout": 0.0,
|
| 13 |
+
"d_model": 512,
|
| 14 |
+
"decoder_attention_heads": 8,
|
| 15 |
+
"decoder_ffn_dim": 2048,
|
| 16 |
+
"decoder_layerdrop": 0.0,
|
| 17 |
+
"decoder_layers": 6,
|
| 18 |
+
"decoder_start_token_id": 61179,
|
| 19 |
+
"decoder_vocab_size": 61180,
|
| 20 |
+
"dropout": 0.1,
|
| 21 |
+
"encoder_attention_heads": 8,
|
| 22 |
+
"encoder_ffn_dim": 2048,
|
| 23 |
+
"encoder_layerdrop": 0.0,
|
| 24 |
+
"encoder_layers": 6,
|
| 25 |
+
"eos_token_id": 0,
|
| 26 |
+
"extra_pos_embeddings": 61180,
|
| 27 |
+
"forced_eos_token_id": 0,
|
| 28 |
+
"id2label": {
|
| 29 |
+
"0": "LABEL_0",
|
| 30 |
+
"1": "LABEL_1",
|
| 31 |
+
"2": "LABEL_2"
|
| 32 |
+
},
|
| 33 |
+
"init_std": 0.02,
|
| 34 |
+
"is_encoder_decoder": true,
|
| 35 |
+
"is_transformers_support_available": true,
|
| 36 |
+
"label2id": {
|
| 37 |
+
"LABEL_0": 0,
|
| 38 |
+
"LABEL_1": 1,
|
| 39 |
+
"LABEL_2": 2
|
| 40 |
+
},
|
| 41 |
+
"max_length": null,
|
| 42 |
+
"max_position_embeddings": 512,
|
| 43 |
+
"model_type": "marian",
|
| 44 |
+
"normalize_before": false,
|
| 45 |
+
"normalize_embedding": false,
|
| 46 |
+
"num_beams": null,
|
| 47 |
+
"num_hidden_layers": 6,
|
| 48 |
+
"pad_token_id": 61179,
|
| 49 |
+
"scale_embedding": true,
|
| 50 |
+
"share_encoder_decoder_embeddings": true,
|
| 51 |
+
"static_position_embeddings": true,
|
| 52 |
+
"torch_dtype": "float32",
|
| 53 |
+
"transformers_version": "4.53.3",
|
| 54 |
+
"use_cache": true,
|
| 55 |
+
"vocab_size": 61180
|
| 56 |
+
}
|
Helsinki-NLP-opus-mt-afa-en/decoder_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac0e37ce361c7172cca347b4f3a497716d8f149a8c8898750f49508bd806aded
|
| 3 |
+
size 227687860
|
Helsinki-NLP-opus-mt-afa-en/decoder_model_merged.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79948bd5a589a24ab7d1bdf68cbea10a4fc5fa29c537b027b67901e5c049252e
|
| 3 |
+
size 227869174
|
Helsinki-NLP-opus-mt-afa-en/decoder_with_past_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48829899c53673805b3e5246041286c3b3c9e090c3aff9a3c9b689b2a2214103
|
| 3 |
+
size 215058229
|
Helsinki-NLP-opus-mt-afa-en/encoder_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:765d3bae4f6ddc97e044c8fe233b3af7451d18d6be4ac799d75ee3b5f8819cc6
|
| 3 |
+
size 202076789
|
Helsinki-NLP-opus-mt-afa-en/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
61179
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 61179,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 61179,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.53.3"
|
| 16 |
+
}
|
Helsinki-NLP-opus-mt-afa-en/source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87009801c2fb30fe70853d92be921285256cd59dd1b5d9f443224fb6d51678f9
|
| 3 |
+
size 831545
|
Helsinki-NLP-opus-mt-afa-en/special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": "</s>",
|
| 3 |
+
"pad_token": "<pad>",
|
| 4 |
+
"unk_token": "<unk>"
|
| 5 |
+
}
|
Helsinki-NLP-opus-mt-afa-en/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2454e0c1715611a8f8293ea9a33cea4a772b890d3e9a489a4a8b33b3b684c16a
|
| 3 |
+
size 808262
|
Helsinki-NLP-opus-mt-afa-en/tokenizer_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "</s>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<unk>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"61179": {
|
| 20 |
+
"content": "<pad>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"clean_up_tokenization_spaces": false,
|
| 29 |
+
"eos_token": "</s>",
|
| 30 |
+
"extra_special_tokens": {},
|
| 31 |
+
"model_max_length": 512,
|
| 32 |
+
"pad_token": "<pad>",
|
| 33 |
+
"separate_vocabs": false,
|
| 34 |
+
"source_lang": "afa",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "eng",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
Helsinki-NLP-opus-mt-afa-en/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|