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/4883 | To add to what @stas00 found, I'm gonna leave some links to where I believe the confusion came from in pyarrow's APIs, for future reference:
* In the section where they talk about [efficiently writing and reading arrow data](https://arrow.apache.org/docs/dev/python/ipc.html?#efficiently-writing-and-reading-arrow-data)... | With dataloader RSS memory consumed by HF datasets monotonically increases | ## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this snippet which logs RSS memory.
```python
import psutil
import os
from transf... | 272 | With dataloader RSS memory consumed by HF datasets monotonically increases
## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this sni... | [
-0.11197669059038162,
-0.039892807602882385,
0.13984139263629913,
0.1820036768913269,
0.23067420721054077,
-0.14632566273212433,
0.18177485466003418,
0.020412497222423553,
0.009392328560352325,
0.277101069688797,
-0.0209812019020319,
0.3817746937274933,
-0.24683015048503876,
-0.28821110725... |
https://github.com/huggingface/datasets/issues/4883 | @lhoestq, I have been working on a detailed article that shows that MMAP doesn't leak and it's mostly ready. I will share when it's ready.
The issue is that we still need to be able to debug memory leaks by turning MMAP off.
But, once I tried to show the user that using `load_dataset(... keep_in_memory=True)` is ... | With dataloader RSS memory consumed by HF datasets monotonically increases | ## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this snippet which logs RSS memory.
```python
import psutil
import os
from transf... | 183 | With dataloader RSS memory consumed by HF datasets monotonically increases
## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this sni... | [
-0.11197669059038162,
-0.039892807602882385,
0.13984139263629913,
0.1820036768913269,
0.23067420721054077,
-0.14632566273212433,
0.18177485466003418,
0.020412497222423553,
0.009392328560352325,
0.277101069688797,
-0.0209812019020319,
0.3817746937274933,
-0.24683015048503876,
-0.28821110725... |
https://github.com/huggingface/datasets/issues/4883 | as I suggested on slack perhaps it was due to dataset records length variation, so with your help I wrote another repro with synthetic records which are all identical - which should remove my hypothese from the equation and we should expect 0 incremental growth as we iterate over the datasets. But alas this is not the ... | With dataloader RSS memory consumed by HF datasets monotonically increases | ## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this snippet which logs RSS memory.
```python
import psutil
import os
from transf... | 386 | With dataloader RSS memory consumed by HF datasets monotonically increases
## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this sni... | [
-0.11197669059038162,
-0.039892807602882385,
0.13984139263629913,
0.1820036768913269,
0.23067420721054077,
-0.14632566273212433,
0.18177485466003418,
0.020412497222423553,
0.009392328560352325,
0.277101069688797,
-0.0209812019020319,
0.3817746937274933,
-0.24683015048503876,
-0.28821110725... |
https://github.com/huggingface/datasets/issues/4883 | @stas00 my 2 cents from having looked at a LOT of memory leaks over the years, esp in Python, .3% memory increase over that many iterations of something is difficult to say with certainty it is a leak.
Also, just looking at RSS makes it hard to analyze leaks. RSS can stay near constant while you are leaking. RSS is... | With dataloader RSS memory consumed by HF datasets monotonically increases | ## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this snippet which logs RSS memory.
```python
import psutil
import os
from transf... | 98 | With dataloader RSS memory consumed by HF datasets monotonically increases
## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this sni... | [
-0.11197669059038162,
-0.039892807602882385,
0.13984139263629913,
0.1820036768913269,
0.23067420721054077,
-0.14632566273212433,
0.18177485466003418,
0.020412497222423553,
0.009392328560352325,
0.277101069688797,
-0.0209812019020319,
0.3817746937274933,
-0.24683015048503876,
-0.28821110725... |
https://github.com/huggingface/datasets/issues/4883 | yes, that's true, but unless the leak is big, I'm yet to find another measurement tool.
To prove your point here is a very simple IO in a loop program that also reads the same line all over again:
```
$ cat mmap-no-leak-debug.py
import gc
import mmap
import os
import psutil
import sys
proc = psutil.Proce... | With dataloader RSS memory consumed by HF datasets monotonically increases | ## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this snippet which logs RSS memory.
```python
import psutil
import os
from transf... | 339 | With dataloader RSS memory consumed by HF datasets monotonically increases
## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this sni... | [
-0.11197669059038162,
-0.039892807602882385,
0.13984139263629913,
0.1820036768913269,
0.23067420721054077,
-0.14632566273212433,
0.18177485466003418,
0.020412497222423553,
0.009392328560352325,
0.277101069688797,
-0.0209812019020319,
0.3817746937274933,
-0.24683015048503876,
-0.28821110725... |
https://github.com/huggingface/datasets/issues/4883 | @stas00 if you aren't using memory maps, you should be able to clearly see the increase in the virtual mem for the process as well. Even then, it could still be challenging to determine if it's leak vs fragmentation due to problematic allocation patterns (not uncommon with Python). Using a better mem allocator like tcm... | With dataloader RSS memory consumed by HF datasets monotonically increases | ## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this snippet which logs RSS memory.
```python
import psutil
import os
from transf... | 83 | With dataloader RSS memory consumed by HF datasets monotonically increases
## Describe the bug
When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant.
## Steps to reproduce the bug
Run and observe the output of this sni... | [
-0.11197669059038162,
-0.039892807602882385,
0.13984139263629913,
0.1820036768913269,
0.23067420721054077,
-0.14632566273212433,
0.18177485466003418,
0.020412497222423553,
0.009392328560352325,
0.277101069688797,
-0.0209812019020319,
0.3817746937274933,
-0.24683015048503876,
-0.28821110725... |
https://github.com/huggingface/datasets/issues/4881 | Thanks for opening this discussion, @alexis-michaud.
As the language validation procedure is shared with other Hugging Face projects, I'm tagging them as well.
CC: @huggingface/moon-landing | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 25 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | on the Hub side, there is not fine grained validation we just check that `language:` contains an array of lowercase strings between 2 and 3 characters long =)
and for `language_bcp47:` we just check it's an array of strings.
The only page where we have a hardcoded list of languages is https://huggingface.co/langu... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 116 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | PS @alexis-michaud is there a DB of language codes you would recommend? That would contain all `ISO 639-1, 639-2 or 639-3 codes` and be kept up to date, and ideally that would be accessible as a Node.js npm package?
cc @albertvillanova too | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 42 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > PS @alexis-michaud is there a DB of language codes you would recommend? That would contain all `ISO 639-1, 639-2 or 639-3 codes` and be kept up to date, and ideally that would be accessible as a Node.js npm package?
>
> cc @albertvillanova too
Many thanks for your answer!
The Glottolog database is kept up t... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 141 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | I just tried pyglottolog to generate a file with all the current IDs (first column).
`glottolog languoids` inside the `glottolog` repository.
[glottolog-languoids-v4.6-10-g5c66eec874.csv](https://github.com/huggingface/datasets/files/9417456/glottolog-languoids-v4.6-10-g5c66eec874.csv)
| Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 22 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | Greetings @alexis-michaud and others,
I think perhaps a standards-based approach here would help everyone out both at the technical and social layers of technical innovations.
Let me say a few things:
1. there are multiple kinds of assets in AI that should have associated language codes.
* AI Training Data se... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 687 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | Hi everybody!
About the point:
> also cc'ing @lbourdois who's been active and helpful on those subjects in the past!
Discussions on the need to improve the Hub's tagging system (applying to both datasets and models) can be found in the following discussion: https://github.com/huggingface/hub-docs/issues/193
Onc... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 590 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > I invite you to read them. But as a quick summary, the exchanges were oriented towards the ISO standard (the first HF system was based on it and it is generally the standard indicated in AI/DL papers) by favouring ISO 639-1 if it exists, and fallback to ISO 639-2 or ISO 639-3 if it doesn't. In addition, it is possibl... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 311 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > * Are there any databases that take into account all the existing sign languages in the world?
> It would be nice to have them included on the Hub.
Sign Languages present an interesting case. As I understand the situation. The identification of sign languages has been identified as a component of their endangerme... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 136 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > * Is there an international classification of languages?
> A bit like the [International Classification of Diseases](https://en.wikipedia.org/wiki/International_Classification_of_Diseases) in medicine, which is established by the WHO and used as a reference throughout the world. The idea would be to have a precise... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 168 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | >* When you look up a language on Wikipedia, it usually shows, in addition to the ISO standard, the codes in the Glottolog (which you have already mentioned), [ELP](https://www.endangeredlanguages.com/?hl=en) and [Linguasphere](http://www.linguasphere.info/jr/index.php?l1=home&l2=welcome) databases. Would you have any ... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 135 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > * Do you think it's possible to easily handle tags that have been deprecated potentially for decades?
>For example (I'm taking the case of Hebrew but this has happened for other languages) I [tag](https://huggingface.co/models?language=iw&sort=downloads)ged Google models with the "iw" tag because I based it on what ... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 150 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > * On the Hub, there is the following dataset where French people speak in English: https://huggingface.co/datasets/Datatang/French_Speaking_English_Speech_Data_by_Mobile_Phone
Is there a database to take this case into account? I have not found any code in the Glottolog database. If based on an IETF BCP-47 standard,... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 493 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | Hi @lbourdois ! Many thanks for the detailed information.
> Discussions on the need to improve the Hub's tagging system (applying to both datasets and models) can be found in the following discussion: [huggingface/hub-docs#193](https://github.com/huggingface/hub-docs/issues/193)
Fascinating topic! To me, the follo... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 1,285 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > The idea of letting people use their favourite nomenclature and automatically adding the ISO 639-3 three-letter code as a tag is appealing. Thus all the HF datasets would have three-letter language tags (handy for basic search), alongside the authors' preferred tags and language names (including Glottolog tags as wel... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 421 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | To get a visual idea of these first exchanges, I coded a Streamlit app that I put online on Spaces: https://huggingface.co/spaces/lbourdois/Language-tags-demo.
The code is in Python so I don't know if it can be used by HF who seems to need something in Node.js but it serves as a proof of concept. The advantage is als... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 920 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | Very impressive! Using the prompt 'Japhug' (a language name), the app finds the intended language:

A first question: based on the Glottocode, would it be possible to grab the closest ISO639-3 code? In case... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 127 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > on line 1 of the database, we can see that the Glottocode database gives an ISO 639-3 code (column ISO639P3code) but not the ISO 639 database (column 639-3). Do you have an explanation for this phenomenon?
That is because the language name 'Aewa' is not found in the Ethnologue (ISO 639-3) export that you are using... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 236 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | I will add these two points to my TODO list.
- Since Glottolog can be trust, I will add a condition to the code that if there is no ISO 639-3 code in the "official" database (https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab), look for it in the "ISO639P3code" column of Glottolog.
- For the point ... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 106 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > * Integrate ISO 3166-1 alpha 2 territories (https://www.iso.org/obp/ui#iso:pub:PUB500001:en)? They offer a finer granularity than ISO 3166-1 alpha 1 which is limited to the country level, but they are very administrative (for French, ISO 3166-1 alpha 2 gives us the "départements" for example).
I'm concerned with t... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 115 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | Good job for the application!
> On the Hub, there is the following dataset where French people speak in English: https://huggingface.co/datasets/Datatang/French_Speaking_English_Speech_Data_by_Mobile_Phone
Is there a database to take this case into account? I have not found any code in the Glottolog databa... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 699 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > To get a visual idea of these first exchanges, I coded a Streamlit app that I put online on Spaces: https://huggingface.co/spaces/lbourdois/Language-tags-demo.
> The code is in Python so I don't know if it can be used by HF who seems to need something in Node.js but it serves as a proof of concept. The advantage is ... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 201 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > In practice, what I do is if we enter `fr-CA` is that the letters before the `-` refer to a language in the `Name` column for a `639-1` == `fr` (`639-3` for `fra` or `fre`) in the base of my image above. Then I look at the letters after the `-` which refers to a territory. It comes out `French (Canada)`. I used https... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 120 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > A first question: based on the Glottocode, would it be possible to grab the closest ISO639-3 code? In case there is no match for the exact language variety, one needs to explore the higher-level groupings, level by level. For this language (Japhug), the information provided in the extracted CSV file (`glottolog-langu... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 198 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | @lbourdois
> * Since Glottolog can be trust, I will add a condition to the code that if there is no ISO 639-3 code in the "official" database (https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab), look for it in the "ISO639P3code" column of Glottolog.
I'm confused here... if there is no ISO639-3 ... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 71 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > For the point of adding the closest ISO 639-3 code for a Glottolog code, what convention should be adopted for the output? Just the ISO 639-3 code, or the ISO 639-3 code - Glottolog code, or the ISO 639-3 code - language name?
To use the example of Japhug , should it be just jya, or jya-japh1234 or jya-Japhug?
(a... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 331 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | The problem seems to have already been raised here: https://drops.dagstuhl.de/opus/volltexte/2019/10368/pdf/OASIcs-LDK-2019-4.pdf
An example can be seen here :
> 3.1.2 The use of privateuse sub-tag
In light of unambiguous language codes being available for the two Khoisan varieties, we
propose to combine the IS... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 92 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > > * Since Glottolog can be trust, I will add a condition to the code that if there is no ISO 639-3 code in the "official" database (https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab), look for it in the "ISO639P3code" column of Glottolog.
>
> I'm confused here... if there is no ISO639-3 code in... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 242 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | > By the way, while searching for this, I came across this application: https://huggingface.co/spaces/cdleong/langcode-search
Really relevant Space, so tagging its author @cdleong, just in case! | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 25 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4881 | @cdleong A one-stop shop for language codes: terrific!
How do you feel about the use of Glottocodes? When searching the language names 'Japhug' and 'Yongning Na' (real examples, related to a HF Datasets deposit & various research projects), the relevant Glottocodes are retrieved, and that is great (and not that easy, ... | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) | **The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.
Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase... | 249 | Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:**
Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial.... | [
-0.08816175907850266,
0.15403862297534943,
-0.2172662615776062,
0.1330115646123886,
-0.007634148001670837,
-0.017718061804771423,
-0.08835653960704803,
0.2977524697780609,
0.3043823838233948,
0.005143448710441589,
-0.1857524961233139,
-0.33584263920783997,
-0.043994609266519547,
0.02432494... |
https://github.com/huggingface/datasets/issues/4876 | Love this in principle 🚀
Let's keep in mind users might rely on `dataset_infos.json` already.
I'm not convinced by the two-syntax solution, wouldn't it be simpler to have only one syntax with a `default` config for datasets with only one config? ie, always having the `configs` field. This makes parsing the meta... | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 111 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | > Let's keep in mind users might rely on dataset_infos.json already.
Yea we'll full full backward compatibility
> Let's also keep in mind that extracting YAML metadata from a markdown readme is a bit more fastidious for users than just parsing a JSON file.
The main things that may use or ingest these data IMO ... | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 195 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | love the idea, and the trend in general to move more things (like tasks) to a single place (YAML).
also, if you browse files on a dataset's page (in "Files and versions"), raw `README.md` files looks nice and readable, while `.json` files are just one long line that users need to scroll.
> Let's also keep in min... | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 86 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | > do users often parse datasets_infos.json file themselves?
Not AFAIK, but I'm sure there should be a few users.
Users that access these info via the `DatasetInfo` from `datasets` won't see the change though e.g.
```python
>> from datasets import get_datasets_infos
>>> get_datasets_infos("squad")
{'plain_text':... | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 49 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | > Maybe one single syntax like this then ?
LGTM!
> The main things that may use or ingest these data IMO are:
> - users in the UI or IDE
> - datasets to populate DatasetInfo python object
> - moon landing which is already parsing YAML
Fair point!
Having dataset info in the README's YAML is great for API ... | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 80 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | Very supportive of this!
Nesting an array of configs inside `dataset_infos: ` sounds good to me. One small tweak is that `config: default` can be optional for the default config (which can be the first one by convention)
We'll be able to implement metadata validation on the Hub side so we ensure that those metada... | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 181 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | re: `config: default`
Note also that the default config is not named `default`, afaiu, but create from the repo name, eg: https://huggingface.co/datasets/nbtpj/bionlp2021SAS default config is `nbtpj--bionlp2021SAS` (which is awful) | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 29 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | > Note also that the default config is not named default, afaiu, but create from the repo name, eg: https://huggingface.co/datasets/nbtpj/bionlp2021SAS default config is nbtpj--bionlp2021SAS (which is awful)
We can change this to `default` I think or something else | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 38 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | > From a quick glance the features might be the harder part to validate here, any doc will be welcome.
I dug into features validation, see:
- the OpenAPI spec: https://github.com/huggingface/datasets-server/blob/main/chart/static-files/openapi.json#L460-L697
- the node.js code: https://github.com/huggingface/moo... | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 36 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | > We can change this to default I think or something else
I created https://github.com/huggingface/datasets/issues/4902 to discuss that | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 18 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | > Note also that the default config is not named `default`, afaiu, but create from the repo name
in case of single-config you can even hide the config name from the UI IMO
> I dug into features validation, see: the OpenAPI spec
in moon-landing we use [Joi](https://joi.dev/api/) to validate metadata so we would... | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 84 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | I remember there was an ongoing discussion on this topic:
- #3507
I recall some of the concerns raised on that discussion:
- @lhoestq: Tensorflow Datasets catalog includes a community catalog where you can find and use HF datasets. They are using the exported dataset_infos.json files from github to get the metada... | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 136 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4876 | Thanks for bringing these points up !
> @lhoestq: Tensorflow Datasets catalog includes a community catalog where you can find and use HF datasets. They are using the exported dataset_infos.json files from github to get the metadata: https://github.com/huggingface/datasets/issues/3507#issuecomment-1056997627
The T... | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` | Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
- and more
- YAML tags, which contain
- license
- language
- trai... | 158 | Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets:
- datasets_infos.json, which contains **per dataset config**
- description
- citation
- license
- splits and sizes
- checksums of the data files
- feature types
... | [
0.0013891831040382385,
0.22179308533668518,
-0.02189376763999462,
0.20565521717071533,
0.45847222208976746,
0.366166889667511,
0.1959955394268036,
0.5665821433067322,
-0.06621120125055313,
0.026283465325832367,
-0.149093896150589,
0.40445661544799805,
0.20290613174438477,
0.233609274029731... |
https://github.com/huggingface/datasets/issues/4875 | Hi ! Your HF_ENDPOINT seems wrong because of the extra "/"
```diff
- os.environ["HF_ENDPOINT"] = "https://hub-ci.huggingface.co/"
+ os.environ["HF_ENDPOINT"] = "https://hub-ci.huggingface.co"
```
can you try again without the extra "/" ? | `_resolve_features` ignores the token | ## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ignored even if it has been provided to `... | 30 | `_resolve_features` ignores the token
## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be i... | [
-0.04064905643463135,
-0.1393222063779831,
0.004608243703842163,
-0.11634773015975952,
0.2919105589389801,
0.000060267746448516846,
0.585866391658783,
0.10497698932886124,
0.18346591293811798,
-0.02100757509469986,
0.19130100309848785,
0.31997016072273254,
0.09041884541511536,
0.3020297586... |
https://github.com/huggingface/datasets/issues/4875 | Oh, yes, sorry, but it's not the issue.
In my code, I set `HF_ENDPOINT=https://hub-ci.huggingface.co`. I added `os.environ["HF_ENDPOINT"] = "https://hub-ci.huggingface.co/"` afterward just to indicate that we had to have this env var and made a mistake there | `_resolve_features` ignores the token | ## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ignored even if it has been provided to `... | 36 | `_resolve_features` ignores the token
## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be i... | [
-0.04064905643463135,
-0.1393222063779831,
0.004608243703842163,
-0.11634773015975952,
0.2919105589389801,
0.000060267746448516846,
0.585866391658783,
0.10497698932886124,
0.18346591293811798,
-0.02100757509469986,
0.19130100309848785,
0.31997016072273254,
0.09041884541511536,
0.3020297586... |
https://github.com/huggingface/datasets/issues/4875 | I can't reproduce on my side. I tried using a private dataset repo with a CSV file on hub-ci
What's your version of `huggingface_hub` ? | `_resolve_features` ignores the token | ## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ignored even if it has been provided to `... | 25 | `_resolve_features` ignores the token
## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be i... | [
-0.04064905643463135,
-0.1393222063779831,
0.004608243703842163,
-0.11634773015975952,
0.2919105589389801,
0.000060267746448516846,
0.585866391658783,
0.10497698932886124,
0.18346591293811798,
-0.02100757509469986,
0.19130100309848785,
0.31997016072273254,
0.09041884541511536,
0.3020297586... |
https://github.com/huggingface/datasets/issues/4875 | I can't reproduce either... Not sure what has occurred, very sorry to have made you lost your time on that | `_resolve_features` ignores the token | ## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ignored even if it has been provided to `... | 20 | `_resolve_features` ignores the token
## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be i... | [
-0.04064905643463135,
-0.1393222063779831,
0.004608243703842163,
-0.11634773015975952,
0.2919105589389801,
0.000060267746448516846,
0.585866391658783,
0.10497698932886124,
0.18346591293811798,
-0.02100757509469986,
0.19130100309848785,
0.31997016072273254,
0.09041884541511536,
0.3020297586... |
https://github.com/huggingface/datasets/issues/4875 | I got something similar in https://github.com/huggingface/datasets-server/pull/608. Look how changing the order of the tests (https://github.com/huggingface/datasets-server/pull/608/commits/2c50fe833323de3dfdc76c5cd68639279e0887f8) change the result, which means that something has a side-effect:
- https://github.com/h... | `_resolve_features` ignores the token | ## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ignored even if it has been provided to `... | 42 | `_resolve_features` ignores the token
## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be i... | [
-0.04064905643463135,
-0.1393222063779831,
0.004608243703842163,
-0.11634773015975952,
0.2919105589389801,
0.000060267746448516846,
0.585866391658783,
0.10497698932886124,
0.18346591293811798,
-0.02100757509469986,
0.19130100309848785,
0.31997016072273254,
0.09041884541511536,
0.3020297586... |
https://github.com/huggingface/datasets/issues/4875 | The issue happens because `extend_module_for_streaming` can't be used several times on packaged builders like `csv` to apply a new auth token. Indeed `extend_module_for_streaming` only applies authentication once, and on subsequent calls does nothing:
https://github.com/huggingface/datasets/blob/07b7c38d9e9c72c74b02... | `_resolve_features` ignores the token | ## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ignored even if it has been provided to `... | 96 | `_resolve_features` ignores the token
## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be i... | [
-0.04064905643463135,
-0.1393222063779831,
0.004608243703842163,
-0.11634773015975952,
0.2919105589389801,
0.000060267746448516846,
0.585866391658783,
0.10497698932886124,
0.18346591293811798,
-0.02100757509469986,
0.19130100309848785,
0.31997016072273254,
0.09041884541511536,
0.3020297586... |
https://github.com/huggingface/datasets/issues/4875 | > This can be fixed by storing a dict token_per_repo_id instead of use_auth_token in the authentication wrapper, and by making it possible to update the authentication wrapper with a new token
If I call the module on the same repo twice: first with authentication, then without authentication, would the second call u... | `_resolve_features` ignores the token | ## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ignored even if it has been provided to `... | 69 | `_resolve_features` ignores the token
## Describe the bug
When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be i... | [
-0.04064905643463135,
-0.1393222063779831,
0.004608243703842163,
-0.11634773015975952,
0.2919105589389801,
0.000060267746448516846,
0.585866391658783,
0.10497698932886124,
0.18346591293811798,
-0.02100757509469986,
0.19130100309848785,
0.31997016072273254,
0.09041884541511536,
0.3020297586... |
https://github.com/huggingface/datasets/issues/4873 | Hi!
200+ data loaders is a lot. Have you tried to reduce the number of datasets by concatenating/interleaving the ones with the same structure/task (the API is `{concatenate_datasets/interleave_datasets}([dset1, ..., dset_N])`)? | Multiple dataloader memory error | For the use of multiple datasets and tasks, we use around more than 200+ dataloaders, then pass it into `dataloader1, dataloader2, ..., dataloader200=accelerate.prepare(dataloader1, dataloader2, ..., dataloader200)`
It causes the memory error when generating batches. Any solutions to it?
```bash
File "/home/xxx/... | 30 | Multiple dataloader memory error
For the use of multiple datasets and tasks, we use around more than 200+ dataloaders, then pass it into `dataloader1, dataloader2, ..., dataloader200=accelerate.prepare(dataloader1, dataloader2, ..., dataloader200)`
It causes the memory error when generating batches. Any solutions to... | [
-0.36034801602363586,
-0.047218844294548035,
-0.10115720331668854,
0.548748254776001,
0.28181904554367065,
-0.04169512540102005,
0.27157896757125854,
0.20091049373149872,
0.22190368175506592,
0.3090232014656067,
0.12234391272068024,
0.031112950295209885,
-0.20396015048027039,
-0.0605763047... |
https://github.com/huggingface/datasets/issues/4873 | Hi @mariosasko, thank you for your reply. I tried pre-concatenating different datasets into one, but one key need is to keep each batch the same data type. Considering that the concatenate-then-segment operation for prefetched samples may span across different data types after concatenating/interleaving (cuz different ... | Multiple dataloader memory error | For the use of multiple datasets and tasks, we use around more than 200+ dataloaders, then pass it into `dataloader1, dataloader2, ..., dataloader200=accelerate.prepare(dataloader1, dataloader2, ..., dataloader200)`
It causes the memory error when generating batches. Any solutions to it?
```bash
File "/home/xxx/... | 60 | Multiple dataloader memory error
For the use of multiple datasets and tasks, we use around more than 200+ dataloaders, then pass it into `dataloader1, dataloader2, ..., dataloader200=accelerate.prepare(dataloader1, dataloader2, ..., dataloader200)`
It causes the memory error when generating batches. Any solutions to... | [
-0.36034801602363586,
-0.047218844294548035,
-0.10115720331668854,
0.548748254776001,
0.28181904554367065,
-0.04169512540102005,
0.27157896757125854,
0.20091049373149872,
0.22190368175506592,
0.3090232014656067,
0.12234391272068024,
0.031112950295209885,
-0.20396015048027039,
-0.0605763047... |
https://github.com/huggingface/datasets/issues/4873 | @cyk1337 have you found any solutions to it?
@mariosasko I tried with interleave_datasets to sample batches from two large datasets (wikipedia alike) and it results in out-of-memory error during data loading (16gpus, >1TB physical memory). Do you have any idea about it? | Multiple dataloader memory error | For the use of multiple datasets and tasks, we use around more than 200+ dataloaders, then pass it into `dataloader1, dataloader2, ..., dataloader200=accelerate.prepare(dataloader1, dataloader2, ..., dataloader200)`
It causes the memory error when generating batches. Any solutions to it?
```bash
File "/home/xxx/... | 42 | Multiple dataloader memory error
For the use of multiple datasets and tasks, we use around more than 200+ dataloaders, then pass it into `dataloader1, dataloader2, ..., dataloader200=accelerate.prepare(dataloader1, dataloader2, ..., dataloader200)`
It causes the memory error when generating batches. Any solutions to... | [
-0.36034801602363586,
-0.047218844294548035,
-0.10115720331668854,
0.548748254776001,
0.28181904554367065,
-0.04169512540102005,
0.27157896757125854,
0.20091049373149872,
0.22190368175506592,
0.3090232014656067,
0.12234391272068024,
0.031112950295209885,
-0.20396015048027039,
-0.0605763047... |
https://github.com/huggingface/datasets/issues/4865 | Thanks for reporting @MoritzLaurer.
Currently, the dataset preview is working properly: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli
Please note that when a dataset is modified, it might take some time until the preview is completely updated.
@severo might it be worth adding a clearer error m... | Dataset Viewer issue for MoritzLaurer/multilingual_nli | ### Link
_No response_
### Description
I've just uploaded a new dataset to the hub and the viewer does not work for some reason, see here: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli
It displays the error:
```
Status code: 400
Exception: Status400Error
Message: The dataset... | 50 | Dataset Viewer issue for MoritzLaurer/multilingual_nli
### Link
_No response_
### Description
I've just uploaded a new dataset to the hub and the viewer does not work for some reason, see here: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli
It displays the error:
```
Status code: 400
... | [
-0.36136436462402344,
-0.11496461927890778,
0.08946976065635681,
0.4716789126396179,
0.012753095477819443,
0.03849095106124878,
0.3808959126472473,
0.3221781253814697,
-0.16078945994377136,
0.21699577569961548,
-0.0642867162823677,
0.05089662969112396,
-0.11489037424325943,
-0.094728365540... |
https://github.com/huggingface/datasets/issues/4865 | Thanks for your response. You are right, its now working well. I had waited for 30 min or so and refreshed several times and thought there was some other error. Yeah, a different error message sounds like a good idea to avoid confusion. | Dataset Viewer issue for MoritzLaurer/multilingual_nli | ### Link
_No response_
### Description
I've just uploaded a new dataset to the hub and the viewer does not work for some reason, see here: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli
It displays the error:
```
Status code: 400
Exception: Status400Error
Message: The dataset... | 43 | Dataset Viewer issue for MoritzLaurer/multilingual_nli
### Link
_No response_
### Description
I've just uploaded a new dataset to the hub and the viewer does not work for some reason, see here: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli
It displays the error:
```
Status code: 400
... | [
-0.2839984893798828,
-0.18147799372673035,
0.10039136558771133,
0.5758051872253418,
-0.009439549408853054,
0.04892060160636902,
0.4215766489505768,
0.27002763748168945,
-0.17152675986289978,
0.20727403461933136,
-0.058094725012779236,
0.0319242849946022,
-0.11529889702796936,
-0.1091653406... |
https://github.com/huggingface/datasets/issues/4865 | > @severo might it be worth adding a clearer error message, something like "The preview is updating, please retry later"?
Yes, it's a known issue, and we're about to ship a better version | Dataset Viewer issue for MoritzLaurer/multilingual_nli | ### Link
_No response_
### Description
I've just uploaded a new dataset to the hub and the viewer does not work for some reason, see here: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli
It displays the error:
```
Status code: 400
Exception: Status400Error
Message: The dataset... | 33 | Dataset Viewer issue for MoritzLaurer/multilingual_nli
### Link
_No response_
### Description
I've just uploaded a new dataset to the hub and the viewer does not work for some reason, see here: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli
It displays the error:
```
Status code: 400
... | [
-0.34113621711730957,
-0.11367092281579971,
0.09403988718986511,
0.523672878742218,
-0.001073332503437996,
0.03693068027496338,
0.40018001198768616,
0.3113577961921692,
-0.18048295378684998,
0.2099694460630417,
-0.03441738337278366,
0.014596845954656601,
-0.10247871279716492,
-0.1295168995... |
https://github.com/huggingface/datasets/issues/4864 | @cccntu I want to make a quick fix for this, but I am struggling to find where the json dataset builder is. Do you know? | Allow pathlib PoxisPath in Dataset.read_json | **Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Describe the solution you'd like**
It should be... | 25 | Allow pathlib PoxisPath in Dataset.read_json
**Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Des... | [
-0.05640806630253792,
0.14848396182060242,
-0.13980835676193237,
0.43619751930236816,
0.43903693556785583,
0.09516853839159012,
-0.026697132736444473,
0.1413276195526123,
0.07359304279088974,
0.1719529926776886,
0.11664128303527832,
0.7626716494560242,
-0.05945819616317749,
0.3103784322738... |
https://github.com/huggingface/datasets/issues/4864 | @vvvm23 I think you mean think:
```python
ds = datasets.load_dataset('json', data_files=[Path('test.jsonl')])
```
And the place you want to modify is here:
```
utils/file_utils.py:64, in is_remote_url(url_or_filename)
63 def is_remote_url(url_or_filename: str) -> bool:
---> 64 parsed = urlparse(url_or_... | Allow pathlib PoxisPath in Dataset.read_json | **Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Describe the solution you'd like**
It should be... | 90 | Allow pathlib PoxisPath in Dataset.read_json
**Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Des... | [
0.06083715707063675,
0.04320187866687775,
-0.11299004405736923,
0.1912190467119217,
0.34578895568847656,
-0.03741258382797241,
-0.03414539247751236,
0.22308138012886047,
0.15708868205547333,
-0.014970630407333374,
-0.10834556818008423,
0.7623040080070496,
-0.07996834814548492,
0.1596365571... |
https://github.com/huggingface/datasets/issues/4864 | > @vvvm23 I think you mean think:
You are correct, thanks!
> Probably just need to check first if url_or_filename is [PathLike](https://docs.python.org/3/library/os.html#os.PathLike) and return False early.
Is PathLike sufficient, or should I check the file exists here? Or is that handled later? | Allow pathlib PoxisPath in Dataset.read_json | **Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Describe the solution you'd like**
It should be... | 42 | Allow pathlib PoxisPath in Dataset.read_json
**Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Des... | [
0.09360100328922272,
-0.07396524399518967,
-0.10973834991455078,
0.33342739939689636,
0.4023955464363098,
-0.09170283377170563,
-0.06900449842214584,
0.24369360506534576,
0.18564161658287048,
0.0035427212715148926,
-0.03321026638150215,
0.6618063449859619,
-0.1512400358915329,
0.2032866477... |
https://github.com/huggingface/datasets/issues/4864 | I think here we just want to avoid passing Path to urlparse. A simpler solution is to add a str() call and convert the input to string before passing to the next step. No need to check anything. | Allow pathlib PoxisPath in Dataset.read_json | **Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Describe the solution you'd like**
It should be... | 38 | Allow pathlib PoxisPath in Dataset.read_json
**Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Des... | [
0.03500954061746597,
0.0013351291418075562,
-0.10183864831924438,
0.22808648645877838,
0.5506999492645264,
-0.1452222764492035,
-0.025602001696825027,
0.23174135386943817,
0.039839841425418854,
0.13870976865291595,
-0.06380628049373627,
0.7362863421440125,
-0.06573640555143356,
0.257581949... |
https://github.com/huggingface/datasets/issues/4864 | Above PR should do your first suggestion. Hope that works for you, as I am going on holiday and won't be able to change much :wink: | Allow pathlib PoxisPath in Dataset.read_json | **Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Describe the solution you'd like**
It should be... | 26 | Allow pathlib PoxisPath in Dataset.read_json
**Is your feature request related to a problem? Please describe.**
```
from pathlib import Path
from datasets import Dataset
ds = Dataset.read_json(Path('data.json'))
```
causes an error
```
AttributeError: 'PosixPath' object has no attribute 'decode'
```
**Des... | [
-0.028976738452911377,
-0.03523775935173035,
-0.14714348316192627,
0.2794550061225891,
0.4800272285938263,
-0.059781789779663086,
-0.018528271466493607,
0.25403523445129395,
0.13730086386203766,
0.16157005727291107,
-0.13006481528282166,
0.7647240161895752,
-0.04763384908437729,
0.34777510... |
https://github.com/huggingface/datasets/issues/4863 | @albertvillanova any help ? The linked dataset is in beam format which is similar to wikipedia dataset in huggingface that you scripted.. | TFDS wiki_dialog dataset to Huggingface dataset | ## Adding a Dataset
- **Name:** *Wiki_dialog*
- **Description: https://github.com/google-research/dialog-inpainting#:~:text=JSON%20object%2C%20for-,example,-%3A
- **Paper: https://arxiv.org/abs/2205.09073
- **Data: https://github.com/google-research/dialog-inpainting
- **Motivation:** *Research and Development on ... | 22 | TFDS wiki_dialog dataset to Huggingface dataset
## Adding a Dataset
- **Name:** *Wiki_dialog*
- **Description: https://github.com/google-research/dialog-inpainting#:~:text=JSON%20object%2C%20for-,example,-%3A
- **Paper: https://arxiv.org/abs/2205.09073
- **Data: https://github.com/google-research/dialog-inpaintin... | [
-0.011967472732067108,
-0.31822264194488525,
-0.015078019350767136,
0.34406334161758423,
0.09529390931129456,
0.2960662245750427,
0.08296985924243927,
0.22825384140014648,
0.14890430867671967,
0.0441560223698616,
-0.4362178444862366,
0.11124059557914734,
-0.15581871569156647,
0.50623780488... |
https://github.com/huggingface/datasets/issues/4863 | Nvm, I was able to port it to huggingface datasets, will upload to the hub soon | TFDS wiki_dialog dataset to Huggingface dataset | ## Adding a Dataset
- **Name:** *Wiki_dialog*
- **Description: https://github.com/google-research/dialog-inpainting#:~:text=JSON%20object%2C%20for-,example,-%3A
- **Paper: https://arxiv.org/abs/2205.09073
- **Data: https://github.com/google-research/dialog-inpainting
- **Motivation:** *Research and Development on ... | 16 | TFDS wiki_dialog dataset to Huggingface dataset
## Adding a Dataset
- **Name:** *Wiki_dialog*
- **Description: https://github.com/google-research/dialog-inpainting#:~:text=JSON%20object%2C%20for-,example,-%3A
- **Paper: https://arxiv.org/abs/2205.09073
- **Data: https://github.com/google-research/dialog-inpaintin... | [
-0.0872647687792778,
-0.3495238721370697,
-0.019723545759916306,
0.26520535349845886,
0.016462719067931175,
0.08815941214561462,
0.22276949882507324,
0.3137880265712738,
0.09480074048042297,
0.07103599607944489,
-0.5528784394264221,
0.15335479378700256,
-0.13025282323360443,
0.512483239173... |
https://github.com/huggingface/datasets/issues/4862 | Hi hi, instead of using `download_and_extract` function, I only use `download` function: `base_dir = Path(dl_manager.download(urls))`. It turns out that the code works for `datasets==2.2.2`, however, it doesn't work with `datasets==2.4.0`. | Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code | ## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
# The dataset function is as follows:
from pathlib import Path
from typing import Dict, List, Tuple
import datasets
import pandas as pd
_CITATION = """\
"""... | 30 | Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code
## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
# The dataset function is as follows:
from pathlib impo... | [
-0.22395771741867065,
0.13293007016181946,
0.0017217844724655151,
0.47370970249176025,
0.5688951015472412,
0.081588514149189,
0.35390040278434753,
0.3585243821144104,
0.5213253498077393,
0.40628063678741455,
-0.20903173089027405,
0.4009520411491394,
-0.019005347043275833,
0.111906789243221... |
https://github.com/huggingface/datasets/issues/4862 | Hi @yana-xuyan, thanks for reporting.
Indeed you already found the answer: an Excel file should be just downloaded and not downloaded-and-extracted.
The reason why is that if you call also extract, our library will try to infer the compression format (and extract it). And Excel files are viewed as ZIP files and e... | Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code | ## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
# The dataset function is as follows:
from pathlib import Path
from typing import Dict, List, Tuple
import datasets
import pandas as pd
_CITATION = """\
"""... | 96 | Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code
## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
# The dataset function is as follows:
from pathlib impo... | [
-0.22395771741867065,
0.13293007016181946,
0.0017217844724655151,
0.47370970249176025,
0.5688951015472412,
0.081588514149189,
0.35390040278434753,
0.3585243821144104,
0.5213253498077393,
0.40628063678741455,
-0.20903173089027405,
0.4009520411491394,
-0.019005347043275833,
0.111906789243221... |
https://github.com/huggingface/datasets/issues/4862 | Hi @albertvillanova, thank you for your reply! Do you have any clue on why the same error still exists with `datasets==2.4.0` even after I don't extract the downloaded file? FYI, if I downgrade to `datasets==2.2.2`, the code works fine. | Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code | ## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
# The dataset function is as follows:
from pathlib import Path
from typing import Dict, List, Tuple
import datasets
import pandas as pd
_CITATION = """\
"""... | 39 | Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code
## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
# The dataset function is as follows:
from pathlib impo... | [
-0.22395771741867065,
0.13293007016181946,
0.0017217844724655151,
0.47370970249176025,
0.5688951015472412,
0.081588514149189,
0.35390040278434753,
0.3585243821144104,
0.5213253498077393,
0.40628063678741455,
-0.20903173089027405,
0.4009520411491394,
-0.019005347043275833,
0.111906789243221... |
https://github.com/huggingface/datasets/issues/4862 | I guess this has to do with the cache: you should remove the previously-wrongly generated directory from the cache; otherwise `datasets` tries to re-use it. | Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code | ## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
# The dataset function is as follows:
from pathlib import Path
from typing import Dict, List, Tuple
import datasets
import pandas as pd
_CITATION = """\
"""... | 25 | Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code
## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
# The dataset function is as follows:
from pathlib impo... | [
-0.22395771741867065,
0.13293007016181946,
0.0017217844724655151,
0.47370970249176025,
0.5688951015472412,
0.081588514149189,
0.35390040278434753,
0.3585243821144104,
0.5213253498077393,
0.40628063678741455,
-0.20903173089027405,
0.4009520411491394,
-0.019005347043275833,
0.111906789243221... |
https://github.com/huggingface/datasets/issues/4861 | This issue was also causing an OOM in @nateraw 's workflow and shows again that behavior is confusing - we should definitely switch to using the disk IMO | Using disk for memory with the method `from_dict` | **Is your feature request related to a problem? Please describe.**
I start with an empty dataset. In a loop, at each iteration, I create a new dataset with the method `from_dict` (based on some data I load) and I concatenate this new dataset with the one at the previous iteration. After some iterations, I have an OOM ... | 28 | Using disk for memory with the method `from_dict`
**Is your feature request related to a problem? Please describe.**
I start with an empty dataset. In a loop, at each iteration, I create a new dataset with the method `from_dict` (based on some data I load) and I concatenate this new dataset with the one at the previ... | [
-0.22289586067199707,
-0.5735651254653931,
-0.026921693235635757,
0.2431122213602066,
0.03270343318581581,
-0.21326926350593567,
0.14041104912757874,
0.09544257819652557,
0.28427621722221375,
0.334903359413147,
0.25292834639549255,
0.5182908773422241,
-0.03653860092163086,
0.13356998562812... |
https://github.com/huggingface/datasets/issues/4858 | Hi! Thanks for reporting! This looks like a bug. I've just opened a PR with the fix. | map() function removes columns when input_columns is not None | ## Describe the bug
The map function, removes features from the dataset that are not present in the _input_columns_ list of columns, despite the columns being removed not mentioned in the _remove_columns_ argument.
## Steps to reproduce the bug
```python
from datasets import Dataset
ds = Dataset.from_dict({"a" : [... | 17 | map() function removes columns when input_columns is not None
## Describe the bug
The map function, removes features from the dataset that are not present in the _input_columns_ list of columns, despite the columns being removed not mentioned in the _remove_columns_ argument.
## Steps to reproduce the bug
```pytho... | [
0.279157817363739,
-0.1106259822845459,
-0.06368234753608704,
0.18615791201591492,
0.16765356063842773,
0.16881489753723145,
0.572605311870575,
0.39615562558174133,
0.35608941316604614,
0.15189792215824127,
0.006297681480646133,
0.593321681022644,
-0.017512504011392593,
0.01556377857923507... |
https://github.com/huggingface/datasets/issues/4857 | Thanks for reporting @aninrusimha.
Please, note that the preprocessed datasets are still available, as described in the dataset card, e.g.: https://huggingface.co/datasets/wikipedia
```python
ds = load_dataset("wikipedia", "20220301.en")
``` | No preprocessed wikipedia is working on huggingface/datasets | ## Describe the bug
20220301 wikipedia dump has been deprecated, so now there is no working wikipedia dump on huggingface
https://huggingface.co/datasets/wikipedia
https://dumps.wikimedia.org/enwiki/
| 27 | No preprocessed wikipedia is working on huggingface/datasets
## Describe the bug
20220301 wikipedia dump has been deprecated, so now there is no working wikipedia dump on huggingface
https://huggingface.co/datasets/wikipedia
https://dumps.wikimedia.org/enwiki/
Thanks for reporting @aninrusimha.
Plea... | [
0.016648918390274048,
-0.29818788170814514,
0.023333586752414703,
0.005201910622417927,
0.15654785931110382,
0.17825299501419067,
0.2260873168706894,
0.37952977418899536,
0.11009863018989563,
0.008971389383077621,
-0.158087819814682,
0.2576853036880493,
0.07001151144504547,
0.0686613619327... |
https://github.com/huggingface/datasets/issues/4857 | This is working now, but I was getting an error a few days ago when running an existing script. Unfortunately I did not do a proper bug report, but for some reason I was unable to load the dataset due to a request being made to the wikimedia website. However, its working now. Thanks for the reply! | No preprocessed wikipedia is working on huggingface/datasets | ## Describe the bug
20220301 wikipedia dump has been deprecated, so now there is no working wikipedia dump on huggingface
https://huggingface.co/datasets/wikipedia
https://dumps.wikimedia.org/enwiki/
| 57 | No preprocessed wikipedia is working on huggingface/datasets
## Describe the bug
20220301 wikipedia dump has been deprecated, so now there is no working wikipedia dump on huggingface
https://huggingface.co/datasets/wikipedia
https://dumps.wikimedia.org/enwiki/
This is working now, but I was getting an ... | [
-0.05675060674548149,
-0.25431880354881287,
0.014886900782585144,
-0.015291254967451096,
0.11912606656551361,
0.15966394543647766,
0.27118030190467834,
0.374733030796051,
0.21714486181735992,
-0.00637798011302948,
-0.047891195863485336,
0.21124997735023499,
0.11526414006948471,
0.086155384... |
https://github.com/huggingface/datasets/issues/4856 | I have tried to extract ```0015896-b1054262f7da52a0518521e29c8e352c.txt``` from ```17ecf461bfccd469a1fbc264ccb03731f8606eea7b3e2e8b86e13d18040bf5b3/urlsf_subset00-16_data.xz``` with 7-zip
and put the file into cache_path ```F://huggingface/datasets/downloads/extracted/0901d27f43b7e9ac0577da0d0061c8c632ba0b70ecd1b4bfb2... | file missing when load_dataset with openwebtext on windows | ## Describe the bug
0015896-b1054262f7da52a0518521e29c8e352c.txt is missing when I run run_mlm.py with openwebtext. I check the cache_path and can not find 0015896-b1054262f7da52a0518521e29c8e352c.txt. but I can find this file in the 17ecf461bfccd469a1fbc264ccb03731f8606eea7b3e2e8b86e13d18040bf5b3/urlsf_subset00-16_da... | 55 | file missing when load_dataset with openwebtext on windows
## Describe the bug
0015896-b1054262f7da52a0518521e29c8e352c.txt is missing when I run run_mlm.py with openwebtext. I check the cache_path and can not find 0015896-b1054262f7da52a0518521e29c8e352c.txt. but I can find this file in the 17ecf461bfccd469a1fbc264... | [
-0.2830101549625397,
0.13943549990653992,
0.03655121475458145,
0.36213845014572144,
0.13359703123569489,
0.41025635600090027,
0.33363837003707886,
0.3554028272628784,
0.19058574736118317,
-0.05309295654296875,
0.2712338864803314,
0.24614763259887695,
-0.13014155626296997,
-0.21268874406814... |
https://github.com/huggingface/datasets/issues/4855 | Thanks for reporting @wzsxxa.
However the "super_glue" dataset is rendered properly by the Dataset preview: https://huggingface.co/datasets/super_glue | Dataset Viewer issue for super_glue | ### Link
https://huggingface.co/datasets/super_glue
### Description
can't view super_glue dataset on the web page
### Owner
_No response_ | 16 | Dataset Viewer issue for super_glue
### Link
https://huggingface.co/datasets/super_glue
### Description
can't view super_glue dataset on the web page
### Owner
_No response_
Thanks for reporting @wzsxxa.
However the "super_glue" dataset is rendered properly by the Dataset preview: https://huggingface.co/dat... | [
-0.248253732919693,
-0.22790834307670593,
-0.025696972385048866,
0.2893066108226776,
0.3232520520687103,
0.035696521401405334,
0.10096237063407898,
0.22673319280147552,
0.2349654585123062,
0.055905863642692566,
-0.32945215702056885,
0.1418757438659668,
0.07412396371364594,
0.30459082126617... |
https://github.com/huggingface/datasets/issues/4852 | Hi @albertvillanova. Unfortunately I still get this error. Is this because the merge has yet to be released? Is there a way to track the release? | Bug in multilingual_with_para config of exams dataset and checksums error | ## Describe the bug
There is a bug for "multilingual_with_para" config in exams dataset:
```python
ds = load_dataset("./datasets/exams", split="train")
```
raises:
```
KeyError: 'choices'
```
Moreover, there is a NonMatchingChecksumError:
```
NonMatchingChecksumError: Checksums didn't match for dataset so... | 26 | Bug in multilingual_with_para config of exams dataset and checksums error
## Describe the bug
There is a bug for "multilingual_with_para" config in exams dataset:
```python
ds = load_dataset("./datasets/exams", split="train")
```
raises:
```
KeyError: 'choices'
```
Moreover, there is a NonMatchingChecksum... | [
-0.28892460465431213,
-0.04891076683998108,
-0.08580707013607025,
0.4306347966194153,
0.19367200136184692,
-0.07232353091239929,
0.1161700189113617,
0.42111828923225403,
-0.13265186548233032,
0.20865952968597412,
0.1929619163274765,
0.387262761592865,
0.124135822057724,
-0.0825178995728492... |
https://github.com/huggingface/datasets/issues/4852 | Hi @thesofakillers, yes you are right: the fix will be available after next release (it was planned for today; Monday at the latest).
In the meantime, you can use the version of the `exams` on our main branch by passing `revision` to `load_dataset`:
```python
ds = load_dataset("exams", revision="main")
``` | Bug in multilingual_with_para config of exams dataset and checksums error | ## Describe the bug
There is a bug for "multilingual_with_para" config in exams dataset:
```python
ds = load_dataset("./datasets/exams", split="train")
```
raises:
```
KeyError: 'choices'
```
Moreover, there is a NonMatchingChecksumError:
```
NonMatchingChecksumError: Checksums didn't match for dataset so... | 49 | Bug in multilingual_with_para config of exams dataset and checksums error
## Describe the bug
There is a bug for "multilingual_with_para" config in exams dataset:
```python
ds = load_dataset("./datasets/exams", split="train")
```
raises:
```
KeyError: 'choices'
```
Moreover, there is a NonMatchingChecksum... | [
-0.28892460465431213,
-0.04891076683998108,
-0.08580707013607025,
0.4306347966194153,
0.19367200136184692,
-0.07232353091239929,
0.1161700189113617,
0.42111828923225403,
-0.13265186548233032,
0.20865952968597412,
0.1929619163274765,
0.387262761592865,
0.124135822057724,
-0.0825178995728492... |
https://github.com/huggingface/datasets/issues/4840 | do you have an idea of why it can occur @huggingface/datasets? The dataset consists of a single parquet file. | Dataset Viewer issue for darragh/demo_data_raw3 | ### Link
https://huggingface.co/datasets/darragh/demo_data_raw3
### Description
```
Exception: ValueError
Message: Arrow type extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>> does not have a datasets dtype equivalent.
```
reported by @NielsRogge
### Owner
No | 19 | Dataset Viewer issue for darragh/demo_data_raw3
### Link
https://huggingface.co/datasets/darragh/demo_data_raw3
### Description
```
Exception: ValueError
Message: Arrow type extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>> does not have a datasets dtype equivalent.
```
reported by... | [
-0.3539862632751465,
-0.20391593873500824,
0.024461910128593445,
0.40717417001724243,
0.14356103539466858,
0.09458979219198227,
0.21502619981765747,
0.3621065616607666,
-0.1867445558309555,
0.11043456196784973,
-0.019130898639559746,
0.5619756579399109,
-0.29584261775016785,
0.117787167429... |
https://github.com/huggingface/datasets/issues/4840 | Thanks for reporting @severo.
I'm not able to reproduce that error. I get instead:
```
FileNotFoundError: [Errno 2] No such file or directory: 'orix/data/ChiSig/唐合乐-9-3.jpg'
```
Which pyarrow version are you using? Mine is 6.0.1. | Dataset Viewer issue for darragh/demo_data_raw3 | ### Link
https://huggingface.co/datasets/darragh/demo_data_raw3
### Description
```
Exception: ValueError
Message: Arrow type extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>> does not have a datasets dtype equivalent.
```
reported by @NielsRogge
### Owner
No | 34 | Dataset Viewer issue for darragh/demo_data_raw3
### Link
https://huggingface.co/datasets/darragh/demo_data_raw3
### Description
```
Exception: ValueError
Message: Arrow type extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>> does not have a datasets dtype equivalent.
```
reported by... | [
-0.33789101243019104,
0.0746312290430069,
0.037897028028964996,
0.32135602831840515,
0.09047187119722366,
0.023588061332702637,
0.2501472234725952,
0.4774773120880127,
-0.422130286693573,
0.0803380012512207,
-0.10341951251029968,
0.5430610775947571,
-0.29490578174591064,
-0.043291840702295... |
https://github.com/huggingface/datasets/issues/4840 | Apparently, there is something weird with that Parquet file: its schema is:
```
images: extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>>
```
I have forced a right schema:
```python
from datasets import Features, Image, load_dataset
features = Features({"images": Image()})
ds = datasets.l... | Dataset Viewer issue for darragh/demo_data_raw3 | ### Link
https://huggingface.co/datasets/darragh/demo_data_raw3
### Description
```
Exception: ValueError
Message: Arrow type extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>> does not have a datasets dtype equivalent.
```
reported by @NielsRogge
### Owner
No | 97 | Dataset Viewer issue for darragh/demo_data_raw3
### Link
https://huggingface.co/datasets/darragh/demo_data_raw3
### Description
```
Exception: ValueError
Message: Arrow type extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>> does not have a datasets dtype equivalent.
```
reported by... | [
-0.3208349347114563,
-0.062167488038539886,
0.02742571383714676,
0.42224350571632385,
0.21090495586395264,
0.035962194204330444,
0.17807522416114807,
0.3348506689071655,
-0.16413670778274536,
0.043284978717565536,
0.07184063643217087,
0.5532618761062622,
-0.3066251575946808,
0.215770691633... |
https://github.com/huggingface/datasets/issues/4829 | (Note that the doc is aligned with the hub validation rules, and the "ground truth" is the hub validation rules given that they apply to all datasets, not just the canonical ones) | Misalignment between card tag validation and docs | ## Describe the bug
As pointed out in other issue: https://github.com/huggingface/datasets/pull/4827#discussion_r943536284
the validation of the dataset card tags is not aligned with its documentation: e.g.
- implementation: `license: List[str]`
- docs: `license: Union[str, List[str]]`
They should be aligned.
... | 32 | Misalignment between card tag validation and docs
## Describe the bug
As pointed out in other issue: https://github.com/huggingface/datasets/pull/4827#discussion_r943536284
the validation of the dataset card tags is not aligned with its documentation: e.g.
- implementation: `license: List[str]`
- docs: `license: ... | [
-0.37480834126472473,
-0.17362286150455475,
-0.02783430553972721,
0.1441211998462677,
0.19238057732582092,
0.23069831728935242,
0.1749412715435028,
0.33824995160102844,
0.29473549127578735,
0.008248060941696167,
0.029535412788391113,
0.2788616716861725,
0.15730756521224976,
0.3247022926807... |
https://github.com/huggingface/datasets/issues/4829 | Instead of our own implementation, we now use `huggingface_hub`'s `DatasetCardData`, which has the correct type hint, so I think we can close this issue. | Misalignment between card tag validation and docs | ## Describe the bug
As pointed out in other issue: https://github.com/huggingface/datasets/pull/4827#discussion_r943536284
the validation of the dataset card tags is not aligned with its documentation: e.g.
- implementation: `license: List[str]`
- docs: `license: Union[str, List[str]]`
They should be aligned.
... | 24 | Misalignment between card tag validation and docs
## Describe the bug
As pointed out in other issue: https://github.com/huggingface/datasets/pull/4827#discussion_r943536284
the validation of the dataset card tags is not aligned with its documentation: e.g.
- implementation: `license: List[str]`
- docs: `license: ... | [
-0.30712029337882996,
-0.25993698835372925,
-0.019690435379743576,
0.2084846794605255,
0.2689768373966217,
0.12550422549247742,
0.08933646231889725,
0.3309425413608551,
0.2765295207500458,
0.00824679434299469,
-0.12500977516174316,
0.3567870557308197,
0.009760357439517975,
0.40340846776962... |
https://github.com/huggingface/datasets/issues/4804 | Hi! Only the name of a particular split ("train", "test", ...) is supported as a split pattern if `streaming=True`. We plan to address this limitation soon. | streaming dataset with concatenating splits raises an error | ## Describe the bug
streaming dataset with concatenating splits raises an error
## Steps to reproduce the bug
```python
from datasets import load_dataset
# no error
repo = "nateraw/ade20k-tiny"
dataset = load_dataset(repo, split="train+validation")
```
```python
from datasets import load_dataset
# er... | 26 | streaming dataset with concatenating splits raises an error
## Describe the bug
streaming dataset with concatenating splits raises an error
## Steps to reproduce the bug
```python
from datasets import load_dataset
# no error
repo = "nateraw/ade20k-tiny"
dataset = load_dataset(repo, split="train+validation"... | [
-0.6321982145309448,
-0.14114230871200562,
-0.04174874350428581,
0.08145272731781006,
0.20941486954689026,
0.05047164112329483,
0.4794009327888489,
0.2878323197364807,
-0.24245941638946533,
0.179252028465271,
-0.017328504472970963,
0.18980920314788818,
-0.0953119695186615,
0.34612840414047... |
https://github.com/huggingface/datasets/issues/4804 | yes, same error occurs.
```python
from datasets import load_dataset
# error
repo = "nateraw/ade20k-tiny"
dataset = load_dataset(repo, split="train+validation", streaming=True)
```
```python
---------------------------------------------------------------------------
ValueError ... | streaming dataset with concatenating splits raises an error | ## Describe the bug
streaming dataset with concatenating splits raises an error
## Steps to reproduce the bug
```python
from datasets import load_dataset
# no error
repo = "nateraw/ade20k-tiny"
dataset = load_dataset(repo, split="train+validation")
```
```python
from datasets import load_dataset
# er... | 201 | streaming dataset with concatenating splits raises an error
## Describe the bug
streaming dataset with concatenating splits raises an error
## Steps to reproduce the bug
```python
from datasets import load_dataset
# no error
repo = "nateraw/ade20k-tiny"
dataset = load_dataset(repo, split="train+validation"... | [
-0.6321982145309448,
-0.14114230871200562,
-0.04174874350428581,
0.08145272731781006,
0.20941486954689026,
0.05047164112329483,
0.4794009327888489,
0.2878323197364807,
-0.24245941638946533,
0.179252028465271,
-0.017328504472970963,
0.18980920314788818,
-0.0953119695186615,
0.34612840414047... |
https://github.com/huggingface/datasets/issues/4804 | Hi!, still not fixed this, the truth is that it is an important update for what we want to train the entire dataset because we want to train fast, also should be enabled the function "[train:18%]" for streaming | streaming dataset with concatenating splits raises an error | ## Describe the bug
streaming dataset with concatenating splits raises an error
## Steps to reproduce the bug
```python
from datasets import load_dataset
# no error
repo = "nateraw/ade20k-tiny"
dataset = load_dataset(repo, split="train+validation")
```
```python
from datasets import load_dataset
# er... | 38 | streaming dataset with concatenating splits raises an error
## Describe the bug
streaming dataset with concatenating splits raises an error
## Steps to reproduce the bug
```python
from datasets import load_dataset
# no error
repo = "nateraw/ade20k-tiny"
dataset = load_dataset(repo, split="train+validation"... | [
-0.6321982145309448,
-0.14114230871200562,
-0.04174874350428581,
0.08145272731781006,
0.20941486954689026,
0.05047164112329483,
0.4794009327888489,
0.2878323197364807,
-0.24245941638946533,
0.179252028465271,
-0.017328504472970963,
0.18980920314788818,
-0.0953119695186615,
0.34612840414047... |
https://github.com/huggingface/datasets/issues/4803 | Now: the preview (first-rows) works, but not the conversion to parquet. See https://huggingface.co/datasets/wikipedia/viewer/20220301.de/train
```
_split_generators() missing 1 required positional argument: 'pipeline'
Error code: UnexpectedError
``` | Support `pipeline` argument in inspect.py functions | **Is your feature request related to a problem? Please describe.**
The `wikipedia` dataset requires a `pipeline` argument to build the list of splits:
https://huggingface.co/datasets/wikipedia/blob/main/wikipedia.py#L937
But this is currently not supported in `get_dataset_config_info`:
https://github.com/hu... | 25 | Support `pipeline` argument in inspect.py functions
**Is your feature request related to a problem? Please describe.**
The `wikipedia` dataset requires a `pipeline` argument to build the list of splits:
https://huggingface.co/datasets/wikipedia/blob/main/wikipedia.py#L937
But this is currently not supported ... | [
-0.37398824095726013,
0.004913255572319031,
0.02931782603263855,
0.11169788241386414,
0.12931466102600098,
0.13106438517570496,
0.06105432286858559,
0.29240545630455017,
0.25119802355766296,
0.026917628943920135,
0.012310806661844254,
0.3654102087020874,
-0.10572704672813416,
0.20848068594... |
https://github.com/huggingface/datasets/issues/4802 | Hi! You can get a `torch.Tensor` if you do the following:
```python
raw = load_dataset("beans", split="train")
raw = raw.select(range(100))
preprocessor = AutoFeatureExtractor.from_pretrained("nateraw/vit-base-beans")
from datasets import Array3D
features = raw.features.copy()
features["pixel_values"] = data... | `with_format` behavior is inconsistent on different datasets | ## Describe the bug
I found a case where `with_format` does not transform the dataset to the requested format.
## Steps to reproduce the bug
Run:
```python
from transformers import AutoTokenizer, AutoFeatureExtractor
from datasets import load_dataset
raw = load_dataset("glue", "sst2", split="train")
raw =... | 167 | `with_format` behavior is inconsistent on different datasets
## Describe the bug
I found a case where `with_format` does not transform the dataset to the requested format.
## Steps to reproduce the bug
Run:
```python
from transformers import AutoTokenizer, AutoFeatureExtractor
from datasets import load_data... | [
-0.004752792418003082,
-0.2912633419036865,
0.0034204162657260895,
0.31331342458724976,
0.441533625125885,
-0.4274807870388031,
0.5510602593421936,
0.4759931266307831,
-0.21898891031742096,
-0.02015291154384613,
-0.00970429927110672,
0.5724513530731201,
-0.032357409596443176,
0.02601717412... |
https://github.com/huggingface/datasets/issues/4799 | Hi! We've just started discussing the video support in `datasets` (decoding backends, video feature type, etc.), so I believe we should have something tangible by the end of this year.
Also, if you have additional video features in mind that you would like to see, feel free to let us know | video dataset loader/parser | you know how you can [use `load_dataset` with any arbitrary csv file](https://huggingface.co/docs/datasets/loading#csv)? and you can also [use it to load a local image dataset](https://huggingface.co/docs/datasets/image_load#local-files)?
could you please add functionality to load a video dataset? it would be really... | 51 | video dataset loader/parser
you know how you can [use `load_dataset` with any arbitrary csv file](https://huggingface.co/docs/datasets/loading#csv)? and you can also [use it to load a local image dataset](https://huggingface.co/docs/datasets/image_load#local-files)?
could you please add functionality to load a vid... | [
-0.3650089502334595,
-0.19072631001472473,
-0.11187038570642471,
-0.009493555873632431,
0.06855669617652893,
0.10973566770553589,
0.25044941902160645,
0.2389795184135437,
0.11081358790397644,
0.018048200756311417,
-0.056017324328422546,
0.045121025294065475,
-0.43462878465652466,
0.5628217... |
https://github.com/huggingface/datasets/issues/4799 | Hey @mariosasko, I was wondering if there's a way to load video data currently in the library?
Alternatively is there a way I could hack it through the dataset.from_dict() method? I tried to hack it, but the issue I run into is that earlier I was doing a `cast_column()` call for the `Image` feature, but now I'm not s... | video dataset loader/parser | you know how you can [use `load_dataset` with any arbitrary csv file](https://huggingface.co/docs/datasets/loading#csv)? and you can also [use it to load a local image dataset](https://huggingface.co/docs/datasets/image_load#local-files)?
could you please add functionality to load a video dataset? it would be really... | 111 | video dataset loader/parser
you know how you can [use `load_dataset` with any arbitrary csv file](https://huggingface.co/docs/datasets/loading#csv)? and you can also [use it to load a local image dataset](https://huggingface.co/docs/datasets/image_load#local-files)?
could you please add functionality to load a vid... | [
-0.2739098072052002,
-0.29168540239334106,
-0.025689346715807915,
0.2820211350917816,
0.10169965773820877,
0.06980898231267929,
0.2130121886730194,
0.17537838220596313,
0.1599368453025818,
-0.06503233313560486,
-0.2256629467010498,
0.09517116099596024,
-0.3376169204711914,
0.49277698993682... |
https://github.com/huggingface/datasets/issues/4796 | @mariosasko I'm getting a similar issue when creating a Dataset from a Pandas dataframe, like so:
```
from datasets import Dataset, Features, Image, Value
import pandas as pd
import requests
import PIL
# we need to define the features ourselves
features = Features({
'a': Value(dtype='int32'),
'b': ... | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset | ## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```python
from datasets import load_dataset
from PIL import Image
dataset = load_dataset("hf-inte... | 113 | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```pyth... | [
-0.1612747609615326,
-0.4069039821624756,
-0.0032087862491607666,
0.25208741426467896,
0.09850874543190002,
0.09969861805438995,
0.32935988903045654,
0.29973113536834717,
-0.21165341138839722,
0.0772443488240242,
0.1330222338438034,
0.6992092132568359,
-0.031948816031217575,
-0.05089809000... |
https://github.com/huggingface/datasets/issues/4796 | I would expect this to work, but it doesn't. Shouldn't be too hard to fix tho (in a subsequent PR). | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset | ## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```python
from datasets import load_dataset
from PIL import Image
dataset = load_dataset("hf-inte... | 20 | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```pyth... | [
-0.2117660641670227,
-0.5029458999633789,
-0.013351820409297943,
0.23950427770614624,
-0.02452489733695984,
0.12014976888895035,
0.23018629848957062,
0.2871052622795105,
-0.1885228306055069,
0.0718543529510498,
0.15346857905387878,
0.6264150738716125,
-0.03029061108827591,
-0.1209983378648... |
https://github.com/huggingface/datasets/issues/4796 | Hi @mariosasko just wanted to check in if there is a PR to follow for this. I was looking to create a demo app using this. If it's not working I can just use byte encoded images in the dataset which are not displayed. | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset | ## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```python
from datasets import load_dataset
from PIL import Image
dataset = load_dataset("hf-inte... | 44 | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```pyth... | [
-0.1978382170200348,
-0.5032771825790405,
-0.025165189057588577,
0.23628871142864227,
0.0737750232219696,
0.11654017865657806,
0.25312909483909607,
0.2838854193687439,
-0.20293255150318146,
0.07516399025917053,
0.2509102523326874,
0.6167126893997192,
-0.08183750510215759,
-0.04800623282790... |
https://github.com/huggingface/datasets/issues/4796 | I was just pointed here by @mariosasko, meanwhile I found a workaround using `encode_example` like so:
```
from datasets import load_from_disk, Dataset
DATASET_PATH = "/hf/m4-master/data/cm4/cm4-10000-v0.1"
ds1 = load_from_disk(DATASET_PATH)
ds2 = Dataset.from_dict(mapping={k: [] for k in ds1[99].keys()},
... | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset | ## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```python
from datasets import load_dataset
from PIL import Image
dataset = load_dataset("hf-inte... | 59 | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```pyth... | [
-0.2239132523536682,
-0.42542654275894165,
-0.01429547369480133,
0.3024974465370178,
0.04177423566579819,
0.09449940919876099,
0.2450512796640396,
0.3387308716773987,
-0.2196120321750641,
0.1512882262468338,
0.12169582396745682,
0.698199987411499,
-0.10216359794139862,
-0.00687588006258010... |
https://github.com/huggingface/datasets/issues/4796 | Hmm, interesting. If I create the dataset on the fly:
```
from datasets import load_from_disk, Dataset
DATASET_PATH = "/hf/m4-master/data/cm4/cm4-10000-v0.1"
ds1 = load_from_disk(DATASET_PATH)
ds2 = Dataset.from_dict(mapping={k: [v]*2 for k, v in ds1[99].items()},
features=ds1.features)
... | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset | ## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```python
from datasets import load_dataset
from PIL import Image
dataset = load_dataset("hf-inte... | 264 | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```pyth... | [
-0.320831835269928,
-0.38646966218948364,
0.014370568096637726,
0.266984760761261,
0.1065424233675003,
0.08001416176557541,
0.3989080786705017,
0.1804565191268921,
-0.14331340789794922,
0.1974938064813614,
0.218773752450943,
0.6241248250007629,
-0.10098998248577118,
0.056991949677467346,
... |
https://github.com/huggingface/datasets/issues/4796 | > @mariosasko I'm getting a similar issue when creating a Dataset from a Pandas dataframe, like so:
>
> ```
> from datasets import Dataset, Features, Image, Value
> import pandas as pd
> import requests
> import PIL
>
> # we need to define the features ourselves
> features = Features({
> 'a': Value(dtyp... | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset | ## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```python
from datasets import load_dataset
from PIL import Image
dataset = load_dataset("hf-inte... | 159 | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```pyth... | [
-0.178003191947937,
-0.4027801752090454,
-0.0016966015100479126,
0.2543635368347168,
0.07100414484739304,
0.08462770283222198,
0.30354923009872437,
0.2819325923919678,
-0.2212420403957367,
0.0687345489859581,
0.15005668997764587,
0.6716845035552979,
-0.03752520680427551,
-0.080956824123859... |
https://github.com/huggingface/datasets/issues/4796 | There is a workaround:
Create a loader python scrypt and upload the dataset to huggingface.
Here is an example how to do that:
https://huggingface.co/datasets/jamescalam/image-text-demo/tree/main
and Here are videos with explanations:
https://www.youtube.com/watch?v=lqK4ocAKveE and https://www.youtube.com... | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset | ## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```python
from datasets import load_dataset
from PIL import Image
dataset = load_dataset("hf-inte... | 33 | ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
## Describe the bug
When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature.
## Steps to reproduce the bug
```pyth... | [
-0.17007726430892944,
-0.6349725723266602,
0.0006580688059329987,
0.31334200501441956,
-0.04080560803413391,
0.10565964132547379,
0.10329023003578186,
0.22061461210250854,
-0.11078295111656189,
0.10120530426502228,
0.03682179003953934,
0.5722433924674988,
-0.05125013738870621,
-0.001174278... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.