Downloads · 30 days
9
30% of all-time downloads
nlpatunt/modernbert-base-lfqa
modernbert-base-lfqa is a text classification model from nlpatunt. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
This is a modernbert-base model trained on the dataset nlpatunt/lfqaprocessed
Downloads · 30 days
9
30% of all-time downloads
All-time downloads
30
Public
Parameters
150M
598 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors598 MB · 99%
From the Hugging Face model README
from transformers import AutoModelForSequenceClassification, AutoTokenizer
m = AutoModelForSequenceClassification.from_pretrained("nlpatunt/modernbert-base-lfqa")
t = AutoTokenizer.from_pretrained("nlpatunt/mdernbert-base-lfqa")
This is a modernbert-base model trained on the dataset nlpatunt/lfqa_processed
Given a question and a pair of answers a1, a2, the task is to determine whether a1 will be preffered by humans over a2. The dataset has tie annotations but we discard them when we train the model.
The results for the test evaluation is:
Test evaluation:
{'eval_loss': 0.6075420379638672, 'eval_accuracy': 0.6529160739687055, 'eval_macro_f1': 0.6526623576485072, 'eval_runtime': 5.9397, 'eval_samples_per_second': 118.355, 'eval_steps_per_second': 14.815, 'epoch': 8.0}