Repository Public License Research preview
1% S03-F04 — L'information de position : sans elle, l'attention ne voit pas l'ordre des jetons.2% Idée : pour le dernier jeton, mélanger les jetons qui précèdent donne exactement le même vecteur (à gauche) ;3% dès qu'un signal de position entre dans le calcul, les deux ordres se distinguent (à droite).4% DONNÉES : S03-F04-donnees.tex, généré par demos/src/atlas_s03/exporter_donnees_figure.py.5\input{S03-F04-donnees.tex}%6\begin{tikzpicture}[x=1mm, y=1mm]7 \node[atlas heading, anchor=west] at (0,49.6) {Suite de jetons};8 \node[atlas heading, anchor=west] at (50,49.6) {Sans position};9 \node[atlas heading, anchor=west] at (97,49.6) {Avec position};10 \node[atlas note, anchor=west] at (50,45.2) {scores = requête · clé};11 \node[atlas note, anchor=west] at (97,45.2) {scores − \STval{F04-pente} par rang d'écart};12 \foreach \n/\y/\nom in {a/34.6/{Ordre d'origine}, b/16.6/{Ordre mélangé}} {13 \node[atlas note, anchor=west] at (0,\y+5.4) {\nom};14 \AtlasTokenRow{t\n}{(0,\y)}{\STval{F04-\n-jeton-1},\STval{F04-\n-jeton-2},\STval{F04-\n-jeton-3}}15 \foreach \j in {1,2,3} {\node[atlas note, anchor=north] at (t\n-\j.south) {rang \j};}16 \foreach \m/\x in {sans/50, avec/97} {17 \node[atlas block, anchor=west, minimum width=38mm, inner ysep=3.4pt, font=\AtlasTabularFont\AtlasSizeLabel\bfseries]18 (z\n\m) at (\x,\y) {\STval{F04-\n-\m-sortie}};19 \node[atlas note, anchor=north west, inner xsep=0pt] at ([yshift=-.6mm]z\n\m.south west)20 {poids : \STval{F04-\n-\m-poids-1} · \STval{F04-\n-\m-poids-2} · \STval{F04-\n-\m-poids-3}};21 }22 \draw[atlas arrow] ([xshift=1mm]t\n-3.east) -- (z\n sans.west);23 \draw[atlas arrow muted] (z\n sans.east) -- (z\n avec.west);24 }25 \node[atlas tag=atlasHazard, anchor=center] at (69,25.2) {= identiques};26 \node[atlas tag=atlasValid, anchor=center] at (116,25.2) {≠ différents};27 \node[atlas note, anchor=north west, text width=138mm] at (0,5.6)28 {Dans chaque case : le nouveau vecteur du dernier jeton, « avocat », et ses trois poids d'attention. La pénalité de \STval{F04-pente} par rang est volontairement forte, pour que l'effet se voie.};29\end{tikzpicture}30