KingTechnician/triage-synthetic-data-v1
Viewer • Updated • 2.67k • 10
How to use KingTechnician/roberta-base-triage with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="KingTechnician/roberta-base-triage") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("KingTechnician/roberta-base-triage")
model = AutoModelForSequenceClassification.from_pretrained("KingTechnician/roberta-base-triage", device_map="auto")This model is a fine-tuned version of FacebookAI/roberta-base for a 5-class triage classification task. It helps categorize student messages based on how they address specific learning objectives.
{
"learning_rate": 8.469674869548409e-05,
"num_train_epochs": 2,
"seed": 24,
"per_device_train_batch_size": 16
}
The model was optimized for Macro-F1 Score on the test set to ensure balanced performance across unique objectives.
precision recall f1-score support
ADDR_DIRECT 0.923 0.750 0.828 96
ADDR_PARTIAL 0.721 0.967 0.826 91
NOADDR_OFF 0.929 0.963 0.946 82
NOADDR_ON 0.989 0.967 0.978 90
NOADDR_TANGENTIAL 1.000 0.833 0.909 84
accuracy 0.894 443
macro avg 0.912 0.896 0.897 443
weighted avg 0.911 0.894 0.895 443