mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
c5ebcc5f7e
* Update shared.py * Update settings-template.json
39 lines
1.8 KiB
JSON
39 lines
1.8 KiB
JSON
{
|
|
"max_new_tokens": 200,
|
|
"max_new_tokens_min": 1,
|
|
"max_new_tokens_max": 2000,
|
|
"name1": "You",
|
|
"name2": "Assistant",
|
|
"context": "This is a conversation with your Assistant. The Assistant is very helpful and is eager to chat with you and answer your questions.",
|
|
"stop_at_newline": false,
|
|
"chat_prompt_size": 2048,
|
|
"chat_prompt_size_min": 0,
|
|
"chat_prompt_size_max": 2048,
|
|
"chat_generation_attempts": 1,
|
|
"chat_generation_attempts_min": 1,
|
|
"chat_generation_attempts_max": 5,
|
|
"name1_pygmalion": "You",
|
|
"name2_pygmalion": "Kawaii",
|
|
"context_pygmalion": "Kawaii's persona: Kawaii is a cheerful person who loves to make others smile. She is an optimist who loves to spread happiness and positivity wherever she goes.\n<START>",
|
|
"stop_at_newline_pygmalion": false,
|
|
"default_extensions": [],
|
|
"chat_default_extensions": [
|
|
"gallery"
|
|
],
|
|
"presets": {
|
|
"default": "NovelAI-Sphinx Moth",
|
|
"pygmalion-*": "Pygmalion",
|
|
"RWKV-*": "Naive"
|
|
},
|
|
"prompts": {
|
|
"default": "Common sense questions and answers\n\nQuestion: \nFactual answer:",
|
|
"^(gpt4chan|gpt-4chan|4chan)": "-----\n--- 865467536\nInput text\n--- 865467537\n",
|
|
"(rosey|chip|joi)_.*_instruct.*": "User: \n",
|
|
"oasst-*": "<|prompter|>Write a story about future of AI development<|endoftext|><|assistant|>"
|
|
},
|
|
"lora_prompts": {
|
|
"default": "Common sense questions and answers\n\nQuestion: \nFactual answer:",
|
|
"alpaca-lora-7b": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n### Instruction:\nWrite a poem about the transformers Python library. \nMention the word \"large language models\" in that poem.\n### Response:\n"
|
|
}
|
|
}
|