make it better: \begin{tikzpicture}[scale=0.7, every node/.style={font=\scriptsize}] %…
- User
make it better: \begin{tikzpicture}[scale=0.7, every node/.style={font=\scriptsize}] % Input \node[draw, rounded corners=3pt, fill=blue!10, minimum width=3.4cm] (input) at (0,0) {Input: ``The capital of''};
% LLM box \node[draw, thick, rounded corners=6pt, minimum width=3.6cm, minimum height=2cm, fill=gray!10] (llm) at (0,-2) { \begin{tabular}{c} \textbf{Language Model} \ \scriptsize (Transformer Architecture) \end{tabular} };
% Output \node[draw, rounded corners=3pt, fill=green!10, minimum width=3.4cm] (output) at (0,-4) {Output: ``France is Paris''};
% Arrows \draw[->, thick, >=stealth] (input) -- (llm); \draw[->, thick, >=stealth] (llm) -- (output);
% Probability bars \node[right=0.5cm of llm] (prob) { \begin{tikzpicture}[scale=0.45] \draw[->, thin] (0,0) -- (2.6,0) node[right] {\tiny Tokens}; \draw[->, thin] (0,0) -- (0,1.6) node[above] {\tiny Probability}; \foreach \x/\h/\l in {0.3/1.3/"France", 0.9/0.9/"Germany", 1.5/0.5/"Italy", 2.1/0.3/"Spain"} \draw[fill=orange!70] (\x,0) rectangle (\x+0.4,\h) node[below, yshift=-0.15cm, rotate=45, font=\tiny] {\l}; \end{tikzpicture} }; \node[below=0.1cm of prob, font=\tiny, align=center] {Next-token\probability distribution}; \end{tikzpicture}
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.