Sample-Efficient Learning And Generalization With Text Representations