summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-10-17 19:52:53 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2023-10-17 19:52:53 +0300
commite74c705e15cd228ad696c4a3cdea6d6fb4ff434c (patch)
treea930b8a85e18d268f7f5b088cc947fc1e24cc351
parent3ad1e3f1a10c1f66b4f1cd7510e0977fadbc0dfd (diff)
editorconfig : remove trailing spaces
-rw-r--r--examples/server/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/server/README.md b/examples/server/README.md
index 9737010d..9f0ace3d 100644
--- a/examples/server/README.md
+++ b/examples/server/README.md
@@ -164,7 +164,7 @@ node index.js
`content`: Completion result as a string (excluding `stopping_word` if any). In case of streaming mode, will contain the next token as a string.
- `stop`: Boolean for use with `stream` to check whether the generation has stopped (Note: This is not related to stopping words array `stop` from input options)
+ `stop`: Boolean for use with `stream` to check whether the generation has stopped (Note: This is not related to stopping words array `stop` from input options)
`generation_settings`: The provided options above excluding `prompt` but including `n_ctx`, `model`
@@ -186,7 +186,7 @@ node index.js
`tokens_evaluated`: Number of tokens evaluated in total from the prompt
- `truncated`: Boolean indicating if the context size was exceeded during generation, i.e. the number of tokens provided in the prompt (`tokens_evaluated`) plus tokens generated (`tokens predicted`) exceeded the context size (`n_ctx`)
+ `truncated`: Boolean indicating if the context size was exceeded during generation, i.e. the number of tokens provided in the prompt (`tokens_evaluated`) plus tokens generated (`tokens predicted`) exceeded the context size (`n_ctx`)
- **POST** `/tokenize`: Tokenize a given text.