Instructions to use philippelaban/summary_loop24 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philippelaban/summary_loop24 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="philippelaban/summary_loop24")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("philippelaban/summary_loop24") model = AutoModelForCausalLM.from_pretrained("philippelaban/summary_loop24") - Notebooks
- Google Colab
- Kaggle
Commit ·
e6edf02
1
Parent(s): becfe76
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
# Try out in the Hosted inference API
|
| 5 |
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
tags:
|
| 5 |
+
- summarization
|
| 6 |
license: apache-2.0
|
| 7 |
+
datasets:
|
| 8 |
+
- cnn_dailymail
|
| 9 |
---
|
| 10 |
# Try out in the Hosted inference API
|
| 11 |
|