Project idea · ungraded

Prompt Playground

Build a small tool that sends the same task to a model with different prompts and decoding settings, shows the outputs side by side, and scores them — so you can see what temperature, top-p, system messages and few-shot examples actually change.

You will use

Milestones

Build the smallest working version first. Ticks are saved in this browser only.

Stretch goals

  • Repeat each setting five times to measure variability.
  • Use your tiny GPT for the decoding experiments and a chat model for the prompting ones.
  • Turn the table into an HTML report.

Data

Write your own small task inputs (10–20 per task). A local model through Ollama avoids API costs.

Run it yourself

pip install langchain-core langchain-ollama pandas
python playground.py