Instructions to use ai-maker-space/Transformers-Workshop-BART-Summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ai-maker-space/Transformers-Workshop-BART-Summarization 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="ai-maker-space/Transformers-Workshop-BART-Summarization")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ai-maker-space/Transformers-Workshop-BART-Summarization") model = AutoModelForSeq2SeqLM.from_pretrained("ai-maker-space/Transformers-Workshop-BART-Summarization") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md 9763b05
Chris Alexiuk commited on
Update README.md ad4c781
Chris Alexiuk commited on
ai-maker-space/Transformers-Workshop-BART-Summarization fdd5062
Chris Alexiuk commited on
AI Maker Space/Transformers-Workshop-BART-Summarization c42aca5
Chris Alexiuk commited on
Upload folder using huggingface_hub a117781
Chris Alexiuk commited on