Dataset Viewer
Auto-converted to Parquet
Search is not available for this dataset
The dataset viewer is taking too long to fetch the data. Try to refresh this page.
Server-side error
Error code:   ClientConnectionError

This dataset consists of meta information (including the repository name and file path) of the raw code data from RefineCode. You can collect those files referring to this metadata and reproduce RefineCode!

Note: Currently, we have uploaded the meta data covered by The Stack V2 (About 50% file volume). Due to complex legal considerations, we are unable to provide the complete source code currently. We are working hard to make the remaining part available.


RefineCode is a high-quality, reproducible code pretraining corpus comprising 960 billion tokens across 607 programming languages and 75 billion code-related token recalled from web corpus, incorporating over 130 language-specific rules with customized weight assignments. Our dataset shows better training efficacy and efficiency compared with the training subset of The Stack V2.

OpenCoder banner

We also use PCA to visualize the embeddings extracted from CodeBERT for The Stack V2 and RefineCode, showing a clear advance of our pretraining dataset.

Distribution Comparsion
Downloads last month
869

Models trained or fine-tuned on OpenCoder-LLM/RefineCode-code-corpus-meta

Collection including OpenCoder-LLM/RefineCode-code-corpus-meta