Instructions to use datien228/distilbart-cnn-12-6-ftn-multi_news with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use datien228/distilbart-cnn-12-6-ftn-multi_news 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="datien228/distilbart-cnn-12-6-ftn-multi_news")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("datien228/distilbart-cnn-12-6-ftn-multi_news") model = AutoModelForSeq2SeqLM.from_pretrained("datien228/distilbart-cnn-12-6-ftn-multi_news", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#5 opened almost 3 years ago
by
librarian-bot
Adding `safetensors` variant of this model
#4 opened about 3 years ago
by
SFconvertbot
Can I use your model as a comparative model for My Graduation Thesis?
#3 opened over 3 years ago
by
nbtpj
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator
#2 opened over 3 years ago
by
autoevaluator