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-ROMANCE-en",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "swish",
|
@@ -8,11 +9,6 @@
|
|
8 |
"MarianMTModel"
|
9 |
],
|
10 |
"attention_dropout": 0.0,
|
11 |
-
"bad_words_ids": [
|
12 |
-
[
|
13 |
-
65000
|
14 |
-
]
|
15 |
-
],
|
16 |
"bos_token_id": 0,
|
17 |
"classif_dropout": 0.0,
|
18 |
"classifier_dropout": 0.0,
|
@@ -42,18 +38,19 @@
|
|
42 |
"LABEL_1": 1,
|
43 |
"LABEL_2": 2
|
44 |
},
|
45 |
-
"max_length":
|
46 |
"max_position_embeddings": 512,
|
47 |
"model_type": "marian",
|
48 |
"normalize_before": false,
|
49 |
"normalize_embedding": false,
|
50 |
-
"num_beams":
|
51 |
"num_hidden_layers": 6,
|
52 |
"pad_token_id": 65000,
|
53 |
"scale_embedding": true,
|
54 |
"share_encoder_decoder_embeddings": true,
|
55 |
"static_position_embeddings": true,
|
56 |
-
"
|
|
|
57 |
"use_cache": true,
|
58 |
"vocab_size": 65001
|
59 |
}
|
|
|
1 |
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
"_name_or_path": "Helsinki-NLP/opus-mt-ROMANCE-en",
|
4 |
"activation_dropout": 0.0,
|
5 |
"activation_function": "swish",
|
|
|
9 |
"MarianMTModel"
|
10 |
],
|
11 |
"attention_dropout": 0.0,
|
|
|
|
|
|
|
|
|
|
|
12 |
"bos_token_id": 0,
|
13 |
"classif_dropout": 0.0,
|
14 |
"classifier_dropout": 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": 65000,
|
49 |
"scale_embedding": true,
|
50 |
"share_encoder_decoder_embeddings": true,
|
51 |
"static_position_embeddings": true,
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.49.0",
|
54 |
"use_cache": true,
|
55 |
"vocab_size": 65001
|
56 |
}
|
generation_config.json
CHANGED
@@ -12,5 +12,5 @@
|
|
12 |
"num_beams": 4,
|
13 |
"pad_token_id": 65000,
|
14 |
"renormalize_logits": true,
|
15 |
-
"transformers_version": "4.
|
16 |
}
|
|
|
12 |
"num_beams": 4,
|
13 |
"pad_token_id": 65000,
|
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:74c8bab829c4d9a35087b9c6497ebad6a376699199d873c82147e761222f42e9
|
3 |
+
size 235591974
|
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:d3a6b7b0b00ebc9dd0e9eccc5e9043a0a09269f6e73d52e2d422ec5c96952038
|
3 |
+
size 117929959
|
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:0f749d0a9be2260704b5d359ea58b2bed87ff658b06d030aec289dc8558aab20
|
3 |
+
size 235912391
|
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:1af2c8d7f5571f33f3c897974189bfff3bd32eb5ff015893ad74c8afa4e22d92
|
3 |
+
size 118278296
|
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:064863ce976e27953b9ee84fe882a67da33764ad64633ab1a39898798a2ebacb
|
3 |
+
size 222916818
|
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:19f88a4f15f1a2305cf0421905adb094f193d0b56cb7771fa6e242d29f32d3c8
|
3 |
+
size 111563179
|
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:9d6cd965782db8c5bdf9b0f64fead07aefb25b43df977c59a79baf73a1504846
|
3 |
+
size 209942461
|
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:1446cce39a4dc3ec95dfdb9807b18c61b5469cfa2fff4cb94f13b0fa8f55c843
|
3 |
+
size 105028929
|
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,
|