Created
November 29, 2023 16:05
-
-
Save zachschillaci27/fba95ee3d23f6011a486e3b3b5ec89d0 to your computer and use it in GitHub Desktop.
Decision tree for building a custom LLM solution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph G { | |
graph [fontname = "Handlee"]; | |
node [fontname = "Handlee"]; | |
edge [fontname = "Handlee"]; | |
bgcolor=transparent; | |
subgraph cluster_0 { | |
color=orange; | |
label="Usage" | |
node [shape=box]; | |
needs[label="What are the specific needs"]; | |
know[label="Knowledge retrieval"]; | |
agents[label="Agents"]; | |
general[label="General"]; | |
prompt[label="Prompt engineering"]; | |
fewshot[label="Few-shot learning"]; | |
train[label="Fine-tuning"]; | |
RAG; | |
SFT; | |
RLHF; | |
needs -> know; | |
needs -> agents; | |
needs -> general; | |
know -> prompt; | |
agents -> prompt; | |
general -> prompt; | |
prompt -> RAG; | |
prompt -> fewshot; | |
prompt -> train; | |
train -> SFT; | |
train -> RLHF; | |
} | |
subgraph cluster_1 { | |
label="Deployment"; | |
color=blue | |
node [shape=box]; | |
security[label="What are the security constraints?"]; | |
cloud[label="Cloud provider"]; | |
local[label="Local deployment"]; | |
hardware[label="What's the hardware setup?"]; | |
security -> cloud; | |
security -> local; | |
cloud -> OpenAI; | |
cloud -> Azure; | |
cloud -> Other; | |
local -> hardware; | |
hardware -> CPU; | |
hardware -> GPU; | |
hardware -> Custom; | |
} | |
start[label="Building a Custom LLM"]; | |
start -> needs; | |
start -> security; | |
start [shape=box]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment