New: CodeSierra Studio turns your policies and SOPs into narrated video courses. Join the private beta →
HomeSolutions OverviewAll solutionsSalesforce ImplementationSalesforce ConsultingSalesforce DevelopmentSalesforce IntegrationSalesforce Managed ServicesAgentforce ImplementationSalesforce CustomizationSalesforce Data MigrationCPQ & Revenue CloudReports & DashboardsExperience Cloud PortalsHire a Salesforce DeveloperIndustries We ServeAll industriesHealthcareFinancial ServicesManufacturingRetail & E-commerceReal EstateLogisticsNon-ProfitEducationMoreCodeSierra StudioCase StudiesPricingCoursesBlogCareersAbout UsGet Started
Paid courseNewBeginner

Generative AI & Machine Learning with Python, LLMs and RAG

For beginners: Python from zero, scikit-learn, PyTorch and AI agents, then build and deploy a real support assistant.

4.8(3 ratings)105 learners18.5 hours on-demand videoUpdated 11/2026
View on UdemyAll courses
Generative AI & Machine Learning with Python, LLMs and RAG — preview poster
Quick answer

What does the Generative AI & Machine Learning with Python course cover?

Generative AI & Machine Learning with Python, LLMs and RAG is a beginner Udemy course of about 18.5 hours in 10 modules. It starts with Python from zero, moves through scikit-learn and PyTorch to LLM APIs, RAG, tool calling and guardrails, and ends with a capstone: a support assistant you build, test and deploy. Everything runs in Google Colab; from Module 6 the OpenAI API needs a few US dollars of credit.

Last reviewed November 2026
Outcomes

What you'll learn

Write Python for data work from scratch, with NumPy, pandas and clear charts, all in Google Colab.
Train, evaluate and tune machine learning models with scikit-learn, including a full customer-churn pipeline.
Spot and fix what breaks ML projects: data leakage, imbalanced classes and misleading accuracy.
Build neural networks in PyTorch and explain how transformers and large language models work.
Write reliable prompts and call LLMs from Python through an API, including structured JSON outputs.
Build RAG over your own documents, add tool calling, and guard an AI app against prompt injection.
Evaluate AI apps with test cases, measure model bias, and explain predictions with SHAP.
Build a Gradio app that combines prediction and generation, and deploy it online.
Curriculum

Course content

10 modules · 157 lectures · about 18.5 hours, grouped here by theme

Predictive AI
Python from scratchpandas and chartsscikit-learn modelsData leakage and imbalanced classesA churn model on 7,043 telecom customers
Deep learning and generative AI
Neural networks in PyTorchHow transformers and LLMs workWhy models hallucinatePrompts and structured outputs via API
AI applications
RAG over documentsTool callingPrompt-injection guardrailsEvaluation casesGradio interface
Responsible AI
Measuring biasExplaining predictions with SHAPData that should never leave your machine
Capstone
Design, build and test a retention and support assistantDeploy to Hugging Face Spaces or a free public link
About

About this course

This course goes past the demo. You build something complete: a retention and support assistant for NimbusTel, a fictional telecom company. A support agent types a customer ID; the assistant looks up the customer, predicts their churn risk with a machine learning model, searches the company's policy documents and drafts a retention offer that quotes those policies and passes the offer rules. The agent reviews it, then approves and saves it.

To get there you learn both halves of modern AI and how to join them: predictive models with pandas and scikit-learn, then neural networks in PyTorch, transformers, LLM APIs, retrieval-augmented generation, tool calling and guardrails.

Short animated lectures explain each idea; hands-on lectures build notebooks cell by cell with real outputs. Every hands-on lecture ends with a practice exercise and every module ends with a quiz.

The capstone ties it together: you design, build, test and deploy the assistant and finish with a portfolio project you can explain in an interview.

This course contains the use of artificial intelligence. Lectures are narrated by an AI voice, and AI tools helped produce the scripts, animations, quizzes and the promo video. The CodeSierra team curated the curriculum, and every notebook was run and tested.

Who it's for

  • Developers who want to add machine learning and LLM features to real applications.
  • IT professionals moving towards AI engineering work.
  • Data and business analysts who want to go from spreadsheets to predictive models and AI assistants.
  • Students who want an end-to-end AI project for their portfolio.
  • Career changers with no ML background who learn best by building.

Requirements

  • A computer with an internet connection and a modern browser. Nothing to install: everything runs in Google Colab.
  • A free Google account (for Google Colab and Google Drive).
  • No machine learning or Python experience. Python is taught from scratch.
  • From Module 6, an OpenAI API account with a few US dollars of prepaid credit. One lecture shows how to run chat calls on an open model.
  • Optional: a free Hugging Face account to deploy your app on Hugging Face Spaces.
Answers

Questions about this course

Rolling this out to a team?

Tell us your headcount and we will help you plan the rollout and track completion.

Talk about team training

Need the Salesforce work as well as the training?

Get a scoped quoteSee all solutions