Xenova HF staff commited on
Commit
d99062c
·
verified ·
1 Parent(s): ffa6ad2

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-MarianMTModel",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "architectures": [
6
+ "MarianMTModel"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bos_token_id": 0,
10
+ "classifier_dropout": 0.0,
11
+ "d_model": 16,
12
+ "decoder_attention_heads": 4,
13
+ "decoder_ffn_dim": 4,
14
+ "decoder_layerdrop": 0.0,
15
+ "decoder_layers": 2,
16
+ "decoder_start_token_id": 3,
17
+ "decoder_vocab_size": 99,
18
+ "dropout": 0.1,
19
+ "encoder_attention_heads": 4,
20
+ "encoder_ffn_dim": 4,
21
+ "encoder_layerdrop": 0.0,
22
+ "encoder_layers": 2,
23
+ "eos_token_id": 0,
24
+ "forced_eos_token_id": null,
25
+ "init_std": 0.02,
26
+ "is_encoder_decoder": true,
27
+ "max_position_embeddings": 20,
28
+ "model_type": "marian",
29
+ "num_hidden_layers": 2,
30
+ "pad_token_id": 58100,
31
+ "scale_embedding": false,
32
+ "share_encoder_decoder_embeddings": true,
33
+ "transformers_version": "4.43.4",
34
+ "use_cache": true,
35
+ "vocab_size": 58101
36
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 3,
5
+ "eos_token_id": 0,
6
+ "pad_token_id": 58100,
7
+ "transformers_version": "4.43.4"
8
+ }
onnx/decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2996154030ef92856395c294469218329600a4bce94be6bcd8d22a1e0e201024
3
+ size 4074028
onnx/decoder_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af32eb1c268cbedca329c1c8924a2abce9ae9e731152dd3438b75af8b326b3d6
3
+ size 4062055
onnx/decoder_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96b528b4f9dd2a96f2bdaa6ab00e81dda72b75078783c65f70df109712ce7390
3
+ size 2089249
onnx/decoder_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a165ee3b4f0219cdf0c5402709da8212a41690ed7d1dc429dc952aaf670284c
3
+ size 5015888
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a60a6bce1bae56ed21b26d7e29f19d69ac2af268f74f85a003f20d1983b0d0ac
3
+ size 4194149
onnx/decoder_model_merged_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:858052de46988c8fb8997de44365ba0c88c0f11d5938355daa27975eecab0af4
3
+ size 4184472
onnx/decoder_model_merged_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c59f04d53fb1d44e6c702759414316b44d984888dd950ef590754429313178cb
3
+ size 4202491
onnx/decoder_model_merged_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b54d785e95c6beeb9cfb5db51701327219dd143b9a46d2275c0095010dac2d6
3
+ size 5156530
onnx/decoder_model_merged_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83dfa62c4d3663dc7aab46f8c959af32b5b098d136de62275383eaee2a3758b3
3
+ size 4187648
onnx/decoder_model_merged_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95a5963acfbcd69e06e15054730ca975464e09e978501c2bd09db35e1a51d905
3
+ size 4202370
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b54d785e95c6beeb9cfb5db51701327219dd143b9a46d2275c0095010dac2d6
3
+ size 5156530
onnx/decoder_model_merged_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d371b58d2dae11d29b5762b189e2eeab558e58e1bbaf96237b644f57b3d2414e
3
+ size 5156528
onnx/decoder_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4aeae27b849f7b1d4ef1642526f92bb9af5c705d0d58bb7f96fc22e44e3d4d7a
3
+ size 4065375
onnx/decoder_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb56a43a7ceec05c6d09a507352a16bd1ba2511f0c5cd8d5df6c161ad82f9022
3
+ size 2088708
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a165ee3b4f0219cdf0c5402709da8212a41690ed7d1dc429dc952aaf670284c
3
+ size 5015888
onnx/decoder_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e8246ce2d6641bc8a25a2f4819da1224456ce7ad9027612fe1151593e9aeaba
3
+ size 5015886
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0a1f876fad69426ad5ba6ce3be7f5ccaf6e0d2062f00d821e1b4bd3211d4590
3
+ size 4041456
onnx/decoder_with_past_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84855c9937d314f38fb4eca6321ca98bedf919db663c151929e96f8752739565
3
+ size 4032407
onnx/decoder_with_past_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5a3449e4f3348eeb107d874396b5e626f9fc342b400e014fe4a901d29ddd2cf
3
+ size 2059694
onnx/decoder_with_past_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b7fa0247c759c5a14c8cb710f3bb4882498daef8fef0b8eeacfc94e8eaa6424
3
+ size 4981987
onnx/decoder_with_past_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b14a655fca303c378fe74cbd115c7344e1b590d8bb53f9a1616fb1e71f07c30
3
+ size 4035055
onnx/decoder_with_past_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd3dc18e0077836b1ddda2cdb176826914641ca7e5e0a96503c632b80c02de96
3
+ size 2059485
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b7fa0247c759c5a14c8cb710f3bb4882498daef8fef0b8eeacfc94e8eaa6424
3
+ size 4981987
onnx/decoder_with_past_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee8108d1301dbe803506ea1379f552abedc7f11d404964350b3550db019409a6
3
+ size 4981985
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d5469b30f74739191faa7cf8ba34638de1c85b7e184e02237e9a24ec63d4df3
3
+ size 3774151
onnx/encoder_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a961f70a5431ba3ef8122a8782be65a4927b913ce4a851959fdb56f0f5b50af3
3
+ size 3768033
onnx/encoder_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:423ff70fdf036cb7f57947d3d741ba186ba04415c09cf89ccf38001f033f17a8
3
+ size 1909251
onnx/encoder_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74a843eb603e54710db7e45ab8d7c1d9ff6f77fcdf7bbd9dd74b70877a437abc
3
+ size 990710
onnx/encoder_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b286417a5c27aa80b06af84eec8f4476703632d781d0e644799077faf9ec4bf7
3
+ size 3770009
onnx/encoder_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:049f1818106fda78334d4c981a259821e5efe1f37edfa330d4b544d8691b6bf6
3
+ size 1909381
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74a843eb603e54710db7e45ab8d7c1d9ff6f77fcdf7bbd9dd74b70877a437abc
3
+ size 990710
onnx/encoder_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a80d842b1f6cfa8b3674bcd6ecbb4a41ffbbcb22571b4373f1239622db3a8aa
3
+ size 990708
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
Binary file (768 kB). View file
 
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 (797 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
+ "58100": {
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": 20,
31
+ "pad_token": "<pad>",
32
+ "separate_vocabs": false,
33
+ "source_lang": "en",
34
+ "sp_model_kwargs": {},
35
+ "target_lang": "de",
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