prompt-eng-ollama-interactive-tutorial  by ivanfioravanti

Interactive tutorial for prompt engineering with Ollama

Created 9 months ago
255 stars

Top 98.9% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides an interactive tutorial for prompt engineering with Ollama, targeting users who want to master prompt design for LLMs. It offers a structured, hands-on approach to building effective prompts, improving model responses, and understanding common pitfalls.

How It Works

The tutorial is structured into 9 chapters, each with lessons and practical exercises. It utilizes an "Example Playground" feature within each lesson, allowing users to experiment with prompt variations and observe immediate feedback from the 'qwen2.5:14b' model. This iterative approach facilitates learning by doing, enabling users to practice prompt writing and troubleshooting in a controlled environment.

Quick Start & Requirements

  • Install: Follow the instructions in the tutorial chapters to set up Ollama and download the qwen2.5:14b model (or qwen2.5:7b if hardware is limited).
  • Prerequisites: Ollama installed, qwen2.5:14b or qwen2.5:7b model downloaded.
  • Resources: Requires sufficient disk space for the model and RAM for inference.
  • Links: 01_Basic Prompt Structure

Highlighted Details

  • Covers 9 chapters of prompt engineering techniques, from basic structure to complex industry use cases.
  • Includes practical exercises and an "Example Playground" for hands-on experimentation.
  • Focuses on the qwen2.5:14b model, with a smaller qwen2.5:7b alternative.
  • Appendix covers advanced topics like chaining prompts and tool use.

Maintenance & Community

This project is a personal initiative inspired by Anthropic's tutorial. No specific community channels or maintainer information are provided in the README.

Licensing & Compatibility

The repository does not specify a license.

Limitations & Caveats

The tutorial is focused solely on the qwen2.5 model family and Ollama. Advanced features like "Search & Retrieval" are marked as "coming soon maybe," indicating potential incompleteness.

Health Check
Last Commit

9 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
4 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
6 more.

prompt-engine by microsoft

0.1%
3k
NPM library for LLM prompt engineering
Created 3 years ago
Updated 2 years ago
Feedback? Help us improve.