Run this model with HF Jobs

Run Elegbede/Distilbert_FInetuned_For_Text_Classification on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Elegbede/Distilbert_FInetuned_For_Text_Classification. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Elegbede/Distilbert_FInetuned_For_Text_Classification on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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="Elegbede/Distilbert_FInetuned_For_Text_Classification")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("Elegbede/Distilbert_FInetuned_For_Text_Classification")
model = AutoModelForSequenceClassification.from_pretrained("Elegbede/Distilbert_FInetuned_For_Text_Classification", device_map="auto")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.


license: apache-2.0 --- This model involves finetuning Distilbert for text classification to generate emotions from texts The label mapping corresponds to: label_0: 'Sadness 😭', label_1: 'Joy πŸ˜‚', label_2: 'Love 😍', label_3: 'Anger 😠', label_4: 'Fear 😨', label_5: 'Surprise 😲'

Downloads last month
10
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using Elegbede/Distilbert_FInetuned_For_Text_Classification 3