Instructions to use ali2780/summary-spot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ali2780/summary-spot 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="ali2780/summary-spot")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ali2780/summary-spot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# 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="ali2780/summary-spot")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("ali2780/summary-spot", device_map="auto")Quick Links
A newer version of this model is available: sshleifer/distilbart-cnn-12-6
README.md exists but content is empty.
Model tree for ali2780/summary-spot
Base model
sshleifer/distilbart-cnn-12-6
# Gated model: Login with a HF token with gated access permission hf auth login