Add prompting lab
This commit is contained in:
parent
318ef5ce57
commit
12c7bd734c
1
lab01_prompting.ipynb
Normal file
1
lab01_prompting.ipynb
Normal file
@ -0,0 +1 @@
|
||||
{"cells":[{"cell_type":"markdown","metadata":{},"source":["# GenAI Lab 01 — Prompting\n","\n","In this lab you will experiment with prompts for a Large Language Model.\n","\n","1. Write a clear, specific prompt.\n","2. Add context and an example (few-shot).\n","3. Ask for a specific output format.\n"]},{"cell_type":"code","execution_count":null,"metadata":{},"outputs":[],"source":["prompt = \"Explain what a transformer is to a 12-year-old, in 3 sentences.\"\n","print(prompt)\n","# TODO: send `prompt` to your LLM of choice and compare outputs."]}],"metadata":{"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"}},"nbformat":4,"nbformat_minor":5}
|
||||
Loading…
x
Reference in New Issue
Block a user