Skip to content

Commit 61d9a62

Browse files
committed
Tuning: Adjust default n_ctx from 512 to 2048
1 parent dabd89d commit 61d9a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(
1717
self,
1818
model_path: str,
1919
# NOTE: These parameters are likely to change in the future.
20-
n_ctx: int = 512,
20+
n_ctx: int = 2048,
2121
n_parts: int = -1,
2222
seed: int = 1337,
2323
f16_kv: bool = False,

0 commit comments

Comments
 (0)