Downloads · 30 days
9
9% of all-time downloads
winddude/mamba_finacial_phrasebank_sentiment
mamba_finacial_phrasebank_sentiment is a text classification model from winddude. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Score 0.84 on accuracy for the finacial phrasebank dataset. A completely huggingface capitable implementation of sequence classification with mamba using: <https://github.com/getorca/mambaforsequenceclassification.
Downloads · 30 days
9
9% of all-time downloads
All-time downloads
95
Public
Parameters
2.8B
11.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors11.1 GB · 100%
From the Hugging Face model README
Score 0.84 on accuracy for the finacial phrasebank dataset. A completely huggingface capitable implementation of sequence classification with mamba using: https://github.com/getorca/mamba_for_sequence_classification.
from transformers import pipeline
model_path = 'winddude/mamba_finacial_phrasebank_sentiment'
classifier = pipeline("text-classification", model=model_path, trust_remote_code=True)
text = "Finnish retail software developer Aldata Solution Oyj reported a net loss of 11.7 mln euro $ 17.2 mln for 2007 versus a net profit of 2.5 mln euro $ 3.7 mln for 2006 ."
classifier(text)
gives:
[{'label': 'NEGATIVE', 'score': 0.8793253302574158}]