From e7adf5fe4efb586a7e9c9dd2c1a4e7faecb004ba Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 9 Mar 2023 10:27:11 -0300 Subject: [PATCH] Add Contrastive Search preset #197 --- README.md | 1 - presets/Contrastive Search.txt | 3 +++ presets/Instruct Joi (Contrastive Search).txt | 5 ----- 3 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 presets/Contrastive Search.txt delete mode 100644 presets/Instruct Joi (Contrastive Search).txt diff --git a/README.md b/README.md index 9efacb7c..62e8d725 100644 --- a/README.md +++ b/README.md @@ -190,5 +190,4 @@ For these two, please try commenting on an existing issue instead of creating a - NovelAI and KoboldAI presets: https://github.com/KoboldAI/KoboldAI-Client/wiki/Settings-Presets - Pygmalion preset, code for early stopping in chat mode, code for some of the sliders, --chat mode colors: https://github.com/PygmalionAI/gradio-ui/ - Verbose preset: Anonymous 4chan user. -- Instruct-Joi preset: https://huggingface.co/Rallio67/joi_12B_instruct_alpha - Gradio dropdown menu refresh button: https://github.com/AUTOMATIC1111/stable-diffusion-webui diff --git a/presets/Contrastive Search.txt b/presets/Contrastive Search.txt new file mode 100644 index 00000000..832bc9ca --- /dev/null +++ b/presets/Contrastive Search.txt @@ -0,0 +1,3 @@ +do_sample=False +penalty_alpha=0.6 +top_k=4 diff --git a/presets/Instruct Joi (Contrastive Search).txt b/presets/Instruct Joi (Contrastive Search).txt deleted file mode 100644 index e17f0a66..00000000 --- a/presets/Instruct Joi (Contrastive Search).txt +++ /dev/null @@ -1,5 +0,0 @@ -top_p=0.95 -temperature=0.5 -penalty_alpha=0.6 -top_k=4 -repetition_penalty=1.03