Upload BertForTokenClassification
Browse files- config.json +95 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/benjaminn/.cache/papermage/allenai-scibert_scivocab_cased_Title,Author,Abstract,Keywords,Section,Paragraph,List,Bibliography,Equation,Algorithm,Figure,Table,Caption,Header,Footer,Footnote_words_pages_2_1e-05_0.0_470_10/checkpoints/",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-Title",
|
14 |
+
"2": "B-Author",
|
15 |
+
"3": "B-Abstract",
|
16 |
+
"4": "B-Keywords",
|
17 |
+
"5": "B-Section",
|
18 |
+
"6": "B-Paragraph",
|
19 |
+
"7": "B-List",
|
20 |
+
"8": "B-Bibliography",
|
21 |
+
"9": "B-Equation",
|
22 |
+
"10": "B-Algorithm",
|
23 |
+
"11": "B-Figure",
|
24 |
+
"12": "B-Table",
|
25 |
+
"13": "B-Caption",
|
26 |
+
"14": "B-Header",
|
27 |
+
"15": "B-Footer",
|
28 |
+
"16": "B-Footnote",
|
29 |
+
"17": "I-Title",
|
30 |
+
"18": "I-Author",
|
31 |
+
"19": "I-Abstract",
|
32 |
+
"20": "I-Keywords",
|
33 |
+
"21": "I-Section",
|
34 |
+
"22": "I-Paragraph",
|
35 |
+
"23": "I-List",
|
36 |
+
"24": "I-Bibliography",
|
37 |
+
"25": "I-Equation",
|
38 |
+
"26": "I-Algorithm",
|
39 |
+
"27": "I-Figure",
|
40 |
+
"28": "I-Table",
|
41 |
+
"29": "I-Caption",
|
42 |
+
"30": "I-Header",
|
43 |
+
"31": "I-Footer",
|
44 |
+
"32": "I-Footnote"
|
45 |
+
},
|
46 |
+
"initializer_range": 0.02,
|
47 |
+
"intermediate_size": 3072,
|
48 |
+
"label2id": {
|
49 |
+
"B-Abstract": 3,
|
50 |
+
"B-Algorithm": 10,
|
51 |
+
"B-Author": 2,
|
52 |
+
"B-Bibliography": 8,
|
53 |
+
"B-Caption": 13,
|
54 |
+
"B-Equation": 9,
|
55 |
+
"B-Figure": 11,
|
56 |
+
"B-Footer": 15,
|
57 |
+
"B-Footnote": 16,
|
58 |
+
"B-Header": 14,
|
59 |
+
"B-Keywords": 4,
|
60 |
+
"B-List": 7,
|
61 |
+
"B-Paragraph": 6,
|
62 |
+
"B-Section": 5,
|
63 |
+
"B-Table": 12,
|
64 |
+
"B-Title": 1,
|
65 |
+
"I-Abstract": 19,
|
66 |
+
"I-Algorithm": 26,
|
67 |
+
"I-Author": 18,
|
68 |
+
"I-Bibliography": 24,
|
69 |
+
"I-Caption": 29,
|
70 |
+
"I-Equation": 25,
|
71 |
+
"I-Figure": 27,
|
72 |
+
"I-Footer": 31,
|
73 |
+
"I-Footnote": 32,
|
74 |
+
"I-Header": 30,
|
75 |
+
"I-Keywords": 20,
|
76 |
+
"I-List": 23,
|
77 |
+
"I-Paragraph": 22,
|
78 |
+
"I-Section": 21,
|
79 |
+
"I-Table": 28,
|
80 |
+
"I-Title": 17,
|
81 |
+
"O": 0
|
82 |
+
},
|
83 |
+
"layer_norm_eps": 1e-12,
|
84 |
+
"max_position_embeddings": 512,
|
85 |
+
"model_type": "bert",
|
86 |
+
"num_attention_heads": 12,
|
87 |
+
"num_hidden_layers": 12,
|
88 |
+
"pad_token_id": 0,
|
89 |
+
"position_embedding_type": "absolute",
|
90 |
+
"torch_dtype": "float32",
|
91 |
+
"transformers_version": "4.28.0",
|
92 |
+
"type_vocab_size": 2,
|
93 |
+
"use_cache": true,
|
94 |
+
"vocab_size": 31116
|
95 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1c2a7a8904d6a68c1d794f9a1338a5dc5f3cdafd80bd1ab49a11276c8e161ac
|
3 |
+
size 437562221
|