chosenone80 commited on
Commit
7f3d552
1 Parent(s): 697f5b5

End of training

Browse files
Files changed (7) hide show
  1. README.md +58 -0
  2. config.json +111 -0
  3. special_tokens_map.json +7 -0
  4. tf_model.h5 +3 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +58 -0
  7. vocab.txt +0 -0
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: CAMeL-Lab/bert-base-arabic-camelbert-ca
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: chosenone80/ner-test-1
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
+
14
+ # chosenone80/ner-test-1
15
+
16
+ This model is a fine-tuned version of [CAMeL-Lab/bert-base-arabic-camelbert-ca](https://huggingface.co/CAMeL-Lab/bert-base-arabic-camelbert-ca) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.2042
19
+ - Validation Loss: 0.1926
20
+ - Train Precision: 0.8860
21
+ - Train Recall: 0.8988
22
+ - Train F1: 0.8923
23
+ - Train Accuracy: 0.9364
24
+ - Epoch: 0
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 16141, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
44
+ - training_precision: float32
45
+
46
+ ### Training results
47
+
48
+ | Train Loss | Validation Loss | Train Precision | Train Recall | Train F1 | Train Accuracy | Epoch |
49
+ |:----------:|:---------------:|:---------------:|:------------:|:--------:|:--------------:|:-----:|
50
+ | 0.2042 | 0.1926 | 0.8860 | 0.8988 | 0.8923 | 0.9364 | 0 |
51
+
52
+
53
+ ### Framework versions
54
+
55
+ - Transformers 4.35.2
56
+ - TensorFlow 2.15.0
57
+ - Datasets 2.16.1
58
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "CAMeL-Lab/bert-base-arabic-camelbert-ca",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "B-Allah",
14
+ "1": "I-Allah",
15
+ "10": "B-Day",
16
+ "11": "I-Day",
17
+ "12": "B-Hell",
18
+ "13": "I-Hell",
19
+ "14": "B-Loc",
20
+ "15": "I-Loc",
21
+ "16": "B-Meas",
22
+ "17": "I-Meas",
23
+ "18": "B-Mon",
24
+ "19": "I-Mon",
25
+ "2": "B-Book",
26
+ "20": "B-Month",
27
+ "21": "I-Month",
28
+ "22": "B-NatOb",
29
+ "23": "I-NatOb",
30
+ "24": "B-NUM",
31
+ "25": "I-NUM",
32
+ "26": "O",
33
+ "27": "B-Org",
34
+ "28": "I-Org",
35
+ "29": "B-Para",
36
+ "3": "I-Book",
37
+ "30": "I-Para",
38
+ "31": "B-Pers",
39
+ "32": "I-Pers",
40
+ "33": "B-Prophet",
41
+ "34": "I-Prophet",
42
+ "35": "B-Rlig",
43
+ "36": "I-Rlig",
44
+ "37": "B-Sect",
45
+ "38": "I-Sect",
46
+ "39": "B-Time",
47
+ "4": "B-Clan",
48
+ "40": "I-Time",
49
+ "5": "I-Clan",
50
+ "6": "B-Crime",
51
+ "7": "I-Crime",
52
+ "8": "B-Date",
53
+ "9": "I-Date"
54
+ },
55
+ "initializer_range": 0.02,
56
+ "intermediate_size": 3072,
57
+ "label2id": {
58
+ "B-Allah": "0",
59
+ "B-Book": "2",
60
+ "B-Clan": "4",
61
+ "B-Crime": "6",
62
+ "B-Date": "8",
63
+ "B-Day": "10",
64
+ "B-Hell": "12",
65
+ "B-Loc": "14",
66
+ "B-Meas": "16",
67
+ "B-Mon": "18",
68
+ "B-Month": "20",
69
+ "B-NUM": "24",
70
+ "B-NatOb": "22",
71
+ "B-Org": "27",
72
+ "B-Para": "29",
73
+ "B-Pers": "31",
74
+ "B-Prophet": "33",
75
+ "B-Rlig": "35",
76
+ "B-Sect": "37",
77
+ "B-Time": "39",
78
+ "I-Allah": "1",
79
+ "I-Book": "3",
80
+ "I-Clan": "5",
81
+ "I-Crime": "7",
82
+ "I-Date": "9",
83
+ "I-Day": "11",
84
+ "I-Hell": "13",
85
+ "I-Loc": "15",
86
+ "I-Meas": "17",
87
+ "I-Mon": "19",
88
+ "I-Month": "21",
89
+ "I-NUM": "25",
90
+ "I-NatOb": "23",
91
+ "I-Org": "28",
92
+ "I-Para": "30",
93
+ "I-Pers": "32",
94
+ "I-Prophet": "34",
95
+ "I-Rlig": "36",
96
+ "I-Sect": "38",
97
+ "I-Time": "40",
98
+ "O": "26"
99
+ },
100
+ "layer_norm_eps": 1e-12,
101
+ "max_position_embeddings": 512,
102
+ "model_type": "bert",
103
+ "num_attention_heads": 12,
104
+ "num_hidden_layers": 12,
105
+ "pad_token_id": 0,
106
+ "position_embedding_type": "absolute",
107
+ "transformers_version": "4.35.2",
108
+ "type_vocab_size": 2,
109
+ "use_cache": true,
110
+ "vocab_size": 30000
111
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c648b8070693f20218ed74595b4e56f6ef1edcc47e36ee647be9a89d30fcfe9
3
+ size 434362476
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "full_tokenizer_file": null,
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff