Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform Inference using Python instead of command line #691

Open
vashiegaran opened this issue Jan 4, 2024 · 1 comment
Open

Perform Inference using Python instead of command line #691

vashiegaran opened this issue Jan 4, 2024 · 1 comment

Comments

@vashiegaran
Copy link

Hi, is there any example of python code that can run inference instead of using the command line? If so can you kindly share

@research4pan
Copy link
Contributor

Thanks for your interest in LMFlow! You may check speculative_inference.py, where you can replace SpeculativeInferencer with Inferencer (along with their arguments) in examples/chatbot.py. Please feel free to contact us again if there is any problem during the usage. Thanks very much 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants