MateiCv commited on
Commit
9bdda4e
·
1 Parent(s): a934b9e

End of training

Browse files
Files changed (4) hide show
  1. README.md +79 -0
  2. config.json +75 -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: 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-v6
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-v6
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.3128
24
+ - Accuracy: 0.9056
25
+ - Precision: 0.9032
26
+ - Recall: 0.8293
27
+ - F1: 0.8345
28
+ - Hamming Loss: 0.0944
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: 14
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Hamming Loss |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:---------:|:------:|:------:|:------------:|
59
+ | 1.0141 | 1.0 | 1744 | 0.7804 | 0.7158 | 0.7328 | 0.6183 | 0.6345 | 0.2842 |
60
+ | 0.6292 | 2.0 | 3488 | 0.5384 | 0.7973 | 0.8111 | 0.7029 | 0.7213 | 0.2027 |
61
+ | 0.4438 | 3.0 | 5232 | 0.4236 | 0.8462 | 0.8346 | 0.7762 | 0.7732 | 0.1538 |
62
+ | 0.3626 | 4.0 | 6976 | 0.3856 | 0.8651 | 0.8524 | 0.7933 | 0.7903 | 0.1349 |
63
+ | 0.3141 | 5.0 | 8720 | 0.3697 | 0.8712 | 0.8688 | 0.7998 | 0.8028 | 0.1288 |
64
+ | 0.2575 | 6.0 | 10464 | 0.3689 | 0.8751 | 0.8758 | 0.8003 | 0.8058 | 0.1249 |
65
+ | 0.2117 | 7.0 | 12208 | 0.3329 | 0.8890 | 0.8832 | 0.8169 | 0.8184 | 0.1110 |
66
+ | 0.1864 | 8.0 | 13952 | 0.3235 | 0.9010 | 0.8946 | 0.8278 | 0.8293 | 0.0990 |
67
+ | 0.1555 | 9.0 | 15696 | 0.3128 | 0.9056 | 0.9032 | 0.8293 | 0.8345 | 0.0944 |
68
+ | 0.1322 | 10.0 | 17440 | 0.3311 | 0.9088 | 0.9010 | 0.8376 | 0.8377 | 0.0912 |
69
+ | 0.1111 | 11.0 | 19184 | 0.3394 | 0.9101 | 0.9081 | 0.8319 | 0.8383 | 0.0899 |
70
+ | 0.0874 | 12.0 | 20928 | 0.3472 | 0.9148 | 0.9100 | 0.8407 | 0.8440 | 0.0852 |
71
+ | 0.0659 | 13.0 | 22672 | 0.3635 | 0.9131 | 0.9072 | 0.8400 | 0.8422 | 0.0869 |
72
+ | 0.0608 | 14.0 | 24416 | 0.3560 | 0.9187 | 0.9140 | 0.8452 | 0.8482 | 0.0813 |
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,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:742822c877fb6143a1502de5eaa4d08387706c96488f3e70080a6029456e353d
3
+ size 709171433
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b27dd7fd679208e81f263356e5b54cc52dcfbb98894bcca5634410039c70d5c4
3
+ size 4027