Writing poems using LLama 2 on Workers AI
Sep 27, 2023John Graham-Cumming

Summary
This post demonstrates the practical application of Workers AI by showcasing a 14-line JavaScript code snippet that utilizes the Llama 2 model to generate poems. It provides example prompts and their corresponding outputs, illustrating the model's ability to adapt to different styles and themes. The post highlights the ease of deployment and use of Workers AI for generative AI tasks.
More from the Artificial Intelligence Integration & Impact trail
- Introducing Clef-omni with full multimodality, plus a faster Clef and a cheaper Clef-flash
- Introducing Web Search API via AI Gateway
- Introducing Clef: our open-source decision models, and new RL fine-tuning platform
- One year later: Sovereign AI and the fight for choice
- AI Search is now generally available