mirfan899 commited on
Commit
9ebe84a
·
verified ·
1 Parent(s): 5cc8065

End of training

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-multilingual-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: sindhi-bert-ner
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # sindhi-bert-ner
20
+
21
+ This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.1513
24
+ - Precision: 0.7080
25
+ - Recall: 0.6443
26
+ - F1: 0.6746
27
+ - Accuracy: 0.9704
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 8
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 10
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 0.1578 | 1.0 | 2252 | 0.1457 | 0.7162 | 0.5285 | 0.6082 | 0.9640 |
59
+ | 0.1162 | 2.0 | 4504 | 0.1280 | 0.7296 | 0.5718 | 0.6411 | 0.9676 |
60
+ | 0.097 | 3.0 | 6756 | 0.1248 | 0.7040 | 0.6065 | 0.6516 | 0.9678 |
61
+ | 0.0803 | 4.0 | 9008 | 0.1265 | 0.7442 | 0.6078 | 0.6691 | 0.9707 |
62
+ | 0.0719 | 5.0 | 11260 | 0.1274 | 0.7459 | 0.6181 | 0.6760 | 0.9707 |
63
+ | 0.056 | 6.0 | 13512 | 0.1333 | 0.7083 | 0.6383 | 0.6715 | 0.9704 |
64
+ | 0.0507 | 7.0 | 15764 | 0.1339 | 0.7157 | 0.6378 | 0.6745 | 0.9709 |
65
+ | 0.0441 | 8.0 | 18016 | 0.1445 | 0.7308 | 0.6284 | 0.6758 | 0.9710 |
66
+ | 0.0377 | 9.0 | 20268 | 0.1487 | 0.7253 | 0.6307 | 0.6747 | 0.9705 |
67
+ | 0.0344 | 10.0 | 22520 | 0.1513 | 0.7080 | 0.6443 | 0.6746 | 0.9704 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.33.0
73
+ - Pytorch 2.0.0
74
+ - Datasets 2.14.5
75
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-multilingual-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "LANGUAGE",
15
+ "2": "FAC",
16
+ "3": "PERSON",
17
+ "4": "LOC",
18
+ "5": "TITLE",
19
+ "6": "ORG",
20
+ "7": "GPE",
21
+ "8": "NORP",
22
+ "9": "EVENT",
23
+ "10": "ART",
24
+ "11": "OTHERS"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "ART": 10,
30
+ "EVENT": 9,
31
+ "FAC": 2,
32
+ "GPE": 7,
33
+ "LANGUAGE": 1,
34
+ "LOC": 4,
35
+ "NORP": 8,
36
+ "O": 0,
37
+ "ORG": 6,
38
+ "OTHERS": 11,
39
+ "PERSON": 3,
40
+ "TITLE": 5
41
+ },
42
+ "layer_norm_eps": 1e-12,
43
+ "max_position_embeddings": 512,
44
+ "model_type": "bert",
45
+ "num_attention_heads": 12,
46
+ "num_hidden_layers": 12,
47
+ "pad_token_id": 0,
48
+ "pooler_fc_size": 768,
49
+ "pooler_num_attention_heads": 12,
50
+ "pooler_num_fc_layers": 3,
51
+ "pooler_size_per_head": 128,
52
+ "pooler_type": "first_token_transform",
53
+ "position_embedding_type": "absolute",
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.33.0",
56
+ "type_vocab_size": 2,
57
+ "use_cache": true,
58
+ "vocab_size": 119547
59
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f969603c852632a3634e6b4ba6cc6c6eb6cb36ea10bd93e1f6f665b0c6d21597
3
+ size 709156009
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
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f8622ce984f5f40ab50d0e62988c41c8460872cec17e836a27d7a6145801a71
3
+ size 4027
vocab.txt ADDED
The diff for this file is too large to render. See raw diff