NatureUniverse
commited on
Commit
•
39b244d
1
Parent(s):
80ef847
Initial commit
Browse files
TinyBERT-General_4L_312D/config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "huawei-noah/TinyBERT_General_4L_312D",
|
3 |
+
"architectures": [
|
4 |
+
"BertLMHeadModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"cell": {},
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"emb_size": 312,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 312,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 1200,
|
15 |
+
"is_decoder": true,
|
16 |
+
"layer_norm_eps": 1e-12,
|
17 |
+
"max_position_embeddings": 512,
|
18 |
+
"model_type": "bert",
|
19 |
+
"num_attention_heads": 12,
|
20 |
+
"num_hidden_layers": 4,
|
21 |
+
"pad_token_id": 0,
|
22 |
+
"position_embedding_type": "absolute",
|
23 |
+
"pre_trained": "",
|
24 |
+
"pretraining_tp": 1,
|
25 |
+
"structure": [],
|
26 |
+
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.35.2",
|
28 |
+
"type_vocab_size": 2,
|
29 |
+
"use_cache": false,
|
30 |
+
"vocab_size": 30522
|
31 |
+
}
|
TinyBERT-General_4L_312D/generation_config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"pad_token_id": 0,
|
4 |
+
"transformers_version": "4.35.2"
|
5 |
+
}
|
TinyBERT-General_4L_312D/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8513d24e211a754a0bcde181f3867ba0cd5cde8a451bb988f5f69f0969847621
|
3 |
+
size 57534056
|