Bugfixes for training ArgId model