|
--- |
|
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") |
|
``` |
|
|