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-sv-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 |
-
56433
|
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": 56433,
|
54 |
"scale_embedding": true,
|
55 |
"share_encoder_decoder_embeddings": true,
|
56 |
"static_position_embeddings": true,
|
57 |
-
"
|
|
|
58 |
"use_cache": true,
|
59 |
"vocab_size": 56434
|
60 |
}
|
|
|
1 |
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
"_name_or_path": "Helsinki-NLP/opus-mt-sv-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": 56433,
|
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": 56434
|
57 |
}
|
generation_config.json
CHANGED
@@ -12,5 +12,5 @@
|
|
12 |
"num_beams": 6,
|
13 |
"pad_token_id": 56433,
|
14 |
"renormalize_logits": true,
|
15 |
-
"transformers_version": "4.
|
16 |
}
|
|
|
12 |
"num_beams": 6,
|
13 |
"pad_token_id": 56433,
|
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:41d3b8c1d35114e3598bb151783ea1ef77d5907f5d26702cf165bc2529699589
|
3 |
+
size 218012490
|
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:638eeb19d9715d66e555fb2ba26bf62147e534c7a4e5ac3c282ce2170f620ff6
|
3 |
+
size 109140217
|
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:d3885b2e1363c416363837f0ba93c383e6810fd1696b414356a2fb0e586f4873
|
3 |
+
size 218332907
|
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:f378e1b819d9121775ddd901c09195245aa542c23cae611ba5ce46683620d96d
|
3 |
+
size 109488782
|
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:3ed5d5684b9c524f6df011fb85b5b466b3246a97236f2699a3057acd18f88ff7
|
3 |
+
size 205337602
|
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:2f784013b22b3a3284b9c7822c39dd42a7c7960423ea29aca6a0ff0e153a74e9
|
3 |
+
size 102773761
|
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:811fa1b1dcbfd6db03753c370d81d68256e54b704b6ce60ac1c2bba30e1823c9
|
3 |
+
size 192397245
|
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:20ab7ab27e3fea2b8ea9960d79abf7a0ca8f2658a4046f9ef391b39d7c465008
|
3 |
+
size 96256321
|
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,
|