dzungpham's picture
upload inference results
462aef7 verified
raw
history blame
3.62 kB
2026-04-24 17:10:51,664 - INFO - Loading model and tokenizer from: output_checkpoints/graphcodebert-base-lowLR-highBatchSize/checkpoint-400
2026-04-24 17:10:51,869 - INFO - ===== Model Architecture =====
2026-04-24 17:10:51,872 - INFO -
RobertaForSequenceClassification(
(roberta): RobertaModel(
(embeddings): RobertaEmbeddings(
(word_embeddings): Embedding(50265, 768, padding_idx=1)
(position_embeddings): Embedding(514, 768, padding_idx=1)
(token_type_embeddings): Embedding(1, 768)
(LayerNorm): LayerNorm((768,), eps=1e-05, elementwise_affine=True)
(dropout): Dropout(p=0.3, inplace=False)
)
(encoder): RobertaEncoder(
(layer): ModuleList(
(0-11): 12 x RobertaLayer(
(attention): RobertaAttention(
(self): RobertaSdpaSelfAttention(
(query): Linear(in_features=768, out_features=768, bias=True)
(key): Linear(in_features=768, out_features=768, bias=True)
(value): Linear(in_features=768, out_features=768, bias=True)
(dropout): Dropout(p=0.3, inplace=False)
)
(output): RobertaSelfOutput(
(dense): Linear(in_features=768, out_features=768, bias=True)
(LayerNorm): LayerNorm((768,), eps=1e-05, elementwise_affine=True)
(dropout): Dropout(p=0.3, inplace=False)
)
)
(intermediate): RobertaIntermediate(
(dense): Linear(in_features=768, out_features=3072, bias=True)
(intermediate_act_fn): GELUActivation()
)
(output): RobertaOutput(
(dense): Linear(in_features=3072, out_features=768, bias=True)
(LayerNorm): LayerNorm((768,), eps=1e-05, elementwise_affine=True)
(dropout): Dropout(p=0.3, inplace=False)
)
)
)
)
)
(classifier): RobertaClassificationHead(
(dense): Linear(in_features=768, out_features=768, bias=True)
(dropout): Dropout(p=0.3, inplace=False)
(out_proj): Linear(in_features=768, out_features=2, bias=True)
)
)
2026-04-24 17:10:51,874 - INFO - ===== Parameter Summary =====
2026-04-24 17:10:51,876 - INFO - Total Parameters: 124,647,170
2026-04-24 17:10:51,877 - INFO - Trainable Parameters: 124,647,170
2026-04-24 17:10:51,879 - INFO - Non-trainable Parameters: 0
2026-04-24 17:10:51,881 - INFO - ===== Tokenizer Summary =====
2026-04-24 17:10:51,896 - INFO - Vocab size: 50265 | Special tokens: ['<s>', '</s>', '<unk>', '<pad>', '<mask>']
2026-04-24 17:10:51,898 - INFO - ===== End of Architecture Log =====
2026-04-24 17:10:52,067 - INFO - Loading dataset: DaniilOr/SemEval-2026-Task13 (A)
2026-04-24 17:10:52,562 - INFO - Tokenizing dataset...
2026-04-24 17:10:53,909 - INFO - Running inference on 1000 examples...
2026-04-24 17:11:23,974 - INFO - Calculating classification metrics...
2026-04-24 17:11:23,994 - INFO - ------------------------------
2026-04-24 17:11:23,996 - INFO - METRICS FOR SPLIT: test
2026-04-24 17:11:23,997 - INFO - Accuracy: 0.7400
2026-04-24 17:11:23,999 - INFO - Precision: 0.6710
2026-04-24 17:11:24,000 - INFO - Recall: 0.7400
2026-04-24 17:11:24,001 - INFO - F1-Score: 0.6924
2026-04-24 17:11:24,002 - INFO - ------------------------------
2026-04-24 17:11:24,004 - INFO - Confusion Matrix:
[[716 61]
[199 24]]
2026-04-24 17:11:24,006 - INFO - ✅ Metrics saved to test/inference/graphcodebert-base-lowLR-highBatchSize/checkpoint-400/metrics.json
2026-04-24 17:11:24,008 - INFO - ✅ Predictions saved to test/inference/graphcodebert-base-lowLR-highBatchSize/checkpoint-400/submission.csv