
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.
Explore word embeddings and compare static models like glove and word vec with contextual models such as Bert and Nomic, showing how context shapes word vectors and semantic reasoning.
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 UMAP to compress high-dimensional transformer embeddings into two-dimensional space, enabling topic discovery in enterprise text with a 384-d sentence transformer and cosine distance.
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.
Explore how HDBSCAN uses hierarchical density-based clustering with noise to reveal topics from five-dimensional UMAP embeddings, with configurable minimum cluster size and minimum samples to tune subtopics and broad topics.
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.
Generate sentence level summaries for each topic using a custom T5-based text generation pipeline, with per topic document placeholders and human readable descriptions.
Leverage a local LLM to read documents and keywords and generate real topic labels, using a custom representation and structured prompts, with the Llama model, no external API keys required.
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.
Implement an evaluation framework using MRO as judge across faithfulness, answer relevancy, and correctness, and generate an evaluation report with scores, a summary bar chart, and a diagnostic failure analysis.
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.