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