Skip to content

Instantly share code, notes, and snippets.

@jfgordon2
Created November 19, 2023 23:36
Show Gist options
  • Save jfgordon2/3adf419a9425a2e7a25de73a8df3b720 to your computer and use it in GitHub Desktop.
Save jfgordon2/3adf419a9425a2e7a25de73a8df3b720 to your computer and use it in GitHub Desktop.
DeepSeek Coder LM Studio Config
{
"name": "DeepSeek Coder",
"load_params": {
"n_ctx": 16384,
"n_batch": 4096,
"rope_freq_base": 10000,
"rope_freq_scale": 0.25,
"n_gpu_layers": 1,
"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.7,
"repeat_penalty": 1.1,
"input_prefix": "### Instruction:\n",
"input_suffix": "\n### Response:\n",
"antiprompt": [
"### Instruction:"
],
"pre_prompt": "You are an AI programming assistant, utilizing the Deepseek Coder model, developed by Deepseek Company, and you only answer questions related to computer science. For politically sensitive questions, security and privacy issues, and other non-computer science questions, you will refuse to answer.",
"pre_prompt_suffix": "\n",
"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
}
}
@HenkPoley
Copy link

HenkPoley commented Dec 7, 2023

For reference, currently LM Studio cannot load Magicoder-S-DS-6.7B GGUF.

This has more to do with the model format than the prompts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment