Skip to content

add command line mode #977

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

Closed
wants to merge 3 commits into from
Closed

add command line mode #977

wants to merge 3 commits into from

Conversation

wbpxre150
Copy link
Contributor

@wbpxre150 wbpxre150 commented Apr 14, 2023

This commit adds a print of timing stats at the press of ctrl+c to exit the program along with command line mode, where ??? command argument changes the runtime parameters for the following variables:

n_predict, top_k, ctx_size, top_p, temp, repeat_last_n, repeat_penalty, batch_size, reverse-prompt, keep

It also has the option to print stats by typing ??? stats 0

Its easy enough to add more commands as we see fit in the future. Feedback welcome! Recent commits made me recreate the pull request due to conflicts.

wbpxre150 and others added 3 commits April 15, 2023 02:05

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

Successfully merging this pull request may close these issues.

None yet

1 participant