Instructions to use philippelaban/summary_loop46 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philippelaban/summary_loop46 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_loop46")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("philippelaban/summary_loop46") model = AutoModelForCausalLM.from_pretrained("philippelaban/summary_loop46") - Notebooks
- Google Colab
- Kaggle
Commit ·
7216900
1
Parent(s): bec2230
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,9 +8,6 @@ datasets:
|
|
| 8 |
- cnn_dailymail
|
| 9 |
metrics:
|
| 10 |
- rouge
|
| 11 |
-
widget:
|
| 12 |
-
- text: "Bouncing Boulders Point to Quakes on Mars. A preponderance of boulder tracks on the red planet may be evidence of recent seismic activity. If a rock falls on Mars, and no one is there to see it, does it leave a trace? Yes, and it's a beautiful herringbone-like pattern, new research reveals. Scientists have now spotted thousands of tracks on the red planet created by tumbling boulders. Delicate chevron-shaped piles of Martian dust and sand frame the tracks, the team showed, and most fade over the course of a few years."
|
| 13 |
-
example_title: "Document 1"
|
| 14 |
---
|
| 15 |
|
| 16 |
# Try out in the Hosted inference API
|
|
|
|
| 8 |
- cnn_dailymail
|
| 9 |
metrics:
|
| 10 |
- rouge
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# Try out in the Hosted inference API
|