Stop Sequence Truncation

How to configure custom stop sequences (stop: ['\\n\\n', '```\\n', '---']) at the inference sampler layer to terminate generation instantly upon deliverable completion, cutting trailing tokens by 50%.

alivirgo Updated 3 repo stars

File contents

alivirgo/Major-AI-Skills commit 2e390d1064

Frequently asked questions

npx get-skill add alivirgo/stop-sequence-truncation