mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-19 13:23:35 +00:00
docs: update LlamaCpp input args (#9173)
This PR only updates the LlamaCpp args documentation. The input arg has been flattened.
This commit is contained in:
parent
72f9150a50
commit
f11e5442d6
@ -241,7 +241,9 @@
|
|||||||
"# Make sure the model path is correct for your system!\n",
|
"# Make sure the model path is correct for your system!\n",
|
||||||
"llm = LlamaCpp(\n",
|
"llm = LlamaCpp(\n",
|
||||||
" model_path=\"/Users/rlm/Desktop/Code/llama/llama-2-7b-ggml/llama-2-7b-chat.ggmlv3.q4_0.bin\",\n",
|
" model_path=\"/Users/rlm/Desktop/Code/llama/llama-2-7b-ggml/llama-2-7b-chat.ggmlv3.q4_0.bin\",\n",
|
||||||
" input={\"temperature\": 0.75, \"max_length\": 2000, \"top_p\": 1},\n",
|
" temperature=0.75,\n",
|
||||||
|
" max_length=2000,\n",
|
||||||
|
" top_p=1,\n",
|
||||||
" callback_manager=callback_manager,\n",
|
" callback_manager=callback_manager,\n",
|
||||||
" verbose=True,\n",
|
" verbose=True,\n",
|
||||||
")"
|
")"
|
||||||
|
Loading…
Reference in New Issue
Block a user