sgraham commited on
Commit
c6583ed
·
verified ·
1 Parent(s): aa17496

Upload ModernBertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +23 -11
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "./bert_arch_ner_trained",
3
  "architectures": [
4
  "ModernBertForTokenClassification"
5
  ],
@@ -21,21 +21,33 @@
21
  "hidden_activation": "gelu",
22
  "hidden_size": 768,
23
  "id2label": {
24
- "0": "LABEL_0",
25
- "1": "LABEL_1",
26
- "2": "LABEL_2",
27
- "3": "LABEL_3",
28
- "4": "LABEL_4"
 
 
 
 
 
 
29
  },
30
  "initializer_cutoff_factor": 2.0,
31
  "initializer_range": 0.02,
32
  "intermediate_size": 1152,
33
  "label2id": {
34
- "LABEL_0": 0,
35
- "LABEL_1": 1,
36
- "LABEL_2": 2,
37
- "LABEL_3": 3,
38
- "LABEL_4": 4
 
 
 
 
 
 
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:7950af05293ffdfd767ff18d151b57da0447141cf430bf1f7782b7a956b1ef0b
3
- size 598449012
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99302e709bc55e50f86c0709b0895b5ed1b52009cfea2a643f56df75aa191601
3
+ size 598467476