# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="vikp/textbook_gen6")# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("vikp/textbook_gen6")
model = AutoModelForCausalLM.from_pretrained("vikp/textbook_gen6")Quick Links
- Downloads last month
- -
# Gated model: Login with a HF token with gated access permission hf auth login