--- license: other license_name: permissive-mixed license_link: LICENSE task_categories: - text-generation - fill-mask - feature-extraction language: - en tags: - code - github - ai-training - llm - fine-tuning - code-generation - python - javascript - typescript - rust - go - permissive-license - apache-2.0 - mit - commercial-safe pretty_name: HSH Intelligence — GitHub Code AI Training Corpus (Sample) size_categories: - 1K= 0.95 ) ``` ```python import pandas as pd # Or load directly with pandas df = pd.read_parquet( "hf://datasets/HSH-Intelligence/github-code-corpus-sample/github_code_sample_1000.parquet" ) print(df.head()) print(f"Total records: {len(df):,}") print(f"Languages: {df['language'].value_counts()}") ``` --- ## Live API Demo Try the full corpus via the live API sandbox (no signup required): ```bash curl -H "X-API-Key: demo-key-12345" \ "https://api.hshintelligence.com/api/v1/github-code-corpus?language=Rust&license=MIT&page_size=5" ``` Or run the interactive Google Colab notebook: 👉 https://links.hshintelligence.com/github-demo --- ## Use Cases - **LLM pre-training** — multi-language code corpus for foundation models - **Code completion fine-tuning** — Copilot-style models - **Code search and retrieval** — embedding training - **Code understanding research** — academic benchmarks - **Vertical AI** — domain-specific code assistants --- ## Why This Corpus | Vs. Alternative | HSH Edge | |---|---| | The Stack v2 | License-audited per file with provenance trail | | Common Crawl code | Pre-filtered, deduplicated, quality-scored | | Custom GitHub scraping | Saves 4+ months of engineering work | | Internal datasets | EU AI Act Article 10 compliance ready | --- ## Compliance & Provenance - **EU AI Act Article 10** ready (training data governance) - Per-record license audit trail - Source attribution retained (repo_name, repo_owner) - Quality scoring per record - No PII, no API keys, no secrets (sensitive content filtered) Full provenance and audit report: 👉 https://links.hshintelligence.com/github-docs --- ## Full Corpus Access This is a **1,000-record evaluation sample**. The full corpus is available via commercial license: - **Format options:** Apache Parquet (default) / JSONL on request - **Delivery:** Cloud signed URL / AWS S3 cross-cloud / sFTP - **Custom subsets:** Filter by language, license, repo, or quality threshold - **Updates:** Daily incremental updates included with annual licenses - **Licensing:** 1-year non-exclusive commercial license **Contact:** sales@healingsunhaven.com **Website:** https://www.hshintelligence.com **Live API:** https://api.hshintelligence.com --- ## About HSH Intelligence HSH Intelligence is a Data Division of Healing Sun Haven LLC, building world-class AI training datasets and B2B intelligence products. We build production-grade datasets across AI training, B2B intelligence, and decision-support — purpose-built for frontier AI labs and enterprise teams. --- *This dataset is provided for evaluation purposes. The full 5.6 TB corpus is available under commercial license. License audit and provenance documentation included with all enterprise contracts.*