Hugging Face

learn hugging face transformers (transfer learning)

based on Hugging Face Transformers Package – What Is It and How To Use It - KDnuggets

Transformers is an opinionated library built for:

  • NLP researchers and educators seeking to use/study/extend large-scale transformers models
  • hands-on practitioners who want to fine-tune those models and/or serve them in production
  • engineers who just want to download a pretrained model and use it to solve a given NLP task.


pipenv install
pipenv install transformers
pipenv install tensorflow

# note first run will download the [pipeline] model (potentially time consuming) on first run
pipenv run python