Update README.md
Browse files
README.md
CHANGED
|
@@ -1,8 +1,15 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
-
license_name:
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
|
|
|
| 6 |
# Python Official Documentation Training Dataset
|
| 7 |
|
| 8 |
An Apache Arrow formatted, tokenized dataset created directly from the official **Python Documentation (500+ pages)**. This dataset is optimized for training and fine-tuning language models on core Python concepts, standard library usage, syntax rules, and official programming guidelines.
|
|
@@ -14,15 +21,9 @@ An Apache Arrow formatted, tokenized dataset created directly from the official
|
|
| 14 |
* **Dataset Name:** `python-training-dataset`
|
| 15 |
* **Source Material:** Official Python Documentation (500+ pages)
|
| 16 |
* **Format:** Apache Arrow (`data-00000-of-00001.arrow`)
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
* **License:** Python Software Foundation License (`psf2`)
|
| 20 |
-
|
| 21 |
-
|
| 22 |
* **Primary Feature:** Pre-tokenized sequence arrays (`input_ids`)
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
---
|
| 27 |
|
| 28 |
## Dataset Structure
|
|
@@ -32,10 +33,8 @@ An Apache Arrow formatted, tokenized dataset created directly from the official
|
|
| 32 |
The dataset contains pre-tokenized token ID lists designed for immediate ingestion into transformer-based neural network models:
|
| 33 |
|
| 34 |
| Feature | Data Type | Description |
|
| 35 |
-
| --- | --- | --- |
|
| 36 |
-
| `input_ids` | `List(int32)` | Tokenized integer sequence representations derived from Python's official documentation
|
| 37 |
-
|
| 38 |
-
|
|
| 39 |
|
| 40 |
---
|
| 41 |
|
|
@@ -54,19 +53,4 @@ print(dataset)
|
|
| 54 |
|
| 55 |
# Access a single tokenized sequence
|
| 56 |
sample = dataset["train"][0]
|
| 57 |
-
print("Token IDs sample:", sample["input_ids"][:10])
|
| 58 |
-
|
| 59 |
-
```
|
| 60 |
-
|
| 61 |
-
---
|
| 62 |
-
|
| 63 |
-
## Intended Use & Applications
|
| 64 |
-
|
| 65 |
-
* **Language Model Pre-training & Fine-tuning:** Enhance LLMs with structured knowledge from official Python language references and standard library documentation.
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
* **Code Understanding & Generation:** Train models to understand Python syntax, idiomatic code patterns, and core library implementations.
|
| 69 |
-
|
| 70 |
-
> **Note:** Because the text is already converted to `input_ids`, pass these tokens through your corresponding tokenizer's `decode()` method if you need to recover the raw text representations.
|
| 71 |
-
>
|
| 72 |
-
>
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
+
license_name: psf-2.0
|
| 4 |
+
pretty_name: Python Documentation Training Dataset
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- python
|
| 9 |
+
- code
|
| 10 |
+
- documentation
|
| 11 |
---
|
| 12 |
+
|
| 13 |
# Python Official Documentation Training Dataset
|
| 14 |
|
| 15 |
An Apache Arrow formatted, tokenized dataset created directly from the official **Python Documentation (500+ pages)**. This dataset is optimized for training and fine-tuning language models on core Python concepts, standard library usage, syntax rules, and official programming guidelines.
|
|
|
|
| 21 |
* **Dataset Name:** `python-training-dataset`
|
| 22 |
* **Source Material:** Official Python Documentation (500+ pages)
|
| 23 |
* **Format:** Apache Arrow (`data-00000-of-00001.arrow`)
|
| 24 |
+
* **License:** Python Software Foundation License (`psf-2.0`)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
* **Primary Feature:** Pre-tokenized sequence arrays (`input_ids`)
|
| 26 |
|
|
|
|
|
|
|
| 27 |
---
|
| 28 |
|
| 29 |
## Dataset Structure
|
|
|
|
| 33 |
The dataset contains pre-tokenized token ID lists designed for immediate ingestion into transformer-based neural network models:
|
| 34 |
|
| 35 |
| Feature | Data Type | Description |
|
| 36 |
+
| :--- | :--- | :--- |
|
| 37 |
+
| `input_ids` | `List(int32)` | Tokenized integer sequence representations derived from Python's official documentation |
|
|
|
|
|
|
|
| 38 |
|
| 39 |
---
|
| 40 |
|
|
|
|
| 53 |
|
| 54 |
# Access a single tokenized sequence
|
| 55 |
sample = dataset["train"][0]
|
| 56 |
+
print("Token IDs sample:", sample["input_ids"][:10])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|