Felladrin commited on
Commit
0216299
·
verified ·
1 Parent(s): 7a9b849

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers.js
3
+ base_model:
4
+ - roneneldan/TinyStories-Instruct-33M
5
+ ---
6
+
7
+ # TinyStories-Instruct-33M (ONNX)
8
+
9
+ This is an ONNX version of [roneneldan/TinyStories-Instruct-33M](https://huggingface.co/roneneldan/TinyStories-Instruct-33M). It was automatically converted and uploaded using [this space](https://huggingface.co/spaces/onnx-community/convert-to-onnx).
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "roneneldan/TinyStories-Instruct-33M",
4
+ "activation_function": "gelu_new",
5
+ "architectures": [
6
+ "GPTNeoForCausalLM"
7
+ ],
8
+ "attention_dropout": 0,
9
+ "attention_layers": [
10
+ "global",
11
+ "local",
12
+ "global",
13
+ "local"
14
+ ],
15
+ "attention_types": [
16
+ [
17
+ [
18
+ "global",
19
+ "local"
20
+ ],
21
+ 2
22
+ ]
23
+ ],
24
+ "bos_token_id": 50256,
25
+ "classifier_dropout": 0.1,
26
+ "embed_dropout": 0,
27
+ "eos_token_id": 50256,
28
+ "gradient_checkpointing": false,
29
+ "hidden_size": 768,
30
+ "initializer_range": 0.02,
31
+ "intermediate_size": null,
32
+ "layer_norm_epsilon": 1e-05,
33
+ "max_position_embeddings": 2048,
34
+ "model_type": "gpt_neo",
35
+ "num_heads": 16,
36
+ "num_layers": 4,
37
+ "resid_dropout": 0,
38
+ "summary_activation": null,
39
+ "summary_first_dropout": 0.1,
40
+ "summary_proj_to_labels": true,
41
+ "summary_type": "cls_index",
42
+ "summary_use_proj": true,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.49.0",
45
+ "use_cache": true,
46
+ "vocab_size": 50257,
47
+ "window_size": 256
48
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.49.0"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9354ea85e57db596065d9237bb2e00be3e76ba04dd14476beb3d90e27637663c
3
+ size 282561659
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f25c30860f37f37c3150d7f6fa2e253d2d0c1271483589aed22764a65bec064
3
+ size 185244445
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d6c55b116154047223cee5ad47bca01236fbedf68a735fba2c89cd628af2a55
3
+ size 145535649
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e677ac42bf7e06be29c4907dbbad8f92e6dc5aa38e1935210b718c0b8b7d162
3
+ size 77282432
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fefc8ef302e63f0f88bc0188b68129be37fbdbe67cce1711bf8877cb8cdd963
3
+ size 187013741
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:054d89864d314320410eb8674869ac4f6ada80777353674ca0645ffba5390491
3
+ size 104841396
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e677ac42bf7e06be29c4907dbbad8f92e6dc5aa38e1935210b718c0b8b7d162
3
+ size 77282432
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:397f4fc0026adb0d4970fde38a4288fb0e8603b72ba2742aa92e09bf53b9b990
3
+ size 77282432
quantize_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "op_block_list": null
18
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "50256": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ }
13
+ },
14
+ "bos_token": "<|endoftext|>",
15
+ "clean_up_tokenization_spaces": false,
16
+ "eos_token": "<|endoftext|>",
17
+ "errors": "replace",
18
+ "extra_special_tokens": {},
19
+ "model_max_length": 2048,
20
+ "pad_token": null,
21
+ "tokenizer_class": "GPT2Tokenizer",
22
+ "unk_token": "<|endoftext|>"
23
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff