nicolauduran45
commited on
Commit
•
4e48e08
1
Parent(s):
ae5af8a
Upload BertForTokenClassification
Browse files- config.json +56 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-LOC",
|
15 |
+
"2": "B-PER",
|
16 |
+
"3": "I-LOC",
|
17 |
+
"4": "B-CON",
|
18 |
+
"5": "I-PER",
|
19 |
+
"6": "B-ART",
|
20 |
+
"7": "B-MAT",
|
21 |
+
"8": "I-ART",
|
22 |
+
"9": "I-CON",
|
23 |
+
"10": "B-SPE",
|
24 |
+
"11": "I-SPE",
|
25 |
+
"12": "I-MAT"
|
26 |
+
},
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"B-ART": 6,
|
31 |
+
"B-CON": 4,
|
32 |
+
"B-LOC": 1,
|
33 |
+
"B-MAT": 7,
|
34 |
+
"B-PER": 2,
|
35 |
+
"B-SPE": 10,
|
36 |
+
"I-ART": 8,
|
37 |
+
"I-CON": 9,
|
38 |
+
"I-LOC": 3,
|
39 |
+
"I-MAT": 12,
|
40 |
+
"I-PER": 5,
|
41 |
+
"I-SPE": 11,
|
42 |
+
"O": 0
|
43 |
+
},
|
44 |
+
"layer_norm_eps": 1e-12,
|
45 |
+
"max_position_embeddings": 512,
|
46 |
+
"model_type": "bert",
|
47 |
+
"num_attention_heads": 12,
|
48 |
+
"num_hidden_layers": 12,
|
49 |
+
"pad_token_id": 0,
|
50 |
+
"position_embedding_type": "absolute",
|
51 |
+
"torch_dtype": "float32",
|
52 |
+
"transformers_version": "4.30.1",
|
53 |
+
"type_vocab_size": 2,
|
54 |
+
"use_cache": true,
|
55 |
+
"vocab_size": 30522
|
56 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93681423c67ee57a6d4c940d1158c17039834b7f0c7f54b1c12424c4e676717c
|
3 |
+
size 435678701
|