MateiCv commited on
Commit
4e2df83
1 Parent(s): 0542909

End of training

Browse files
Files changed (4) hide show
  1. README.md +77 -0
  2. config.json +75 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-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-v3
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-v3
20
+
21
+ This model is a fine-tuned version of [distilbert-base-multilingual-cased](https://huggingface.co/distilbert-base-multilingual-cased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3384
24
+ - Accuracy: 0.9036
25
+ - Precision: 0.8993
26
+ - Recall: 0.8285
27
+ - F1: 0.8324
28
+ - Hamming Loss: 0.0964
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: 2e-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: 12
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Hamming Loss |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:---------:|:------:|:------:|:------------:|
59
+ | 0.7752 | 1.0 | 1744 | 0.7222 | 0.7342 | 0.7317 | 0.6509 | 0.6524 | 0.2658 |
60
+ | 0.6276 | 2.0 | 3488 | 0.5259 | 0.8059 | 0.8008 | 0.7205 | 0.7264 | 0.1941 |
61
+ | 0.4813 | 3.0 | 5232 | 0.4473 | 0.8353 | 0.8281 | 0.7604 | 0.7616 | 0.1647 |
62
+ | 0.4063 | 4.0 | 6976 | 0.4453 | 0.8393 | 0.8353 | 0.7616 | 0.7662 | 0.1607 |
63
+ | 0.3361 | 5.0 | 8720 | 0.3882 | 0.8658 | 0.8661 | 0.7894 | 0.7959 | 0.1342 |
64
+ | 0.2883 | 6.0 | 10464 | 0.3773 | 0.8747 | 0.8693 | 0.8022 | 0.8043 | 0.1253 |
65
+ | 0.2409 | 7.0 | 12208 | 0.3681 | 0.8803 | 0.8753 | 0.8056 | 0.8081 | 0.1197 |
66
+ | 0.2168 | 8.0 | 13952 | 0.3470 | 0.8899 | 0.8836 | 0.8161 | 0.8181 | 0.1101 |
67
+ | 0.1816 | 9.0 | 15696 | 0.3750 | 0.8838 | 0.8832 | 0.8071 | 0.8133 | 0.1162 |
68
+ | 0.1696 | 10.0 | 17440 | 0.3609 | 0.8914 | 0.8871 | 0.8161 | 0.8200 | 0.1086 |
69
+ | 0.1572 | 11.0 | 19184 | 0.3470 | 0.8977 | 0.8924 | 0.8228 | 0.8261 | 0.1023 |
70
+ | 0.1385 | 12.0 | 20928 | 0.3384 | 0.9036 | 0.8993 | 0.8285 | 0.8324 | 0.0964 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.32.0
76
+ - Pytorch 2.0.1+cu118
77
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-multilingual-cased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "BertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "attention_probs_dropout_prob": 0.1,
9
+ "classifier_dropout": null,
10
+ "dim": 768,
11
+ "dropout": 0.1,
12
+ "hidden_act": "gelu",
13
+ "hidden_dim": 3072,
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 768,
16
+ "id2label": {
17
+ "0": "LABEL_0",
18
+ "1": "LABEL_1",
19
+ "2": "LABEL_2",
20
+ "3": "LABEL_3",
21
+ "4": "LABEL_4",
22
+ "5": "LABEL_5",
23
+ "6": "LABEL_6",
24
+ "7": "LABEL_7",
25
+ "8": "LABEL_8",
26
+ "9": "LABEL_9",
27
+ "10": "LABEL_10",
28
+ "11": "LABEL_11",
29
+ "12": "LABEL_12",
30
+ "13": "LABEL_13",
31
+ "14": "LABEL_14",
32
+ "15": "LABEL_15",
33
+ "16": "LABEL_16"
34
+ },
35
+ "initializer_range": 0.02,
36
+ "intermediate_size": 3072,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1,
40
+ "LABEL_10": 10,
41
+ "LABEL_11": 11,
42
+ "LABEL_12": 12,
43
+ "LABEL_13": 13,
44
+ "LABEL_14": 14,
45
+ "LABEL_15": 15,
46
+ "LABEL_16": 16,
47
+ "LABEL_2": 2,
48
+ "LABEL_3": 3,
49
+ "LABEL_4": 4,
50
+ "LABEL_5": 5,
51
+ "LABEL_6": 6,
52
+ "LABEL_7": 7,
53
+ "LABEL_8": 8,
54
+ "LABEL_9": 9
55
+ },
56
+ "layer_norm_eps": 1e-12,
57
+ "max_position_embeddings": 512,
58
+ "model_type": "bert",
59
+ "n_heads": 12,
60
+ "n_layers": 6,
61
+ "num_attention_heads": 12,
62
+ "num_hidden_layers": 12,
63
+ "output_past": true,
64
+ "pad_token_id": 0,
65
+ "position_embedding_type": "absolute",
66
+ "qa_dropout": 0.1,
67
+ "seq_classif_dropout": 0.2,
68
+ "sinusoidal_pos_embds": false,
69
+ "tie_weights_": true,
70
+ "torch_dtype": "float32",
71
+ "transformers_version": "4.32.0",
72
+ "type_vocab_size": 2,
73
+ "use_cache": true,
74
+ "vocab_size": 119547
75
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22ce1a6dc9da8d709bfa1ed81e6b59ab20121778110fd55b7bde860534d43c4a
3
+ size 709171433
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1dafa8e69cbc067b11a9de9b150e2aaf35302e2ffb15d1b7999258e35268589
3
+ size 4027