rv2307 commited on
Commit
03d1826
1 Parent(s): 033e928

Upload ElectraForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +48 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "electra_small_finetuned_feb16/",
3
+ "architectures": [
4
+ "ElectraForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 128,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 256,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-PER",
15
+ "2": "I-PER",
16
+ "3": "B-ORG",
17
+ "4": "I-ORG",
18
+ "5": "B-LOC",
19
+ "6": "I-LOC"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 1024,
23
+ "label2id": {
24
+ "B-LOC": "5",
25
+ "B-ORG": "3",
26
+ "B-PER": "1",
27
+ "I-LOC": "6",
28
+ "I-ORG": "4",
29
+ "I-PER": "2",
30
+ "O": "0"
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "max_position_embeddings": 512,
34
+ "model_type": "electra",
35
+ "num_attention_heads": 4,
36
+ "num_hidden_layers": 12,
37
+ "pad_token_id": 0,
38
+ "position_embedding_type": "absolute",
39
+ "summary_activation": "gelu",
40
+ "summary_last_dropout": 0.1,
41
+ "summary_type": "first",
42
+ "summary_use_proj": true,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.35.2",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "vocab_size": 30522
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:167492b703443db6be5f65a3b9fc0d10a39c175d955a19ac64539973a630e470
3
+ size 53962964