How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="Chantland/Hraf_MultiLabel")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("Chantland/Hraf_MultiLabel")
model = AutoModelForSequenceClassification.from_pretrained("Chantland/Hraf_MultiLabel")
Quick Links

Multi-Label Text classification model used to decode if passages contain a misfortunate event, a cause for misfortune, and/or an action to mollify or prevent some misfortune. The current F1 micro score of 140 passages not used for training is .838. individual class f1 scores shown below.
EVENT: 0.914
CAUSE: 0.797
ACTION: 0.794




For a quick demo, try typing in a sentence or even a paragraph in the Hosted inference API then pressing "compute"!

Downloads last month
6
Safetensors
Model size
67M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support