--- license: mit task_categories: - text-generation language: - en tags: - code - medical - biology - chemistry - finance --- # Orion-Spark-2 Dataset ## Overview The **Orion-Spark-2 Dataset** is a text corpus curated for training the Orion-Spark-2 transformer language model. It consists of a diverse collection of sentences extracted from multiple sources including Wikipedia articles, technology news sites, developer resources, and other open-access web pages. The dataset is designed to provide broad coverage of general knowledge, programming topics, artificial intelligence, space, popular culture, and current events. ## Structure - **File:** `corpus.txt` - **Format:** Plain text, one sentence per line. - **Encoding:** UTF-8 - **Line Count:** Approximately 60,000+ lines - **Checkpoint:** `corpus_checkpoint.txt` to track downloaded lines for resuming corpus collection. ## Sources The dataset draws content from: - Wikipedia pages (various topics including AI, programming languages, mathematics, astronomy, and historical events) - News and tech sites (BBC Technology, TechCrunch) - Open-source repositories (GitHub) - Educational and community platforms (Fast.ai) - Hugging Face datasets ## Processing - Each line in the dataset is cleaned to remove excessive whitespace. - Sentences shorter than 30 characters are discarded. - HTML content is parsed using BeautifulSoup to extract text from paragraph and header tags (`
`, `