Skip to content
Back to skills

Architecture Reference

ASecurity

"Explains RWKV-7 tensor shapes, checkpoint export, context-parallel

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
code-quality

Security analysis

A100/100

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

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Architecture Reference?

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

Security grade badge for Architecture Reference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-architecture-reference/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-architecture-reference)

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: architecture-reference
description: "Explains RWKV-7 tensor shapes, checkpoint export, context-parallel
  state composition, and RWKV-7/Qwen comparison workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# RWKV architecture reference

Use this route when the request is about tensor names, state layout, checkpoint
conversion, RWKV-7 versus Qwen3.5 comparisons, or why two implementations do
not match numerically.

## Route by task

- **Understand model shape or state layout**: read
  [architecture-details.md](references/architecture-details.md).
- **Export a Qwen text checkpoint**: run
  [export_qwen_text_state.py](scripts/export_qwen_text_state.py) or read its
  help text first.
- **Reason about chunk/state equivalence**: read
  [context-parallelism.md](references/context-parallelism.md).
- **Debug a mismatch**: read [troubleshooting.md](references/troubleshooting.md)
  before changing the tokenizer, tensor naming, or checkpoint path.

## What this route owns

- RWKV-7 block names, layer/state shapes, and the role of `emb.weight`, `ln0`,
  `ln_out`, and the per-block attention/FFN tensors.
- Qwen3.5 text-only export and why vision/MTP tensors are excluded from that
  export path.
- The chunk-merging identity used by RWKV-7 context parallelism.
- Compatibility notes for the legacy v5/v6 code paths when they help explain a
  shape or naming difference.

## What this route does not own

- Data conversion and `magic_prime` selection belong to `training-data`.
- Prompt/sampling and MMLU evaluation belong to `inference-evaluation`.
- ROSA toy experiments belong to `rosa-experiments`.

## Bundled helper

- `scripts/export_qwen_text_state.py` accepts a model id or local Hugging Face
  directory and writes a text-only checkpoint plus metadata file. It is the
  safe replacement for the repository's checkpoint-export example because it
  requires explicit output paths and has no hard-coded local checkpoint.

## Handoff

Use this route when you need shapes, tensor names, or conversion/composition
facts, not when you need to actually train or sample from the model.

Files in this skill

  • SKILL.md2.1 KB
  • references/architecture-details.md2.3 KB
  • references/context-parallelism.md1.4 KB
  • references/qwen-export-and-comparison.md1.8 KB
  • references/troubleshooting.md1.8 KB
  • scripts/export_qwen_text_state.py6.3 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.