hsiehpinghan
commited on
Commit
•
ed7f907
1
Parent(s):
58c7c22
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:da14eb5a0616d4df2e6937d1beb3bcc0a43902d3971d6f79927a791f55b4683b
|
3 |
+
size 142712
|
saved_model/1/saved_model.pb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6710042e0468b26073d4388e572c4351ffd11910698949e8b8d612310aea3dca
|
3 |
+
size 6755382
|
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:2ec2eefe554dc068aa3d75225a5fa2a9e2c7c02730bfb3e47acbbbcc278d8d2c
|
3 |
+
size 49510538
|
saved_model/1/variables/variables.index
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe4d006beab401b42c07b3456d3132f580a3dac8edd0dbc0f96e3b7d4f048380
|
3 |
+
size 11565
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:261433892e41968f5be9ac67fc83fb6a6a0ed338a7a6a801885b806b48238586
|
3 |
+
size 49677120
|