Instructions to use sshleifer/student_xsum_6_6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sshleifer/student_xsum_6_6 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sshleifer/student_xsum_6_6") model = AutoModelForSeq2SeqLM.from_pretrained("sshleifer/student_xsum_6_6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from sshleifer/student_xsum_6_6: direct link, hf CLI and curl.
- Browser
- Download file 899 kB
-
https://huggingface.co/sshleifer/student_xsum_6_6/resolve/main/vocab.json
- Command line
-
hf download hf://sshleifer/student_xsum_6_6/vocab.json
-
curl -L -o vocab.json https://huggingface.co/sshleifer/student_xsum_6_6/resolve/main/vocab.json
899 kB
File too large to display, you can check the raw version instead.