Instructions to use GilbertKrantz/Text-Summarize_BartBaseCNN-Finetune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GilbertKrantz/Text-Summarize_BartBaseCNN-Finetune 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="GilbertKrantz/Text-Summarize_BartBaseCNN-Finetune")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("GilbertKrantz/Text-Summarize_BartBaseCNN-Finetune", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- GilbertKrantz/scientific_papers-cleaned
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
metrics:
|
| 8 |
+
- rouge
|
| 9 |
+
base_model:
|
| 10 |
+
- google-t5/t5-small
|
| 11 |
+
pipeline_tag: summarization
|
| 12 |
+
library_name: transformers
|
| 13 |
+
---
|