Datasets:
Download github_code_v1/README.md from pathcosmos/korean-pretrain-corpus: direct link, hf CLI and curl.
- Browser
- Download file 3.74 kB
-
https://huggingface.co/datasets/pathcosmos/korean-pretrain-corpus/resolve/main/github_code_v1/README.md
- Command line
-
hf download hf://datasets/pathcosmos/korean-pretrain-corpus/github_code_v1/README.md
-
curl -L -o README.md https://huggingface.co/datasets/pathcosmos/korean-pretrain-corpus/resolve/main/github_code_v1/README.md
pretty_name: Korean Pretraining Corpus — github_code_v1
license: other
license_name: upstream-source-specific-conditions
license_link: >-
https://huggingface.co/datasets/pathcosmos/korean-pretrain-corpus/blob/v1.1.0/github_code_v1/LICENSE-SCOPE.md
configs:
- config_name: original_documents
default: true
data_files:
- split: all
path: github_code_v1/text/*.parquet
tags:
- pretraining
- reproducibility
- text
- llm
- language-modeling
- korean-pretrain-corpus
- tokenized
- exact-deduplication
- canonical-splits
- code
- source-code
task_categories:
- text-generation
Korean Pretraining Corpus — github_code_v1
한국어
기존 정제 스냅샷의 전체 텍스트·토큰·분리 정보·문서 위치를 전송하고 검증했습니다. 출처·고지의 미확인 범위는 source.json에 명시합니다.
원본: codeparrot/github-code. 선택 범위: 64 evenly spread shards out of 1126. 기존 정제본 2,148,459문서, 학습 2,125,938/검증 22,521문서입니다. pathcosmos는 추가 정제·분리·패키징 제작자이며 원문 제작자는 원 출처를 따릅니다.
정제 Parquet의 원래 bytes와 행번호를 보존합니다. original_documents/all은 train과 eval을 함께 포함합니다.
학습에는 아래 로더로 split="train", source="github_code_v1"을 명시하고, 검증에는 split="validation", source="github_code_v1"을 사용하세요.
문서별 분리표·token offsets와 전체 train/validation bin을 함께 제공합니다.
출처 복원 상태: repo_path_row_preserved_git_commit_unknown. 복원하지 않은 URL이나 원 Git commit을 확인된 것으로 표시하지 않습니다.
원본 라이선스의 범위와 미완료 고지는 source.json, LICENSE-SCOPE.md를 확인하세요.
English
The complete existing source snapshot is public and verified. Remaining attribution/notice gaps are documented in source.json.
Upstream: codeparrot/github-code; revision b5661e6b17396364b2bcf8e68977b0d28e1ebd19.
Original selection: 64 evenly spread shards out of 1126. Locally curated documents: 2,148,459.
pathcosmos performed additional curation and packaging; upstream authors retain attribution.
text/ preserves the original cleaned Parquet bytes and row identity.
The original_documents config exposes an all split containing both train and eval.
Use the supplied reader with an explicit split to preserve the canonical holdout.
The corpus is not relabeled under the helper-code license. See source-specific license scope and known gaps.
Canonical split reader
Download public_corpus_reader.py from this repository, then:
from huggingface_hub import HfApi
from public_corpus_reader import download_and_iter
repo = "pathcosmos/korean-pretrain-corpus"
revision = "v1.1.0"
for document in download_and_iter(repo, revision=revision, split="train", source="github_code_v1", max_documents=10):
print(document["doc_id"], document["text"][:120])
Use the pinned v1.1.0 tag or the commit in the main release index. tokens/train/ and tokens/validation/
are little-endian uint16, EOS=1, using tokenizer SHA
050f9b43cf964f0c3b29ae443a1c2eae46cb2ee0022cc010bcfea3d26acf1706.
Different tokenizers require retokenizing text. Token offsets include the appended EOS.
Full card and 13 language documents. Questions/private removal requests: miracle.yang@pathcosmos.com.