Training > AI/Machine Learning > PyTorch in Practice: An Applications-First Approach (LFD473)
BERJAYA BERJAYA INSTRUCTOR-LED COURSE

PyTorch in Practice: An Applications-First Approach (LFD473)

Start prototyping AI applications with PyTorch—leverage powerful pretrained models in Computer Vision and Natural Language Processing to tackle a wide range of practical, real-world challenges using one of the most popular deep learning frameworks.

BERJAYA
Who Is It For

This course is designed for machine learning practitioners who want to add deep learning models in PyTorch - especially pretraining models for Computer Vision and Natural Language Processing - to quickly protype and deploy applications.
read less read more
BERJAYA
What You’ll Learn

The course begins with an overview of PyTorch, including model classes, datasets, data loaders and the training loop. Next the role and power of transfer learning is addressed along with how to use it with pretrained models. Practical lab exercises cover multiple topics including: image classification, object detection, sentiment analysis, text classification, and text generation/completion. Learners also will use their data to fine-tune existing models and leverage third-party APIs.
read less read more
BERJAYA
What It Prepares You For

This course provides hands-on experience to train and fine-tune deep learning models using the rich PyTorch and Hugging Face ecosystems of pre-trained models for Computer Vision and Natural Language Processing tasks. Additionally, you will be able to deploy prototype applications using TorchServe, allowing you to quickly validate and demo your application.
read less read more
Course Outline
Expand All
Collapse All
BERJAYA Introduction
- The Linux Foundation
- The Linux Foundation Training
- The Linux Foundation Certifications
- The Linux Foundation Digital Badges
- The Linux Foundation Subscriptions
- Laboratory Exercises, Solutions and Resources
- Things Change in Linux and Open Source Projects
- Platform Details
BERJAYA PyTorch, Datasets, and Models
- What is PyTorch
- The PyTorch Ecosystem
- Supervised vs Unsupervised Learning
- Software Development vs Machine and Deep Learning
- ``Hello Model"
- Naming Is Hard
- Setup and Environment
BERJAYA Building Your First Dataset
- Tensors, Devices, and CUDA
- Datasets
- Dataloaders
- Datapipes
- Lab 1A: Non-Linear Regression
BERJAYA Training Your First Model
- Recap
- Models
- Loss Functions
- Gradients and Autograd
- Optimizers
- The Raw Training Loop
- Evaluation
- Saving and Loading Models
- NonLinearities
- Lab 1B: Non-Linear Regression
BERJAYA Building Your First Hugging Face Dataset
- A New Dataset
- Lab 2: Price Prediction
- Tour of High Level Libraries
BERJAYA Transfer Learning and Pretrained Models
- What is Transfer Learning?
- Torch Hub
- Computer Vision
- Dropout
- ImageFolder Dataset
- Lab 3: Classifying Images
BERJAYA Pretrained Models for Computer Vision
- PyTorch Image Models
- HuggingFace
BERJAYA Natural Language Processing
- Natural Language Processing
- One Logit or Two Logits?
- Cross-Entropy Loss
- TensorBoard
- Lab 4: Sentiment Analysis
- Hugging Face Pipelines
- Generative Models
BERJAYA Image Classification with Torchvision
- Torchvision
- Pretrained Models as Feature Extractors
BERJAYA Fine-Tuning Pretrained Models for Computer Vision
- Fine Tuning Pretained Models
- Zero-shot Image Classification
BERJAYA Serving Models with TorchServe
- Archiving and Serving Models
- TorchServe
BERJAYA Datasets and Transformations for Object Detection and Image Segmentation
- Object Detection, Image Segmentation, and Keypoint Detection
- Bounding Boxes
- Torchvision Operators
- Transforms (V2)
- Custom Dataset for Object Detection
- ab 5A: Fine-Tuning Object Detection Models
BERJAYA Models for Object Detection and Image Segmentation
- Models
- Lab 5B: Fine-Tuning Object Detection Models
BERJAYA Models for Object Detection Evaluation
- Recap
- Making Predictions
- Evaluation
- YOLO
- HuggingFace Pipelines for Object Detection
- Zero-Shot Object Detection
BERJAYA Word Embeddings and Text Classification
- AG News Dataset
- Tokenization
- Embeddings
- Vector Databases
- Zero-Shot Text Classification
- Chunking Strategies
- Lab 6: Text Classification using Embeddings
BERJAYA Contextual Word Embeddings with Transformers
- Attention is All You Need
- Transformer
- An Encoder-Based Model for Classification
- Contextual Embeddings
BERJAYA Huggingface Pipelines for NLP Tasks
- HuggingFace Pipelines
- Lab 7: Document Q&A
BERJAYA Question and Answer, Summarization, and LLMs
- EDGAR Dataset
- Hallucinations
- Asymmetric Semantic Search
- ROUGE Score
- Decoder-Based Models
- Large Language Models (LLMs)
BERJAYA Closing and Evaluation Survey
- Evaluation Survey

Prerequisites
While there are no formal prerequisites, students should have some knowledge of Python (notions of object-oriented programming), PyData Stack (Numpy, Pandas, Matplotlib, Scikit-Learn), and Machine Learning concepts (supervised learning, loss functions, train-validation-test split, evaluation metrics).
Reviews
Nov 2025
The way the course showed, in detail, what was going on under the hood at each point helped me, step by step, build up my understanding of the processes, and how they were working. I think this will make me much better at applying what I learned here (and debugging when things go wrong). I won't have to treat things as black boxes, as I have in the past.
Nov 2025
The first principles, which start from elemental approach, to each of the domains e.g. computer vision, NLP etc.
Nov 2025
This was an excellent course, really well organized and instructed. It left me excited to see how I could use what I've learned - and confident that I have a good foundation on which to build. Thanks!
Mar 2025
I liked the NLP segment. The use of BERT transformers, and the exposure to a mix of sentence transformers was very interesting, and kept me engaged during the training.
Mar 2025
The trainer's skill and content quality. I was hoping for a very practical, get your hands dirty training to actually build and use models. The content on using, tuning, and modifying existing models was great.
Dec 2023
The instructor was friendly and well prepared.
Nov 2023
I enjoyed being introduced to different PyTorch concepts.
Nov 2023
The practical lab examples that end in working models.