Mindket

Unit 2.1 smolagents Code Quiz

Newversion 1 · updated

Overview

A coding quiz app from the Hugging Face agents course that serves smolagents questions from a dataset. For learners checking what they know and teachers who want a small quiz app to adapt.

Unit 2.1 smolagents Code Quiz is a kit in the Education category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • A browser, if you only use the Space online
  • Python and pip, if you run a copy yourself
Runs in
  • A web browser, on the Space's own page at Hugging Face
  • A copy on your own computer, using Python on Windows, macOS or Linux
Start with
pip install -U huggingface_hub
hf download agents-course/unit2_smolagents_quiz --repo-type space --local-dir unit2_smolagents_quiz
cd unit2_smolagents_quiz

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

Unit 2.1 smolagents Code Quiz is a coding quiz app from the Hugging Face agents course, built on the smolagents framework. It serves quiz questions that come from rows of a dataset, agents-course/smolagents-quiz-data. The record also names Qwen/Qwen2.5-Coder-32B-Instruct.

Who it suits

Learners working through the agents course who want to check what they know about smolagents, and teachers who want a small quiz app to adapt.

IndustryWho uses itHow they use itExample
EducationCourse studentsTest their grasp of smolagents codeAnswering a quiz question after finishing the unit
TeachingInstructorsStudy a quiz app that reads questions from a datasetReading app.py and example.json
SoftwareDevelopersAdapt the app for their own quiz dataPointing it at a different dataset

You can skip it if you are not learning smolagents, since the questions are about that framework.

Where to use it

  • A web browser, on the Space's own page at Hugging Face
  • A copy on your own computer, using Python on Windows, macOS or Linux
Use caseWhoWhat they get back
Take the quizLearnersCoding questions to answer about smolagents
Reuse the appInstructors and developersA quiz built on dataset rows, with an example data file

How to set it up

  • A browser, if you only use the Space online
  • Python and pip, if you run a copy yourself
  1. Open the Space's page on Hugging Face to use it online. Nothing needs installing.
  2. For a local copy, install the huggingface_hub package and download the Space's files.
  3. Move into the new folder, then install Gradio and the packages in requirements.txt.
  4. Start the app with python.
pip install -U huggingface_hub
hf download agents-course/unit2_smolagents_quiz --repo-type space --local-dir unit2_smolagents_quiz
cd unit2_smolagents_quiz
pip install gradio==5.15.0
pip install -r requirements.txt

How to use it

Open the Space's page, read each question and answer it with the controls the page shows. On your own computer, start the app first and open the page it serves.

python app.py
ToolWhat it does
python app.pyStarts the quiz on your own computer
push_data.ipynbA notebook in the repository for loading quiz data

Example

You open the quiz and read a question about smolagents code. You answer it on the page and see whether you got it right.

For newcomers and experts

If you are new to this, open the Space and answer a question or two. It is a quick way to find out what you have not yet learned.

For experts, the app reads its questions from a Hugging Face dataset, and example.json shows the row shape. The repository uses uv with a lock file and pins Gradio 5.15.0. It runs on Hugging Face's basic CPU hardware.

  1. Open the quiz
  2. A question comes from the dataset
  3. You answer it on the page
  4. The app shows your result

Good to know

  • Built with Gradio 5.15.0, and the main file is app.py
  • License: apache-2
  • Cost to run: none named
  • Data it reaches: the quiz dataset it names
  • The source gives only a short description, so check the page for how the quiz works

README and files

README

Unit 2.1 smolagents Code Quiz

A coding quiz app from the Hugging Face agents course that serves smolagents questions from a dataset. For learners checking what they know and teachers who want a small quiz app to adapt.

Made by agents-course on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: Unit 2.1 smolagents Code Quiz is a coding quiz app from the Hugging Face agents course, built on the smolagents framework. It serves quiz questions that come from rows of a dataset, agents-course/smolagents-quiz-data. The record also names Qwen/Qwen2.5-Coder-32B-Instruct.

Who it suits: Learners working through the agents course who want to check what they know about smolagents, and teachers who want a small quiz app to adapt.

Industry | Who uses it | How they use it | Example
Education | Course students | Test their grasp of smolagents code | Answering a quiz question after finishing the unit
Teaching | Instructors | Study a quiz app that reads questions from a dataset | Reading app.py and example.json
Software | Developers | Adapt the app for their own quiz data | Pointing it at a different dataset

You can skip it if you are not learning smolagents, since the questions are about that framework.

Where to use it:

  • A web browser, on the Space's own page at Hugging Face
  • A copy on your own computer, using Python on Windows, macOS or Linux
Use case | Who | What they get back
Take the quiz | Learners | Coding questions to answer about smolagents
Reuse the app | Instructors and developers | A quiz built on dataset rows, with an example data file

How to set it up:

  • A browser, if you only use the Space online
  • Python and pip, if you run a copy yourself
  1. Open the Space's page on Hugging Face to use it online. Nothing needs installing.
  2. For a local copy, install the huggingface_hub package and download the Space's files.
  3. Move into the new folder, then install Gradio and the packages in requirements.txt.
  4. Start the app with python.
pip install -U huggingface_hub
hf download agents-course/unit2_smolagents_quiz --repo-type space --local-dir unit2_smolagents_quiz
cd unit2_smolagents_quiz
pip install gradio==5.15.0
pip install -r requirements.txt

How to use it: Open the Space's page, read each question and answer it with the controls the page shows. On your own computer, start the app first and open the page it serves.

python app.py
Tool | What it does
python app.py | Starts the quiz on your own computer
push_data.ipynb | A notebook in the repository for loading quiz data

Example: You open the quiz and read a question about smolagents code. You answer it on the page and see whether you got it right.

For newcomers and experts: If you are new to this, open the Space and answer a question or two. It is a quick way to find out what you have not yet learned.

For experts, the app reads its questions from a Hugging Face dataset, and example.json shows the row shape. The repository uses uv with a lock file and pins Gradio 5.15.0. It runs on Hugging Face's basic CPU hardware.

Open the quiz
A question comes from the dataset
You answer it on the page
The app shows your result

Good to know:

  • Built with Gradio 5.15.0, and the main file is app.py
  • License: apache-2
  • Cost to run: none named
  • Data it reaches: the quiz dataset it names
  • The source gives only a short description, so check the page for how the quiz works

On Hugging Face, 13 November 2026

  • Likes: 63
  • Built with: gradio
  • License: apache-2.0

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  4 KB

1 file, 4 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
Unit 2.1 smolagents Code Quiz This page63gradioapache-2.0
Unit 1 Quiz - AI Agent FundementalsShares gradio360gradioapache-2.0
Unit 1 Quiz - Model Context Protocol (MCP) FundementalsShares gradio58gradioapache-2.0
Tamazight Text-to-SpeechShares gradio41gradiocc-by-4.0
Embedding Draw ChallengeShares gradio30gradioapache-2.0
Arabic Auto TashkeelShares gradio29gradioapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Bonsai-27B-GGUF

lmstudio-community · Kit

A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…

New

Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…

New

MusicGen Small

facebook · Kit

Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…

New

Similar in Education

See all in Education

Vāgdhenu by prathoshap

prathoshap · Kit

Reads classical Sanskrit verses aloud in a chant style, using one trained voice and a reference clip that sets the rhythm. For people who study, recite or need…

New

Limite 1B - Violetto

paradigma-inc · Kit

Solves hard math problems with a 1B-parameter model trained from scratch for fast, high-volume reasoning. It suits developers who run math workloads on an NVID…

New

Agaram 2.5B

murai-labs · Kit

Chats in Tamil script, romanized Tamil and English, and translates between Tamil and English. A 2.5B model built from scratch by Murai Labs, for Tamil speakers…

New