Skip to content
Back to skills

Deberta Enhanced Mask Decoder

ASecurity

Apply DeBERTa enhanced mask decoder scoring that injects absolute position evidence only at candidate decoding time.

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
toolsgit

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Deberta Enhanced Mask Decoder?

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

Security grade badge for Deberta Enhanced Mask Decoder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deberta-enhanced-mask-decoder/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deberta-enhanced-mask-decoder)

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

SKILL.md
---
name: deberta_enhanced_mask_decoder
description: Apply DeBERTa enhanced mask decoder scoring that injects absolute position evidence only at candidate decoding time.
---

# DeBERTa Enhanced Mask Decoder

Use this skill when a reduced recovery or unit test needs to preserve DeBERTa's decoder-time absolute-position rule. The skill separates relative-context scoring from absolute-position scoring so an experiment can prove that absolute position was not mixed into encoder inputs.

## Inputs

- Candidate records with `label`, `text`, and `absolute_position`.
- Relative-context scores from an encoder, attention helper, or deterministic proxy.
- Optional absolute-position target and weight.

## Outputs

- Candidate logits with separate `relative_score` and `emd_score` fields.
- Predicted label.
- EMD ablation result with the absolute-position contribution disabled.

## Workflow

1. Build candidate records from a masked-token or multiple-choice protocol.
2. Keep relative-context scores separate from absolute-position features.
3. Call `scripts/enhanced_mask_decoder.py` to add the EMD term at candidate scoring time.
4. Save both full and no-EMD scores in recovery logs when using this skill as mechanism evidence.

## Validation

Run the skill-tree validator with `--run-tests`. The tests check that relative-only candidates can tie, EMD breaks an absolute-position-sensitive tie, and disabling EMD changes the chosen score path.

## Limitations

This is a standard-library proxy for the EMD contract. It does not implement the full Transformer decoder stack or masked language model head.

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…