datasets2 provides add-ons to the huggingface datasets.
Example usage:
# datasets is just the huggingface datasets
# load_dataset and save_to_disk adds parquet support to datasets.load_dataset and datasets.Dataset.save_to_disk
from datasets2 import datasets, load_dataset, save_to_disk
my_dataset = prepare_my_huggingface_dataset()
output_dir = "my_dataset_dir"
save_to_disk(my_dataset, output_dir, parquet=True)
load_dataset(output_dir) # automatically infers if the dataset uses parquet format.
Metadata
Release files for datasets2 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datasets2-0.1.1.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datasets2-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / datasets2-0.1.1.tar.gz
| Download URL | datasets2-0.1.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4f6956537826214e98bcbad0f570c4b8a0dbca1445e3be522b6a06eeb89c07f
|
|
BLAKE2b-256 checksum How to use checksums |
e1382afbb66a72c7ca53d2adc09503ea20a9f74c7f009ff9130313151dfd831d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / datasets2-0.1.1-py3-none-any.whl
| Download URL | datasets2-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
772d00d7799fe2142d34ad067d34fa57f5599dbcada1fa2a1d660ad614088345
|
|
BLAKE2b-256 checksum How to use checksums |
5bff9b4dc54201a9e99784039826809f9d05dbd3c261d051f2c0dfb6a00184f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|