update C1 to have all the labels being computed over schema
Browse files- runs/base_models/mbert/jbcs2025_mbert_base-C1-encoder_classification-C1/.hydra/hydra.yaml +1 -1
- runs/base_models/mbert/jbcs2025_mbert_base-C1-encoder_classification-C1/evaluation_results.csv +2 -2
- runs/base_models/mbert/jbcs2025_mbert_base-C1-encoder_classification-C1/run_inference_experiment.log +32 -32
runs/base_models/mbert/jbcs2025_mbert_base-C1-encoder_classification-C1/.hydra/hydra.yaml
CHANGED
|
@@ -140,7 +140,7 @@ hydra:
|
|
| 140 |
- path: ''
|
| 141 |
schema: structured
|
| 142 |
provider: schema
|
| 143 |
-
output_dir: /workspace/jbcs2025/outputs/2025-05-25/
|
| 144 |
choices:
|
| 145 |
experiments: base_models/C1
|
| 146 |
hydra/env: default
|
|
|
|
| 140 |
- path: ''
|
| 141 |
schema: structured
|
| 142 |
provider: schema
|
| 143 |
+
output_dir: /workspace/jbcs2025/outputs/2025-05-25/21-44-30
|
| 144 |
choices:
|
| 145 |
experiments: base_models/C1
|
| 146 |
hydra/env: default
|
runs/base_models/mbert/jbcs2025_mbert_base-C1-encoder_classification-C1/evaluation_results.csv
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
accuracy,RMSE,QWK,HDIV,Macro_F1,Micro_F1,Weighted_F1,TP_0,TN_0,FP_0,FN_0,TP_1,TN_1,FP_1,FN_1,TP_2,TN_2,FP_2,FN_2,TP_3,TN_3,FP_3,FN_3,TP_4,TN_4,FP_4,FN_4,timestamp,id
|
| 2 |
-
0.5362318840579711,30.072376462244492,0.4505920783993467,0.007246376811594235,0.3244639912039582,0.5362318840579711,0.518137852459147,0,137,0,1,5,123,5,5,42,44,28,24,27,58,29,24,0,126,2,10,2025-05-25
|
|
|
|
| 1 |
+
accuracy,RMSE,QWK,HDIV,Macro_F1,Micro_F1,Weighted_F1,TP_0,TN_0,FP_0,FN_0,TP_1,TN_1,FP_1,FN_1,TP_2,TN_2,FP_2,FN_2,TP_3,TN_3,FP_3,FN_3,TP_4,TN_4,FP_4,FN_4,TP_5,TN_5,FP_5,FN_5,timestamp,id
|
| 2 |
+
0.5362318840579711,30.072376462244492,0.4505920783993467,0.007246376811594235,0.3244639912039582,0.5362318840579711,0.518137852459147,0,137,0,1,0,138,0,0,5,123,5,5,42,44,28,24,27,58,29,24,0,126,2,10,2025-05-25 21:44:30,jbcs2025_mbert_base-C1-encoder_classification-C1
|
runs/base_models/mbert/jbcs2025_mbert_base-C1-encoder_classification-C1/run_inference_experiment.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
[2025-05-25
|
| 2 |
-
[2025-05-25
|
| 3 |
dataset:
|
| 4 |
name: kamel-usp/aes_enem_dataset
|
| 5 |
split: JBCS2025
|
|
@@ -35,9 +35,9 @@ experiments:
|
|
| 35 |
gradient_accumulation_steps: 1
|
| 36 |
gradient_checkpointing: false
|
| 37 |
|
| 38 |
-
[2025-05-25
|
| 39 |
-
[2025-05-25
|
| 40 |
-
[2025-05-25
|
| 41 |
"architectures": [
|
| 42 |
"BertForMaskedLM"
|
| 43 |
],
|
|
@@ -67,14 +67,14 @@ experiments:
|
|
| 67 |
"vocab_size": 119547
|
| 68 |
}
|
| 69 |
|
| 70 |
-
[2025-05-25
|
| 71 |
-
[2025-05-25
|
| 72 |
-
[2025-05-25
|
| 73 |
-
[2025-05-25
|
| 74 |
-
[2025-05-25
|
| 75 |
-
[2025-05-25
|
| 76 |
-
[2025-05-25
|
| 77 |
-
[2025-05-25
|
| 78 |
"architectures": [
|
| 79 |
"BertForMaskedLM"
|
| 80 |
],
|
|
@@ -104,10 +104,10 @@ experiments:
|
|
| 104 |
"vocab_size": 119547
|
| 105 |
}
|
| 106 |
|
| 107 |
-
[2025-05-25
|
| 108 |
-
[2025-05-25
|
| 109 |
-
[2025-05-25
|
| 110 |
-
[2025-05-25
|
| 111 |
"architectures": [
|
| 112 |
"BertForSequenceClassification"
|
| 113 |
],
|
|
@@ -155,21 +155,21 @@ experiments:
|
|
| 155 |
"vocab_size": 119547
|
| 156 |
}
|
| 157 |
|
| 158 |
-
[2025-05-25
|
| 159 |
-
[2025-05-25
|
| 160 |
|
| 161 |
-
[2025-05-25
|
| 162 |
If your task is similar to the task the model of the checkpoint was trained on, you can already use BertForSequenceClassification for predictions without further training.
|
| 163 |
-
[2025-05-25
|
| 164 |
-
[2025-05-25
|
| 165 |
-
[2025-05-25
|
| 166 |
-
[2025-05-25
|
| 167 |
-
[2025-05-25
|
| 168 |
-
[2025-05-25
|
| 169 |
***** Running Prediction *****
|
| 170 |
-
[2025-05-25
|
| 171 |
-
[2025-05-25
|
| 172 |
-
[2025-05-25
|
| 173 |
-
[2025-05-25
|
| 174 |
-
[2025-05-25
|
| 175 |
-
[2025-05-25
|
|
|
|
| 1 |
+
[2025-05-25 21:44:30,752][__main__][INFO] - Starting inference experiment
|
| 2 |
+
[2025-05-25 21:44:30,753][__main__][INFO] - cache_dir: /tmp/
|
| 3 |
dataset:
|
| 4 |
name: kamel-usp/aes_enem_dataset
|
| 5 |
split: JBCS2025
|
|
|
|
| 35 |
gradient_accumulation_steps: 1
|
| 36 |
gradient_checkpointing: false
|
| 37 |
|
| 38 |
+
[2025-05-25 21:44:30,754][__main__][INFO] - Running inference with fine-tuned HF model
|
| 39 |
+
[2025-05-25 21:44:35,108][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/config.json
|
| 40 |
+
[2025-05-25 21:44:35,109][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 41 |
"architectures": [
|
| 42 |
"BertForMaskedLM"
|
| 43 |
],
|
|
|
|
| 67 |
"vocab_size": 119547
|
| 68 |
}
|
| 69 |
|
| 70 |
+
[2025-05-25 21:44:35,297][transformers.tokenization_utils_base][INFO] - loading file vocab.txt from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/vocab.txt
|
| 71 |
+
[2025-05-25 21:44:35,297][transformers.tokenization_utils_base][INFO] - loading file tokenizer.json from cache at /tmp/models--google-bert--bert-base-multilingual-cased/snapshots/3f076fdb1ab68d5b2880cb87a0886f315b8146f8/tokenizer.json
|
| 72 |
+
[2025-05-25 21:44:35,297][transformers.tokenization_utils_base][INFO] - loading file added_tokens.json from cache at None
|
| 73 |
+
[2025-05-25 21:44:35,297][transformers.tokenization_utils_base][INFO] - loading file special_tokens_map.json from cache at None
|
| 74 |
+
[2025-05-25 21:44:35,297][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
|
| 75 |
+
[2025-05-25 21:44:35,297][transformers.tokenization_utils_base][INFO] - loading file chat_template.jinja from cache at None
|
| 76 |
+
[2025-05-25 21:44:35,297][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-05-25 21:44:35,298][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 78 |
"architectures": [
|
| 79 |
"BertForMaskedLM"
|
| 80 |
],
|
|
|
|
| 104 |
"vocab_size": 119547
|
| 105 |
}
|
| 106 |
|
| 107 |
+
[2025-05-25 21:44:35,466][__main__][INFO] - Tokenizer function parameters- Padding:max_length; Truncation: True
|
| 108 |
+
[2025-05-25 21:44:35,502][__main__][INFO] - Loading model from: kamel-usp/jbcs2025_mbert_base-C1
|
| 109 |
+
[2025-05-25 21:44:35,699][transformers.configuration_utils][INFO] - loading configuration file config.json from cache at /tmp/models--kamel-usp--jbcs2025_mbert_base-C1/snapshots/065d457ead3102211e83566d77783a845d0f3351/config.json
|
| 110 |
+
[2025-05-25 21:44:35,700][transformers.configuration_utils][INFO] - Model config BertConfig {
|
| 111 |
"architectures": [
|
| 112 |
"BertForSequenceClassification"
|
| 113 |
],
|
|
|
|
| 155 |
"vocab_size": 119547
|
| 156 |
}
|
| 157 |
|
| 158 |
+
[2025-05-25 21:44:35,839][transformers.modeling_utils][INFO] - loading weights file model.safetensors from cache at /tmp/models--kamel-usp--jbcs2025_mbert_base-C1/snapshots/065d457ead3102211e83566d77783a845d0f3351/model.safetensors
|
| 159 |
+
[2025-05-25 21:44:35,881][transformers.modeling_utils][INFO] - All model checkpoint weights were used when initializing BertForSequenceClassification.
|
| 160 |
|
| 161 |
+
[2025-05-25 21:44:35,881][transformers.modeling_utils][INFO] - All the weights of BertForSequenceClassification were initialized from the model checkpoint at kamel-usp/jbcs2025_mbert_base-C1.
|
| 162 |
If your task is similar to the task the model of the checkpoint was trained on, you can already use BertForSequenceClassification for predictions without further training.
|
| 163 |
+
[2025-05-25 21:44:35,922][transformers.training_args][INFO] - PyTorch: setting up devices
|
| 164 |
+
[2025-05-25 21:44:35,958][transformers.training_args][INFO] - The default value for the training argument `--report_to` will change in v5 (from all installed integrations to none). In v5, you will need to use `--report_to all` to get the same behavior as now. You should start updating your code and make this info disappear :-).
|
| 165 |
+
[2025-05-25 21:44:36,200][transformers.trainer][INFO] - Using auto half precision backend
|
| 166 |
+
[2025-05-25 21:44:36,200][__main__][INFO] - Running inference on test dataset
|
| 167 |
+
[2025-05-25 21:44:36,201][transformers.trainer][INFO] - The following columns in the test set don't have a corresponding argument in `BertForSequenceClassification.forward` and have been ignored: essay_year, id_prompt, grades, essay_text, supporting_text, reference, id, prompt. If essay_year, id_prompt, grades, essay_text, supporting_text, reference, id, prompt are not expected by `BertForSequenceClassification.forward`, you can safely ignore this message.
|
| 168 |
+
[2025-05-25 21:44:36,205][transformers.trainer][INFO] -
|
| 169 |
***** Running Prediction *****
|
| 170 |
+
[2025-05-25 21:44:36,205][transformers.trainer][INFO] - Num examples = 138
|
| 171 |
+
[2025-05-25 21:44:36,205][transformers.trainer][INFO] - Batch size = 16
|
| 172 |
+
[2025-05-25 21:44:36,725][transformers][INFO] - {'accuracy': 0.5362318840579711, 'RMSE': 30.072376462244492, 'QWK': 0.4505920783993467, 'HDIV': 0.007246376811594235, 'Macro_F1': 0.3244639912039582, 'Micro_F1': 0.5362318840579711, 'Weighted_F1': 0.518137852459147, 'TP_0': np.int64(0), 'TN_0': np.int64(137), 'FP_0': np.int64(0), 'FN_0': np.int64(1), 'TP_1': np.int64(0), 'TN_1': np.int64(138), 'FP_1': np.int64(0), 'FN_1': np.int64(0), 'TP_2': np.int64(5), 'TN_2': np.int64(123), 'FP_2': np.int64(5), 'FN_2': np.int64(5), 'TP_3': np.int64(42), 'TN_3': np.int64(44), 'FP_3': np.int64(28), 'FN_3': np.int64(24), 'TP_4': np.int64(27), 'TN_4': np.int64(58), 'FP_4': np.int64(29), 'FN_4': np.int64(24), 'TP_5': np.int64(0), 'TN_5': np.int64(126), 'FP_5': np.int64(2), 'FN_5': np.int64(10)}
|
| 173 |
+
[2025-05-25 21:44:36,735][__main__][INFO] - Inference results saved to jbcs2025_mbert_base-C1-encoder_classification-C1_inference_results.jsonl
|
| 174 |
+
[2025-05-25 21:44:36,756][__main__][INFO] - Inference results: {'accuracy': 0.5362318840579711, 'RMSE': 30.072376462244492, 'QWK': 0.4505920783993467, 'HDIV': 0.007246376811594235, 'Macro_F1': 0.3244639912039582, 'Micro_F1': 0.5362318840579711, 'Weighted_F1': 0.518137852459147, 'TP_0': np.int64(0), 'TN_0': np.int64(137), 'FP_0': np.int64(0), 'FN_0': np.int64(1), 'TP_1': np.int64(0), 'TN_1': np.int64(138), 'FP_1': np.int64(0), 'FN_1': np.int64(0), 'TP_2': np.int64(5), 'TN_2': np.int64(123), 'FP_2': np.int64(5), 'FN_2': np.int64(5), 'TP_3': np.int64(42), 'TN_3': np.int64(44), 'FP_3': np.int64(28), 'FN_3': np.int64(24), 'TP_4': np.int64(27), 'TN_4': np.int64(58), 'FP_4': np.int64(29), 'FN_4': np.int64(24), 'TP_5': np.int64(0), 'TN_5': np.int64(126), 'FP_5': np.int64(2), 'FN_5': np.int64(10)}
|
| 175 |
+
[2025-05-25 21:44:36,756][__main__][INFO] - Inference experiment completed
|