sciclaimeval-shared-task / data /tables /dev /val_tab_0005.tex
RiteeshGrandhi's picture
Duplicate from alabnii/sciclaimeval-shared-task
d940b91
\documentclass[varwidth=598pt]{standalone}
\usepackage{booktabs} % professional-quality tables
\usepackage{multirow} % multi-row cells in tables
\usepackage{colortbl} % color for tables (\cellcolor, \rowcolor)
\usepackage[table]{xcolor} % enhanced colors for tables
\usepackage{array} % more flexible column formats (often used)
\usepackage{tabularx} % for tables with auto-stretch columns (if used)
\usepackage{graphicx} % for images in tables or figure/table floats
\usepackage{amssymb} % math symbols
\usepackage{amsmath} % math environments
\usepackage{soul} % highlighting (used for colored text/cells)
\usepackage[normalem]{ulem} % underlining, strikethroughs
\usepackage[T1]{fontenc} % font encoding
\usepackage[utf8]{inputenc}% input encoding (legacy, fine for pdflatex)
\usepackage{microtype} % better text appearance
\usepackage{hyperref} % hyperlinks
\usepackage{textcomp} % for extra symbols
\usepackage{enumitem} % for compact lists (if used in table notes)
\usepackage{adjustbox}
\usepackage{tabu}
\usepackage{pifont} % http://ctan.org/pkg/pifont
\usepackage{bbding} % \XSolidBrush
\usepackage{makecell}
\begingroup
\makeatletter
\renewcommand{\fnum@table}{}%
\long\def\@makecaption#1#2{%
\vskip\abovecaptionskip
\centering #2\par
\vskip\belowcaptionskip
}
\makeatother
\begin{document}
\begin{table}
\centering
\begin{adjustbox}{max width=\textwidth}
\begin{tabular}{@{}l@{}}
\toprule
\begin{CJK*}{UTF8}{gbsn}
{\setlength{\fboxsep}{0.34pt}\colorbox{white!0}{\parbox{0.99\textwidth}{
\colorbox{red!0.0}{\strut <sos>} \colorbox{red!13.618934194312317}{\strut the} \fbox{\colorbox{red!69.21610067395929}{\strut person}} \fbox{\colorbox{red!100.0}{\strut giving}} \colorbox{red!64.29599135349474}{\strut the} \colorbox{red!62.63966240078204}{\strut demonstration} \colorbox{red!5.960305932080871}{\strut is} \colorbox{red!41.211336835076175}{\strut a} \colorbox{red!57.44349825486538}{\strut man} \colorbox{red!4.771411459373127}{\strut <eos>}
}}}
\end{CJK*} \\
\begin{CJK*}{UTF8}{gbsn}
{\setlength{\fboxsep}{0.3pt}\colorbox{white!0}{\parbox{0.99\textwidth}{
\colorbox{red!2.792607802874741}{\strut <sos>} \colorbox{red!0.0}{\strut a} \colorbox{red!40.664603638256644}{\strut dog} \fbox{\colorbox{red!100.0}{\strut participating}} \colorbox{red!29.627787257425453}{\strut in} \colorbox{red!27.762385400699884}{\strut a} \colorbox{red!36.98527923185932}{\strut race} \colorbox{red!1.3384619833993696}{\strut while} \fbox{\colorbox{red!87.96251843711138}{\strut wearing}} \colorbox{red!71.1553923128091}{\strut the} \colorbox{red!56.417271596726145}{\strut number} \colorbox{red!30.62613876276137}{\strut 6} \colorbox{red!3.572895277207394}{\strut .} \colorbox{red!6.915579720623526}{\strut <eos>}
}}}
\end{CJK*} \\
\begin{CJK*}{UTF8}{gbsn}
{\setlength{\fboxsep}{0.34pt}\colorbox{white!0}{\parbox{0.99\textwidth}{
\colorbox{red!26.78751436908658}{\strut <sos>} \colorbox{red!47.498452559908046}{\strut three} \colorbox{red!60.91903203937867}{\strut women} \colorbox{red!29.1207592772718}{\strut are} \fbox{\colorbox{red!100.0}{\strut talking}} \colorbox{red!24.007427712441427}{\strut about} \fbox{\colorbox{red!68.6668435169629}{\strut their}} \colorbox{red!32.821646476257854}{\strut matching} \colorbox{red!17.1721637633743}{\strut wigs} \colorbox{red!49.57644354054294}{\strut and} \fbox{\colorbox{red!64.7513779585581}{\strut silver}} \colorbox{red!41.08409231585463}{\strut leggings} \colorbox{red!0.0}{\strut .} \colorbox{red!29.629498629410207}{\strut <eos>}
}}}
\end{CJK*} \\
\midrule
\begin{CJK*}{UTF8}{gbsn}
{\setlength{\fboxsep}{0.3pt}\colorbox{white!0}{\parbox{0.99\textwidth}{
\colorbox{red!0.0}{\strut <sos>} \colorbox{red!19.523892066793792}{\strut is} \fbox{\colorbox{red!45.4671520194141}{\strut there}} \colorbox{red!25.70636158779685}{\strut any} \fbox{\colorbox{red!55.05286878141792}{\strut truth}} \colorbox{red!29.883862021147507}{\strut to} \colorbox{red!33.74934997399896}{\strut the} \colorbox{red!26.00681805049979}{\strut rumor} \colorbox{red!22.99647541457213}{\strut that} \colorbox{red!39.72381117466921}{\strut the} \colorbox{red!14.410354191945459}{\strut host} \colorbox{red!24.446755648003702}{\strut of} \colorbox{red!22.135552088750217}{\strut the} \colorbox{red!4.3566187091928015}{\strut \_unk} \fbox{\colorbox{red!59.22459120587046}{\strut on}} \colorbox{red!11.983590454729296}{\strut \_unk} \colorbox{red!21.442191020974178}{\strut ,} \colorbox{red!33.9284682498411}{\strut greg} \colorbox{red!8.511007106950942}{\strut \_unk} \colorbox{red!31.62304269948575}{\strut is} \colorbox{red!33.708903911712014}{\strut dead} \colorbox{red!25.076558617900275}{\strut ?} \colorbox{red!13.191194314439244}{\strut \_unk} \fbox{\colorbox{red!76.11371121511527}{\strut has}} \fbox{\colorbox{red!70.79216501993413}{\strut been}} \colorbox{red!34.795169584561165}{\strut down} \colorbox{red!33.483561564684805}{\strut and} \fbox{\colorbox{red!50.488241751892296}{\strut there}} \colorbox{red!26.80996128734037}{\strut is} \colorbox{red!32.74975443462182}{\strut no} \fbox{\colorbox{red!54.27861558906801}{\strut new}} \colorbox{red!17.131796382966428}{\strut information} \colorbox{red!39.37713064078119}{\strut on} \colorbox{red!23.2969318772751}{\strut the} \colorbox{red!33.876466169757904}{\strut web} \fbox{\colorbox{red!41.09897729242503}{\strut about}} \colorbox{red!23.152481654821756}{\strut the} \colorbox{red!10.920436817472705}{\strut future} \colorbox{red!39.51580285433639}{\strut of} \colorbox{red!26.428612700063553}{\strut the} \colorbox{red!13.555208875021663}{\strut site} \colorbox{red!36.54012827179754}{\strut or} \colorbox{red!28.803374357196503}{\strut the} \colorbox{red!6.338475761252667}{\strut \_unk} \colorbox{red!18.36251227826891}{\strut ,} \colorbox{red!31.73860287744843}{\strut greg} \colorbox{red!9.054139943375517}{\strut \_unk} \colorbox{red!33.66267984052695}{\strut .} \fbox{\colorbox{red!85.13896111400013}{\strut what}} \colorbox{red!35.5752007858092}{\strut 's} \fbox{\colorbox{red!92.72548679724967}{\strut going}} \colorbox{red!17.160686427457094}{\strut on} \colorbox{red!27.555324435199623}{\strut ?} \fbox{\colorbox{red!100.0}{\strut how}} \fbox{\colorbox{red!71.76864852371872}{\strut could}} \colorbox{red!5.41977234644942}{\strut \_unk} \colorbox{red!30.895013578320913}{\strut not} \colorbox{red!13.971225515687294}{\strut comment} \colorbox{red!28.318021609753274}{\strut on} \colorbox{red!20.015022823135155}{\strut the} \colorbox{red!8.990581845496038}{\strut past} \colorbox{red!17.64026116600219}{\strut us} \colorbox{red!17.17224244525336}{\strut election} \colorbox{red!19.483446004506845}{\strut (} \fbox{\colorbox{red!53.296354076385285}{\strut nov.}} \colorbox{red!10.400416016640662}{\strut 7th} \colorbox{red!18.668746749869996}{\strut )} \colorbox{red!26.053042121684882}{\strut nor} \colorbox{red!29.652741665222166}{\strut the} \colorbox{red!27.23175593690415}{\strut iranian} \colorbox{red!29.85497197665684}{\strut nuclear} \colorbox{red!10.007511411567577}{\strut program} \colorbox{red!19.49500202230311}{\strut ?} \fbox{\colorbox{red!59.49615762408274}{\strut something}} \fbox{\colorbox{red!70.34725833477785}{\strut must}} \colorbox{red!25.59657941873232}{\strut be} \colorbox{red!30.536777026636614}{\strut wrong} \colorbox{red!17.27046859652164}{\strut ,} \fbox{\colorbox{red!44.143987981741496}{\strut where}} \colorbox{red!38.04241058531231}{\strut is} \colorbox{red!12.497833246663191}{\strut this} \colorbox{red!17.732709308372335}{\strut guy} \colorbox{red!20.50037557057837}{\strut ?} \fbox{\colorbox{red!62.73184260703762}{\strut internet}} \colorbox{red!33.07332293291732}{\strut chat} \colorbox{red!16.819783902467194}{\strut rooms} \fbox{\colorbox{red!52.533656901831634}{\strut have}} \colorbox{red!38.78199572427342}{\strut noted} \colorbox{red!9.192812156930714}{\strut that} \colorbox{red!7.332293291731673}{\strut \_unk} \colorbox{red!21.57508522563124}{\strut was} \colorbox{red!12.40538510429306}{\strut injured} \colorbox{red!31.85994106430924}{\strut in} \colorbox{red!27.353094123764947}{\strut a} \colorbox{red!9.487490610735534}{\strut fly} \colorbox{red!11.515571733980465}{\strut fishing} \colorbox{red!20.52926561506905}{\strut accident} \colorbox{red!18.125613913445434}{\strut earlier} \fbox{\colorbox{red!45.83694458889467}{\strut this}} \colorbox{red!12.838735771653091}{\strut month} \colorbox{red!18.818974981221487}{\strut .} \fbox{\colorbox{red!49.62154041717225}{\strut details}} \colorbox{red!25.31345698272375}{\strut are} \colorbox{red!22.216444213324095}{\strut unknown} \colorbox{red!26.798405269544105}{\strut .} \fbox{\colorbox{red!95.30825677471543}{\strut can}} \fbox{\colorbox{red!83.37666840006933}{\strut anyone}} \colorbox{red!37.87484832726642}{\strut clear} \colorbox{red!20.21725313456983}{\strut this} \colorbox{red!11.001328942046555}{\strut up} \colorbox{red!23.73606055353325}{\strut ?} \colorbox{red!0.9302594325995273}{\strut <eos>}
}}}
\end{CJK*} \\
\begin{CJK*}{UTF8}{gbsn}
{\setlength{\fboxsep}{0.3pt}\colorbox{white!0}{\parbox{0.99\textwidth}{
\colorbox{red!0.33098882912702265}{\strut <sos>} \colorbox{red!28.291270169631773}{\strut is} \colorbox{red!52.25486139842779}{\strut it} \colorbox{red!54.861398427803046}{\strut okay} \fbox{\colorbox{red!87.91890773686387}{\strut if}} \colorbox{red!37.89822093504343}{\strut i} \colorbox{red!36.18535374431112}{\strut mind} \colorbox{red!9.929664873810495}{\strut \_unk} \fbox{\colorbox{red!64.82416218452627}{\strut with}} \colorbox{red!50.15308233347124}{\strut my} \colorbox{red!40.22341745966072}{\strut goldfish} \colorbox{red!34.59660736450144}{\strut ?} \fbox{\colorbox{red!69.81381878361606}{\strut yes}} \colorbox{red!25.75093090608192}{\strut ,} \colorbox{red!48.2829954489036}{\strut but} \fbox{\colorbox{red!100.0}{\strut be}} \colorbox{red!25.891601158460887}{\strut careful} \colorbox{red!23.475382705833667}{\strut ,} \colorbox{red!49.424906909391794}{\strut you} \colorbox{red!56.06950765411667}{\strut may} \colorbox{red!59.99999999999999}{\strut be} \colorbox{red!49.3256102606537}{\strut overwhelmed} \fbox{\colorbox{red!63.94704178733967}{\strut when}} \colorbox{red!30.22755482002482}{\strut you} \colorbox{red!55.51510136532891}{\strut connect} \colorbox{red!30.128258171286717}{\strut to} \fbox{\colorbox{red!79.16425320645428}{\strut such}} \colorbox{red!41.348779478692585}{\strut a} \colorbox{red!21.985932974762093}{\strut clearly} \colorbox{red!27.9437318990484}{\strut superior} \colorbox{red!20.31443938767066}{\strut intellect} \colorbox{red!19.79313198179561}{\strut ...} \colorbox{red!0.0}{\strut <eos>}}}}
\end{CJK*} \\
\bottomrule
\end{tabular}}
\end{adjustbox}
\caption{Table 2 : \text{Analysis of the Adversary.} For selected SNLI \emph{(upper)} and Yahoo \emph{(lower)} sentences, word dropout scores are from a trained adversary and normalized per sentence. Darker colouring indicates a higher dropout probability. Boxed words are those selected to be dropped.\\ <sos> = start of the sequence token; <eos> = end of the sequence token; \_unk = unknown token.}
\end{table}
\end{document}