Squirrel public datasets collection
Project description
What is Squirrel Datasets Core?
squirrel-datasets-core
is an extension of the Squirrel library. squirrel-datasets-core
is a hub where the user can
- explore existing public datasets registered in the data mesh and load them with the ease and speed of
squirrel
- preprocess their datasets and share them with other users.
For preprocessing, we currently support Spark as the main tool to carry out the task.
If you have any questions or would like to contribute, join our Slack community!
Installation
Install squirrel-core
and squirrel-datasets-core
with pip. Note that you can install with different dependencies based on your requirements for squirrel drivers.
For using the torchvision driver call:
pip install "squirrel-core[torch]"
pip install "squirrel-datasets-core[torchvision]"
For using the hub driver call:
pip install "squirrel-datasets-core[hub]"
For using the spark preprocessing pipelines call:
pip install "squirrel-datasets-core[preprocessing]"
If you would like to get Squirrel's full functionality, install squirrel-core and squirrel-datasets-core with all their dependencies.
pip install "squirrel-core[all]"
pip install "squirrel-datasets-core[all]"
Huggingface, Hub and Torchvision Integration
A great feature of squirrel-datasets-core is that you can easily load data from common databases such as Huggingface, Activeloop Hub and Torchvision with one line of code. And you get to enjoy all of Squirrel’s benefits for free! Check out the documentation on how to interface with these libraries.
from squirrel_datasets_core.driver import HuggingfaceDriver
it = HuggingfaceDriver("cifar100").get_iter("train").filter(custom_filter).map(custom_augmentation)
# your train loop
for item in it:
out = model(item)
# ...
Documentation
Visit our documentation on Readthedocs.
Contributing
squirrel-datasets-core
is open source and community contributions are welcome!
Check out the contribution guide to learn how to get involved. Please follow our recommendations for best practices and code style.
The Humans behind Squirrel
We are Merantix Momentum, a team of ~30 machine learning engineers, developing machine learning solutions for industry and research. Each project comes with its own challenges, data types and learnings, but one issue we always faced was scalable data loading, transforming and sharing. We were looking for a solution that would allow us to load the data in a fast and cost-efficient way, while keeping the flexibility to work with any possible dataset and integrate with any API. That's why we build Squirrel – and we hope you'll find it as useful as we do! By the way, we are hiring!
Citation
If you use Squirrel Datasets in your research, please cite Squirrel using:
@article{2022squirrelcore,
title={Squirrel: A Python library that enables ML teams to share, load, and transform data in a collaborative, flexible, and efficient way.},
author={Squirrel Developer Team},
journal={GitHub. Note: https://github.com/merantix-momentum/squirrel-core},
year={2022}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file squirrel_datasets_core-0.1.12.dev49528.tar.gz
.
File metadata
- Download URL: squirrel_datasets_core-0.1.12.dev49528.tar.gz
- Upload date:
- Size: 44.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dac8bf5a12c2cf3c5650cbd382adc3ff929a9ec054fc2324325effe68820621f |
|
MD5 | 9edf022938d790c3a2ae4b5027297d8f |
|
BLAKE2b-256 | 3a7f91d6972e713c4168b4fdda6e72969c66e0e5306a06f8ac726c8910d3175c |
File details
Details for the file squirrel_datasets_core-0.1.12.dev49528-py3-none-any.whl
.
File metadata
- Download URL: squirrel_datasets_core-0.1.12.dev49528-py3-none-any.whl
- Upload date:
- Size: 65.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2b0f36b690bf8ccc31b01398514372573d793f83f95bd93f64b94852951e061 |
|
MD5 | 523e6d97898ec8cc5822df2a2fdc90cb |
|
BLAKE2b-256 | 383fb6c9a767c79388477d20a462d5bcbf61ef254c29562f8116448b88bfdd1a |