Instructions to use allenai/tk-instruct-3b-def-pos with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/tk-instruct-3b-def-pos with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("allenai/tk-instruct-3b-def-pos") model = AutoModelForSeq2SeqLM.from_pretrained("allenai/tk-instruct-3b-def-pos", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from allenai/tk-instruct-3b-def-pos: direct link, hf CLI and curl.
- Browser
- Download file 513 kB
-
https://huggingface.co/allenai/tk-instruct-3b-def-pos/resolve/main/trainer_state.json
- Command line
-
hf download hf://allenai/tk-instruct-3b-def-pos/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/allenai/tk-instruct-3b-def-pos/resolve/main/trainer_state.json
513 kB
File too large to display, you can check the raw version instead.