zeinab-sheikhi
commited on
Upload BertForTokenClassification
Browse files- README.md +1 -1
- config.json +62 -0
- model.safetensors +3 -0
README.md
CHANGED
@@ -5,4 +5,4 @@ metrics:
|
|
5 |
- accuracy
|
6 |
- precision
|
7 |
- recall
|
8 |
-
---
|
|
|
5 |
- accuracy
|
6 |
- precision
|
7 |
- recall
|
8 |
+
---
|
config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"-100": "[PAD]",
|
14 |
+
"0": "B-NAME_STUDENT",
|
15 |
+
"1": "B-EMAIL",
|
16 |
+
"2": "B-USERNAME",
|
17 |
+
"3": "B-ID_NUM",
|
18 |
+
"4": "B-PHONE_NUM",
|
19 |
+
"5": "B-URL_PERSONAL",
|
20 |
+
"6": "B-STREET_ADDRESS",
|
21 |
+
"7": "I-NAME_STUDENT",
|
22 |
+
"8": "I-EMAIL",
|
23 |
+
"9": "I-USERNAME",
|
24 |
+
"10": "I-ID_NUM",
|
25 |
+
"11": "I-PHONE_NUM",
|
26 |
+
"12": "I-URL_PERSONAL",
|
27 |
+
"13": "I-STREET_ADDRESS",
|
28 |
+
"14": "O"
|
29 |
+
},
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"intermediate_size": 3072,
|
32 |
+
"label2id": {
|
33 |
+
"B-EMAIL": 1,
|
34 |
+
"B-ID_NUM": 3,
|
35 |
+
"B-NAME_STUDENT": 0,
|
36 |
+
"B-PHONE_NUM": 4,
|
37 |
+
"B-STREET_ADDRESS": 6,
|
38 |
+
"B-URL_PERSONAL": 5,
|
39 |
+
"B-USERNAME": 2,
|
40 |
+
"I-EMAIL": 8,
|
41 |
+
"I-ID_NUM": 10,
|
42 |
+
"I-NAME_STUDENT": 7,
|
43 |
+
"I-PHONE_NUM": 11,
|
44 |
+
"I-STREET_ADDRESS": 13,
|
45 |
+
"I-URL_PERSONAL": 12,
|
46 |
+
"I-USERNAME": 9,
|
47 |
+
"O": 14,
|
48 |
+
"[PAD]": -100
|
49 |
+
},
|
50 |
+
"layer_norm_eps": 1e-12,
|
51 |
+
"max_position_embeddings": 512,
|
52 |
+
"model_type": "bert",
|
53 |
+
"num_attention_heads": 12,
|
54 |
+
"num_hidden_layers": 12,
|
55 |
+
"pad_token_id": 0,
|
56 |
+
"position_embedding_type": "absolute",
|
57 |
+
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.39.3",
|
59 |
+
"type_vocab_size": 2,
|
60 |
+
"use_cache": true,
|
61 |
+
"vocab_size": 30522
|
62 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7735963b4485e9c7ffb46352d17f8fb6778e976d05a463bbee2681aa2e97bce8
|
3 |
+
size 435639152
|