Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run autoevaluate/multi-class-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/autoevaluate/multi-class-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/autoevaluate/multi-class-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 autoevaluate/multi-class-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use autoevaluate/multi-class-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="autoevaluate/multi-class-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("autoevaluate/multi-class-classification") model = AutoModelForSequenceClassification.from_pretrained("autoevaluate/multi-class-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Test
#37
by lewtun HF Staff - opened
8 unmodified lines9101112131415161718192021222324253 unmodified lines29303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818 unmodified linesmodel-index:- name: multi-class-classificationresults:- task:name: Text Classificationtype: text-classificationdataset:name: emotiontype: emotionargs: defaultmetrics:- name: Accuracytype: accuracyvalue: 0.928- task:type: text-classificationname: Text Classification3 unmodified linesconfig: defaultsplit: testmetrics:- name: Accuracytype: accuracyvalue: 0.9185verified: true- name: Precision Macrotype: precisionvalue: 0.8738350796775306verified: true- name: Precision Microtype: precisionvalue: 0.9185verified: true- name: Precision Weightedtype: precisionvalue: 0.9179425177997311verified: true- name: Recall Macrotype: recallvalue: 0.8650962919021573verified: true- name: Recall Microtype: recallvalue: 0.9185verified: true- name: Recall Weightedtype: recallvalue: 0.9185verified: true- name: F1 Macrotype: f1value: 0.8692821860210945verified: true- name: F1 Microtype: f1value: 0.9185verified: true- name: F1 Weightedtype: f1value: 0.9181177508591364verified: true- name: losstype: lossvalue: 0.20905950665473938verified: true- name: matthews_correlationtype: matthews_correlationvalue: 0.8920254536671932verified: true---8 unmodified lines910111213143 unmodified lines1819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273748 unmodified linesmodel-index:- name: multi-class-classificationresults:- task:type: text-classificationname: Text Classification3 unmodified linesconfig: defaultsplit: testmetrics:- type: accuracyvalue: 0.9185name: Accuracyverified: true- type: accuracyvalue: 0.9185name: Accuracyverified: true- type: precisionvalue: 0.8738350796775306name: Precision Macroverified: true- type: precisionvalue: 0.9185name: Precision Microverified: true- type: precisionvalue: 0.9179425177997311name: Precision Weightedverified: true- type: recallvalue: 0.8650962919021573name: Recall Macroverified: true- type: recallvalue: 0.9185name: Recall Microverified: true- type: recallvalue: 0.9185name: Recall Weightedverified: true- type: f1value: 0.8692821860210945name: F1 Macroverified: true- type: f1value: 0.9185name: F1 Microverified: true- type: f1value: 0.9181177508591364name: F1 Weightedverified: true- type: lossvalue: 0.20907790958881378name: lossverified: true- type: matthews_correlationvalue: 0.8920254536671932name: matthews_correlationverified: true---
README.md+29-36