Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run JS21/finetuning-sentiment-model-10000-samples 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/JS21/finetuning-sentiment-model-10000-samples. 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/JS21/finetuning-sentiment-model-10000-samples 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 JS21/finetuning-sentiment-model-10000-samples with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JS21/finetuning-sentiment-model-10000-samples with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JS21/finetuning-sentiment-model-10000-samples")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JS21/finetuning-sentiment-model-10000-samples") model = AutoModelForSequenceClassification.from_pretrained("JS21/finetuning-sentiment-model-10000-samples", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#2
by librarian-bot - opened
6 unmodified lines7891011121314151617181 unmodified line2021222324252627282930316 unmodified linesmetrics:- accuracy- f1model-index:- name: finetuning-sentiment-model-10000-samplesresults:- task:name: Text Classificationtype: text-classificationdataset:name: imdbtype: imdb1 unmodified linesplit: testargs: plain_textmetrics:- name: Accuracytype: accuracyvalue: 0.908- name: F1type: f1value: 0.9076305220883534---<!-- This model card has been generated automatically according to the information the Trainer had access to. You6 unmodified lines789101112131415161718191 unmodified line2122232425262728293031326 unmodified linesmetrics:- accuracy- f1base_model: distilbert-base-uncasedmodel-index:- name: finetuning-sentiment-model-10000-samplesresults:- task:type: text-classificationname: Text Classificationdataset:name: imdbtype: imdb1 unmodified linesplit: testargs: plain_textmetrics:- type: accuracyvalue: 0.908name: Accuracy- type: f1value: 0.9076305220883534name: F1---<!-- This model card has been generated automatically according to the information the Trainer had access to. You
README.md+6-5