nestordemeure/stop_word

Huggingface transformers stopping criteria that halts the generation when a given stop word is encountered.

34
/ 100
Emerging

This tool helps developers working with Hugging Face transformers. It allows you to automatically stop a text generation process as soon as a specific word or phrase appears in the output. You provide an initial text prompt and a list of 'stop words,' and it generates text, stopping precisely when one of your designated stop words is encountered. This is useful for engineers building applications that use large language models.

No commits in the last 6 months.

Use this if you are a developer building applications with Hugging Face transformers and need to control text generation by stopping it at a specific keyword or phrase.

Not ideal if you are not a developer working with Hugging Face models, or if you need more complex stopping logic beyond simple keyword detection.

NLP-engineering LLM-development text-generation-control HuggingFace-transformers AI-application-development
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 5 / 25
Maturity 16 / 25
Community 13 / 25

How are scores calculated?

Stars

9

Forks

2

Language

Python

License

Apache-2.0

Last pushed

Apr 08, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/nestordemeure/stop_word"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.