Instructions to use helliun/bart-perspectives with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use helliun/bart-perspectives with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("helliun/bart-perspectives") model = AutoModelForSeq2SeqLM.from_pretrained("helliun/bart-perspectives", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -61,7 +61,7 @@ decoded = tokenizer.decode(results[:,0])
|
|
| 61 |
print(decoded)
|
| 62 |
```
|
| 63 |
|
| 64 |
-
## Training
|
| 65 |
|
| 66 |
The model was fine-tuned on a subset of the `mteb/tweet-sentiment-extraction` dataset with emotional analyses generated synthetically by GPT-4.
|
| 67 |
|
|
|
|
| 61 |
print(decoded)
|
| 62 |
```
|
| 63 |
|
| 64 |
+
## Training
|
| 65 |
|
| 66 |
The model was fine-tuned on a subset of the `mteb/tweet-sentiment-extraction` dataset with emotional analyses generated synthetically by GPT-4.
|
| 67 |
|