Instructions to use philippelaban/summary_loop10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philippelaban/summary_loop10 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_loop10")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("philippelaban/summary_loop10") model = AutoModelForCausalLM.from_pretrained("philippelaban/summary_loop10") - Notebooks
- Google Colab
- Kaggle
Commit ·
651e90b
1
Parent(s): d8fc196
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
| 4 |
# Try out in the Hosted inference API
|
| 5 |
|
| 6 |
In the right panel, you can try to the model (although it only handles a short sequence length).
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
tags:
|
| 5 |
+
- summarization
|
| 6 |
license: apache-2.0
|
| 7 |
+
datasets:
|
| 8 |
+
- cnn_dailymail
|
| 9 |
---
|
| 10 |
+
|
| 11 |
# Try out in the Hosted inference API
|
| 12 |
|
| 13 |
In the right panel, you can try to the model (although it only handles a short sequence length).
|