Instructions to use praf-choub/bart-CaPE-xsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use praf-choub/bart-CaPE-xsum 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="praf-choub/bart-CaPE-xsum")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("praf-choub/bart-CaPE-xsum") model = AutoModelForSeq2SeqLM.from_pretrained("praf-choub/bart-CaPE-xsum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
5ea01de
-
Update README.md
49b8f83 -
Create README.md
d531f6a -
Delete all_results.json
f46f63a -
Upload pytorch_model.bin with git-lfs
5a8c74d -
Upload tokenizer.json
eeb1048 -
Upload tokenizer_config.json
a0cea4c -
Upload all_results.json
5d6391a -
Upload special_tokens_map.json
b0094ba -
Upload merges.txt
93b63b3 -
Upload config.json
95e2b4f -
Upload vocab.json
b71331d -
initial commit
27a5396