hsiehpinghan
commited on
Commit
•
e30655b
1
Parent(s):
eec3c40
add model
Browse files
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "hfl/chinese-electra-180g-small-discriminator",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"ElectraForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"embedding_size": 128,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 256,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 1024,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "electra",
|
17 |
+
"num_attention_heads": 4,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"output_past": true,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"position_embedding_type": "absolute",
|
22 |
+
"summary_activation": "gelu",
|
23 |
+
"summary_last_dropout": 0.1,
|
24 |
+
"summary_type": "first",
|
25 |
+
"summary_use_proj": true,
|
26 |
+
"transformers_version": "4.9.2",
|
27 |
+
"type_vocab_size": 2,
|
28 |
+
"vocab_size": 21128
|
29 |
+
}
|
saved_model/1/keras_metadata.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:373a4d85bda3c264021174ad990d16c40197073edbc6cb3b5adddcee7dcc287d
|
3 |
+
size 145492
|
saved_model/1/saved_model.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14d935cc4f9fc2254217cabe567a1b0e242ec1610207c3e01a32dc161fdf0d0e
|
3 |
+
size 6780363
|
saved_model/1/variables/variables.data-00000-of-00001
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7175279b535b03201d1fcb0d7d069610ea98b2759e1ba2a50eee7846f13ceef5
|
3 |
+
size 49554828
|
saved_model/1/variables/variables.index
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:779218affc90b77814fc1dd49a93ac9a956a9803d95e45c272cbf6e8ce8be4b7
|
3 |
+
size 11565
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c02829bac374ed38dc49693f93ea2db79a6b813308b39164bbb0643ce05be6c
|
3 |
+
size 49677120
|