← 开源
Python
增长势头
+024 小时新增 Star0.0%
263
Star
546
Fork
3
贡献者
创建于 2025-05-24 · 更新于 2026-12-05 · 今日第 27332 名
主要开发者
README

CS336 Spring 2026 Assignment 5: Alignment

For a full description of the assignment, see the assignment handout at cs336_spring2026_assignment5_alignment.pdf

We will include a supplemental (and completely optional) assignment on safety alignment, instruction tuning, and RLHF at cs336_spring2026_assignment5_supplement_safety_rlhf.pdf

If you see any issues with the assignment handout or code, please feel free to raise a GitHub issue or open a pull request with a fix.

Setup

As in previous assignments, we use uv to manage dependencies.

  1. Install all packages except flash-attn, then all packages (flash-attn is weird)
uv sync --no-install-package flash-attn
uv sync
  1. Run the required unit tests:
uv run pytest tests/test_grpo.py

Initially, all tests should fail with NotImplementedErrors. To connect your implementation to the tests, complete the functions in ./tests/adapters.py.

排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载