wkaminski commited on
Commit
fe5d391
1 Parent(s): 7c4dbba

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-cposes-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.9913009231909743
29
+ - name: Recall
30
+ type: recall
31
+ value: 0.9912435137138621
32
+ - name: F1
33
+ type: f1
34
+ value: 0.9912722176212015
35
+ - name: Accuracy
36
+ type: accuracy
37
+ value: 0.9889172310669364
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-cposes-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.0458
48
+ - Precision: 0.9913
49
+ - Recall: 0.9912
50
+ - F1: 0.9913
51
+ - Accuracy: 0.9889
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.0471 | 1.0 | 2155 | 0.0491 | 0.9896 | 0.9900 | 0.9898 | 0.9873 |
83
+ | 0.0291 | 2.0 | 4310 | 0.0467 | 0.9901 | 0.9905 | 0.9903 | 0.9884 |
84
+ | 0.0191 | 3.0 | 6465 | 0.0458 | 0.9913 | 0.9912 | 0.9913 | 0.9889 |
85
+
86
+
87
+ ### Framework versions
88
+
89
+ - Transformers 4.35.2
90
+ - Pytorch 2.1.0+cu118
91
+ - Datasets 2.15.0
92
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "A",
16
+ "1": "Adv",
17
+ "2": "Comp",
18
+ "3": "Conj",
19
+ "4": "Dig",
20
+ "5": "Interj",
21
+ "6": "N",
22
+ "7": "Num",
23
+ "8": "Part",
24
+ "9": "Prep",
25
+ "10": "Punct",
26
+ "11": "V",
27
+ "12": "X"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "A": 0,
33
+ "Adv": 1,
34
+ "Comp": 2,
35
+ "Conj": 3,
36
+ "Dig": 4,
37
+ "Interj": 5,
38
+ "N": 6,
39
+ "Num": 7,
40
+ "Part": 8,
41
+ "Prep": 9,
42
+ "Punct": 10,
43
+ "V": 11,
44
+ "X": 12
45
+ },
46
+ "layer_norm_eps": 1e-05,
47
+ "max_position_embeddings": 514,
48
+ "model_type": "roberta",
49
+ "num_attention_heads": 12,
50
+ "num_hidden_layers": 12,
51
+ "pad_token_id": 1,
52
+ "position_embedding_type": "absolute",
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.35.2",
55
+ "type_vocab_size": 1,
56
+ "use_cache": true,
57
+ "vocab_size": 50001
58
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4e9c2233d0ef708de7850010241681ec015f41afecd8cebf8c408c5928f153d
3
+ size 495473068
runs/Dec10_11-22-17_fe00a074a773/events.out.tfevents.1702207337.fe00a074a773.112.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aae30929f9a9a7ff467d91262a422a07de1b7dc77aeeb4697fa0bfe068036390
3
+ size 8449
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:9bb5dea3bb53be27810dfcf872a377797c350228cad5682d6b9fb6c56d9570ec
3
+ size 4600
unigram.json ADDED
The diff for this file is too large to render. See raw diff