wkaminski commited on
Commit
3045962
1 Parent(s): 2169fe7

End of training

Browse files
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: lgpl-3.0
3
+ base_model: sdadas/polish-roberta-base-v2
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - nkjp1m
8
+ metrics:
9
+ - precision
10
+ - recall
11
+ - f1
12
+ - accuracy
13
+ model-index:
14
+ - name: polish-roberta-base-v2-pos-tagging
15
+ results:
16
+ - task:
17
+ name: Token Classification
18
+ type: token-classification
19
+ dataset:
20
+ name: nkjp1m
21
+ type: nkjp1m
22
+ config: nkjp1m
23
+ split: test
24
+ args: nkjp1m
25
+ metrics:
26
+ - name: Precision
27
+ type: precision
28
+ value: 0.9853198910270871
29
+ - name: Recall
30
+ type: recall
31
+ value: 0.9858245297268206
32
+ - name: F1
33
+ type: f1
34
+ value: 0.9855721457799069
35
+ - name: Accuracy
36
+ type: accuracy
37
+ value: 0.9884294612942691
38
+ ---
39
+
40
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
41
+ should probably proofread and complete it, then remove this comment. -->
42
+
43
+ # polish-roberta-base-v2-pos-tagging
44
+
45
+ This model is a fine-tuned version of [sdadas/polish-roberta-base-v2](https://huggingface.co/sdadas/polish-roberta-base-v2) on the nkjp1m dataset.
46
+ It achieves the following results on the evaluation set:
47
+ - Loss: 0.0508
48
+ - Precision: 0.9853
49
+ - Recall: 0.9858
50
+ - F1: 0.9856
51
+ - Accuracy: 0.9884
52
+
53
+ ## Model description
54
+
55
+ More information needed
56
+
57
+ ## Intended uses & limitations
58
+
59
+ More information needed
60
+
61
+ ## Training and evaluation data
62
+
63
+ More information needed
64
+
65
+ ## Training procedure
66
+
67
+ ### Training hyperparameters
68
+
69
+ The following hyperparameters were used during training:
70
+ - learning_rate: 2e-05
71
+ - train_batch_size: 16
72
+ - eval_batch_size: 16
73
+ - seed: 42
74
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
75
+ - lr_scheduler_type: linear
76
+ - num_epochs: 3
77
+
78
+ ### Training results
79
+
80
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
81
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
82
+ | 0.0665 | 1.0 | 2155 | 0.0629 | 0.9835 | 0.9836 | 0.9836 | 0.9867 |
83
+ | 0.0369 | 2.0 | 4310 | 0.0539 | 0.9842 | 0.9848 | 0.9845 | 0.9876 |
84
+ | 0.0243 | 3.0 | 6465 | 0.0508 | 0.9853 | 0.9858 | 0.9856 | 0.9884 |
85
+
86
+
87
+ ### Framework versions
88
+
89
+ - Transformers 4.36.0
90
+ - Pytorch 2.1.0+cu118
91
+ - Datasets 2.15.0
92
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sdadas/polish-roberta-base-v2",
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
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "adj",
16
+ "1": "adja",
17
+ "2": "adjc",
18
+ "3": "adjp",
19
+ "4": "adv",
20
+ "5": "aglt",
21
+ "6": "bedzie",
22
+ "7": "brev",
23
+ "8": "comp",
24
+ "9": "conj",
25
+ "10": "depr",
26
+ "11": "dig",
27
+ "12": "fin",
28
+ "13": "frag",
29
+ "14": "ger",
30
+ "15": "imps",
31
+ "16": "impt",
32
+ "17": "inf",
33
+ "18": "interj",
34
+ "19": "interp",
35
+ "20": "num",
36
+ "21": "numcomp",
37
+ "22": "pact",
38
+ "23": "pacta",
39
+ "24": "pant",
40
+ "25": "part",
41
+ "26": "pcon",
42
+ "27": "ppas",
43
+ "28": "ppron12",
44
+ "29": "ppron3",
45
+ "30": "praet",
46
+ "31": "pred",
47
+ "32": "prep",
48
+ "33": "romandig",
49
+ "34": "siebie",
50
+ "35": "subst",
51
+ "36": "sym",
52
+ "37": "winien",
53
+ "38": "xxs",
54
+ "39": "xxx"
55
+ },
56
+ "initializer_range": 0.02,
57
+ "intermediate_size": 3072,
58
+ "label2id": {
59
+ "adj": 0,
60
+ "adja": 1,
61
+ "adjc": 2,
62
+ "adjp": 3,
63
+ "adv": 4,
64
+ "aglt": 5,
65
+ "bedzie": 6,
66
+ "brev": 7,
67
+ "comp": 8,
68
+ "conj": 9,
69
+ "depr": 10,
70
+ "dig": 11,
71
+ "fin": 12,
72
+ "frag": 13,
73
+ "ger": 14,
74
+ "imps": 15,
75
+ "impt": 16,
76
+ "inf": 17,
77
+ "interj": 18,
78
+ "interp": 19,
79
+ "num": 20,
80
+ "numcomp": 21,
81
+ "pact": 22,
82
+ "pacta": 23,
83
+ "pant": 24,
84
+ "part": 25,
85
+ "pcon": 26,
86
+ "ppas": 27,
87
+ "ppron12": 28,
88
+ "ppron3": 29,
89
+ "praet": 30,
90
+ "pred": 31,
91
+ "prep": 32,
92
+ "romandig": 33,
93
+ "siebie": 34,
94
+ "subst": 35,
95
+ "sym": 36,
96
+ "winien": 37,
97
+ "xxs": 38,
98
+ "xxx": 39
99
+ },
100
+ "layer_norm_eps": 1e-05,
101
+ "max_position_embeddings": 514,
102
+ "model_type": "roberta",
103
+ "num_attention_heads": 12,
104
+ "num_hidden_layers": 12,
105
+ "pad_token_id": 1,
106
+ "position_embedding_type": "absolute",
107
+ "torch_dtype": "float32",
108
+ "transformers_version": "4.36.0",
109
+ "type_vocab_size": 1,
110
+ "use_cache": true,
111
+ "vocab_size": 50001
112
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4762f72e49c0a80fe7b849fe694777ee1b1d5acfdca661faf9d62e106ca46d5c
3
+ size 495556128
runs/Dec11_19-52-09_01ab72bb6d36/events.out.tfevents.1702324329.01ab72bb6d36.118.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46913af8e0c50a00c0e8087051078cd4054c8217786ad79140ab00d37af24599
3
+ size 9553
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
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
+ "50000": {
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:738e65a0913f7b4f6bb11f79e56091b1bc46aaf47a655eb97407662c44500436
3
+ size 4728
unigram.json ADDED
The diff for this file is too large to render. See raw diff