Instructions to use data-silence/any-news-sum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use data-silence/any-news-sum 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="data-silence/any-news-sum")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("data-silence/any-news-sum") model = AutoModelForSeq2SeqLM.from_pretrained("data-silence/any-news-sum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from data-silence/any-news-sum: direct link, hf CLI and curl.
- Browser
- Download file 5.3 kB
-
https://huggingface.co/data-silence/any-news-sum/resolve/main/training_args.bin
- Command line
-
hf download hf://data-silence/any-news-sum/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/data-silence/any-news-sum/resolve/main/training_args.bin
5.3 kB
- Xet hash:
- d75ba83b38b9bb7a8d78e9ba44e8a1605ef5bfbdf2adecb297b747a5b5c042a1
- Size of remote file:
- 5.3 kB
- SHA256:
- 16c57c2ad5a2b36c82c200418bb0923d4aebddd210c687c5e6bf60a932f84553
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.