JayeshSharma commited on
Commit
d323c1e
·
verified ·
1 Parent(s): e418105

Upload 3 files

Browse files

# Python Training Dataset

This repository contains a pre-tokenized dataset in Apache Arrow format designed for training or fine-tuning language models on Python programming concepts and code.

---

## Dataset Details

* **Dataset Name:** `python-training-dataset`
* **Format:** Apache Arrow (`.arrow`)


* **License:** Python Software Foundation License 2.0 (`psf2`)


* **Data Splits:** Single-shard train/default set (`data-00000-of-00001.arrow`)



---

## Dataset Structure

### Feature Schema

The dataset contains tokenized numerical sequences ready for model ingestion:

| Feature Name | Type | Description |
| --- | --- | --- |
| `input_ids` | `List(int32)` | Tokenized integer IDs representing input sequences

|

### Data Fields

* **`input_ids`**: A list of 32-bit integers representing sequence token IDs generated from a language model tokenizer.



---

## Usage

You can load and inspect this dataset directly using Hugging Face's `datasets` library:

```python
from datasets import load_dataset

# Load dataset from the hub
dataset = load_dataset("JayeshSharma/python-training-dataset")

# Inspect a sample
print(dataset)
print(dataset["train"][0])

```

---

## Intended Use

* **Primary Application:** Model pre-training, fine-tuning, or sequence modeling on tokenized Python code.


* **Out-of-Scope:** Raw text analysis without decoding token IDs back to string format using the original tokenizer.

Files changed (3) hide show
  1. data-00000-of-00001.arrow +3 -0
  2. dataset_info.json +15 -0
  3. state.json +13 -0
data-00000-of-00001.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5bec4c0cbeaa092e7186511216c126f481f6efde46678f094054ccb4b6c9b2a
3
+ size 223489152
dataset_info.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "citation": "",
3
+ "description": "",
4
+ "features": {
5
+ "input_ids": {
6
+ "feature": {
7
+ "dtype": "int32",
8
+ "_type": "Value"
9
+ },
10
+ "_type": "List"
11
+ }
12
+ },
13
+ "homepage": "",
14
+ "license": ""
15
+ }
state.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00001.arrow"
5
+ }
6
+ ],
7
+ "_fingerprint": "6d1b5cba9609ecb2",
8
+ "_format_columns": null,
9
+ "_format_kwargs": {},
10
+ "_format_type": null,
11
+ "_output_all_columns": false,
12
+ "_split": null
13
+ }