\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}{@{}ccccccccccccccccc@{}}
\toprule \multirow{3}{*}{Target} & \multicolumn{2}{c}{\multirow{2}{*}{\begin{tabular}[c]{@{}c@{}}Supervised \\ (Fine-tuned RoBERTa)\end{tabular}}} & \multicolumn{14}{c}{ConDA model with Source as} \\
\cmidrule(l){4-17} & \multicolumn{2}{c}{} & \multicolumn{2}{c|}{C} & \multicolumn{2}{c|}{F19} & \multicolumn{2}{c|}{G2X} & \multicolumn{2}{c|}{G3} & \multicolumn{2}{c|}{GM} & \multicolumn{2}{c|}{X} & \multicolumn{2}{c}{\textit{Average}} \\
\cmidrule(l){2-17} & \multicolumn{1}{c}{\small F1} & \multicolumn{1}{c|}{\small AUROC} & \multicolumn{1}{c}{\small F1} & \multicolumn{1}{c|}{\small AUROC} & \multicolumn{1}{c}{\small F1} & \multicolumn{1}{c|}{\small AUROC} & \multicolumn{1}{c}{\small F1} & \multicolumn{1}{c|}{\small AUROC} & \multicolumn{1}{c}{\small F1} & \multicolumn{1}{c|}{\small AUROC} & \multicolumn{1}{c}{\small F1} & \multicolumn{1}{c|}{\small AUROC} & \multicolumn{1}{c}{\small F1} & \multicolumn{1}{c|}{\small AUROC} & \multicolumn{1}{c}{\small F1} & \multicolumn{1}{c}{\small AUROC} \\
\midrule \multicolumn{1}{c|}{C} & 98 & \multicolumn{1}{c|}{1} & \multicolumn{2}{c|}{--} & 96 & \multicolumn{1}{c|}{0.998} & 81 & \multicolumn{1}{c|}{0.949} & 69 & \multicolumn{1}{c|}{0.783} & \textbf{99} & \multicolumn{1}{c|}{\textbf{1}} & 78 & \multicolumn{1}{c|}{0.991} & 84.6 & 0.9442 \\
\multicolumn{1}{c|}{F19} & 98 & \multicolumn{1}{c|}{0.999} & 73 & \multicolumn{1}{c|}{0.894} & \multicolumn{2}{c|}{--} & \textbf{83} & \multicolumn{1}{c|}{\textbf{0.966}} & 63 & \multicolumn{1}{c|}{0.607} & 27 & \multicolumn{1}{c|}{0.826} & 28 & \multicolumn{1}{c|}{0.766} & 54.8 & 0.8118 \\
\multicolumn{1}{c|}{G2X} & 92 & \multicolumn{1}{c|}{0.998} & 77 & \multicolumn{1}{c|}{0.946} & \textbf{98} & \multicolumn{1}{c|}{\textbf{0.998}} & \multicolumn{2}{c|}{--} & 69 & \multicolumn{1}{c|}{0.902} & 95 & \multicolumn{1}{c|}{0.991} & 94 & \multicolumn{1}{c|}{0.991} & 86.6 & 0.9656 \\
\multicolumn{1}{c|}{G3} & 72 & \multicolumn{1}{c|}{0.988} & 81 & \multicolumn{1}{c|}{0.938} & \textbf{89} & \multicolumn{1}{c|}{0.975} & 82 & \multicolumn{1}{c|}{0.962} & \multicolumn{2}{c|}{--} & 77 & \multicolumn{1}{c|}{\textbf{0.982}} & 87 & \multicolumn{1}{c|}{0.981} & 83.2 & 0.9676 \\
\multicolumn{1}{c|}{GM} & 98 & \multicolumn{1}{c|}{0.996} & \textbf{95} & \multicolumn{1}{c|}{\textbf{0.988}} & 68 & \multicolumn{1}{c|}{0.961} & 92 & \multicolumn{1}{c|}{0.984} & 68 & \multicolumn{1}{c|}{0.819} & \multicolumn{2}{c|}{--} & 44 & \multicolumn{1}{c|}{0.98} & 73.4 & 0.9464 \\
\multicolumn{1}{c|}{X} & 99 & \multicolumn{1}{c|}{1} & 94 & \multicolumn{1}{c|}{0.985} & 95 & \multicolumn{1}{c|}{0.999} & 94 & \multicolumn{1}{c|}{0.988} & 69 & \multicolumn{1}{c|}{0.683} & \textbf{99} & \multicolumn{1}{c|}{\textbf{0.999}} & \multicolumn{2}{c|}{--} & 90.2 & 0.9308 \\
\bottomrule
\end{tabular}
\end{adjustbox}
\caption{Table 3: Performance of our ConDA model on each of the target domains,
with each of the other domains as source. Numbers in \textbf{bold} are the
best performing ConDA models for each target domain, i.e. closest to fully
supervised performance.}
\end{table}
\end{document}