Skip to content
Back to skills

Sparse Replay Trainer

ASecurity

Train an online text classifier with sparse replay updates from episodic memory.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
testingpython

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Sparse Replay Trainer?

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

Security grade badge for Sparse Replay Trainer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-sparse-replay-trainer/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-sparse-replay-trainer)

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

SKILL.md
---
name: sparse_replay_trainer
description: Train an online text classifier with sparse replay updates from episodic memory.
---

# Sparse Replay Trainer

## When To Use
Use this skill when reconstructing the episodic-memory lifelong language learning method from de Masson d'Autume et al. without relying on an original implementation repository.

## Inputs
- Small text examples represented as dictionaries.
- Deterministic configuration values such as memory probability, replay interval, K, and adaptation steps.

## Outputs
- Auditable Python objects or JSON-serializable dictionaries matching the module contract.
- Logs that expose mechanism execution rather than only final metrics.

## Workflow
1. Update the base model once per stream example.
2. At configured intervals, sample from memory and perform replay updates.
3. Record replay events with step, sample count, and losses.

## Validation
Run `python tests/test_sparse_replay_trainer.py` from this skill directory.

## Limitations
The scripts are deterministic proxy utilities for bounded recovery. They do not train BERT or reproduce the full paper-scale datasets.

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…