用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/marin-community/marin --skill add-dataset命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Scheduled scrub: TL;DR blocks on experiment issues.
Launch, monitor, hand off, resume, rollback, or babysit expensive Marin production. Typically >=1e22 model flops.
Lint, run the pre-PR checks, commit, push, and author or update the branch's pull request in the required plain-text format. Use when committing, pushing, or creating/updating a PR.
基于 SOC 职业分类
正在显示 SKILL.md
| name | add-dataset |
| description | Register or inspect a Hugging Face dataset for Marin pipelines. |
Inspect a Hugging Face dataset schema with Marin's schema inspection tool, then
add a dataset module under
experiments/datasets/
so the dataset can be tokenized and consumed in Marin pipelines. Each leaf module
exposes <name>_dataset() (one corpus) or <name>_datasets() -> dict[str, ...]
(a keyed family) built with the lazy data builders in marin.experiment.data.
experiments/datasets/svg.py)
exposing a <name>_dataset().experiments/datasets/nemotron.py)
exposing <name>_datasets().nemotron.py,
keying one handle per subset in the returned dict.pip install.uv sync --all-packages, then run
uv run lib/marin/tools/get_hf_dataset_schema.py.uv run --with datasets --with pyyaml lib/marin/tools/get_hf_dataset_schema.py ...Command line:
uv run lib/marin/tools/get_hf_dataset_schema.py <dataset_name> [options]
Python import:
from marin.tools.get_hf_dataset_schema import get_schema
schema = get_schema(dataset_name="wikitext", config_name="wikitext-103-v1")
{"error": "Config name is required.", "available_configs": [...]} — select
an appropriate config from the list and retry with --config_name.text; fall back
to fields containing text; consider string-type fields if no obvious text
field exists. Examine sample_row to verify field contents.--trust_remote_code).sample_row may be empty for some datasets.The tool returns a JSON object:
{
"splits": ["train", "validation", ...],
"text_field_candidates": ["text", "content", ...],
"features": {
"text": "string",
"label": "int64",
...
},
"sample_row": {
"text": "Example content...",
...
}
}
$ uv run lib/marin/tools/get_hf_dataset_schema.py wikitext
{
"error": "Config name is required.",
"available_configs": ["wikitext-103-raw-v1", "wikitext-103-v1", ...]
}
$ uv run lib/marin/tools/get_hf_dataset_schema.py wikitext --config_name wikitext-103-v1
{
"splits": ["train", "validation", "test"],
"text_field_candidates": ["text"],
"features": {"text": "string"},
"sample_row": {"text": "Article content..."}
}
For datasets needing remote code, add --trust_remote_code.
Once the schema is inspected and the dataset is registered, cargo-cult existing dataset configs for tokenization:
lib/marin/tools/get_hf_dataset_schema.py