跳到正文
cccskills
免费在 GitHub 公开

easy-r1

Use EasyR1 for multimodal LLM RL post-training, dataset/reward preparation, core API debugging, and checkpoint export workflows.

中文简介正在准备中。当前显示原文说明。

集成工具Hugging Face
查看安装方法

包含的文件(24)

  • SKILL.md5.0 KB
  • references/repo-provenance.md2.7 KB
  • references/repo-routing-metadata.json556 B
  • references/setup-and-troubleshooting.md5.3 KB
  • scripts/easyr1_env_check.py5.1 KB
  • sub-skills/checkpoint-export/references/checkpoint-export.md8.6 KB
  • sub-skills/checkpoint-export/references/troubleshooting.md7.9 KB
  • sub-skills/checkpoint-export/scripts/easyr1_checkpoint_inspector.py14.9 KB
  • sub-skills/checkpoint-export/SKILL.md2.2 KB
  • sub-skills/core-apis/references/api-reference.md16.9 KB
  • sub-skills/core-apis/references/troubleshooting.md10.2 KB
  • sub-skills/core-apis/scripts/easyr1_dataproto_smoke.py8.0 KB
  • sub-skills/core-apis/SKILL.md2.1 KB
  • sub-skills/data-and-rewards/references/android-gui-cookbook.md7.3 KB
  • sub-skills/data-and-rewards/references/data-reward-formats.md11.4 KB
  • sub-skills/data-and-rewards/references/troubleshooting.md8.5 KB
  • sub-skills/data-and-rewards/scripts/easyr1_reward_smoke.py20.7 KB
  • sub-skills/data-and-rewards/SKILL.md2.9 KB
  • sub-skills/training-workflows/references/example-launch-recipes.md14.6 KB
  • sub-skills/training-workflows/references/training-configuration.md13.0 KB
  • sub-skills/training-workflows/references/troubleshooting.md12.1 KB
  • sub-skills/training-workflows/scripts/easyr1_command_builder.py8.1 KB
  • sub-skills/training-workflows/scripts/easyr1_config_lint.py19.1 KB
  • sub-skills/training-workflows/SKILL.md2.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

EasyR1

Use this repo skill when a task names EasyR1, the verl package from EasyR1, or a multimodal LLM RL/post-training workflow that looks like EasyR1: GRPO/DAPO/Reinforce++/ReMax/RLOO/GSPO/CISPO/SAPO training, Ray + FSDP + vLLM rollout, Qwen/Qwen-VL post-training, EasyR1 reward functions, EasyR1 checkpoint merging, or DataProto debugging.

This skill is self-contained operating guidance distilled from the EasyR1 repository. It does not require reopening the repository checkout. Full training still requires an EasyR1-compatible CUDA runtime with Ray, vLLM, flash-attn, model weights, datasets, and enough GPU memory.

First checks

Route by task

Training workflows

Load sub-skills/training-workflows/SKILL.md when the task is to configure, lint, explain, or launch python -m verl.trainer.main jobs. It covers EasyR1 config hierarchy, OmegaConf CLI overrides, algorithms and loss types, Ray/FSDP/vLLM runtime assumptions, LoRA, logging, validation, checkpoint save/resume, multi-node setup, and training troubleshooting.

Typical triggers:

  • "Run EasyR1 GRPO/DAPO/GSPO/CISPO/SAPO on my dataset."
  • "Build or validate an EasyR1 config."
  • "Convert an example shell launch to a safer command."
  • "Explain worker.rollout.tensor_parallel_size, algorithm.online_filtering, LoRA, or GPU memory settings."

Data and rewards

Load sub-skills/data-and-rewards/SKILL.md when the task is about dataset rows, prompt templates, image/video columns, reward functions, worker.reward.reward_function, batch/sequential reward modes, DAPO overlong penalties, R1-V/math/Android GUI reward patterns, or validating reward outputs.

Typical triggers:

  • "Prepare a custom text/VL dataset for EasyR1."
  • "Write an EasyR1 reward function with overall, accuracy, or accuracy_normalized."
  • "Debug image-token mismatch, overlong prompts, or missing reward keys."

Core APIs

Load sub-skills/core-apis/SKILL.md when the task involves EasyR1 support APIs rather than a full job launch: DataProto, tensor/non-tensor batches, padding/unpadding, dynamic sequence-length batching, compute_policy_loss, advantage/KL helpers, logger/tracker helpers, or native CPU API smoke checks.

Typical triggers:

  • "Debug a DataProto.union or chunk/split error."
  • "Use EasyR1 core algorithm functions directly."
  • "Explain dynamic batching restore order or GRPO grouped rollout assertions."

Checkpoint export

Load sub-skills/checkpoint-export/SKILL.md when the task is to inspect EasyR1 actor checkpoint directories or convert actor shards to Hugging Face format. It covers model_world_size_<N>_rank_<R>.pt shard patterns, the huggingface/ metadata directory, generation config preservation, LoRA merge requirements, upload caveats, and safe preflight inspection.

Typical triggers:

  • "Merge an EasyR1 actor checkpoint to Hugging Face format."
  • "Preflight a checkpoint before running the model merger."
  • "Explain missing rank shards, unsupported DTensor placement, or LoRA base-model errors."

Minimal install/import shape

For users setting up EasyR1 itself, prefer the project-documented CUDA container or an equivalent Python 3.9+ environment with compatible PyTorch, Ray, vLLM, flash-attn, transformers, and model/dataset access. A minimal import check is:

python - <<'PY'
import verl
from verl.protocol import DataProto
from verl.trainer.core_algos import compute_kl
print("verl", getattr(verl, "__version__", "unknown"))
print("DataProto", DataProto.__name__)
print("compute_kl", compute_kl.__name__)
PY

If flash_attn, vllm, CUDA, or Ray imports fail, use the setup/troubleshooting reference before treating EasyR1 training as ready. CPU-safe API checks do not prove the full training runtime.

Boundaries

Do not use this skill as a generic TRL/OpenRLHF/LlamaFactory manual. Use it when EasyR1-specific config keys, scripts, dataset/reward contracts, verl APIs, or checkpoint layout matter. For ordinary supervised fine-tuning or inference workflows that EasyR1 explicitly does not provide, route to a more suitable LLM fine-tuning or serving skill.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题