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.
Instructions to use Elegbede/Distilbert_FInetuned_For_Text_Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Elegbede/Distilbert_FInetuned_For_Text_Classification with Transformers:
# 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") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Elegbede/Distilbert_FInetuned_For_Text_Classification: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/Elegbede/Distilbert_FInetuned_For_Text_Classification/resolve/main/README.md
- Command line
-
hf download hf://Elegbede/Distilbert_FInetuned_For_Text_Classification/README.md
-
curl -L -o README.md https://huggingface.co/Elegbede/Distilbert_FInetuned_For_Text_Classification/resolve/main/README.md
297 Bytes
| --- | |
| 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 ๐ฒ' |