Text Classification
Transformers
Safetensors
Portuguese
English
bert
aes
Eval Results (legacy)
text-embeddings-inference
Instructions to use kamel-usp/jbcs2025_bert-base-portuguese-cased-encoder_classification-C2-essay_only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kamel-usp/jbcs2025_bert-base-portuguese-cased-encoder_classification-C2-essay_only with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kamel-usp/jbcs2025_bert-base-portuguese-cased-encoder_classification-C2-essay_only")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("kamel-usp/jbcs2025_bert-base-portuguese-cased-encoder_classification-C2-essay_only") model = AutoModelForSequenceClassification.from_pretrained("kamel-usp/jbcs2025_bert-base-portuguese-cased-encoder_classification-C2-essay_only", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Pushing fine-tuned model to Hugging Face Hub
Browse files- README.md +48 -0
- config.json +47 -0
- emissions.csv +2 -0
- evaluation_results.csv +4 -0
- model.safetensors +3 -0
- run_experiment.log +394 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
language:
|
| 4 |
+
- pt
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- aes
|
| 8 |
+
datasets:
|
| 9 |
+
- kamel-usp/aes_enem_dataset
|
| 10 |
+
base_model: neuralmind/bert-base-portuguese-cased
|
| 11 |
+
metrics:
|
| 12 |
+
- accuracy
|
| 13 |
+
- qwk
|
| 14 |
+
library_name: transformers
|
| 15 |
+
model-index:
|
| 16 |
+
- name: bert-base-portuguese-cased-encoder_classification-C2-essay_only
|
| 17 |
+
results:
|
| 18 |
+
- task:
|
| 19 |
+
type: text-classification
|
| 20 |
+
name: Automated Essay Score
|
| 21 |
+
dataset:
|
| 22 |
+
name: Automated Essay Score ENEM Dataset
|
| 23 |
+
type: kamel-usp/aes_enem_dataset
|
| 24 |
+
config: JBCS2025
|
| 25 |
+
split: test
|
| 26 |
+
metrics:
|
| 27 |
+
- name: Macro F1
|
| 28 |
+
type: f1
|
| 29 |
+
value: 0.2490308302808302
|
| 30 |
+
- name: QWK
|
| 31 |
+
type: qwk
|
| 32 |
+
value: 0.3477835723598436
|
| 33 |
+
- name: Weighted Macro F1
|
| 34 |
+
type: f1
|
| 35 |
+
value: 0.3493722461113765
|
| 36 |
+
---
|
| 37 |
+
# Model ID: bert-base-portuguese-cased-encoder_classification-C2-essay_only
|
| 38 |
+
## Results
|
| 39 |
+
| | test_data |
|
| 40 |
+
|:-----------------|------------:|
|
| 41 |
+
| eval_accuracy | 0.347826 |
|
| 42 |
+
| eval_RMSE | 63.5199 |
|
| 43 |
+
| eval_QWK | 0.347784 |
|
| 44 |
+
| eval_Macro_F1 | 0.249031 |
|
| 45 |
+
| eval_Weighted_F1 | 0.349372 |
|
| 46 |
+
| eval_Micro_F1 | 0.347826 |
|
| 47 |
+
| eval_HDIV | 0.115942 |
|
| 48 |
+
|
config.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertForSequenceClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"classifier_dropout": null,
|
| 7 |
+
"directionality": "bidi",
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": 0,
|
| 13 |
+
"1": 40,
|
| 14 |
+
"2": 80,
|
| 15 |
+
"3": 120,
|
| 16 |
+
"4": 160,
|
| 17 |
+
"5": 200
|
| 18 |
+
},
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 3072,
|
| 21 |
+
"label2id": {
|
| 22 |
+
"0": 0,
|
| 23 |
+
"40": 1,
|
| 24 |
+
"80": 2,
|
| 25 |
+
"120": 3,
|
| 26 |
+
"160": 4,
|
| 27 |
+
"200": 5
|
| 28 |
+
},
|
| 29 |
+
"layer_norm_eps": 1e-12,
|
| 30 |
+
"max_position_embeddings": 512,
|
| 31 |
+
"model_type": "bert",
|
| 32 |
+
"num_attention_heads": 12,
|
| 33 |
+
"num_hidden_layers": 12,
|
| 34 |
+
"output_past": true,
|
| 35 |
+
"pad_token_id": 0,
|
| 36 |
+
"pooler_fc_size": 768,
|
| 37 |
+
"pooler_num_attention_heads": 12,
|
| 38 |
+
"pooler_num_fc_layers": 3,
|
| 39 |
+
"pooler_size_per_head": 128,
|
| 40 |
+
"pooler_type": "first_token_transform",
|
| 41 |
+
"position_embedding_type": "absolute",
|
| 42 |
+
"torch_dtype": "float32",
|
| 43 |
+
"transformers_version": "4.53.1",
|
| 44 |
+
"type_vocab_size": 2,
|
| 45 |
+
"use_cache": true,
|
| 46 |
+
"vocab_size": 29794
|
| 47 |
+
}
|
emissions.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
timestamp,project_name,run_id,experiment_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
|
| 2 |
+
2025-07-09T16:34:51,jbcs2025,fd63b1ba-b0a5-4e24-95eb-9ad49bc1882a,bert-base-portuguese-cased-encoder_classification-C2-essay_only,82.2578282339964,0.0016470799263036229,2.0023382110432377e-05,45.11863636363636,210.4038427300964,58.0,0.0009896148093088753,0.004555671700089192,0.0013009159500592634,0.006846202459457331,Romania,ROU,gorj county,,,Linux-5.15.0-143-generic-x86_64-with-glibc2.35,3.12.11,3.0.2,36,Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz,1,1 x NVIDIA RTX A6000,23.2904,45.0489,393.6063117980957,machine,N,1.0
|
evaluation_results.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
eval_loss,eval_model_preparation_time,eval_accuracy,eval_RMSE,eval_QWK,eval_HDIV,eval_Macro_F1,eval_Micro_F1,eval_Weighted_F1,eval_TP_0,eval_TN_0,eval_FP_0,eval_FN_0,eval_TP_1,eval_TN_1,eval_FP_1,eval_FN_1,eval_TP_2,eval_TN_2,eval_FP_2,eval_FN_2,eval_TP_3,eval_TN_3,eval_FP_3,eval_FN_3,eval_TP_4,eval_TN_4,eval_FP_4,eval_FN_4,eval_TP_5,eval_TN_5,eval_FP_5,eval_FN_5,eval_runtime,eval_samples_per_second,eval_steps_per_second,epoch,reference,timestamp,id
|
| 2 |
+
1.7808504104614258,0.0022,0.1893939393939394,95.6635518445513,0.0,0.34090909090909094,0.06369426751592357,0.1893939393939394,0.06031654120826095,0,131,0,1,25,0,107,0,0,132,0,0,0,71,0,61,0,102,0,30,0,117,0,15,0.7765,169.985,11.59,-1,validation_before_training,2025-07-09 16:33:37,bert-base-portuguese-cased-encoder_classification-C2-essay_only
|
| 3 |
+
1.6876201629638672,0.0022,0.3333333333333333,60.201681240995455,0.397729353598242,0.06060606060606055,0.20920999173426358,0.3333333333333333,0.33920595438689,0,131,0,1,7,84,23,18,0,124,8,0,23,52,19,38,4,94,8,26,10,87,30,5,0.3941,334.952,22.838,10.0,validation_after_training,2025-07-09 16:33:37,bert-base-portuguese-cased-encoder_classification-C2-essay_only
|
| 4 |
+
1.7175557613372803,0.0022,0.34782608695652173,63.519938670433646,0.3477835723598436,0.1159420289855072,0.24903083028083028,0.34782608695652173,0.34937224611137657,0,137,0,1,17,70,33,18,1,124,9,4,19,66,21,32,6,92,20,20,5,111,7,15,0.3923,351.73,22.939,10.0,test_results,2025-07-09 16:33:37,bert-base-portuguese-cased-encoder_classification-C2-essay_only
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82cf240e9af36a107c9e8ad3f6a630ed12113f2548f820af2331c86eff1d0b44
|
| 3 |
+
size 435734528
|
run_experiment.log
ADDED
|
@@ -0,0 +1,394 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2025-07-09 16:33:25,901][__main__][INFO] - cache_dir: /tmp/
|
| 2 |
+
dataset:
|
| 3 |
+
name: kamel-usp/aes_enem_dataset
|
| 4 |
+
split: JBCS2025
|
| 5 |
+
training_params:
|
| 6 |
+
seed: 42
|
| 7 |
+
num_train_epochs: 20
|
| 8 |
+
logging_steps: 100
|
| 9 |
+
metric_for_best_model: QWK
|
| 10 |
+
bf16: true
|
| 11 |
+
bootstrap:
|
| 12 |
+
enabled: true
|
| 13 |
+
n_bootstrap: 10000
|
| 14 |
+
bootstrap_seed: 42
|
| 15 |
+
metrics:
|
| 16 |
+
- QWK
|
| 17 |
+
- Macro_F1
|
| 18 |
+
- Weighted_F1
|
| 19 |
+
post_training_results:
|
| 20 |
+
model_path: /workspace/jbcs2025/outputs/2025-03-24/20-42-59
|
| 21 |
+
experiments:
|
| 22 |
+
model:
|
| 23 |
+
name: neuralmind/bert-base-portuguese-cased
|
| 24 |
+
type: encoder_classification
|
| 25 |
+
num_labels: 6
|
| 26 |
+
output_dir: ./results/
|
| 27 |
+
logging_dir: ./logs/
|
| 28 |
+
best_model_dir: ./results/best_model
|
| 29 |
+
tokenizer:
|
| 30 |
+
name: neuralmind/bert-base-portuguese-cased
|
| 31 |
+
dataset:
|
| 32 |
+
grade_index: 1
|
| 33 |
+
use_full_context: false
|
| 34 |
+
training_params:
|
| 35 |
+
weight_decay: 0.01
|
| 36 |
+
warmup_ratio: 0.1
|
| 37 |
+
learning_rate: 5.0e-05
|
| 38 |
+
train_batch_size: 16
|
| 39 |
+
eval_batch_size: 16
|
| 40 |
+
gradient_accumulation_steps: 1
|
| 41 |
+
gradient_checkpointing: false
|
| 42 |
+
|
| 43 |
+
[2025-07-09 16:33:29,741][__main__][INFO] - GPU 0: NVIDIA RTX A6000 | TDP ≈ 300 W
|
| 44 |
+
[2025-07-09 16:33:29,741][__main__][INFO] - Starting the Fine Tuning training process.
|
| 45 |
+
[2025-07-09 16:33:34,824][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--neuralmind--bert-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/config.json
|
| 46 |
+
[2025-07-09 16:33:34,825][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 47 |
+
"architectures": [
|
| 48 |
+
"BertForMaskedLM"
|
| 49 |
+
],
|
| 50 |
+
"attention_probs_dropout_prob": 0.1,
|
| 51 |
+
"classifier_dropout": null,
|
| 52 |
+
"directionality": "bidi",
|
| 53 |
+
"hidden_act": "gelu",
|
| 54 |
+
"hidden_dropout_prob": 0.1,
|
| 55 |
+
"hidden_size": 768,
|
| 56 |
+
"initializer_range": 0.02,
|
| 57 |
+
"intermediate_size": 3072,
|
| 58 |
+
"layer_norm_eps": 1e-12,
|
| 59 |
+
"max_position_embeddings": 512,
|
| 60 |
+
"model_type": "bert",
|
| 61 |
+
"num_attention_heads": 12,
|
| 62 |
+
"num_hidden_layers": 12,
|
| 63 |
+
"output_past": true,
|
| 64 |
+
"pad_token_id": 0,
|
| 65 |
+
"pooler_fc_size": 768,
|
| 66 |
+
"pooler_num_attention_heads": 12,
|
| 67 |
+
"pooler_num_fc_layers": 3,
|
| 68 |
+
"pooler_size_per_head": 128,
|
| 69 |
+
"pooler_type": "first_token_transform",
|
| 70 |
+
"position_embedding_type": "absolute",
|
| 71 |
+
"transformers_version": "4.53.1",
|
| 72 |
+
"type_vocab_size": 2,
|
| 73 |
+
"use_cache": true,
|
| 74 |
+
"vocab_size": 29794
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
[2025-07-09 16:33:35,020][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--neuralmind--bert-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/config.json
|
| 78 |
+
[2025-07-09 16:33:35,021][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 79 |
+
"architectures": [
|
| 80 |
+
"BertForMaskedLM"
|
| 81 |
+
],
|
| 82 |
+
"attention_probs_dropout_prob": 0.1,
|
| 83 |
+
"classifier_dropout": null,
|
| 84 |
+
"directionality": "bidi",
|
| 85 |
+
"hidden_act": "gelu",
|
| 86 |
+
"hidden_dropout_prob": 0.1,
|
| 87 |
+
"hidden_size": 768,
|
| 88 |
+
"initializer_range": 0.02,
|
| 89 |
+
"intermediate_size": 3072,
|
| 90 |
+
"layer_norm_eps": 1e-12,
|
| 91 |
+
"max_position_embeddings": 512,
|
| 92 |
+
"model_type": "bert",
|
| 93 |
+
"num_attention_heads": 12,
|
| 94 |
+
"num_hidden_layers": 12,
|
| 95 |
+
"output_past": true,
|
| 96 |
+
"pad_token_id": 0,
|
| 97 |
+
"pooler_fc_size": 768,
|
| 98 |
+
"pooler_num_attention_heads": 12,
|
| 99 |
+
"pooler_num_fc_layers": 3,
|
| 100 |
+
"pooler_size_per_head": 128,
|
| 101 |
+
"pooler_type": "first_token_transform",
|
| 102 |
+
"position_embedding_type": "absolute",
|
| 103 |
+
"transformers_version": "4.53.1",
|
| 104 |
+
"type_vocab_size": 2,
|
| 105 |
+
"use_cache": true,
|
| 106 |
+
"vocab_size": 29794
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
[2025-07-09 16:33:35,219][transformers.tokenization_utils_base][INFO] - loading file vocab.txt from cache at /tmp/models--neuralmind--bert-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/vocab.txt
|
| 110 |
+
[2025-07-09 16:33:35,219][transformers.tokenization_utils_base][INFO] - loading file tokenizer.json from cache at None
|
| 111 |
+
[2025-07-09 16:33:35,219][transformers.tokenization_utils_base][INFO] - loading file added_tokens.json from cache at /tmp/models--neuralmind--bert-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/added_tokens.json
|
| 112 |
+
[2025-07-09 16:33:35,219][transformers.tokenization_utils_base][INFO] - loading file special_tokens_map.json from cache at /tmp/models--neuralmind--bert-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/special_tokens_map.json
|
| 113 |
+
[2025-07-09 16:33:35,219][transformers.tokenization_utils_base][INFO] - loading file tokenizer_config.json from cache at /tmp/models--neuralmind--bert-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/tokenizer_config.json
|
| 114 |
+
[2025-07-09 16:33:35,219][transformers.tokenization_utils_base][INFO] - loading file chat_template.jinja from cache at None
|
| 115 |
+
[2025-07-09 16:33:35,219][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--neuralmind--bert-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/config.json
|
| 116 |
+
[2025-07-09 16:33:35,220][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 117 |
+
"architectures": [
|
| 118 |
+
"BertForMaskedLM"
|
| 119 |
+
],
|
| 120 |
+
"attention_probs_dropout_prob": 0.1,
|
| 121 |
+
"classifier_dropout": null,
|
| 122 |
+
"directionality": "bidi",
|
| 123 |
+
"hidden_act": "gelu",
|
| 124 |
+
"hidden_dropout_prob": 0.1,
|
| 125 |
+
"hidden_size": 768,
|
| 126 |
+
"initializer_range": 0.02,
|
| 127 |
+
"intermediate_size": 3072,
|
| 128 |
+
"layer_norm_eps": 1e-12,
|
| 129 |
+
"max_position_embeddings": 512,
|
| 130 |
+
"model_type": "bert",
|
| 131 |
+
"num_attention_heads": 12,
|
| 132 |
+
"num_hidden_layers": 12,
|
| 133 |
+
"output_past": true,
|
| 134 |
+
"pad_token_id": 0,
|
| 135 |
+
"pooler_fc_size": 768,
|
| 136 |
+
"pooler_num_attention_heads": 12,
|
| 137 |
+
"pooler_num_fc_layers": 3,
|
| 138 |
+
"pooler_size_per_head": 128,
|
| 139 |
+
"pooler_type": "first_token_transform",
|
| 140 |
+
"position_embedding_type": "absolute",
|
| 141 |
+
"transformers_version": "4.53.1",
|
| 142 |
+
"type_vocab_size": 2,
|
| 143 |
+
"use_cache": true,
|
| 144 |
+
"vocab_size": 29794
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
[2025-07-09 16:33:35,250][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--neuralmind--bert-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/config.json
|
| 148 |
+
[2025-07-09 16:33:35,250][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 149 |
+
"architectures": [
|
| 150 |
+
"BertForMaskedLM"
|
| 151 |
+
],
|
| 152 |
+
"attention_probs_dropout_prob": 0.1,
|
| 153 |
+
"classifier_dropout": null,
|
| 154 |
+
"directionality": "bidi",
|
| 155 |
+
"hidden_act": "gelu",
|
| 156 |
+
"hidden_dropout_prob": 0.1,
|
| 157 |
+
"hidden_size": 768,
|
| 158 |
+
"initializer_range": 0.02,
|
| 159 |
+
"intermediate_size": 3072,
|
| 160 |
+
"layer_norm_eps": 1e-12,
|
| 161 |
+
"max_position_embeddings": 512,
|
| 162 |
+
"model_type": "bert",
|
| 163 |
+
"num_attention_heads": 12,
|
| 164 |
+
"num_hidden_layers": 12,
|
| 165 |
+
"output_past": true,
|
| 166 |
+
"pad_token_id": 0,
|
| 167 |
+
"pooler_fc_size": 768,
|
| 168 |
+
"pooler_num_attention_heads": 12,
|
| 169 |
+
"pooler_num_fc_layers": 3,
|
| 170 |
+
"pooler_size_per_head": 128,
|
| 171 |
+
"pooler_type": "first_token_transform",
|
| 172 |
+
"position_embedding_type": "absolute",
|
| 173 |
+
"transformers_version": "4.53.1",
|
| 174 |
+
"type_vocab_size": 2,
|
| 175 |
+
"use_cache": true,
|
| 176 |
+
"vocab_size": 29794
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
[2025-07-09 16:33:35,268][__main__][INFO] - Tokenizer function parameters- Padding:longest; Truncation: True; Use Full Context: False
|
| 180 |
+
[2025-07-09 16:33:35,890][__main__][INFO] -
|
| 181 |
+
Token statistics for 'train' split:
|
| 182 |
+
[2025-07-09 16:33:35,890][__main__][INFO] - Total examples: 500
|
| 183 |
+
[2025-07-09 16:33:35,890][__main__][INFO] - Min tokens: 512
|
| 184 |
+
[2025-07-09 16:33:35,890][__main__][INFO] - Max tokens: 512
|
| 185 |
+
[2025-07-09 16:33:35,891][__main__][INFO] - Avg tokens: 512.00
|
| 186 |
+
[2025-07-09 16:33:35,891][__main__][INFO] - Std tokens: 0.00
|
| 187 |
+
[2025-07-09 16:33:35,983][__main__][INFO] -
|
| 188 |
+
Token statistics for 'validation' split:
|
| 189 |
+
[2025-07-09 16:33:35,983][__main__][INFO] - Total examples: 132
|
| 190 |
+
[2025-07-09 16:33:35,983][__main__][INFO] - Min tokens: 512
|
| 191 |
+
[2025-07-09 16:33:35,983][__main__][INFO] - Max tokens: 512
|
| 192 |
+
[2025-07-09 16:33:35,983][__main__][INFO] - Avg tokens: 512.00
|
| 193 |
+
[2025-07-09 16:33:35,983][__main__][INFO] - Std tokens: 0.00
|
| 194 |
+
[2025-07-09 16:33:36,082][__main__][INFO] -
|
| 195 |
+
Token statistics for 'test' split:
|
| 196 |
+
[2025-07-09 16:33:36,083][__main__][INFO] - Total examples: 138
|
| 197 |
+
[2025-07-09 16:33:36,083][__main__][INFO] - Min tokens: 512
|
| 198 |
+
[2025-07-09 16:33:36,083][__main__][INFO] - Max tokens: 512
|
| 199 |
+
[2025-07-09 16:33:36,083][__main__][INFO] - Avg tokens: 512.00
|
| 200 |
+
[2025-07-09 16:33:36,083][__main__][INFO] - Std tokens: 0.00
|
| 201 |
+
[2025-07-09 16:33:36,083][__main__][INFO] - If token statistics are the same (max, avg, min) keep in mind that this is due to batched tokenization and padding.
|
| 202 |
+
[2025-07-09 16:33:36,083][__main__][INFO] - Model max length: 512. If it is the same as stats, then there is a high chance that sequences are being truncated.
|
| 203 |
+
[2025-07-09 16:33:36,300][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--neuralmind--bert-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/config.json
|
| 204 |
+
[2025-07-09 16:33:36,301][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 205 |
+
"architectures": [
|
| 206 |
+
"BertForMaskedLM"
|
| 207 |
+
],
|
| 208 |
+
"attention_probs_dropout_prob": 0.1,
|
| 209 |
+
"classifier_dropout": null,
|
| 210 |
+
"directionality": "bidi",
|
| 211 |
+
"hidden_act": "gelu",
|
| 212 |
+
"hidden_dropout_prob": 0.1,
|
| 213 |
+
"hidden_size": 768,
|
| 214 |
+
"id2label": {
|
| 215 |
+
"0": 0,
|
| 216 |
+
"1": 40,
|
| 217 |
+
"2": 80,
|
| 218 |
+
"3": 120,
|
| 219 |
+
"4": 160,
|
| 220 |
+
"5": 200
|
| 221 |
+
},
|
| 222 |
+
"initializer_range": 0.02,
|
| 223 |
+
"intermediate_size": 3072,
|
| 224 |
+
"label2id": {
|
| 225 |
+
"0": 0,
|
| 226 |
+
"40": 1,
|
| 227 |
+
"80": 2,
|
| 228 |
+
"120": 3,
|
| 229 |
+
"160": 4,
|
| 230 |
+
"200": 5
|
| 231 |
+
},
|
| 232 |
+
"layer_norm_eps": 1e-12,
|
| 233 |
+
"max_position_embeddings": 512,
|
| 234 |
+
"model_type": "bert",
|
| 235 |
+
"num_attention_heads": 12,
|
| 236 |
+
"num_hidden_layers": 12,
|
| 237 |
+
"output_past": true,
|
| 238 |
+
"pad_token_id": 0,
|
| 239 |
+
"pooler_fc_size": 768,
|
| 240 |
+
"pooler_num_attention_heads": 12,
|
| 241 |
+
"pooler_num_fc_layers": 3,
|
| 242 |
+
"pooler_size_per_head": 128,
|
| 243 |
+
"pooler_type": "first_token_transform",
|
| 244 |
+
"position_embedding_type": "absolute",
|
| 245 |
+
"transformers_version": "4.53.1",
|
| 246 |
+
"type_vocab_size": 2,
|
| 247 |
+
"use_cache": true,
|
| 248 |
+
"vocab_size": 29794
|
| 249 |
+
}
|
| 250 |
+
|
| 251 |
+
[2025-07-09 16:33:36,719][transformers.modeling_utils][INFO] - loading weights file pytorch_model.bin from cache at /tmp/models--neuralmind--bert-base-portuguese-cased/snapshots/94d69c95f98f7d5b2a8700c420230ae10def0baa/pytorch_model.bin
|
| 252 |
+
[2025-07-09 16:33:36,846][transformers.modeling_utils][INFO] - Since the `torch_dtype` attribute can't be found in model's config object, will use torch_dtype={torch_dtype} as derived from model's weights
|
| 253 |
+
[2025-07-09 16:33:36,846][transformers.modeling_utils][INFO] - Instantiating BertForSequenceClassification model under default dtype torch.float32.
|
| 254 |
+
[2025-07-09 16:33:36,911][transformers.safetensors_conversion][INFO] - Attempting to create safetensors variant
|
| 255 |
+
[2025-07-09 16:33:37,672][transformers.safetensors_conversion][INFO] - Safetensors PR exists
|
| 256 |
+
[2025-07-09 16:33:37,900][transformers.modeling_utils][INFO] - Some weights of the model checkpoint at neuralmind/bert-base-portuguese-cased were not used when initializing BertForSequenceClassification: ['cls.predictions.bias', 'cls.predictions.decoder.weight', 'cls.predictions.transform.LayerNorm.bias', 'cls.predictions.transform.LayerNorm.weight', 'cls.predictions.transform.dense.bias', 'cls.predictions.transform.dense.weight', 'cls.seq_relationship.bias', 'cls.seq_relationship.weight']
|
| 257 |
+
- This IS expected if you are initializing BertForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
|
| 258 |
+
- This IS NOT expected if you are initializing BertForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
|
| 259 |
+
[2025-07-09 16:33:37,901][transformers.modeling_utils][WARNING] - Some weights of BertForSequenceClassification were not initialized from the model checkpoint at neuralmind/bert-base-portuguese-cased and are newly initialized: ['classifier.bias', 'classifier.weight']
|
| 260 |
+
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
|
| 261 |
+
[2025-07-09 16:33:37,907][transformers.training_args][INFO] - PyTorch: setting up devices
|
| 262 |
+
[2025-07-09 16:33:37,929][__main__][INFO] - Total steps: 620. Number of warmup steps: 62
|
| 263 |
+
[2025-07-09 16:33:37,937][transformers.trainer][INFO] - You have loaded a model on multiple GPUs. `is_model_parallel` attribute will be force-set to `True` to avoid any unexpected behavior such as device placement mismatching.
|
| 264 |
+
[2025-07-09 16:33:37,961][transformers.trainer][INFO] - Using auto half precision backend
|
| 265 |
+
[2025-07-09 16:33:37,964][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 266 |
+
[2025-07-09 16:33:37,969][transformers.trainer][INFO] -
|
| 267 |
+
***** Running Evaluation *****
|
| 268 |
+
[2025-07-09 16:33:37,969][transformers.trainer][INFO] - Num examples = 132
|
| 269 |
+
[2025-07-09 16:33:37,969][transformers.trainer][INFO] - Batch size = 16
|
| 270 |
+
[2025-07-09 16:33:39,133][transformers.trainer][INFO] - The following columns in the Training set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 271 |
+
[2025-07-09 16:33:39,143][transformers.trainer][INFO] - ***** Running training *****
|
| 272 |
+
[2025-07-09 16:33:39,143][transformers.trainer][INFO] - Num examples = 500
|
| 273 |
+
[2025-07-09 16:33:39,143][transformers.trainer][INFO] - Num Epochs = 20
|
| 274 |
+
[2025-07-09 16:33:39,143][transformers.trainer][INFO] - Instantaneous batch size per device = 16
|
| 275 |
+
[2025-07-09 16:33:39,143][transformers.trainer][INFO] - Total train batch size (w. parallel, distributed & accumulation) = 16
|
| 276 |
+
[2025-07-09 16:33:39,143][transformers.trainer][INFO] - Gradient Accumulation steps = 1
|
| 277 |
+
[2025-07-09 16:33:39,143][transformers.trainer][INFO] - Total optimization steps = 640
|
| 278 |
+
[2025-07-09 16:33:39,143][transformers.trainer][INFO] - Number of trainable parameters = 108,927,750
|
| 279 |
+
[2025-07-09 16:33:43,844][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 280 |
+
[2025-07-09 16:33:43,847][transformers.trainer][INFO] -
|
| 281 |
+
***** Running Evaluation *****
|
| 282 |
+
[2025-07-09 16:33:43,847][transformers.trainer][INFO] - Num examples = 132
|
| 283 |
+
[2025-07-09 16:33:43,847][transformers.trainer][INFO] - Batch size = 16
|
| 284 |
+
[2025-07-09 16:33:44,238][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-32
|
| 285 |
+
[2025-07-09 16:33:44,240][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-32/config.json
|
| 286 |
+
[2025-07-09 16:33:45,191][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-32/model.safetensors
|
| 287 |
+
[2025-07-09 16:33:50,697][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 288 |
+
[2025-07-09 16:33:50,700][transformers.trainer][INFO] -
|
| 289 |
+
***** Running Evaluation *****
|
| 290 |
+
[2025-07-09 16:33:50,701][transformers.trainer][INFO] - Num examples = 132
|
| 291 |
+
[2025-07-09 16:33:50,701][transformers.trainer][INFO] - Batch size = 16
|
| 292 |
+
[2025-07-09 16:33:51,122][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-64
|
| 293 |
+
[2025-07-09 16:33:51,123][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-64/config.json
|
| 294 |
+
[2025-07-09 16:33:51,996][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-64/model.safetensors
|
| 295 |
+
[2025-07-09 16:33:53,125][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-32] due to args.save_total_limit
|
| 296 |
+
[2025-07-09 16:33:57,709][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 297 |
+
[2025-07-09 16:33:57,711][transformers.trainer][INFO] -
|
| 298 |
+
***** Running Evaluation *****
|
| 299 |
+
[2025-07-09 16:33:57,712][transformers.trainer][INFO] - Num examples = 132
|
| 300 |
+
[2025-07-09 16:33:57,712][transformers.trainer][INFO] - Batch size = 16
|
| 301 |
+
[2025-07-09 16:33:58,097][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-96
|
| 302 |
+
[2025-07-09 16:33:58,098][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-96/config.json
|
| 303 |
+
[2025-07-09 16:33:58,892][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-96/model.safetensors
|
| 304 |
+
[2025-07-09 16:34:04,225][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 305 |
+
[2025-07-09 16:34:04,229][transformers.trainer][INFO] -
|
| 306 |
+
***** Running Evaluation *****
|
| 307 |
+
[2025-07-09 16:34:04,229][transformers.trainer][INFO] - Num examples = 132
|
| 308 |
+
[2025-07-09 16:34:04,229][transformers.trainer][INFO] - Batch size = 16
|
| 309 |
+
[2025-07-09 16:34:04,615][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-128
|
| 310 |
+
[2025-07-09 16:34:04,616][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-128/config.json
|
| 311 |
+
[2025-07-09 16:34:05,587][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-128/model.safetensors
|
| 312 |
+
[2025-07-09 16:34:06,570][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-64] due to args.save_total_limit
|
| 313 |
+
[2025-07-09 16:34:06,664][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-96] due to args.save_total_limit
|
| 314 |
+
[2025-07-09 16:34:11,268][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 315 |
+
[2025-07-09 16:34:11,271][transformers.trainer][INFO] -
|
| 316 |
+
***** Running Evaluation *****
|
| 317 |
+
[2025-07-09 16:34:11,271][transformers.trainer][INFO] - Num examples = 132
|
| 318 |
+
[2025-07-09 16:34:11,271][transformers.trainer][INFO] - Batch size = 16
|
| 319 |
+
[2025-07-09 16:34:11,660][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-160
|
| 320 |
+
[2025-07-09 16:34:11,662][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-160/config.json
|
| 321 |
+
[2025-07-09 16:34:12,471][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-160/model.safetensors
|
| 322 |
+
[2025-07-09 16:34:13,431][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-128] due to args.save_total_limit
|
| 323 |
+
[2025-07-09 16:34:18,058][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 324 |
+
[2025-07-09 16:34:18,060][transformers.trainer][INFO] -
|
| 325 |
+
***** Running Evaluation *****
|
| 326 |
+
[2025-07-09 16:34:18,060][transformers.trainer][INFO] - Num examples = 132
|
| 327 |
+
[2025-07-09 16:34:18,060][transformers.trainer][INFO] - Batch size = 16
|
| 328 |
+
[2025-07-09 16:34:18,451][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-192
|
| 329 |
+
[2025-07-09 16:34:18,453][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-192/config.json
|
| 330 |
+
[2025-07-09 16:34:19,471][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-192/model.safetensors
|
| 331 |
+
[2025-07-09 16:34:25,567][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 332 |
+
[2025-07-09 16:34:25,570][transformers.trainer][INFO] -
|
| 333 |
+
***** Running Evaluation *****
|
| 334 |
+
[2025-07-09 16:34:25,570][transformers.trainer][INFO] - Num examples = 132
|
| 335 |
+
[2025-07-09 16:34:25,570][transformers.trainer][INFO] - Batch size = 16
|
| 336 |
+
[2025-07-09 16:34:25,964][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-224
|
| 337 |
+
[2025-07-09 16:34:25,966][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-224/config.json
|
| 338 |
+
[2025-07-09 16:34:27,025][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-224/model.safetensors
|
| 339 |
+
[2025-07-09 16:34:27,806][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-192] due to args.save_total_limit
|
| 340 |
+
[2025-07-09 16:34:32,442][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 341 |
+
[2025-07-09 16:34:32,445][transformers.trainer][INFO] -
|
| 342 |
+
***** Running Evaluation *****
|
| 343 |
+
[2025-07-09 16:34:32,445][transformers.trainer][INFO] - Num examples = 132
|
| 344 |
+
[2025-07-09 16:34:32,445][transformers.trainer][INFO] - Batch size = 16
|
| 345 |
+
[2025-07-09 16:34:32,834][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-256
|
| 346 |
+
[2025-07-09 16:34:32,835][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-256/config.json
|
| 347 |
+
[2025-07-09 16:34:33,763][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-256/model.safetensors
|
| 348 |
+
[2025-07-09 16:34:34,710][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-224] due to args.save_total_limit
|
| 349 |
+
[2025-07-09 16:34:39,399][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 350 |
+
[2025-07-09 16:34:39,401][transformers.trainer][INFO] -
|
| 351 |
+
***** Running Evaluation *****
|
| 352 |
+
[2025-07-09 16:34:39,402][transformers.trainer][INFO] - Num examples = 132
|
| 353 |
+
[2025-07-09 16:34:39,402][transformers.trainer][INFO] - Batch size = 16
|
| 354 |
+
[2025-07-09 16:34:39,809][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-288
|
| 355 |
+
[2025-07-09 16:34:39,810][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-288/config.json
|
| 356 |
+
[2025-07-09 16:34:40,771][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-288/model.safetensors
|
| 357 |
+
[2025-07-09 16:34:41,710][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-256] due to args.save_total_limit
|
| 358 |
+
[2025-07-09 16:34:46,344][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 359 |
+
[2025-07-09 16:34:46,347][transformers.trainer][INFO] -
|
| 360 |
+
***** Running Evaluation *****
|
| 361 |
+
[2025-07-09 16:34:46,347][transformers.trainer][INFO] - Num examples = 132
|
| 362 |
+
[2025-07-09 16:34:46,347][transformers.trainer][INFO] - Batch size = 16
|
| 363 |
+
[2025-07-09 16:34:46,736][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-320
|
| 364 |
+
[2025-07-09 16:34:46,737][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-320/config.json
|
| 365 |
+
[2025-07-09 16:34:47,962][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-320/model.safetensors
|
| 366 |
+
[2025-07-09 16:34:48,900][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-288] due to args.save_total_limit
|
| 367 |
+
[2025-07-09 16:34:49,006][transformers.trainer][INFO] -
|
| 368 |
+
|
| 369 |
+
Training completed. Do not forget to share your model on huggingface.co/models =)
|
| 370 |
+
|
| 371 |
+
|
| 372 |
+
[2025-07-09 16:34:49,006][transformers.trainer][INFO] - Loading best model from /workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-160 (score: 0.397729353598242).
|
| 373 |
+
[2025-07-09 16:34:49,183][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/16-33-25/results/checkpoint-320] due to args.save_total_limit
|
| 374 |
+
[2025-07-09 16:34:49,284][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 375 |
+
[2025-07-09 16:34:49,287][transformers.trainer][INFO] -
|
| 376 |
+
***** Running Evaluation *****
|
| 377 |
+
[2025-07-09 16:34:49,287][transformers.trainer][INFO] - Num examples = 132
|
| 378 |
+
[2025-07-09 16:34:49,287][transformers.trainer][INFO] - Batch size = 16
|
| 379 |
+
[2025-07-09 16:34:49,688][__main__][INFO] - Training completed successfully.
|
| 380 |
+
[2025-07-09 16:34:49,688][__main__][INFO] - Running on Test
|
| 381 |
+
[2025-07-09 16:34:49,688][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt. If essay_text, reference, essay_year, grades, id, supporting_text, prompt, id_prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 382 |
+
[2025-07-09 16:34:49,690][transformers.trainer][INFO] -
|
| 383 |
+
***** Running Evaluation *****
|
| 384 |
+
[2025-07-09 16:34:49,690][transformers.trainer][INFO] - Num examples = 138
|
| 385 |
+
[2025-07-09 16:34:49,690][transformers.trainer][INFO] - Batch size = 16
|
| 386 |
+
[2025-07-09 16:34:50,088][__main__][INFO] - Test metrics: {'eval_loss': 1.7175557613372803, 'eval_model_preparation_time': 0.0022, 'eval_accuracy': 0.34782608695652173, 'eval_RMSE': 63.519938670433646, 'eval_QWK': 0.3477835723598436, 'eval_HDIV': 0.1159420289855072, 'eval_Macro_F1': 0.24903083028083028, 'eval_Micro_F1': 0.34782608695652173, 'eval_Weighted_F1': 0.34937224611137657, 'eval_TP_0': 0, 'eval_TN_0': 137, 'eval_FP_0': 0, 'eval_FN_0': 1, 'eval_TP_1': 17, 'eval_TN_1': 70, 'eval_FP_1': 33, 'eval_FN_1': 18, 'eval_TP_2': 1, 'eval_TN_2': 124, 'eval_FP_2': 9, 'eval_FN_2': 4, 'eval_TP_3': 19, 'eval_TN_3': 66, 'eval_FP_3': 21, 'eval_FN_3': 32, 'eval_TP_4': 6, 'eval_TN_4': 92, 'eval_FP_4': 20, 'eval_FN_4': 20, 'eval_TP_5': 5, 'eval_TN_5': 111, 'eval_FP_5': 7, 'eval_FN_5': 15, 'eval_runtime': 0.3923, 'eval_samples_per_second': 351.73, 'eval_steps_per_second': 22.939, 'epoch': 10.0}
|
| 387 |
+
[2025-07-09 16:34:50,089][transformers.trainer][INFO] - Saving model checkpoint to ./results/best_model
|
| 388 |
+
[2025-07-09 16:34:50,091][transformers.configuration_utils][INFO] - Configuration saved in ./results/best_model/config.json
|
| 389 |
+
[2025-07-09 16:34:50,968][transformers.modeling_utils][INFO] - Model weights saved in ./results/best_model/model.safetensors
|
| 390 |
+
[2025-07-09 16:34:50,970][transformers.tokenization_utils_base][INFO] - tokenizer config file saved in ./results/best_model/tokenizer_config.json
|
| 391 |
+
[2025-07-09 16:34:50,970][transformers.tokenization_utils_base][INFO] - Special tokens file saved in ./results/best_model/special_tokens_map.json
|
| 392 |
+
[2025-07-09 16:34:50,982][__main__][INFO] - Model and tokenizer saved to ./results/best_model
|
| 393 |
+
[2025-07-09 16:34:50,986][__main__][INFO] - Fine Tuning Finished.
|
| 394 |
+
[2025-07-09 16:34:51,496][__main__][INFO] - Total emissions: 0.0016 kg CO2eq
|
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,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": true,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_basic_tokenize": true,
|
| 47 |
+
"do_lower_case": false,
|
| 48 |
+
"extra_special_tokens": {},
|
| 49 |
+
"mask_token": "[MASK]",
|
| 50 |
+
"model_max_length": 512,
|
| 51 |
+
"never_split": null,
|
| 52 |
+
"pad_token": "[PAD]",
|
| 53 |
+
"sep_token": "[SEP]",
|
| 54 |
+
"strip_accents": null,
|
| 55 |
+
"tokenize_chinese_chars": true,
|
| 56 |
+
"tokenizer_class": "BertTokenizer",
|
| 57 |
+
"unk_token": "[UNK]"
|
| 58 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5a1cf317cea6294f76b2498e37e016ea60bc65f19ee6fc421882f88fdcf04c7
|
| 3 |
+
size 5777
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|