Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- Helsinki-NLP-opus-mt-bcl-sv/config.json +56 -0
- Helsinki-NLP-opus-mt-bcl-sv/decoder_model.onnx +3 -0
- Helsinki-NLP-opus-mt-bcl-sv/decoder_model_merged.onnx +3 -0
- Helsinki-NLP-opus-mt-bcl-sv/decoder_with_past_model.onnx +3 -0
- Helsinki-NLP-opus-mt-bcl-sv/encoder_model.onnx +3 -0
- Helsinki-NLP-opus-mt-bcl-sv/generation_config.json +16 -0
- Helsinki-NLP-opus-mt-bcl-sv/source.spm +3 -0
- Helsinki-NLP-opus-mt-bcl-sv/special_tokens_map.json +5 -0
- Helsinki-NLP-opus-mt-bcl-sv/target.spm +3 -0
- Helsinki-NLP-opus-mt-bcl-sv/tokenizer_config.json +39 -0
- Helsinki-NLP-opus-mt-bcl-sv/vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -2813,3 +2813,5 @@ Helsinki-NLP-opus-mt-bem-en/source.spm filter=lfs diff=lfs merge=lfs -text
|
|
| 2813 |
Helsinki-NLP-opus-mt-bem-en/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 2814 |
Helsinki-NLP-opus-mt-be-es/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 2815 |
Helsinki-NLP-opus-mt-be-es/target.spm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 2813 |
Helsinki-NLP-opus-mt-bem-en/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 2814 |
Helsinki-NLP-opus-mt-be-es/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 2815 |
Helsinki-NLP-opus-mt-be-es/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 2816 |
+
Helsinki-NLP-opus-mt-bcl-sv/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 2817 |
+
Helsinki-NLP-opus-mt-bcl-sv/target.spm filter=lfs diff=lfs merge=lfs -text
|
Helsinki-NLP-opus-mt-bcl-sv/config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_num_labels": 3,
|
| 3 |
+
"activation_dropout": 0.0,
|
| 4 |
+
"activation_function": "swish",
|
| 5 |
+
"add_bias_logits": false,
|
| 6 |
+
"add_final_layer_norm": false,
|
| 7 |
+
"architectures": [
|
| 8 |
+
"MarianMTModel"
|
| 9 |
+
],
|
| 10 |
+
"attention_dropout": 0.0,
|
| 11 |
+
"bos_token_id": 0,
|
| 12 |
+
"classif_dropout": 0.0,
|
| 13 |
+
"classifier_dropout": 0.0,
|
| 14 |
+
"d_model": 512,
|
| 15 |
+
"decoder_attention_heads": 8,
|
| 16 |
+
"decoder_ffn_dim": 2048,
|
| 17 |
+
"decoder_layerdrop": 0.0,
|
| 18 |
+
"decoder_layers": 6,
|
| 19 |
+
"decoder_start_token_id": 59910,
|
| 20 |
+
"decoder_vocab_size": 59911,
|
| 21 |
+
"dropout": 0.1,
|
| 22 |
+
"encoder_attention_heads": 8,
|
| 23 |
+
"encoder_ffn_dim": 2048,
|
| 24 |
+
"encoder_layerdrop": 0.0,
|
| 25 |
+
"encoder_layers": 6,
|
| 26 |
+
"eos_token_id": 0,
|
| 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": 59910,
|
| 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": 59911
|
| 56 |
+
}
|
Helsinki-NLP-opus-mt-bcl-sv/decoder_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92bdc7572f688493e41d7fc6e17ad790cd58f76a7cefb5051dd189f4f36fcebf
|
| 3 |
+
size 225083872
|
Helsinki-NLP-opus-mt-bcl-sv/decoder_model_merged.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65973846556d8f4c78774bedb8455b83d42fc41f59bc686e83a83f009601ba2d
|
| 3 |
+
size 225265186
|
Helsinki-NLP-opus-mt-bcl-sv/decoder_with_past_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2c3bc2f5fbe4a390819eadccddf39f227d8e48a5f78e669599dd5f8480ba8b7
|
| 3 |
+
size 212454241
|
Helsinki-NLP-opus-mt-bcl-sv/encoder_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b11e03c2a0def9132e5fd9b739af997ecbf5f02c488a8fc4d8d9bee71d0ade0
|
| 3 |
+
size 199477877
|
Helsinki-NLP-opus-mt-bcl-sv/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
59910
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 59910,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 59910,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.53.3"
|
| 16 |
+
}
|
Helsinki-NLP-opus-mt-bcl-sv/source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62bf4148d7cf7821c7b987b21f43055ddfee8f64ed4c4adb01089b475e314cbb
|
| 3 |
+
size 830082
|
Helsinki-NLP-opus-mt-bcl-sv/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-bcl-sv/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:934814b9a05c0f471279de20687807c548b57892209efd8a1a6cc9b07cd4886a
|
| 3 |
+
size 858865
|
Helsinki-NLP-opus-mt-bcl-sv/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 |
+
"59910": {
|
| 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": "bcl",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "sv",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
Helsinki-NLP-opus-mt-bcl-sv/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|