# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("EleutherAI/tiny-GPTNeoXForCausalLM")
model = AutoModelForCausalLM.from_pretrained("EleutherAI/tiny-GPTNeoXForCausalLM")Quick Links
Tiny GPTNeoXForCausalLM
This is a minimal model built for unit tests in the TRL library.
- Downloads last month
- 21
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EleutherAI/tiny-GPTNeoXForCausalLM")