First pass at getting "similarity" training working.