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