chosenone80 commited on
Commit
bccadef
1 Parent(s): fc702a7

Upload TFBertForTokenClassification

Browse files
Files changed (3) hide show
  1. README.md +48 -0
  2. config.json +110 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: aubmindlab/bert-base-arabertv02
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: arabert-ner-test-2
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # arabert-ner-test-2
14
+
15
+ This model is a fine-tuned version of [aubmindlab/bert-base-arabertv02](https://huggingface.co/aubmindlab/bert-base-arabertv02) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - optimizer: None
37
+ - training_precision: float32
38
+
39
+ ### Training results
40
+
41
+
42
+
43
+ ### Framework versions
44
+
45
+ - Transformers 4.38.1
46
+ - TensorFlow 2.15.0
47
+ - Datasets 2.18.0
48
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "aubmindlab/bert-base-arabertv02",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "B-Allah",
13
+ "1": "I-Allah",
14
+ "10": "B-Day",
15
+ "11": "I-Day",
16
+ "12": "B-Hell",
17
+ "13": "I-Hell",
18
+ "14": "B-Loc",
19
+ "15": "I-Loc",
20
+ "16": "B-Meas",
21
+ "17": "I-Meas",
22
+ "18": "B-Mon",
23
+ "19": "I-Mon",
24
+ "2": "B-Book",
25
+ "20": "B-Month",
26
+ "21": "I-Month",
27
+ "22": "B-NatOb",
28
+ "23": "I-NatOb",
29
+ "24": "B-NUM",
30
+ "25": "I-NUM",
31
+ "26": "O",
32
+ "27": "B-Org",
33
+ "28": "I-Org",
34
+ "29": "B-Para",
35
+ "3": "I-Book",
36
+ "30": "I-Para",
37
+ "31": "B-Pers",
38
+ "32": "I-Pers",
39
+ "33": "B-Prophet",
40
+ "34": "I-Prophet",
41
+ "35": "B-Rlig",
42
+ "36": "I-Rlig",
43
+ "37": "B-Sect",
44
+ "38": "I-Sect",
45
+ "39": "B-Time",
46
+ "4": "B-Clan",
47
+ "40": "I-Time",
48
+ "5": "I-Clan",
49
+ "6": "B-Crime",
50
+ "7": "I-Crime",
51
+ "8": "B-Date",
52
+ "9": "I-Date"
53
+ },
54
+ "initializer_range": 0.02,
55
+ "intermediate_size": 3072,
56
+ "label2id": {
57
+ "B-Allah": "0",
58
+ "B-Book": "2",
59
+ "B-Clan": "4",
60
+ "B-Crime": "6",
61
+ "B-Date": "8",
62
+ "B-Day": "10",
63
+ "B-Hell": "12",
64
+ "B-Loc": "14",
65
+ "B-Meas": "16",
66
+ "B-Mon": "18",
67
+ "B-Month": "20",
68
+ "B-NUM": "24",
69
+ "B-NatOb": "22",
70
+ "B-Org": "27",
71
+ "B-Para": "29",
72
+ "B-Pers": "31",
73
+ "B-Prophet": "33",
74
+ "B-Rlig": "35",
75
+ "B-Sect": "37",
76
+ "B-Time": "39",
77
+ "I-Allah": "1",
78
+ "I-Book": "3",
79
+ "I-Clan": "5",
80
+ "I-Crime": "7",
81
+ "I-Date": "9",
82
+ "I-Day": "11",
83
+ "I-Hell": "13",
84
+ "I-Loc": "15",
85
+ "I-Meas": "17",
86
+ "I-Mon": "19",
87
+ "I-Month": "21",
88
+ "I-NUM": "25",
89
+ "I-NatOb": "23",
90
+ "I-Org": "28",
91
+ "I-Para": "30",
92
+ "I-Pers": "32",
93
+ "I-Prophet": "34",
94
+ "I-Rlig": "36",
95
+ "I-Sect": "38",
96
+ "I-Time": "40",
97
+ "O": "26"
98
+ },
99
+ "layer_norm_eps": 1e-12,
100
+ "max_position_embeddings": 512,
101
+ "model_type": "bert",
102
+ "num_attention_heads": 12,
103
+ "num_hidden_layers": 12,
104
+ "pad_token_id": 0,
105
+ "position_embedding_type": "absolute",
106
+ "transformers_version": "4.38.1",
107
+ "type_vocab_size": 2,
108
+ "use_cache": true,
109
+ "vocab_size": 64000
110
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7faddcd28d410ccc7077a5878801408423ebd423a0fb7c45a76a7c223fdd94a
3
+ size 538810476