Instructions to use grenmon/bart-base-finetuned-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use grenmon/bart-base-finetuned-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="grenmon/bart-base-finetuned-summarization")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("grenmon/bart-base-finetuned-summarization") model = AutoModelForSeq2SeqLM.from_pretrained("grenmon/bart-base-finetuned-summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from grenmon/bart-base-finetuned-summarization: direct link, hf CLI and curl.
- Browser
- Download file 558 MB
-
https://huggingface.co/grenmon/bart-base-finetuned-summarization/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://grenmon/bart-base-finetuned-summarization/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/grenmon/bart-base-finetuned-summarization/resolve/main/pytorch_model.bin
558 MB
- Xet hash:
- 363a814d3db3f376ae5cf1d01cfd7b09f2a416d680eec9832bf0210d42981202
- Size of remote file:
- 558 MB
- SHA256:
- cba40fea28607f5513108a21e72c65cf45bf96ccf7a5951ec040efd5db39325c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.