ML for Games Course documentation

Welcome to the 🤗 Machine Learning for Games Course

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Welcome to the 🤗 Machine Learning for Games Course


Welcome to the course that will teach you the most fascinating topic in game development: how to use powerful AI tools and models to create unique game experiences.

New AI models are revolutionizing the Game Industry in two impactful ways:

  • On how we make games:

    • Generate textures using AI
    • Using AI voice actors for the voices.
  • How we create gameplay:

    • Crafting smart Non-Playable Characters (NPCs) using large language models.

This course will teach you:

  • How to integrate AI models for innovative gameplay, featuring intelligent NPCs.
  • How to use AI tools to help your game development pipeline.

In this introduction unit, you’ll:

  • Learn more about the course content and the syllabus.
  • Learn the course requirements.
  • Create your Hugging Face Account (it’s free)
  • Sign up to our Discord server to chat with your classmates and us (the Hugging Face team).

Let’s get started!

What to expect?

In this course, you will:

  • 🤖 Learn to use powerful chat models to build intelligent NPC.
  • 🪄 Run these powerful AI models locally or with cloud APIs.
  • 🎨 Use AI tools to accelerate your game development: generate voices with text-to-speech models using image generation tools…
  • 🎮 Work on exciting game demos.
  • 👩‍🎨 Build Your Own Game Demo.

And more!

At the end of this course, you’ll get a solid foundation on using AI models in your games and AI tools in your game development.

Remember to sign up for the course (we are collecting your email to be able to send you the links when each Unit is published and give you information about the challenges and updates).

Sign up 👉 here

For now, all our content uses the Unity Game Engine. In the future, we will add content about Unreal Engine, Godot, and more.

Naturally, for the demo, you can use any Game Engine you want (or no game engine), but we advise you to use Unity.

But… I don’t know how to make games!

This course is not an introduction to game development. You should have some skills in Unity to follow this course.

If it’s not the case. Don’t worry, that’s the perfect time to start! To start making games with Unity, check out this fantastic course: Create with Code, where you’ll learn to make five different games.

With this create with code free course, you’ll get everything you need to be able to follow the Machine Learning for Games Course.

Create with code course 👉


In addition, you can watch this excellent introduction to Unity by GMTK (Game Maker’s Toolkit)

Are we going to learn to train/fine-tune Transformer models and other AI models?

We don’t plan to have a unit on this for now. But the course will be improved with your feedback.

We already have a lot of free courses if you want to go deeper into:

Your Goal during this course 🏆: Making Your Own Game Demo

During this course, you will work on some demos we’ve made. But the most exciting part is that during the whole course you will also work on your demo.

You’ll build a game demo using either:

  • AI tools to help you build the game (for instance, texture generation, AI voice actors…).

  • And or using an AI in the game as gameplay or for the NPC.