mlsanityData to 7 Oct 2026

CodeShell Technical Report

arXiv 2403.15747 ↗First posted 23 Mar 2024cs.SE cs.AIcited by 6

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 17 of its 21 references that are in the map. First posted on arXiv 23 Mar 2024.

Builds on

17 of 21 references.

References · 17

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  5. 2021Program Synthesis with Large Language Modelscited by 3,509
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  7. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  8. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  9. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  10. 2023Textbooks Are All You Needcited by 561
  11. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  12. 2022The Stack: 3 TB of permissively licensed source codecited by 354
5 more
  1. 2022Efficient Training of Language Models to Fill in the Middlecited by 248
  2. 2023SantaCoder: don't reach for the stars!cited by 169
  3. 2023CoderEval: A Benchmark of Pragmatic Code Generation with Generative Pre-trained Modelscited by 28
  4. 2022Perplexed by Quality: A Perplexity-based Method for Adult and Harmful Content Detection in Multilingual Heterogeneous Web Datacited by 22
  5. 2016Set Similarity Search Beyond MinHashcited by 4

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 4.

6 papers.