独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
O

oumi-ai/weights-lab

Agent skill for weight-space programming: edit LLM weights

装之前:没有可直接复制的命令 · 许可证 Apache-2.0 · 链接可访问

第一步:git clone https://github.com/oumi-ai/weights-lab

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
★ 数取值
7 ★ · oumi-ai/weights-lab · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 1 个来源列出
评分构成
综合分 103 · 7 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: Agent 技能。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 oumi-ai/weights-lab;我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# Oumi Weights Lab

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

An agent skill and Python worker that let your coding agent experiment on an open
language model: load it once, edit its weights reversibly, measure the effect, and
export the result. It is inspired by
weight-space programming
(Takehi, Teoh, Zhang, and Khattab), in which a general-purpose LLM reads and writes a
network's weights directly instead of relying on an optimizer such as gradient
descent. Every snippet's source, output, and forward-pass count is saved.
Version 0.1 is experimental, and snippets run as trusted Python with your filesystem
and network access.
Tested on CPU, Apple MPS, NVIDIA H200, and SkyPilot with Slurm.
A deliberately silly weight edit, with exact undo. Try the example.
## Install in your coding agent
Requires Linux or macOS, git, and uv.
### Claude Code
sh
claude plugin marketplace add oumi-ai/weights-lab
claude plugin install oumi-weights-lab@oumi-weights-lab
The plugin includes the oumi-weights-lab CLI. Its first run downloads PyTorch, so
allow a few minutes.
### Codex
sh
codex plugin marketplace add oumi-ai/weights-lab
codex plugin add oumi-weights-lab@oumi-weights-lab
uv tool install git+https://github.com/oumi-ai/weights-lab
### Cursor, GitHub Copilot CLI, OpenCode, and other skill-compatible agents
Copy the whole skill folder, then install the CLI:
sh
git clone https://github.com/oumi-ai/weights-lab
mkdir -p ~/.agents/skills
cp -R weights-lab/skills/oumi-weights-lab ~/.agents/skills/
uv tool install git+https://github.com/oumi-ai/weights-lab
Then ask your agent, for example: "Use oumi-weights-lab to check whether zeroing
layer 3's MLP in Qwen/Qwen3-0.6B changes its answers to the questions in caps.jsonl."
To load LoRA adapters, or Hugging Face datasets with lab.hfrows, install the CLI
as uv tool install 'oumi-weights-lab[adapters,datasets] @ git+https://github.com/oumi-ai/weights-lab'.
The Claude Code plugin includes both.
Append @ to a git+https:// URL to pin a release.
## Use the CLI directly
sh
oumi-weights-lab start --session sessions/first --model HuggingFaceTB/SmolLM2-135M --device cpu
oumi-weights-lab send --session sessions/first --file edit.py --follow
oumi-weights-lab stop --session sessions/first
oumi-weights-lab backup --session sessions/first --output sessions/first.tar.gz
With edit.py:
python
rows = [{"prompt": "France's capital is", "options": [" Paris", " Rome"], "answer": 0}]
baseline = lab.evaluate(rows, name="baseline")
name = lab.parts("mlpweight")[0]["name"]
lab.zero(name)
edited = lab.evaluate(rows, name="zeroed")
print(lab.diff(baseline, edited))
lab.undo()
checkpoint = lab.export("restored") # saved under artifacts/
Snippets share lab, model, tokenizer, Path, and artifacts, and their state
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/oumi-ai-weights-lab/)
来源
github · https://github.com/oumi-ai/weights-lab
按领域浏览
Agent 技能
Traction
7 ★
收录于
今天

同类推荐

全部 420 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引