jdp8 commited on
Commit
74a5344
·
verified ·
1 Parent(s): 1a40368

Upload 32 files

Browse files
config.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "VisionEncoderDecoderModel"
4
+ ],
5
+ "bos_token_id": 50256,
6
+ "decoder": {
7
+ "activation_function": "gelu_new",
8
+ "add_cross_attention": true,
9
+ "architectures": [
10
+ "GPT2LMHeadModel"
11
+ ],
12
+ "attn_pdrop": 0.1,
13
+ "decoder_start_token_id": 50256,
14
+ "embd_pdrop": 0.1,
15
+ "initializer_range": 0.02,
16
+ "is_decoder": true,
17
+ "layer_norm_epsilon": 1e-05,
18
+ "model_type": "gpt2",
19
+ "n_ctx": 1024,
20
+ "n_embd": 768,
21
+ "n_head": 12,
22
+ "n_inner": null,
23
+ "n_layer": 12,
24
+ "n_positions": 1024,
25
+ "pad_token_id": 50256,
26
+ "reorder_and_upcast_attn": false,
27
+ "resid_pdrop": 0.1,
28
+ "scale_attn_by_inverse_layer_idx": false,
29
+ "scale_attn_weights": true,
30
+ "summary_activation": null,
31
+ "summary_first_dropout": 0.1,
32
+ "summary_proj_to_labels": true,
33
+ "summary_type": "cls_index",
34
+ "summary_use_proj": true,
35
+ "task_specific_params": {
36
+ "text-generation": {
37
+ "do_sample": true,
38
+ "max_length": 50
39
+ }
40
+ },
41
+ "torch_dtype": "float32",
42
+ "use_cache": true,
43
+ "vocab_size": 50257
44
+ },
45
+ "decoder_start_token_id": 50256,
46
+ "encoder": {
47
+ "architectures": [
48
+ "ViTModel"
49
+ ],
50
+ "attention_probs_dropout_prob": 0.0,
51
+ "encoder_stride": 16,
52
+ "hidden_act": "gelu",
53
+ "hidden_dropout_prob": 0.0,
54
+ "hidden_size": 768,
55
+ "image_size": 224,
56
+ "initializer_range": 0.02,
57
+ "intermediate_size": 3072,
58
+ "layer_norm_eps": 1e-12,
59
+ "model_type": "vit",
60
+ "num_attention_heads": 12,
61
+ "num_channels": 3,
62
+ "num_hidden_layers": 12,
63
+ "patch_size": 16,
64
+ "pooler_act": "tanh",
65
+ "pooler_output_size": 768,
66
+ "qkv_bias": true,
67
+ "torch_dtype": "float32"
68
+ },
69
+ "eos_token_id": 50256,
70
+ "is_encoder_decoder": true,
71
+ "model_type": "vision-encoder-decoder",
72
+ "pad_token_id": 50256,
73
+ "tie_word_embeddings": false,
74
+ "torch_dtype": "float32",
75
+ "transformers_version": "4.52.4",
76
+ "use_cache": true
77
+ }
decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f803a48d8de73a0b0940a0152881fec87a3115f9d2f33c96eaed7ddabe918010
3
+ size 611915715
decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95eb4d9d637eb749f2fca9a25cdcfcd1f3531627e635085485d3fd28cb3826b9
3
+ size 613001536
decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce4836b87c7fee88c400892799b4a1bd71fb7debdc5c9f9e8821f477c1bc7f53
3
+ size 611660787
encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2fcf7f4a3d5c1b0134b3e9c104b9e687545d1df634eeeb1d99acc0ee15566a6
3
+ size 343383419
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "decoder_start_token_id": 50256,
5
+ "eos_token_id": 50256,
6
+ "pad_token_id": 50256,
7
+ "transformers_version": "4.52.4"
8
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
onnx/decoder_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c43dd9e55611c474463bb1f86e4050aab07651a5908ff338be67c7892cf3b72
3
+ size 611915734
onnx/decoder_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5ca72a6274ee629bef64de8ccec8a9655a51865c82be18aef117e12d02c6ee7
3
+ size 306309630
onnx/decoder_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1bdf3484511ef4421be40467fae696762e644248761cdd57d73ecddc2611c40
3
+ size 308564516
onnx/decoder_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c43dd9e55611c474463bb1f86e4050aab07651a5908ff338be67c7892cf3b72
3
+ size 611915734
onnx/decoder_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:304e2fdad1bea86c1fe2e0eab72b1090c810f7b57da435ead9c28987f1b78ca3
3
+ size 306309649
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1bdf3484511ef4421be40467fae696762e644248761cdd57d73ecddc2611c40
3
+ size 308564516
onnx/decoder_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc2d3cd525c9ebc3b3689a9b2a2d8e01a2fe5d940c8862e2f24a09d12aabfcbc
3
+ size 308564562
onnx/decoder_with_past_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdca4b52161e0f4e6eda11beb4bcbfc039a4dba3cd27a4a2e0e1dbe847be48f6
3
+ size 611660806
onnx/decoder_with_past_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f597e7e7964d2900389aa050964d6846f0aede63bf59e0a01f6c871adcb6b38
3
+ size 306059317
onnx/decoder_with_past_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3d207ebd90ad544a2451eb4ca2cda59f2e4163f359b8969fb4db0fe605013a5
3
+ size 308307860
onnx/decoder_with_past_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdca4b52161e0f4e6eda11beb4bcbfc039a4dba3cd27a4a2e0e1dbe847be48f6
3
+ size 611660806
onnx/decoder_with_past_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df0f56003cb2e404bdbd3685f8983ceb9c5b216d5a3eb31785ef87a074e446f9
3
+ size 306059336
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3d207ebd90ad544a2451eb4ca2cda59f2e4163f359b8969fb4db0fe605013a5
3
+ size 308307860
onnx/decoder_with_past_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e71b394820f981a9154acbd31d202f2a45c290f91c4138116e2ba2691e44e12
3
+ size 308307906
onnx/encoder_model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:667a98bc70c8020e59b7ae4853207d55b0475d6568a89f3a242011842b0506b4
3
+ size 51431741
onnx/encoder_model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:370e573eec80ab59b72999d7c525f648f0db0400d4d635f8f814bd46e255979f
3
+ size 171786205
onnx/encoder_model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:597463e3fdcf779bb7979464eb9d011751c524ab0ecc6c1af9acb45a31284612
3
+ size 86899824
onnx/encoder_model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8edf694ef56774d6d669d67bbf2cb53dbb0f90ac8cdb81a8df5dff32b46d505d
3
+ size 56739629
onnx/encoder_model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7f05b7bd9c809f59d6ef0d4077c6d17fa468be0c0b875924de77b2eb9c75163
3
+ size 49703408
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b58c417d80464a2a787d96d59a0c0af6aa0220c4d4fbff82917925c1e577b818
3
+ size 86899861
onnx/encoder_model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b58c417d80464a2a787d96d59a0c0af6aa0220c4d4fbff82917925c1e577b818
3
+ size 86899861
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": false,
15
+ "eos_token": "<|endoftext|>",
16
+ "extra_special_tokens": {},
17
+ "max_length": 32,
18
+ "model_max_length": 1024,
19
+ "pad_to_multiple_of": null,
20
+ "pad_token": "<|endoftext|>",
21
+ "pad_token_type_id": 0,
22
+ "padding_side": "right",
23
+ "stride": 0,
24
+ "tokenizer_class": "GPT2Tokenizer",
25
+ "truncation_side": "right",
26
+ "truncation_strategy": "longest_first",
27
+ "unk_token": "<|endoftext|>"
28
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff