cindyangelira
commited on
Commit
•
fbe2ae7
1
Parent(s):
67ec522
Add model
Browse files- config.json +24 -24
- model.safetensors +1 -1
config.json
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
|
|
3 |
"architectures": [
|
4 |
"XLMRobertaForTokenClassification"
|
5 |
],
|
@@ -7,37 +8,36 @@
|
|
7 |
"bos_token_id": 0,
|
8 |
"classifier_dropout": null,
|
9 |
"eos_token_id": 2,
|
10 |
-
"gradient_checkpointing": false,
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 1024,
|
14 |
"id2label": {
|
15 |
-
"0": "
|
16 |
-
"1": "
|
17 |
-
"2": "B-
|
18 |
-
"3": "
|
19 |
-
"4": "
|
20 |
-
"5": "B-
|
21 |
-
"6": "
|
22 |
-
"7": "
|
23 |
-
"8": "B-
|
24 |
-
"9": "
|
25 |
-
"10": "B-
|
26 |
},
|
27 |
"initializer_range": 0.02,
|
28 |
"intermediate_size": 4096,
|
29 |
"label2id": {
|
30 |
-
"B-
|
31 |
-
"B-
|
32 |
-
"B-
|
33 |
-
"B-
|
34 |
-
"B-
|
35 |
-
"B-
|
36 |
-
"B-
|
37 |
-
"I-
|
38 |
-
"I-
|
39 |
-
"I-
|
40 |
-
"O":
|
41 |
},
|
42 |
"layer_norm_eps": 1e-05,
|
43 |
"max_position_embeddings": 514,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "FacebookAI/xlm-roberta-large-finetuned-conll03-english",
|
3 |
+
"_num_labels": 8,
|
4 |
"architectures": [
|
5 |
"XLMRobertaForTokenClassification"
|
6 |
],
|
|
|
8 |
"bos_token_id": 0,
|
9 |
"classifier_dropout": null,
|
10 |
"eos_token_id": 2,
|
|
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 1024,
|
14 |
"id2label": {
|
15 |
+
"0": "B-PER",
|
16 |
+
"1": "O",
|
17 |
+
"2": "B-EMAIL",
|
18 |
+
"3": "B-LOC",
|
19 |
+
"4": "I-LOC",
|
20 |
+
"5": "B-DATE_TIME",
|
21 |
+
"6": "I-DATE_TIME",
|
22 |
+
"7": "B-PHONE",
|
23 |
+
"8": "B-GENDER",
|
24 |
+
"9": "I-PER",
|
25 |
+
"10": "B-SSN"
|
26 |
},
|
27 |
"initializer_range": 0.02,
|
28 |
"intermediate_size": 4096,
|
29 |
"label2id": {
|
30 |
+
"B-DATE_TIME": 5,
|
31 |
+
"B-EMAIL": 2,
|
32 |
+
"B-GENDER": 8,
|
33 |
+
"B-LOC": 3,
|
34 |
+
"B-PER": 0,
|
35 |
+
"B-PHONE": 7,
|
36 |
+
"B-SSN": 10,
|
37 |
+
"I-DATE_TIME": 6,
|
38 |
+
"I-LOC": 4,
|
39 |
+
"I-PER": 9,
|
40 |
+
"O": 1
|
41 |
},
|
42 |
"layer_norm_eps": 1e-05,
|
43 |
"max_position_embeddings": 514,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2235456956
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a28272234f831b77990a4935ce0ba9ac0da469c363a3d45944e585ec515731f
|
3 |
size 2235456956
|