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-v2
|
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
|
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.4432
|
24 |
+
- Accuracy: 0.8418
|
25 |
+
- Precision: 0.8395
|
26 |
+
- Recall: 0.7600
|
27 |
+
- F1: 0.7676
|
28 |
+
- Hamming Loss: 0.1582
|
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: 1e-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.4285 | 1.0 | 1744 | 1.2584 | 0.5671 | 0.6506 | 0.4372 | 0.4716 | 0.4329 |
|
60 |
+
| 1.1788 | 2.0 | 3488 | 1.0023 | 0.6388 | 0.6753 | 0.5323 | 0.5578 | 0.3612 |
|
61 |
+
| 0.9144 | 3.0 | 5232 | 0.7885 | 0.7093 | 0.7259 | 0.6091 | 0.6281 | 0.2907 |
|
62 |
+
| 0.78 | 4.0 | 6976 | 0.6970 | 0.7439 | 0.7517 | 0.6527 | 0.6673 | 0.2561 |
|
63 |
+
| 0.6565 | 5.0 | 8720 | 0.6072 | 0.7765 | 0.7792 | 0.6838 | 0.6952 | 0.2235 |
|
64 |
+
| 0.5845 | 6.0 | 10464 | 0.5438 | 0.7995 | 0.7974 | 0.7125 | 0.7221 | 0.2005 |
|
65 |
+
| 0.5158 | 7.0 | 12208 | 0.5127 | 0.8132 | 0.8180 | 0.7250 | 0.7362 | 0.1868 |
|
66 |
+
| 0.4697 | 8.0 | 13952 | 0.4939 | 0.8186 | 0.8188 | 0.7345 | 0.7438 | 0.1814 |
|
67 |
+
| 0.4251 | 9.0 | 15696 | 0.4712 | 0.8334 | 0.8349 | 0.7502 | 0.7591 | 0.1666 |
|
68 |
+
| 0.4039 | 10.0 | 17440 | 0.4564 | 0.8381 | 0.8382 | 0.7538 | 0.7629 | 0.1619 |
|
69 |
+
| 0.3826 | 11.0 | 19184 | 0.4479 | 0.8397 | 0.8399 | 0.7565 | 0.7656 | 0.1603 |
|
70 |
+
| 0.3691 | 12.0 | 20928 | 0.4432 | 0.8418 | 0.8395 | 0.7600 | 0.7676 | 0.1582 |
|
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:a3cc4ce6bf7ed4b4d6ea76412d1cd34a84d0ca692cd0662f3621f7476ac7f770
|
3 |
+
size 709171433
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:013312cf0390d2bf9fd561776ad670eb1a60f4d353ff43b17fea6d0cf9e987ab
|
3 |
+
size 4027
|