mirfan899 commited on
Commit
12ed07b
·
1 Parent(s): 542c497

End of training

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: hindi-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
+ # hindi-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.2164
24
+ - Precision: 0.3517
25
+ - Recall: 0.2840
26
+ - F1: 0.3143
27
+ - Accuracy: 0.9420
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: 1e-06
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: 2
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 0.5804 | 1.0 | 882 | 0.2563 | 0.2776 | 0.1805 | 0.2188 | 0.9332 |
59
+ | 0.2538 | 2.0 | 1764 | 0.2164 | 0.3517 | 0.2840 | 0.3143 | 0.9420 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.33.0
65
+ - Pytorch 2.0.0
66
+ - Datasets 2.14.5
67
+ - 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": "LOCATION",
14
+ "1": "BRAND",
15
+ "2": "TITLE_OBJECT",
16
+ "3": "PERSON",
17
+ "4": "DESIGNATION",
18
+ "5": "ORGANIZATION",
19
+ "6": "ABBREVIATION",
20
+ "7": "TIME",
21
+ "8": "NUMBER",
22
+ "9": "MEASURE",
23
+ "10": "TERMS",
24
+ "11": "O"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "ABBREVIATION": 6,
30
+ "BRAND": 1,
31
+ "DESIGNATION": 4,
32
+ "LOCATION": 0,
33
+ "MEASURE": 9,
34
+ "NUMBER": 8,
35
+ "O": 11,
36
+ "ORGANIZATION": 5,
37
+ "PERSON": 3,
38
+ "TERMS": 10,
39
+ "TIME": 7,
40
+ "TITLE_OBJECT": 2
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:c584b20bf6e4cc4641034c32fe7224d7cbcbde629f69ff65906a62d94cc6758d
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:8bc040d1a83c54f9fc2d68867b4b7e454c6afd1f5305fe67499a2e6789368efc
3
+ size 4027
vocab.txt ADDED
The diff for this file is too large to render. See raw diff