Instructions to use TohidA/InstructGPTJ-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TohidA/InstructGPTJ-mini with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("EleutherAI/gpt-j-6B") model = PeftModel.from_pretrained(base_model, "TohidA/InstructGPTJ-mini") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from TohidA/InstructGPTJ-mini: direct link, hf CLI and curl.
- Browser
- Download file 2.14 MB
-
https://huggingface.co/TohidA/InstructGPTJ-mini/resolve/refs%2Fpr%2F1/tokenizer.json
- Command line
-
hf download hf://TohidA/InstructGPTJ-mini@refs/pr/1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/TohidA/InstructGPTJ-mini/resolve/refs%2Fpr%2F1/tokenizer.json
2.14 MB
File too large to display, you can check the raw version instead.