Upload BertForTokenClassification
Browse files- config.json +64 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "results/checkpoint-4725",
|
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-geo",
|
15 |
+
"2": "B-gpe",
|
16 |
+
"3": "B-per",
|
17 |
+
"4": "I-geo",
|
18 |
+
"5": "B-org",
|
19 |
+
"6": "I-org",
|
20 |
+
"7": "B-tim",
|
21 |
+
"8": "B-art",
|
22 |
+
"9": "I-art",
|
23 |
+
"10": "I-per",
|
24 |
+
"11": "I-gpe",
|
25 |
+
"12": "I-tim",
|
26 |
+
"13": "B-nat",
|
27 |
+
"14": "B-eve",
|
28 |
+
"15": "I-eve",
|
29 |
+
"16": "I-nat"
|
30 |
+
},
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 3072,
|
33 |
+
"label2id": {
|
34 |
+
"B-art": 8,
|
35 |
+
"B-eve": 14,
|
36 |
+
"B-geo": 1,
|
37 |
+
"B-gpe": 2,
|
38 |
+
"B-nat": 13,
|
39 |
+
"B-org": 5,
|
40 |
+
"B-per": 3,
|
41 |
+
"B-tim": 7,
|
42 |
+
"I-art": 9,
|
43 |
+
"I-eve": 15,
|
44 |
+
"I-geo": 4,
|
45 |
+
"I-gpe": 11,
|
46 |
+
"I-nat": 16,
|
47 |
+
"I-org": 6,
|
48 |
+
"I-per": 10,
|
49 |
+
"I-tim": 12,
|
50 |
+
"O": 0
|
51 |
+
},
|
52 |
+
"layer_norm_eps": 1e-12,
|
53 |
+
"max_position_embeddings": 512,
|
54 |
+
"model_type": "bert",
|
55 |
+
"num_attention_heads": 12,
|
56 |
+
"num_hidden_layers": 12,
|
57 |
+
"pad_token_id": 0,
|
58 |
+
"position_embedding_type": "absolute",
|
59 |
+
"torch_dtype": "float32",
|
60 |
+
"transformers_version": "4.42.4",
|
61 |
+
"type_vocab_size": 2,
|
62 |
+
"use_cache": true,
|
63 |
+
"vocab_size": 30522
|
64 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30101eb38354b911e392b55a27fc5454dd3dbb113bac81454e5e77031ab00c8d
|
3 |
+
size 435642228
|