Skip to main content

Huggingface

monthly download count for vdk-huggingface

Versatile Data Kit (VDK) plugin for integrating with Huggingface as both a data source and a target. This plugin allows you to ingest data payloads into a Huggingface repository and makes it easier to work with datasets stored in Huggingface.

Usage

pip install vdk-huggingface

The functionality adds new ingestion method "huggingface" which can be used like that:

job_input.send_object_for_ingestion(data, method="huggingface")

Configuration

(vdk config-help is useful command to browse all config options of your installation of vdk)

Name Description (example) Value
HUGGINGFACE_TOKEN HuggingFace API token for authentication. Get one from HuggingFace Settings ""
HUGGINGFACE_REPO_ID HuggingFace Dataset repository ID "username/test-dataset"

Build and testing

pip install -r requirements.txt
pip install -e .
pytest

In VDK repo ../build-plugin.sh script can be used also.

Note about the CICD:

.plugin-ci.yaml is needed only for plugins part of Versatile Data Kit Plugin repo.

The CI/CD is separated in two stages, a build stage and a release stage. The build stage is made up of a few jobs, all which inherit from the same job configuration and only differ in the Python version they use (3.7, 3.8, 3.9 and 3.10). They run according to rules, which are ordered in a way such that changes to a plugin's directory trigger the plugin CI, but changes to a different plugin does not.

Metadata

Release files for vdk-huggingface 0.1.1184833162

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

Source distribution (sdist)

Source distribution for vdk-huggingface 0.1.1184833162
File Size Uploaded
vdk-huggingface-0.1.1184833162.tar.gz 4.8 kB Details

Release files / vdk-huggingface-0.1.1184833162.tar.gz

Download URL vdk-huggingface-0.1.1184833162.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
526c0a018da75a43d267441ca81b07f3dca713058c1d1a756e8ce3162daccc79
BLAKE2b-256 checksum
How to use checksums
f290302c69e0c20ee8dc4b7fdb35b829e94fd83906974504ab0a5fa571c9cc49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13
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