banner
andrewji8

Being towards death

Heed not to the tree-rustling and leaf-lashing rain, Why not stroll along, whistle and sing under its rein. Lighter and better suited than horses are straw sandals and a bamboo staff, Who's afraid? A palm-leaf plaited cape provides enough to misty weather in life sustain. A thorny spring breeze sobers up the spirit, I feel a slight chill, The setting sun over the mountain offers greetings still. Looking back over the bleak passage survived, The return in time Shall not be affected by windswept rain or shine.
telegram
twitter
github

快来安装你的私人代码助手!北大最强代码AI大模型 CodeShell 开源!(内附vscode插件安装方法)

CodeShell 是北京大学软件工程国家工程研究中心知识计算实验室联合四川天府银行 AI 实验室开发的一个 70 亿参数的代码大模型,号称 “同等规模最强代码基座”。

CodeShell 基于 5000 亿 Tokens 进行了冷启动训练,上下文窗口长度为 8192,架构设计上融合了 StarCoder 和 Llama 两者的核心特性。

CodeShell 的目标是提供全栈智能编程支持,包括代码生成、代码补全、代码纠错、代码重构、代码注释、代码文档、代码评测等功能。

image

CodeShell 支持多种编程语言,包括 Python, Java, C#, C++, JavaScript, HTML, CSS, SQL 等。CodeShell 还可以根据自然语言描述生成代码,或者根据代码生成自然语言描述。CodeShell 还可以进行跨语言转换,将一种语言的代码转换成另一种语言的代码。

image

CodeShell 如何使用?

CodeShell 的使用方式非常简单,只需要在 VS Code 中安装 CodeShell 的插件,就可以直接在编辑器中调用 CodeShell 的功能。

很多人可能直接取 vscode 搜索 codeShell 了!结果搜索到这个!

image

这是错的!错的!错的!

正确的方式是先按照官网的介绍的步骤,下载并安装!

Screenshot_4ww

执行完命令之后,你会在文件夹中看到这个文件:codeshell-vscode-0.0.1.vsix

image

拖拽这个文件到 vscode 插件区域就会自动安装,安装之后会打开一个说明页面。这才是对的!

image

然后需要配置一下插件的自动补全代码功能

image

完成这些,你才把插件安装好,只是完成一半,你还需要部署大模型。

image

image

按照官方介绍,执行完这些就可以运行了。但是笔者在 clone 过程中一直超时,也不知道是不是大模型太火了,下载人数过多。
有兴趣的朋友可以自行尝试,看看能否部署成功!

codeshell 开源地址:
https://github.com/WisdomShell/codeshell

codeshell 的 VSCode 插件开源地址:

An intelligent coding assistant plugin for Visual Studio Code, developed based on CodeShell

CodeShell 基座模型:

https://huggingface.co/WisdomShell/CodeShell-7B

测评开源地址:

加载中...
此文章数据所有权由区块链加密技术和智能合约保障仅归创作者所有。