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 2e390d1 4.8 KB Updated

File contents

alivirgo/Major-AI-Skills/tree/main/skills/stop-sequence-truncation commit 2e390d1064

Frequently asked questions

npx skillmds@latest add alivirgo/stop-sequence-truncation