Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- config.json +5 -8
- generation_config.json +1 -1
- onnx/decoder_model.onnx +2 -2
- onnx/decoder_model_fp16.onnx +2 -2
- onnx/decoder_model_merged.onnx +2 -2
- onnx/decoder_model_merged_fp16.onnx +2 -2
- onnx/decoder_with_past_model.onnx +2 -2
- onnx/decoder_with_past_model_fp16.onnx +2 -2
- onnx/encoder_model.onnx +2 -2
- onnx/encoder_model_fp16.onnx +2 -2
- quantize_config.json +3 -8
- source.spm +0 -0
- target.spm +0 -0
- tokenizer_config.json +2 -1
.gitattributes
CHANGED
@@ -33,3 +33,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
|
|
|
|
|
|
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 |
+
source.spm filter=lfs diff=lfs merge=lfs -text
|
37 |
+
target.spm filter=lfs diff=lfs merge=lfs -text
|
config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"_name_or_path": "Helsinki-NLP/opus-mt-it-en",
|
3 |
"_num_labels": 3,
|
4 |
"activation_dropout": 0.0,
|
@@ -9,11 +10,6 @@
|
|
9 |
"MarianMTModel"
|
10 |
],
|
11 |
"attention_dropout": 0.0,
|
12 |
-
"bad_words_ids": [
|
13 |
-
[
|
14 |
-
80378
|
15 |
-
]
|
16 |
-
],
|
17 |
"bos_token_id": 0,
|
18 |
"classif_dropout": 0.0,
|
19 |
"classifier_dropout": 0.0,
|
@@ -43,18 +39,19 @@
|
|
43 |
"LABEL_1": 1,
|
44 |
"LABEL_2": 2
|
45 |
},
|
46 |
-
"max_length":
|
47 |
"max_position_embeddings": 512,
|
48 |
"model_type": "marian",
|
49 |
"normalize_before": false,
|
50 |
"normalize_embedding": false,
|
51 |
-
"num_beams":
|
52 |
"num_hidden_layers": 6,
|
53 |
"pad_token_id": 80378,
|
54 |
"scale_embedding": true,
|
55 |
"share_encoder_decoder_embeddings": true,
|
56 |
"static_position_embeddings": true,
|
57 |
-
"
|
|
|
58 |
"use_cache": true,
|
59 |
"vocab_size": 80379
|
60 |
}
|
|
|
1 |
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
"_name_or_path": "Helsinki-NLP/opus-mt-it-en",
|
4 |
"_num_labels": 3,
|
5 |
"activation_dropout": 0.0,
|
|
|
10 |
"MarianMTModel"
|
11 |
],
|
12 |
"attention_dropout": 0.0,
|
|
|
|
|
|
|
|
|
|
|
13 |
"bos_token_id": 0,
|
14 |
"classif_dropout": 0.0,
|
15 |
"classifier_dropout": 0.0,
|
|
|
39 |
"LABEL_1": 1,
|
40 |
"LABEL_2": 2
|
41 |
},
|
42 |
+
"max_length": null,
|
43 |
"max_position_embeddings": 512,
|
44 |
"model_type": "marian",
|
45 |
"normalize_before": false,
|
46 |
"normalize_embedding": false,
|
47 |
+
"num_beams": null,
|
48 |
"num_hidden_layers": 6,
|
49 |
"pad_token_id": 80378,
|
50 |
"scale_embedding": true,
|
51 |
"share_encoder_decoder_embeddings": true,
|
52 |
"static_position_embeddings": true,
|
53 |
+
"torch_dtype": "float32",
|
54 |
+
"transformers_version": "4.49.0",
|
55 |
"use_cache": true,
|
56 |
"vocab_size": 80379
|
57 |
}
|
generation_config.json
CHANGED
@@ -12,5 +12,5 @@
|
|
12 |
"num_beams": 6,
|
13 |
"pad_token_id": 80378,
|
14 |
"renormalize_logits": true,
|
15 |
-
"transformers_version": "4.
|
16 |
}
|
|
|
12 |
"num_beams": 6,
|
13 |
"pad_token_id": 80378,
|
14 |
"renormalize_logits": true,
|
15 |
+
"transformers_version": "4.49.0"
|
16 |
}
|
onnx/decoder_model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42bd20865718fdc18dfc3f5e6cfcfe8c13144000c55c7f114b383105d147a75d
|
3 |
+
size 267147630
|
onnx/decoder_model_fp16.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70207a220c6b9890fb78db9e22f477278997571a6a48d08fa7eb6d031b6cfb1b
|
3 |
+
size 133707787
|
onnx/decoder_model_merged.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f11503a235d82096e33f4971b76e5cc2508bf95f3f637bc7dfe7e6fb42f60f0
|
3 |
+
size 267468047
|
onnx/decoder_model_merged_fp16.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5d3de4ab72e147600377249f7fa321243af3d15ea39bd5fe8afc169f0158159
|
3 |
+
size 134056124
|
onnx/decoder_with_past_model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:871ea95f22b2d6b2ddf2c703a49d1f1625ec084441ea31ecb0afd1307c651a32
|
3 |
+
size 254472474
|
onnx/decoder_with_past_model_fp16.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73d19d50fbb4035120b0bf94053e3635d7e8e9ad3310f52638dc6bc0298bda27
|
3 |
+
size 127341007
|
onnx/encoder_model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c2d0b4a534d31a410537345b2ebad838400ac44ad3ca3bc38ffa97c3b1a5afee
|
3 |
+
size 241436605
|
onnx/encoder_model_fp16.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a01482beb0e60bd23502e364d2cc1a1f329f3f5d2c0255da82ddabf9b361e023
|
3 |
+
size 120776001
|
quantize_config.json
CHANGED
@@ -1,17 +1,12 @@
|
|
1 |
{
|
2 |
"modes": [
|
3 |
-
"fp16"
|
4 |
-
"q8",
|
5 |
-
"int8",
|
6 |
-
"uint8",
|
7 |
-
"q4",
|
8 |
-
"q4f16",
|
9 |
-
"bnb4"
|
10 |
],
|
11 |
"per_channel": true,
|
12 |
"reduce_range": true,
|
13 |
"block_size": null,
|
14 |
"is_symmetric": true,
|
15 |
"accuracy_level": null,
|
16 |
-
"quant_type": 1
|
|
|
17 |
}
|
|
|
1 |
{
|
2 |
"modes": [
|
3 |
+
"fp16"
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
],
|
5 |
"per_channel": true,
|
6 |
"reduce_range": true,
|
7 |
"block_size": null,
|
8 |
"is_symmetric": true,
|
9 |
"accuracy_level": null,
|
10 |
+
"quant_type": 1,
|
11 |
+
"op_block_list": null
|
12 |
}
|
source.spm
CHANGED
Binary files a/source.spm and b/source.spm differ
|
|
target.spm
CHANGED
Binary files a/target.spm and b/target.spm differ
|
|
tokenizer_config.json
CHANGED
@@ -25,8 +25,9 @@
|
|
25 |
"special": true
|
26 |
}
|
27 |
},
|
28 |
-
"clean_up_tokenization_spaces":
|
29 |
"eos_token": "</s>",
|
|
|
30 |
"model_max_length": 512,
|
31 |
"pad_token": "<pad>",
|
32 |
"separate_vocabs": 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,
|