This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
Open-weight model · Text classification
distilbert-base-uncased-finetuned-emotion
by Vinay vinayPoli/distilbert-base-uncased-finetuned-emotion
distilbert-base-uncased-finetuned-emotion is an open-weight model for text classification from Vinay, released under Apache License 2.0. It has 67M parameters and a 512-token context. At 16-bit it needs about 0.2 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset.
Runs On
What it takes to serve distilbert-base-uncased-finetuned-emotion (67M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.
| Precision | Weights | Memory needed | Cheapest setup | Per hour | Also fits |
|---|---|---|---|---|---|
| 16-bit | 0.1 GB | 0.2 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 8-bit | 0.1 GB | 0.1 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 4-bit | 0.0 GB | 0.0 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 9, 2026.
Model Card
By Vinay, published under apache-2.0, revision 43a105630f4f.
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - learningrate: 2e-05 - trainbatchsize: 64 - evalbatchsize: 64 - lrschedulertype: linear - numepochs: 2 - Transformers 5.18.0 - Pytorch 2.11.0+cu130 - Datasets 4.8.5 - Tokenizers 0.23.2
Read Vinay's full model card
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.2019 - Accuracy: 0.923 - F1: 0.9230
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: 64 - eval_batch_size: 64 - seed: 42 - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments - lr_scheduler_type: linear - num_epochs: 2
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.7904 | 1.0 | 250 | 0.2941 | 0.9115 | 0.9111 |
| 0.2355 | 2.0 | 500 | 0.2019 | 0.923 | 0.9230 |
Framework versions
- Transformers 5.18.0
- Pytorch 2.11.0+cu130
- Datasets 4.8.5
- Tokenizers 0.23.2
Configuration
- Architecture
- DistilBertForSequenceClassification
- Context length (tokens)
- 512
- Vocabulary size
- 30,522
- Model type
- distilbert
Identity and Version
- Repository
- vinayPoli/distilbert-base-uncased-finetuned-emotion
- Publisher
- Vinay
- Task
- Text classification
- Modality
- Text
- Library
- transformers
- Parameters
- 67M parameters
- Languages
- Not stated by the source
- Revision
- 43a105630f4f059542b6ab8fc8968bf5ef6c394b
- First published
- 2026-10-06
- Last updated
- 2026-10-06
Files and Weights
7 files, 268.6 MB in total. The weights are 2 files totalling 267.9 MB in bin, safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| model.safetensors | Weights | 267.8 MB | b007a35cb528 |
| training_args.bin | Weights | 5.2 KB | e169aa8e75fb |
| config.json | Configuration | 932 B | — |
| README.md | Documentation | 1.7 KB | — |
| .gitattributes | Repository | 1.5 KB | — |
| tokenizer.json | Tokenizer | 711.4 KB | — |
| tokenizer_config.json | Tokenizer | 351 B | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
- Download size
- 267.9 MB
Released by Vinay through its official repository on Hugging Face. Read the license.
Built From
- Derived from distilbert/distilbert-base-uncased
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 267.9 MB |
| 16-bit | 0.1 GB |
| 8-bit | 0.1 GB |
| 4-bit | 0.0 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About distilbert-base-uncased-finetuned-emotion
How much GPU memory does distilbert-base-uncased-finetuned-emotion need?
About 0.2 GB at 16-bit and 0 GB at 4-bit: the weights (67M parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run distilbert-base-uncased-finetuned-emotion on?
At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
Can I use distilbert-base-uncased-finetuned-emotion commercially?
Yes. distilbert-base-uncased-finetuned-emotion is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.
What is distilbert-base-uncased-finetuned-emotion's context length?
512 tokens, from the maximum position embeddings in its published configuration.
Similar Models
This model is based on DistilBERT and has been fine-tuned for multilabel classification of Emails and URLs as safe or potentially phishing. - Base Architecture: DistilBERT - Task: Multilabel Classification - Fine-tuning Framework: Hugging Face Trainer API - Training Duration: 3 epochs - Accuracy: 99.58 - F1-score: 99.579 - Precision: 99.583 - Recall: 99.58 The model was trained on a custom dataset of Emails and URLs labeled as legitimate or phishing. The dataset is available at cybersectony/PhishingEmailDetectionv2.0 on the Hugging Face Hub.
This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
This model is a fine-tune checkpoint of DistilBERT-base-uncased, fine-tuned on SST-2. This model reaches an accuracy of 91.3 on the dev set (for comparison, Bert bert-base-uncased version reaches an accuracy of 92.7). This model can be used for topic classification. You can use the raw model for either masked language modeling or next sentence prediction, but it's mostly intended to be fine-tuned on a downstream task. See the model hub to look for fine-tuned versions on a task that interests you. The model should not be used to intentionally create hostile or alienating environments for people. In addition, the model was not trained to be factual or true representations of people or events…
This model is a fine-tuned version of distilbert/distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - learningrate: 0.0001 - trainbatchsize: 32 - evalbatchsize: 32 - lrschedulertype: linear - numepochs: 10 - Transformers 5.17.0 - Pytorch 2.11.0+cu130 - Datasets 5.0.1 - Tokenizers 0.23.2
This model is a fine-tuned version of distilbert-base-uncased on the None dataset. The following hyperparameters were used during training: - learningrate: 3e-05 - trainbatchsize: 8 - evalbatchsize: 8 - lrschedulertype: linear - numepochs: 10 - Transformers 5.16.1 - Pytorch 2.11.0+cu128 - Datasets 5.0.1 - Tokenizers 0.23.1