KingTechnician/triage-synthetic-data-v1
Viewer • Updated • 2.67k • 10
How to use KingTechnician/bert-base-uncased-triage with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="KingTechnician/bert-base-uncased-triage") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("KingTechnician/bert-base-uncased-triage")
model = AutoModelForSequenceClassification.from_pretrained("KingTechnician/bert-base-uncased-triage", device_map="auto")This model is a fine-tuned version of google-bert/bert-base-uncased for a 5-class triage classification task. It helps categorize student messages based on how they address specific learning objectives.
{
"learning_rate": 1.620896412491757e-05,
"num_train_epochs": 4,
"seed": 3,
"per_device_train_batch_size": 4
}
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.949 0.771 0.851 96
ADDR_PARTIAL 0.604 0.989 0.750 91
NOADDR_OFF 0.968 0.732 0.833 82
NOADDR_ON 0.933 0.922 0.927 90
NOADDR_TANGENTIAL 1.000 0.774 0.872 84
accuracy 0.840 443
macro avg 0.891 0.838 0.847 443
weighted avg 0.888 0.840 0.846 443