Instructions to use sshleifer/student_cnn_12_9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sshleifer/student_cnn_12_9 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sshleifer/student_cnn_12_9") model = AutoModelForSeq2SeqLM.from_pretrained("sshleifer/student_cnn_12_9", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
922c73a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:94a9dea7fb8ceb6ef883ea4882bd20546f232250920944c9fa1552348b6a28ec
size 1423817978
|