sanchirjav commited on
Commit
6708705
1 Parent(s): dd92d77

End of training

Browse files
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - mn
4
+ base_model: bayartsogt/mongolian-roberta-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: roberta-base-ner-demo-turshilt3
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # roberta-base-ner-demo-turshilt3
21
+
22
+ This model is a fine-tuned version of [bayartsogt/mongolian-roberta-base](https://huggingface.co/bayartsogt/mongolian-roberta-base) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0402
25
+ - Precision: 0.9794
26
+ - Recall: 0.9809
27
+ - F1: 0.9801
28
+ - Accuracy: 0.9939
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 3e-05
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 64
50
+ - seed: 42
51
+ - gradient_accumulation_steps: 2
52
+ - total_train_batch_size: 64
53
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
+ - lr_scheduler_type: linear
55
+ - lr_scheduler_warmup_ratio: 0.1
56
+ - num_epochs: 15
57
+ - mixed_precision_training: Native AMP
58
+
59
+ ### Training results
60
+
61
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
62
+ |:-------------:|:-------:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
63
+ | 0.028 | 0.9958 | 119 | 0.0243 | 0.9769 | 0.9804 | 0.9786 | 0.9941 |
64
+ | 0.0193 | 2.0 | 239 | 0.0279 | 0.9783 | 0.9813 | 0.9798 | 0.9942 |
65
+ | 0.0113 | 2.9958 | 358 | 0.0307 | 0.9773 | 0.9806 | 0.9790 | 0.9938 |
66
+ | 0.0069 | 4.0 | 478 | 0.0324 | 0.9764 | 0.9789 | 0.9776 | 0.9935 |
67
+ | 0.0044 | 4.9958 | 597 | 0.0378 | 0.9762 | 0.9785 | 0.9774 | 0.9934 |
68
+ | 0.0034 | 6.0 | 717 | 0.0373 | 0.9743 | 0.9771 | 0.9757 | 0.9933 |
69
+ | 0.0029 | 6.9958 | 836 | 0.0353 | 0.9775 | 0.9799 | 0.9787 | 0.9938 |
70
+ | 0.002 | 8.0 | 956 | 0.0385 | 0.9787 | 0.9810 | 0.9798 | 0.9938 |
71
+ | 0.0017 | 8.9958 | 1075 | 0.0393 | 0.9767 | 0.9795 | 0.9781 | 0.9936 |
72
+ | 0.0013 | 10.0 | 1195 | 0.0396 | 0.9781 | 0.9794 | 0.9788 | 0.9935 |
73
+ | 0.0009 | 10.9958 | 1314 | 0.0398 | 0.9792 | 0.9812 | 0.9802 | 0.9938 |
74
+ | 0.0008 | 12.0 | 1434 | 0.0393 | 0.9794 | 0.9812 | 0.9803 | 0.9938 |
75
+ | 0.0008 | 12.9958 | 1553 | 0.0404 | 0.9797 | 0.9808 | 0.9803 | 0.9938 |
76
+ | 0.0006 | 14.0 | 1673 | 0.0404 | 0.9791 | 0.9808 | 0.9799 | 0.9937 |
77
+ | 0.0006 | 14.9372 | 1785 | 0.0402 | 0.9794 | 0.9809 | 0.9801 | 0.9939 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.40.2
83
+ - Pytorch 2.2.1+cu121
84
+ - Datasets 2.19.1
85
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bayartsogt/mongolian-roberta-base",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "finetuning_task": "ner",
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "O",
17
+ "1": "LOC",
18
+ "2": "MISC",
19
+ "3": "ORG",
20
+ "4": "PER"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "LOC": 1,
26
+ "MISC": 2,
27
+ "O": 0,
28
+ "ORG": 3,
29
+ "PER": 4
30
+ },
31
+ "layer_norm_eps": 1e-05,
32
+ "max_position_embeddings": 514,
33
+ "model_type": "roberta",
34
+ "num_attention_heads": 12,
35
+ "num_hidden_layers": 12,
36
+ "pad_token_id": 1,
37
+ "position_embedding_type": "absolute",
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.40.2",
40
+ "type_vocab_size": 1,
41
+ "use_cache": true,
42
+ "vocab_size": 50265
43
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6387a76e861e1ecf6e46118b03f5d335beada5f4574b5e2ad09838c3280cd4e
3
+ size 496259468
runs/May20_15-00-51_82e5d3590b5c/events.out.tfevents.1716217253.82e5d3590b5c.324.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf9b2f1deaf10800d96d3b6ae54a89dbf31ec0ca4cfd4502829581a392cb33de
3
+ size 15614
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "RobertaTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": "<unk>"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b07e2b55e935fce3a2ec6f706228d8229c3d09ea1923ec972e37ffe706c7616
3
+ size 4984
vocab.json ADDED
The diff for this file is too large to render. See raw diff