{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/10"},{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/11"}],"enrichment":{"capability":"Adds stop-sequence support to Huggingface Transformers text generation, allowing you to halt output when specified text patterns appear.","skillfed_tags":["text-generation","abandoned"],"use_cases":["Dialogue generation where you want output to stop when a specific speaker's name appears","Conditional text generation that should terminate at natural boundaries marked by specific tokens or phrases","Multi-turn conversation simulation where each turn should end at a designated marker","Controlled generation tasks where output length is bounded by semantic stop conditions rather than token limits alone"],"what_it_does":"Stop Sequencer is a wrapper that lets you stop text generation when the model produces a specified stop sequence. You register stop texts (like \"Ryan:\" or \"Kevin:\") before calling generate(), and the package attempts to halt output when those patterns appear. However, due to limitations in the underlying implementation, the stop sequence may still appear in the output\u2014you must manually post-process the result to remove it completely.\n\nThe package has no runtime dependencies. It works with both causal and seq2seq model types. The main trade-off is that it stops generation after the stop text appears, not before, so you need to strip the unwanted text from the result yourself.","worth_installing":"No. The package is abandoned (last commit 2023-06-06, no activity for 1165 days) and has a critical limitation: stop sequences still appear in output and require manual post-processing. License metadata is unclear. For modern workflows, investigate native alternatives in the underlying framework."},"id":"stop-sequencer","links":{"html":"https://skillfed.io/packages/stop-sequencer","md":"https://skillfed.io/packages/stop-sequencer.md","pypi":"https://pypi.org/project/stop-sequencer/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-06-06","license_spdx":null,"license_treatment":"unclear","name":"stop-sequencer","python_support":"supports_current","summary":"Implementation of stop sequencer for Huggingface Transformers"},"popularity":{"monthly_downloads":77572,"position":14513,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.3"}
