/nlp-in-python-llm-demo

Getting started with LLMs using Hugging Face Transformers in Python

Primary LanguageJupyter Notebook

Practical NLP with LLMs in Python Demo

This demo was originally created for Grainger's Tech Conference 2025.

It highlights three examples from my 12-hour NLP in Python course: https://www.udemy.com/course/nlp-in-python-2025/

Prerequisites

To run the code, you must first install the transformers library using either pip or conda:

  • pip install transformers
  • conda install transformers

Summary of Demo

  1. Data Prep
  2. Sentiment Analysis
  3. Zero-Shot Classification
  4. Document Similarity