Downloads · 30 days
24
11% of all-time downloads
sweatSmile/DialoGPT-Financial-Market-Sentiment-Trading-Assistant
DialoGPT-Financial-Market-Sentiment-Trading-Assistant is a text generation model from sweatSmile. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Fine-tuned DialoGPT-small for financial news sentiment analysis and market sentiment interpretation for trading and investment decisions.
Downloads · 30 days
24
11% of all-time downloads
All-time downloads
209
Public
Parameters
124M
498 MB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
Fine-tuned DialoGPT-small for financial news sentiment analysis and market sentiment interpretation for trading and investment decisions.
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("sweatSmile/DialoGPT-Financial-Market-Sentiment-Trading-Assistant")
tokenizer = AutoTokenizer.from_pretrained("sweatSmile/DialoGPT-Financial-Market-Sentiment-Trading-Assistant")
# Market sentiment analysis example
prompt = "<|user|> What's the market sentiment for this news: Tesla stock surges after record delivery numbers <|bot|>"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=150, pad_token_id=tokenizer.eos_token_id)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Specialized for high-frequency market sentiment analysis in trading environments.