0
0
Prompt Engineering / GenAIml~5 mins

Sentence transformers in Prompt Engineering / GenAI - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a sentence transformer?
A sentence transformer is a model that turns sentences into numbers (vectors) so computers can understand and compare their meanings easily.
Click to reveal answer
beginner
Why do we use sentence transformers instead of word transformers?
Sentence transformers capture the meaning of the whole sentence, not just individual words, which helps in tasks like searching or comparing sentences.
Click to reveal answer
beginner
How do sentence transformers help in real life?
They help apps find similar sentences, answer questions, or group texts by meaning, like finding similar reviews or matching questions to answers.
Click to reveal answer
beginner
What is the output of a sentence transformer model?
The output is a fixed-length vector (list of numbers) that represents the meaning of the input sentence.
Click to reveal answer
intermediate
Name a popular pre-trained sentence transformer model.
One popular model is 'all-MiniLM-L6-v2', which is fast and good for many tasks like search and clustering.
Click to reveal answer
What does a sentence transformer output?
AA list of keywords
BA translated sentence
CA vector representing the sentence meaning
DA summary of the sentence
Why are sentence transformers useful for search engines?
AThey count the number of words
BThey translate queries into different languages
CThey summarize long documents
DThey convert sentences into vectors to find similar meanings
Which task is sentence transformers NOT typically used for?
AImage classification
BText clustering
CSentence similarity
DQuestion answering
What kind of data do sentence transformers work with?
ASentences or text
BAudio
CImages
DVideos
Which of these is a benefit of using sentence transformers?
AThey increase sentence length
BThey reduce sentences to a fixed-size vector
CThey remove all punctuation
DThey translate text to binary
Explain in your own words what a sentence transformer does and why it is useful.
Think about how computers understand sentences as numbers.
You got /3 concepts.
    Describe a real-life example where sentence transformers can improve a task.
    Imagine using it in a question-answer app or a review search.
    You got /3 concepts.