SAVRN
Search Contact SAVRN

Open-weight model · Text classification

distilroberta-finetuned-financial-news-sentiment-analysis

by Manuel Romero mrm8488/distilroberta-finetuned-financial-news-sentiment-analysis

This model is a fine-tuned version of distilroberta-base on the financialphrasebank dataset. It achieves the following results on the evaluation set: This model is a distilled version of the RoBERTa-base model.

Parameters82M
Context514
Weights657.0 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads346.6k

Runs On

What it takes to serve distilroberta-finetuned-financial-news-sentiment-analysis (82M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.2 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 Sep 18, 2026.

Model Card

By Manuel Romero, published under apache-2.0, revision ae0eab9ad336.

DistilRoberta-financial-sentiment

This model is a fine-tuned version of distilroberta-base on the financial_phrasebank dataset. It achieves the following results on the evaluation set: - Loss: 0.1116 - Accuracy: 0.9823

Base Model description

This model is a distilled version of the RoBERTa-base model. It follows the same training procedure as DistilBERT. The code for the distillation process can be found here. This model is case-sensitive: it makes a difference between English and English.

The model has 6 layers, 768 dimension and 12 heads, totalizing 82M parameters (compared to 125M parameters for RoBERTa-base). On average DistilRoBERTa is twice as fast as Roberta-base.

Training Data

Polar sentiment dataset of sentences from financial news. The dataset consists of 4840 sentences from English language financial news categorised by sentiment. The dataset is divided by agreement rate of 5-8 annotators.

Training procedure

Training hyperparameters

Read the full model card (218 words)

Configuration

Architecture
RobertaForSequenceClassification
Context length (tokens)
514
Layers
6
Hidden size
768
Feed-forward size
3,072
Attention heads
12
Vocabulary size
50,265
Stored precision
float32
Model type
roberta

Identity and Version

Repository
mrm8488/distilroberta-finetuned-financial-news-sentiment-analysis
Publisher
Manuel Romero
Task
Text classification
Modality
Text
Library
transformers
Parameters
82M parameters
Languages
Not stated by the source
Revision
ae0eab9ad336d7d548e0efe394b07c04bcaf6e91
First published
2022-03-02
Last updated
2024-01-21

Files and Weights

15 files, 659.8 MB in total. The weights are 3 files totalling 657.0 MB in bin, safetensors.

Weights3 files · 657.0 MB
Configuration2 files · 1.2 KB
Tokenizer4 files · 2.6 MB
Documentation1 file · 3.1 KB
Other4 files · 188.6 KB
Repository1 file · 1.2 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights328.5 MB c0b61385e448
pytorch_model.binWeights328.5 MB c6d24cd7c45f
training_args.binWeights2.7 KB ee1178219233
config.jsonConfiguration933 B
special_tokens_map.jsonConfiguration239 B
README.mdDocumentation3.1 KB
logo_no_bg.pngOther178.3 KB
runs/Sep16_18-26-05_ed005835f859/1631816776.0061696/events.out.tfevents.1631816776.ed005835f859.77.1Other4.3 KB ceeaf218655f
runs/Sep16_18-26-05_ed005835f859/events.out.tfevents.1631816775.ed005835f859.77.0Other5.6 KB 74ec1149bf39
runs/Sep16_18-26-05_ed005835f859/events.out.tfevents.1631816891.ed005835f859.77.2Other363 B e98c89644b05
.gitattributesRepository1.2 KB
merges.txtTokenizer456.4 KB
tokenizer.jsonTokenizer1.4 MB
tokenizer_config.jsonTokenizer333 B
vocab.jsonTokenizer798.3 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
657.0 MB
Download from Manuel Romero

Released by Manuel Romero through its official repository on Hugging Face. Read the license.

Built From

  • Trained on (disclosed) financial_phrasebank

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
financial_phrasebank Task Text ClassificationMetric AccuracyComparison conditions not established 0.982301 mrm8488
Publisher reported
Evaluated revision not stated

Memory Requirements

PrecisionWeights in memory
As published657.0 MB
16-bit0.2 GB
8-bit0.1 GB
4-bit0.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Compare distilroberta-finetuned-financial-news-sentiment-analysis

Questions About distilroberta-finetuned-financial-news-sentiment-analysis

How much GPU memory does distilroberta-finetuned-financial-news-sentiment-analysis need?

About 0.2 GB at 16-bit and 0 GB at 4-bit: the weights (82M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run distilroberta-finetuned-financial-news-sentiment-analysis 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 distilroberta-finetuned-financial-news-sentiment-analysis commercially?

Yes. distilroberta-finetuned-financial-news-sentiment-analysis 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 distilroberta-finetuned-financial-news-sentiment-analysis's context length?

514 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.

Open weights apache-2.0 67M parameters 512 tokens transformers

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…

Open weights apache-2.0 67M parameters 512 tokens transformers

Model · Text classification

robertuito-sentiment-analysis

Pysentimiento

Model trained with TASS 2020 corpus (around ~5k tweets) of several dialects of Spanish. Base model is RoBERTuito, a RoBERTa model trained in Spanish tweets. Uses POS, NEG, NEU labels. Use it directly with pysentimiento Results for the four tasks evaluated in pysentimiento. Results are expressed as Macro F1 scores Note that for Hate Speech, these are the results for Semeval 2019, Task 5 Subtask B If you use this model in your research, please cite pysentimiento, RoBERTuito and TASS papers

Open weights 109M parameters 130 tokens pysentimiento

Model · Text classification

bert-log-anomaly-detection

Aungruk Vanichanai

1. bert-log-anomaly-detection is a BERT-based NLP model fine-tuned for single SQL transaction log anomaly detection. 2. The model classifies each database transaction log as either Normal or Anomaly, with the goal of supporting AI-powered fraud detection and cybersecurity monitoring systems. 3. This model was developed as part of the Samsung × KBTG Digital Fraud Cybersecurity Hackathon (Thailand) under the AI-Powered Fraud Detection & Prevention track. This model analyzes individual SQL database transaction logs and detects abnormal patterns that may indicate fraudulent, malicious, or suspicious behavior. - Developed by Waris Sripatoomrak, this model integrates with an n8n workflow to…

Open weights apache-2.0 109M parameters 512 tokens transformers

This model is a fine-tuned version of google/electra-base-discriminator on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - learningrate: 2e-05 - trainbatchsize: 8 - evalbatchsize: 8 - gradientaccumulationsteps: 2 - totaltrainbatchsize: 16 - lrschedulertype: linear - lrschedulerwarmupsteps: 50 - numepochs: 10 - Transformers 5.2.0 - Pytorch 2.10.0+cu128 - Datasets 4.5.0 - Tokenizers 0.22.2

Open weights apache-2.0 109M parameters 512 tokens transformers

Model · Text classification

multi-domain-sentiment-bert

ADITYA GUPTA

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 weights 109M parameters 512 tokens transformers