-
Notifications
You must be signed in to change notification settings - Fork 250
clean up gguf doc #416
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
clean up gguf doc #416
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
docs/GGUF.md
Outdated
python torchchat.py export --gguf-path ${GGUF_MODEL_PATH} --output-dso-path ${GGUF_SO_PATH} | ||
|
||
# Generate using the PTE model that was created by the export command | ||
python torchchat.py generate --gguf-path ${GGUF_MODEL_PATH} --dso-path ${GGUF_SO_PATH} --tokenizer-path ${GGUF_TOKENIZER_PATH} --temperature 0 --prompt "Once upon a time" --max-new-tokens 15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use python3 everywhere since a python alias is not available on all systems.
docs/GGUF.md
Outdated
``` | ||
# Convert the model for use | ||
python torchchat.py export --gguf-path ${GGUF_MODEL_PATH} --output-pte-path ${GGUF_PTE_PATH} | ||
|
||
# Generate using the PTE model that was created by the export command | ||
python torchchat.py generate --gguf-path ${GGUF_MODEL_PATH} --pte-path ${GGUF_PTE_PATH} --tokenizer-path ${GGUF_TOKENIZER_PATH} --temperature 0 --prompt "In a faraway land" --max-new-tokens 20 | ||
|
||
python torchchat.py generate --gguf-path ${GGUF_MODEL_PATH} --pte-path ${GGUF_PTE_PATH} --tokenizer-path ${GGUF_TOKENIZER_PATH} --temperature 0 --prompt "Once upon a time" --max-new-tokens 15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto, here and elsewhere
11aaecb
to
2aec747
Compare
* clean up gguf doc * update readme * typo * switch to python3
* clean up gguf doc * update readme * typo * switch to python3
* clean up gguf doc * update readme * typo * switch to python3
* clean up gguf doc * update readme * typo * switch to python3
* clean up gguf doc * update readme * typo * switch to python3
* clean up gguf doc * update readme * typo * switch to python3
No description provided.