# SEC-EDGAR

- **ID:** 342
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/TeraflopAI/SEC-EDGAR
- **Authors:** TeraflopAI
- **Venue:** TeraflopAI
- **Published:** 2025
- **Source:** huggingface
- **Language:** en
- **Access:** free
- **License:** apache-2.0
- **License family:** Permissive (auto-classified)
- **Tags:** hf-dataset-language-modeling-text-finance-edgar-sec
- **Topics:** Language Modeling
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/342

## Summary

[Datamule](https://datamule.xyz/), [Teraflop AI](https://www.teraflopai.com/), and [Eventual](https://www.eventual.ai/) collaborated to release the SEC-EDGAR dataset.

## Attributes

- **Purpose:** Language Modeling, text-classification
- **Scale:** 1M<n<10M
- **Time period:** created 2025-11-13; updated 2026-04-17
- **Author type:** unknown

## From the source (fetched 2026-10-03)

- **Repository:** TeraflopAI/SEC-EDGAR (Hugging Face)
- **Created:** Nov 13, 2025 (Hugging Face)
- **Last updated:** Apr 17, 2026 (Hugging Face)
- **Downloads (last month):** 15,584 (Hugging Face)
- **Likes:** 48 (Hugging Face)
- **Size:** 1M to 10M rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** text-generation, text-classification (Hugging Face)

## Dataset profile

- **Scale:** 8,055,455 filings; 43.7 Billion tokens; 590 GB (uncompressed) / ~295 GB (compressed).
- **Format:** Parquet (containing content, text, and extensive metadata).
- **Type:** Structured Documents / Financial Reports
- **License:** Apache-2.0
- **Cost:** Free
- **Languages:** English
- **Modality:** Text
- **Domain:** Finance, Legal, Regulatory Compliance
- **Time period:** ~1990s to present (Comprehensive historical coverage)
- **Purpose:** Training LLMs on financial data, building RAG pipelines, and automated financial analysis.
- **Used for:** Financial sentiment analysis, information extraction from filings, and audit automation.
- **Authors:** Teraflop AI, Datamule, and Eventual (Collab)
- **Bias:** US-centric (Securities and Exchange Commission filings only).
- **Text quality:** Mixed (includes raw SGML/HTML and parsed clean plaintext).
- **Sample size:** Large (8M+ rows).
- **Long context:** High (annual reports can be hundreds of pages).
- **Intermediate steps:** No (raw and parsed text provided directly).
- **Idea quality:** High (covers all major filing types like 10-K, 10-Q, 8-K).
- **Novelty:** High (one of the largest cleanly parsed open-source SEC datasets).
- **Text conversion:** High (pre-parsed text field available).
- **Collection method:** Download via Hugging Face CLI or datasets library.
- **Static:** Yes (snapshot of major filings).
- **Processed:** Yes (extracted using selectolax and secsgml).

## Links

- Dataset: https://huggingface.co/datasets/TeraflopAI/SEC-EDGAR
- Related: https://github.com/datamule-python/datamule

## Research notes

- downloads=27837; likes=45
- Includes specialized tokenization using Comma v0.1 tokenizer. Form 4 (insider trading) and 8-K (current events) make up the majority of sample counts, while 10-K/10-Q contribute the most tokens.

## Similar entries

- [Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making](https://papers.projxon.ai/entries/1018) (model, #1018)
- [How Depth Growth and Looping Shape In-Context Learning in Language Models](https://papers.projxon.ai/entries/1464) (paper, #1464)
- [Introducing OUI-1: world's first model for Generative UI](https://papers.projxon.ai/entries/703) (post, #703)
- [Reinforcing Recursive Language Models](https://papers.projxon.ai/entries/1100) (post, #1100)
- [Discussion thread on diffusion language models (Sean Welleck)](https://papers.projxon.ai/entries/757) (thread, #757)
- [Accessing EDGAR Data (SEC)](https://papers.projxon.ai/entries/247) (dataset, #247)
