mirfan899 commited on
Commit
b6ee452
1 Parent(s): 06b4667

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: urdu-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
+ # urdu-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.1387
24
+ - Precision: 0.7575
25
+ - Recall: 0.8057
26
+ - F1: 0.7809
27
+ - Accuracy: 0.9535
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.1637 | 1.0 | 2272 | 0.1505 | 0.7131 | 0.7800 | 0.7451 | 0.9457 |
59
+ | 0.1159 | 2.0 | 4544 | 0.1390 | 0.7377 | 0.8037 | 0.7693 | 0.9507 |
60
+ | 0.0882 | 3.0 | 6816 | 0.1387 | 0.7575 | 0.8057 | 0.7809 | 0.9535 |
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,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "TIME",
13
+ "1": "PERSON",
14
+ "2": "ORGANIZATION",
15
+ "3": "O",
16
+ "4": "NUMBER",
17
+ "5": "LOCATION",
18
+ "6": "DESIGNATION",
19
+ "7": "DATE"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "label2id": {
23
+ "DATE": 7,
24
+ "DESIGNATION": 6,
25
+ "LOCATION": 5,
26
+ "NUMBER": 4,
27
+ "O": 3,
28
+ "ORGANIZATION": 2,
29
+ "PERSON": 1,
30
+ "TIME": 0
31
+ },
32
+ "max_position_embeddings": 512,
33
+ "model_type": "distilbert",
34
+ "n_heads": 12,
35
+ "n_layers": 6,
36
+ "output_past": true,
37
+ "pad_token_id": 0,
38
+ "qa_dropout": 0.1,
39
+ "seq_classif_dropout": 0.2,
40
+ "sinusoidal_pos_embds": false,
41
+ "tie_weights_": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.33.0",
44
+ "vocab_size": 119547
45
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b80cc01889284aa4764ea7e6bb1d3a6fb23f2dfae3c6959bb209077c73338632
3
+ size 538995749
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:77fce31d5a976b5b69b738c0ae027ae48c00725bff8ac87c854647dbfd81922f
3
+ size 4027
vocab.txt ADDED
The diff for this file is too large to render. See raw diff