File size: 711 Bytes
ac80724
 
 
 
 
 
 
7c7af49
ac80724
2018e24
ac80724
b307891
 
 
ac80724
 
 
b307891
 
 
 
23cbff5
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
library_name: transformers
tags:
- trl
- sft
---

# Model Card

Base Gemma 2B model Finetuned on twitter-financial-news-sentiment dataset

- **Developed by:** Maradona Morais
- **License:** Apache 2
- **Finetuned from model:** [google/gemma-2b](https://huggingface.co/google/gemma-2b)

## Uses

```
Tweet: $ALLY - Ally Financial pulls outlook https://t.co/G9Zdi1boy5
Sentiment: [Bullish | Bearish | Neutral]
```


```python
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("maradona/gemma-2b-twitter-financial-news-sentiment")
model = AutoModelForCausalLM.from_pretrained("maradona/gemma-2b-twitter-financial-news-sentiment")
```