html_url stringlengths 51 51 | comments stringlengths 67 24.7k | title stringlengths 6 280 | body stringlengths 51 36.2k | comment_length int64 16 1.45k | text stringlengths 190 38.3k | embeddings list |
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/5209 | > We can add new metadata yaml field (say, "custom_configs_info"), so that we can provide smth like:
Love it ! Some other ideas to name the "custom_configs_info" field: "configs", "parameters", "config_args", "configurations"
> it might require changes in interaction with the viewer on the hub side - to parse the... | Implement ability to define splits in metadata section of dataset card | ### Feature request
If you go here: https://huggingface.co/datasets/inria-soda/tabular-benchmark/tree/main you will see bunch of folders that has various CSV files. I’d like dataset viewer to show these files instead of only one dataset like it currently does. (and also people to be able to load them as splits inste... | 192 | Implement ability to define splits in metadata section of dataset card
### Feature request
If you go here: https://huggingface.co/datasets/inria-soda/tabular-benchmark/tree/main you will see bunch of folders that has various CSV files. I’d like dataset viewer to show these files instead of only one dataset like it... | [
-0.34156569838523865,
-0.06827227026224136,
-0.008094675838947296,
0.37372449040412903,
0.018314681947231293,
0.05106842517852783,
0.31308799982070923,
0.41592198610305786,
-0.06191080063581467,
0.20760378241539001,
-0.1447380930185318,
0.545539140701294,
-0.2848861813545227,
0.40082836151... |
https://github.com/huggingface/datasets/issues/5209 | @merveenoyan I haven't started working on this yet, working on adding configs to packaged datasets instead: https://github.com/huggingface/datasets/pull/5213 because this both would allow you to solve your issue and is a frequently requested feature.
adding arbitrary parameters to yaml would be my next task i think! | Implement ability to define splits in metadata section of dataset card | ### Feature request
If you go here: https://huggingface.co/datasets/inria-soda/tabular-benchmark/tree/main you will see bunch of folders that has various CSV files. I’d like dataset viewer to show these files instead of only one dataset like it currently does. (and also people to be able to load them as splits inste... | 45 | Implement ability to define splits in metadata section of dataset card
### Feature request
If you go here: https://huggingface.co/datasets/inria-soda/tabular-benchmark/tree/main you will see bunch of folders that has various CSV files. I’d like dataset viewer to show these files instead of only one dataset like it... | [
-0.39448317885398865,
-0.18607106804847717,
-0.04323752224445343,
0.421593576669693,
0.06657848507165909,
0.0651107206940651,
0.24191103875637054,
0.3723753094673157,
-0.01562870293855667,
0.2868579030036926,
-0.21170279383659363,
0.49802663922309875,
-0.24776813387870789,
0.50335890054702... |
https://github.com/huggingface/datasets/issues/5207 | Hi ! It looks like an issue with your python environment, can you make sure you're able to run GET requests to https://huggingface.co using `requests` in python ? | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy | ### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getting the SSLError issue. What should I do to download the datanet stored in Hugg... | 28 | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy
### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getti... | [
-0.14723147451877594,
-0.6202120184898376,
0.15596617758274078,
0.2921140491962433,
0.2333259880542755,
0.033576175570487976,
0.030864562839269638,
0.03931836783885956,
0.054368481040000916,
-0.02099055051803589,
-0.2828214764595032,
0.0249934084713459,
0.12445173412561417,
0.2257945090532... |
https://github.com/huggingface/datasets/issues/5207 | Thanks for your reply. Does this mean that I have to use the `do_dataset `function and the `requests `function to download the dataset from the company's proxy environment?
* Reference:
```bash
### How to load this dataset directly with the [datasets](https://github.com/huggingface/datasets) library
* http... | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy | ### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getting the SSLError issue. What should I do to download the datanet stored in Hugg... | 90 | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy
### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getti... | [
-0.14723147451877594,
-0.6202120184898376,
0.15596617758274078,
0.2921140491962433,
0.2333259880542755,
0.033576175570487976,
0.030864562839269638,
0.03931836783885956,
0.054368481040000916,
-0.02099055051803589,
-0.2828214764595032,
0.0249934084713459,
0.12445173412561417,
0.2257945090532... |
https://github.com/huggingface/datasets/issues/5207 | You can use `requests` to see if downloading a file from the Hugging Face Hub works. If so, then `datasets` should work as well. If not, then you have to find another way using an internet connection that works | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy | ### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getting the SSLError issue. What should I do to download the datanet stored in Hugg... | 39 | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy
### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getti... | [
-0.14723147451877594,
-0.6202120184898376,
0.15596617758274078,
0.2921140491962433,
0.2333259880542755,
0.033576175570487976,
0.030864562839269638,
0.03931836783885956,
0.054368481040000916,
-0.02099055051803589,
-0.2828214764595032,
0.0249934084713459,
0.12445173412561417,
0.2257945090532... |
https://github.com/huggingface/datasets/issues/5207 | I resolved this issue by applying to "unblock websites" at https://huggingface.com in a corporate network environment with a firewall.
| Connection error of the HuggingFace's dataset Hub due to SSLError with proxy | ### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getting the SSLError issue. What should I do to download the datanet stored in Hugg... | 19 | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy
### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getti... | [
-0.14723147451877594,
-0.6202120184898376,
0.15596617758274078,
0.2921140491962433,
0.2333259880542755,
0.033576175570487976,
0.030864562839269638,
0.03931836783885956,
0.054368481040000916,
-0.02099055051803589,
-0.2828214764595032,
0.0249934084713459,
0.12445173412561417,
0.2257945090532... |
https://github.com/huggingface/datasets/issues/5207 | > Hi ! It looks like an issue with your python environment, can you make sure you're able to run GET requests to https://huggingface.co using `requests` in python ?
yes,but still not work

,
I'm getting the SSLError issue. What should I do to download the datanet stored in Hugg... | 35 | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy
### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getti... | [
-0.14723147451877594,
-0.6202120184898376,
0.15596617758274078,
0.2921140491962433,
0.2333259880542755,
0.033576175570487976,
0.030864562839269638,
0.03931836783885956,
0.054368481040000916,
-0.02099055051803589,
-0.2828214764595032,
0.0249934084713459,
0.12445173412561417,
0.2257945090532... |
https://github.com/huggingface/datasets/issues/5207 | I read https://github.com/huggingface/datasets/blob/main/src/datasets/load.py, it fail when get the dataset metadata, so download_config has not worked.
```python
hf_api = HfApi(config.HF_ENDPOINT)
try:
dataset_info = hf_api.dataset_info(
repo_id=path,
... | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy | ### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getting the SSLError issue. What should I do to download the datanet stored in Hugg... | 95 | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy
### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getti... | [
-0.14723147451877594,
-0.6202120184898376,
0.15596617758274078,
0.2921140491962433,
0.2333259880542755,
0.033576175570487976,
0.030864562839269638,
0.03931836783885956,
0.054368481040000916,
-0.02099055051803589,
-0.2828214764595032,
0.0249934084713459,
0.12445173412561417,
0.2257945090532... |
https://github.com/huggingface/datasets/issues/5207 | Even tough it does not look like a certificate error in the error message, I had the same error and adding following lines to my code solved my problem.
import os
os.environ['CURL_CA_BUNDLE'] = '' | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy | ### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getting the SSLError issue. What should I do to download the datanet stored in Hugg... | 34 | Connection error of the HuggingFace's dataset Hub due to SSLError with proxy
### Describe the bug
It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office.
Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy),
I'm getti... | [
-0.14723147451877594,
-0.6202120184898376,
0.15596617758274078,
0.2921140491962433,
0.2333259880542755,
0.033576175570487976,
0.030864562839269638,
0.03931836783885956,
0.054368481040000916,
-0.02099055051803589,
-0.2828214764595032,
0.0249934084713459,
0.12445173412561417,
0.2257945090532... |
https://github.com/huggingface/datasets/issues/5206 | Actually upon closer inspection, it is documented in the code that this behavior is intentional, so I'll close this. | Use logging instead of printing to console | ### Describe the bug
Some logs ([here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L778), [here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L786), and [here](https://github.com/huggingfa... | 19 | Use logging instead of printing to console
### Describe the bug
Some logs ([here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L778), [here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L... | [
-0.22036989033222198,
-0.07154261320829391,
-0.014713112264871597,
0.23670288920402527,
0.3985135555267334,
-0.0016841292381286621,
0.341371089220047,
0.17127808928489685,
-0.143509179353714,
0.20918256044387817,
-0.17210519313812256,
0.4643225371837616,
-0.03109744004905224,
0.18139408528... |
https://github.com/huggingface/datasets/issues/5200 | Thanks for catching this, I can go through the docs and replace the links to their corresponding datasets on the Hub! | Some links to canonical datasets in the docs are outdated | As we don't have canonical datasets in the github repo anymore, some old links to them doesn't work. I don't know how many of them are there, I found link to SuperGlue here: https://huggingface.co/docs/datasets/dataset_script#multiple-configurations, probably there are more of them. These links should be replaced by li... | 21 | Some links to canonical datasets in the docs are outdated
As we don't have canonical datasets in the github repo anymore, some old links to them doesn't work. I don't know how many of them are there, I found link to SuperGlue here: https://huggingface.co/docs/datasets/dataset_script#multiple-configurations, probably ... | [
-0.20610779523849487,
-0.39817023277282715,
-0.03152848035097122,
0.03482847660779953,
0.18927809596061707,
0.05422556400299072,
0.190696582198143,
0.26958122849464417,
0.1622367650270462,
0.2095320224761963,
-0.0652664303779602,
0.10560350120067596,
0.11216749250888824,
0.39422607421875,
... |
https://github.com/huggingface/datasets/issues/5193 | Also unrelated but still: https://huggingface.co/docs/datasets/image_dataset#generate-the-dataset
```If your loading script passed the test, you should now have a dataset_infos.json file in your dataset folder.```
It's not the case anymore as it's now in the readme.md, it was confusing to me | "One or several metadata. were found, but not in the same directory or in a parent directory" | ### Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
```python
from datasets import load_dataset
load_dataset("corentinm7/MyoQuant-SDH-Data")
```
```python
Downlo... | 39 | "One or several metadata. were found, but not in the same directory or in a parent directory"
### Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
```python
from data... | [
-0.04943729564547539,
-0.29675090312957764,
-0.03884468600153923,
0.658144474029541,
0.2890496253967285,
0.15977723896503448,
0.15112590789794922,
0.10816410183906555,
0.11462878435850143,
0.10452230274677277,
-0.347199410200119,
0.045720383524894714,
-0.19350922107696533,
-0.1349630057811... |
https://github.com/huggingface/datasets/issues/5193 | And here is my data loader script: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data/blob/main/SDH_16k.py
I have one file archive to download that contains the images for all splits and one `metadata.jsonl` to download that contains the informations about what image goes into what split. | "One or several metadata. were found, but not in the same directory or in a parent directory" | ### Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
```python
from datasets import load_dataset
load_dataset("corentinm7/MyoQuant-SDH-Data")
```
```python
Downlo... | 38 | "One or several metadata. were found, but not in the same directory or in a parent directory"
### Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
```python
from data... | [
-0.04943729564547539,
-0.29675090312957764,
-0.03884468600153923,
0.658144474029541,
0.2890496253967285,
0.15977723896503448,
0.15112590789794922,
0.10816410183906555,
0.11462878435850143,
0.10452230274677277,
-0.347199410200119,
0.045720383524894714,
-0.19350922107696533,
-0.1349630057811... |
https://github.com/huggingface/datasets/issues/5193 | Hi @lambda-science! It seems that your repo is recognized as a packaged module [ImageFolder](https://huggingface.co/docs/datasets/main/en/image_dataset#imagefolder), not as a dataset with the custom loading script, because loader looks for a script that has the same name as the dataset repo. So please try to rename you... | "One or several metadata. were found, but not in the same directory or in a parent directory" | ### Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
```python
from datasets import load_dataset
load_dataset("corentinm7/MyoQuant-SDH-Data")
```
```python
Downlo... | 50 | "One or several metadata. were found, but not in the same directory or in a parent directory"
### Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
```python
from data... | [
-0.04943729564547539,
-0.29675090312957764,
-0.03884468600153923,
0.658144474029541,
0.2890496253967285,
0.15977723896503448,
0.15112590789794922,
0.10816410183906555,
0.11462878435850143,
0.10452230274677277,
-0.347199410200119,
0.045720383524894714,
-0.19350922107696533,
-0.1349630057811... |
https://github.com/huggingface/datasets/issues/5193 | > Hi @lambda-science! It seems that your repo is recognized as a packaged module [ImageFolder](https://huggingface.co/docs/datasets/main/en/image_dataset#imagefolder), not as a dataset with the custom loading script, because loader looks for a script that has the same name as the dataset repo. So please try to rename y... | "One or several metadata. were found, but not in the same directory or in a parent directory" | ### Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
```python
from datasets import load_dataset
load_dataset("corentinm7/MyoQuant-SDH-Data")
```
```python
Downlo... | 77 | "One or several metadata. were found, but not in the same directory or in a parent directory"
### Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
```python
from data... | [
-0.04943729564547539,
-0.29675090312957764,
-0.03884468600153923,
0.658144474029541,
0.2890496253967285,
0.15977723896503448,
0.15112590789794922,
0.10816410183906555,
0.11462878435850143,
0.10452230274677277,
-0.347199410200119,
0.045720383524894714,
-0.19350922107696533,
-0.1349630057811... |
https://github.com/huggingface/datasets/issues/5193 | @lambda-science that's not embarrassing at all! it's actually not clear from the documentation that the script should have the same name, so thank you for the issue, we'll add this information to the docs :) | "One or several metadata. were found, but not in the same directory or in a parent directory" | ### Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
```python
from datasets import load_dataset
load_dataset("corentinm7/MyoQuant-SDH-Data")
```
```python
Downlo... | 35 | "One or several metadata. were found, but not in the same directory or in a parent directory"
### Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
```python
from data... | [
-0.04943729564547539,
-0.29675090312957764,
-0.03884468600153923,
0.658144474029541,
0.2890496253967285,
0.15977723896503448,
0.15112590789794922,
0.10816410183906555,
0.11462878435850143,
0.10452230274677277,
-0.347199410200119,
0.045720383524894714,
-0.19350922107696533,
-0.1349630057811... |
https://github.com/huggingface/datasets/issues/5190 | Hi! Yes, this is expected behavior - we do this as a security measure to not leak local paths (this info would be useless on other users' machines anyways) and only push audio bytes.
| `path` is `None` when downloading a custom audio dataset from the Hub | ### Describe the bug
I've created an [audio dataset](https://huggingface.co/datasets/lewtun/audio-test-push) using the `audiofolder` feature desribed in the [docs](https://huggingface.co/docs/datasets/audio_dataset#audiofolder) and then pushed it to the Hub.
Locally, I can see the `audio.path` feature is of the ... | 34 | `path` is `None` when downloading a custom audio dataset from the Hub
### Describe the bug
I've created an [audio dataset](https://huggingface.co/datasets/lewtun/audio-test-push) using the `audiofolder` feature desribed in the [docs](https://huggingface.co/docs/datasets/audio_dataset#audiofolder) and then pushed i... | [
-0.19970348477363586,
-0.11251125484704971,
0.04908491671085358,
0.3464227616786957,
-0.015480095520615578,
-0.20128625631332397,
0.3962438702583313,
-0.1011771634221077,
-0.011148128658533096,
0.3440026640892029,
-0.21156731247901917,
0.47110846638679504,
-0.36428630352020264,
0.002874791... |
https://github.com/huggingface/datasets/issues/5189 | I have to admit I'm not a fan of this idea, as this would result in a non-consistent behavior between tabular and non-tabular datasets, which is confusing if done without the context you provided. Instead, we could consider returning a `Dataset` object rather than `DatasetDict` if there is only one split in the generat... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 74 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | We can brainstorm here to see how we could make it happen ? And then depending on the options we see if it's a change we can do.
I'm starting with a first reasoning
Currently not passing `split=` in `load_dataset` means "return a dict with each split".
Now what would happen if a dataset has no split ? Ideally ... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 316 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | I like the first idea more (concatenating splits doesn't seem useful, no?). This is a significant breaking change, so I think we should do a poll (or something similar) to gather more info on the actual "expected behavior" and wait for Datasets 3.0 if we decide to implement it.
PS: @thomwolf also suggested the same ... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 60 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | I think it's an interesting improvement to the user experience for a case that comes often (no split) so I would definitively support it.
I would be more in favor of option 2 rather than returning various types of objects from load_dataset and handling carefully the possible collisions indeed | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 49 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | Related: if a dataset only has one split, we don't show the splits select control in the dataset viewer on the Hub, eg. compare https://huggingface.co/datasets/hf-internal-testing/fixtures_image_utils/viewer/image/test with https://huggingface.co/datasets/glue/viewer/mnli/test.
See https://github.com/huggingface/mo... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 33 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | I feel like the second idea is a bit more overkill.
@severo I would say it's a bit irrelevant to the problem we have but is a separate problem @polinaeterna is solving at the moment. 😅 (also discussed on slack) | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 40 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | OK, sorry for polluting the thread. The relation I saw with the dataset viewer is that from a UX point of view, we hide the concepts of split and configuration whenever possible -> this issue feels like doing the same in the datasets library. | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 44 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | I would agree that returning different types based on the content of the dataset might be confusing.
We can do something similar to what `fetch_*` or `load_*` from `sklearn.datasets` do, which is to have an arg which changes the type of the returned type. For instance, `load_iris` would return a dict, but `load_iris... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 79 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | > I feel like the second idea is a bit more overkill.
Overkill in what sense ?
> Here we can have a similar arg such as return_X which would then only return a single DataSet or an array.
Right now one can already pass `split="all"` to get one `Dataset` object with all the data in it (unsplit). We could also h... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 131 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | Would it make sense to remove the notion of "split" in `load_dataset`? I feel a lof of it comes from the want to have some sort of group of more or less similar dataset. "train"/"test"/"validation" are the traditional ones, but there are some datasets that have much more splits.
Would it make sense to force `load_da... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 133 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | > Would it make sense to remove the notion of "split" in load_dataset?
I think we need to keep it - though in practice people can name the splits whatever they want anyway.
> Would it make sense to force load_dataset to only load a single Dataset object, and fail if it doesn't point to one.
We need to keep bac... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 71 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | > I think we need to keep it - though in practice people can name the splits whatever they want anyway.
It was my understanding that the whole issue was that `load_dataset` returned multiple types of objects.
> We need to keep backward compatibility ideally - in particular the load_dataset + ds["train"] one
Ye... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 76 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | > It was my understanding that the whole issue was that load_dataset returned multiple types of objects.
Yes indeed, but we still want to keep a way to load the train/val/test/whatever splits alone ;) | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 34 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | Started to experiment with merging Dataset and DatasetDict. My plan is to define the splits of a Dataset in Dataset.info.splits (already exists, but never used). A Dataset would then be the concatenation of its splits if they exist.
Not sure yet this is the way to go. My plan is to play with it and see and share it ... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 75 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | So just to make sure that I understand the current direction, people will have to be extra careful when handling splits right?
Imagine "potato" a dataset containing train/validation split:
```
load_dataset("potato") # returns the concatenation of all the splits
```
Previously the design would force you to choose a... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 141 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | > load_dataset("potato") # returns "train" split
To avoid a breaking change we need to be able to do `load_dataset("potato")["validation"]` as well.
In that case I'd wonder where the validation split comes from, since the rows of the dataset wouldn't contain the validation split according to your example. That's ... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 103 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | Just thinking about this, we could just have `to_dataframe()` as `load_dataset("blah").to_dataframe()` to get the whole dataset, and not change anything else. | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 21 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | I have a first implementation of option 2 (merging Dataset and DatasetDict) in this PR: https://github.com/huggingface/datasets/pull/5301/
Feel free to play with it if you're interested, and let me know what you think. In this PR, a dataset is one table that optionally has some split info about subsets. | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 48 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | @adrinjalali we already have [to_pandas](https://huggingface.co/docs/datasets/package_reference/main_classes#datasets.Dataset.to_pandas) AFAIK that essentially does the same thing (for a dataset, not for a dataset dict), I was wondering if it makes sense to have this as I don't know portion of people who load non-tabul... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 61 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | > we already have [to_pandas](https://huggingface.co/docs/datasets/package_reference/main_classes#datasets.Dataset.to_pandas) AFAIK that essentially does the same thing (for a dataset, not for a dataset dict)
yes correct :)
> I saw your PR and it will break a lot of things imo
Do you have concrete examples you... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 108 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | @lhoestq no I think @adrinjalali and I meant when user calls `to_dataframe` if there's only train split in `DatasetDict` we could directly load that into dataframe. This might cause a confusion given there's to_pandas but I think it's more intuitive and least breaking change. (given people -who use `datasets` for tabul... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 57 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | So in that case it would be fine to still end up with a dataset dict with a "train" split ? | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 21 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | yeah what I mean is this:
```py
dataset = load_dataset("blah")
# deal with a split of the dataset
train = dataset["train"]
train_df = dataset["train"].to_dataframe()
# deal with the whole dataset
dataset_df = dataset.to_dataframe()
```
So we do two things to improve tabular experience:
- allow dataset... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 75 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | Ok ! Note that we already have `Dataset.to_pandas()` so for consistency I'd call it `DatasetDict.to_pandas()` as well, does it sound good to you ? This is something we can add pretty easily | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 32 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | > So just to make sure that I understand the current direction, people will have to be extra careful when handling splits right?
We can raise an error if someone does `load_dataset(...)[0]` if the dataset is made of several splits, and return the first example if there's one or zero splits (i.e. when it's not ambigu... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 67 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | > We can raise an error if someone does load_dataset(...)[0] if the dataset is made of several splits,
But then how is that different to have the distinction between DatasetDict and Dataset then? Is it just that "default behaviour when there are no splits or single split, it returns directly the split when there's n... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 79 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | > But then how is that different to have the distinction between DatasetDict and Dataset then?
Because it doesn't make sense to be able to do `example = ds[0]` or `examples = list(ds)` on a class named `DatasetDict` of type `Dict[str, Dataset]`.
> Also I was wondering how the concatenation could have heavy impact... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 75 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5189 | > Because it doesn't make sense to be able to do example = ds[0] or examples = list(ds) on a class named DatasetDict of type Dict[str, Dataset].
Hum but you're still going to raise an exception in both those cases with your current change no? (actually list(ds) would return the name of the splits no?)
> No, we ru... | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | 66 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchm... | [
-0.3269527852535248,
0.12844745814800262,
-0.03811909258365631,
-0.09596187621355057,
0.10227786004543304,
-0.04733096808195114,
0.5563637018203735,
0.5483508110046387,
0.31060048937797546,
0.27893561124801636,
0.012780435383319855,
0.3642386198043823,
-0.15283526480197906,
0.4632333219051... |
https://github.com/huggingface/datasets/issues/5186 | Hi! The first `Dataset.from_sql` call also outputs the "ImportError: Using URI string without sqlalchemy installed." message, but you also get "During handling of the above exception another exception occurred: ..." after which the ValueError is printed. I agree that this behavior makes it easy to miss the original err... | Incorrect error message when Dataset.from_sql fails and sqlalchemy not installed | ### Describe the bug
When calling `Dataset.from_sql` (in my case, with sqlite3), it fails with a message ```ValueError: Please pass `features` or at least one example when writing data``` when I don't have `sqlalchemy` installed.
### Steps to reproduce the bug
Make a new sqlite db with `sqlite3` and `pandas` from... | 79 | Incorrect error message when Dataset.from_sql fails and sqlalchemy not installed
### Describe the bug
When calling `Dataset.from_sql` (in my case, with sqlite3), it fails with a message ```ValueError: Please pass `features` or at least one example when writing data``` when I don't have `sqlalchemy` installed.
##... | [
0.09885800629854202,
0.06682348251342773,
-0.027563851326704025,
0.21884433925151825,
0.16396299004554749,
0.020542308688163757,
0.1873140186071396,
0.4064783751964569,
-0.12302227318286896,
-0.11035352945327759,
0.2774016261100769,
0.42598333954811096,
0.11816242337226868,
0.1131028980016... |
https://github.com/huggingface/datasets/issues/5186 | Yup ! Alternatively the error can be raised in sql.py before generating the examples ? In `_info` for example | Incorrect error message when Dataset.from_sql fails and sqlalchemy not installed | ### Describe the bug
When calling `Dataset.from_sql` (in my case, with sqlite3), it fails with a message ```ValueError: Please pass `features` or at least one example when writing data``` when I don't have `sqlalchemy` installed.
### Steps to reproduce the bug
Make a new sqlite db with `sqlite3` and `pandas` from... | 19 | Incorrect error message when Dataset.from_sql fails and sqlalchemy not installed
### Describe the bug
When calling `Dataset.from_sql` (in my case, with sqlite3), it fails with a message ```ValueError: Please pass `features` or at least one example when writing data``` when I don't have `sqlalchemy` installed.
##... | [
0.09885800629854202,
0.06682348251342773,
-0.027563851326704025,
0.21884433925151825,
0.16396299004554749,
0.020542308688163757,
0.1873140186071396,
0.4064783751964569,
-0.12302227318286896,
-0.11035352945327759,
0.2774016261100769,
0.42598333954811096,
0.11816242337226868,
0.1131028980016... |
https://github.com/huggingface/datasets/issues/5186 | yea @lhoestq that would probably be good. The 2nd error is useless if the 1st error is the real reason it failed. | Incorrect error message when Dataset.from_sql fails and sqlalchemy not installed | ### Describe the bug
When calling `Dataset.from_sql` (in my case, with sqlite3), it fails with a message ```ValueError: Please pass `features` or at least one example when writing data``` when I don't have `sqlalchemy` installed.
### Steps to reproduce the bug
Make a new sqlite db with `sqlite3` and `pandas` from... | 22 | Incorrect error message when Dataset.from_sql fails and sqlalchemy not installed
### Describe the bug
When calling `Dataset.from_sql` (in my case, with sqlite3), it fails with a message ```ValueError: Please pass `features` or at least one example when writing data``` when I don't have `sqlalchemy` installed.
##... | [
0.09885800629854202,
0.06682348251342773,
-0.027563851326704025,
0.21884433925151825,
0.16396299004554749,
0.020542308688163757,
0.1873140186071396,
0.4064783751964569,
-0.12302227318286896,
-0.11035352945327759,
0.2774016261100769,
0.42598333954811096,
0.11816242337226868,
0.1131028980016... |
https://github.com/huggingface/datasets/issues/5182 | Yea this would be great! We would need an object detection tutorial notebook too if it doesn't already exist there. | Add notebook / other resource links to the task-specific data loading guides | Does it make sense to include links to notebooks / scripts that show how to use a dataset for training / fine-tuning a model?
For example, here in [https://huggingface.co/docs/datasets/image_classification] we could include a mention of https://github.com/huggingface/notebooks/blob/main/examples/image_classificatio... | 20 | Add notebook / other resource links to the task-specific data loading guides
Does it make sense to include links to notebooks / scripts that show how to use a dataset for training / fine-tuning a model?
For example, here in [https://huggingface.co/docs/datasets/image_classification] we could include a mention of ... | [
-0.035050585865974426,
-0.41044744849205017,
-0.05672957003116608,
0.15529176592826843,
-0.009451014921069145,
0.11067463457584381,
0.1717635691165924,
0.056682419031858444,
0.20506158471107483,
-0.129021555185318,
-0.018863186240196228,
0.4479743242263794,
-0.29495128989219666,
0.60567986... |
https://github.com/huggingface/datasets/issues/5181 | I am considering `torchvision` and `albumentations`. Also [works with TensorFlow](https://github.com/deep-diver/segformer-tf-transformers/blob/main/notebooks/TFSegFormer_Finetune.ipynb).
I am assigning the issue to myself then. | Add a guide for semantic segmentation | Currently, we have these guides for object detection and image classification:
* https://huggingface.co/docs/datasets/object_detection
* https://huggingface.co/docs/datasets/image_classification
I am proposing adding a similar guide for semantic segmentation.
I am happy to contribute a PR for it.
Cc: @os... | 18 | Add a guide for semantic segmentation
Currently, we have these guides for object detection and image classification:
* https://huggingface.co/docs/datasets/object_detection
* https://huggingface.co/docs/datasets/image_classification
I am proposing adding a similar guide for semantic segmentation.
I am happ... | [
0.0929180234670639,
-0.39984601736068726,
-0.1031607836484909,
-0.10629712045192719,
0.11169026792049408,
-0.11637895554304123,
0.09270931035280228,
0.2799051105976105,
-0.33386051654815674,
0.09094367921352386,
-0.1764308214187622,
0.41842395067214966,
-0.37146294116973877,
-0.13483184576... |
https://github.com/huggingface/datasets/issues/5180 | The beam utilities allow to prepare a dataset as parquet in your cloud storage. From my perspective this CLI is not super easy to use, but we've been working on a new python API to prepare a dataset in your cloud storage:
```python
from datasets import load_dataset_builder
builder = load_dataset_builder("c4", "en"... | An example or recommendations for creating large image datasets? | I know that Apache Beam and `datasets` have [some connector utilities](https://huggingface.co/docs/datasets/beam). But it's a little unclear what we mean by "But if you want to run your own Beam pipeline with Dataflow, here is how:". What does that pipeline do?
As a user, I was wondering if we have this support for... | 112 | An example or recommendations for creating large image datasets?
I know that Apache Beam and `datasets` have [some connector utilities](https://huggingface.co/docs/datasets/beam). But it's a little unclear what we mean by "But if you want to run your own Beam pipeline with Dataflow, here is how:". What does that pipe... | [
-0.3043534755706787,
-0.0075250715017318726,
-0.16991983354091644,
0.08567925542593002,
0.050947729498147964,
0.053675442934036255,
0.13847723603248596,
-0.03601452708244324,
0.028382249176502228,
0.15223360061645508,
0.06695820391178131,
-0.1606023907661438,
-0.2723362147808075,
0.4187657... |
https://github.com/huggingface/datasets/issues/5179 | You can end up with a list instead of a tensor if all the tensors inside the list can't be stacked together - can you make sure all your inputs are tensors with the same shape ? | `map()` fails midway due to format incompatibility | ### Describe the bug
I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset.
```py
def get_test_accuracy(model):
def fn(batch):
inputs = {k:v.to(device... | 37 | `map()` fails midway due to format incompatibility
### Describe the bug
I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset.
```py
def get_test_accuracy(model)... | [
-0.46174371242523193,
-0.21512757241725922,
-0.029291795566678047,
0.290257066488266,
0.2581411302089691,
-0.030276037752628326,
0.35209986567497253,
0.49773168563842773,
0.13243955373764038,
0.14149975776672363,
-0.1008460521697998,
0.4010533392429352,
-0.15057145059108734,
-0.03961350768... |
https://github.com/huggingface/datasets/issues/5179 | I modified my `tokenize()` function to be like so:
```py
def tokenize(batch):
return tokenizer(batch["text"], padding="longest")
```
so that the padding always happens w.r.t to the length of the longest sequence in a batch. The issue still persists. Is there any other way? | `map()` fails midway due to format incompatibility | ### Describe the bug
I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset.
```py
def get_test_accuracy(model):
def fn(batch):
inputs = {k:v.to(device... | 42 | `map()` fails midway due to format incompatibility
### Describe the bug
I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset.
```py
def get_test_accuracy(model)... | [
-0.46174371242523193,
-0.21512757241725922,
-0.029291795566678047,
0.290257066488266,
0.2581411302089691,
-0.030276037752628326,
0.35209986567497253,
0.49773168563842773,
0.13243955373764038,
0.14149975776672363,
-0.1008460521697998,
0.4010533392429352,
-0.15057145059108734,
-0.03961350768... |
https://github.com/huggingface/datasets/issues/5179 | tbh I though your first implementation was fine
```python
def tokenize(batch):
return tokenizer(batch["text"], padding=True, truncation=True)
```
Maybe you can try to see what the erroring data looks like by adding a try/except in `get_test_accuracy` ? | `map()` fails midway due to format incompatibility | ### Describe the bug
I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset.
```py
def get_test_accuracy(model):
def fn(batch):
inputs = {k:v.to(device... | 35 | `map()` fails midway due to format incompatibility
### Describe the bug
I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset.
```py
def get_test_accuracy(model)... | [
-0.46174371242523193,
-0.21512757241725922,
-0.029291795566678047,
0.290257066488266,
0.2581411302089691,
-0.030276037752628326,
0.35209986567497253,
0.49773168563842773,
0.13243955373764038,
0.14149975776672363,
-0.1008460521697998,
0.4010533392429352,
-0.15057145059108734,
-0.03961350768... |
https://github.com/huggingface/datasets/issues/5179 | This is what I got.
For the non-erroring data, it looks like (without the labels):
```
tensor([[ 101, 10047, 3110, ..., 0, 0, 0],
[ 101, 1045, 2514, ..., 0, 0, 0],
[ 101, 1045, 2514, ..., 0, 0, 0],
...,
[ 101, 1045, 2005, ...... | `map()` fails midway due to format incompatibility | ### Describe the bug
I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset.
```py
def get_test_accuracy(model):
def fn(batch):
inputs = {k:v.to(device... | 597 | `map()` fails midway due to format incompatibility
### Describe the bug
I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset.
```py
def get_test_accuracy(model)... | [
-0.46174371242523193,
-0.21512757241725922,
-0.029291795566678047,
0.290257066488266,
0.2581411302089691,
-0.030276037752628326,
0.35209986567497253,
0.49773168563842773,
0.13243955373764038,
0.14149975776672363,
-0.1008460521697998,
0.4010533392429352,
-0.15057145059108734,
-0.03961350768... |
https://github.com/huggingface/datasets/issues/5179 | If you use the same batch_size for your two maps, you should get the exact same batches - therefore all containing the same shapes | `map()` fails midway due to format incompatibility | ### Describe the bug
I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset.
```py
def get_test_accuracy(model):
def fn(batch):
inputs = {k:v.to(device... | 24 | `map()` fails midway due to format incompatibility
### Describe the bug
I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset.
```py
def get_test_accuracy(model)... | [
-0.46174371242523193,
-0.21512757241725922,
-0.029291795566678047,
0.290257066488266,
0.2581411302089691,
-0.030276037752628326,
0.35209986567497253,
0.49773168563842773,
0.13243955373764038,
0.14149975776672363,
-0.1008460521697998,
0.4010533392429352,
-0.15057145059108734,
-0.03961350768... |
https://github.com/huggingface/datasets/issues/5178 | In the dumps page of the wiki (https://dumps.wikimedia.org/zhwiki/), I found the following dumps:
```
Index of /zhwiki/
[../](https://dumps.wikimedia.org/)
[20220701/](https://dumps.wikimedia.org/zhwiki/20220701/) 21-Aug-2022 01:48 -
[20220720/](https://du... | Unable to download the Chinese `wikipedia`, the dumpstatus.json not found! | ### Describe the bug
I tried:
`data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')`
and
`data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')`
but both got:
`FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/zhwiki/20220301/dumpsta... | 412 | Unable to download the Chinese `wikipedia`, the dumpstatus.json not found!
### Describe the bug
I tried:
`data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')`
and
`data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')`
but both got:
`FileNotFoundErr... | [
-0.12171489000320435,
0.1469554603099823,
-0.02930690534412861,
0.3561880886554718,
0.15384545922279358,
-0.0058229342103004456,
0.3910037577152252,
0.449571430683136,
0.3482816815376282,
0.003219038248062134,
-0.274293452501297,
0.1957605630159378,
0.19682717323303223,
-0.3526172041893005... |
https://github.com/huggingface/datasets/issues/5178 | Hi, @beyondguo, thanks for reporting.
You have all the information in the dataset card: https://huggingface.co/datasets/wikipedia
> Then, you can load any subset of Wikipedia per language and per date this way:
> ```python
> from datasets import load_dataset
>
> load_dataset("wikipedia", language="sw", date=... | Unable to download the Chinese `wikipedia`, the dumpstatus.json not found! | ### Describe the bug
I tried:
`data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')`
and
`data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')`
but both got:
`FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/zhwiki/20220301/dumpsta... | 113 | Unable to download the Chinese `wikipedia`, the dumpstatus.json not found!
### Describe the bug
I tried:
`data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')`
and
`data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')`
but both got:
`FileNotFoundErr... | [
-0.12171489000320435,
0.1469554603099823,
-0.02930690534412861,
0.3561880886554718,
0.15384545922279358,
-0.0058229342103004456,
0.3910037577152252,
0.449571430683136,
0.3482816815376282,
0.003219038248062134,
-0.274293452501297,
0.1957605630159378,
0.19682717323303223,
-0.3526172041893005... |
https://github.com/huggingface/datasets/issues/5178 | Also:
> Some subsets of Wikipedia have already been processed by HuggingFace, and you can load them just with:
> ```python
> load_dataset("wikipedia", "20220301.en")
> ```
> The list of pre-processed subsets is:
> - "20220301.de"
> - "20220301.en"
> - "20220301.fr"
> - "20220301.frr"
> - "20220301.it"
> - "2... | Unable to download the Chinese `wikipedia`, the dumpstatus.json not found! | ### Describe the bug
I tried:
`data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')`
and
`data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')`
but both got:
`FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/zhwiki/20220301/dumpsta... | 51 | Unable to download the Chinese `wikipedia`, the dumpstatus.json not found!
### Describe the bug
I tried:
`data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')`
and
`data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')`
but both got:
`FileNotFoundErr... | [
-0.12171489000320435,
0.1469554603099823,
-0.02930690534412861,
0.3561880886554718,
0.15384545922279358,
-0.0058229342103004456,
0.3910037577152252,
0.449571430683136,
0.3482816815376282,
0.003219038248062134,
-0.274293452501297,
0.1957605630159378,
0.19682717323303223,
-0.3526172041893005... |
https://github.com/huggingface/datasets/issues/5176 | It looks like an issue with `gcsfs`, are you able to instantiate a `GCSFileSystem` manually ? | prepare dataset for cloud storage doesn't work | ### Describe the bug
Following the [documentation](https://huggingface.co/docs/datasets/filesystems#load-and-save-your-datasets-using-your-cloud-storage-filesystem) and [this PR](https://github.com/huggingface/datasets/pull/4724), I was downloading and storing huggingface dataset to cloud storage.
```
from datasets ... | 16 | prepare dataset for cloud storage doesn't work
### Describe the bug
Following the [documentation](https://huggingface.co/docs/datasets/filesystems#load-and-save-your-datasets-using-your-cloud-storage-filesystem) and [this PR](https://github.com/huggingface/datasets/pull/4724), I was downloading and storing huggingfa... | [
-0.18443642556667328,
-0.22917145490646362,
0.08028562366962433,
0.21602094173431396,
0.4784650206565857,
0.08840009570121765,
0.11712579429149628,
0.030210372060537338,
-0.15905863046646118,
0.09195209294557571,
-0.06644734740257263,
0.05175585299730301,
0.020328395068645477,
0.3186258375... |
https://github.com/huggingface/datasets/issues/5162 | Thanks for reporting, @Rijgersberg.
We were waiting for the release of `dill` 0.3.6, that happened 2 days ago (24 Oct 2022): https://github.com/uqfoundation/dill/releases/tag/dill-0.3.6
- See comment: https://github.com/huggingface/datasets/pull/4397#discussion_r880629543
Also `multiprocess` 0.70.14 was released... | Pip-compile: Could not find a version that matches dill<0.3.6,>=0.3.6 | ### Describe the bug
When using `pip-compile` (part of `pip-tools`) to generate a pinned requirements file that includes `datasets`, a version conflict of `dill` appears.
It is caused by a transitive dependency conflict between `datasets` and `multiprocess`.
### Steps to reproduce the bug
```bash
$ echo "dataset... | 43 | Pip-compile: Could not find a version that matches dill<0.3.6,>=0.3.6
### Describe the bug
When using `pip-compile` (part of `pip-tools`) to generate a pinned requirements file that includes `datasets`, a version conflict of `dill` appears.
It is caused by a transitive dependency conflict between `datasets` and `... | [
-0.43604621291160583,
-0.216583251953125,
-0.10339932143688202,
0.17386415600776672,
-0.1144612729549408,
-0.17383112013339996,
-0.04679635167121887,
0.2676791846752167,
-0.22429361939430237,
0.056250687688589096,
0.19809898734092712,
0.5942269563674927,
0.12205056846141815,
-0.43792441487... |
https://github.com/huggingface/datasets/issues/5162 | In your specific setup, I guess the compatible configuration is with `multiprocess` 0.70.13 (instead of 0.70.14). | Pip-compile: Could not find a version that matches dill<0.3.6,>=0.3.6 | ### Describe the bug
When using `pip-compile` (part of `pip-tools`) to generate a pinned requirements file that includes `datasets`, a version conflict of `dill` appears.
It is caused by a transitive dependency conflict between `datasets` and `multiprocess`.
### Steps to reproduce the bug
```bash
$ echo "dataset... | 16 | Pip-compile: Could not find a version that matches dill<0.3.6,>=0.3.6
### Describe the bug
When using `pip-compile` (part of `pip-tools`) to generate a pinned requirements file that includes `datasets`, a version conflict of `dill` appears.
It is caused by a transitive dependency conflict between `datasets` and `... | [
-0.43604621291160583,
-0.216583251953125,
-0.10339932143688202,
0.17386415600776672,
-0.1144612729549408,
-0.17383112013339996,
-0.04679635167121887,
0.2676791846752167,
-0.22429361939430237,
0.056250687688589096,
0.19809898734092712,
0.5942269563674927,
0.12205056846141815,
-0.43792441487... |
https://github.com/huggingface/datasets/issues/5162 | > @Rijgersberg this issue is fixed. It will be available in our next `datasets` release.
Any chance you have a eta? | Pip-compile: Could not find a version that matches dill<0.3.6,>=0.3.6 | ### Describe the bug
When using `pip-compile` (part of `pip-tools`) to generate a pinned requirements file that includes `datasets`, a version conflict of `dill` appears.
It is caused by a transitive dependency conflict between `datasets` and `multiprocess`.
### Steps to reproduce the bug
```bash
$ echo "dataset... | 21 | Pip-compile: Could not find a version that matches dill<0.3.6,>=0.3.6
### Describe the bug
When using `pip-compile` (part of `pip-tools`) to generate a pinned requirements file that includes `datasets`, a version conflict of `dill` appears.
It is caused by a transitive dependency conflict between `datasets` and `... | [
-0.43604621291160583,
-0.216583251953125,
-0.10339932143688202,
0.17386415600776672,
-0.1144612729549408,
-0.17383112013339996,
-0.04679635167121887,
0.2676791846752167,
-0.22429361939430237,
0.056250687688589096,
0.19809898734092712,
0.5942269563674927,
0.12205056846141815,
-0.43792441487... |
https://github.com/huggingface/datasets/issues/5162 | @Rijgersberg, please also that you can make `pip-compile` work by using the backtracking resolver (instead of the legacy one): https://pip-tools.readthedocs.io/en/latest/#a-note-on-resolvers
```
pip-compile --resolver=backtracking requirements.in
```
This resolver will automatically use `multiprocess` 0.70.13 versi... | Pip-compile: Could not find a version that matches dill<0.3.6,>=0.3.6 | ### Describe the bug
When using `pip-compile` (part of `pip-tools`) to generate a pinned requirements file that includes `datasets`, a version conflict of `dill` appears.
It is caused by a transitive dependency conflict between `datasets` and `multiprocess`.
### Steps to reproduce the bug
```bash
$ echo "dataset... | 33 | Pip-compile: Could not find a version that matches dill<0.3.6,>=0.3.6
### Describe the bug
When using `pip-compile` (part of `pip-tools`) to generate a pinned requirements file that includes `datasets`, a version conflict of `dill` appears.
It is caused by a transitive dependency conflict between `datasets` and `... | [
-0.43604621291160583,
-0.216583251953125,
-0.10339932143688202,
0.17386415600776672,
-0.1144612729549408,
-0.17383112013339996,
-0.04679635167121887,
0.2676791846752167,
-0.22429361939430237,
0.056250687688589096,
0.19809898734092712,
0.5942269563674927,
0.12205056846141815,
-0.43792441487... |
https://github.com/huggingface/datasets/issues/5160 | I'm fine with adding a new column with the file name personally. Not sure how breaking this is though | Automatically add filename for image/audio folder | ### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset`
In `diffusers` our test rely quite heavily on i... | 19 | Automatically add filename for image/audio folder
### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset... | [
-0.2002544403076172,
0.2846625745296478,
-0.08746281266212463,
0.15082699060440063,
0.22337187826633453,
0.03521118313074112,
0.3776693642139435,
-0.02047702483832836,
0.024210751056671143,
0.812067985534668,
-0.12933751940727234,
0.2963840961456299,
-0.3278224766254425,
-0.021881721913814... |
https://github.com/huggingface/datasets/issues/5160 | @patrickvonplaten do you mean just filename or full relative path inside the repo?
I think it shouldn't be breaking, at least I cannot come up with any case where it is. Maybe @mariosasko can?
also I think that the problem here and in general is that Image/AudioFolder has default configuration which implies automat... | Automatically add filename for image/audio folder | ### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset`
In `diffusers` our test rely quite heavily on i... | 78 | Automatically add filename for image/audio folder
### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset... | [
-0.2692375183105469,
0.3377411961555481,
-0.05023825913667679,
0.16911590099334717,
0.2208794355392456,
-0.012015722692012787,
0.4024832248687744,
-0.07569319009780884,
-0.038731660693883896,
0.8157908320426941,
-0.14378519356250763,
0.2908385992050171,
-0.2941620349884033,
-0.130265414714... |
https://github.com/huggingface/datasets/issues/5160 | > also I think that the problem here and in general Image/AudioFolder has default configuration which implies automatic label creation if there is not metadata file
Yea I agree it's often the wrong default. We can also imagine adding the builder's parameters as YAML in the repo. | Automatically add filename for image/audio folder | ### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset`
In `diffusers` our test rely quite heavily on i... | 47 | Automatically add filename for image/audio folder
### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset... | [
-0.3062460124492645,
0.3681701421737671,
-0.06136665865778923,
0.24817173182964325,
0.20445616543293,
0.01773311197757721,
0.3643569052219391,
-0.07309003919363022,
-0.02968861535191536,
0.9004755616188049,
-0.08891325443983078,
0.28994542360305786,
-0.37323009967803955,
-0.044907849282026... |
https://github.com/huggingface/datasets/issues/5160 | @lhoestq yes I also got the idea of some YAML config! not sure of what priority it is though. | Automatically add filename for image/audio folder | ### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset`
In `diffusers` our test rely quite heavily on i... | 19 | Automatically add filename for image/audio folder
### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset... | [
-0.21613812446594238,
0.22252649068832397,
-0.08148730546236038,
0.17287078499794006,
0.2311209738254547,
0.04465571790933609,
0.3522820472717285,
-0.0545102134346962,
-0.028429504483938217,
0.8056459426879883,
-0.12862828373908997,
0.27720993757247925,
-0.3332001864910126,
-0.031517218798... |
https://github.com/huggingface/datasets/issues/5160 | I meant just the file name (no path) that would already be super helpful IMO :-) (maybe dir+filename if there are dirs in the folder) | Automatically add filename for image/audio folder | ### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset`
In `diffusers` our test rely quite heavily on i... | 25 | Automatically add filename for image/audio folder
### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset... | [
-0.22983841598033905,
0.2651716470718384,
-0.0951121598482132,
0.1885107457637787,
0.2101125717163086,
0.036780498921871185,
0.3131355047225952,
-0.04229552671313286,
-0.01919972524046898,
0.8098447918891907,
-0.14725738763809204,
0.2855912148952484,
-0.3523083031177521,
-0.028353944420814... |
https://github.com/huggingface/datasets/issues/5160 | @patrickvonplaten one more time, to be sure I understand you.
For example, we have data structure like this:
```
├─ data/
│ └─ subdir/
│ └── cats/
│ ├── 0.jpg
│ ├── 1.jpg
│ └── 2.jpg
│ └── dogs/
│ ├── 0.jpg
│ ├── 1.jpg
│ └── 2.jpg
└── another_s... | Automatically add filename for image/audio folder | ### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset`
In `diffusers` our test rely quite heavily on i... | 82 | Automatically add filename for image/audio folder
### Feature request
When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both:
a) Automatically displayed in the viewer
b) Automatically added as a column to the dataset when doing `load_dataset... | [
-0.23316888511180878,
0.27524468302726746,
-0.08608858287334442,
0.171458899974823,
0.20134755969047546,
0.03416602313518524,
0.3174991011619568,
-0.028296522796154022,
-0.059300802648067474,
0.8031666278839111,
-0.16384434700012207,
0.27515602111816406,
-0.3127146363258362,
-0.04214209318... |
https://github.com/huggingface/datasets/issues/5158 | Hi @ayushthe1, thanks for your offer.
But as you can see, I self-assigned this issue.
I have already fixed 200 out of the 402 datasets. My script is still running and fixing the rest.
For example: https://huggingface.co/datasets/fhamborg/news_sentiment_newsmtsc/discussions/2/files | Fix language and license tag names in all Hub datasets | While working on this:
- #5137
we realized there are still many datasets with deprecated "languages" and "licenses" tag names (instead of "language" and "license").
This is a blocking issue: no subsequent PR can be opened to modify their metadata: a ValueError will be thrown.
We should fix the "language" and ... | 37 | Fix language and license tag names in all Hub datasets
While working on this:
- #5137
we realized there are still many datasets with deprecated "languages" and "licenses" tag names (instead of "language" and "license").
This is a blocking issue: no subsequent PR can be opened to modify their metadata: a ValueE... | [
-0.14183354377746582,
0.06170007586479187,
-0.15274947881698608,
0.05887705460190773,
0.08886013180017471,
0.006303071975708008,
0.32195115089416504,
0.5604637265205383,
0.3392621576786041,
0.049362681806087494,
-0.19746188819408417,
0.3276391327381134,
-0.12068301439285278,
0.186091765761... |
https://github.com/huggingface/datasets/issues/5157 | Hi ! Maybe it's possible to have a consistent hash for a function defined in `__main__` and a function define in a notebook.
However for functions imported from another location, pickle uses the location to identify the code, so in that case we can't do much I believe.
Would it be ok for you if we only try to do ... | Consistent caching between python and jupyter | ### Feature request
I hope this is not my mistake, currently if I use `load_dataset` from a python session on a custom dataset to do the preprocessing, it will be saved in the cache and in other python sessions it will be loaded from the cache, however calling the same from a jupyter notebook does not work, meaning th... | 107 | Consistent caching between python and jupyter
### Feature request
I hope this is not my mistake, currently if I use `load_dataset` from a python session on a custom dataset to do the preprocessing, it will be saved in the cache and in other python sessions it will be loaded from the cache, however calling the same f... | [
0.013680130243301392,
0.4253920316696167,
0.0007224529981613159,
-0.03710508346557617,
-0.04873749613761902,
-0.15002238750457764,
0.4415082335472107,
0.2562301754951477,
0.19895575940608978,
0.009456299245357513,
-0.08333960175514221,
0.13355739414691925,
-0.014632631093263626,
0.46604758... |
https://github.com/huggingface/datasets/issues/5157 | Seems like a good solution, I will start a PR and see if I understood the changes needed. Thanks! | Consistent caching between python and jupyter | ### Feature request
I hope this is not my mistake, currently if I use `load_dataset` from a python session on a custom dataset to do the preprocessing, it will be saved in the cache and in other python sessions it will be loaded from the cache, however calling the same from a jupyter notebook does not work, meaning th... | 19 | Consistent caching between python and jupyter
### Feature request
I hope this is not my mistake, currently if I use `load_dataset` from a python session on a custom dataset to do the preprocessing, it will be saved in the cache and in other python sessions it will be loaded from the cache, however calling the same f... | [
-0.0201629176735878,
0.42007046937942505,
0.008680149912834167,
-0.03682063892483711,
-0.09623461961746216,
0.004682198166847229,
0.5217929482460022,
0.2666196823120117,
0.05858255922794342,
-0.022601626813411713,
-0.005156710743904114,
-0.022722991183400154,
0.043434467166662216,
0.259840... |
https://github.com/huggingface/datasets/issues/5156 | Hi ! From the `adlfs` docs, there are two filesystems you can use:
> To use the Gen1 filesystem:
> - known_implementations[‘adl’] = {‘class’: ‘adlfs.AzureDatalakeFileSystem’}
>
> To use the Gen2 filesystem:
> - known_implementations[‘abfs’] = {‘class’: ‘adlfs.AzureBlobFileSystem’}
If I'm not mistaken you're u... | Unable to download dataset using Azure Data Lake Gen 2 | ### Describe the bug
When using the DatasetBuilder method with the credentials for the cloud storage Azure Data Lake (adl) Gen2, the following error is showed:
```
Traceback (most recent call last):
File "download_hf_dataset.py", line 143, in <module>
main()
File "download_hf_dataset.py", line 102, in mai... | 76 | Unable to download dataset using Azure Data Lake Gen 2
### Describe the bug
When using the DatasetBuilder method with the credentials for the cloud storage Azure Data Lake (adl) Gen2, the following error is showed:
```
Traceback (most recent call last):
File "download_hf_dataset.py", line 143, in <module>
... | [
0.00794333964586258,
0.22752314805984497,
0.008019652217626572,
0.2379266619682312,
0.09995651245117188,
0.19691506028175354,
0.1838727593421936,
0.19614681601524353,
-0.05162252113223076,
-0.16205643117427826,
-0.027395395562052727,
-0.006244424730539322,
0.23231962323188782,
0.1157746762... |
https://github.com/huggingface/datasets/issues/5156 | Thank you @lhoestq . Great call.
Using the default class from `known_implementations` dict solved my problem
```
known_implementations[‘abfs’] = {‘class’: ‘adlfs.AzureBlobFileSystem’}
```
I'm closing this issue. | Unable to download dataset using Azure Data Lake Gen 2 | ### Describe the bug
When using the DatasetBuilder method with the credentials for the cloud storage Azure Data Lake (adl) Gen2, the following error is showed:
```
Traceback (most recent call last):
File "download_hf_dataset.py", line 143, in <module>
main()
File "download_hf_dataset.py", line 102, in mai... | 26 | Unable to download dataset using Azure Data Lake Gen 2
### Describe the bug
When using the DatasetBuilder method with the credentials for the cloud storage Azure Data Lake (adl) Gen2, the following error is showed:
```
Traceback (most recent call last):
File "download_hf_dataset.py", line 143, in <module>
... | [
0.00794333964586258,
0.22752314805984497,
0.008019652217626572,
0.2379266619682312,
0.09995651245117188,
0.19691506028175354,
0.1838727593421936,
0.19614681601524353,
-0.05162252113223076,
-0.16205643117427826,
-0.027395395562052727,
-0.006244424730539322,
0.23231962323188782,
0.1157746762... |
https://github.com/huggingface/datasets/issues/5153 | Makes sense! For the last structure, we could count the path segments (delimited by "/" for URLs and `os.sep` for local paths) to ensure all inferred labels are on the same level. Otherwise, I think it's safe to assume they are meaningless and ignore them.
| default Image/AudioFolder infers labels when there is no metadata files even if there is only one dir | ### Describe the bug
By default FolderBasedBuilder infers labels if there is not metadata files, even if it's meaningless (for example, they are in a single directory or in the root folder, see this repo as an example: https://huggingface.co/datasets/patrickvonplaten/audios
As this is a corner case for quick expl... | 45 | default Image/AudioFolder infers labels when there is no metadata files even if there is only one dir
### Describe the bug
By default FolderBasedBuilder infers labels if there is not metadata files, even if it's meaningless (for example, they are in a single directory or in the root folder, see this repo as an exa... | [
-0.19025060534477234,
0.026785671710968018,
0.04564231261610985,
0.4649686813354492,
0.19161571562290192,
-0.03204750269651413,
0.5564302206039429,
-0.02010447159409523,
-0.009446188807487488,
0.4672832489013672,
-0.3452377915382385,
0.17693760991096497,
-0.233949214220047,
-0.169977605342... |
https://github.com/huggingface/datasets/issues/5150 | Hi! I can't reproduce the error following these steps. Can you please provide a reproducible example? | Problems after upgrading to 2.6.1 | ### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of `Dataset`s, e.g., `DatasetDict({"tr... | 16 | Problems after upgrading to 2.6.1
### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of... | [
0.104544997215271,
0.06079950928688049,
0.059698306024074554,
0.5349828600883484,
0.22519747912883759,
0.12659430503845215,
0.39241042733192444,
0.21595531702041626,
0.15846538543701172,
0.21075142920017242,
0.3439851999282837,
0.22761893272399902,
-0.14738395810127258,
-0.1108776479959487... |
https://github.com/huggingface/datasets/issues/5150 | I faced the same issue:
### Repro
```
!pip install datasets==2.6.1
import datasets as Dataset
dataset = Dataset.from_pandas(dataframe)
dataset.save_to_disk(local)
!pip install datasets==2.5.2
import datasets as Dataset
dataset = Dataset.load_from_disk(local)
```
| Problems after upgrading to 2.6.1 | ### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of `Dataset`s, e.g., `DatasetDict({"tr... | 30 | Problems after upgrading to 2.6.1
### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of... | [
0.005163870751857758,
0.058015450835227966,
0.045122675597667694,
0.5168249607086182,
0.23230375349521637,
0.07308758795261383,
0.33419978618621826,
0.22718405723571777,
0.19120341539382935,
0.1744806468486786,
0.25057560205459595,
0.2657814621925354,
-0.11492945998907089,
-0.1088052690029... |
https://github.com/huggingface/datasets/issues/5150 | I bumped into the issue too. @Lokiiiiii thanks for steps. I "solved" if for now by `pip install datasets>=2.6.1` everywhere. | Problems after upgrading to 2.6.1 | ### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of `Dataset`s, e.g., `DatasetDict({"tr... | 20 | Problems after upgrading to 2.6.1
### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of... | [
-0.0006472095847129822,
0.06476670503616333,
0.03313637524843216,
0.5055514574050903,
0.23955698311328888,
0.07631456851959229,
0.33854249119758606,
0.27240464091300964,
0.19719578325748444,
0.16364730894565582,
0.27380484342575073,
0.24853932857513428,
-0.1085578203201294,
-0.063310913741... |
https://github.com/huggingface/datasets/issues/5150 | Hi all,
I experienced the same issue.
Please note that the pull request is related to the IMDB example provided in the doc, and is a fix for that, in that context, to make sure that people can follow the doc example and have a working system.
It does not provide a fix for Datasets itself. | Problems after upgrading to 2.6.1 | ### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of `Dataset`s, e.g., `DatasetDict({"tr... | 56 | Problems after upgrading to 2.6.1
### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of... | [
-0.023531712591648102,
0.18796083331108093,
0.03658466041088104,
0.5241066217422485,
0.17488612234592438,
0.09344030916690826,
0.4041299819946289,
0.26768946647644043,
0.18015015125274658,
0.16607695817947388,
0.24838006496429443,
0.22666028141975403,
-0.09475958347320557,
-0.0687938183546... |
https://github.com/huggingface/datasets/issues/5150 | im getting the same error.
- using the base AWS HF container that uses a datasets <2.
- updating the AWS HF container to use dataset 2.4
| Problems after upgrading to 2.6.1 | ### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of `Dataset`s, e.g., `DatasetDict({"tr... | 27 | Problems after upgrading to 2.6.1
### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of... | [
-0.045134037733078,
0.08813941478729248,
0.07960568368434906,
0.41286754608154297,
0.1612515151500702,
0.05661214888095856,
0.3962486684322357,
0.246336430311203,
0.2683172821998596,
0.14761225879192352,
0.24307262897491455,
0.09313524514436722,
-0.038077667355537415,
-0.034216057509183884... |
https://github.com/huggingface/datasets/issues/5150 | Same here, running on our SageMaker pipelines. It's only happening for some but not all of our saved Datasets. | Problems after upgrading to 2.6.1 | ### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of `Dataset`s, e.g., `DatasetDict({"tr... | 19 | Problems after upgrading to 2.6.1
### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of... | [
-0.00220324844121933,
0.17898733913898468,
0.06423193216323853,
0.5237191915512085,
0.16321633756160736,
0.08636362850666046,
0.3798891305923462,
0.25974541902542114,
0.23436109721660614,
0.22525247931480408,
0.32204100489616394,
0.183345228433609,
-0.16927570104599,
-0.009654544293880463,... |
https://github.com/huggingface/datasets/issues/5150 | I am also receiving this error on Sagemaker but not locally, I have noticed that this occurs when the `.dataset/` folder does not contain a single file like:
`dataset.arrow`
but instead contains multiple files like:
`data-00000-of-00002.arrow`
`data-00001-of-00002.arrow`
I think that it may have something ... | Problems after upgrading to 2.6.1 | ### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of `Dataset`s, e.g., `DatasetDict({"tr... | 160 | Problems after upgrading to 2.6.1
### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of... | [
-0.07980578392744064,
0.24414992332458496,
0.05264807119965553,
0.5432546734809875,
0.2104259431362152,
0.1146874874830246,
0.3653228282928467,
0.3461967706680298,
0.16064107418060303,
0.21888944506645203,
0.3294394016265869,
0.19466745853424072,
-0.20830869674682617,
-0.07513643056154251,... |
https://github.com/huggingface/datasets/issues/5148 | Hi, @santule.
We have transferred all dataset scripts from GitHub to the Hugging Face Hub: https://huggingface.co/datasets
- Concretely, you have "rvl_cdip" here: https://huggingface.co/datasets/rvl_cdip
To be able to load them, you should update your `datasets` library:
```
pip install -U datasets
``` | Cannot find the rvl_cdip dataset | Hi,
I am trying to use load_dataset to load the official "rvl_cdip" dataset but getting an error.
dataset = load_dataset("rvl_cdip")
Couldn't find 'rvl_cdip' on the Hugging Face Hub either: FileNotFoundError: Couldn't find the file at https://raw.githubusercontent.com/huggingface/datasets/master/datasets/rvl_cdi... | 41 | Cannot find the rvl_cdip dataset
Hi,
I am trying to use load_dataset to load the official "rvl_cdip" dataset but getting an error.
dataset = load_dataset("rvl_cdip")
Couldn't find 'rvl_cdip' on the Hugging Face Hub either: FileNotFoundError: Couldn't find the file at https://raw.githubusercontent.com/huggingfa... | [
-0.26798391342163086,
-0.4642585515975952,
-0.04070296511054039,
0.3554813265800476,
0.40039291977882385,
0.05472835898399353,
0.021672943606972694,
-0.029234133660793304,
0.08704422414302826,
0.1289825737476349,
-0.057722896337509155,
0.26188012957572937,
-0.07812894880771637,
0.105163440... |
https://github.com/huggingface/datasets/issues/5147 | Hi ! In the `transformers` issue the object to not hash is a `Pool` - I think you can instantiate it inside your function instead of passing it as a parameter. It's good practice that your function and all its fn_kwargs are picklable, in case you want to parallelize `map` using `num_proc>1`
For the other case `def f... | Allow ignoring kwargs inside fn_kwargs during dataset.map's fingerprinting | ### Feature request
`dataset.map` accepts a `fn_kwargs` that is passed to `fn`. Currently, the whole `fn_kwargs` is used by `fingerprint_transform` to calculate the new fingerprint.
I'd like to be able to inform `fingerprint_transform` which `fn_kwargs` shoud/shouldn't be taken into account during hashing.
Of co... | 94 | Allow ignoring kwargs inside fn_kwargs during dataset.map's fingerprinting
### Feature request
`dataset.map` accepts a `fn_kwargs` that is passed to `fn`. Currently, the whole `fn_kwargs` is used by `fingerprint_transform` to calculate the new fingerprint.
I'd like to be able to inform `fingerprint_transform` whi... | [
-0.005866147577762604,
-0.060762256383895874,
-0.018343612551689148,
-0.1937197744846344,
-0.005041343159973621,
0.1641056388616562,
0.3912353813648224,
0.16376882791519165,
0.20602412521839142,
0.03425846993923187,
0.1247168704867363,
0.3699963688850403,
-0.08079454302787781,
0.1498707979... |
https://github.com/huggingface/datasets/issues/5147 | Hi @lhoestq! Thanks for your response.
A `Pool` shouldn't be instantiated within the function, because there's a huge overhead in doing so. The main idea is that the same `Pool` should be used across all function calls. Parallel `map` is not helpful/desired in that specific scenario, because the heavy parallel compu... | Allow ignoring kwargs inside fn_kwargs during dataset.map's fingerprinting | ### Feature request
`dataset.map` accepts a `fn_kwargs` that is passed to `fn`. Currently, the whole `fn_kwargs` is used by `fingerprint_transform` to calculate the new fingerprint.
I'd like to be able to inform `fingerprint_transform` which `fn_kwargs` shoud/shouldn't be taken into account during hashing.
Of co... | 144 | Allow ignoring kwargs inside fn_kwargs during dataset.map's fingerprinting
### Feature request
`dataset.map` accepts a `fn_kwargs` that is passed to `fn`. Currently, the whole `fn_kwargs` is used by `fingerprint_transform` to calculate the new fingerprint.
I'd like to be able to inform `fingerprint_transform` whi... | [
-0.005866147577762604,
-0.060762256383895874,
-0.018343612551689148,
-0.1937197744846344,
-0.005041343159973621,
0.1641056388616562,
0.3912353813648224,
0.16376882791519165,
0.20602412521839142,
0.03425846993923187,
0.1247168704867363,
0.3699963688850403,
-0.08079454302787781,
0.1498707979... |
https://github.com/huggingface/datasets/issues/5147 | > Would it be created for this specific purpose? Any downsides in just using datasets.fingerprint?
This can also go in datasets.fingerprint indeed - but maybe datasets.hashing tells more about what the register function does (i.e. register this function to have a custom hashing) ?
> And would datasets.hashing.reg... | Allow ignoring kwargs inside fn_kwargs during dataset.map's fingerprinting | ### Feature request
`dataset.map` accepts a `fn_kwargs` that is passed to `fn`. Currently, the whole `fn_kwargs` is used by `fingerprint_transform` to calculate the new fingerprint.
I'd like to be able to inform `fingerprint_transform` which `fn_kwargs` shoud/shouldn't be taken into account during hashing.
Of co... | 120 | Allow ignoring kwargs inside fn_kwargs during dataset.map's fingerprinting
### Feature request
`dataset.map` accepts a `fn_kwargs` that is passed to `fn`. Currently, the whole `fn_kwargs` is used by `fingerprint_transform` to calculate the new fingerprint.
I'd like to be able to inform `fingerprint_transform` whi... | [
-0.005866147577762604,
-0.060762256383895874,
-0.018343612551689148,
-0.1937197744846344,
-0.005041343159973621,
0.1641056388616562,
0.3912353813648224,
0.16376882791519165,
0.20602412521839142,
0.03425846993923187,
0.1247168704867363,
0.3699963688850403,
-0.08079454302787781,
0.1498707979... |
https://github.com/huggingface/datasets/issues/5147 | > This can also go in datasets.fingerprint indeed - but maybe datasets.hashing tells more about what the register function does (i.e. register this function to have a custom hashing) ?
Sure, it makes sense.
---
I don't plan to work on it right now, so I'll let it unassigned in case somebody wants to join. I'll... | Allow ignoring kwargs inside fn_kwargs during dataset.map's fingerprinting | ### Feature request
`dataset.map` accepts a `fn_kwargs` that is passed to `fn`. Currently, the whole `fn_kwargs` is used by `fingerprint_transform` to calculate the new fingerprint.
I'd like to be able to inform `fingerprint_transform` which `fn_kwargs` shoud/shouldn't be taken into account during hashing.
Of co... | 65 | Allow ignoring kwargs inside fn_kwargs during dataset.map's fingerprinting
### Feature request
`dataset.map` accepts a `fn_kwargs` that is passed to `fn`. Currently, the whole `fn_kwargs` is used by `fingerprint_transform` to calculate the new fingerprint.
I'd like to be able to inform `fingerprint_transform` whi... | [
-0.005866147577762604,
-0.060762256383895874,
-0.018343612551689148,
-0.1937197744846344,
-0.005041343159973621,
0.1641056388616562,
0.3912353813648224,
0.16376882791519165,
0.20602412521839142,
0.03425846993923187,
0.1247168704867363,
0.3699963688850403,
-0.08079454302787781,
0.1498707979... |
https://github.com/huggingface/datasets/issues/5145 | Thanks for reporting ! The issue doesn't come from shuffling, but from `beans` row order not being deterministic:
https://huggingface.co/datasets/beans/blob/main/beans.py uses `dl_manager.iter_files` on ZIP archives and the file order doesn't seen to be deterministic and changes across machines | Dataset order is not deterministic with ZIP archives and `iter_files` | ### Describe the bug
For the `beans` dataset (did not try on other), the order of samples is not the same on different machines. Tested on my local laptop, github actions machine, and ec2 instance. The three yield a different order.
### Steps to reproduce the bug
In a clean docker container or conda environmen... | 37 | Dataset order is not deterministic with ZIP archives and `iter_files`
### Describe the bug
For the `beans` dataset (did not try on other), the order of samples is not the same on different machines. Tested on my local laptop, github actions machine, and ec2 instance. The three yield a different order.
### Steps... | [
-0.021393172442913055,
0.046004459261894226,
0.010777696967124939,
0.38831695914268494,
0.004189265891909599,
-0.2298097014427185,
0.2964479327201843,
0.07253190875053406,
-0.3124065697193146,
0.24717406928539276,
0.1733967363834381,
0.6337767243385315,
0.19716906547546387,
-0.007714346051... |
https://github.com/huggingface/datasets/issues/5145 | This is still a bug, so I'd keep this one open if you don't mind ;) | Dataset order is not deterministic with ZIP archives and `iter_files` | ### Describe the bug
For the `beans` dataset (did not try on other), the order of samples is not the same on different machines. Tested on my local laptop, github actions machine, and ec2 instance. The three yield a different order.
### Steps to reproduce the bug
In a clean docker container or conda environmen... | 16 | Dataset order is not deterministic with ZIP archives and `iter_files`
### Describe the bug
For the `beans` dataset (did not try on other), the order of samples is not the same on different machines. Tested on my local laptop, github actions machine, and ec2 instance. The three yield a different order.
### Steps... | [
-0.1831270456314087,
0.1504085808992386,
-0.027091700583696365,
0.28768524527549744,
0.014623882248997688,
-0.28449028730392456,
0.2627813220024109,
0.09335682541131973,
-0.24765977263450623,
0.2108021378517151,
0.2603473663330078,
0.6107097268104553,
0.1977757066488266,
-0.064683936536312... |
https://github.com/huggingface/datasets/issues/5145 | Besides the linked PR, to make the loading process fully deterministic, I believe we should also sort the data files [here](https://github.com/huggingface/datasets/blob/df4bdd365f2abb695f113cbf8856a925bc70901b/src/datasets/data_files.py#L276) and [here](https://github.com/huggingface/datasets/blob/df4bdd365f2abb695f113... | Dataset order is not deterministic with ZIP archives and `iter_files` | ### Describe the bug
For the `beans` dataset (did not try on other), the order of samples is not the same on different machines. Tested on my local laptop, github actions machine, and ec2 instance. The three yield a different order.
### Steps to reproduce the bug
In a clean docker container or conda environmen... | 68 | Dataset order is not deterministic with ZIP archives and `iter_files`
### Describe the bug
For the `beans` dataset (did not try on other), the order of samples is not the same on different machines. Tested on my local laptop, github actions machine, and ec2 instance. The three yield a different order.
### Steps... | [
-0.17855530977249146,
0.14124326407909393,
-0.02605297975242138,
0.34170377254486084,
0.032715607434511185,
-0.29017239809036255,
0.23596030473709106,
0.09723252058029175,
-0.21443897485733032,
0.18384751677513123,
0.21164539456367493,
0.6462433338165283,
0.21674418449401855,
-0.0883203446... |
https://github.com/huggingface/datasets/issues/5145 | We already return the result sorted at the end of `_resolve_single_pattern_locally` and `_resolve_single_pattern_in_dataset_repository` if I'm not mistaken | Dataset order is not deterministic with ZIP archives and `iter_files` | ### Describe the bug
For the `beans` dataset (did not try on other), the order of samples is not the same on different machines. Tested on my local laptop, github actions machine, and ec2 instance. The three yield a different order.
### Steps to reproduce the bug
In a clean docker container or conda environmen... | 17 | Dataset order is not deterministic with ZIP archives and `iter_files`
### Describe the bug
For the `beans` dataset (did not try on other), the order of samples is not the same on different machines. Tested on my local laptop, github actions machine, and ec2 instance. The three yield a different order.
### Steps... | [
-0.18060806393623352,
0.14462698996067047,
-0.01702864095568657,
0.3118264079093933,
0.03760993853211403,
-0.3084613084793091,
0.2720966339111328,
0.14295640587806702,
-0.3288837969303131,
0.2114655077457428,
0.23483221232891083,
0.6990675926208496,
0.19552911818027496,
-0.0847406312823295... |
https://github.com/huggingface/datasets/issues/5144 | Thanks for reporting, @zhaowei-wang-nlp.
You are right, the documentation is confusing on the behavior of `remove_columns`. We should better explain it. | Inconsistent documentation on map remove_columns | ### Describe the bug
The page [process](https://huggingface.co/docs/datasets/process) says this about the parameter `remove_columns` of the function `map`:
When you remove a column, it is only removed after the example has been provided to the mapped function.
So it seems that the `remove_columns` parameter remo... | 21 | Inconsistent documentation on map remove_columns
### Describe the bug
The page [process](https://huggingface.co/docs/datasets/process) says this about the parameter `remove_columns` of the function `map`:
When you remove a column, it is only removed after the example has been provided to the mapped function.
S... | [
0.27841585874557495,
-0.29798218607902527,
0.022663086652755737,
0.33704572916030884,
0.13800227642059326,
0.03696829080581665,
0.28377991914749146,
-0.08477585017681122,
0.33134716749191284,
0.1609838455915451,
-0.009172029793262482,
0.35711464285850525,
0.03383151441812515,
-0.1418277919... |
https://github.com/huggingface/datasets/issues/5144 | I'm closing this issue because as @mariosasko pointed out, it is a duplicate of:
- #2343 | Inconsistent documentation on map remove_columns | ### Describe the bug
The page [process](https://huggingface.co/docs/datasets/process) says this about the parameter `remove_columns` of the function `map`:
When you remove a column, it is only removed after the example has been provided to the mapped function.
So it seems that the `remove_columns` parameter remo... | 16 | Inconsistent documentation on map remove_columns
### Describe the bug
The page [process](https://huggingface.co/docs/datasets/process) says this about the parameter `remove_columns` of the function `map`:
When you remove a column, it is only removed after the example has been provided to the mapped function.
S... | [
0.2650564908981323,
-0.2812564969062805,
0.02467944100499153,
0.33554908633232117,
0.14320114254951477,
0.039535120129585266,
0.2715858817100525,
-0.05271812155842781,
0.3621797561645508,
0.149663507938385,
0.0350738987326622,
0.34748566150665283,
0.04819285497069359,
-0.16127850115299225,... |
https://github.com/huggingface/datasets/issues/5143 | Hey ! Actually it works, just pass the right URL ;)
The URL must be the one with “/resolve/”
e.g. https://huggingface.co/datasets/imagenet-1k/resolve/main/data/test_images.tar.gz
You can even pass a relative path to the dl_manager instead, like `dl_manager.download("data/test_images.tar.gz")` | DownloadManager Git LFS support | ### Feature request
Maybe I'm mistaken but the `DownloadManager` does not support extracting git lfs files out of the box right?
Using `dl_manager.download()` or `dl_manager.download_and_extract()` still returns lfs files afaict.
Is there a good way to write a dataset loading script for a repo with lfs files?
##... | 34 | DownloadManager Git LFS support
### Feature request
Maybe I'm mistaken but the `DownloadManager` does not support extracting git lfs files out of the box right?
Using `dl_manager.download()` or `dl_manager.download_and_extract()` still returns lfs files afaict.
Is there a good way to write a dataset loading scr... | [
-0.5225303173065186,
0.3553295135498047,
-0.04971412569284439,
0.4681498408317566,
0.25686097145080566,
-0.08727549016475677,
0.16220149397850037,
0.38041794300079346,
0.48680102825164795,
0.10622213035821915,
-0.22462250292301178,
0.1374482661485672,
-0.18170911073684692,
0.15916034579277... |
https://github.com/huggingface/datasets/issues/5137 | I have opened PRs to fix the task_ids in all datasets within a namespace as well.
Working on task_categories... | Align task tags in dataset metadata | ## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datasets
- [x] task_categories: 451 datas... | 19 | Align task tags in dataset metadata
## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datase... | [
-0.436845988035202,
0.016752302646636963,
-0.26233893632888794,
0.06745834648609161,
0.17841608822345734,
-0.17061705887317657,
0.24573615193367004,
0.20651684701442719,
0.015393950045108795,
0.215615913271904,
-0.03755065053701401,
0.295455664396286,
0.013874005526304245,
0.39105099439620... |
https://github.com/huggingface/datasets/issues/5137 | For future reference: this fix had some complications
When trying to open a PR to fix the task tags, an exception was thrown if:
- the metadata contained "languages" or "licenses" (instead of "language" or "license")
- the metadata contained a non-valid language: `en-US` (instead of `en`), `no` (instead of `'no'`)... | Align task tags in dataset metadata | ## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datasets
- [x] task_categories: 451 datas... | 169 | Align task tags in dataset metadata
## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datase... | [
-0.5523924827575684,
0.08546972274780273,
-0.17715707421302795,
0.08637520670890808,
0.18943221867084503,
-0.14889059960842133,
0.24858903884887695,
0.2358175814151764,
0.09976519644260406,
0.21638688445091248,
-0.09413626790046692,
0.4503296911716461,
-0.009858300909399986,
0.381334155797... |
https://github.com/huggingface/datasets/issues/5137 | Yes, @julien-c. These are some of the feedbacks:
- Most people just thank for the fix: [cahya/librivox-indonesia](https://huggingface.co/datasets/cahya/librivox-indonesia/discussions/1#6357cd8a292a050ebd705f84), [TurkuNLP/xlsum-fi](https://huggingface.co/datasets/TurkuNLP/xlsum-fi/discussions/1#6357828aa1f8ad1c31bcbe4... | Align task tags in dataset metadata | ## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datasets
- [x] task_categories: 451 datas... | 189 | Align task tags in dataset metadata
## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datase... | [
-0.4031171202659607,
0.06738284230232239,
-0.20608556270599365,
-0.03661629930138588,
0.15056893229484558,
-0.20569980144500732,
0.1906246691942215,
0.30846694111824036,
0.021493688225746155,
0.15987375378608704,
-0.2070019245147705,
0.22516678273677826,
0.08066495507955551,
0.482864141464... |
https://github.com/huggingface/datasets/issues/5137 | As someone with feedback on the updates (which I highly appreciate seeing included here :D), a few comments from a "user perspective":
* I think the general confusion for me was also surrounding the hierarchy; it doesn't really become super clear (even when using the tagger space) that one is a subset of the other... | Align task tags in dataset metadata | ## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datasets
- [x] task_categories: 451 datas... | 216 | Align task tags in dataset metadata
## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datase... | [
-0.4204704165458679,
0.22354823350906372,
-0.1933591663837433,
-0.04848840832710266,
0.13827982544898987,
-0.072443887591362,
0.10605530440807343,
0.2928413450717926,
-0.009969513863325119,
0.02048478275537491,
-0.15161705017089844,
0.40076908469200134,
-0.034149859100580215,
0.37688553333... |
https://github.com/huggingface/datasets/issues/5137 | Thanks to you both for your feedback! super useful! cc'ing @osanseviero too 🙂
> The datasets explorer still shows tags that are no longer valid
wait which explorer is that? is it https://huggingface.co/datasets/viewer/ ?
| Align task tags in dataset metadata | ## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datasets
- [x] task_categories: 451 datas... | 34 | Align task tags in dataset metadata
## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datase... | [
-0.47998085618019104,
0.1701500415802002,
-0.18582433462142944,
0.15901082754135132,
0.14320886135101318,
-0.11162897944450378,
0.1868675947189331,
0.1836247593164444,
0.017176613211631775,
0.12750564515590668,
-0.13632500171661377,
0.30775830149650574,
-0.06249266490340233,
0.501351535320... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.