rasgaard commited on
Commit
97a65c0
1 Parent(s): dca8f0d

Upload LukeForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +78 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./models/20newsgroups_luke-base-probe/",
3
+ "architectures": [
4
+ "LukeForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bert_model_name": "roberta-base",
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "entity_emb_size": 256,
11
+ "entity_vocab_size": 500000,
12
+ "eos_token_id": 2,
13
+ "gradient_checkpointing": false,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.1,
16
+ "hidden_size": 768,
17
+ "id2label": {
18
+ "0": "LABEL_0",
19
+ "1": "LABEL_1",
20
+ "2": "LABEL_2",
21
+ "3": "LABEL_3",
22
+ "4": "LABEL_4",
23
+ "5": "LABEL_5",
24
+ "6": "LABEL_6",
25
+ "7": "LABEL_7",
26
+ "8": "LABEL_8",
27
+ "9": "LABEL_9",
28
+ "10": "LABEL_10",
29
+ "11": "LABEL_11",
30
+ "12": "LABEL_12",
31
+ "13": "LABEL_13",
32
+ "14": "LABEL_14",
33
+ "15": "LABEL_15",
34
+ "16": "LABEL_16",
35
+ "17": "LABEL_17",
36
+ "18": "LABEL_18",
37
+ "19": "LABEL_19"
38
+ },
39
+ "initializer_range": 0.02,
40
+ "intermediate_size": 3072,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1,
44
+ "LABEL_10": 10,
45
+ "LABEL_11": 11,
46
+ "LABEL_12": 12,
47
+ "LABEL_13": 13,
48
+ "LABEL_14": 14,
49
+ "LABEL_15": 15,
50
+ "LABEL_16": 16,
51
+ "LABEL_17": 17,
52
+ "LABEL_18": 18,
53
+ "LABEL_19": 19,
54
+ "LABEL_2": 2,
55
+ "LABEL_3": 3,
56
+ "LABEL_4": 4,
57
+ "LABEL_5": 5,
58
+ "LABEL_6": 6,
59
+ "LABEL_7": 7,
60
+ "LABEL_8": 8,
61
+ "LABEL_9": 9
62
+ },
63
+ "layer_norm_eps": 1e-05,
64
+ "max_position_embeddings": 514,
65
+ "model_type": "luke",
66
+ "num_attention_heads": 12,
67
+ "num_hidden_layers": 12,
68
+ "output_past": true,
69
+ "pad_token_id": 1,
70
+ "position_embedding_type": "absolute",
71
+ "problem_type": "single_label_classification",
72
+ "torch_dtype": "float32",
73
+ "transformers_version": "4.27.2",
74
+ "type_vocab_size": 1,
75
+ "use_cache": true,
76
+ "use_entity_aware_attention": true,
77
+ "vocab_size": 50267
78
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fa65392656ef9f27491f932cd720ec3102302933aa89641677293b592f6652c
3
+ size 1098161769