---
title: "SPIN"
type: "tool"
slug: "uclaml-spin"
canonical_url: "https://www.graphcanon.com/tools/uclaml-spin"
github_url: "https://github.com/uclaml/SPIN"
homepage_url: "https://uclaml.github.io/SPIN/"
stars: 1247
forks: 105
primary_language: "Python"
license: "Apache-2.0"
archived: false
categories: ["developer-tools"]
tags: ["deep-learning", "fine-tuning", "large-language-models", "python", "self-play"]
updated_at: "2026-07-12T02:32:04.075814+00:00"
---

# SPIN

> The official implementation of Self-Play Fine-Tuning (SPIN)

The official implementation of Self-Play Fine-Tuning (SPIN)

## Facts

- Repository: https://github.com/uclaml/SPIN
- Homepage: https://uclaml.github.io/SPIN/
- Stars: 1,247 · Forks: 105 · Open issues: 24 · Watchers: 11
- Primary language: Python
- License: Apache-2.0
- Last pushed: 2024-05-08T05:59:37+00:00

## Trust & health

_Signals computed from public GitHub metadata. Not a security guarantee._

- Maintenance: Dormant (computed 2026-07-11T11:39:18.178Z)
- Security scan: No lockfile (0 critical, 0 high, 0 medium, 0 low) · last scan 2026-07-11T11:39:18.753Z
- Full report: [trust report](/tools/uclaml-spin/trust.md) · [JSON](https://www.graphcanon.com/api/graphcanon/tools/uclaml-spin/trust)

## Categories

- [Developer Tools](/categories/developer-tools.md)

## Tags

deep-learning, fine-tuning, large-language-models, python, self-play

## Category neighbours (exploratory)

_Same-category tools for discovery only - not curated alternatives. Cap shown at six._

- [peft](/tools/huggingface-peft.md) - State-of-the-art Parameter-Efficient Fine-Tuning (★ 21,385) [Very active]
- [trl](/tools/huggingface-trl.md) - Train transformer language models with reinforcement learning. (★ 18,823) [Very active]
- [litgpt](/tools/lightning-ai-litgpt.md) - High-performance LLMs with recipes for pretraining, finetuning and deployment (★ 13,473) [Very active]
- [train-llm-from-scratch](/tools/fareedkhan-dev-train-llm-from-scratch.md) - A straightforward method for training your LLM from raw text to aligned model generation (★ 8,241) [Active]
- [LLM-Agent-Paper-List](/tools/woooodyy-llm-agent-paper-list.md) - The paper list of the 86-page SCIS cover paper "The Rise and Potential of Large Language Model Based Agents: A Survey" by Zhiheng Xi et al. (★ 8,159) [Slowing]
- [pyspur](/tools/pyspur-dev-pyspur.md) - A visual playground for agentic workflows: Iterate over your agents 10x faster (★ 5,754) [Active]

_+ 2 more not listed._

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/tools/uclaml-spin`](/api/graphcanon/tools/uclaml-spin)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
