vulonviing/roberta-babe-baseline
111
roberta-babe-baseline
Best-fold checkpoint from a 5-fold RoBERTa-base reproduction of BABE sentence-level media bias classification.
- Training code: https://github.com/vulonviing/babe-roberta-baseline
- Source dataset: https://huggingface.co/datasets/mediabiasgroup/BABE
- Released checkpoint:
models/fold_0/checkpoint-532 - Selected checkpoint:
fold_0with macro-F10.876 - Summary statement: trained on 80% of BABE, 5-fold CV mean:
0.857 +- 0.012
Model details
Cross-validation summary
Per-fold macro-F1 values in the repo: 0.876, 0.854, 0.845, 0.852, 0.856.
Held-out quick-run reference
Confusion matrix from the held-out quick run (n=468):
Usage
from transformers import AutoModelForSequenceClassification, AutoTokenizer
repo_id = 'vulonviing/roberta-babe-baseline'
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForSequenceClassification.from_pretrained(repo_id)