Commit
·
fb75285
1
Parent(s):
b1bc614
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:68810b9b68b4e9efc393aa765b2ab031c8fa3497fab573aa0aad5bdc10e66e16
|
| 3 |
+
size 6780405
|
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:c50aa2242bfdc6b11d4aec9e5530a76e827a918a3441760c71b140301e028a09
|
| 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:b9ad60a18329ad3438f55903f4de35de5548a5efdd18f913865831d8a81c4ec2
|
| 3 |
+
size 11565
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47ea91a85885e51c59210b0ea257fcb15c1b36022833d2e1d02d5d1fd2a31b93
|
| 3 |
+
size 49677120
|