Instructions to use faisalahmad/summarizer2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use faisalahmad/summarizer2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("faisalahmad/summarizer2") model = AutoModelForSeq2SeqLM.from_pretrained("faisalahmad/summarizer2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download sample_input.pkl from faisalahmad/summarizer2: direct link, hf CLI and curl.
- Browser
- Download file 40.7 kB
-
https://huggingface.co/faisalahmad/summarizer2/resolve/main/sample_input.pkl
- Command line
-
hf download hf://faisalahmad/summarizer2/sample_input.pkl
-
curl -L -o sample_input.pkl https://huggingface.co/faisalahmad/summarizer2/resolve/main/sample_input.pkl
40.7 kB
- Xet hash:
- 77547e259f5a17232cb7a01a44e8e0f877f0431b35dd8840baf993ccc8d08101
- Size of remote file:
- 40.7 kB
- SHA256:
- 75635d564792eb33361fe0092e56ae20b957c2f830d07231ef739676b834d728
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.