docs: Fix github link (#16560)

This commit is contained in:
Bob Lin 2024-01-25 11:19:09 -06:00 committed by GitHub
parent 3b8eba32f9
commit 6023953ea7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 7 deletions

View File

@ -406,7 +406,7 @@
"- `n_gpu_layers` - determines how many layers of the model are offloaded to your GPU.\n", "- `n_gpu_layers` - determines how many layers of the model are offloaded to your GPU.\n",
"- `n_batch` - how many tokens are processed in parallel. \n", "- `n_batch` - how many tokens are processed in parallel. \n",
"\n", "\n",
"Setting these parameters correctly will dramatically improve the evaluation speed (see [wrapper code](https://github.com/mmagnesium/langchain/blob/master/langchain/llms/llamacpp.py) for more details)." "Setting these parameters correctly will dramatically improve the evaluation speed (see [wrapper code](https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/llms/llamacpp.py) for more details)."
] ]
}, },
{ {
@ -492,7 +492,7 @@
"- `f16_kv` - for some reason, Metal only support `True`, otherwise you will get error such as `Asserting on type 0\n", "- `f16_kv` - for some reason, Metal only support `True`, otherwise you will get error such as `Asserting on type 0\n",
"GGML_ASSERT: .../ggml-metal.m:706: false && \"not implemented\"`\n", "GGML_ASSERT: .../ggml-metal.m:706: false && \"not implemented\"`\n",
"\n", "\n",
"Setting these parameters correctly will dramatically improve the evaluation speed (see [wrapper code](https://github.com/mmagnesium/langchain/blob/master/langchain/llms/llamacpp.py) for more details)." "Setting these parameters correctly will dramatically improve the evaluation speed (see [wrapper code](https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/llms/llamacpp.py) for more details)."
] ]
}, },
{ {

View File

@ -186,9 +186,7 @@
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 8,
"id": "e8ce4fe9", "id": "e8ce4fe9",
"metadata": { "metadata": {},
"scrolled": false
},
"outputs": [], "outputs": [],
"source": [ "source": [
"query = \"What did the president say about Ketanji Brown Jackson\"\n", "query = \"What did the president say about Ketanji Brown Jackson\"\n",
@ -547,7 +545,6 @@
"execution_count": 26, "execution_count": 26,
"id": "e2badd21", "id": "e2badd21",
"metadata": { "metadata": {
"scrolled": false,
"tags": [] "tags": []
}, },
"outputs": [], "outputs": [],
@ -755,7 +752,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.10.9" "version": "3.11.6"
} }
}, },
"nbformat": 4, "nbformat": 4,