Jet-setting with Llama 2 + Grammars
Oct 9, 2023

Summary
This post introduces and demonstrates the use of Llama 2 models with built-in grammar support for constrained text generation. It provides a practical example of using a JSON schema to extract structured flight information from an email, showcasing the effectiveness of grammars for ensuring syntactic perfection in LLM output. The post also links to relevant resources for further exploration of Llama 2 and grammar-based generation.