Implement SimPO Loss Function
95 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
Use when implementing the `simpo_loss` function in SimPOTrainer class. Extract loss computation logic from the paper and translate it to PyTorch code that accepts the expected tensor inputs.
What this skill can do
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'implement-simpo-loss-function' ] || [ -L ~/.agents/skills/'implement-simpo-loss-function' ]; then echo 'A skill folder named implement-simpo-loss-function already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/cxcscmu/SkillLearnBench' "$d" && git -C "$d" checkout --quiet '726e1f79b96b0cb3d729d0e55a1c847e0b5353ae' -- 'skills/b3-teacher-feedback-claude-haiku-4-5/nlp-paper-reproduction/run3_Implement-SimPO-Loss-Function' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/b3-teacher-feedback-claude-haiku-4-5/nlp-paper-reproduction/run3_Implement-SimPO-Loss-Function' ~/.agents/skills/'implement-simpo-loss-function' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'implement-simpo-loss-function' ~/.claude/skills/'implement-simpo-loss-function' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/cxcscmu/SkillLearnBench/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-07 | 726e1f7 | 95 |