0
0
Prompt Engineering / GenAIml~5 mins

Translation in Prompt Engineering / GenAI - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main goal of machine translation?
To automatically convert text or speech from one language to another while keeping the original meaning.
Click to reveal answer
intermediate
What is a common model architecture used in modern translation systems?
The Transformer model, which uses attention mechanisms to understand context and relationships in sentences.
Click to reveal answer
beginner
Why is context important in translation?
Because words can have different meanings depending on the sentence, context helps the model choose the right meaning.
Click to reveal answer
intermediate
What is BLEU score in translation?
A metric that measures how close the machine-translated text is to a human translation by comparing overlapping words and phrases.
Click to reveal answer
beginner
What does 'sequence-to-sequence' mean in translation models?
It means the model takes a sequence of words in one language and produces a sequence of words in another language.
Click to reveal answer
Which model is widely used for machine translation today?
ALinear Regression
BDecision Tree
CTransformer
DK-Nearest Neighbors
What does BLEU score measure?
ASimilarity between machine and human translations
BSpeed of translation
CNumber of words translated
DGrammar correctness
Why is attention important in translation models?
AIt helps focus on relevant words in the input sentence
BIt speeds up training
CIt reduces the size of the model
DIt translates words one by one
What is the input and output in sequence-to-sequence translation?
AInput: image; Output: text
BInput: sentence in source language; Output: sentence in target language
CInput: single word; Output: single word
DInput: audio; Output: audio
Which of these is NOT a challenge in machine translation?
ADealing with multiple meanings of words
BUnderstanding context
CHandling idioms and slang
DTranslating numbers
Explain how the Transformer model improves translation compared to older methods.
Think about how the model focuses on important words and handles sentences as a whole.
You got /4 concepts.
    Describe why evaluating translation quality is important and how BLEU score helps with this.
    Consider why we want to know if the machine did a good job.
    You got /4 concepts.