Instructions to use allenai/tk-instruct-3b-def with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/tk-instruct-3b-def with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("allenai/tk-instruct-3b-def") model = AutoModelForSeq2SeqLM.from_pretrained("allenai/tk-instruct-3b-def") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#2 opened about 3 years ago
by
SFconvertbot