add model
Browse files- config.json +43 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/workspace/recommend_for_huggingface/recommend_for_huggingface/model_ckpt_hugging/use_amp/Focal_0.8_AdamW_scheduler_500_lr_5e-05/14",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 768,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "ALL_OK",
|
14 |
+
"1": "NAME_OK",
|
15 |
+
"2": "INTRODUCTION_OK",
|
16 |
+
"3": "ALL_NOT_OK"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"ALL_NOT_OK": 3,
|
22 |
+
"ALL_OK": 0,
|
23 |
+
"INTRODUCTION_OK": 2,
|
24 |
+
"NAME_OK": 1
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"max_position_embeddings": 512,
|
28 |
+
"model_type": "electra",
|
29 |
+
"num_attention_heads": 12,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"pad_token_id": 0,
|
32 |
+
"position_embedding_type": "absolute",
|
33 |
+
"summary_activation": "gelu",
|
34 |
+
"summary_last_dropout": 0.1,
|
35 |
+
"summary_type": "first",
|
36 |
+
"summary_use_proj": true,
|
37 |
+
"tokenizer_class": "BertTokenizer",
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.16.2",
|
40 |
+
"type_vocab_size": 2,
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 50135
|
43 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2dcad41d4d2091d89c54ba246eb5a0daefb770a04ecec0d43d02c056c97ea06e
|
3 |
+
size 498274925
|