MateiCv commited on
Commit
4d8fd49
1 Parent(s): 1812b08

End of training

Browse files
Files changed (4) hide show
  1. README.md +81 -0
  2. config.json +69 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-multilingual-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: spa-eng-pos-tagging-v1.3
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
+ # spa-eng-pos-tagging-v1.3
20
+
21
+ This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.1650
24
+ - Accuracy: 0.9471
25
+ - Precision: 0.9372
26
+ - Recall: 0.8815
27
+ - F1: 0.8779
28
+ - Hamming Loss: 0.0529
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: 5e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 16
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Hamming Loss |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:---------:|:------:|:------:|:------------:|
59
+ | 0.3809 | 1.0 | 1744 | 0.2945 | 0.8919 | 0.8798 | 0.8290 | 0.8221 | 0.1081 |
60
+ | 0.2625 | 2.0 | 3488 | 0.2725 | 0.8975 | 0.9004 | 0.8279 | 0.8319 | 0.1025 |
61
+ | 0.1918 | 3.0 | 5232 | 0.1901 | 0.9317 | 0.9224 | 0.8645 | 0.8618 | 0.0683 |
62
+ | 0.1674 | 4.0 | 6976 | 0.1780 | 0.9369 | 0.9319 | 0.8695 | 0.8694 | 0.0631 |
63
+ | 0.1478 | 5.0 | 8720 | 0.1816 | 0.9385 | 0.9303 | 0.8735 | 0.8697 | 0.0615 |
64
+ | 0.1201 | 6.0 | 10464 | 0.1650 | 0.9471 | 0.9372 | 0.8815 | 0.8779 | 0.0529 |
65
+ | 0.096 | 7.0 | 12208 | 0.1663 | 0.9493 | 0.9390 | 0.8851 | 0.8806 | 0.0507 |
66
+ | 0.0844 | 8.0 | 13952 | 0.1715 | 0.9500 | 0.9421 | 0.8838 | 0.8815 | 0.0500 |
67
+ | 0.0687 | 9.0 | 15696 | 0.1877 | 0.9502 | 0.9433 | 0.8816 | 0.8811 | 0.0498 |
68
+ | 0.0573 | 10.0 | 17440 | 0.1949 | 0.9483 | 0.9444 | 0.8781 | 0.8799 | 0.0517 |
69
+ | 0.0533 | 11.0 | 19184 | 0.1960 | 0.9544 | 0.9450 | 0.8872 | 0.8847 | 0.0456 |
70
+ | 0.0399 | 12.0 | 20928 | 0.2012 | 0.9565 | 0.9494 | 0.8884 | 0.8876 | 0.0435 |
71
+ | 0.031 | 13.0 | 22672 | 0.2119 | 0.9571 | 0.9496 | 0.8889 | 0.8879 | 0.0429 |
72
+ | 0.0292 | 14.0 | 24416 | 0.2213 | 0.9587 | 0.9512 | 0.8906 | 0.8896 | 0.0413 |
73
+ | 0.024 | 15.0 | 26160 | 0.2274 | 0.9587 | 0.9517 | 0.8899 | 0.8895 | 0.0413 |
74
+ | 0.0198 | 16.0 | 27904 | 0.2314 | 0.9591 | 0.8894 | 0.8905 | 0.8899 | 0.0409 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - Transformers 4.32.0
80
+ - Pytorch 2.0.1+cu118
81
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-multilingual-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4",
18
+ "5": "LABEL_5",
19
+ "6": "LABEL_6",
20
+ "7": "LABEL_7",
21
+ "8": "LABEL_8",
22
+ "9": "LABEL_9",
23
+ "10": "LABEL_10",
24
+ "11": "LABEL_11",
25
+ "12": "LABEL_12",
26
+ "13": "LABEL_13",
27
+ "14": "LABEL_14",
28
+ "15": "LABEL_15",
29
+ "16": "LABEL_16"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "intermediate_size": 3072,
33
+ "label2id": {
34
+ "LABEL_0": 0,
35
+ "LABEL_1": 1,
36
+ "LABEL_10": 10,
37
+ "LABEL_11": 11,
38
+ "LABEL_12": 12,
39
+ "LABEL_13": 13,
40
+ "LABEL_14": 14,
41
+ "LABEL_15": 15,
42
+ "LABEL_16": 16,
43
+ "LABEL_2": 2,
44
+ "LABEL_3": 3,
45
+ "LABEL_4": 4,
46
+ "LABEL_5": 5,
47
+ "LABEL_6": 6,
48
+ "LABEL_7": 7,
49
+ "LABEL_8": 8,
50
+ "LABEL_9": 9
51
+ },
52
+ "layer_norm_eps": 1e-12,
53
+ "max_position_embeddings": 512,
54
+ "model_type": "bert",
55
+ "num_attention_heads": 12,
56
+ "num_hidden_layers": 12,
57
+ "pad_token_id": 0,
58
+ "pooler_fc_size": 768,
59
+ "pooler_num_attention_heads": 12,
60
+ "pooler_num_fc_layers": 3,
61
+ "pooler_size_per_head": 128,
62
+ "pooler_type": "first_token_transform",
63
+ "position_embedding_type": "absolute",
64
+ "torch_dtype": "float32",
65
+ "transformers_version": "4.32.0",
66
+ "type_vocab_size": 2,
67
+ "use_cache": true,
68
+ "vocab_size": 119547
69
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:589cd51129c50e878d8e3677ecdf43d168888a94bb3fe61d7f33c2c31b5d47fe
3
+ size 709171433
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a11a517ffd33658208cbdf8eb72e51f07a81b99db92a94a7395a2a7a9d46075
3
+ size 4027