What it does
This repository is a collection of hands-on demos for Transformers, a popular code library from Hugging Face for using AI models. Each demo is a notebook, a document that mixes explanations with code you can run step by step.
The demos cover a wide range of tasks: sorting images into categories, spotting objects in photos, estimating depth, reading scanned documents, classifying sounds, and adapting language models like BERT to your own data.
Most notebooks can be opened in Google Colab, a free online notebook service, so you can try them without installing anything. The README points complete beginners to Hugging Face's free course first.
Who it's for
Students and developers learning to use modern AI models in code.
Can I use it without coding?
Developers only. The notebooks run in the browser, but they are code tutorials and assume some Python knowledge. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- Runs on
- Web browser
- Computer
- An ordinary computer is fine
- API key
- Not needed
Try it
- Pick a model or task from the list in the README.
- Open its notebook in Google Colab and run the steps in order.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- License (MIT): Very permissive: free to use, change and share, including for business.
- More on staying safe