Adapting Foundation Models Flashcards

1
Q

What is adaptation in the context of foundation models?

A

The process of customizing pre-trained models to perform better in specific tasks or domains by re-training them with new data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is adaptation important?

A

It enhances performance in specialized tasks, aligns outputs with organizational needs, and respects privacy constraints.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give an example of domain-specific adaptation.

A

A chatbot for banking fine-tuned to answer financial questions about loans and accounts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can private data be used in adaptation?

A

Fine-tuning a model with an organization’s internal data improves relevance while maintaining privacy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is instruction-based adaptation?

A

Fine-tuning models using instructional data (e.g., manuals) to improve their performance on unseen tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is RAG?

A

RAG stands for Retrieval-Augmented Generation, a framework combining retrieval of external data with natural language generation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why is RAG useful?

A

It overcomes knowledge cutoffs, improves accuracy, reduces hallucinations, and enables domain adaptability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the main components of RAG?

A

Components of a RAG System
- Retriever:
- - Fetches relevant information from external sources.
- - Techniques:
- - - Sparse Retrieval: BM25, TF-IDF.
- - - Dense Retrieval: Embeddings via transformers like BERT.
- - Tools: Elasticsearch, FAISS, Pinecone.

  • Generator:
    • A language model that processes the retrieved information and generates the output.
    • Common Models: GPT, T5, BART.
  • Knowledge Base:
    • The external data source where the retriever looks for information.
    • Examples: Databases, Wikipedia, proprietary datasets.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Give an example of a RAG application.

A

Customer support systems retrieving answers from a company knowledge base.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a common challenge in RAG systems?

A

Retriever Quality:
Poor retrieval mechanisms can provide irrelevant or incomplete data.
Latency:
Real-time retrieval and generation can be slower compared to static responses from an LLM.
Integration Complexity:
Combining retrievers, generators, and external databases requires careful engineering.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly