upload
Tools to upload a dataset to xpdeep server.
Functions:
Name | Description |
---|---|
upload |
Upload raw data to be iterated from on the xpdeep server side. Raw data can be local or in the customer cloud. |
upload(directory_name: str, *, relative_paths: bool = True, **dataset_paths: str) -> DirectoryArtifact
#
Upload raw data to be iterated from on the xpdeep server side. Raw data can be local or in the customer cloud.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
Name of your artifact directory. |
required |
|
bool
|
Indicate if dataset_paths should be considered as relative paths (default: True) or as absolute. |
True
|
|
str
|
Local paths to the data. https://huggingface.co/docs/datasets/filesystems |
{}
|
Returns:
Type | Description |
---|---|
DirectoryArtifact
|
A link representing the uploaded data (size, checksum, etc...). |
Raises:
Type | Description |
---|---|
FileNotFoundError
|
If no local files are found. |