Text Classification
Transformers
Safetensors
Portuguese
English
bert
aes
Eval Results (legacy)
text-embeddings-inference
Instructions to use kamel-usp/jbcs2025_bert-base-multilingual-cased-encoder_classification-C1-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-multilingual-cased-encoder_classification-C1-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-multilingual-cased-encoder_classification-C1-essay_only")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("kamel-usp/jbcs2025_bert-base-multilingual-cased-encoder_classification-C1-essay_only") model = AutoModelForSequenceClassification.from_pretrained("kamel-usp/jbcs2025_bert-base-multilingual-cased-encoder_classification-C1-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 +46 -0
- emissions.csv +2 -0
- evaluation_results.csv +4 -0
- model.safetensors +3 -0
- run_experiment.log +378 -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,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
language:
|
| 4 |
+
- pt
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- aes
|
| 8 |
+
datasets:
|
| 9 |
+
- kamel-usp/aes_enem_dataset
|
| 10 |
+
base_model: google-bert/bert-base-multilingual-cased
|
| 11 |
+
metrics:
|
| 12 |
+
- accuracy
|
| 13 |
+
- qwk
|
| 14 |
+
library_name: transformers
|
| 15 |
+
model-index:
|
| 16 |
+
- name: bert-base-multilingual-cased-encoder_classification-C1-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.3541902345442168
|
| 30 |
+
- name: QWK
|
| 31 |
+
type: qwk
|
| 32 |
+
value: 0.5069416088199266
|
| 33 |
+
- name: Weighted Macro F1
|
| 34 |
+
type: f1
|
| 35 |
+
value: 0.5913421963441202
|
| 36 |
+
---
|
| 37 |
+
# Model ID: bert-base-multilingual-cased-encoder_classification-C1-essay_only
|
| 38 |
+
## Results
|
| 39 |
+
| | test_data |
|
| 40 |
+
|:-----------------|------------:|
|
| 41 |
+
| eval_accuracy | 0.615942 |
|
| 42 |
+
| eval_RMSE | 28.4885 |
|
| 43 |
+
| eval_QWK | 0.506942 |
|
| 44 |
+
| eval_Macro_F1 | 0.35419 |
|
| 45 |
+
| eval_Weighted_F1 | 0.591342 |
|
| 46 |
+
| eval_Micro_F1 | 0.615942 |
|
| 47 |
+
| eval_HDIV | 0.00724638 |
|
| 48 |
+
|
config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"pad_token_id": 0,
|
| 35 |
+
"pooler_fc_size": 768,
|
| 36 |
+
"pooler_num_attention_heads": 12,
|
| 37 |
+
"pooler_num_fc_layers": 3,
|
| 38 |
+
"pooler_size_per_head": 128,
|
| 39 |
+
"pooler_type": "first_token_transform",
|
| 40 |
+
"position_embedding_type": "absolute",
|
| 41 |
+
"torch_dtype": "float32",
|
| 42 |
+
"transformers_version": "4.53.1",
|
| 43 |
+
"type_vocab_size": 2,
|
| 44 |
+
"use_cache": true,
|
| 45 |
+
"vocab_size": 119547
|
| 46 |
+
}
|
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-09T17:12:10,jbcs2025,97e50830-3795-415a-a8a3-7263fb59ab62,bert-base-multilingual-cased-encoder_classification-C1-essay_only,113.5037816510303,0.00223454427924116,1.968695885491562e-05,42.45363636363637,190.20433069788172,58.0,0.0013511013389485957,0.0061414413020379754,0.0017954963278564457,0.009288038968843018,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.768218994140625,0.0021,0.42424242424242425,40.45199174779452,0.10542168674698782,0.015151515151515138,0.1779020979020979,0.42424242424242425,0.32896800169527446,0,131,0,1,0,132,0,0,0,125,0,7,0,93,0,39,48,15,54,15,8,88,22,14,0.5915,223.162,15.216,-1,validation_before_training,2025-07-09 17:10:25,bert-base-multilingual-cased-encoder_classification-C1-essay_only
|
| 3 |
+
1.5438644886016846,0.0021,0.5151515151515151,32.47376563543955,0.49077687123093305,0.007575757575757569,0.3540979909948699,0.5151515151515151,0.5093727755026494,0,131,0,1,0,132,0,0,2,121,4,5,22,71,22,17,37,42,27,26,7,99,11,15,0.4008,329.37,22.457,12.0,validation_after_training,2025-07-09 17:10:25,bert-base-multilingual-cased-encoder_classification-C1-essay_only
|
| 4 |
+
1.3753403425216675,0.0021,0.6159420289855072,28.48849246447679,0.5069416088199266,0.007246376811594235,0.35419023454421683,0.6159420289855072,0.5913421963441202,0,137,0,1,0,138,0,0,5,121,7,5,43,51,21,23,37,62,25,14,0,128,0,10,0.3866,356.924,23.278,12.0,test_results,2025-07-09 17:10:25,bert-base-multilingual-cased-encoder_classification-C1-essay_only
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92cc81f3d5f1b9ea6a1cee23e9b89eba64c3c6852c13763fb4d4e8d13d8beb3e
|
| 3 |
+
size 711455760
|
run_experiment.log
ADDED
|
@@ -0,0 +1,378 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2025-07-09 17:10:13,702][__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: google-bert/bert-base-multilingual-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: google-bert/bert-base-multilingual-cased
|
| 31 |
+
dataset:
|
| 32 |
+
grade_index: 0
|
| 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 17:10:17,535][__main__][INFO] - GPU 0: NVIDIA RTX A6000 | TDP ≈ 300 W
|
| 44 |
+
[2025-07-09 17:10:17,535][__main__][INFO] - Starting the Fine Tuning training process.
|
| 45 |
+
[2025-07-09 17:10:21,995][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/config.json
|
| 46 |
+
[2025-07-09 17:10:21,996][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 |
+
"pad_token_id": 0,
|
| 64 |
+
"pooler_fc_size": 768,
|
| 65 |
+
"pooler_num_attention_heads": 12,
|
| 66 |
+
"pooler_num_fc_layers": 3,
|
| 67 |
+
"pooler_size_per_head": 128,
|
| 68 |
+
"pooler_type": "first_token_transform",
|
| 69 |
+
"position_embedding_type": "absolute",
|
| 70 |
+
"transformers_version": "4.53.1",
|
| 71 |
+
"type_vocab_size": 2,
|
| 72 |
+
"use_cache": true,
|
| 73 |
+
"vocab_size": 119547
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
[2025-07-09 17:10:22,196][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/config.json
|
| 77 |
+
[2025-07-09 17:10:22,196][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 78 |
+
"architectures": [
|
| 79 |
+
"BertForMaskedLM"
|
| 80 |
+
],
|
| 81 |
+
"attention_probs_dropout_prob": 0.1,
|
| 82 |
+
"classifier_dropout": null,
|
| 83 |
+
"directionality": "bidi",
|
| 84 |
+
"hidden_act": "gelu",
|
| 85 |
+
"hidden_dropout_prob": 0.1,
|
| 86 |
+
"hidden_size": 768,
|
| 87 |
+
"initializer_range": 0.02,
|
| 88 |
+
"intermediate_size": 3072,
|
| 89 |
+
"layer_norm_eps": 1e-12,
|
| 90 |
+
"max_position_embeddings": 512,
|
| 91 |
+
"model_type": "bert",
|
| 92 |
+
"num_attention_heads": 12,
|
| 93 |
+
"num_hidden_layers": 12,
|
| 94 |
+
"pad_token_id": 0,
|
| 95 |
+
"pooler_fc_size": 768,
|
| 96 |
+
"pooler_num_attention_heads": 12,
|
| 97 |
+
"pooler_num_fc_layers": 3,
|
| 98 |
+
"pooler_size_per_head": 128,
|
| 99 |
+
"pooler_type": "first_token_transform",
|
| 100 |
+
"position_embedding_type": "absolute",
|
| 101 |
+
"transformers_version": "4.53.1",
|
| 102 |
+
"type_vocab_size": 2,
|
| 103 |
+
"use_cache": true,
|
| 104 |
+
"vocab_size": 119547
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
[2025-07-09 17:10:22,385][transformers.tokenization_utils_base][INFO] - loading file vocab.txt from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/vocab.txt
|
| 108 |
+
[2025-07-09 17:10:22,386][transformers.tokenization_utils_base][INFO] - loading file tokenizer.json from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/tokenizer.json
|
| 109 |
+
[2025-07-09 17:10:22,386][transformers.tokenization_utils_base][INFO] - loading file added_tokens.json from cache at None
|
| 110 |
+
[2025-07-09 17:10:22,386][transformers.tokenization_utils_base][INFO] - loading file special_tokens_map.json from cache at None
|
| 111 |
+
[2025-07-09 17:10:22,386][transformers.tokenization_utils_base][INFO] - loading file tokenizer_config.json from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/tokenizer_config.json
|
| 112 |
+
[2025-07-09 17:10:22,386][transformers.tokenization_utils_base][INFO] - loading file chat_template.jinja from cache at None
|
| 113 |
+
[2025-07-09 17:10:22,386][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/config.json
|
| 114 |
+
[2025-07-09 17:10:22,387][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 115 |
+
"architectures": [
|
| 116 |
+
"BertForMaskedLM"
|
| 117 |
+
],
|
| 118 |
+
"attention_probs_dropout_prob": 0.1,
|
| 119 |
+
"classifier_dropout": null,
|
| 120 |
+
"directionality": "bidi",
|
| 121 |
+
"hidden_act": "gelu",
|
| 122 |
+
"hidden_dropout_prob": 0.1,
|
| 123 |
+
"hidden_size": 768,
|
| 124 |
+
"initializer_range": 0.02,
|
| 125 |
+
"intermediate_size": 3072,
|
| 126 |
+
"layer_norm_eps": 1e-12,
|
| 127 |
+
"max_position_embeddings": 512,
|
| 128 |
+
"model_type": "bert",
|
| 129 |
+
"num_attention_heads": 12,
|
| 130 |
+
"num_hidden_layers": 12,
|
| 131 |
+
"pad_token_id": 0,
|
| 132 |
+
"pooler_fc_size": 768,
|
| 133 |
+
"pooler_num_attention_heads": 12,
|
| 134 |
+
"pooler_num_fc_layers": 3,
|
| 135 |
+
"pooler_size_per_head": 128,
|
| 136 |
+
"pooler_type": "first_token_transform",
|
| 137 |
+
"position_embedding_type": "absolute",
|
| 138 |
+
"transformers_version": "4.53.1",
|
| 139 |
+
"type_vocab_size": 2,
|
| 140 |
+
"use_cache": true,
|
| 141 |
+
"vocab_size": 119547
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
[2025-07-09 17:10:22,653][__main__][INFO] - Tokenizer function parameters- Padding:longest; Truncation: True; Use Full Context: False
|
| 145 |
+
[2025-07-09 17:10:23,368][__main__][INFO] -
|
| 146 |
+
Token statistics for 'train' split:
|
| 147 |
+
[2025-07-09 17:10:23,368][__main__][INFO] - Total examples: 500
|
| 148 |
+
[2025-07-09 17:10:23,368][__main__][INFO] - Min tokens: 512
|
| 149 |
+
[2025-07-09 17:10:23,368][__main__][INFO] - Max tokens: 512
|
| 150 |
+
[2025-07-09 17:10:23,368][__main__][INFO] - Avg tokens: 512.00
|
| 151 |
+
[2025-07-09 17:10:23,368][__main__][INFO] - Std tokens: 0.00
|
| 152 |
+
[2025-07-09 17:10:23,468][__main__][INFO] -
|
| 153 |
+
Token statistics for 'validation' split:
|
| 154 |
+
[2025-07-09 17:10:23,468][__main__][INFO] - Total examples: 132
|
| 155 |
+
[2025-07-09 17:10:23,468][__main__][INFO] - Min tokens: 512
|
| 156 |
+
[2025-07-09 17:10:23,468][__main__][INFO] - Max tokens: 512
|
| 157 |
+
[2025-07-09 17:10:23,468][__main__][INFO] - Avg tokens: 512.00
|
| 158 |
+
[2025-07-09 17:10:23,468][__main__][INFO] - Std tokens: 0.00
|
| 159 |
+
[2025-07-09 17:10:23,575][__main__][INFO] -
|
| 160 |
+
Token statistics for 'test' split:
|
| 161 |
+
[2025-07-09 17:10:23,575][__main__][INFO] - Total examples: 138
|
| 162 |
+
[2025-07-09 17:10:23,575][__main__][INFO] - Min tokens: 512
|
| 163 |
+
[2025-07-09 17:10:23,575][__main__][INFO] - Max tokens: 512
|
| 164 |
+
[2025-07-09 17:10:23,575][__main__][INFO] - Avg tokens: 512.00
|
| 165 |
+
[2025-07-09 17:10:23,575][__main__][INFO] - Std tokens: 0.00
|
| 166 |
+
[2025-07-09 17:10:23,575][__main__][INFO] - If token statistics are the same (max, avg, min) keep in mind that this is due to batched tokenization and padding.
|
| 167 |
+
[2025-07-09 17:10:23,575][__main__][INFO] - Model max length: 512. If it is the same as stats, then there is a high chance that sequences are being truncated.
|
| 168 |
+
[2025-07-09 17:10:23,775][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/config.json
|
| 169 |
+
[2025-07-09 17:10:23,776][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 170 |
+
"architectures": [
|
| 171 |
+
"BertForMaskedLM"
|
| 172 |
+
],
|
| 173 |
+
"attention_probs_dropout_prob": 0.1,
|
| 174 |
+
"classifier_dropout": null,
|
| 175 |
+
"directionality": "bidi",
|
| 176 |
+
"hidden_act": "gelu",
|
| 177 |
+
"hidden_dropout_prob": 0.1,
|
| 178 |
+
"hidden_size": 768,
|
| 179 |
+
"id2label": {
|
| 180 |
+
"0": 0,
|
| 181 |
+
"1": 40,
|
| 182 |
+
"2": 80,
|
| 183 |
+
"3": 120,
|
| 184 |
+
"4": 160,
|
| 185 |
+
"5": 200
|
| 186 |
+
},
|
| 187 |
+
"initializer_range": 0.02,
|
| 188 |
+
"intermediate_size": 3072,
|
| 189 |
+
"label2id": {
|
| 190 |
+
"0": 0,
|
| 191 |
+
"40": 1,
|
| 192 |
+
"80": 2,
|
| 193 |
+
"120": 3,
|
| 194 |
+
"160": 4,
|
| 195 |
+
"200": 5
|
| 196 |
+
},
|
| 197 |
+
"layer_norm_eps": 1e-12,
|
| 198 |
+
"max_position_embeddings": 512,
|
| 199 |
+
"model_type": "bert",
|
| 200 |
+
"num_attention_heads": 12,
|
| 201 |
+
"num_hidden_layers": 12,
|
| 202 |
+
"pad_token_id": 0,
|
| 203 |
+
"pooler_fc_size": 768,
|
| 204 |
+
"pooler_num_attention_heads": 12,
|
| 205 |
+
"pooler_num_fc_layers": 3,
|
| 206 |
+
"pooler_size_per_head": 128,
|
| 207 |
+
"pooler_type": "first_token_transform",
|
| 208 |
+
"position_embedding_type": "absolute",
|
| 209 |
+
"transformers_version": "4.53.1",
|
| 210 |
+
"type_vocab_size": 2,
|
| 211 |
+
"use_cache": true,
|
| 212 |
+
"vocab_size": 119547
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
[2025-07-09 17:10:23,957][transformers.modeling_utils][INFO] - loading weights file model.safetensors from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/model.safetensors
|
| 216 |
+
[2025-07-09 17:10:23,965][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
|
| 217 |
+
[2025-07-09 17:10:23,965][transformers.modeling_utils][INFO] - Instantiating BertForSequenceClassification model under default dtype torch.float32.
|
| 218 |
+
[2025-07-09 17:10:24,194][transformers.modeling_utils][INFO] - A pretrained model of type `BertForSequenceClassification` contains parameters that have been renamed internally (a few are listed below but more are present in the model):
|
| 219 |
+
* `cls.predictions.transform.LayerNorm.beta` -> `cls.predictions.transform.LayerNorm.bias`
|
| 220 |
+
* `cls.predictions.transform.LayerNorm.gamma` -> `cls.predictions.transform.LayerNorm.weight`
|
| 221 |
+
If you are using a model from the Hub, consider submitting a PR to adjust these weights and help future users.
|
| 222 |
+
[2025-07-09 17:10:25,084][transformers.modeling_utils][INFO] - Some weights of the model checkpoint at google-bert/bert-base-multilingual-cased were not used when initializing BertForSequenceClassification: ['cls.predictions.bias', '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']
|
| 223 |
+
- 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).
|
| 224 |
+
- 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).
|
| 225 |
+
[2025-07-09 17:10:25,084][transformers.modeling_utils][WARNING] - Some weights of BertForSequenceClassification were not initialized from the model checkpoint at google-bert/bert-base-multilingual-cased and are newly initialized: ['classifier.bias', 'classifier.weight']
|
| 226 |
+
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
|
| 227 |
+
[2025-07-09 17:10:25,090][transformers.training_args][INFO] - PyTorch: setting up devices
|
| 228 |
+
[2025-07-09 17:10:25,112][__main__][INFO] - Total steps: 620. Number of warmup steps: 62
|
| 229 |
+
[2025-07-09 17:10:25,121][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.
|
| 230 |
+
[2025-07-09 17:10:25,146][transformers.trainer][INFO] - Using auto half precision backend
|
| 231 |
+
[2025-07-09 17:10:25,148][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 232 |
+
[2025-07-09 17:10:25,153][transformers.trainer][INFO] -
|
| 233 |
+
***** Running Evaluation *****
|
| 234 |
+
[2025-07-09 17:10:25,153][transformers.trainer][INFO] - Num examples = 132
|
| 235 |
+
[2025-07-09 17:10:25,153][transformers.trainer][INFO] - Batch size = 16
|
| 236 |
+
[2025-07-09 17:10:26,049][transformers.trainer][INFO] - The following columns in the Training set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 237 |
+
[2025-07-09 17:10:26,058][transformers.trainer][INFO] - ***** Running training *****
|
| 238 |
+
[2025-07-09 17:10:26,058][transformers.trainer][INFO] - Num examples = 500
|
| 239 |
+
[2025-07-09 17:10:26,058][transformers.trainer][INFO] - Num Epochs = 20
|
| 240 |
+
[2025-07-09 17:10:26,058][transformers.trainer][INFO] - Instantaneous batch size per device = 16
|
| 241 |
+
[2025-07-09 17:10:26,058][transformers.trainer][INFO] - Total train batch size (w. parallel, distributed & accumulation) = 16
|
| 242 |
+
[2025-07-09 17:10:26,058][transformers.trainer][INFO] - Gradient Accumulation steps = 1
|
| 243 |
+
[2025-07-09 17:10:26,058][transformers.trainer][INFO] - Total optimization steps = 640
|
| 244 |
+
[2025-07-09 17:10:26,059][transformers.trainer][INFO] - Number of trainable parameters = 177,858,054
|
| 245 |
+
[2025-07-09 17:10:30,991][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 246 |
+
[2025-07-09 17:10:30,993][transformers.trainer][INFO] -
|
| 247 |
+
***** Running Evaluation *****
|
| 248 |
+
[2025-07-09 17:10:30,993][transformers.trainer][INFO] - Num examples = 132
|
| 249 |
+
[2025-07-09 17:10:30,993][transformers.trainer][INFO] - Batch size = 16
|
| 250 |
+
[2025-07-09 17:10:31,380][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-32
|
| 251 |
+
[2025-07-09 17:10:31,381][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-32/config.json
|
| 252 |
+
[2025-07-09 17:10:32,662][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-32/model.safetensors
|
| 253 |
+
[2025-07-09 17:10:39,168][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 254 |
+
[2025-07-09 17:10:39,171][transformers.trainer][INFO] -
|
| 255 |
+
***** Running Evaluation *****
|
| 256 |
+
[2025-07-09 17:10:39,171][transformers.trainer][INFO] - Num examples = 132
|
| 257 |
+
[2025-07-09 17:10:39,171][transformers.trainer][INFO] - Batch size = 16
|
| 258 |
+
[2025-07-09 17:10:39,557][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-64
|
| 259 |
+
[2025-07-09 17:10:39,559][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-64/config.json
|
| 260 |
+
[2025-07-09 17:10:40,871][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-64/model.safetensors
|
| 261 |
+
[2025-07-09 17:10:42,956][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-32] due to args.save_total_limit
|
| 262 |
+
[2025-07-09 17:10:47,966][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 263 |
+
[2025-07-09 17:10:47,969][transformers.trainer][INFO] -
|
| 264 |
+
***** Running Evaluation *****
|
| 265 |
+
[2025-07-09 17:10:47,969][transformers.trainer][INFO] - Num examples = 132
|
| 266 |
+
[2025-07-09 17:10:47,969][transformers.trainer][INFO] - Batch size = 16
|
| 267 |
+
[2025-07-09 17:10:48,364][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-96
|
| 268 |
+
[2025-07-09 17:10:48,365][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-96/config.json
|
| 269 |
+
[2025-07-09 17:10:50,370][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-96/model.safetensors
|
| 270 |
+
[2025-07-09 17:10:52,138][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-64] due to args.save_total_limit
|
| 271 |
+
[2025-07-09 17:10:57,123][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 272 |
+
[2025-07-09 17:10:57,128][transformers.trainer][INFO] -
|
| 273 |
+
***** Running Evaluation *****
|
| 274 |
+
[2025-07-09 17:10:57,128][transformers.trainer][INFO] - Num examples = 132
|
| 275 |
+
[2025-07-09 17:10:57,128][transformers.trainer][INFO] - Batch size = 16
|
| 276 |
+
[2025-07-09 17:10:57,523][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-128
|
| 277 |
+
[2025-07-09 17:10:57,525][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-128/config.json
|
| 278 |
+
[2025-07-09 17:10:58,970][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-128/model.safetensors
|
| 279 |
+
[2025-07-09 17:11:00,598][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-96] due to args.save_total_limit
|
| 280 |
+
[2025-07-09 17:11:05,572][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 281 |
+
[2025-07-09 17:11:05,575][transformers.trainer][INFO] -
|
| 282 |
+
***** Running Evaluation *****
|
| 283 |
+
[2025-07-09 17:11:05,575][transformers.trainer][INFO] - Num examples = 132
|
| 284 |
+
[2025-07-09 17:11:05,575][transformers.trainer][INFO] - Batch size = 16
|
| 285 |
+
[2025-07-09 17:11:05,962][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-160
|
| 286 |
+
[2025-07-09 17:11:05,963][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-160/config.json
|
| 287 |
+
[2025-07-09 17:11:07,174][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-160/model.safetensors
|
| 288 |
+
[2025-07-09 17:11:13,628][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 289 |
+
[2025-07-09 17:11:13,631][transformers.trainer][INFO] -
|
| 290 |
+
***** Running Evaluation *****
|
| 291 |
+
[2025-07-09 17:11:13,631][transformers.trainer][INFO] - Num examples = 132
|
| 292 |
+
[2025-07-09 17:11:13,631][transformers.trainer][INFO] - Batch size = 16
|
| 293 |
+
[2025-07-09 17:11:14,021][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-192
|
| 294 |
+
[2025-07-09 17:11:14,022][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-192/config.json
|
| 295 |
+
[2025-07-09 17:11:15,830][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-192/model.safetensors
|
| 296 |
+
[2025-07-09 17:11:17,403][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-160] due to args.save_total_limit
|
| 297 |
+
[2025-07-09 17:11:22,426][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 298 |
+
[2025-07-09 17:11:22,429][transformers.trainer][INFO] -
|
| 299 |
+
***** Running Evaluation *****
|
| 300 |
+
[2025-07-09 17:11:22,429][transformers.trainer][INFO] - Num examples = 132
|
| 301 |
+
[2025-07-09 17:11:22,429][transformers.trainer][INFO] - Batch size = 16
|
| 302 |
+
[2025-07-09 17:11:22,816][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-224
|
| 303 |
+
[2025-07-09 17:11:22,818][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-224/config.json
|
| 304 |
+
[2025-07-09 17:11:24,074][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-224/model.safetensors
|
| 305 |
+
[2025-07-09 17:11:25,720][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-128] due to args.save_total_limit
|
| 306 |
+
[2025-07-09 17:11:25,913][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-192] due to args.save_total_limit
|
| 307 |
+
[2025-07-09 17:11:30,963][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 308 |
+
[2025-07-09 17:11:30,965][transformers.trainer][INFO] -
|
| 309 |
+
***** Running Evaluation *****
|
| 310 |
+
[2025-07-09 17:11:30,966][transformers.trainer][INFO] - Num examples = 132
|
| 311 |
+
[2025-07-09 17:11:30,966][transformers.trainer][INFO] - Batch size = 16
|
| 312 |
+
[2025-07-09 17:11:31,356][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-256
|
| 313 |
+
[2025-07-09 17:11:31,357][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-256/config.json
|
| 314 |
+
[2025-07-09 17:11:32,518][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-256/model.safetensors
|
| 315 |
+
[2025-07-09 17:11:38,890][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 316 |
+
[2025-07-09 17:11:38,893][transformers.trainer][INFO] -
|
| 317 |
+
***** Running Evaluation *****
|
| 318 |
+
[2025-07-09 17:11:38,893][transformers.trainer][INFO] - Num examples = 132
|
| 319 |
+
[2025-07-09 17:11:38,893][transformers.trainer][INFO] - Batch size = 16
|
| 320 |
+
[2025-07-09 17:11:39,286][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-288
|
| 321 |
+
[2025-07-09 17:11:39,287][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-288/config.json
|
| 322 |
+
[2025-07-09 17:11:40,416][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-288/model.safetensors
|
| 323 |
+
[2025-07-09 17:11:42,013][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-256] due to args.save_total_limit
|
| 324 |
+
[2025-07-09 17:11:47,014][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 325 |
+
[2025-07-09 17:11:47,017][transformers.trainer][INFO] -
|
| 326 |
+
***** Running Evaluation *****
|
| 327 |
+
[2025-07-09 17:11:47,017][transformers.trainer][INFO] - Num examples = 132
|
| 328 |
+
[2025-07-09 17:11:47,017][transformers.trainer][INFO] - Batch size = 16
|
| 329 |
+
[2025-07-09 17:11:47,431][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-320
|
| 330 |
+
[2025-07-09 17:11:47,433][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-320/config.json
|
| 331 |
+
[2025-07-09 17:11:48,738][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-320/model.safetensors
|
| 332 |
+
[2025-07-09 17:11:50,331][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-288] due to args.save_total_limit
|
| 333 |
+
[2025-07-09 17:11:55,293][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 334 |
+
[2025-07-09 17:11:55,296][transformers.trainer][INFO] -
|
| 335 |
+
***** Running Evaluation *****
|
| 336 |
+
[2025-07-09 17:11:55,296][transformers.trainer][INFO] - Num examples = 132
|
| 337 |
+
[2025-07-09 17:11:55,296][transformers.trainer][INFO] - Batch size = 16
|
| 338 |
+
[2025-07-09 17:11:55,683][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-352
|
| 339 |
+
[2025-07-09 17:11:55,685][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-352/config.json
|
| 340 |
+
[2025-07-09 17:11:56,871][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-352/model.safetensors
|
| 341 |
+
[2025-07-09 17:11:58,761][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-320] due to args.save_total_limit
|
| 342 |
+
[2025-07-09 17:12:03,735][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 343 |
+
[2025-07-09 17:12:03,739][transformers.trainer][INFO] -
|
| 344 |
+
***** Running Evaluation *****
|
| 345 |
+
[2025-07-09 17:12:03,739][transformers.trainer][INFO] - Num examples = 132
|
| 346 |
+
[2025-07-09 17:12:03,739][transformers.trainer][INFO] - Batch size = 16
|
| 347 |
+
[2025-07-09 17:12:04,127][transformers.trainer][INFO] - Saving model checkpoint to /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-384
|
| 348 |
+
[2025-07-09 17:12:04,129][transformers.configuration_utils][INFO] - Configuration saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-384/config.json
|
| 349 |
+
[2025-07-09 17:12:05,323][transformers.modeling_utils][INFO] - Model weights saved in /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-384/model.safetensors
|
| 350 |
+
[2025-07-09 17:12:06,909][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-352] due to args.save_total_limit
|
| 351 |
+
[2025-07-09 17:12:07,072][transformers.trainer][INFO] -
|
| 352 |
+
|
| 353 |
+
Training completed. Do not forget to share your model on huggingface.co/models =)
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
[2025-07-09 17:12:07,072][transformers.trainer][INFO] - Loading best model from /workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-224 (score: 0.49077687123093305).
|
| 357 |
+
[2025-07-09 17:12:07,502][transformers.trainer][INFO] - Deleting older checkpoint [/workspace/jbcs2025/outputs/2025-07-09/17-10-13/results/checkpoint-384] due to args.save_total_limit
|
| 358 |
+
[2025-07-09 17:12:07,671][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 359 |
+
[2025-07-09 17:12:07,674][transformers.trainer][INFO] -
|
| 360 |
+
***** Running Evaluation *****
|
| 361 |
+
[2025-07-09 17:12:07,674][transformers.trainer][INFO] - Num examples = 132
|
| 362 |
+
[2025-07-09 17:12:07,674][transformers.trainer][INFO] - Batch size = 16
|
| 363 |
+
[2025-07-09 17:12:08,081][__main__][INFO] - Training completed successfully.
|
| 364 |
+
[2025-07-09 17:12:08,082][__main__][INFO] - Running on Test
|
| 365 |
+
[2025-07-09 17:12:08,082][transformers.trainer][INFO] - The following columns in the Evaluation set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text. If id, reference, id_prompt, prompt, grades, essay_year, essay_text, supporting_text are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 366 |
+
[2025-07-09 17:12:08,084][transformers.trainer][INFO] -
|
| 367 |
+
***** Running Evaluation *****
|
| 368 |
+
[2025-07-09 17:12:08,084][transformers.trainer][INFO] - Num examples = 138
|
| 369 |
+
[2025-07-09 17:12:08,084][transformers.trainer][INFO] - Batch size = 16
|
| 370 |
+
[2025-07-09 17:12:08,476][__main__][INFO] - Test metrics: {'eval_loss': 1.3753403425216675, 'eval_model_preparation_time': 0.0021, 'eval_accuracy': 0.6159420289855072, 'eval_RMSE': 28.48849246447679, 'eval_QWK': 0.5069416088199266, 'eval_HDIV': 0.007246376811594235, 'eval_Macro_F1': 0.35419023454421683, 'eval_Micro_F1': 0.6159420289855072, 'eval_Weighted_F1': 0.5913421963441202, 'eval_TP_0': 0, 'eval_TN_0': 137, 'eval_FP_0': 0, 'eval_FN_0': 1, 'eval_TP_1': 0, 'eval_TN_1': 138, 'eval_FP_1': 0, 'eval_FN_1': 0, 'eval_TP_2': 5, 'eval_TN_2': 121, 'eval_FP_2': 7, 'eval_FN_2': 5, 'eval_TP_3': 43, 'eval_TN_3': 51, 'eval_FP_3': 21, 'eval_FN_3': 23, 'eval_TP_4': 37, 'eval_TN_4': 62, 'eval_FP_4': 25, 'eval_FN_4': 14, 'eval_TP_5': 0, 'eval_TN_5': 128, 'eval_FP_5': 0, 'eval_FN_5': 10, 'eval_runtime': 0.3866, 'eval_samples_per_second': 356.924, 'eval_steps_per_second': 23.278, 'epoch': 12.0}
|
| 371 |
+
[2025-07-09 17:12:08,476][transformers.trainer][INFO] - Saving model checkpoint to ./results/best_model
|
| 372 |
+
[2025-07-09 17:12:08,478][transformers.configuration_utils][INFO] - Configuration saved in ./results/best_model/config.json
|
| 373 |
+
[2025-07-09 17:12:09,900][transformers.modeling_utils][INFO] - Model weights saved in ./results/best_model/model.safetensors
|
| 374 |
+
[2025-07-09 17:12:09,902][transformers.tokenization_utils_base][INFO] - tokenizer config file saved in ./results/best_model/tokenizer_config.json
|
| 375 |
+
[2025-07-09 17:12:09,902][transformers.tokenization_utils_base][INFO] - Special tokens file saved in ./results/best_model/special_tokens_map.json
|
| 376 |
+
[2025-07-09 17:12:09,993][__main__][INFO] - Model and tokenizer saved to ./results/best_model
|
| 377 |
+
[2025-07-09 17:12:10,025][__main__][INFO] - Fine Tuning Finished.
|
| 378 |
+
[2025-07-09 17:12:10,544][__main__][INFO] - Total emissions: 0.0022 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,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": false,
|
| 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:89ca4cf42e2295e2bc738c7e06a8bae467bd78ec70dd3b2281b4616641a98930
|
| 3 |
+
size 5777
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|