MateiCv commited on
Commit
4e1d7aa
1 Parent(s): d01a011

End of training

Browse files
Files changed (4) hide show
  1. README.md +79 -0
  2. config.json +69 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-v2.1
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-v2.1
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.1523
24
+ - Accuracy: 0.9516
25
+ - Precision: 0.9445
26
+ - Recall: 0.8846
27
+ - F1: 0.8831
28
+ - Hamming Loss: 0.0484
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: 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: 14
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Hamming Loss |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:---------:|:------:|:------:|:------------:|
59
+ | 0.3806 | 1.0 | 1744 | 0.2730 | 0.8940 | 0.8903 | 0.8246 | 0.8252 | 0.1060 |
60
+ | 0.2615 | 2.0 | 3488 | 0.2134 | 0.9181 | 0.9058 | 0.8514 | 0.8464 | 0.0819 |
61
+ | 0.1864 | 3.0 | 5232 | 0.1895 | 0.9284 | 0.9224 | 0.8626 | 0.8608 | 0.0716 |
62
+ | 0.1721 | 4.0 | 6976 | 0.1769 | 0.9352 | 0.9287 | 0.8676 | 0.8667 | 0.0648 |
63
+ | 0.1462 | 5.0 | 8720 | 0.1840 | 0.9355 | 0.9310 | 0.8663 | 0.8670 | 0.0645 |
64
+ | 0.1175 | 6.0 | 10464 | 0.1553 | 0.9487 | 0.9399 | 0.8820 | 0.8794 | 0.0513 |
65
+ | 0.0949 | 7.0 | 12208 | 0.1523 | 0.9516 | 0.9445 | 0.8846 | 0.8831 | 0.0484 |
66
+ | 0.0833 | 8.0 | 13952 | 0.1564 | 0.9535 | 0.9439 | 0.8881 | 0.8847 | 0.0465 |
67
+ | 0.0722 | 9.0 | 15696 | 0.1566 | 0.9549 | 0.9472 | 0.8890 | 0.8867 | 0.0451 |
68
+ | 0.0571 | 10.0 | 17440 | 0.1649 | 0.9565 | 0.9513 | 0.8875 | 0.8880 | 0.0435 |
69
+ | 0.0516 | 11.0 | 19184 | 0.1669 | 0.9587 | 0.9523 | 0.8913 | 0.8905 | 0.0413 |
70
+ | 0.0392 | 12.0 | 20928 | 0.1711 | 0.9598 | 0.9524 | 0.8925 | 0.8911 | 0.0402 |
71
+ | 0.03 | 13.0 | 22672 | 0.1800 | 0.9603 | 0.9533 | 0.8935 | 0.8921 | 0.0397 |
72
+ | 0.0308 | 14.0 | 24416 | 0.1827 | 0.9607 | 0.9537 | 0.8938 | 0.8924 | 0.0393 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.32.0
78
+ - Pytorch 2.0.1+cu118
79
+ - 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:7b8e6530f9728a8e72731604e63697fca885055afe18f1cc5a69925c084cd9b0
3
+ size 709171433
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4decbd79629183e8f95488d0eee32f5f047c9f25c42e10e20081fa66a88367c0
3
+ size 4027