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
|
@@ -4,7 +4,7 @@ datasets:
|
|
| 4 |
- mteb/tweet_sentiment_extraction
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
-
library_name:
|
| 8 |
pipeline_tag: summarization
|
| 9 |
---
|
| 10 |
# bart-perspectives
|
|
|
|
| 4 |
- mteb/tweet_sentiment_extraction
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
+
library_name: transformers
|
| 8 |
pipeline_tag: summarization
|
| 9 |
---
|
| 10 |
# bart-perspectives
|