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