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

သဘောတရား

Choosing a foundation model

The checklist for picking a foundation model: cost, modality, latency, language, size, customization, length and caching.

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

  • Cost

    Price per token and the cost of running the model.

  • Modality

    Text, image, audio or video in and out.

  • Latency

    How fast the answer comes back.

  • Languages

    Quality in each language your users speak.

  • Size and complexity

    Bigger models are often smarter but slower and costlier.

  • Customization

    Can you fine-tune it or add your own data?

  • Input and output length

    Context window and reply length differ by model.

  • Prompt caching

    Reuse a repeated prompt start to save cost and time.

Eight criteria to check for every model.

1 / 2

  • Cost

    Price per token and the cost of running the model.

  • Modality

    Text, image, audio or video in and out.

  • Latency

    How fast the answer comes back.

  • Languages

    Quality in each language your users speak.

  • Size and complexity

    Bigger models are often smarter but slower and costlier.

  • Customization

    Can you fine-tune it or add your own data?

2 / 2

  • Input and output length

    Context window and reply length differ by model.

  • Prompt caching

    Reuse a repeated prompt start to save cost and time.

Eight criteria to check for every model.
  • Live chat, simple questions

    Small, fast, low-cost model
  • Long contracts to summarize

    Model with a long input limit
  • Describe photos

    Multimodal model
  • Same long instructions every call

    Prompt caching
  • Needs your own terminology

    Model you can customize
Which criterion decides in common situations.

ဘာလဲ

There is no single best foundation model (FM). Each one trades quality, speed and price. Before you pick, write down what the application needs, then compare models against that list.

Ask these questions. What does a call cost? Which kinds of input and output are needed (text, images, audio)? How fast must the answer come back? Which languages must it handle? Is a bigger, more capable model needed, or will a small one do? Can the model be customized? How long are the inputs and outputs? Will the same long prompt be sent again and again?

ဘာလဲ

Start with the cheapest and fastest model that meets the quality bar. Move up in size only when tests show it is not good enough. Amazon Bedrock lets you try models from several providers behind one service, so switching is cheap.

မှတ်ထားရန်

  • Cost: models are billed by tokens, and larger models cost more per token.
  • Modality: the kinds of data a model takes in and puts out, such as text, image, audio or video.
  • Latency: how long the reply takes. Smaller models usually answer faster.
  • Multi-lingual: check that the model supports your users' languages well.

မှတ်ထားရန်

  • Model size and complexity: more parameters often give better answers but cost more and run slower.
  • Input and output length: the context window is the most text a model takes in one request, and it differs by model. Prompt caching reuses a repeated prompt start to cut cost and latency.

စာမေးပွဲမှာ

  • “Answers must be very fast and cheap for simple questions” points to a smaller model.
  • “Needs to work with images as well as text” points to choosing a multimodal model.
  • “The same long instructions are sent with every request” points to prompt caching.