Upload ModernBertForTokenClassification
Browse files- config.json +23 -11
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "./
|
3 |
"architectures": [
|
4 |
"ModernBertForTokenClassification"
|
5 |
],
|
@@ -21,21 +21,33 @@
|
|
21 |
"hidden_activation": "gelu",
|
22 |
"hidden_size": 768,
|
23 |
"id2label": {
|
24 |
-
"0": "
|
25 |
-
"1": "
|
26 |
-
"2": "
|
27 |
-
"3": "
|
28 |
-
"4": "
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
},
|
30 |
"initializer_cutoff_factor": 2.0,
|
31 |
"initializer_range": 0.02,
|
32 |
"intermediate_size": 1152,
|
33 |
"label2id": {
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
},
|
40 |
"layer_norm_eps": 1e-05,
|
41 |
"local_attention": 128,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./bert_arch_ner_bio_trained",
|
3 |
"architectures": [
|
4 |
"ModernBertForTokenClassification"
|
5 |
],
|
|
|
21 |
"hidden_activation": "gelu",
|
22 |
"hidden_size": 768,
|
23 |
"id2label": {
|
24 |
+
"0": "O",
|
25 |
+
"1": "B-ORG",
|
26 |
+
"2": "I-ORG",
|
27 |
+
"3": "B-LOC",
|
28 |
+
"4": "I-LOC",
|
29 |
+
"5": "B-PER",
|
30 |
+
"6": "I-PER",
|
31 |
+
"7": "B-SUBJ",
|
32 |
+
"8": "I-SUBJ",
|
33 |
+
"9": "B-ID",
|
34 |
+
"10": "I-ID"
|
35 |
},
|
36 |
"initializer_cutoff_factor": 2.0,
|
37 |
"initializer_range": 0.02,
|
38 |
"intermediate_size": 1152,
|
39 |
"label2id": {
|
40 |
+
"B-ID": 9,
|
41 |
+
"B-LOC": 3,
|
42 |
+
"B-ORG": 1,
|
43 |
+
"B-PER": 5,
|
44 |
+
"B-SUBJ": 7,
|
45 |
+
"I-ID": 10,
|
46 |
+
"I-LOC": 4,
|
47 |
+
"I-ORG": 2,
|
48 |
+
"I-PER": 6,
|
49 |
+
"I-SUBJ": 8,
|
50 |
+
"O": 0
|
51 |
},
|
52 |
"layer_norm_eps": 1e-05,
|
53 |
"local_attention": 128,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99302e709bc55e50f86c0709b0895b5ed1b52009cfea2a643f56df75aa191601
|
3 |
+
size 598467476
|