ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား

Prompt engineering

Steer a foundation model with better instructions, without training it.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

Prompt
Foundation models
Response
  1. 1You write the prompt.
  2. 2The model returns a response that follows it.
A prompt goes in, a response comes out.
  • Vague

    Text
    Tell me about our returns.
    Result
    A long, general essay.
  • Clear

    Text
    In three bullets, list the steps to return an item bought within 30 days.
    Result
    Three short steps in the right format.
The same task with a vague and a clear prompt.

ဘာလဲ

A prompt is the input you give a foundation model. Prompt engineering is the practice of writing and improving prompts to get better answers. It changes what you ask, not the model.

It matters because the same model can give a weak or a strong answer depending on the prompt. A clear prompt says who the model should act as, what to do, what to use and how to answer. It is the cheapest and fastest way to improve results, so try it before fine-tuning.

Prompts are tested and improved in rounds. Change one thing, compare the answers, and keep what works.

မှတ်ထားရန်

  • Prompt engineering = writing prompts that guide a model to better output.
  • It needs no training and no extra data.
  • It is the first and cheapest customization step.
  • Better prompts give better quality, more consistent format and fewer wrong answers.
  • Results vary by model, so test with your own model.

စာမေးပွဲမှာ

  • “Improve answers without retraining the model” points to prompt engineering.
  • “Lowest-effort way to change model behavior” points to prompt engineering.