Skip to main content

🤗 datasets-plus

A wrapper for Hugging Face datasets with extra utilities! 🚀

🌟 Features

  • 🔧 Simplified dataset loading
  • 🔀 Easy splitting and configuration
  • 📁 Support for local and remote datasets
  • 🧰 Additional utility functions

🚀 Installation

Install datasets-plus using pip:

pip install datasets-plus

📚 Usage

Here's a quick example of how to use datasets-plus:

from datasets_plus import load_dataset

# Load validation fold of TriviaQA's unfiltered subset
dataset = load_dataset("mandarjoshi/trivia_qa:unfiltered:validation")

# Print dataset info
print(f"Loaded dataset with {len(dataset)} examples")
print("First example:", dataset[0])

# Load the train fold of the local hf dataset saved at /path/to/dataset
dataset = load_dataset("/path/to/dataset:train")

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgements

Happy data loading! 🎉

Metadata

Release files for datasets-plus 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datasets-plus 0.1.0
File Size Uploaded
datasets_plus-0.1.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datasets-plus 0.1.0
File Interpreter ABI Platform
datasets_plus-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / datasets_plus-0.1.0.tar.gz

Download URL datasets_plus-0.1.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
af333ae65ea3ee91f3a2affd3acb4d5d449b660e2e28cc86bd2c1acf430c68d1
BLAKE2b-256 checksum
How to use checksums
e670940389fae26c6089d83fb92b3d92160c9d50e2e957802bef8bc9a18d26c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / datasets_plus-0.1.0-py3-none-any.whl

Download URL datasets_plus-0.1.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fe757e88199d37f1ff2bcae145d7ac4f233290b5c77052ad3f4f3a30674de50
BLAKE2b-256 checksum
How to use checksums
e7dad169f0f58ade845d2e0a84fff65a7a06c7669011d7d0a64d071c75cb1c35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page