Summarization
Transformers
PyTorch
Safetensors
Enawené-Nawé
bart
text2text-generation
Trained with AutoTrain
Instructions to use Cohee/bart-factbook-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cohee/bart-factbook-summarization with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="Cohee/bart-factbook-summarization")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Cohee/bart-factbook-summarization") model = AutoModelForSeq2SeqLM.from_pretrained("Cohee/bart-factbook-summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,9 +5,9 @@ tags:
|
|
| 5 |
language:
|
| 6 |
- unk
|
| 7 |
widget:
|
| 8 |
-
- text: "
|
| 9 |
datasets:
|
| 10 |
-
- Cohee/
|
| 11 |
co2_eq_emissions:
|
| 12 |
emissions: 0.1357064095288884
|
| 13 |
---
|
|
|
|
| 5 |
language:
|
| 6 |
- unk
|
| 7 |
widget:
|
| 8 |
+
- text: "Mayhem is serious. That is correct."
|
| 9 |
datasets:
|
| 10 |
+
- Cohee/pippa_facts
|
| 11 |
co2_eq_emissions:
|
| 12 |
emissions: 0.1357064095288884
|
| 13 |
---
|