Choose a mission and design an algorithm and benchmark for it.
Choose one mission
All three missions start from TinyStories-33M, a pretrained story-writing model. M1 and M2 use TinyStoriesInstruct, where each entry is a story with instruction lines such as Summary: and Words:; scoring uses the full entry, including these lines. Use the public validation data to develop your method. Final staff evaluation uses held-out data that is not released.
M1 Data efficiency
Constraint
Train on at most 100 entries selected from the supplied pool of 10,000 TinyStoriesInstruct entries.
You design
Which entries to select and how to train on them.
Baseline metric
Perplexity on TinyStoriesInstruct entries. Lower is better.
M2 Fine-tuning efficiency
Constraint
A fixed pool of 50,000 TinyStoriesInstruct entries and 20 minutes of training on a Colab T4 GPU.
You design
How to fine-tune within the training budget.
Baseline metric
Perplexity on TinyStoriesInstruct entries. Lower is better.
M3 Retention
Constraint
Train 200 steps on TinyStories, then 500 steps to learn TinyStoriesInstruct. Both supplied training datasets remain available during the second phase.
You design
Training methods for both phases that learn the new task while retaining the original one.
Score
Original task: perplexity and the quality of the stories the model writes. New task: whether its stories follow the given instructions. See the group submission guidelines.
What you submit: M1–M3 require a fine-tuning algorithm and the saved trained model (M3 teams also include their phase-1 checkpoint). Every team also designs and submits a benchmark. Upload the zip created by the starter code to Google Drive and share the link; submit your code, benchmark, and report on Gradescope. See the group submission guidelines for details.
After Milestone 2, staff will test every team’s submitted model, and a model retrained with its algorithm on fresh data, on the staff benchmark and on every other team’s benchmark in the same mission. Results will be posted on a leaderboard. The top-ranked team in each mission earns bonus points.
The project is worth 30% of your course grade, divided equally across the three milestones:
Individual proposal: 10% of your course grade, graded individually.
Group submission: 10% of your course grade, graded as a team.
Presentation: 10% of your course grade, based on the team presentation and your individual answer to a question.
Rubrics and grading criteria are in each milestone's guidelines.
Milestone 1: individual write-up due at 11:59 PM PT (guidelines PDF)
Fri, Nov 13
Milestone 1 feedback returned
Fri, Nov 20
Milestone 2: group submission due at 11:59 PM PT (guidelines PDF)
Thu, Dec 3
Benchmark results and leaderboard released
Thu, Dec 10
Milestone 3: group presentations, 3:00–5:59 PM PT (guidelines PDF)
Teams
Teams have 2 to 4 members. Submit your roster and mission choice using the team sign-up form by Monday, October 26.
Group contract (optional). We recommend a contract describing individual responsibilities, meeting frequency, and group deadlines. If you upload a signed contract with the sign-up form, staff will enforce it to help resolve conflicts. Without a contract, staff cannot mediate group disputes, and the group is responsible for ensuring project development goes smoothly.
Team changes. If a teammate drops the course or can no longer participate, notify staff with a private Piazza post. We will help you join another team.
Team issues. Report conflicts through a private Piazza post to instructors rather than in office hours, so staff have a written record.
Starter code
Each mission has a Colab notebook. All three use shared helpers from
common.py (data loading, perplexity scoring, model save/load).
Do not change function signatures. Staff run your submission through them without modification.
Download the notebook for your mission and common.py.
When you run in Colab, upload common.py to the Colab workspace (the Files panel on the left)
in the same session, or the notebook's imports will fail. Re-upload it if the runtime resets.
AI use policy
You may use AI tools to develop ideas, write and debug code, and create benchmarks. Benchmark data may be handwritten, selected from permitted datasets, AI-generated, or a combination. Follow the project’s data restrictions and keep benchmark data separate from training data. Your benchmark must be self-contained, with data and a scoring method that staff can run.
All training and evaluation runs used for submitted results must run in a Google Colab T4 environment within your mission’s computing limits. If your algorithm or benchmark requires accessing external AI tools or services at runtime, you will receive a zero for that component.
You may use AI to improve the visual appearance of figures and slides while accurately representing your results. You must write all report and slide text yourselves. AI may not draft, rewrite, or polish this text. Briefly disclose your AI use and cite outside sources. You are responsible for understanding and checking everything you submit. During presentations, we will ask challenging questions about your work. If AI completes the project for you without your developing that understanding, you will be unprepared to answer.