mirfan899 commited on
Commit
a64873a
·
1 Parent(s): f48970b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-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-distilbert-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-distilbert-ner
20
+
21
+ This model is a fine-tuned version of [distilbert-base-multilingual-cased](https://huggingface.co/distilbert-base-multilingual-cased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0004
24
+ - Precision: 0.9969
25
+ - Recall: 0.9983
26
+ - F1: 0.9976
27
+ - Accuracy: 0.9998
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: 3
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:------:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 0.0064 | 1.0 | 47891 | 0.0035 | 0.9860 | 0.9882 | 0.9871 | 0.9990 |
59
+ | 0.0028 | 2.0 | 95782 | 0.0008 | 0.9943 | 0.9978 | 0.9961 | 0.9996 |
60
+ | 0.0006 | 3.0 | 143673 | 0.0004 | 0.9969 | 0.9983 | 0.9976 | 0.9998 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.33.0
66
+ - Pytorch 2.0.0
67
+ - Datasets 2.14.5
68
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-multilingual-cased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "LOCATION",
13
+ "1": "BRAND",
14
+ "2": "TITLE_OBJECT",
15
+ "3": "TITLE_PERSON",
16
+ "4": "PERSON",
17
+ "5": "DESIGNATION",
18
+ "6": "ORGANIZATION",
19
+ "7": "ABBREVIATION",
20
+ "8": "TIME",
21
+ "9": "NUMBER",
22
+ "10": "MEASURE",
23
+ "11": "TERMS",
24
+ "12": "O"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "label2id": {
28
+ "ABBREVIATION": 7,
29
+ "BRAND": 1,
30
+ "DESIGNATION": 5,
31
+ "LOCATION": 0,
32
+ "MEASURE": 10,
33
+ "NUMBER": 9,
34
+ "O": 12,
35
+ "ORGANIZATION": 6,
36
+ "PERSON": 4,
37
+ "TERMS": 11,
38
+ "TIME": 8,
39
+ "TITLE_OBJECT": 2,
40
+ "TITLE_PERSON": 3
41
+ },
42
+ "max_position_embeddings": 512,
43
+ "model_type": "distilbert",
44
+ "n_heads": 12,
45
+ "n_layers": 6,
46
+ "output_past": true,
47
+ "pad_token_id": 0,
48
+ "qa_dropout": 0.1,
49
+ "seq_classif_dropout": 0.2,
50
+ "sinusoidal_pos_embds": false,
51
+ "tie_weights_": true,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.33.0",
54
+ "vocab_size": 119547
55
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3005948e5668a31422ce6e626853c6e97e445849a1fd8f2c5e238ecf7b19de0
3
+ size 539011109
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": "DistilBertTokenizer",
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:d0bb76fcb3a6693626fbf1864a086d8fb7507cdeb37c91a929fb145233a21caf
3
+ size 4027
vocab.txt ADDED
The diff for this file is too large to render. See raw diff