Text Classification
Transformers
PyTorch
Safetensors
distilbert
anthropology
text-embeddings-inference
Instructions to use Chantland/Hraf_MultiLabel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Chantland/Hraf_MultiLabel with Transformers:
# 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") - Notebooks
- Google Colab
- Kaggle
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