CodeShell Technical Report

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Xie, Rui, Zeng, Zhengran, Yu, Zhuohao, Gao, Chang, Zhang, Shikun, Ye, Wei
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929286630342656
author Xie, Rui
Zeng, Zhengran
Yu, Zhuohao
Gao, Chang
Zhang, Shikun
Ye, Wei
author_facet Xie, Rui
Zeng, Zhengran
Yu, Zhuohao
Gao, Chang
Zhang, Shikun
Ye, Wei
contents Code large language models mark a pivotal breakthrough in artificial intelligence. They are specifically crafted to understand and generate programming languages, significantly boosting the efficiency of coding development workflows. In this technical report, we present CodeShell-Base, a seven billion-parameter foundation model with 8K context length, showcasing exceptional proficiency in code comprehension. By incorporating Grouped-Query Attention and Rotary Positional Embedding into GPT-2, CodeShell-Base integrates the structural merits of StarCoder and CodeLlama and forms its unique architectural design. We then carefully built a comprehensive data pre-processing process, including similar data deduplication, perplexity-based data filtering, and model-based data filtering. Through this process, We have curated 100 billion high-quality pre-training data from GitHub. Benefiting from the high-quality data, CodeShell-Base outperforms CodeLlama in Humaneval after training on just 500 billion tokens (5 epochs). We have conducted extensive experiments across multiple language datasets, including Python, Java, and C++, and the results indicate that our model possesses robust foundational capabilities in code comprehension and generation.
format Preprint
id arxiv_https___arxiv_org_abs_2403_15747
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CodeShell Technical Report
Xie, Rui
Zeng, Zhengran
Yu, Zhuohao
Gao, Chang
Zhang, Shikun
Ye, Wei
Software Engineering
Artificial Intelligence
Code large language models mark a pivotal breakthrough in artificial intelligence. They are specifically crafted to understand and generate programming languages, significantly boosting the efficiency of coding development workflows. In this technical report, we present CodeShell-Base, a seven billion-parameter foundation model with 8K context length, showcasing exceptional proficiency in code comprehension. By incorporating Grouped-Query Attention and Rotary Positional Embedding into GPT-2, CodeShell-Base integrates the structural merits of StarCoder and CodeLlama and forms its unique architectural design. We then carefully built a comprehensive data pre-processing process, including similar data deduplication, perplexity-based data filtering, and model-based data filtering. Through this process, We have curated 100 billion high-quality pre-training data from GitHub. Benefiting from the high-quality data, CodeShell-Base outperforms CodeLlama in Humaneval after training on just 500 billion tokens (5 epochs). We have conducted extensive experiments across multiple language datasets, including Python, Java, and C++, and the results indicate that our model possesses robust foundational capabilities in code comprehension and generation.
title CodeShell Technical Report
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2403.15747