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

သဘောတရား

FM metrics: ROUGE, BLEU, BERTScore and benchmarks

Scores for the text a model writes: ROUGE, BLEU, BERTScore, perplexity and named benchmarks.

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

  • ROUGE

    Best for
    Summarization
    It compares
    Words shared with a reference summary
  • BLEU

    Best for
    Translation
    It compares
    Word groups shared with a reference translation
  • BERTScore

    Best for
    Meaning, any text task
    It compares
    Embeddings: how close the meaning is
  • Perplexity

    Best for
    How well a model predicts text
    It compares
    No reference needed. Lower is better.
  • Benchmarks

    Best for
    Ranking models on the same tasks
    It compares
    GLUE, SuperGLUE, MMLU, HELM
What each metric compares, and its task.

1 / 2

  • ROUGE

    Best for
    Summarization
    It compares
    Words shared with a reference summary
  • BLEU

    Best for
    Translation
    It compares
    Word groups shared with a reference translation
  • BERTScore

    Best for
    Meaning, any text task
    It compares
    Embeddings: how close the meaning is

2 / 2

  • Perplexity

    Best for
    How well a model predicts text
    It compares
    No reference needed. Lower is better.
  • Benchmarks

    Best for
    Ranking models on the same tasks
    It compares
    GLUE, SuperGLUE, MMLU, HELM
What each metric compares, and its task.
Reference text
Metric
Model text
Score
  1. 1Take the human-written reference.
  2. 2Take the model's text.
  3. 3The metric turns the comparison into a score.
A metric scores model text against a reference.

ဘာလဲ

Some tasks have a good reference answer written by a person. A metric then compares the model's text to that reference and gives a score. You do not need the formulas for the exam, only what each metric compares and where it fits.

ဘာလဲ

ROUGE (Recall-Oriented Understudy for Gisting Evaluation) counts how much of the reference summary appears in the model's summary. It fits summarization. BLEU (Bilingual Evaluation Understudy) checks how many word groups in the model's translation also appear in the reference. It fits machine translation. BERTScore compares meaning, not exact words, by using embeddings. A paraphrase can score well even with different words. ROUGE and BLEU reward word overlap, so they can punish a good answer worded differently.

ဘာလဲ

Perplexity is different: it needs no reference. It shows how well a language model predicts text, and a lower value is better. Benchmarks are named test sets that rank models on the same tasks. GLUE and SuperGLUE test language understanding, MMLU tests knowledge across many subjects, and HELM scores models on many measures such as accuracy, fairness and toxicity. To judge answers on qualities such as completeness, see Judge metrics.

မှတ်ထားရန်

  • ROUGE: overlap with a reference summary. Use for summarization.
  • BLEU: overlap of word groups with a reference translation. Use for translation.
  • BERTScore: similarity of meaning using embeddings. Use when wording may differ.
  • ROUGE, BLEU and BERTScore compare model output with a human-written reference. Higher is closer.

မှတ်ထားရန်

  • Perplexity: how well a model predicts text. Lower is better.
  • Benchmarks: GLUE, SuperGLUE, MMLU, HELM.

စာမေးပွဲမှာ

  • “Evaluate the quality of text summaries” points to ROUGE.
  • “Evaluate machine translation quality” points to BLEU.
  • “Compare meaning, not exact words” points to BERTScore.
  • “Compare several models on a standard language test, such as MMLU or HELM” points to a benchmark.