Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,71 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
- ru
|
| 6 |
+
- code
|
| 7 |
+
task_categories:
|
| 8 |
+
- text-generation
|
| 9 |
+
- text2text-generation
|
| 10 |
+
- question-answering
|
| 11 |
+
size_categories:
|
| 12 |
+
- 100B<n<1T
|
| 13 |
+
tags:
|
| 14 |
+
- multimodal
|
| 15 |
+
- code
|
| 16 |
+
- math
|
| 17 |
+
- pre-training
|
| 18 |
+
- instruction-tuning
|
| 19 |
---
|
| 20 |
+
|
| 21 |
+
# Dataset Card for LLM_multimodal
|
| 22 |
+
|
| 23 |
+
**LLM_multimodal** is the official training corpus designed for the **LLM D6** model series. It contains a massive, high-quality collection of **300 Billion tokens**, carefully curated to balance linguistic diversity, mathematical reasoning, and programming capabilities.
|
| 24 |
+
|
| 25 |
+
This repository hosts both the raw/processed pre-training data and the instruction-following datasets used for supervised fine-tuning (SFT).
|
| 26 |
+
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
## 📊 Dataset Summary
|
| 30 |
+
|
| 31 |
+
* **Total Token Count:** ~300 Billion tokens
|
| 32 |
+
* **Languages:** English (`en`), Russian (`ru`), and various Programming Languages.
|
| 33 |
+
* **Domains:** General Web Text, Academic/Mathematical Papers, Code Repositories, and Conversational data.
|
| 34 |
+
* **Intended Model:** LLaMA-3 architectures (specifically the D6 0.8B parameter custom build).
|
| 35 |
+
* **Tokenizer Compatibility:** This dataset was used to train a custom tokenizer with a **52,000 vocabulary size**, optimized for English, Cyrillic (Russian) scripts, and programming syntax.
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## 📂 Dataset Structure
|
| 40 |
+
|
| 41 |
+
The dataset is divided into two primary subsets to support the full lifecycle of Large Language Model training:
|
| 42 |
+
|
| 43 |
+
### 1. `pre-train` (Unsupervised Corpus)
|
| 44 |
+
This subset contains the bulk of the 300B tokens used for the foundational training phase. It is structured as large text documents (typically stored in `.parquet` or `.jsonl` formats) with a focus on high-quality, deduplicated data.
|
| 45 |
+
|
| 46 |
+
* **English & Russian Text:** Filtered web crawls, encyclopedias, and literature to ensure strong bilingual fluency.
|
| 47 |
+
* **Code:** Source code from permissive repositories covering Python, C++, JavaScript, and other major languages.
|
| 48 |
+
* **Math:** LaTeX-formatted equations, mathematical proofs, and STEM-focused academic texts to enhance reasoning.
|
| 49 |
+
|
| 50 |
+
### 2. `fine-tune` (Instruction/SFT Corpus)
|
| 51 |
+
A curated subset of high-quality prompt-completion pairs formatted for dialogue and instruction following.
|
| 52 |
+
* **ChatML Format Ready:** The data structure natively aligns with standard ChatML prompt templates (`<|bos|>`, `<|eos|>`, role definitions).
|
| 53 |
+
* **Tasks:** Includes physical commonsense reasoning (PIQA), general reasoning (HellaSwag), multi-task accuracy (MMLU), and Russian language understanding (XWinograd RU).
|
| 54 |
+
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
## 🚀 Usage
|
| 58 |
+
|
| 59 |
+
You can easily load this dataset using the `datasets` library from Hugging Face:
|
| 60 |
+
|
| 61 |
+
```python
|
| 62 |
+
from datasets import load_dataset
|
| 63 |
+
|
| 64 |
+
# Load the fine-tuning dataset
|
| 65 |
+
sft_dataset = load_dataset("firdavsus/LLM_multimodal", split="fine_tune")
|
| 66 |
+
|
| 67 |
+
# Load the pre-training dataset (Requires streaming due to size)
|
| 68 |
+
pretrain_dataset = load_dataset("firdavsus/LLM_multimodal", split="pre_train", streaming=True)
|
| 69 |
+
|
| 70 |
+
# Example output from the SFT dataset
|
| 71 |
+
print(sft_dataset[0])
|