Abdulwahab Sahyoun commited on
Commit
c551b64
1 Parent(s): c1630c0
Files changed (2) hide show
  1. config.json +15 -15
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "aubmindlab/bert-base-arabertv2",
3
  "architectures": [
4
  "BertForTokenClassification"
5
  ],
@@ -9,24 +9,24 @@
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4",
17
- "5": "LABEL_5",
18
- "6": "LABEL_6"
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
22
  "label2id": {
23
- "LABEL_0": 0,
24
- "LABEL_1": 1,
25
- "LABEL_2": 2,
26
- "LABEL_3": 3,
27
- "LABEL_4": 4,
28
- "LABEL_5": 5,
29
- "LABEL_6": 6
30
  },
31
  "layer_norm_eps": 1e-12,
32
  "max_position_embeddings": 512,
 
1
  {
2
+ "_name_or_path": "abdusahmbzuai/arabert-ner",
3
  "architectures": [
4
  "BertForTokenClassification"
5
  ],
 
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": "O",
13
+ "1": "B-PER",
14
+ "2": "I-PER",
15
+ "3": "B-ORG",
16
+ "4": "I-ORG",
17
+ "5": "B-LOC",
18
+ "6": "I-LOC"
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
22
  "label2id": {
23
+ "B-LOC": 5,
24
+ "B-ORG": 3,
25
+ "B-PER": 1,
26
+ "I-LOC": 6,
27
+ "I-ORG": 4,
28
+ "I-PER": 2,
29
+ "O": 0
30
  },
31
  "layer_norm_eps": 1e-12,
32
  "max_position_embeddings": 512,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c48cbb7d67a366e20fb329f2394ca94f8035391f4357d5d151da446630f7c0af
3
- size 538515953
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95b91a2e665bfd5df496cf791223004978823c35688e0b08bdf869b51b8df8cb
3
+ size 538513137