Skip to content
Back to skills

Training

ASecurity

Train, fine-tune, or prepare datasets for LLM4Decompile models.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolsgo

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill training --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-262b25ef/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-262b25ef)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: training
description: "Train, fine-tune, or prepare datasets for LLM4Decompile models."
metadata:
  disco-role: operating
disable-model-invocation: true
license: NOASSERTION
---

# Training

Use this sub-skill when the user wants to train or fine-tune an LLM4Decompile checkpoint, prepare a training dataset, or inspect the repo's DeepSpeed, ColossalAI, or LLaMA-Factory launch paths.

## Covers

- supervised fine-tuning with `train/finetune.py`
- AnghaBench-style dataset generation with `train/compile.py`
- continual-pretraining dataset splicing with `train/colossalai_llm4decompile/prepare_pretrain_dataset.py`
- LLaMA-Factory dataset registry and YAML examples under `train/llama_factory_llm4decompile/`
- launcher patterns in `train/run_training.sh` and `train/colossalai_llm4decompile/run_llm4decompile_train.sh`

## Excludes

- benchmark scoring and inference-only flows → use `evaluation`
- Ghidra pseudo-code extraction or refinement → use `ghidra-refine`
- SK²Decompile preprocessing, RL, and BringUpBench evaluation → use `sk2decompile`

## Start Here

1. Read [`references/training-workflows.md`](references/training-workflows.md) for the training family map.
2. Read [`references/data-formats.md`](references/data-formats.md) before editing configs or datasets.
3. Read [`references/troubleshooting.md`](references/troubleshooting.md) if the environment or launcher fails.
4. Use the bundled scripts in this sub-skill's `scripts/` directory rather than source-checkout paths.

## Common routes

### Supervised fine-tuning

Use this route when the request mentions:

- `deepspeed`
- `finetune.py`
- `llm4binary_v1`
- `pseudo2norm`
- `norm2code`

Good entry points:

- `scripts/run_llamafactory_train.sh`
- `scripts/finetune.py`

### Dataset generation

Use this route when the request mentions:

- compiling raw C sources into trainable examples
- AnghaBench or similar source corpora
- JSONL output with optimization-level assembly maps

Good entry points:

- `scripts/compile_dataset.py`
- `scripts/prepare_pretrain_dataset.py`

### ColossalAI pretraining

Use this route when the request mentions:

- continual pretraining
- spliced Arrow datasets
- `colossalai run`
- `prepare_pretrain_dataset.py`

Good entry points:

- `scripts/prepare_pretrain_dataset.py`
- `scripts/run_colossalai_train.sh`

## Model and data signals

- The repository's example dataset registry key is `llm4binary_v1`.
- The example LLaMA-Factory configs are `pseudo2norm-example.yaml` and `norm2code-example.yaml`.
- Training commands in the repo assume a CUDA-capable torch stack, BF16-capable hardware when `bf16` is enabled, and a checkpoint path that matches the selected family.

## When to read the bundled references

- Use the workflow reference for command templates and decision points.
- Use the data-format reference to validate JSON, JSONL, and registry names before launching a long run.
- Use the troubleshooting reference for dependency, CUDA, or launcher failures.

Files in this skill

  • SKILL.md2.9 KB
  • references/data-formats.md1.7 KB
  • references/training-workflows.md3.2 KB
  • references/troubleshooting.md2.1 KB
  • scripts/compile_dataset.py3.2 KB
  • scripts/finetune.py6.5 KB
  • scripts/prepare_pretrain_dataset.py5.2 KB
  • scripts/run_colossalai_train.sh1.5 KB
  • scripts/run_llamafactory_train.sh405 B
  • scripts/train_colossalai.py14.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.