Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 290, in _generate_tables
                  pa_table = paj.read_json(
                      io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
                  )
                File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to number in row 0
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 101, in _split_generators
                  pa_table = next(iter(self._generate_tables(**splits[0].gen_kwargs, allow_full_read=False)))[1]
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 304, in _generate_tables
                  batch = json_encode_fields_in_json_lines(original_batch, json_field_paths)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 111, in json_encode_fields_in_json_lines
                  examples = [ujson_loads(line) for line in original_batch.splitlines()]
                              ~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
              ValueError: Trailing data
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 66, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ~~~~~~~~~~~~~~~~~~~~~~~^
                      path=dataset,
                      ^^^^^^^^^^^^^
                      config_name=config,
                      ^^^^^^^^^^^^^^^^^^^
                      token=hf_token,
                      ^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                      path,
                  ...<6 lines>...
                      **config_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Basic GPT AI Dataset

A curated collection of training data for GPT-style language models


πŸ“‹ Project Description

Basic GPT AI Dataset is a Hugging Face dataset repository containing pre-processed training data designed for fine-tuning and training GPT-style language models. The dataset is provided in a convenient Pickle format, making it easy to load and integrate into your PyTorch or TensorFlow pipelines.

The dataset is released under the Apache 2.0 license and is free to use for both academic and commercial purposes.

Note: As the dataset author states: "TBH i do not own any of these datasets, I create depending on my power over a certain Domain, Free To Use (FTS), Thank you :3"


✨ Features

  • 🧠 GPT-Ready Format – Pre-processed data structured for language model training
  • πŸ“¦ Pickle Serialization – Easy to load with Python's pickle module
  • πŸš€ Large-Scale – Over 2.1 GB of training data across two compressed archives
  • πŸ“„ Apache 2.0 License – Permissive open-source licensing for maximum reusability
  • πŸ”“ Free to Use – No restrictions on usage (commercial or academic)

πŸ“¦ Dataset Contents

The repository contains two main data files:

File Size Format Description
Another Dataset because why not.zip 1.18 GB Pickle (compressed) Primary training data
Data.zip 947 MB Pickle (compressed) Supplemental training data

Both files contain Pickle serialized objects – typically lists, dictionaries, or arrays of text samples suitable for GPT training.


πŸš€ Quick Start

Prerequisites

  • Python 3.8+
  • datasets library (optional, for Hugging Face integration)
  • torch or tensorflow (depending on your framework)

Installation

# Install the Hugging Face datasets library
pip install datasets

# Or, if you prefer to download manually:
pip install requests tqdm

πŸ’» Usage Examples

Option 1: Load with Hugging Face datasets

from datasets import load_dataset

# Load the dataset (note: viewer may be unavailable, but you can still load the raw files)
dataset = load_dataset("ViolentlyPurple/Basic-GPT-AI-Dataset", split="train")

⚠️ Note: The dataset viewer may not be available due to configuration issues. If you encounter errors, use the manual loading method below.

Option 2: Manual Download & Load

import pickle
import zipfile
import requests
from pathlib import Path

# Download the zip file
url = "https://huggingface.co/datasets/ViolentlyPurple/Basic-GPT-AI-Dataset/resolve/main/Data.zip"
response = requests.get(url, stream=True)

# Save and extract
zip_path = Path("Data.zip")
with open(zip_path, "wb") as f:
    for chunk in response.iter_content(chunk_size=8192):
        f.write(chunk)

# Extract and load pickle
with zipfile.ZipFile(zip_path, "r") as zip_ref:
    zip_ref.extractall("data/")

# Load the pickle file(s)
with open("data/your_pickle_file.pkl", "rb") as f:
    data = pickle.load(f)

print(f"Loaded {len(data)} samples")

Option 3: Direct Download with wget

# Download using wget
wget https://huggingface.co/datasets/ViolentlyPurple/Basic-GPT-AI-Dataset/resolve/main/Data.zip
wget https://huggingface.co/datasets/ViolentlyPurple/Basic-GPT-AI-Dataset/resolve/main/Another%20Dataset%20because%20why%20not.zip

# Unzip
unzip Data.zip -d data/
unzip "Another Dataset because why not.zip" -d data/

βš™οΈ Configuration

The dataset does not require extensive configuration. However, you may want to:

  • Set a cache directory for Hugging Face datasets:

    import os
    os.environ["HF_DATASETS_CACHE"] = "/path/to/cache"
    
  • Stream large files to avoid memory issues:

    dataset = load_dataset("ViolentlyPurple/Basic-GPT-AI-Dataset", streaming=True)
    

πŸ§ͺ Running Tests

To verify the dataset loads correctly:

import pickle
import zipfile

def test_dataset(zip_path):
    """Verify that the pickle file loads successfully."""
    with zipfile.ZipFile(zip_path, "r") as z:
        # Get the first pickle file
        pkl_files = [f for f in z.namelist() if f.endswith('.pkl')]
        if not pkl_files:
            print("❌ No pickle files found in archive")
            return False
        
        with z.open(pkl_files[0]) as f:
            try:
                data = pickle.load(f)
                print(f"βœ… Successfully loaded {len(data)} items from {pkl_files[0]}")
                return True
            except Exception as e:
                print(f"❌ Failed to load pickle: {e}")
                return False

# Test both archives
test_dataset("Data.zip")
test_dataset("Another Dataset because why not.zip")

πŸ“ Project Structure

Basic-GPT-AI-Dataset/
β”œβ”€β”€ README.md                          # This file
β”œβ”€β”€ Data.zip                           # 947 MB – primary dataset
β”œβ”€β”€ Another Dataset because why not.zip # 1.18 GB – supplemental dataset
└── .gitattributes                     # Git LFS configuration

🀝 Contributing

Contributions are welcome! Here's how you can help:

  1. Report Issues – Open a discussion on the Hugging Face discussion board

  2. Improve Documentation – Submit a PR with updates to this README or dataset card

  3. Add Data – If you have relevant GPT training data, consider contributing

  4. Fix the Dataset Viewer – The current viewer is experiencing issues. Help us configure it properly by following the dataset viewer configuration guide


πŸ“„ License

This dataset is distributed under the Apache License 2.0.

Copyright 2026 ViolentlyPurple

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

πŸ™ Acknowledgments

  • Thanks to the open-source community for providing the tools and frameworks that make datasets like this possible
  • Special thanks to the Hugging Face team for hosting and maintaining the platform

πŸ“¬ Contact & Support


Built with ❀️ for the AI community

Downloads last month
24