End of training
Browse files- README.md +77 -0
- config.json +75 -0
- pytorch_model.bin +3 -0
- 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-v5
|
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-v5
|
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.3191
|
24 |
+
- Accuracy: 0.9175
|
25 |
+
- Precision: 0.9166
|
26 |
+
- Recall: 0.8431
|
27 |
+
- F1: 0.8483
|
28 |
+
- Hamming Loss: 0.0825
|
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: 12
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Hamming Loss |
|
58 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:---------:|:------:|:------:|:------------:|
|
59 |
+
| 1.0059 | 1.0 | 1744 | 0.8050 | 0.7117 | 0.7074 | 0.6280 | 0.6300 | 0.2883 |
|
60 |
+
| 0.6286 | 2.0 | 3488 | 0.5338 | 0.8024 | 0.8121 | 0.7148 | 0.7270 | 0.1976 |
|
61 |
+
| 0.4449 | 3.0 | 5232 | 0.4519 | 0.8435 | 0.8300 | 0.7747 | 0.7700 | 0.1565 |
|
62 |
+
| 0.3647 | 4.0 | 6976 | 0.3849 | 0.8618 | 0.8551 | 0.7900 | 0.7907 | 0.1382 |
|
63 |
+
| 0.2968 | 5.0 | 8720 | 0.3579 | 0.8772 | 0.8769 | 0.8053 | 0.8088 | 0.1228 |
|
64 |
+
| 0.255 | 6.0 | 10464 | 0.3298 | 0.8868 | 0.8756 | 0.8179 | 0.8152 | 0.1132 |
|
65 |
+
| 0.2025 | 7.0 | 12208 | 0.3245 | 0.8941 | 0.8917 | 0.8224 | 0.8251 | 0.1059 |
|
66 |
+
| 0.176 | 8.0 | 13952 | 0.3324 | 0.8980 | 0.8970 | 0.8260 | 0.8293 | 0.1020 |
|
67 |
+
| 0.1399 | 9.0 | 15696 | 0.3376 | 0.9038 | 0.9019 | 0.8280 | 0.8331 | 0.0962 |
|
68 |
+
| 0.1198 | 10.0 | 17440 | 0.3251 | 0.9108 | 0.9075 | 0.8379 | 0.8412 | 0.0892 |
|
69 |
+
| 0.0973 | 11.0 | 19184 | 0.3191 | 0.9175 | 0.9166 | 0.8431 | 0.8483 | 0.0825 |
|
70 |
+
| 0.0763 | 12.0 | 20928 | 0.3262 | 0.9192 | 0.9166 | 0.8464 | 0.8501 | 0.0808 |
|
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:2feb2519dcf4a8e6304408094cd80b36b8cac3dc08fcc302fb9aea6c38b9a8db
|
3 |
+
size 709171433
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e340918d537174e82d3ec8c997377642cc8c6751debcf0841974e57a1656684
|
3 |
+
size 4027
|