End of training
Browse files- README.md +112 -0
- config.json +98 -0
- model.safetensors +3 -0
- runs/Apr02_10-21-14_282a37b54bd0/events.out.tfevents.1743589275.282a37b54bd0.1070.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: bert-base-uncased
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- f1
|
| 10 |
+
model-index:
|
| 11 |
+
- name: absa
|
| 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 |
+
# absa
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 1.6213
|
| 23 |
+
- Accuracy: 0.7059
|
| 24 |
+
- F1: 0.4389
|
| 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: 2e-05
|
| 44 |
+
- train_batch_size: 64
|
| 45 |
+
- eval_batch_size: 64
|
| 46 |
+
- seed: 42
|
| 47 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
+
- lr_scheduler_type: linear
|
| 49 |
+
- num_epochs: 50
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 54 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 55 |
+
| 2.2394 | 1.0 | 149 | 1.5797 | 0.6125 | 0.1657 |
|
| 56 |
+
| 1.505 | 2.0 | 298 | 1.3557 | 0.6370 | 0.1928 |
|
| 57 |
+
| 1.2839 | 3.0 | 447 | 1.2337 | 0.6753 | 0.2603 |
|
| 58 |
+
| 1.1167 | 4.0 | 596 | 1.1764 | 0.6868 | 0.2958 |
|
| 59 |
+
| 0.9805 | 5.0 | 745 | 1.1334 | 0.6925 | 0.3355 |
|
| 60 |
+
| 0.8614 | 6.0 | 894 | 1.1179 | 0.6954 | 0.3472 |
|
| 61 |
+
| 0.7573 | 7.0 | 1043 | 1.1196 | 0.7011 | 0.3701 |
|
| 62 |
+
| 0.6696 | 8.0 | 1192 | 1.1380 | 0.6992 | 0.3821 |
|
| 63 |
+
| 0.5909 | 9.0 | 1341 | 1.1420 | 0.7031 | 0.3892 |
|
| 64 |
+
| 0.5244 | 10.0 | 1490 | 1.1554 | 0.7021 | 0.3972 |
|
| 65 |
+
| 0.4637 | 11.0 | 1639 | 1.1932 | 0.6978 | 0.3915 |
|
| 66 |
+
| 0.4116 | 12.0 | 1788 | 1.2032 | 0.6968 | 0.4044 |
|
| 67 |
+
| 0.3679 | 13.0 | 1937 | 1.2351 | 0.6892 | 0.3857 |
|
| 68 |
+
| 0.3333 | 14.0 | 2086 | 1.2645 | 0.7035 | 0.4071 |
|
| 69 |
+
| 0.303 | 15.0 | 2235 | 1.2936 | 0.6992 | 0.4183 |
|
| 70 |
+
| 0.2743 | 16.0 | 2384 | 1.3310 | 0.7045 | 0.4082 |
|
| 71 |
+
| 0.2504 | 17.0 | 2533 | 1.3357 | 0.7026 | 0.4339 |
|
| 72 |
+
| 0.2295 | 18.0 | 2682 | 1.3274 | 0.7050 | 0.4347 |
|
| 73 |
+
| 0.212 | 19.0 | 2831 | 1.3709 | 0.6949 | 0.4229 |
|
| 74 |
+
| 0.1953 | 20.0 | 2980 | 1.3922 | 0.6949 | 0.4394 |
|
| 75 |
+
| 0.1863 | 21.0 | 3129 | 1.4025 | 0.7011 | 0.4407 |
|
| 76 |
+
| 0.1726 | 22.0 | 3278 | 1.4215 | 0.7040 | 0.4266 |
|
| 77 |
+
| 0.1625 | 23.0 | 3427 | 1.4324 | 0.6887 | 0.4300 |
|
| 78 |
+
| 0.1536 | 24.0 | 3576 | 1.4505 | 0.7040 | 0.4198 |
|
| 79 |
+
| 0.1452 | 25.0 | 3725 | 1.4800 | 0.7064 | 0.4356 |
|
| 80 |
+
| 0.1369 | 26.0 | 3874 | 1.4869 | 0.6988 | 0.4409 |
|
| 81 |
+
| 0.1333 | 27.0 | 4023 | 1.5108 | 0.6978 | 0.4317 |
|
| 82 |
+
| 0.1294 | 28.0 | 4172 | 1.4938 | 0.7021 | 0.4408 |
|
| 83 |
+
| 0.1225 | 29.0 | 4321 | 1.5053 | 0.7021 | 0.4356 |
|
| 84 |
+
| 0.1169 | 30.0 | 4470 | 1.5472 | 0.6959 | 0.4292 |
|
| 85 |
+
| 0.1105 | 31.0 | 4619 | 1.5470 | 0.6988 | 0.4393 |
|
| 86 |
+
| 0.1086 | 32.0 | 4768 | 1.5285 | 0.7007 | 0.4311 |
|
| 87 |
+
| 0.1017 | 33.0 | 4917 | 1.5598 | 0.6949 | 0.4250 |
|
| 88 |
+
| 0.1022 | 34.0 | 5066 | 1.5873 | 0.7059 | 0.4374 |
|
| 89 |
+
| 0.0965 | 35.0 | 5215 | 1.5721 | 0.7045 | 0.4345 |
|
| 90 |
+
| 0.0964 | 36.0 | 5364 | 1.5777 | 0.7055 | 0.4345 |
|
| 91 |
+
| 0.0951 | 37.0 | 5513 | 1.5789 | 0.6940 | 0.4323 |
|
| 92 |
+
| 0.0894 | 38.0 | 5662 | 1.5818 | 0.6954 | 0.4305 |
|
| 93 |
+
| 0.0878 | 39.0 | 5811 | 1.5938 | 0.7083 | 0.4387 |
|
| 94 |
+
| 0.0828 | 40.0 | 5960 | 1.6007 | 0.7064 | 0.4406 |
|
| 95 |
+
| 0.0846 | 41.0 | 6109 | 1.6040 | 0.6983 | 0.4299 |
|
| 96 |
+
| 0.0783 | 42.0 | 6258 | 1.6126 | 0.7055 | 0.4393 |
|
| 97 |
+
| 0.0807 | 43.0 | 6407 | 1.6083 | 0.7002 | 0.4313 |
|
| 98 |
+
| 0.0774 | 44.0 | 6556 | 1.6123 | 0.7059 | 0.4407 |
|
| 99 |
+
| 0.0765 | 45.0 | 6705 | 1.6197 | 0.7055 | 0.4378 |
|
| 100 |
+
| 0.0751 | 46.0 | 6854 | 1.6168 | 0.7055 | 0.4365 |
|
| 101 |
+
| 0.0729 | 47.0 | 7003 | 1.6190 | 0.7074 | 0.4432 |
|
| 102 |
+
| 0.0718 | 48.0 | 7152 | 1.6217 | 0.7055 | 0.4393 |
|
| 103 |
+
| 0.0706 | 49.0 | 7301 | 1.6212 | 0.7069 | 0.4401 |
|
| 104 |
+
| 0.0665 | 50.0 | 7450 | 1.6213 | 0.7059 | 0.4389 |
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
### Framework versions
|
| 108 |
+
|
| 109 |
+
- Transformers 4.50.2
|
| 110 |
+
- Pytorch 2.6.0+cu124
|
| 111 |
+
- Datasets 3.5.0
|
| 112 |
+
- Tokenizers 0.21.1
|
config.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertForSequenceClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"classifier_dropout": null,
|
| 7 |
+
"gradient_checkpointing": false,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "LABEL_0",
|
| 13 |
+
"1": "LABEL_1",
|
| 14 |
+
"2": "LABEL_2",
|
| 15 |
+
"3": "LABEL_3",
|
| 16 |
+
"4": "LABEL_4",
|
| 17 |
+
"5": "LABEL_5",
|
| 18 |
+
"6": "LABEL_6",
|
| 19 |
+
"7": "LABEL_7",
|
| 20 |
+
"8": "LABEL_8",
|
| 21 |
+
"9": "LABEL_9",
|
| 22 |
+
"10": "LABEL_10",
|
| 23 |
+
"11": "LABEL_11",
|
| 24 |
+
"12": "LABEL_12",
|
| 25 |
+
"13": "LABEL_13",
|
| 26 |
+
"14": "LABEL_14",
|
| 27 |
+
"15": "LABEL_15",
|
| 28 |
+
"16": "LABEL_16",
|
| 29 |
+
"17": "LABEL_17",
|
| 30 |
+
"18": "LABEL_18",
|
| 31 |
+
"19": "LABEL_19",
|
| 32 |
+
"20": "LABEL_20",
|
| 33 |
+
"21": "LABEL_21",
|
| 34 |
+
"22": "LABEL_22",
|
| 35 |
+
"23": "LABEL_23",
|
| 36 |
+
"24": "LABEL_24",
|
| 37 |
+
"25": "LABEL_25",
|
| 38 |
+
"26": "LABEL_26",
|
| 39 |
+
"27": "LABEL_27",
|
| 40 |
+
"28": "LABEL_28",
|
| 41 |
+
"29": "LABEL_29",
|
| 42 |
+
"30": "LABEL_30",
|
| 43 |
+
"31": "LABEL_31",
|
| 44 |
+
"32": "LABEL_32",
|
| 45 |
+
"33": "LABEL_33"
|
| 46 |
+
},
|
| 47 |
+
"initializer_range": 0.02,
|
| 48 |
+
"intermediate_size": 3072,
|
| 49 |
+
"label2id": {
|
| 50 |
+
"LABEL_0": 0,
|
| 51 |
+
"LABEL_1": 1,
|
| 52 |
+
"LABEL_10": 10,
|
| 53 |
+
"LABEL_11": 11,
|
| 54 |
+
"LABEL_12": 12,
|
| 55 |
+
"LABEL_13": 13,
|
| 56 |
+
"LABEL_14": 14,
|
| 57 |
+
"LABEL_15": 15,
|
| 58 |
+
"LABEL_16": 16,
|
| 59 |
+
"LABEL_17": 17,
|
| 60 |
+
"LABEL_18": 18,
|
| 61 |
+
"LABEL_19": 19,
|
| 62 |
+
"LABEL_2": 2,
|
| 63 |
+
"LABEL_20": 20,
|
| 64 |
+
"LABEL_21": 21,
|
| 65 |
+
"LABEL_22": 22,
|
| 66 |
+
"LABEL_23": 23,
|
| 67 |
+
"LABEL_24": 24,
|
| 68 |
+
"LABEL_25": 25,
|
| 69 |
+
"LABEL_26": 26,
|
| 70 |
+
"LABEL_27": 27,
|
| 71 |
+
"LABEL_28": 28,
|
| 72 |
+
"LABEL_29": 29,
|
| 73 |
+
"LABEL_3": 3,
|
| 74 |
+
"LABEL_30": 30,
|
| 75 |
+
"LABEL_31": 31,
|
| 76 |
+
"LABEL_32": 32,
|
| 77 |
+
"LABEL_33": 33,
|
| 78 |
+
"LABEL_4": 4,
|
| 79 |
+
"LABEL_5": 5,
|
| 80 |
+
"LABEL_6": 6,
|
| 81 |
+
"LABEL_7": 7,
|
| 82 |
+
"LABEL_8": 8,
|
| 83 |
+
"LABEL_9": 9
|
| 84 |
+
},
|
| 85 |
+
"layer_norm_eps": 1e-12,
|
| 86 |
+
"max_position_embeddings": 512,
|
| 87 |
+
"model_type": "bert",
|
| 88 |
+
"num_attention_heads": 12,
|
| 89 |
+
"num_hidden_layers": 12,
|
| 90 |
+
"pad_token_id": 0,
|
| 91 |
+
"position_embedding_type": "absolute",
|
| 92 |
+
"problem_type": "single_label_classification",
|
| 93 |
+
"torch_dtype": "float32",
|
| 94 |
+
"transformers_version": "4.50.2",
|
| 95 |
+
"type_vocab_size": 2,
|
| 96 |
+
"use_cache": true,
|
| 97 |
+
"vocab_size": 30522
|
| 98 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:524db4cf3331926733e0d9c3d0580696b8c3823e83387f45675068f93e4faf07
|
| 3 |
+
size 438057080
|
runs/Apr02_10-21-14_282a37b54bd0/events.out.tfevents.1743589275.282a37b54bd0.1070.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a5b4665df7394ab09f2f166ffa0fa01dbb2a7b2b5d8ca73e6e559a399c3a8ee
|
| 3 |
+
size 35784
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": "[CLS]",
|
| 3 |
+
"mask_token": "[MASK]",
|
| 4 |
+
"pad_token": "[PAD]",
|
| 5 |
+
"sep_token": "[SEP]",
|
| 6 |
+
"unk_token": "[UNK]"
|
| 7 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"100": {
|
| 12 |
+
"content": "[UNK]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"101": {
|
| 20 |
+
"content": "[CLS]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"102": {
|
| 28 |
+
"content": "[SEP]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"103": {
|
| 36 |
+
"content": "[MASK]",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"clean_up_tokenization_spaces": false,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_lower_case": true,
|
| 47 |
+
"extra_special_tokens": {},
|
| 48 |
+
"mask_token": "[MASK]",
|
| 49 |
+
"model_max_length": 512,
|
| 50 |
+
"pad_token": "[PAD]",
|
| 51 |
+
"sep_token": "[SEP]",
|
| 52 |
+
"strip_accents": null,
|
| 53 |
+
"tokenize_chinese_chars": true,
|
| 54 |
+
"tokenizer_class": "BertTokenizer",
|
| 55 |
+
"unk_token": "[UNK]"
|
| 56 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2cab4c506efe9b2929974f23acb89723b54cc68b908288bdb562510d223bb13f
|
| 3 |
+
size 5304
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|