Skip to main content

This is a text generation method which returns a generator, streaming out each token in real-time during inference, based on Huggingface/Transformers.

Project description

transformers-stream-generator

It is a text generation based on huggingface/transformers, modified to return a generator, real-time streaming out each token.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transformers-stream-generator-0.0.3.tar.gz (12.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page