Prompt Engineering for LLMs Flashcards

1
Q

RLHF

A

Reinforcement Learning from Human Feedback

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

Base Model

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

Transformer Architecture

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

Tokenizer

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

Fine Tuning

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

Hallucinations

A

Confabulations

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

HuggingFace

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

TicToken

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

Autoregressive Models

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

Temperature and Probabilities

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

Intermediate Results

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

HHH

A

helpful, honest, and harmless

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

SFT

A

Supervised fine-tuning (SFT) model

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

Reward Model

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

RLHF model

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

Instruct Models

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

ChatML

18
Q

prompt Injection

A

An approach to controlling the behavior of a model by inserting text into the prompt in such a way that it conditions the behavior.

19
Q

Chat Completion API

20
Q

feed-forward pass

A
  • context retrieval
  • Snippitization
  • Snippit scoring and prioritizing
  • Prompt assembly
21
Q

Context retrieval

22
Q

Snippitizing content

23
Q

Scoring and prioritizing snippits

24
Q

Prompt assembly

25
Q

RAG

A

Retrieval Augmented Generation

26
Q

contrastive pre-training

27
Q

FAISS

A

Facebook AI Similarity Search

28
Q

HNSW

A

Hierarchical Navigable Small Words

29
Q

neural retrieval

30
Q

lexical retrieval

31
Q

hierarchical summarization

32
Q

rumor problem

33
Q

In-context learning

A

The closer a piece of information is to the end of the prompt, the more impact it has on the model.

34
Q

lost middle phenomenon

A

While the model can easily recall the beginning and end of the prompt, it struggles with the information stuffed in the middle.

35
Q

Conversational Agents

36
Q

Plan-and-Solve Prompting

37
Q

Branch-to-Solve Merge

38
Q

LLM frameworks

A

LangChain,
Semantic Kernel, AutoGen,
DSPy,

39
Q

DAG

A

Directed Acyclic Graph

40
Q

AutoGen