Skip to content

Instantly share code, notes, and snippets.

@beowolx
Created December 22, 2023 16:49
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save beowolx/b219466681c02ff67baf8f313a3ad817 to your computer and use it in GitHub Desktop.
Save beowolx/b219466681c02ff67baf8f313a3ad817 to your computer and use it in GitHub Desktop.
This is the prompt preset for OpenChat 3.5 models in LM Studio
{
"name": "OpenChat 3.5",
"load_params": {
"n_ctx": 8192,
"n_batch": 512,
"rope_freq_base": 10000,
"rope_freq_scale": 1,
"n_gpu_layers": 80,
"use_mlock": true,
"main_gpu": 0,
"tensor_split": [
0
],
"seed": -1,
"f16_kv": true,
"use_mmap": true
},
"inference_params": {
"n_threads": 4,
"n_predict": -1,
"top_k": 40,
"top_p": 0.95,
"temp": 0.8,
"repeat_penalty": 1.1,
"input_prefix": "GPT4 Correct User:",
"input_suffix": "<|end_of_turn|>GPT4 Correct Assistant:",
"antiprompt": [
"<|end_of_turn|>"
],
"pre_prompt": "You are an AI programming assistant, utilizing the CodeNinja model and you only answer questions related to computer science.",
"pre_prompt_suffix": "",
"pre_prompt_prefix": "",
"seed": -1,
"tfs_z": 1,
"typical_p": 1,
"repeat_last_n": 64,
"frequency_penalty": 0,
"presence_penalty": 0,
"n_keep": 0,
"logit_bias": {},
"mirostat": 0,
"mirostat_tau": 5,
"mirostat_eta": 0.1,
"memory_f16": true,
"multiline_input": false,
"penalize_nl": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment