Nanthasit/github-docs
GitHub Docs Corpus A dataset containing only information from GitHub — the official github/docs repository, i.e. the source of docs.github.com. Dataset Structure Files: data/train.jsonl Format: JSONL, one chunk per line Columns: text (cleaned doc chunk), metadata (source, title) Rows: 3,336 Composition Source: github/docs (main branch), content/ tree only — 3,734 Markdown files covering GitHub features, workflows, webhooks, REST/GraphQL API docs… See the full description on the dataset page: https://huggingface.co/datasets/Nanthasit/github-docs.
0101
GitHub Docs Corpus
A dataset containing only information from GitHub — the official github/docs repository, i.e. the source of docs.github.com.
Dataset Structure
- Files:
data/train.jsonl - Format: JSONL, one chunk per line
- Columns:
text(cleaned doc chunk),metadata(source,title) - Rows: 3,336
Composition
- Source:
github/docs(main branch),content/tree only — 3,734 Markdown files covering GitHub features, workflows, webhooks, REST/GraphQL API docs, actions, security, and more. - Processing: YAML frontmatter stripped (title kept), Liquid version tags (
{% ifversion %}), images and HTML comments removed, markdown links flattened to their text, chunks split at heading boundaries (~2,000 chars). - Excludes: files outside
content/, assets, and pages with fewer than 40 chars of body text.
Loading
from datasets import load_dataset
ds = load_dataset("Nanthasit/github-docs", split="train")