Google DeepMind: Build Your Own Small Language Model

Start Free Preview

Buying via our links supports this free directory · Affiliate disclosure.
Course facts
  • Payment: Free Preview (Paid Upgrade)
  • Learning style: Self-paced, start anytime
  • Format: Text & Interactive
  • Video access: Streaming Only
DataCamp details
  • Chapters: 6
Available onDataCamp

Course Details
Learning Style

Start Anytime

Level

Intermediate

Study Mode

100% Online

Duration

Short (< 10 Hours)

Languages
Audio Language

English

Outcomes
Certificate

Certificate of Completion

Price & Terms
Pricing Model

Free Preview (Paid Upgrade)

Technical
Content Medium

Text & Interactive

Video Access

Streaming Only

Specification
Access

Subscription

Build and train a small language model in coding labs on probabilities, n-grams and transformers, and frame a community problem with local values.

At a glance
Duration6 hrs
LevelIntermediate
CertificateCertificate of Completion
LanguageEnglish
Taught byGoogle Cloud
AccessSubscription
Add your review
Add to wishlistAdded to wishlistRemoved from wishlist 0

Language models guess the next word by weighing probabilities, and here you build that mechanism yourself, first by hand and then in code, until you train a small language model of your own and judge how well it works. The technical thread runs beside a second one about responsibility: weighing your own values and your community’s, and deciding which local problems machine learning should be used to address.

What You Will Achieve

  • Calculate next-word probabilities and use them to generate text from a small dataset
  • Judge where an n-gram model falls short by comparing its output with a transformer language model
  • Prepare a dataset, train a small language model and evaluate how well it performs
  • Draft a problem statement for a language challenge in your community, guided by a set of local values


Program Overview

Next-Word Probabilities and N-gram Models

Starts with a manual method for predicting the next word, then builds n-gram models on a small dataset and examines where they break down.

  • Probabilities and randomness in next-word prediction
  • Lab: your own probability distribution
  • Tokenizing data with n-grams
  • Limitations of n-gram models

Transformer Anatomy and Training a Small Language Model

Compares transformers with n-grams, opens up the core components of a language model and places training within the machine learning development pipeline.

  • N-gram and transformer comparison lab
  • Core components of a language model
  • Machine learning development pipeline
  • Preparing data, training and evaluating an SLM

Values, Ethics, and a Community Problem Statement

Uses the AlphaFold case study, the trolley problem and the Ubuntu moral system to frame ethical choices, then closes with a community challenge, further reading and a glossary.

  • AlphaFold and how research engineers work
  • Trolley problem through a local ethical lens
  • Ubuntu, other moral values and a local values framework
  • Anticipating benefits and writing a problem statement

Certificate Awarded (Paid)


Job Outlook

These skills apply to machine learning research and engineering work, and to community projects that weigh whether a language model fits a local problem and how to use it responsibly.


Our take

Good for: Learners who want to see how a language model is built through coding labs on probabilities, n-grams and transformers, while thinking through the ethics of where it gets used.

Keep in mind: Reflection on values, ethics and your own community runs through most modules beside the coding labs, so expect reflection activities as well as model building.

Bottom line: Coding labs on next-word probabilities, n-grams and transformers end in a small language model you train yourself, set beside ethics lessons on the trolley problem and Ubuntu.

Frequently Asked Questions

What is the AlphaFold case study used for?

It shows how researchers approach a real-world problem, with AlphaFold as an example of what machine learning can do, and it leads into the lessons on values and ethical decision-making that follow.

How does the Ubuntu moral system fit into the course?

It is part of the thread on values. You look at the core aspects of Ubuntu, compare them with moral values common in Europe and North America, and then design a values framework for guiding language model development in your local community.

What happens in the final challenge?

You consider the benefits transformer language models could bring to different sectors in your local context, study what makes a good problem statement, and then write your own for a language model challenge you have identified in your community.

Are there knowledge checks between the labs?

Each main module ends with a short knowledge check of two questions. The hands-on labs and the reflection activities also ask you to apply each idea, such as building an n-gram model or comparing it with a transformer.

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0

No reviews yet. Be the first to review this course.

There are no reviews yet.

Write your review

Reviews can only be posted by registered learners. Log in, then you will return here to post.

×
Report this page
Google DeepMind: Build Your Own Small Language Model
Google DeepMind: Build Your Own Small Language Model
LiveTalent
Logo