Training in progress, epoch 1
Browse files- README.md +71 -0
- config.json +66 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +14 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: neuralmind/bert-base-portuguese-cased
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- f1
|
| 10 |
+
model-index:
|
| 11 |
+
- name: foxy-nlp-n1
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
# foxy-nlp-n1
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [neuralmind/bert-base-portuguese-cased](https://huggingface.co/neuralmind/bert-base-portuguese-cased) on the None dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.1471
|
| 23 |
+
- Accuracy: 0.9538
|
| 24 |
+
- F1: 0.9534
|
| 25 |
+
|
| 26 |
+
## Model description
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Intended uses & limitations
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training and evaluation data
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training procedure
|
| 39 |
+
|
| 40 |
+
### Training hyperparameters
|
| 41 |
+
|
| 42 |
+
The following hyperparameters were used during training:
|
| 43 |
+
- learning_rate: 1e-05
|
| 44 |
+
- train_batch_size: 8
|
| 45 |
+
- eval_batch_size: 8
|
| 46 |
+
- seed: 42
|
| 47 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
+
- lr_scheduler_type: linear
|
| 49 |
+
- lr_scheduler_warmup_steps: 0.2
|
| 50 |
+
- num_epochs: 8
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 55 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 56 |
+
| No log | 1.0 | 65 | 0.6917 | 0.9077 | 0.9066 |
|
| 57 |
+
| No log | 2.0 | 130 | 0.4789 | 0.9231 | 0.9234 |
|
| 58 |
+
| No log | 3.0 | 195 | 0.3158 | 0.9385 | 0.9381 |
|
| 59 |
+
| No log | 4.0 | 260 | 0.2137 | 0.9385 | 0.9379 |
|
| 60 |
+
| No log | 5.0 | 325 | 0.1870 | 0.9462 | 0.9455 |
|
| 61 |
+
| No log | 6.0 | 390 | 0.1566 | 0.9538 | 0.9534 |
|
| 62 |
+
| No log | 7.0 | 455 | 0.1474 | 0.9615 | 0.9608 |
|
| 63 |
+
| 0.2406 | 8.0 | 520 | 0.1471 | 0.9538 | 0.9534 |
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
### Framework versions
|
| 67 |
+
|
| 68 |
+
- Transformers 5.0.0
|
| 69 |
+
- Pytorch 2.10.0+cu128
|
| 70 |
+
- Datasets 4.0.0
|
| 71 |
+
- Tokenizers 0.22.2
|
config.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_cross_attention": false,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"directionality": "bidi",
|
| 10 |
+
"dtype": "float32",
|
| 11 |
+
"eos_token_id": null,
|
| 12 |
+
"hidden_act": "gelu",
|
| 13 |
+
"hidden_dropout_prob": 0.1,
|
| 14 |
+
"hidden_size": 768,
|
| 15 |
+
"id2label": {
|
| 16 |
+
"0": "DUVIDA_CATALOGO",
|
| 17 |
+
"1": "DUVIDA_FUNCIONAMENTO",
|
| 18 |
+
"2": "DUVIDA_PRECO",
|
| 19 |
+
"3": "STATUS_PEDIDO",
|
| 20 |
+
"4": "PRAZO_ENTREGA",
|
| 21 |
+
"5": "SEGUNDA_VIA_BOLETO",
|
| 22 |
+
"6": "CANCELAMENTO_ESTORNO",
|
| 23 |
+
"7": "FALHA_TECNICA",
|
| 24 |
+
"8": "XINGAMENTO_IRRITACAO",
|
| 25 |
+
"9": "HUMANO_ESCALONAMENTO",
|
| 26 |
+
"10": "SAUDACAO",
|
| 27 |
+
"11": "DESPEDIDA",
|
| 28 |
+
"12": "AGRADECIMENTO"
|
| 29 |
+
},
|
| 30 |
+
"initializer_range": 0.02,
|
| 31 |
+
"intermediate_size": 3072,
|
| 32 |
+
"is_decoder": false,
|
| 33 |
+
"label2id": {
|
| 34 |
+
"AGRADECIMENTO": 12,
|
| 35 |
+
"CANCELAMENTO_ESTORNO": 6,
|
| 36 |
+
"DESPEDIDA": 11,
|
| 37 |
+
"DUVIDA_CATALOGO": 0,
|
| 38 |
+
"DUVIDA_FUNCIONAMENTO": 1,
|
| 39 |
+
"DUVIDA_PRECO": 2,
|
| 40 |
+
"FALHA_TECNICA": 7,
|
| 41 |
+
"HUMANO_ESCALONAMENTO": 9,
|
| 42 |
+
"PRAZO_ENTREGA": 4,
|
| 43 |
+
"SAUDACAO": 10,
|
| 44 |
+
"SEGUNDA_VIA_BOLETO": 5,
|
| 45 |
+
"STATUS_PEDIDO": 3,
|
| 46 |
+
"XINGAMENTO_IRRITACAO": 8
|
| 47 |
+
},
|
| 48 |
+
"layer_norm_eps": 1e-12,
|
| 49 |
+
"max_position_embeddings": 512,
|
| 50 |
+
"model_type": "bert",
|
| 51 |
+
"num_attention_heads": 12,
|
| 52 |
+
"num_hidden_layers": 12,
|
| 53 |
+
"output_past": true,
|
| 54 |
+
"pad_token_id": 0,
|
| 55 |
+
"pooler_fc_size": 768,
|
| 56 |
+
"pooler_num_attention_heads": 12,
|
| 57 |
+
"pooler_num_fc_layers": 3,
|
| 58 |
+
"pooler_size_per_head": 128,
|
| 59 |
+
"pooler_type": "first_token_transform",
|
| 60 |
+
"problem_type": "single_label_classification",
|
| 61 |
+
"tie_word_embeddings": true,
|
| 62 |
+
"transformers_version": "5.0.0",
|
| 63 |
+
"type_vocab_size": 2,
|
| 64 |
+
"use_cache": false,
|
| 65 |
+
"vocab_size": 29794
|
| 66 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a2c32d2f9597c57542fb9663a2ff579a3c5c04f58a2aa66b52e9dac1c2ce029
|
| 3 |
+
size 435756036
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_lower_case": false,
|
| 5 |
+
"is_local": false,
|
| 6 |
+
"mask_token": "[MASK]",
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"pad_token": "[PAD]",
|
| 9 |
+
"sep_token": "[SEP]",
|
| 10 |
+
"strip_accents": null,
|
| 11 |
+
"tokenize_chinese_chars": true,
|
| 12 |
+
"tokenizer_class": "BertTokenizer",
|
| 13 |
+
"unk_token": "[UNK]"
|
| 14 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2bf17fc0e5f3903b35f3f3f8f30b72e72039e1ade213e32cc15e96410e12782d
|
| 3 |
+
size 5201
|