kulia-moon commited on
Commit
21d7b4c
·
verified ·
1 Parent(s): 2b0ebf6

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,16 +1,9 @@
1
  ---
2
- license: mit
3
- datasets:
4
- - abisee/cnn_dailymail
5
- - SetFit/ag_news
6
- - Yelp/yelp_review_full
7
- - rajpurkar/squad
8
- language:
9
- - en
10
  base_model:
11
- - distilbert/distilgpt2
12
- library_name: transformers
13
- tags:
14
- - news
15
  ---
16
- # News2GPT (81.9M param)
 
 
 
 
1
  ---
2
+ library_name: transformers.js
 
 
 
 
 
 
 
3
  base_model:
4
+ - kulia-moon/News2GPT
 
 
 
5
  ---
6
+
7
+ # News2GPT (ONNX)
8
+
9
+ This is an ONNX version of [kulia-moon/News2GPT](https://huggingface.co/kulia-moon/News2GPT). It was automatically converted and uploaded using [this space](https://huggingface.co/spaces/onnx-community/convert-to-onnx).
config.json CHANGED
@@ -1,4 +1,6 @@
1
  {
 
 
2
  "_num_labels": 1,
3
  "activation_function": "gelu_new",
4
  "architectures": [
@@ -39,7 +41,7 @@
39
  }
40
  },
41
  "torch_dtype": "float32",
42
- "transformers_version": "4.51.1",
43
  "use_cache": true,
44
  "vocab_size": 50257
45
  }
 
1
  {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "kulia-moon/News2GPT",
4
  "_num_labels": 1,
5
  "activation_function": "gelu_new",
6
  "architectures": [
 
41
  }
42
  },
43
  "torch_dtype": "float32",
44
+ "transformers_version": "4.49.0",
45
  "use_cache": true,
46
  "vocab_size": 50257
47
  }
generation_config.json CHANGED
@@ -2,5 +2,5 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 50256,
4
  "eos_token_id": 50256,
5
- "transformers_version": "4.51.1"
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 50256,
4
  "eos_token_id": 50256,
5
+ "transformers_version": "4.49.0"
6
  }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df1c9c23188bb8bbf278de64e362aca0dd0f071bde8e6da3367f26cba722eee0
3
+ size 327825716
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b1e7fc5a3babfab942e3441302d4c87c926cf3d8fe33dbbcc79e8a850137cdc
3
+ size 327825735
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:735c17f49e9a4c572677c65dcdb8e0f18a80a83afb00b425b6e7d3932eef81c8
3
+ size 164003836
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:515a03ca09aaadaa87b8e07225b07abdc44ee00b12fd1858d34acfc11e58e33b
3
+ size 236698606
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b1e7fc5a3babfab942e3441302d4c87c926cf3d8fe33dbbcc79e8a850137cdc
3
+ size 327825735
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee438353ce45f44a541f8b3a3481bc3f5411ce826859f00a8622fc099dfe83aa
3
+ size 164003855
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:515a03ca09aaadaa87b8e07225b07abdc44ee00b12fd1858d34acfc11e58e33b
3
+ size 236698606
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4034ed289c13875ea3e2f2719ea44609f1478db2480b37a45323f55397a6d27f
3
+ size 236698618
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": false,
12
+ "reduce_range": false,
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 CHANGED
@@ -13,7 +13,13 @@
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
- "pad_token": "<|endoftext|>",
 
 
 
 
 
 
17
  "unk_token": {
18
  "content": "<|endoftext|>",
19
  "lstrip": false,
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
  "unk_token": {
24
  "content": "<|endoftext|>",
25
  "lstrip": false,
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
vocab.json CHANGED
The diff for this file is too large to render. See raw diff