NLP with Transformers

Understand attention, work with BERT, and fine tune transformers for text classification.

IntermediateCertificate

New courseUpdated October 2026English

Part of Machine Learning Engineer · Course 11 of 12

USD 8

Pay once for 3 months, or get every course with Yiga Plus from USD 10 a month.

Buy this course · USD 8
  • Pay with MTN MoMo, Airtel Money, M-Pesa or card
  • Learn on phone or laptop
  • Certificate of completion
  • Data saver for low data: words without sound, light pictures
Training 5 or more people? Get Yiga for Business

What you'll learn

  • Explain how attention helps models use context.
  • Describe BERT's role in understanding text.
  • Prepare and tokenize text for a transformer model.
  • Fine tune a pretrained model for text classification.
  • Evaluate classification results on held out data.
  • Identify pitfalls such as data leakage and overfitting.
  • Apply transformer concepts in a graded NLP project.

Skills you'll gain

This course includes

  • 16h 40m of video
  • 20 lessons
  • 4 quizzes
  • 1 project
  • AI tutor
  • Certificate of completion
  • Learn on your phone or computer

Curriculum

4 modules · 25 lessons · 16h 40m total
  • Overview and set up40m
  • Core concepts40m
  • Worked example40m
  • Hands on practice40m
  • Common pitfalls40m
  • Module quiz: Attention20m

Projects

Graded project: NLP with Transformers

Apply everything from NLP with Transformers in one graded, portfolio ready build.

Requirements

  • A laptop or desktop with internet access for lessons and coding work.
  • Working knowledge of Python, including functions and basic data handling.
  • Familiarity with machine learning basics, including training, validation, and classification.
  • A Python environment suitable for transformer experiments; check the set up lessons before arranging compute resources.

Description

Explore how transformer models process text, with a focus on attention, BERT, fine tuning, and text classification. This intermediate course connects core ideas to practical NLP tasks, such as sorting customer messages by topic or labelling feedback by sentiment. Each topic includes an overview and set up, core concepts, a worked example, hands on practice, common pitfalls, and a module quiz. Work through how attention uses context, how BERT represents text, and how fine tuning adapts a pretrained model to a labelled dataset. Finish with the graded NLP with Transformers project. Throughout the course, consider how text preparation, label quality, and evaluation choices affect results, especially when working with local language varieties or multilingual text.

Who this course is for

  • Python developers in Uganda, Kenya, Tanzania, Rwanda, or Nigeria adding text processing features to applications.
  • Data analysts moving from basic text analysis to machine learning models.
  • Computer science or data science students with introductory machine learning experience.
  • Junior machine learning practitioners working with labelled text datasets.

Career outcomes

Frequently asked questions

Will I receive a certificate?

Yes. NLP with Transformers ends with a Yiga certificate of completion. Finish every lesson, and it appears under Certificates with a link anyone can use to check it is real.

How long will I have access to the course?

Access length depends on the enrolment terms. Check the access information before enrolling, or contact Yiga AI support for clarification.

Can I study offline or with limited data?

Check whether Yiga AI offers downloadable materials or low data options for this course. Coding set up may require downloading model files, and online activities may need an internet connection.

Can I pay with MTN MoMo, Airtel Money, M-Pesa, or a card?

Check the checkout page for payment methods available in your country. Availability of MTN MoMo, Airtel Money, M-Pesa, or card payments may vary; contact support if your preferred method is not listed.

How do I request a refund?

Contact Yiga AI support with your enrolment and payment details to ask about a refund.

Model Deployment & Serving cover illustration

Model Deployment & Serving

Package models with Docker, serve them with FastAPI, and choose between batch jobs and real time endpoints.

Yiga AI

CourseNew
16.7 total hours20 lessonsIntermediate
MLOps Fundamentals cover illustration

MLOps Fundamentals

Track ML experiments, build pipelines, and manage versioning and CI/CD for machine learning.

Yiga AI

CourseNew
16.7 total hours20 lessonsIntermediate
Computer Vision cover illustration

Computer Vision

Build and evaluate image classifiers and object detectors using transfer learning and augmentation.

Yiga AI

CourseNew
16.8 total hours21 lessonsIntermediate
Edge & Mobile ML cover illustration

Edge & Mobile ML

Deploy compact ML models with TensorFlow Lite, quantisation and low bandwidth mobile design.

Yiga AI

CourseNew
14 total hours16 lessonsAdvanced

NLP with Transformers

USD 8