krisGPT commited on
Commit
12b98b0
1 Parent(s): a913bfa

Upload ElectraForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +50 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "krisGPT/electra_student",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "ElectraForTokenClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "embedding_size": 128,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 256,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 1024,
24
+ "label2id": {
25
+ "LABEL_0": 0,
26
+ "LABEL_1": 1,
27
+ "LABEL_2": 2,
28
+ "LABEL_3": 3,
29
+ "LABEL_4": 4,
30
+ "LABEL_5": 5,
31
+ "LABEL_6": 6
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_position_embeddings": 512,
35
+ "model_type": "electra",
36
+ "num_attention_heads": 4,
37
+ "num_hidden_layers": 3,
38
+ "output_past": true,
39
+ "pad_token_id": 0,
40
+ "position_embedding_type": "absolute",
41
+ "summary_activation": "gelu",
42
+ "summary_last_dropout": 0.1,
43
+ "summary_type": "first",
44
+ "summary_use_proj": true,
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.33.3",
47
+ "type_vocab_size": 2,
48
+ "use_cache": true,
49
+ "vocab_size": 21128
50
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7cc09eeae41f1acbff4be9b23ca21603c064abd8b7f2e85d6b06f41344b1342
3
+ size 20717340