Skip to content

Create example bash script for LlaMa 2 Chat #2408

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lionelchg
Copy link

Builds on top of PR #2304 to create a working bash script for system prompt integration with interactive mode of LlaMa 2 Chat models. README.md has been updated and the script can be run as follows:

./examples/chat-llama-2.sh models/llama-2-13b-chat.ggmlv3.q4_0.bin ./prompts/pirate.txt "Hello there"

First argument is the model name, second one is the system prompt from a text file and third argument is the first user prompt.

Builds on top of PR ggerganov#2304 to create a working script for system
prompt integration with interactive mode.
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.

1 participant