CodeShell is a multi-language code LLM developed by the
Knowledge Computing Lab
of Peking University. CodeShell has 7 billion parameters and was trained on 500 billion tokens with a context window length of 8194. On authoritative code evaluation benchmarks (HumanEval and MBPP), CodeShell achieves the best performance of its scale. Meanwhile, we provide deployment solutions and IDE plugins that complement CodeShell. Please refer to the
CodeShell code repository
for more details. This repository is for the Int4 quantized model of CodeShell-7B-Chat.
Powerful Performance
: CodeShell achieves optimal performance for a 7B code base model on HumanEval and MBPP.
Complete Ecosystem
: In addition to the mega code model, open-source IDE plugins (for VS Code and JetBrains) are also available, forming a comprehensive open-source full-stack technology system.
Lightweight Deployment
: Supports local C++ deployment, offering a lightweight and fast localized software development assistant solution.
Comprehensive Evaluation
: Provides a multi-task evaluation system that supports full project context, covering code generation, code defect detection and repair, test case generation, and other common software development activities (to be open-sourced soon).
Efficient Training
: Based on an efficient data governance system, CodeShell, even when starting from scratch, achieved outstanding performance with training on just 500 trillion tokens.
Code Shell uses GPT-2 as its foundational architecture and incorporates technologies such as Grouped-Query Attention and RoPE relative position encoding.
We selected the two most popular code evaluation datasets currently available (HumanEval and MBPP) to assess the model. Compared to the two most advanced 7b LLM for code, CodeLllama and Starcoder, Codeshell achieved the best results. The specific evaluation results are as follows.
We hereby declare that our development team has developed intelligent coding assistant plugins for vscode and intellij based on the CodeShell model, both of which have been open-sourced. Beyond this, whether for iOS, Android, HarmonyOS, Web, or any other platform, our development team has not developed any applications based on the CodeShell model. We strongly urge all users not to use the CodeShell model for activities that endanger national and social security or are illegal. At the same time, we request users not to use the CodeShell model in internet services that have not undergone proper security reviews and registration. We hope all users will adhere to this principle to ensure the development of technology in a compliant and legal environment.
Despite our significant efforts to ensure compliance in the data used during the model training process, unforeseen issues may arise due to the complexity of the models and data. Therefore, we are not responsible for any issues arising from the use of the open-sourced CodeShell model, including but not limited to data security issues, public opinion risks, or risks and problems related to the model being misused, abused, disseminated, or exploited improperly.
Community use of the CodeShell model requires adherence to the
"CodeShell License Agreement"
and the
Apache 2.0 License
. The CodeShell model is allowed for commercial use, but if you plan to use the CodeShell model or its derivatives for commercial purposes, you need to ensure that the entity meets the following conditions:
The Daily Active Users (DAU) of your or your affiliate's service or product is less than 1 million.
You and your affiliates must not be a software service provider or cloud service provider targeting individual users.
You and your affiliates should not have the possibility of sub-licensing to other third parties without obtaining the commercial license granted.
Under the aforementioned conditions, you need to submit the application materials required by the "CodeShell License Agreement" by sending an email to
[email protected]
. After approval, you will be granted a global, non-exclusive, non-transferable, non-sublicensable commercial copyright license.
Runs of WisdomShell CodeShell-7B-Chat-int4 on huggingface.co
977
Total runs
0
24-hour runs
17
3-day runs
139
7-day runs
356
30-day runs
More Information About CodeShell-7B-Chat-int4 huggingface.co Model
CodeShell-7B-Chat-int4 huggingface.co
CodeShell-7B-Chat-int4 huggingface.co is an AI model on huggingface.co that provides CodeShell-7B-Chat-int4's model effect (), which can be used instantly with this WisdomShell CodeShell-7B-Chat-int4 model. huggingface.co supports a free trial of the CodeShell-7B-Chat-int4 model, and also provides paid use of the CodeShell-7B-Chat-int4. Support call CodeShell-7B-Chat-int4 model through api, including Node.js, Python, http.
CodeShell-7B-Chat-int4 huggingface.co is an online trial and call api platform, which integrates CodeShell-7B-Chat-int4's modeling effects, including api services, and provides a free online trial of CodeShell-7B-Chat-int4, you can try CodeShell-7B-Chat-int4 online for free by clicking the link below.
WisdomShell CodeShell-7B-Chat-int4 online free url in huggingface.co:
CodeShell-7B-Chat-int4 is an open source model from GitHub that offers a free installation service, and any user can find CodeShell-7B-Chat-int4 on GitHub to install. At the same time, huggingface.co provides the effect of CodeShell-7B-Chat-int4 install, users can directly use CodeShell-7B-Chat-int4 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
CodeShell-7B-Chat-int4 install url in huggingface.co: