From d8d3c4678e3b2b102cfe67302cedcc97ca5eb1f3 Mon Sep 17 00:00:00 2001 From: erikkaum Date: Thu, 25 Jul 2024 18:03:21 +0200 Subject: [PATCH] run update docs --- docs/openapi.json | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/docs/openapi.json b/docs/openapi.json index ec4f214c..f367d55a 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -864,6 +864,14 @@ "nullable": true, "minimum": 0 }, + "no_repeat_ngram_size": { + "type": "integer", + "format": "int32", + "description": "n-grams are groups of \"n\" consecutive words, characters, or tokens taken from a sequence of text. Given the\nsentence: \"She runs fast\", the bi-grams (n=2) would be (\"she\", \"runs\") and (\"runs\", \"fast\"). Set this to avoid\ngenerating the same n-grams in the completion.", + "example": "12", + "nullable": true, + "minimum": 0 + }, "presence_penalty": { "type": "number", "format": "float", @@ -1140,6 +1148,14 @@ "example": "mistralai/Mistral-7B-Instruct-v0.2", "nullable": true }, + "no_repeat_ngram_size": { + "type": "integer", + "format": "int32", + "description": "n-grams are groups of \"n\" consecutive words, characters, or tokens taken from a sequence of text. Given the\nsentence: \"She runs fast\", the bi-grams (n=2) would be (\"she\", \"runs\") and (\"runs\", \"fast\"). Set this to avoid\ngenerating the same n-grams in the completion.", + "example": "12", + "nullable": true, + "minimum": 0 + }, "prompt": { "$ref": "#/components/schemas/Prompt" }, @@ -1379,15 +1395,6 @@ "nullable": true, "exclusiveMinimum": -2 }, - "no_repeat_ngram_size": { - "type": "integer", - "format": "int32", - "description": "If set to int > 0, all ngrams of that size can only occur once.", - "default": "null", - "example": 12, - "nullable": true, - "minimum": 0 - }, "grammar": { "allOf": [ { @@ -1406,6 +1413,14 @@ "nullable": true, "minimum": 0 }, + "no_repeat_ngram_size": { + "type": "integer", + "format": "int32", + "description": "n-grams are groups of \"n\" consecutive words, characters, or tokens taken from a sequence of text. Given the\nsentence: \"She runs fast\", the bi-grams (n=2) would be (\"she\", \"runs\") and (\"runs\", \"fast\"). Set this to avoid\ngenerating the same n-grams in the completion.", + "example": "12", + "nullable": true, + "minimum": 0 + }, "repetition_penalty": { "type": "number", "format": "float",