NLP and LLMs - Pipelines
About
Define what an NLP Pipeline is, how to use the Hugging Face Pipeline API, and explain the framework for selecting a pre-trained model. Also construct pipeline for sentiment analysis.
Learning Objectives
You will be able to:
- Define an NLP pipeline and Hugging Face Pipeline API.
- Explain the framework for selecting a pre-trained model.
- Construct a pipeline for sentiment analysis using encoder models and compare performance across models.
Content
| Topic | About |
|---|---|
| Full Lesson Deck | Intro to Hugging Face pipelines |
| encoder-sentiment-pipeline | Encoder Sentiment Analysis: construct pipeline for sentiment analysis using encoder models and compare performance across models |
Prerequisites
- Write and run Python code in a Jupyter notebook.
- Create basic Python functions.
- Import and use
pandasandnumpy. - Understand, run, and evaluate classification models and metrics in
scikit-learn.
References
📖 Reference Materials
Important note
Please ignore the _layouts folder and the config.yml file in the root of this repo. They are needed to make sure the repo renders well; please don’t change them or delete them and your repo will work fine :)