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 training_args.bin from zpdeaccount/bart-finetuned-pressrelease: direct link, hf CLI and curl.
- Browser
- Download file 3.32 kB
-
https://huggingface.co/zpdeaccount/bart-finetuned-pressrelease/resolve/main/training_args.bin
- Command line
-
hf download hf://zpdeaccount/bart-finetuned-pressrelease/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/zpdeaccount/bart-finetuned-pressrelease/resolve/main/training_args.bin
3.32 kB
- Xet hash:
- bfe69cbd8869850d78d99bd4cdaeee7bd9af2cf8a24fa384df8d242f8ba27b01
- Size of remote file:
- 3.32 kB
- SHA256:
- 5f2d19613717697f4fc879b6137a1abc84bec2274ae2b6d568168af530bbe387
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.