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

Add greedy decoding to example 'simple' #589

Merged

Conversation

joneavila
Copy link
Contributor

Run the example following the README: cargo run --release --bin simple -- --prompt "The way to kill a linux process is" hf-model TheBloke/Llama-2-7B-GGUF llama-2-7b.Q4_K_M.gguf

Before modification:

 The way to kill a linux process is给给给给给给给给给给给给给给给给给给给给给给给给

After modification:

 The way to kill a linux process is to send it a SIGKILL signal.
The way to kill a windows process is to send it a S

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.

2 participants