Kaggle / Kaggle/kaggle-cli

Feature Request: Exclude file in kaggle dataset

Open
#218 2 comments 14 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
7.5k
Forks
1.4k
Avg merge
3d 15h
Merged PRs (30d)
11

Description

IMO, there should be a way to exclude certain files/folders when upload the dataset.

The exclude list can be list under `dataset-metadata.json`

For example,
```
{
"title": "INSERT_TITLE_HERE",
"id": "dattran2346/INSERT_SLUG_HERE",
"licenses": [
{
"name": "CC0-1.0"
}
]
"exclude: [
"checkpoints/*"
]
}
```

For my case, I currently want to wrap my code inside a dataset and upload it to run on kaggle kernel but I don't want to include my experiment checkpoints.

Hope other user find this feature useful.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.