Add crf sgd training.