How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Poly-Pixel/shrek-medium-full")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Poly-Pixel/shrek-medium-full")
model = AutoModelForCausalLM.from_pretrained("Poly-Pixel/shrek-medium-full", device_map="auto")
Quick Links

Shrek, with all 4 scripts!

Downloads last month
246
Safetensors
Model size
0.4B params
Tensor type
F32
ยท
U8
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Poly-Pixel/shrek-medium-full

Quantizations
2 models