abetlen / abetlen/llama-cpp-python
How to predict a specific length of tokens?
Open
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 1.4k
- PR merge metrics
- PR metrics pending
Description
In `llama.cpp`, `--n-predict` option is used to set the number of tokens to predict when generating text/
I don't find the binding for that in [doc](https://llama-cpp-python.readthedocs.io/en/latest/).
Contributor guide
Assessment
This issue has not been assessed yet.