\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}{@{}cccccc@{}}
\toprule \multirow{2}{*}{Task} & \multirow{2}{*}{\begin{tabular}[c]{@{}c@{}}Source\\ Only\end{tabular}} & \multirow{2}{*}{ConDA} & \multirow{2}{*}{$\Delta$F1} & \multirow{2}{*}{\begin{tabular}[c]{@{}c@{}}Source Only\\ Avg.\end{tabular}} & \multirow{2}{*}{\begin{tabular}[c]{@{}c@{}}ConDA\\ Avg.\end{tabular}} \\
& & & & & \\
\midrule F19 $\rightarrow$ C & 93 & 96 & 3 & \multirow{5}{*}{57.2} & \multirow{5}{*}{\textbf{84.6}} \\
G2X $\rightarrow$ C & 61 & 81 & 20 & & \\
G3 $\rightarrow$ C & 61 & 69 & 8 & & \\
GM $\rightarrow$ C & 22 & 99 & 77 & & \\
X $\rightarrow$ C & 49 & 78 & 29 & & \\
\midrule C $\rightarrow$ F19 & 40 & 73 & 33 & \multirow{5}{*}{41.2} & \multirow{5}{*}{\textbf{54.8}} \\
G2X $\rightarrow$ F19 & 83 & 83 & 0 & & \\
G3 $\rightarrow$ F19 & 62 & 63 & 1 & & \\
GM $\rightarrow$ F19 & 4 & 27 & 23 & & \\
X $\rightarrow$ F19 & 17 & 28 & 11 & & \\
\midrule C $\rightarrow$ G2X & 77 & 77 & 0 & \multirow{5}{*}{74.4} & \multirow{5}{*}{\textbf{86.6}} \\
F19 $\rightarrow$ G2X & 90 & 98 & 8 & & \\
G3 $\rightarrow$ G2X & 73 & 69 & -4 & & \\
GM $\rightarrow$ G2X & 81 & 95 & 14 & & \\
X $\rightarrow$ G2X & 51 & 94 & 43 & & \\
\midrule C $\rightarrow$ G3 & 60 & 81 & 21 & \multirow{5}{*}{64.8} & \multirow{5}{*}{\textbf{83.2}} \\
F19 $\rightarrow$ G3 & 48 & 89 & 41 & & \\
G2X $\rightarrow$ G3 & 87 & 82 & -5 & & \\
GM $\rightarrow$ G3 & 74 & 77 & 3 & & \\
X $\rightarrow$ G3 & 55 & 87 & 32 & & \\
\midrule C $\rightarrow$ GM & 26 & 95 & 69 & \multirow{5}{*}{37.6} & \multirow{5}{*}{\textbf{73.4}} \\
F19 $\rightarrow$ GM & 10 & 68 & 58 & & \\
G2X $\rightarrow$ GM & 66 & 92 & 26 & & \\
G3 $\rightarrow$ GM & 67 & 68 & 1 & & \\
X $\rightarrow$ GM & 19 & 44 & 25 & & \\
\midrule C $\rightarrow$ X & 81 & 94 & 13 & \multirow{5}{*}{81} & \multirow{5}{*}{\textbf{90.2}} \\
F19 $\rightarrow$ X & 77 & 95 & 18 & & \\
G2X $\rightarrow$ X & 87 & 94 & 7 & & \\
G3 $\rightarrow$ X & 73 & 69 & -4 & & \\
GM $\rightarrow$ X & 87 & 99 & 12 & & \\
\bottomrule
\end{tabular}%
\end{adjustbox}
\caption{Table 2: Performance of \textbf{ConDA} on unlabeled target domains.
Source-only model for each task S $\rightarrow$ T refers to zero-shot evaluation
of a model trained on S and evaluated on test set of T. $\Delta$F1 is increase
(or decrease, in a few cases) in F1 scores of the \textbf{ConDA} model over the
source-only model. Avg. scores in \textbf{bold} indicate where ConDA out-performs
the source-only model.}
\end{table}
\end{document}