Views
No views yet
allenai/scibert_scivocab_uncased. It re-uses the main BERT model and fits an ordinal regression head on the [CLS] token. The model is fine-tuned on the certainty labels collected in Wurl et al (2024): Understanding Fine-Grained Distortions in Reports for Scientific Finding. The authors originally collect certainty annotations from humans using a 4-point Likert Scale ranging from (1) Uncertain to (4) Certain. Because the resulting datasets suffer from severe class imbalance, we merge the classes (1) Uncertain and (2) Somewhat Uncertain.| Class | Base Rate in Training set | Base Rate in Test set |
|---|---|---|
| 0 - Uncertain | 5.5970 | 7.1856 |
| 1 - Somewhat Uncertain | 15.2985 | 17.6647 |
| 2 - Somewhat Certain | 32.3881 | 33.2335 |
| 3 - Certain | 46.7164 | 41.9162 |
| Class | Base Rate in Training set | Base Rate in Test set |
|---|---|---|
| 0 - Uncertain | 20.8955 | 24.8503 |
| 1 - Somewhat Certain | 32.3881 | 33.2335 |
| 2 - Certain | 46.7164 | 41.9162 |
17:44:36 INFO test loss=0.9565 acc=0.578 QWK=0.5004
17:44:36 INFO
precision recall f1-score support
0 0.58 0.51 0.54 83
1 0.47 0.46 0.46 111
2 0.65 0.71 0.68 140
accuracy 0.58 334
macro avg 0.57 0.56 0.56 334
weighted avg 0.57 0.58 0.57 3341from transformers import AutoModelForSequenceClassification, AutoTokenizer
2
3model = AutoModelForSequenceClassification.from_pretrained("cbelem/scibert-certainty-ordinal", trust_remote_code=True)
4tokenizer = AutoTokenizer.from_pretrained("cbelem/scibert-certainty-ordinal", trust_remote_code=True)