NLP, Python, Transformers, Data Science, Linear Regression.
Transformers_Linear_Regression.ipynb Take-aways The Hugging Face API supports linear regression via the ForSequenceClassification interface by setting the num_labels = 1. The problem_type will automatically be set to ‘regression’. Since the linear regression is achieved through the classification