
Learn to build a local, enterprise-grade topic discovery engine that clusters documents by topic, labels them in plain English, and answers questions grounded in the documents themselves, running entirely locally.
Install Ollama in Google Colab to run llama 3.2 locally without API keys or credits, start the server, and chat with the model from Python using the Ollama package.
Install three key packages—per topic, datasets, and fasttext with its wheel and numpy 2 patch—to enable BERTopic-based topic modeling, data loading from Hugging Face, and language filtering for English text.
Implement LDA with Jensen on a New York Times corpus by cleaning text (lowercase, punctuation removal, stop words, tokenization, lemmatization), build a dictionary and document-term matrix, and discover topics.
Explore latent semantic analysis (LSA) and its algebraic approach to topic modeling, compare it with LDA, and determine the optimal number of topics using coherence scores.
Compare a purpose-built sentence transformer with RoBERTa for encoding sentence meaning. Mean pooling in RoBERTa blurs distinctions, while sentence transformers align with human judgments on SDS.
Apply singular value decomposition to sentence embeddings, compare linear SVD to nonlinear maps, and visualize semantic clustering with a locally hosted llama embedding model in 2D.
Apply k-means to 2D embeddings from UMAP to discover topics, compare default, granular, and fast configurations, and contrast centroid-based clustering with density-based approaches like HDBSCAN.
Learn to implement BERTopic for enterprise topic discovery by configuring per-topic with embedding model, a dimensionality reduction model, HDBSCAN clustering, and verbose logging, plus visualizations and semantic search.
Apply a reanker to refine topic labels with a semantic representation layer, retrain from scratch or update an existing model, and use MMR for diverse, meaningful keywords.
Build a retrieval augmented generation system with topic-based chunking guided by semantic structure, using sentence embeddings and vector stores. Leverage GPU acceleration and a device-agnostic design to handle external documents.
Build a topic-based chunking pipeline with per-topic chunking, embeddings, and a vector store, then save and load the index for no reprocessing and fast retrieval in a rag-based query flow.
Explore bonus feature after building vector store by inspecting topics with get topic model info and visualizing multilingual clusters on a 2d plane, showing IDs, sentence counts, and keywords.
Leverage LLM as a judge to evaluate open-ended answers with three independent evaluators for faithfulness, relevancy, and correctness, using a separate judge model and a vector-store based retrieval workflow.
The world of Natural Language Processing (NLP) changed overnight with the rise of Large Language Models (LLMs). But for real-world engineering, simply sending data to a cloud API isn't enough. Modern industries demand privacy, cost-efficiency, and specialized accuracy.
In this project-based masterclass, you will learn to navigate the "Best of Both Worlds." You will master the transition from traditional NLP foundations to state-of-the-art Generative AI architectures. We don't just chase the hype; we build robust, hybrid systems designed for the 2026 tech landscape.
What makes this course different?
Most courses teach you how to use AI as a black box. This course pulls back the curtain. You will learn how to:
Own Your Models: Run Llama 3.2 and other state-of-the-art models locally using Ollama, ensuring 100% data privacy.
Bridge the Gap: Combine the reliability of traditional statistical NLP with the reasoning power of modern Transformers.
What You Will Build:
Through hands-on coding sessions, we will develop:
A Private Document Intelligence System using local LLMs.
An Automated Topic Discovery Engine using BERTopic.
Is this for you?
If you are a Developer, Data Scientist, or Tech Lead who wants to stay ahead of the curve by mastering Local AI ecosystem and Hybrid Architectures, this is your roadmap. We move fast, we code clean, and we focus on what actually works in production.