committing tfIdf scores as well as training data set