SPB Git

Repository Public MIT Research preview

CE02-F05-bm25-contre-dense.tex 2.1 KB 23 lines latex

1% CE02-F05 — Recherche lexicale (BM25) contre recherche dense, par type de question.2% Question : sur quelles questions chaque recherche trouve-t-elle le bon passage, et que change la fusion ?3% DONNÉES : CE02-F05-donnees.tex — calculs exacts sur le corpus synthétique ; représentation dense CONSTRUITE4% (indexation aléatoire), pas un plongement appris. Recall@5, lots dev et test réunis ; nombre de questions après le type.5% Idée : aucune des deux ne domine ; la question formulée avec d'autres mots reste difficile pour les trois.6\input{CE02-F05-donnees.tex}%7\begin{tikzpicture}[x=1mm, y=1mm]8  \begin{axis}[atlas axis, scale only axis, at={(30mm,0)}, width=92mm, height=43mm, xbar, bar width=1.7mm, xmin=0, xmax=112,9      axis x line*=bottom, axis y line*=left, y axis line style={draw=none}, ytick style={draw=none}, ytick=data, y dir=reverse,10      symbolic y coords/.expand once=\CEFcinqTypes, yticklabel style={font=\AtlasSizeTiny, text=atlasFg, align=right},11      xmajorgrids, enlarge y limits={abs=4.4mm}, xtick={0,25,50,75,100}, xlabel={Recall@5 (\%)},12      nodes near coords, nodes near coords style={font=\AtlasTabularFont\AtlasSizeTiny, anchor=west, text=atlasFg, inner sep=1pt},13      nodes near coords={\pgfmathprintnumber[fixed, precision=0]{\pgfplotspointmeta}}]14    \edef\atlasplot{\noexpand\addplot[atlas bar flow, bar shift=2.2mm] coordinates {\CEFcinqLexical};}\atlasplot15    \edef\atlasplot{\noexpand\addplot[atlas bar valid, bar shift=0mm] coordinates {\CEFcinqDense};}\atlasplot16    \edef\atlasplot{\noexpand\addplot[atlas bar muted, bar shift=-2.2mm] coordinates {\CEFcinqHybride};}\atlasplot17  \end{axis}18  \node[atlas note, anchor=north west, align=left] at (0, -9.6) {\textcolor{atlasFlow}{\rule{2.2mm}{2.2mm}} BM25 (en haut)\enspace19    \textcolor{atlasValid}{\rule{2.2mm}{2.2mm}} dense construite (au milieu)\enspace \textcolor{atlasRule}{\rule{2.2mm}{2.2mm}} hybride, fusion des rangs (en bas)};20  \node[atlas note, anchor=west, align=left] at (124, 34) {type de question\\· nombre\\de questions};21  \node[ce nature, anchor=north east] at (142, -9.4) {calcul exact · corpus synthétique};22\end{tikzpicture}23
Files main
Menu

Theme