INTELLIGENT SOFTWARE FOR FUTURE SPACE
WHOAMI
2
A LITTLE HISTORY LESSON
THE FIRST TRANSFORMER
4
DECODING
5
<start>
<start>
One
<start>
One
Ring
<start>
One
Ring
To
<start>
One
Ring
To
Rule
<start>
One
Ring
To
Rule
Them
<start>
One
Ring
To
Rule
Them
All
<start>
One
Ring
To
Rule
Them
All
<end>
BEAM SEARCH
Image courtesy: vnopenai.github.io
6
WHERE IS IT HEADED?
IS IT COMING AFTER MY JOB?
Only if your job is not worth doing.
8
THEN IS IT JUST HYPE?
Yes, and No
9
HOW BETTER IT WILL GET?
My very personal opinion is it is near its plateau
TIME TO LEARN IT NOW
MAKE IT PART OF YOUR APP
RETRIEVAL AUGMENTED GENERATION
13
AGENTS
14
TEMPERATURE 🥵
HIGH TEMPERATURE (>1)
Flattens the distribution, making less likely tokens more probable.
Sharpens the distribution, making the model more likely to pick the most probable token.
LOW TEMPERATURE (<1)
15
TOKENS TO CONSIDER
Number of tokens to consider
TOP K
TOP P
Total probability to consider
16
PLAYING WITH TEMPERATURE
17
Top P = 0.5
PREVENT REPETITION
PRESENCE PENALTY
Penalize the model if a token is reused
Increases the penalty with each reuse
FREQUENCY PENALTY
18
AND A LOT MORE TO EXPLORE
19
Audio
Image
Code Execution
Function Calling
System Instruction
Yours to Build
THANK YOU
Questions?