Skip to content
Back to skills

Gedi Multiclass Control

ASecurity

Build GeDi true/false control-code inputs for multi-class and zero-shot topic control with exactly two class-conditional passes.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Gedi Multiclass Control?

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

Security grade badge for Gedi Multiclass Control
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-gedi-multiclass-control/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-gedi-multiclass-control)

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

SKILL.md
---
name: gedi_multiclass_control
description: Build GeDi true/false control-code inputs for multi-class and zero-shot topic control with exactly two class-conditional passes.
---

# GeDi Multi-class Control

## When to use
Use this skill when adapting GeDi to many labels or topic control without one forward pass per class. It is appropriate for AG-News-like labels and zero-shot topic words.

## Inputs
- A label or topic string.
- Text or prompt.
- Positive control token, default `true`.
- Negative control token, default `false`.

## Outputs
- Positive/control sequence.
- Negative/anti-control sequence.
- Metadata including label, token count hint, and `control_passes=2`.

## Workflow
1. Normalize the label without changing its semantic content.
2. Build `true <label> <text>` and `false <label> <text>`.
3. During training, use true pairs for matching class/text and false pairs for nonmatching class/text.
4. During generation, use true as desired control and false as anti-control.
5. Record whether the label is seen or zero-shot when that information is supplied.

## Validation
Run:

```bash
python tests/test_multiclass.py
```

## Limitations
This skill formats the control-code pairs; it does not tokenize with a model or evaluate topic relevance.

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…