Downloads · 30 days
285
2% of all-time downloads
burakutf/finetuned-finbert-crypto
finetuned-finbert-crypto is a machine learning model from burakutf. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This model is a fine-tuned version of yiyanghkust/finbert-tone, optimized for sentiment analysis on crypto-related financial texts. It was trained using custom annotated data focused on cryptocurrency news, tweets, an…
Downloads · 30 days
285
2% of all-time downloads
All-time downloads
14.9K
Public
Parameters
110M
1.3 GB on disk
Likes
6
Public
Click a slice to open those files.
.pt878 MB · 67%
From the Hugging Face model README
This model is a fine-tuned version of yiyanghkust/finbert-tone, optimized for sentiment analysis on crypto-related financial texts.
It was trained using custom annotated data focused on cryptocurrency news, tweets, and reports.
yiyanghkust/finbert-tone)checkpoint-6000This model is intended for sentiment classification of financial texts in the cryptocurrency domain. It may be useful for traders, analysts, or NLP researchers working with crypto-related content.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("burakutf/finetuned-finbert-crypto")
model = AutoModelForSequenceClassification.from_pretrained("burakutf/finetuned-finbert-crypto")
text = "Golden Crosses Signal Breakout Potential for Bitcoin and Altcoins"
inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True, max_length=128)
outputs = model(**inputs)
pred = outputs.logits.argmax(dim=1).item()
label_map = {0: "negative", 1: "neutral", 2: "positive"}
print("Tahmin:", label_map[pred])