zeroshot/twitter-financial-news-sentiment
Viewer • Updated • 11.9k • 4.06k • 178
How to use Hossein-NK/twitter-financial-news-sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hossein-NK/twitter-financial-news-sentiment") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Hossein-NK/twitter-financial-news-sentiment", device_map="auto")