From 9c76b30d72b76f0ce1fe7f357651ea9985c2cb24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9D=A1=E8=A7=89=E5=9E=8B=E5=AD=A6=E6=B8=A3?= <59201842+fangtaosong@users.noreply.github.com> Date: Mon, 13 May 2024 09:21:11 +0800 Subject: [PATCH] Correct typos. (#4387) * Correct typos. * Correct typos. --- docs/api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api.md b/docs/api.md index 94cd9c90..0f11c388 100644 --- a/docs/api.md +++ b/docs/api.md @@ -797,9 +797,9 @@ curl http://localhost:11434/api/show -d '{ ```json { - "modelfile": "# Modelfile generated by \"ollama show\"\n# To build a new Modelfile based on this one, replace the FROM line with:\n# FROM llava:latest\n\nFROM /Users/matt/.ollama/models/blobs/sha256:200765e1283640ffbd013184bf496e261032fa75b99498a9613be4e94d63ad52\nTEMPLATE \"\"\"{{ .System }}\nUSER: {{ .Prompt }}\nASSSISTANT: \"\"\"\nPARAMETER num_ctx 4096\nPARAMETER stop \"\u003c/s\u003e\"\nPARAMETER stop \"USER:\"\nPARAMETER stop \"ASSSISTANT:\"", - "parameters": "num_ctx 4096\nstop \u003c/s\u003e\nstop USER:\nstop ASSSISTANT:", - "template": "{{ .System }}\nUSER: {{ .Prompt }}\nASSSISTANT: ", + "modelfile": "# Modelfile generated by \"ollama show\"\n# To build a new Modelfile based on this one, replace the FROM line with:\n# FROM llava:latest\n\nFROM /Users/matt/.ollama/models/blobs/sha256:200765e1283640ffbd013184bf496e261032fa75b99498a9613be4e94d63ad52\nTEMPLATE \"\"\"{{ .System }}\nUSER: {{ .Prompt }}\nASSISTANT: \"\"\"\nPARAMETER num_ctx 4096\nPARAMETER stop \"\u003c/s\u003e\"\nPARAMETER stop \"USER:\"\nPARAMETER stop \"ASSISTANT:\"", + "parameters": "num_ctx 4096\nstop \u003c/s\u003e\nstop USER:\nstop ASSISTANT:", + "template": "{{ .System }}\nUSER: {{ .Prompt }}\nASSISTANT: ", "details": { "format": "gguf", "family": "llama",