Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run Sharpaxis/Sentiment_tweets_distilbert 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/Sharpaxis/Sentiment_tweets_distilbert. 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/Sharpaxis/Sentiment_tweets_distilbert 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 Sharpaxis/Sentiment_tweets_distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sharpaxis/Sentiment_tweets_distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Sharpaxis/Sentiment_tweets_distilbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Sharpaxis/Sentiment_tweets_distilbert") model = AutoModelForSequenceClassification.from_pretrained("Sharpaxis/Sentiment_tweets_distilbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
done
Browse filesFiles changed (2)
12334564567891011128910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364---library_name: transformerslicense: apache-2.0datasets:- dair-ai/emotionlanguage:- enbase_model: distilbert-base-uncasedtags:- generated_from_trainermetrics:- accuracybase_model:- distilbert/distilbert-base-uncasedpipeline_tag: text-classification---- f1model-index:- name: Sentiment_tweets_distilbert results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# Sentiment_tweets_distilbert
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.1525- F1: 0.9359- Acc: 0.936
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 32- eval_batch_size: 32- seed: 42- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | F1 | Acc ||:-------------:|:-----:|:----:|:---------------:|:------:|:------:|| 0.6076 | 1.0 | 500 | 0.2243 | 0.9192 | 0.9185 || 0.1641 | 2.0 | 1000 | 0.1684 | 0.9297 | 0.93 || 0.1195 | 3.0 | 1500 | 0.1525 | 0.9359 | 0.936 |
### Framework versions
- Transformers 4.46.2- Pytorch 2.5.1- Datasets 3.1.0- Tokenizers 0.20.312323version https://git-lfs.github.com/spec/v1oid sha256:a1da90341ae8d30f7c21e7403a2570fa9eee133b8439a499698724cca6eff296size 6596oid sha256:bb5a1d620195a884105331d9c271dbcb1002a08f56ec5e40dd9cefe361ada5d4size 7314README.md+61-9
runs/Nov21_21-29-00_Aadityas-MacBook-Pro.local/events.out.tfevents.1732204740.Aadityas-MacBook-Pro.local.10553.0+2-2