Llama / Meta AI prompts
Prompts and system messages for Meta's Llama models, hosted or running on your own machine.
-
Llama 4 Vision: How Dynamic Tiling Works
Per Meta's official Llama 4 documentation, multimodal input supports text plus up to 5 images, and image understanding is English-only. Larger images are divided into 336 x 336 pixel local tiles using <|tilexseparator|>
-
Llama 4 Tool Calling With the ipython Role
In Llama 4, tool execution outputs are returned to the model using the role tag <|headerstart|>ipython<|headerend|>. In Python zero-shot function calling mode, Llama 4 outputs tool calls formatted as Python function call
-
Llama 4 System Prompt to Stop False Refusals
Meta's official Llama 4 documentation provides a suggested system prompt designed to reduce false refusals and "preachy" responses: it instructs the model to be companionable and confident, avoid over-helpfulness on simp
-
Llama 4 vs Llama 3 Special Tokens: Exact Prompt Format
According to Meta's official model cards, Llama 3 used <|startheaderid|>{role}<|endheaderid|> and <|eotid|>, whereas Llama 4 uses <|headerstart|>{role}<|headerend|> to enclose the role (system, user, assistant, ipython)
-
Run Llama 4 Scout 4-Bit on One 24GB GPU
4-bit quantization compresses Llama 4 Scout's weights by up to 4x, enabling deployment on a single 24GB VRAM card while preserving complex reasoning. Use concise, structured output schemas to maximize throughput on singl