Free and nearly free training