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