What does BERT stand for and what is it trained to do?
Simple meaning
BERT stands for Bidirectional Encoder Representations from Transformers.
Open the full page for Why, Steps, Example and Key takeaway.
Panel-ready GenAI / LLM questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.
BERT stands for Bidirectional Encoder Representations from Transformers.
Open the full page for Why, Steps, Example and Key takeaway.
Classic GPT is a decoder-only transformer.
Open the full page for Why, Steps, Example and Key takeaway.
BERT is an encoder-only transformer.
Open the full page for Why, Steps, Example and Key takeaway.
GPT is trained as a language model that writes the next token, so generation is its native task.
Open the full page for Why, Steps, Example and Key takeaway.
A prompt is the text you give the model to steer what it does next.
Open the full page for Why, Steps, Example and Key takeaway.
A system prompt is a high-priority instruction that sets role, tone, tools, and hard rules.
Open the full page for Why, Steps, Example and Key takeaway.
Zero-shot prompting asks the model to perform a task with instructions only, no labeled examples.
Open the full page for Why, Steps, Example and Key takeaway.
Few-shot prompting includes a handful of input-output examples in the prompt.
Open the full page for Why, Steps, Example and Key takeaway.
Chain-of-thought prompting asks the model to reason step by step before the final answer.
Open the full page for Why, Steps, Example and Key takeaway.
In-context learning is the model adapting to a task from examples or instructions inside the prompt, without changing weights.
Open the full page for Why, Steps, Example and Key takeaway.
A user message is the human or application turn.
Open the full page for Why, Steps, Example and Key takeaway.
RAG retrieves relevant documents and stuffs them into the prompt so the LLM answers with that evidence.
Open the full page for Why, Steps, Example and Key takeaway.
Training data is frozen, incomplete, and not your internal corpus.
Open the full page for Why, Steps, Example and Key takeaway.
Retrieval is the step that selects the most relevant chunks for a query.
Open the full page for Why, Steps, Example and Key takeaway.
Grounding means the answer is tied to provided sources rather than invented facts.
Open the full page for Why, Steps, Example and Key takeaway.
A vector database stores embeddings and finds nearest neighbors at scale.
Open the full page for Why, Steps, Example and Key takeaway.
An index is the data structure that makes similarity search fast, such as HNSW or IVF.
Open the full page for Why, Steps, Example and Key takeaway.
ANN search returns vectors that are very close to the query without guaranteeing the exact closest set.
Open the full page for Why, Steps, Example and Key takeaway.
Hallucination is fluent text that is false, unsupported, or fabricated.
Open the full page for Why, Steps, Example and Key takeaway.
They fill gaps with statistically plausible tokens when evidence is missing or conflicting.
Open the full page for Why, Steps, Example and Key takeaway.