Comments (8)
目前正在集成中,但是可以使用开源的插件如refact,替换成我们的模型即可
from deepseek-coder.
@hobpond Thanks, I'll try it
from deepseek-coder.
可以魔改 codeshell 的 vscode 插件 ^^ 我试过用 llama.cpp 的 server 起一个 mistral-7b 搭配 codeshell vscode 插件,只需要修改插件内置的 prompt 改成 mistral 的格式就能正常使用了 ^^
from deepseek-coder.
I have a plan to implement it using codegpt+DeepSeek-Coder
https://www.youtube.com/watch?v=cAfWOMZXPGk&t=338s
https://www.bilibili.com/video/BV1EC4y1X74C/
from deepseek-coder.
同问
from deepseek-coder.
@yportne13 Where can I change the built in prompt from codeshell vscode ? Thanks
Edit : When using regular llama cpp with deepseek coder, when completion there's message
type error: respData.split is not a function
from deepseek-coder.
Have you tried Continue.dev, an extension for VSCode? You can load the model with llama.cpp and add Deepseek as the model to use.
Here's my config (in the continue.dev text box, type /config to access) Got it from YearZero on TheBloke's discord.
{
"models": [
{
"title": "CodeLlama-34b-Instruct",
"provider": "llama.cpp",
"model": "codellama-34b",
"api_base": "http://localhost:8080"
},
{
"title": "CodeLlama-7b-Instruct",
"provider": "llama.cpp",
"model": "codellama-7b",
"api_base": "http://localhost:8080",
"system_message": ""
},
{
"title": "DeepSeek",
"provider": "llama.cpp",
"model": "deepseek-33b",
"api_base": "http://localhost:8080"
}
],
"model_roles": {
"default": "DeepSeek",
"chat": "DeepSeek",
"edit": "DeepSeek",
"summarize": "DeepSeek"
},
"system_message": "",
"slash_commands": [
{
"name": "edit",
"description": "Edit highlighted code",
"step": "EditHighlightedCodeStep"
},
{
"name": "config",
"description": "Customize Continue",
"step": "OpenConfigStep"
},
{
"name": "comment",
"description": "Write comments for the highlighted code",
"step": "CommentCodeStep"
},
{
"name": "clear",
"description": "Clear step history",
"step": "ClearHistoryStep"
},
{
"name": "share",
"description": "Download and share this session",
"step": "ShareSessionStep"
},
{
"name": "cmd",
"description": "Generate a shell command",
"step": "GenerateShellCommandStep"
}
],
"custom_commands": [
{
"name": "test",
"prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
"description": "Write unit tests for highlighted code"
}
],
"context_providers": [
{
"name": "diff"
},
{
"name": "url"
},
{
"name": "terminal"
}
]
}
from deepseek-coder.
@wwwzhouhui cool !
from deepseek-coder.
Related Issues (20)
- 微调完的模型,如何跟基础模型合并? HOT 1
- 本地部署怎么实现vscode自动代码补全? HOT 1
- How to use fine-tuned model? HOT 3
- 使用vllm加速inference后输出容易不符合格式要求
- 使用vllm加载33b-base或33b-instruct后,使用DS-1000、Program-Aided Math Reasoning (PAL)评估集进行评估,得分很低,与论文上的数据不符
- 并发数目
- 用vllm加速推理框架 推理速度还是很慢 HOT 1
- Are EOS tokens masked during pre-training? If so, how does FIM mode know how to connect to the `text_after`?
- 训练数据切分问题 HOT 1
- 疑惑:为什么 base 模型的 tokenizer 词表中也有类似 <|Assistant|> 这样多用于 chat 模型的 special tokens?
- Deepseekcoder 6 spitting out corrupt output for code generation question
- 为什么在进行一次训练加载后,会出现找不到显卡no slot的报错呢?
- RuntimeError: CUDA error: no kernel image is available for execution on the device
- Where is DeepSeek-Coder-V2?
- Long Code Arena
- deepseek-coder-6.7b-base vuejs代码补全上存在一些问题
- 加载模型时出错
- What is the correct padding side for train/eval of base model for FIM?
- dependency parsing code and deduplication script
- Problem in Math Evaluation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepseek-coder.