Skip to content
Back to skills

Pplm Fusion Generation

ASecurity

Fuse PPLM perturbed and unperturbed token distributions using geometric mixing for fluent controlled decoding.

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

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Pplm Fusion Generation?

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

Security grade badge for Pplm Fusion Generation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-pplm-fusion-generation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-pplm-fusion-generation)

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

SKILL.md
---
name: pplm_fusion_generation
description: Fuse PPLM perturbed and unperturbed token distributions using geometric mixing for fluent controlled decoding.
---

# PPLM Perturbed Distribution Fusion

Use this skill after an attribute perturbation has produced controlled logits and the run needs to combine them with the unperturbed language-model distribution.

## Inputs
Base logits or probabilities, perturbed logits or probabilities, `gm_scale` in `[0,1]`, and a deterministic selection mode.

## Outputs
A normalized fused distribution, selected token index, entropy, and endpoint diagnostics.

## Workflow
1. Convert logits to probabilities when needed.
2. Compute geometric mixture `base^(1-gm_scale) * perturbed^gm_scale`.
3. Normalize the fused probabilities.
4. Select the argmax token for deterministic recovery tests.

## Validation
Run `python tests/test_fusion_generation.py` or Distiller validation.

## Limitations
This skill validates the fusion rule and does not implement full top-k or nucleus sampling.

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…