Xenova HF staff commited on
Commit
c37fb9e
1 Parent(s): e9a1f71

Upload folder using huggingface_hub

Browse files
Files changed (42) hide show
  1. .gitattributes +1 -0
  2. config.json +60 -0
  3. generation_config.json +16 -0
  4. onnx/decoder_model.onnx +3 -0
  5. onnx/decoder_model_bnb4.onnx +3 -0
  6. onnx/decoder_model_fp16.onnx +3 -0
  7. onnx/decoder_model_int8.onnx +3 -0
  8. onnx/decoder_model_merged.onnx +3 -0
  9. onnx/decoder_model_merged_bnb4.onnx +3 -0
  10. onnx/decoder_model_merged_fp16.onnx +3 -0
  11. onnx/decoder_model_merged_int8.onnx +3 -0
  12. onnx/decoder_model_merged_q4.onnx +3 -0
  13. onnx/decoder_model_merged_q4f16.onnx +3 -0
  14. onnx/decoder_model_merged_quantized.onnx +3 -0
  15. onnx/decoder_model_merged_uint8.onnx +3 -0
  16. onnx/decoder_model_q4.onnx +3 -0
  17. onnx/decoder_model_q4f16.onnx +3 -0
  18. onnx/decoder_model_quantized.onnx +3 -0
  19. onnx/decoder_model_uint8.onnx +3 -0
  20. onnx/decoder_with_past_model.onnx +3 -0
  21. onnx/decoder_with_past_model_bnb4.onnx +3 -0
  22. onnx/decoder_with_past_model_fp16.onnx +3 -0
  23. onnx/decoder_with_past_model_int8.onnx +3 -0
  24. onnx/decoder_with_past_model_q4.onnx +3 -0
  25. onnx/decoder_with_past_model_q4f16.onnx +3 -0
  26. onnx/decoder_with_past_model_quantized.onnx +3 -0
  27. onnx/decoder_with_past_model_uint8.onnx +3 -0
  28. onnx/encoder_model.onnx +3 -0
  29. onnx/encoder_model_bnb4.onnx +3 -0
  30. onnx/encoder_model_fp16.onnx +3 -0
  31. onnx/encoder_model_int8.onnx +3 -0
  32. onnx/encoder_model_q4.onnx +3 -0
  33. onnx/encoder_model_q4f16.onnx +3 -0
  34. onnx/encoder_model_quantized.onnx +3 -0
  35. onnx/encoder_model_uint8.onnx +3 -0
  36. quantize_config.json +17 -0
  37. source.spm +3 -0
  38. special_tokens_map.json +5 -0
  39. target.spm +0 -0
  40. tokenizer.json +0 -0
  41. tokenizer_config.json +38 -0
  42. vocab.json +0 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-ru-en",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "swish",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "MarianMTModel"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bad_words_ids": [
13
+ [
14
+ 62517
15
+ ]
16
+ ],
17
+ "bos_token_id": 0,
18
+ "classif_dropout": 0.0,
19
+ "classifier_dropout": 0.0,
20
+ "d_model": 512,
21
+ "decoder_attention_heads": 8,
22
+ "decoder_ffn_dim": 2048,
23
+ "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
+ "decoder_start_token_id": 62517,
26
+ "decoder_vocab_size": 62518,
27
+ "dropout": 0.1,
28
+ "encoder_attention_heads": 8,
29
+ "encoder_ffn_dim": 2048,
30
+ "encoder_layerdrop": 0.0,
31
+ "encoder_layers": 6,
32
+ "eos_token_id": 0,
33
+ "forced_eos_token_id": 0,
34
+ "id2label": {
35
+ "0": "LABEL_0",
36
+ "1": "LABEL_1",
37
+ "2": "LABEL_2"
38
+ },
39
+ "init_std": 0.02,
40
+ "is_encoder_decoder": true,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1,
44
+ "LABEL_2": 2
45
+ },
46
+ "max_length": 512,
47
+ "max_position_embeddings": 512,
48
+ "model_type": "marian",
49
+ "normalize_before": false,
50
+ "normalize_embedding": false,
51
+ "num_beams": 6,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 62517,
54
+ "scale_embedding": true,
55
+ "share_encoder_decoder_embeddings": true,
56
+ "static_position_embeddings": true,
57
+ "transformers_version": "4.43.4",
58
+ "use_cache": true,
59
+ "vocab_size": 62518
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 62517
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 62517,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 6,
13
+ "pad_token_id": 62517,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.43.4"
16
+ }
onnx/decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd83dce8cc7d3be8522d40200b3907ef1044d6b59209abf1b5421ba9fc9e0d72
3
+ size 230517682
onnx/decoder_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70434dd2ddc50cacb781c771612b59812f0ecbe94608497c5fad1ff1c6cc51a8
3
+ size 144019589
onnx/decoder_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c74de9366bbb5ef96c7ae7a23464310321d4b4e45f4c537efc8640632cbd0801
3
+ size 115403526
onnx/decoder_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29a0c34e0796d01eea5220ff8c4dbe1616f0cf7aa7dfc940de0ca82d3a93fcf3
3
+ size 186516257
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b4c4750da5ae8f332b2e5de7d879bbd126bd59b08e300a202d9ff6c1befc0ed
3
+ size 230864860
onnx/decoder_model_merged_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e274ad2450de62ab088e96929451f12a89b338f0eb49612529e023497cefb1b
3
+ size 144373799
onnx/decoder_model_merged_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a23d61fa4f2125bac5783e3b6b064fcccbd6bc4ddb386e57601e1fec3457ccdc
3
+ size 224591172
onnx/decoder_model_merged_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fef11505dc0564d0d6d54e37529d7ba949826fe19fd7193052610989fccbf28
3
+ size 186923812
onnx/decoder_model_merged_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df818fdc80dc3c8adaa5244851ee5a260126144a1c1f01c82bada8710c4c3cdc
3
+ size 145945751
onnx/decoder_model_merged_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9965e35a9854cbaaa9a2fe5240364e9aa7766da62af42e089bc3d4e20a18ca65
3
+ size 156779443
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fef11505dc0564d0d6d54e37529d7ba949826fe19fd7193052610989fccbf28
3
+ size 186923812
onnx/decoder_model_merged_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9023a4e9de87ffc661193bfc12143b2322eb353ed32a64d2ec351faa71c81051
3
+ size 186923812
onnx/decoder_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c331af5137f2b51c9457fdf72029e903d9ba3015296a8c404d509aab68826743
3
+ size 145591973
onnx/decoder_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0188e05bc87a53afb8c8343d36290efd1b6b0a2b22d82498d7cc8e03f61b4db3
3
+ size 79236601
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29a0c34e0796d01eea5220ff8c4dbe1616f0cf7aa7dfc940de0ca82d3a93fcf3
3
+ size 186516257
onnx/decoder_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08c978afb418e8bd9b8093913deb98e31907322f4e084be570d25d380cfc76ba
3
+ size 186516257
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54740cfd48eac71d9503bf7df140440b89340d9d7a5482b5f2ca882333246008
3
+ size 217837452
onnx/decoder_with_past_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a29558b1132bf509e2992001857cff32dd3ca919e086546eaed0851a8b18ffd5
3
+ size 142150915
onnx/decoder_with_past_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7abd55af7553c9fc39054363ab5fc1ccdf4960a590763f3d56077c1325e87738
3
+ size 109029892
onnx/decoder_with_past_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f39675dcf799f72aa6e8d86c933787d16c330c7bfcf8da05e132455abd53f279
3
+ size 183230514
onnx/decoder_with_past_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f9c60a95a110dfe1f17f96c9bd6286a1d629759f36a684bac8141a5d559275a
3
+ size 143526787
onnx/decoder_with_past_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2c3ff508e552657be66639af4c605b5a3689a9b8d5b934f1f1a6c2aed16f60b
3
+ size 77383163
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f39675dcf799f72aa6e8d86c933787d16c330c7bfcf8da05e132455abd53f279
3
+ size 183230514
onnx/decoder_with_past_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d821c7302fc992d81b59a11dbadf28d5820bebce48dee50eb0255aacfd784769
3
+ size 183230514
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cb69afdb6a238d66383cf566e4324d7c9a17f23dfd51e81f2c10ee17ef96b4b
3
+ size 204865744
onnx/encoder_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf5f16a65c36ffa22bd23393b971906d159949d45f26e0e6830d5cbf402528ee
3
+ size 139990778
onnx/encoder_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cee83351968d7301403f0387777b342f130394143c65bdf5d1543bef136cedc
3
+ size 102494433
onnx/encoder_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdd4d1de9cb02feaae8bc892e0e21b1bfd1741fa43a2895d471ee5f53ae260c4
3
+ size 51603782
onnx/encoder_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6cd683d622823ab9b546ad2dcfb1b9036a96df66ecf4fad59f9785f2b002b88
3
+ size 141170138
onnx/encoder_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f32fd6d8ca336122eb2b64d7ac8420c77c3812557d125774f6bfcddee96ce1df
3
+ size 75367915
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdd4d1de9cb02feaae8bc892e0e21b1bfd1741fa43a2895d471ee5f53ae260c4
3
+ size 51603782
onnx/encoder_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f180e8ba626e0713f52c6b5a239b4def4437ccf56221eb8831910cebdffb08f1
3
+ size 51603782
quantize_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
source.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:745998e51ba5b058e38b7ac7765c25c43ed5c1c39cc92b27163b9b2e323c9d7c
3
+ size 1080169
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
target.spm ADDED
Binary file (803 kB). View file
 
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "62517": {
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": true,
29
+ "eos_token": "</s>",
30
+ "model_max_length": 512,
31
+ "pad_token": "<pad>",
32
+ "separate_vocabs": false,
33
+ "source_lang": "ru",
34
+ "sp_model_kwargs": {},
35
+ "target_lang": "en",
36
+ "tokenizer_class": "MarianTokenizer",
37
+ "unk_token": "<unk>"
38
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff