Update docstring
This commit is contained in:
parent
206efa39df
commit
b121b7c05b
1 changed files with 6 additions and 6 deletions
|
@ -24,13 +24,13 @@ class Llama:
|
|||
"""Load a llama.cpp model from `model_path`.
|
||||
|
||||
Args:
|
||||
model_path: Path to the model directory.
|
||||
n_ctx: Number of tokens to keep in memory.
|
||||
model_path: Path to the model.
|
||||
n_ctx: Maximum context size.
|
||||
n_parts: Number of parts to split the model into. If -1, the number of parts is automatically determined.
|
||||
seed: Random seed.
|
||||
f16_kv: Use half-precision for key/value matrices.
|
||||
logits_all: Return logits for all tokens, not just the vocabulary.
|
||||
vocab_only: Only use tokens in the vocabulary.
|
||||
seed: Random seed. 0 for random.
|
||||
f16_kv: Use half-precision for key/value cache.
|
||||
logits_all: Return logits for all tokens, not just the last token.
|
||||
vocab_only: Only load the vocabulary no weights.
|
||||
n_threads: Number of threads to use. If None, the number of threads is automatically determined.
|
||||
|
||||
Raises:
|
||||
|
|
Loading…
Reference in a new issue