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/2035 | For wikipedia dataset, looks like the files it's looking for are no longer available. For `bg`, I checked [here](https://dumps.wikimedia.org/bgwiki/). For this I think `dataset_infos.json` for this dataset has to made again? You'll have to load this dataset also using beam runner.
| wiki40b/wikipedia for almost all languages cannot be downloaded | Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For almost all languages except english I am getting this error.
I rea... | 41 | wiki40b/wikipedia for almost all languages cannot be downloaded
Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For alm... | [
-0.25449812412261963,
-0.0779205784201622,
-0.153758242726326,
0.430866539478302,
0.39970260858535767,
0.35046160221099854,
0.13685046136379242,
0.5331583619117737,
0.1893271803855896,
0.023584403097629547,
-0.17730340361595154,
-0.09421733766794205,
0.094403937458992,
0.011183857917785645... |
https://github.com/huggingface/datasets/issues/2035 | Hello @dorost1234,
Indeed, Wikipedia datasets need a lot of preprocessing and this is done using Apache Beam. That is the reason why it is required that you install Apache Beam in order to preform this preprocessing.
For some specific default parameters (English Wikipedia), Hugging Face has already preprocessed t... | wiki40b/wikipedia for almost all languages cannot be downloaded | Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For almost all languages except english I am getting this error.
I rea... | 94 | wiki40b/wikipedia for almost all languages cannot be downloaded
Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For alm... | [
-0.25449812412261963,
-0.0779205784201622,
-0.153758242726326,
0.430866539478302,
0.39970260858535767,
0.35046160221099854,
0.13685046136379242,
0.5331583619117737,
0.1893271803855896,
0.023584403097629547,
-0.17730340361595154,
-0.09421733766794205,
0.094403937458992,
0.011183857917785645... |
https://github.com/huggingface/datasets/issues/2035 | Hi
I really appreciate if huggingface can kindly provide preprocessed
datasets, processing these datasets require sufficiently large resources
and I do not have unfortunately access to, and perhaps many others too.
thanks
On Fri, Mar 12, 2021 at 9:04 AM Albert Villanova del Moral <
***@***.***> wrote:
> Hello @dorost... | wiki40b/wikipedia for almost all languages cannot be downloaded | Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For almost all languages except english I am getting this error.
I rea... | 185 | wiki40b/wikipedia for almost all languages cannot be downloaded
Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For alm... | [
-0.25449812412261963,
-0.0779205784201622,
-0.153758242726326,
0.430866539478302,
0.39970260858535767,
0.35046160221099854,
0.13685046136379242,
0.5331583619117737,
0.1893271803855896,
0.023584403097629547,
-0.17730340361595154,
-0.09421733766794205,
0.094403937458992,
0.011183857917785645... |
https://github.com/huggingface/datasets/issues/2035 | Hi everyone
thanks for the helpful pointers, I did it as @bhavitvyamalik suggested, for me this freezes on this command for several hours,
`Downloading and preparing dataset wiki40b/cs (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /users/dara/cache/datasets... | wiki40b/wikipedia for almost all languages cannot be downloaded | Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For almost all languages except english I am getting this error.
I rea... | 65 | wiki40b/wikipedia for almost all languages cannot be downloaded
Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For alm... | [
-0.25449812412261963,
-0.0779205784201622,
-0.153758242726326,
0.430866539478302,
0.39970260858535767,
0.35046160221099854,
0.13685046136379242,
0.5331583619117737,
0.1893271803855896,
0.023584403097629547,
-0.17730340361595154,
-0.09421733766794205,
0.094403937458992,
0.011183857917785645... |
https://github.com/huggingface/datasets/issues/2035 | HI @dorost1234,
The dataset size is 631.84 MiB so depending on your internet speed it'll take some time. You can monitor your internet speed meanwhile to see if it's downloading the dataset or not (use `nload` if you're using linux/mac to monitor the same). In my case it took around 3-4 mins. Since they haven't used ... | wiki40b/wikipedia for almost all languages cannot be downloaded | Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For almost all languages except english I am getting this error.
I rea... | 65 | wiki40b/wikipedia for almost all languages cannot be downloaded
Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For alm... | [
-0.25449812412261963,
-0.0779205784201622,
-0.153758242726326,
0.430866539478302,
0.39970260858535767,
0.35046160221099854,
0.13685046136379242,
0.5331583619117737,
0.1893271803855896,
0.023584403097629547,
-0.17730340361595154,
-0.09421733766794205,
0.094403937458992,
0.011183857917785645... |
https://github.com/huggingface/datasets/issues/2035 | Hi
thanks, my internet speed should be good, but this really freezes for me, this is how I try to get this dataset:
`from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs", beam_runner='DirectRunner')`
the output I see if different also from what you see after writing this command:
`Downlo... | wiki40b/wikipedia for almost all languages cannot be downloaded | Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For almost all languages except english I am getting this error.
I rea... | 212 | wiki40b/wikipedia for almost all languages cannot be downloaded
Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For alm... | [
-0.25449812412261963,
-0.0779205784201622,
-0.153758242726326,
0.430866539478302,
0.39970260858535767,
0.35046160221099854,
0.13685046136379242,
0.5331583619117737,
0.1893271803855896,
0.023584403097629547,
-0.17730340361595154,
-0.09421733766794205,
0.094403937458992,
0.011183857917785645... |
https://github.com/huggingface/datasets/issues/2035 | I tried this on another machine (followed the same procedure I've mentioned above). This is what it shows (during the freeze period) for me:
```
>>> dataset = load_dataset("wiki40b", "cs", beam_runner='DirectRunner')
Downloading: 5.26kB [00:00, 1.23MB/s] ... | wiki40b/wikipedia for almost all languages cannot be downloaded | Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For almost all languages except english I am getting this error.
I rea... | 156 | wiki40b/wikipedia for almost all languages cannot be downloaded
Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For alm... | [
-0.25449812412261963,
-0.0779205784201622,
-0.153758242726326,
0.430866539478302,
0.39970260858535767,
0.35046160221099854,
0.13685046136379242,
0.5331583619117737,
0.1893271803855896,
0.023584403097629547,
-0.17730340361595154,
-0.09421733766794205,
0.094403937458992,
0.011183857917785645... |
https://github.com/huggingface/datasets/issues/2035 | Hi
I honestly also now tried on another machine and nothing shows up after
hours of waiting. Are you sure you have not set any specific setting? maybe
google cloud which seems it is used here, needs some credential setting?
thanks for any suggestions on this
On Tue, Mar 16, 2021 at 10:02 AM Bhavitvya Malik ***@*... | wiki40b/wikipedia for almost all languages cannot be downloaded | Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For almost all languages except english I am getting this error.
I rea... | 259 | wiki40b/wikipedia for almost all languages cannot be downloaded
Hi
I am trying to download the data as below:
```
from datasets import load_dataset
dataset = load_dataset("wiki40b", "cs")
print(dataset)
```
I am getting this error. @lhoestq I will be grateful if you could assist me with this error. For alm... | [
-0.25449812412261963,
-0.0779205784201622,
-0.153758242726326,
0.430866539478302,
0.39970260858535767,
0.35046160221099854,
0.13685046136379242,
0.5331583619117737,
0.1893271803855896,
0.023584403097629547,
-0.17730340361595154,
-0.09421733766794205,
0.094403937458992,
0.011183857917785645... |
https://github.com/huggingface/datasets/issues/2032 | Actually table.filter returns a new table in memory, which can fill users RAM.
Therefore it's not a good solution if we want to keep supporting bigger than RAM datastes | Use Arrow filtering instead of writing a new arrow file for Dataset.filter | Currently the filter method reads the dataset batch by batch to write a new, filtered, arrow file on disk. Therefore all the reading + writing can take some time.
Using a mask directly on the arrow table doesn't do any read or write operation therefore it's significantly quicker.
I think there are two cases:
- i... | 29 | Use Arrow filtering instead of writing a new arrow file for Dataset.filter
Currently the filter method reads the dataset batch by batch to write a new, filtered, arrow file on disk. Therefore all the reading + writing can take some time.
Using a mask directly on the arrow table doesn't do any read or write operati... | [
-0.47958236932754517,
-0.0302981436252594,
-0.14877527952194214,
0.06036858633160591,
-0.15269850194454193,
-0.3829573392868042,
0.14617830514907837,
0.600516676902771,
0.4206158518791199,
0.21208494901657104,
0.012704622000455856,
0.47666364908218384,
0.003774162381887436,
0.3472564518451... |
https://github.com/huggingface/datasets/issues/2031 | Hi @miyamonz
Thanks for investigating this issue, good job !
It would be awesome to integrate your fix in the library, could you open a pull request ? | wikipedia.py generator that extracts XML doesn't release memory | I tried downloading Japanese wikipedia, but it always failed because of out of memory maybe.
I found that the generator function that extracts XML data in wikipedia.py doesn't release memory in the loop.
https://github.com/huggingface/datasets/blob/13a5b7db992ad5cf77895e4c0f76595314390418/datasets/wikipedia/wikip... | 28 | wikipedia.py generator that extracts XML doesn't release memory
I tried downloading Japanese wikipedia, but it always failed because of out of memory maybe.
I found that the generator function that extracts XML data in wikipedia.py doesn't release memory in the loop.
https://github.com/huggingface/datasets/blob... | [
0.21865248680114746,
-0.11096210032701492,
-0.052367158234119415,
0.6246849894523621,
0.31603512167930603,
0.09426555037498474,
-0.21173644065856934,
0.33323344588279724,
0.20938098430633545,
0.2579503059387207,
0.006053410470485687,
0.15176241099834442,
0.23278996348381042,
-0.12655290961... |
https://github.com/huggingface/datasets/issues/2029 | In your code `dataset2` doesn't contain the "embeddings" column, since it is created from the pandas DataFrame with columns "text" and "label".
Therefore when you call `dataset2[embeddings_name]`, you get a `KeyError`.
If you want the "embeddings" column back, you can create `dataset2` with
```python
dataset2 =... | Loading a faiss index KeyError | I've recently been testing out RAG and DPR embeddings, and I've run into an issue that is not apparent in the documentation.
The basic steps are:
1. Create a dataset (dataset1)
2. Create an embeddings column using DPR
3. Add a faiss index to the dataset
4. Save faiss index to a file
5. Create a new dataset (d... | 65 | Loading a faiss index KeyError
I've recently been testing out RAG and DPR embeddings, and I've run into an issue that is not apparent in the documentation.
The basic steps are:
1. Create a dataset (dataset1)
2. Create an embeddings column using DPR
3. Add a faiss index to the dataset
4. Save faiss index to a... | [
0.05507443845272064,
-0.6190826892852783,
0.07025021314620972,
0.3613135516643524,
0.15540015697479248,
0.2710709571838379,
0.3453342020511627,
0.051057301461696625,
0.5391326546669006,
0.28440284729003906,
-0.0778137594461441,
0.15644225478172302,
0.4091767370700836,
-0.0636666789650917,
... |
https://github.com/huggingface/datasets/issues/2029 | Ok in that case HF should fix their misleading example at https://huggingface.co/docs/datasets/faiss_and_ea.html#adding-a-faiss-index
I copy-pasted it here.
> When you are done with your queries you can save your index on disk:
>
> ```python
> ds_with_embeddings.save_faiss_index('embeddings', 'my_index.faiss... | Loading a faiss index KeyError | I've recently been testing out RAG and DPR embeddings, and I've run into an issue that is not apparent in the documentation.
The basic steps are:
1. Create a dataset (dataset1)
2. Create an embeddings column using DPR
3. Add a faiss index to the dataset
4. Save faiss index to a file
5. Create a new dataset (d... | 57 | Loading a faiss index KeyError
I've recently been testing out RAG and DPR embeddings, and I've run into an issue that is not apparent in the documentation.
The basic steps are:
1. Create a dataset (dataset1)
2. Create an embeddings column using DPR
3. Add a faiss index to the dataset
4. Save faiss index to a... | [
0.017279349267482758,
-0.5772310495376587,
0.06312298774719238,
0.27951258420944214,
0.08014960587024689,
0.27220675349235535,
0.3179304003715515,
0.10324811935424805,
0.5430009365081787,
0.2702878713607788,
-0.11547311395406723,
0.11195078492164612,
0.4107089936733246,
-0.1057186722755432... |
https://github.com/huggingface/datasets/issues/2029 | Hi !
The code of the example is valid.
An index is a search engine, it's not considered a column of a dataset.
When you do `ds.load_faiss_index("embeddings", 'my_index.faiss')`, it attaches an index named "embeddings" to the dataset but it doesn't re-add the "embeddings" column. You can list the indexes of a datas... | Loading a faiss index KeyError | I've recently been testing out RAG and DPR embeddings, and I've run into an issue that is not apparent in the documentation.
The basic steps are:
1. Create a dataset (dataset1)
2. Create an embeddings column using DPR
3. Add a faiss index to the dataset
4. Save faiss index to a file
5. Create a new dataset (d... | 119 | Loading a faiss index KeyError
I've recently been testing out RAG and DPR embeddings, and I've run into an issue that is not apparent in the documentation.
The basic steps are:
1. Create a dataset (dataset1)
2. Create an embeddings column using DPR
3. Add a faiss index to the dataset
4. Save faiss index to a... | [
0.13970841467380524,
-0.5335461497306824,
0.05147163197398186,
0.31969770789146423,
0.1264747679233551,
0.2750566899776459,
0.41199609637260437,
-0.04047859460115433,
0.6586286425590515,
0.20735447108745575,
-0.062413349747657776,
0.15385830402374268,
0.38660529255867004,
-0.04890118166804... |
https://github.com/huggingface/datasets/issues/2029 | > If I understand correctly by reading this example you thought that it was re-adding the "embeddings" column.
Yes. I was trying to use the dataset in RAG and it complained that the dataset didn't have the right columns. No problems when loading the dataset with `load_from_disk` and then doing `load_faiss_index`
Wh... | Loading a faiss index KeyError | I've recently been testing out RAG and DPR embeddings, and I've run into an issue that is not apparent in the documentation.
The basic steps are:
1. Create a dataset (dataset1)
2. Create an embeddings column using DPR
3. Add a faiss index to the dataset
4. Save faiss index to a file
5. Create a new dataset (d... | 115 | Loading a faiss index KeyError
I've recently been testing out RAG and DPR embeddings, and I've run into an issue that is not apparent in the documentation.
The basic steps are:
1. Create a dataset (dataset1)
2. Create an embeddings column using DPR
3. Add a faiss index to the dataset
4. Save faiss index to a... | [
0.11416617035865784,
-0.6093640327453613,
0.06223642826080322,
0.3725111186504364,
0.1373022347688675,
0.28628355264663696,
0.406628280878067,
0.027965694665908813,
0.5614453554153442,
0.20742502808570862,
-0.05763918161392212,
0.1514221876859665,
0.473791241645813,
-0.06073606014251709,
... |
https://github.com/huggingface/datasets/issues/2026 | Hi,
Actually, the error occurs due to these two lines:
```python
raw_dataset.set_format('torch',columns=['img','label'])
raw_dataset = raw_dataset.rename_column('img','image')
```
`Dataset.rename_column` doesn't update the `_format_columns` attribute, previously defined by `Dataset.set_format`, with a new colum... | KeyError on using map after renaming a column | Hi,
I'm trying to use `cifar10` dataset. I want to rename the `img` feature to `image` in order to make it consistent with `mnist`, which I'm also planning to use. By doing this, I was trying to avoid modifying `prepare_train_features` function.
Here is what I try:
```python
transform = Compose([ToPILImage(),... | 42 | KeyError on using map after renaming a column
Hi,
I'm trying to use `cifar10` dataset. I want to rename the `img` feature to `image` in order to make it consistent with `mnist`, which I'm also planning to use. By doing this, I was trying to avoid modifying `prepare_train_features` function.
Here is what I try:
... | [
0.034390442073345184,
0.006200358271598816,
-0.06358011066913605,
-0.3342280089855194,
0.480843722820282,
0.26163947582244873,
0.6042658686637878,
0.23733213543891907,
0.13709208369255066,
0.08659091591835022,
0.054035358130931854,
0.5270302295684814,
-0.15589511394500732,
0.29946273565292... |
https://github.com/huggingface/datasets/issues/2026 | Hi @mariosasko,
Thanks for opening a PR on this :)
Why does the old name also disappear? | KeyError on using map after renaming a column | Hi,
I'm trying to use `cifar10` dataset. I want to rename the `img` feature to `image` in order to make it consistent with `mnist`, which I'm also planning to use. By doing this, I was trying to avoid modifying `prepare_train_features` function.
Here is what I try:
```python
transform = Compose([ToPILImage(),... | 17 | KeyError on using map after renaming a column
Hi,
I'm trying to use `cifar10` dataset. I want to rename the `img` feature to `image` in order to make it consistent with `mnist`, which I'm also planning to use. By doing this, I was trying to avoid modifying `prepare_train_features` function.
Here is what I try:
... | [
0.034390442073345184,
0.006200358271598816,
-0.06358011066913605,
-0.3342280089855194,
0.480843722820282,
0.26163947582244873,
0.6042658686637878,
0.23733213543891907,
0.13709208369255066,
0.08659091591835022,
0.054035358130931854,
0.5270302295684814,
-0.15589511394500732,
0.29946273565292... |
https://github.com/huggingface/datasets/issues/2026 | I just merged a @mariosasko 's PR that fixes this issue.
If it happens again, feel free to re-open :) | KeyError on using map after renaming a column | Hi,
I'm trying to use `cifar10` dataset. I want to rename the `img` feature to `image` in order to make it consistent with `mnist`, which I'm also planning to use. By doing this, I was trying to avoid modifying `prepare_train_features` function.
Here is what I try:
```python
transform = Compose([ToPILImage(),... | 20 | KeyError on using map after renaming a column
Hi,
I'm trying to use `cifar10` dataset. I want to rename the `img` feature to `image` in order to make it consistent with `mnist`, which I'm also planning to use. By doing this, I was trying to avoid modifying `prepare_train_features` function.
Here is what I try:
... | [
0.034390442073345184,
0.006200358271598816,
-0.06358011066913605,
-0.3342280089855194,
0.480843722820282,
0.26163947582244873,
0.6042658686637878,
0.23733213543891907,
0.13709208369255066,
0.08659091591835022,
0.054035358130931854,
0.5270302295684814,
-0.15589511394500732,
0.29946273565292... |
https://github.com/huggingface/datasets/issues/2022 | Hi,
This is a bug so thanks for reporting it. `Dataset.__setstate__` is the problem, which is called when `Dataset.rename_column` tries to copy the dataset with `copy.deepcopy(self)`. This only happens if the `split` arg in `load_dataset` was defined as `ReadInstruction`.
To overcome this issue, use the named sp... | ValueError when rename_column on splitted dataset | Hi there,
I am loading `.tsv` file via `load_dataset` and subsequently split the rows into training and test set via the `ReadInstruction` API like so:
```python
split = {
'train': ReadInstruction('train', to=90, unit='%'),
'test': ReadInstruction('train', from_=-10, unit='%')
}
dataset = load_datase... | 66 | ValueError when rename_column on splitted dataset
Hi there,
I am loading `.tsv` file via `load_dataset` and subsequently split the rows into training and test set via the `ReadInstruction` API like so:
```python
split = {
'train': ReadInstruction('train', to=90, unit='%'),
'test': ReadInstruction('trai... | [
-0.08357521891593933,
0.21979916095733643,
-0.034829139709472656,
-0.04238446429371834,
0.42087697982788086,
0.07306236028671265,
0.6438040733337402,
0.41798388957977295,
-0.022552654147148132,
0.33965355157852173,
-0.08668682724237442,
0.3978038430213928,
-0.05218473821878433,
0.364435374... |
https://github.com/huggingface/datasets/issues/2022 | This has been fixed in #2043 , thanks @mariosasko
The fix is available on master and we'll do a new release soon :)
feel free to re-open if you still have issues | ValueError when rename_column on splitted dataset | Hi there,
I am loading `.tsv` file via `load_dataset` and subsequently split the rows into training and test set via the `ReadInstruction` API like so:
```python
split = {
'train': ReadInstruction('train', to=90, unit='%'),
'test': ReadInstruction('train', from_=-10, unit='%')
}
dataset = load_datase... | 32 | ValueError when rename_column on splitted dataset
Hi there,
I am loading `.tsv` file via `load_dataset` and subsequently split the rows into training and test set via the `ReadInstruction` API like so:
```python
split = {
'train': ReadInstruction('train', to=90, unit='%'),
'test': ReadInstruction('trai... | [
-0.08357521891593933,
0.21979916095733643,
-0.034829139709472656,
-0.04238446429371834,
0.42087697982788086,
0.07306236028671265,
0.6438040733337402,
0.41798388957977295,
-0.022552654147148132,
0.33965355157852173,
-0.08668682724237442,
0.3978038430213928,
-0.05218473821878433,
0.364435374... |
https://github.com/huggingface/datasets/issues/2021 | Hi,
Can you give us a minimal reproducible example? This [part](https://huggingface.co/docs/datasets/master/processing.html#controling-the-cache-behavior) of the docs explains how to control caching. | Interactively doing save_to_disk and load_from_disk corrupts the datasets object? | dataset_info.json file saved after using save_to_disk gets corrupted as follows.

Is there a way to disable the cache that will save to /tmp/huggiface/datastes ?
I have a feeling there is a seri... | 19 | Interactively doing save_to_disk and load_from_disk corrupts the datasets object?
dataset_info.json file saved after using save_to_disk gets corrupted as follows.

Is there a way to disable the... | [
-0.07485495507717133,
-0.14697127044200897,
0.05617251992225647,
0.775801420211792,
0.29052168130874634,
0.3213842511177063,
-0.23171809315681458,
0.13119018077850342,
0.19429472088813782,
0.13167065382003784,
-0.15026944875717163,
0.06683531403541565,
0.2389937788248062,
0.203374475240707... |
https://github.com/huggingface/datasets/issues/2012 | What's the issue exactly ?
Given an `upstream` remote repository with url `https://github.com/huggingface/datasets.git`, you can totally rebase from `upstream/master`.
It's mentioned at the beginning how to add the `upstream` remote repository
https://github.com/huggingface/datasets/blob/987df6b4e9e20fc0c92bc9... | No upstream branch | Feels like the documentation on adding a new dataset is outdated?
https://github.com/huggingface/datasets/blob/987df6b4e9e20fc0c92bc9df48137d170756fd7b/ADD_NEW_DATASET.md#L49-L54
There is no upstream branch on remote. | 32 | No upstream branch
Feels like the documentation on adding a new dataset is outdated?
https://github.com/huggingface/datasets/blob/987df6b4e9e20fc0c92bc9df48137d170756fd7b/ADD_NEW_DATASET.md#L49-L54
There is no upstream branch on remote.
What's the issue exactly ?
Given an `upstream` remote repository with... | [
-0.05419689044356346,
-0.34290266036987305,
-0.07095766067504883,
-0.2234126329421997,
0.1322246938943863,
0.001415438950061798,
0.12123462557792664,
0.014974609017372131,
-0.43292489647865295,
0.16632844507694244,
0.010384097695350647,
-0.05045627802610397,
0.14463478326797485,
0.20273864... |
https://github.com/huggingface/datasets/issues/2012 | ~~What difference is there with the default `origin` remote that is set when you clone the repo?~~ I've just understood that this applies to **forks** of the repo 🤡 | No upstream branch | Feels like the documentation on adding a new dataset is outdated?
https://github.com/huggingface/datasets/blob/987df6b4e9e20fc0c92bc9df48137d170756fd7b/ADD_NEW_DATASET.md#L49-L54
There is no upstream branch on remote. | 29 | No upstream branch
Feels like the documentation on adding a new dataset is outdated?
https://github.com/huggingface/datasets/blob/987df6b4e9e20fc0c92bc9df48137d170756fd7b/ADD_NEW_DATASET.md#L49-L54
There is no upstream branch on remote.
~~What difference is there with the default `origin` remote that is set ... | [
-0.15264414250850677,
-0.3908180594444275,
-0.056868597865104675,
-0.3803967237472534,
-0.05352826043963432,
-0.12343958765268326,
0.31518062949180603,
-0.002233395352959633,
-0.3539056181907654,
0.2694292664527893,
-0.009293951094150543,
-0.04662804305553436,
0.39551299810409546,
0.235126... |
https://github.com/huggingface/datasets/issues/2010 | I'm not able to reproduce on my side.
Can you provide the full stacktrace please ?
What version of `python` and `dill` do you have ? Which OS are you using ? | Local testing fails | I'm following the CI setup as described in
https://github.com/huggingface/datasets/blob/8eee4fa9e133fe873a7993ba746d32ca2b687551/.circleci/config.yml#L16-L19
in a new conda environment, at commit https://github.com/huggingface/datasets/commit/4de6dbf84e93dad97e1000120d6628c88954e5d4
and getting
```
FAILED... | 32 | Local testing fails
I'm following the CI setup as described in
https://github.com/huggingface/datasets/blob/8eee4fa9e133fe873a7993ba746d32ca2b687551/.circleci/config.yml#L16-L19
in a new conda environment, at commit https://github.com/huggingface/datasets/commit/4de6dbf84e93dad97e1000120d6628c88954e5d4
and ... | [
-0.15659989416599274,
0.09454017877578735,
0.0029506683349609375,
0.051975879818201065,
-0.13645033538341522,
-0.25910893082618713,
0.40860214829444885,
0.22406479716300964,
-0.1059592217206955,
0.26768869161605835,
-0.005886897444725037,
0.07883332669734955,
-0.1537661850452423,
0.5032169... |
https://github.com/huggingface/datasets/issues/2010 | ```
co_filename = '<ipython-input-2-e0383a102aae>', returned_obj = [0]
def create_ipython_func(co_filename, returned_obj):
def func():
... | Local testing fails | I'm following the CI setup as described in
https://github.com/huggingface/datasets/blob/8eee4fa9e133fe873a7993ba746d32ca2b687551/.circleci/config.yml#L16-L19
in a new conda environment, at commit https://github.com/huggingface/datasets/commit/4de6dbf84e93dad97e1000120d6628c88954e5d4
and getting
```
FAILED... | 47 | Local testing fails
I'm following the CI setup as described in
https://github.com/huggingface/datasets/blob/8eee4fa9e133fe873a7993ba746d32ca2b687551/.circleci/config.yml#L16-L19
in a new conda environment, at commit https://github.com/huggingface/datasets/commit/4de6dbf84e93dad97e1000120d6628c88954e5d4
and ... | [
-0.15954235196113586,
0.0836866945028305,
0.008074130862951279,
0.05419459193944931,
-0.060591500252485275,
-0.2532823979854584,
0.4322313070297241,
0.3210855722427368,
0.06659090518951416,
0.21157026290893555,
-0.0241565965116024,
0.10391585528850555,
-0.19237196445465088,
0.4951998889446... |
https://github.com/huggingface/datasets/issues/2010 | I managed to reproduce. This comes from the CodeType init signature that is different in python 3.8.8
I opened a PR to fix this test
Thanks ! | Local testing fails | I'm following the CI setup as described in
https://github.com/huggingface/datasets/blob/8eee4fa9e133fe873a7993ba746d32ca2b687551/.circleci/config.yml#L16-L19
in a new conda environment, at commit https://github.com/huggingface/datasets/commit/4de6dbf84e93dad97e1000120d6628c88954e5d4
and getting
```
FAILED... | 27 | Local testing fails
I'm following the CI setup as described in
https://github.com/huggingface/datasets/blob/8eee4fa9e133fe873a7993ba746d32ca2b687551/.circleci/config.yml#L16-L19
in a new conda environment, at commit https://github.com/huggingface/datasets/commit/4de6dbf84e93dad97e1000120d6628c88954e5d4
and ... | [
-0.21295082569122314,
0.0823647528886795,
0.023841314017772675,
0.09466239809989929,
0.04961545765399933,
-0.19082435965538025,
0.3812553882598877,
0.3104431629180908,
0.05058417469263077,
0.22537124156951904,
0.13752469420433044,
0.11011487245559692,
-0.18604987859725952,
0.65759450197219... |
https://github.com/huggingface/datasets/issues/2009 | Hi @theo-m !
A few lines above this line, you'll find that the `_split_generators` method returns a list of `SplitGenerator`s objects:
```python
datasets.SplitGenerator(
name=datasets.Split.VALIDATION,
# These kwargs will be passed to _generate_examples
gen_kwargs={
"filepath": os.path.jo... | Ambiguous documentation | https://github.com/huggingface/datasets/blob/2ac9a0d24a091989f869af55f9f6411b37ff5188/templates/new_dataset_script.py#L156-L158
Looking at the template, I find this documentation line to be confusing, the method parameters don't include the `gen_kwargs` so I'm unclear where they're coming from.
Happy to push a PR... | 79 | Ambiguous documentation
https://github.com/huggingface/datasets/blob/2ac9a0d24a091989f869af55f9f6411b37ff5188/templates/new_dataset_script.py#L156-L158
Looking at the template, I find this documentation line to be confusing, the method parameters don't include the `gen_kwargs` so I'm unclear where they're coming f... | [
0.06302609294652939,
-0.05598878860473633,
-0.05370444804430008,
0.1070300042629242,
0.02356768399477005,
0.16932424902915955,
0.34079283475875854,
0.10250895470380783,
-0.14459684491157532,
-0.16507549583911896,
0.0825750008225441,
0.3592204451560974,
0.04754792898893356,
0.02296586334705... |
https://github.com/huggingface/datasets/issues/2009 | Oh ok I hadn't made the connection between those two, will offer a tweak to the comment and the template then - thanks! | Ambiguous documentation | https://github.com/huggingface/datasets/blob/2ac9a0d24a091989f869af55f9f6411b37ff5188/templates/new_dataset_script.py#L156-L158
Looking at the template, I find this documentation line to be confusing, the method parameters don't include the `gen_kwargs` so I'm unclear where they're coming from.
Happy to push a PR... | 23 | Ambiguous documentation
https://github.com/huggingface/datasets/blob/2ac9a0d24a091989f869af55f9f6411b37ff5188/templates/new_dataset_script.py#L156-L158
Looking at the template, I find this documentation line to be confusing, the method parameters don't include the `gen_kwargs` so I'm unclear where they're coming f... | [
0.09075391292572021,
-0.17848233878612518,
-0.08218152821063995,
-0.13477642834186554,
0.20261038839817047,
0.1043044775724411,
0.4321019947528839,
0.07421432435512543,
-0.09254401177167892,
-0.129751056432724,
0.12961003184318542,
0.20715481042861938,
0.014975138008594513,
0.1009714901447... |
https://github.com/huggingface/datasets/issues/2007 | So maybe a summary here:
If I could fit a large model with batch_size = X into memory, is there a way I could train this model for huge datasets with keeping setting the same? thanks | How to not load huggingface datasets into memory | Hi
I am running this example from transformers library version 4.3.3:
(Here is the full documentation https://github.com/huggingface/transformers/issues/8771 but the running command should work out of the box)
USE_TF=0 deepspeed run_seq2seq.py --model_name_or_path google/mt5-base --dataset_name wmt16 --dataset_... | 36 | How to not load huggingface datasets into memory
Hi
I am running this example from transformers library version 4.3.3:
(Here is the full documentation https://github.com/huggingface/transformers/issues/8771 but the running command should work out of the box)
USE_TF=0 deepspeed run_seq2seq.py --model_name_or_... | [
-0.15727387368679047,
-0.5049941539764404,
0.00604122132062912,
0.5300244688987732,
0.5585086941719055,
0.04716857522726059,
0.07906785607337952,
0.2601297199726105,
0.39253199100494385,
0.11795015633106232,
-0.02501307800412178,
-0.2572227716445923,
-0.3355436623096466,
0.3502955436706543... |
https://github.com/huggingface/datasets/issues/2007 | The `datastets` library doesn't load datasets into memory. Therefore you can load a dataset that is terabytes big without filling up your RAM.
The only thing that's loaded into memory during training is the batch used in the training step.
So as long as your model works with batch_size = X, then you can load an eve... | How to not load huggingface datasets into memory | Hi
I am running this example from transformers library version 4.3.3:
(Here is the full documentation https://github.com/huggingface/transformers/issues/8771 but the running command should work out of the box)
USE_TF=0 deepspeed run_seq2seq.py --model_name_or_path google/mt5-base --dataset_name wmt16 --dataset_... | 208 | How to not load huggingface datasets into memory
Hi
I am running this example from transformers library version 4.3.3:
(Here is the full documentation https://github.com/huggingface/transformers/issues/8771 but the running command should work out of the box)
USE_TF=0 deepspeed run_seq2seq.py --model_name_or_... | [
-0.15187682211399078,
-0.5147152543067932,
0.033216461539268494,
0.49745264649391174,
0.5210766792297363,
0.01391514390707016,
0.11802709102630615,
0.2357330322265625,
0.4079457223415375,
0.18799635767936707,
0.007619347423315048,
-0.2028844654560089,
-0.28504693508148193,
0.34070304036140... |
https://github.com/huggingface/datasets/issues/2005 | Adding to the previous information, I think `torch.utils.data.DataLoader` is doing some conversion.
What I tried:
```python
train_dataset = load_dataset('mnist')
```
I don't use any `map` or `set_format` or any `transform`. I use this directly, and try to load batches using the `DataLoader` with batch size 2, I g... | Setting to torch format not working with torchvision and MNIST | Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```python
def prepare_features(examples):
images = []
labe... | 202 | Setting to torch format not working with torchvision and MNIST
Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```p... | [
-0.12737531960010529,
-0.35116493701934814,
-0.01793278008699417,
0.35360896587371826,
0.4760025143623352,
0.08871375024318695,
0.7330294847488403,
0.3804345726966858,
0.06552569568157196,
-0.038042426109313965,
-0.11115331202745438,
0.38195130228996277,
-0.23296907544136047,
-0.3339345753... |
https://github.com/huggingface/datasets/issues/2005 | What's the feature types of your new dataset after `.map` ?
Can you try with adding `features=` in the `.map` call in order to set the "image" feature type to `Array2D` ?
The default feature type is lists of lists, we've not implemented shape verification to use ArrayXD instead of nested lists yet | Setting to torch format not working with torchvision and MNIST | Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```python
def prepare_features(examples):
images = []
labe... | 53 | Setting to torch format not working with torchvision and MNIST
Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```p... | [
-0.12737531960010529,
-0.35116493701934814,
-0.01793278008699417,
0.35360896587371826,
0.4760025143623352,
0.08871375024318695,
0.7330294847488403,
0.3804345726966858,
0.06552569568157196,
-0.038042426109313965,
-0.11115331202745438,
0.38195130228996277,
-0.23296907544136047,
-0.3339345753... |
https://github.com/huggingface/datasets/issues/2005 | Hi @lhoestq
Raw feature types are like this:
```
Image:
<class 'list'> 60000 #(type, len)
<class 'list'> 28
<class 'list'> 28
<class 'int'>
Label:
<class 'list'> 60000
<class 'int'>
```
Inside the `prepare_feature` method with batch size 100000 , after processing, they are like this:
Inside Prepare Tr... | Setting to torch format not working with torchvision and MNIST | Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```python
def prepare_features(examples):
images = []
labe... | 213 | Setting to torch format not working with torchvision and MNIST
Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```p... | [
-0.12737531960010529,
-0.35116493701934814,
-0.01793278008699417,
0.35360896587371826,
0.4760025143623352,
0.08871375024318695,
0.7330294847488403,
0.3804345726966858,
0.06552569568157196,
-0.038042426109313965,
-0.11115331202745438,
0.38195130228996277,
-0.23296907544136047,
-0.3339345753... |
https://github.com/huggingface/datasets/issues/2005 | Hi @lhoestq
# Using Array3D
I tried this:
```python
features = datasets.Features({
"image": datasets.Array3D(shape=(1,28,28),dtype="float32"),
"label": datasets.features.ClassLabel(names=["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]),
})
train_dataset = raw_dataset.map(pre... | Setting to torch format not working with torchvision and MNIST | Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```python
def prepare_features(examples):
images = []
labe... | 447 | Setting to torch format not working with torchvision and MNIST
Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```p... | [
-0.12737531960010529,
-0.35116493701934814,
-0.01793278008699417,
0.35360896587371826,
0.4760025143623352,
0.08871375024318695,
0.7330294847488403,
0.3804345726966858,
0.06552569568157196,
-0.038042426109313965,
-0.11115331202745438,
0.38195130228996277,
-0.23296907544136047,
-0.3339345753... |
https://github.com/huggingface/datasets/issues/2005 | # Convert raw tensors to torch format
Strangely, converting to torch tensors works perfectly on `raw_dataset`:
```python
raw_dataset.set_format('torch',columns=['image','label'])
```
Types:
```
Image:
<class 'torch.Tensor'> 60000
<class 'torch.Tensor'> 28
<class 'torch.Tensor'> 28
<class 'torch.Tensor'>
Lab... | Setting to torch format not working with torchvision and MNIST | Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```python
def prepare_features(examples):
images = []
labe... | 299 | Setting to torch format not working with torchvision and MNIST
Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```p... | [
-0.12737531960010529,
-0.35116493701934814,
-0.01793278008699417,
0.35360896587371826,
0.4760025143623352,
0.08871375024318695,
0.7330294847488403,
0.3804345726966858,
0.06552569568157196,
-0.038042426109313965,
-0.11115331202745438,
0.38195130228996277,
-0.23296907544136047,
-0.3339345753... |
https://github.com/huggingface/datasets/issues/2005 | Concluding, the way it works right now is:
1. Converting raw dataset to `torch` format.
2. Use the transform and apply using `map`, ensure the returned values are tensors.
3. When mapping, use `features` with `image` being `Array3D` type. | Setting to torch format not working with torchvision and MNIST | Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```python
def prepare_features(examples):
images = []
labe... | 39 | Setting to torch format not working with torchvision and MNIST
Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```p... | [
-0.12737531960010529,
-0.35116493701934814,
-0.01793278008699417,
0.35360896587371826,
0.4760025143623352,
0.08871375024318695,
0.7330294847488403,
0.3804345726966858,
0.06552569568157196,
-0.038042426109313965,
-0.11115331202745438,
0.38195130228996277,
-0.23296907544136047,
-0.3339345753... |
https://github.com/huggingface/datasets/issues/2005 | What the dataset returns depends on the feature type.
For a feature type that is Sequence(Sequence(Sequence(Value("uint8")))), a dataset formatted as "torch" return lists of lists of tensors. This is because the lists lengths may vary.
For a feature type that is Array3D on the other hand it returns one tensor. This i... | Setting to torch format not working with torchvision and MNIST | Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```python
def prepare_features(examples):
images = []
labe... | 66 | Setting to torch format not working with torchvision and MNIST
Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```p... | [
-0.12737531960010529,
-0.35116493701934814,
-0.01793278008699417,
0.35360896587371826,
0.4760025143623352,
0.08871375024318695,
0.7330294847488403,
0.3804345726966858,
0.06552569568157196,
-0.038042426109313965,
-0.11115331202745438,
0.38195130228996277,
-0.23296907544136047,
-0.3339345753... |
https://github.com/huggingface/datasets/issues/2005 | Okay, that makes sense.
Raw images are list of Array2D, hence we get a single tensor when `set_format` is used. But, why should I need to convert the raw images to `torch` format when `map` does this internally?
Using `Array3D` did not work with `map` when raw images weren't `set_format`ted to torch type. | Setting to torch format not working with torchvision and MNIST | Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```python
def prepare_features(examples):
images = []
labe... | 53 | Setting to torch format not working with torchvision and MNIST
Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```p... | [
-0.12737531960010529,
-0.35116493701934814,
-0.01793278008699417,
0.35360896587371826,
0.4760025143623352,
0.08871375024318695,
0.7330294847488403,
0.3804345726966858,
0.06552569568157196,
-0.038042426109313965,
-0.11115331202745438,
0.38195130228996277,
-0.23296907544136047,
-0.3339345753... |
https://github.com/huggingface/datasets/issues/2005 | I understand that `map` needs to know what kind of output tensors are expected, and thus converting the raw dataset to `torch` format is necessary. Closing the issue since it is resolved. | Setting to torch format not working with torchvision and MNIST | Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```python
def prepare_features(examples):
images = []
labe... | 32 | Setting to torch format not working with torchvision and MNIST
Hi
I am trying to use `torchvision.transforms` to handle the transformation of the image data in the `mnist` dataset. Assume I have a `transform` variable which contains the `torchvision.transforms` object.
A snippet of what I am trying to do:
```p... | [
-0.12737531960010529,
-0.35116493701934814,
-0.01793278008699417,
0.35360896587371826,
0.4760025143623352,
0.08871375024318695,
0.7330294847488403,
0.3804345726966858,
0.06552569568157196,
-0.038042426109313965,
-0.11115331202745438,
0.38195130228996277,
-0.23296907544136047,
-0.3339345753... |
https://github.com/huggingface/datasets/issues/2003 | This is expected to show this message to the user via stdout.
This way the users see it directly and can cancel the downloading if they want to.
Could you elaborate why it would be better to have it in stderr instead of stdout ? | Messages are being printed to the `stdout` | In this code segment, we can see some messages are being printed to the `stdout`.
https://github.com/huggingface/datasets/blob/7e60bb509b595e8edc60a87f32b2bacfc065d607/src/datasets/builder.py#L545-L554
According to the comment, it is done intentionally, but I don't really understand why don't we log it with a higher ... | 45 | Messages are being printed to the `stdout`
In this code segment, we can see some messages are being printed to the `stdout`.
https://github.com/huggingface/datasets/blob/7e60bb509b595e8edc60a87f32b2bacfc065d607/src/datasets/builder.py#L545-L554
According to the comment, it is done intentionally, but I don't really ... | [
-0.04709634557366371,
-0.37092727422714233,
-0.03963585942983627,
0.27061185240745544,
0.2318517565727234,
-0.057296544313430786,
0.24660855531692505,
0.11494975537061691,
-0.041782066226005554,
0.19841811060905457,
0.1732620894908905,
0.16427040100097656,
-0.1199178695678711,
0.3688818514... |
https://github.com/huggingface/datasets/issues/2003 | @lhoestq, sorry for the late reply
I completely understand why you decided to output a message that is always shown. The only problem is that the message is printed to the `stdout`. For example, if the user runs `python run_glue.py > log_file`, it will redirect `stdout` to the file named `log_file`, and the message... | Messages are being printed to the `stdout` | In this code segment, we can see some messages are being printed to the `stdout`.
https://github.com/huggingface/datasets/blob/7e60bb509b595e8edc60a87f32b2bacfc065d607/src/datasets/builder.py#L545-L554
According to the comment, it is done intentionally, but I don't really understand why don't we log it with a higher ... | 90 | Messages are being printed to the `stdout`
In this code segment, we can see some messages are being printed to the `stdout`.
https://github.com/huggingface/datasets/blob/7e60bb509b595e8edc60a87f32b2bacfc065d607/src/datasets/builder.py#L545-L554
According to the comment, it is done intentionally, but I don't really ... | [
0.054125308990478516,
-0.42830371856689453,
-0.017840970307588577,
0.18631993234157562,
0.17762905359268188,
-0.15478137135505676,
0.3838964104652405,
0.16159996390342712,
0.06724274158477783,
0.24442562460899353,
0.1907830387353897,
0.3053060472011566,
-0.1425594687461853,
0.2849759161472... |
https://github.com/huggingface/datasets/issues/2001 | Why did you close this issue? How did you end up finding the evidence documents? I'm running into a similar issue with other KILT tasks. | Empty evidence document ("provenance") in KILT ELI5 dataset | In the original KILT benchmark(https://github.com/facebookresearch/KILT),
all samples has its evidence document (i.e. wikipedia page id) for prediction.
For example, a sample in ELI5 dataset has the format including provenance (=evidence document) like this
`{"id": "1kiwfx", "input": "In Trading Places (1983... | 25 | Empty evidence document ("provenance") in KILT ELI5 dataset
In the original KILT benchmark(https://github.com/facebookresearch/KILT),
all samples has its evidence document (i.e. wikipedia page id) for prediction.
For example, a sample in ELI5 dataset has the format including provenance (=evidence document) li... | [
0.1527034044265747,
-0.052485451102256775,
-0.09924699366092682,
0.06883808970451355,
-0.4246443212032318,
-0.054997436702251434,
0.6851673126220703,
0.28851455450057983,
0.27044451236724854,
0.22803616523742676,
0.3295047879219055,
0.44884204864501953,
0.16396042704582214,
0.3389598429203... |
https://github.com/huggingface/datasets/issues/2000 | Hi @itsLuisa !
Could you give us more information about the error you're getting, please?
A copy-paste of the Traceback would be nice to get a better understanding of what is wrong :) | Windows Permission Error (most recent version of datasets) | Hi everyone,
Can anyone help me with why the dataset loading script below raises a Windows Permission Error? I stuck quite closely to https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py , only I want to load the data from three local three-column tsv-files (id\ttokens\tpos_tags\n). I am... | 33 | Windows Permission Error (most recent version of datasets)
Hi everyone,
Can anyone help me with why the dataset loading script below raises a Windows Permission Error? I stuck quite closely to https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py , only I want to load the data from thre... | [
-0.18255700170993805,
0.18238532543182373,
-0.04003123193979263,
0.2590484917163849,
0.08137832581996918,
0.13363778591156006,
0.45803433656692505,
0.01225459948182106,
0.1864631623029709,
0.0741284042596817,
-0.0634554773569107,
-0.011226650327444077,
-0.1087958961725235,
0.15729260444641... |
https://github.com/huggingface/datasets/issues/2000 | Hello @SBrandeis , this is it:
```
Traceback (most recent call last):
File "C:\Users\Luisa\AppData\Local\Programs\Python\Python38\lib\site-packages\datasets\builder.py", line 537, in incomplete_dir
yield tmp_dir
File "C:\Users\Luisa\AppData\Local\Programs\Python\Python38\lib\site-packages\datasets\builder.... | Windows Permission Error (most recent version of datasets) | Hi everyone,
Can anyone help me with why the dataset loading script below raises a Windows Permission Error? I stuck quite closely to https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py , only I want to load the data from three local three-column tsv-files (id\ttokens\tpos_tags\n). I am... | 230 | Windows Permission Error (most recent version of datasets)
Hi everyone,
Can anyone help me with why the dataset loading script below raises a Windows Permission Error? I stuck quite closely to https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py , only I want to load the data from thre... | [
-0.18255700170993805,
0.18238532543182373,
-0.04003123193979263,
0.2590484917163849,
0.08137832581996918,
0.13363778591156006,
0.45803433656692505,
0.01225459948182106,
0.1864631623029709,
0.0741284042596817,
-0.0634554773569107,
-0.011226650327444077,
-0.1087958961725235,
0.15729260444641... |
https://github.com/huggingface/datasets/issues/2000 | Hi @itsLuisa, thanks for sharing the Traceback.
You are defining the "id" field as a `string` feature:
```python
class Sample(datasets.GeneratorBasedBuilder):
...
def _info(self):
return datasets.DatasetInfo(
features=datasets.Features(
{
"id"... | Windows Permission Error (most recent version of datasets) | Hi everyone,
Can anyone help me with why the dataset loading script below raises a Windows Permission Error? I stuck quite closely to https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py , only I want to load the data from three local three-column tsv-files (id\ttokens\tpos_tags\n). I am... | 73 | Windows Permission Error (most recent version of datasets)
Hi everyone,
Can anyone help me with why the dataset loading script below raises a Windows Permission Error? I stuck quite closely to https://github.com/huggingface/datasets/blob/master/datasets/conll2003/conll2003.py , only I want to load the data from thre... | [
-0.18255700170993805,
0.18238532543182373,
-0.04003123193979263,
0.2590484917163849,
0.08137832581996918,
0.13363778591156006,
0.45803433656692505,
0.01225459948182106,
0.1864631623029709,
0.0741284042596817,
-0.0634554773569107,
-0.011226650327444077,
-0.1087958961725235,
0.15729260444641... |
https://github.com/huggingface/datasets/issues/1996 | Actually soundfile is not a dependency of this dataset.
The error comes from a bug that was fixed in this commit: https://github.com/huggingface/datasets/pull/1767/commits/c304e63629f4453367de2fd42883a78768055532
Basically the library used to consider the `import soundfile` in the docstring as a dependency, while it'... | Error when exploring `arabic_speech_corpus` | Navigate to https://huggingface.co/datasets/viewer/?dataset=arabic_speech_corpus
Error:
```
ImportError: To be able to use this dataset, you need to install the following dependencies['soundfile'] using 'pip install soundfile' for instance'
Traceback:
File "/home/sasha/.local/share/virtualenvs/lib-ogGKnCK_/lib/p... | 58 | Error when exploring `arabic_speech_corpus`
Navigate to https://huggingface.co/datasets/viewer/?dataset=arabic_speech_corpus
Error:
```
ImportError: To be able to use this dataset, you need to install the following dependencies['soundfile'] using 'pip install soundfile' for instance'
Traceback:
File "/home/sas... | [
-0.25912487506866455,
-0.11358876526355743,
-0.03638928756117821,
0.22282317280769348,
0.04178963601589203,
0.04148434102535248,
0.053581587970256805,
0.31405556201934814,
-0.173143669962883,
0.05045914649963379,
-0.2981742024421692,
0.0969085544347763,
-0.11128221452236176,
-0.04064406454... |
https://github.com/huggingface/datasets/issues/1994 | @lhoestq I really appreciate if you could help me providiing processed datasets, I do not really have access to enough resources to run the apache-beam and need to run the codes on these datasets. Only en/de/fr currently works, but I need all the languages more or less. thanks | not being able to get wikipedia es language | Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name)
File "/dara/libs... | 48 | not being able to get wikipedia es language
Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data... | [
-0.34210675954818726,
0.047192931175231934,
-0.10626471042633057,
0.06201719865202904,
0.20045505464076996,
0.17774458229541779,
0.17687469720840454,
0.34019631147384644,
0.13733331859111786,
0.09211822599172592,
0.41052353382110596,
0.3346932828426361,
0.016000762581825256,
0.307645827531... |
https://github.com/huggingface/datasets/issues/1994 | Hi @dorost1234, I think I can help you a little. I’ve processed some Wikipedia datasets (Spanish inclusive) using the HF/datasets library during recent research.
@lhoestq Could you help me to upload these preprocessed datasets to Huggingface's repositories? To be more precise, I've built datasets from the following ... | not being able to get wikipedia es language | Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name)
File "/dara/libs... | 96 | not being able to get wikipedia es language
Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data... | [
-0.34210675954818726,
0.047192931175231934,
-0.10626471042633057,
0.06201719865202904,
0.20045505464076996,
0.17774458229541779,
0.17687469720840454,
0.34019631147384644,
0.13733331859111786,
0.09211822599172592,
0.41052353382110596,
0.3346932828426361,
0.016000762581825256,
0.307645827531... |
https://github.com/huggingface/datasets/issues/1994 | Thank you so much @jonatasgrosman , I greatly appreciate your help with them.
Yes, I unfortunately does not have access to a good resource and need it for my
research. I greatly appreciate @lhoestq your help with uploading the processed datasets in huggingface datasets. This would be really helpful for some users l... | not being able to get wikipedia es language | Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name)
File "/dara/libs... | 222 | not being able to get wikipedia es language
Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data... | [
-0.34210675954818726,
0.047192931175231934,
-0.10626471042633057,
0.06201719865202904,
0.20045505464076996,
0.17774458229541779,
0.17687469720840454,
0.34019631147384644,
0.13733331859111786,
0.09211822599172592,
0.41052353382110596,
0.3346932828426361,
0.016000762581825256,
0.307645827531... |
https://github.com/huggingface/datasets/issues/1994 | Hi @dorost1234, so sorry, but looking at my files here, I figure out that I've preprocessed files using the HF/datasets for all the languages previously listed by me (Portuguese, Russian, French, Japanese, Chinese, and Turkish) except the Spanish (on my tests I've used the [wikicorpus](https://www.cs.upc.edu/~nlp/wikic... | not being able to get wikipedia es language | Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name)
File "/dara/libs... | 86 | not being able to get wikipedia es language
Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data... | [
-0.34210675954818726,
0.047192931175231934,
-0.10626471042633057,
0.06201719865202904,
0.20045505464076996,
0.17774458229541779,
0.17687469720840454,
0.34019631147384644,
0.13733331859111786,
0.09211822599172592,
0.41052353382110596,
0.3346932828426361,
0.016000762581825256,
0.307645827531... |
https://github.com/huggingface/datasets/issues/1994 | Thanks a lot for the information and help. This would be great to have
these datasets.
@lhoestq <https://github.com/lhoestq> Do you know a way I could get
smaller amount of these data like 1 GBtype of each language to deal with
computatioanl requirements? thanks
On Sat, Mar 6, 2021 at 5:36 PM Jonatas Grosman <notific... | not being able to get wikipedia es language | Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name)
File "/dara/libs... | 189 | not being able to get wikipedia es language
Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data... | [
-0.34210675954818726,
0.047192931175231934,
-0.10626471042633057,
0.06201719865202904,
0.20045505464076996,
0.17774458229541779,
0.17687469720840454,
0.34019631147384644,
0.13733331859111786,
0.09211822599172592,
0.41052353382110596,
0.3346932828426361,
0.016000762581825256,
0.307645827531... |
https://github.com/huggingface/datasets/issues/1994 | Hi ! As mentioned above the Spanish configuration have parsing issues from `mwparserfromhell`. I haven't tested with the latest `mwparserfromhell` >=0.6 though. Which version of `mwparserfromhell` are you using ?
> @lhoestq Could you help me to upload these preprocessed datasets to Huggingface's repositories? To be ... | not being able to get wikipedia es language | Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name)
File "/dara/libs... | 231 | not being able to get wikipedia es language
Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data... | [
-0.34210675954818726,
0.047192931175231934,
-0.10626471042633057,
0.06201719865202904,
0.20045505464076996,
0.17774458229541779,
0.17687469720840454,
0.34019631147384644,
0.13733331859111786,
0.09211822599172592,
0.41052353382110596,
0.3346932828426361,
0.016000762581825256,
0.307645827531... |
https://github.com/huggingface/datasets/issues/1994 | Hi @lhoestq!
> Hi ! As mentioned above the Spanish configuration have parsing issues from mwparserfromhell. I haven't tested with the latest mwparserfromhell >=0.6 though. Which version of mwparserfromhell are you using ?
I'm using the latest mwparserfromhell version (0.6)
> That would be awesome ! Feel free t... | not being able to get wikipedia es language | Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name)
File "/dara/libs... | 76 | not being able to get wikipedia es language
Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data... | [
-0.34210675954818726,
0.047192931175231934,
-0.10626471042633057,
0.06201719865202904,
0.20045505464076996,
0.17774458229541779,
0.17687469720840454,
0.34019631147384644,
0.13733331859111786,
0.09211822599172592,
0.41052353382110596,
0.3346932828426361,
0.016000762581825256,
0.307645827531... |
https://github.com/huggingface/datasets/issues/1994 | Thank you so much @jonatasgrosman and @lhoestq this would be a great help. I am really thankful to you both and to wonderful Huggingface dataset library allowing us to train models at scale. | not being able to get wikipedia es language | Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name)
File "/dara/libs... | 33 | not being able to get wikipedia es language
Hi
I am trying to run a code with wikipedia of config 20200501.es, getting:
Traceback (most recent call last):
File "run_mlm_t5.py", line 608, in <module>
main()
File "run_mlm_t5.py", line 359, in main
datasets = load_dataset(data_args.dataset_name, data... | [
-0.34210675954818726,
0.047192931175231934,
-0.10626471042633057,
0.06201719865202904,
0.20045505464076996,
0.17774458229541779,
0.17687469720840454,
0.34019631147384644,
0.13733331859111786,
0.09211822599172592,
0.41052353382110596,
0.3346932828426361,
0.016000762581825256,
0.307645827531... |
https://github.com/huggingface/datasets/issues/1993 | Hi ! That looks like a bug, can you provide some code so that we can reproduce ?
It's not supposed to update the original dataset | How to load a dataset with load_from disk and save it again after doing transformations without changing the original? | I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object and add new elements and save it in a different place.
When I save the dataset with **save_to_disk**, the original da... | 26 | How to load a dataset with load_from disk and save it again after doing transformations without changing the original?
I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object ... | [
-0.27736005187034607,
-0.1424063742160797,
-0.009712569415569305,
0.222438782453537,
0.23476815223693848,
0.1286466270685196,
-0.03142658993601799,
-0.08363290131092072,
-0.04452734440565109,
0.042595215141773224,
0.07567700743675232,
0.35082727670669556,
0.06566616892814636,
0.21509250998... |
https://github.com/huggingface/datasets/issues/1993 | Hi, I experimented with RAG.
Actually, you can run the [use_own_knowldge_dataset.py](https://github.com/shamanez/transformers/blob/rag-end-to-end-retrieval/examples/research_projects/rag/use_own_knowledge_dataset.py#L80). In the 80 you can save the dataset object to the disk with save_to_disk. Then in order to comp... | How to load a dataset with load_from disk and save it again after doing transformations without changing the original? | I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object and add new elements and save it in a different place.
When I save the dataset with **save_to_disk**, the original da... | 91 | How to load a dataset with load_from disk and save it again after doing transformations without changing the original?
I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object ... | [
-0.2981736660003662,
-0.08286511898040771,
0.026727527379989624,
0.14939923584461212,
0.3067895174026489,
0.12280060350894928,
-0.0562065988779068,
-0.061476826667785645,
0.04452711343765259,
0.05419391766190529,
-0.06526144593954086,
0.37382474541664124,
0.02156319096684456,
0.10119790583... |
https://github.com/huggingface/datasets/issues/1993 | @lhoestq I also found that cache in tmp directory gets updated after transformations. This is really problematic when using datasets interactively. Let's say we use the shards function to a dataset loaded with csv, atm when we do transformations to shards and combine them it updates the original csv cache. | How to load a dataset with load_from disk and save it again after doing transformations without changing the original? | I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object and add new elements and save it in a different place.
When I save the dataset with **save_to_disk**, the original da... | 50 | How to load a dataset with load_from disk and save it again after doing transformations without changing the original?
I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object ... | [
-0.37754127383232117,
-0.10952400416135788,
0.0013313964009284973,
0.2857869565486908,
0.25839173793792725,
0.13189688324928284,
-0.07236947864294052,
-0.09192660450935364,
-0.04141339287161827,
-0.0703074187040329,
-0.054511819034814835,
0.2699585556983948,
0.02323577180504799,
0.07323312... |
https://github.com/huggingface/datasets/issues/1993 | I plan to update the save_to_disk method in #2025 so I can make sure the new save_to_disk doesn't corrupt your cache files.
But from your last message it looks like save_to_disk isn't the root cause right ? | How to load a dataset with load_from disk and save it again after doing transformations without changing the original? | I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object and add new elements and save it in a different place.
When I save the dataset with **save_to_disk**, the original da... | 37 | How to load a dataset with load_from disk and save it again after doing transformations without changing the original?
I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object ... | [
-0.3105083703994751,
-0.06806212663650513,
0.00468837097287178,
0.21374282240867615,
0.30936962366104126,
0.09057614952325821,
-0.03542674705386162,
0.05278902128338814,
-0.073276586830616,
0.006162911653518677,
0.022279411554336548,
0.3242504894733429,
0.08983755111694336,
0.1039878949522... |
https://github.com/huggingface/datasets/issues/1993 | ok, one more thing. When we use save_to_disk there are two files other than .arrow. dataset_info.json and state.json. Sometimes most of the fields in the dataset_infor.json are null, especially when saving dataset objects. Anyways I think load_from_disk uses the arrow files mentioned in state.json right? | How to load a dataset with load_from disk and save it again after doing transformations without changing the original? | I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object and add new elements and save it in a different place.
When I save the dataset with **save_to_disk**, the original da... | 45 | How to load a dataset with load_from disk and save it again after doing transformations without changing the original?
I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object ... | [
-0.3007223606109619,
-0.06920682638883591,
-0.00548873096704483,
0.2683241069316864,
0.186875581741333,
0.0893002301454544,
-0.09074186533689499,
-0.05021655187010765,
-0.0936117172241211,
-0.029689349234104156,
0.08453060686588287,
0.39229464530944824,
0.09210693836212158,
0.2010052204132... |
https://github.com/huggingface/datasets/issues/1993 | Perfect. For now, I am loading the dataset from CSV in my interactive process and will wait until you make the PR! | How to load a dataset with load_from disk and save it again after doing transformations without changing the original? | I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object and add new elements and save it in a different place.
When I save the dataset with **save_to_disk**, the original da... | 22 | How to load a dataset with load_from disk and save it again after doing transformations without changing the original?
I am using the latest datasets library. In my work, I first use **load_from_disk** to load a data set that contains 3.8Gb information. Then during my training process, I update that dataset object ... | [
-0.3435496985912323,
-0.186100572347641,
-0.023776674643158913,
0.1979099065065384,
0.23519615828990936,
0.09037332236766815,
-0.07585443556308746,
-0.08912727981805801,
-0.0024475231766700745,
0.061352409422397614,
0.0818680077791214,
0.28882038593292236,
0.008917346596717834,
0.274218231... |
https://github.com/huggingface/datasets/issues/1992 | Hi @hwijeen, you might want to look at issues #1796 and #1949. I think it could be something related to the I/O operations being performed. | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 25 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.41315752267837524,
-0.3192061483860016,
-0.08791667222976685,
0.35742107033729553,
-0.10275011509656906,
0.02039399743080139,
0.3424053192138672,
0.1157955601811409,
0.05792446434497833,
-0.00402502715587616,
0.06569860875606537,
0.4142298400402069,
0.18681801855564117,
0.21182131767272... |
https://github.com/huggingface/datasets/issues/1992 | I see that many people are experiencing the same issue. Is this problem considered an "official" bug that is worth a closer look? @lhoestq | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 24 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.3866337239742279,
-0.27258163690567017,
-0.07879354059696198,
0.34936878085136414,
-0.106092169880867,
-0.005165815353393555,
0.37053728103637695,
0.1268496811389923,
0.05478064715862274,
-0.01642606407403946,
0.07629190385341644,
0.43234503269195557,
0.16459360718727112,
0.177563652396... |
https://github.com/huggingface/datasets/issues/1992 | Yes this looks like a bug. On my side I haven't managed to reproduce it but @theo-m has. We'll investigate this ! | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 22 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.40819162130355835,
-0.3062443733215332,
-0.08795157074928284,
0.33871933817863464,
-0.0876372754573822,
0.0073274970054626465,
0.35701632499694824,
0.11534625291824341,
0.055131345987319946,
0.003547064960002899,
0.07253855466842651,
0.4414965808391571,
0.16499817371368408,
0.1875844895... |
https://github.com/huggingface/datasets/issues/1992 | Thank you for the reply! I would be happy to follow the discussions related to the issue.
If you do not mind, could you also give a little more explanation on my p.s.2? I am having a hard time figuring out why the single processing `map` uses all of my cores.
@lhoestq @theo-m | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 53 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.39879781007766724,
-0.3398561179637909,
-0.09195347130298615,
0.3478131890296936,
-0.10693062096834183,
0.030263692140579224,
0.37067416310310364,
0.10262523591518402,
0.06230859458446503,
0.014974113553762436,
0.09556859731674194,
0.44722819328308105,
0.17406806349754333,
0.19854371249... |
https://github.com/huggingface/datasets/issues/1992 | Regarding your ps2: It depends what function you pass to `map`.
For example, fast tokenizers from `transformers` in Rust tokenize texts and parallelize the tokenization over all the cores. | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 29 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.44395023584365845,
-0.2767181396484375,
-0.07882989197969437,
0.3751106262207031,
-0.09080339223146439,
-0.005079202353954315,
0.32117557525634766,
0.06434046477079391,
-0.045802317559719086,
-0.00925135612487793,
0.04776512086391449,
0.40863633155822754,
0.2179487943649292,
0.152444779... |
https://github.com/huggingface/datasets/issues/1992 | I am still experiencing this issue with datasets 1.9.0..
Has there been a further investigation?
<img width="442" alt="image" src="https://user-images.githubusercontent.com/29157715/126143387-8b5ddca2-a896-4e18-abf7-4fbf62a48b41.png">
| `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 19 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.4408693313598633,
-0.25723278522491455,
-0.10014669597148895,
0.34249499440193176,
-0.11361972242593765,
0.025486350059509277,
0.33596622943878174,
0.13727432489395142,
0.02380775660276413,
-0.02660418301820755,
0.07284311950206757,
0.4267613887786865,
0.1649509221315384,
0.184482634067... |
https://github.com/huggingface/datasets/issues/1992 | Hi. Is there any update on this issue? I am desperately trying to decrease my times, and multiprocessing "should" be the solution, but it literally takes 5 times longer. | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 29 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.42404115200042725,
-0.30649569630622864,
-0.10040128231048584,
0.30894118547439575,
-0.09691190719604492,
-0.02760474383831024,
0.33366361260414124,
0.09696617722511292,
0.016607031226158142,
0.00040195882320404053,
0.06902545690536499,
0.41515135765075684,
0.16721855103969574,
0.228859... |
https://github.com/huggingface/datasets/issues/1992 | Hi,
I’m running into the same issue and trying to come up with a simple benchmark.
# environment info
I have a total of 80 CPUs.
- `datasets` version: 2.4.0
- Platform: Linux-4.18.0-305.65.1.el8_4.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.4
- PyArrow version: 8.0.0
- Pandas version: 1.4.3
# ... | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 134 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.44134414196014404,
-0.2618764340877533,
-0.08658696711063385,
0.32180407643318176,
-0.09399211406707764,
0.02019442617893219,
0.370387464761734,
0.1932961493730545,
0.034790560603141785,
-0.015383385121822357,
0.051425546407699585,
0.4797273874282837,
0.1690007746219635,
0.1320671439170... |
https://github.com/huggingface/datasets/issues/1992 | Spawning multiple processes has an overhead. For small datasets the processing is likely to be faster than spawning the processes and passing the data to them.
Especially since your dataset is in memory: the data has to be copied to the subprocesses.
On the other hand, datasets loaded from disk are much faster to r... | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 62 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.4777926504611969,
-0.36806976795196533,
-0.0781187117099762,
0.34068563580513,
-0.09252829104661942,
0.01658930629491806,
0.3697203993797302,
0.12698453664779663,
0.104744091629982,
0.04706738144159317,
0.0782061219215393,
0.36084842681884766,
0.14040370285511017,
0.17364495992660522,
... |
https://github.com/huggingface/datasets/issues/1992 | Thanks for the clarifications!
Indeed, when saving then loading the above dataset to disk, and increasing the number of rows to 10K or 100K, the performance gap narrows.
```py
# with 10000 rows
In [3]: %%timeit
...: d.map(sort, input_columns='foo')
578 ms ± 5.89 ms per loop (mean ± std. dev. of 7 runs, 1 ... | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 130 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.43228214979171753,
-0.2579296827316284,
-0.08461309224367142,
0.326358437538147,
-0.07161805033683777,
0.019814059138298035,
0.3386640250682831,
0.12861397862434387,
0.008681990206241608,
-0.0029486268758773804,
0.06923167407512665,
0.44403210282325745,
0.1702553927898407,
0.15738955140... |
https://github.com/huggingface/datasets/issues/1992 | any updates on this issue?
I'm using `datasets=2.12.0`. Adding `num_proc` to the mapping function makes it at least 5x slower than using a single process. | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 25 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.46310651302337646,
-0.2793791890144348,
-0.09238728880882263,
0.32129257917404175,
-0.10409203171730042,
-0.03647074103355408,
0.3201586604118347,
0.1179288923740387,
0.035541780292987823,
0.025724273175001144,
0.07359878718852997,
0.43725094199180603,
0.14374208450317383,
0.18166331946... |
https://github.com/huggingface/datasets/issues/1992 | What kind of function are you passing to `map` ? How many CPUs do you have and what did you set for `num_proc` ? | `datasets.map` multi processing much slower than single processing | Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentences, and `map` converts a sentence into a list of integers, using a tok... | 24 | `datasets.map` multi processing much slower than single processing
Hi, thank you for the great library.
I've been using datasets to pretrain language models, and it often involves datasets as large as ~70G.
My data preparation step is roughly two steps: `load_dataset` which splits corpora into a table of sentenc... | [
-0.40575551986694336,
-0.3218541145324707,
-0.09277468919754028,
0.35286396741867065,
-0.0781494677066803,
0.01934117078781128,
0.3336437940597534,
0.10650397092103958,
0.06625773012638092,
-0.01047101616859436,
0.08141287416219711,
0.4305399954319,
0.17625173926353455,
0.18756520748138428... |
https://github.com/huggingface/datasets/issues/1990 | Do you think this is trying to bring the dataset into memory and if I can avoid it to save on memory so it only brings a batch into memory? @lhoestq thank you | OSError: Memory mapping file failed: Cannot allocate memory | Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py
```
python run_mlm.py --model_name_or_path bert-base-multi... | 33 | OSError: Memory mapping file failed: Cannot allocate memory
Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py... | [
-0.26154258847236633,
-0.03726375102996826,
0.05204001069068909,
0.604572057723999,
0.45383787155151367,
0.28340092301368713,
0.14564350247383118,
0.2724670469760895,
0.1785508543252945,
0.10566090047359467,
-0.05818392336368561,
0.227386012673378,
-0.17711859941482544,
-0.1459165513515472... |
https://github.com/huggingface/datasets/issues/1990 | It's not trying to bring the dataset into memory.
Actually, it's trying to memory map the dataset file, which is different. It allows to load large dataset files without filling up memory.
What dataset did you use to get this error ?
On what OS are you running ? What's your python and pyarrow version ? | OSError: Memory mapping file failed: Cannot allocate memory | Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py
```
python run_mlm.py --model_name_or_path bert-base-multi... | 56 | OSError: Memory mapping file failed: Cannot allocate memory
Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py... | [
-0.26154258847236633,
-0.03726375102996826,
0.05204001069068909,
0.604572057723999,
0.45383787155151367,
0.28340092301368713,
0.14564350247383118,
0.2724670469760895,
0.1785508543252945,
0.10566090047359467,
-0.05818392336368561,
0.227386012673378,
-0.17711859941482544,
-0.1459165513515472... |
https://github.com/huggingface/datasets/issues/1990 | Dear @lhoestq
thank you so much for coming back to me. Please find info below:
1) Dataset name: I used wikipedia with config 20200501.en
2) I got these pyarrow in my environment:
pyarrow 2.0.0 <pip>
pyarrow 3.0.0 <pip>
3) python versi... | OSError: Memory mapping file failed: Cannot allocate memory | Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py
```
python run_mlm.py --model_name_or_path bert-base-multi... | 88 | OSError: Memory mapping file failed: Cannot allocate memory
Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py... | [
-0.26154258847236633,
-0.03726375102996826,
0.05204001069068909,
0.604572057723999,
0.45383787155151367,
0.28340092301368713,
0.14564350247383118,
0.2724670469760895,
0.1785508543252945,
0.10566090047359467,
-0.05818392336368561,
0.227386012673378,
-0.17711859941482544,
-0.1459165513515472... |
https://github.com/huggingface/datasets/issues/1990 | I noticed that the error happens when loading the validation dataset.
What value of `data_args.validation_split_percentage` did you use ? | OSError: Memory mapping file failed: Cannot allocate memory | Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py
```
python run_mlm.py --model_name_or_path bert-base-multi... | 19 | OSError: Memory mapping file failed: Cannot allocate memory
Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py... | [
-0.26154258847236633,
-0.03726375102996826,
0.05204001069068909,
0.604572057723999,
0.45383787155151367,
0.28340092301368713,
0.14564350247383118,
0.2724670469760895,
0.1785508543252945,
0.10566090047359467,
-0.05818392336368561,
0.227386012673378,
-0.17711859941482544,
-0.1459165513515472... |
https://github.com/huggingface/datasets/issues/1990 | Dear @lhoestq
thank you very much for the very sharp observation, indeed, this happens there, I use the default value of 5, I basically plan to subsample a part of the large dataset and choose it as validation set. Do you think this is bringing the data into memory during subsampling? Is there a way I could avoid ... | OSError: Memory mapping file failed: Cannot allocate memory | Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py
```
python run_mlm.py --model_name_or_path bert-base-multi... | 133 | OSError: Memory mapping file failed: Cannot allocate memory
Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py... | [
-0.26154258847236633,
-0.03726375102996826,
0.05204001069068909,
0.604572057723999,
0.45383787155151367,
0.28340092301368713,
0.14564350247383118,
0.2724670469760895,
0.1785508543252945,
0.10566090047359467,
-0.05818392336368561,
0.227386012673378,
-0.17711859941482544,
-0.1459165513515472... |
https://github.com/huggingface/datasets/issues/1990 | Methods like `dataset.shard`, `dataset.train_test_split`, `dataset.select` etc. don't bring the dataset in memory.
The only time when samples are brought to memory is when you access elements via `dataset[0]`, `dataset[:10]`, `dataset["my_column_names"]`.
But it's possible that trying to use those methods to build... | OSError: Memory mapping file failed: Cannot allocate memory | Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py
```
python run_mlm.py --model_name_or_path bert-base-multi... | 121 | OSError: Memory mapping file failed: Cannot allocate memory
Hi,
I am trying to run a code with a wikipedia dataset, here is the command to reproduce the error. You can find the codes for run_mlm.py in huggingface repo here: https://github.com/huggingface/transformers/blob/v4.3.2/examples/language-modeling/run_mlm.py... | [
-0.26154258847236633,
-0.03726375102996826,
0.05204001069068909,
0.604572057723999,
0.45383787155151367,
0.28340092301368713,
0.14564350247383118,
0.2724670469760895,
0.1785508543252945,
0.10566090047359467,
-0.05818392336368561,
0.227386012673378,
-0.17711859941482544,
-0.1459165513515472... |
https://github.com/huggingface/datasets/issues/1989 | It seems that I get parsing errors for various fields in my data. For example now I get this:
```
File "../../../models/tr-4.3.2/run_puppets.py", line 523, in <module>
main()
File "../../../models/tr-4.3.2/run_puppets.py", line 249, in main
datasets = load_dataset("csv", data_files=data_files)
File ... | Question/problem with dataset labels | Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
```
File "../../../models/tr-4.3.2/run_... | 128 | Question/problem with dataset labels
Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
`... | [
0.17891433835029602,
-0.057323068380355835,
0.005179382860660553,
0.1343669593334198,
0.4113534688949585,
0.35021263360977173,
0.6419944167137146,
0.1637077033519745,
-0.16131746768951416,
0.07234974950551987,
0.17885437607765198,
0.0638752356171608,
-0.06077318638563156,
0.030526004731655... |
https://github.com/huggingface/datasets/issues/1989 | Not sure if this helps, this is how I load my files (as in the sample scripts on transformers):
```
if data_args.train_file.endswith(".csv"):
# Loading a dataset from local csv files
datasets = load_dataset("csv", data_files=data_files)
``` | Question/problem with dataset labels | Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
```
File "../../../models/tr-4.3.2/run_... | 35 | Question/problem with dataset labels
Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
`... | [
0.17891433835029602,
-0.057323068380355835,
0.005179382860660553,
0.1343669593334198,
0.4113534688949585,
0.35021263360977173,
0.6419944167137146,
0.1637077033519745,
-0.16131746768951416,
0.07234974950551987,
0.17885437607765198,
0.0638752356171608,
-0.06077318638563156,
0.030526004731655... |
https://github.com/huggingface/datasets/issues/1989 | Since this worked out of the box in a few examples before, I wonder if it's some quoting issue or something else. | Question/problem with dataset labels | Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
```
File "../../../models/tr-4.3.2/run_... | 22 | Question/problem with dataset labels
Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
`... | [
0.17891433835029602,
-0.057323068380355835,
0.005179382860660553,
0.1343669593334198,
0.4113534688949585,
0.35021263360977173,
0.6419944167137146,
0.1637077033519745,
-0.16131746768951416,
0.07234974950551987,
0.17885437607765198,
0.0638752356171608,
-0.06077318638563156,
0.030526004731655... |
https://github.com/huggingface/datasets/issues/1989 | Hi @ioana-blue,
Can you share a sample from your .csv? A dummy where you get this error will also help.
I tried this csv:
```csv
feature,label
1.2,not nurse
1.3,nurse
1.5,surgeon
```
and the following snippet:
```python
from datasets import load_dataset
d = load_dataset("csv",data_files=['test.csv'])
... | Question/problem with dataset labels | Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
```
File "../../../models/tr-4.3.2/run_... | 95 | Question/problem with dataset labels
Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
`... | [
0.17891433835029602,
-0.057323068380355835,
0.005179382860660553,
0.1343669593334198,
0.4113534688949585,
0.35021263360977173,
0.6419944167137146,
0.1637077033519745,
-0.16131746768951416,
0.07234974950551987,
0.17885437607765198,
0.0638752356171608,
-0.06077318638563156,
0.030526004731655... |
https://github.com/huggingface/datasets/issues/1989 | I've had versions where it worked fain. For this dataset, I had all kind of parsing issues that I couldn't understand. What I ended up doing is strip all the columns that I didn't need and also make the label 0/1.
I think one line that may have caused a problem was the csv version of this:
```crawl-data/CC-MAIN-... | Question/problem with dataset labels | Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
```
File "../../../models/tr-4.3.2/run_... | 197 | Question/problem with dataset labels
Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
`... | [
0.17891433835029602,
-0.057323068380355835,
0.005179382860660553,
0.1343669593334198,
0.4113534688949585,
0.35021263360977173,
0.6419944167137146,
0.1637077033519745,
-0.16131746768951416,
0.07234974950551987,
0.17885437607765198,
0.0638752356171608,
-0.06077318638563156,
0.030526004731655... |
https://github.com/huggingface/datasets/issues/1989 | Hi @ioana-blue,
What is the separator you're using for the csv? I see there are only two commas in the given line, but they don't seem like appropriate points. Also, is this a string part of one line, or an entire line? There should also be a label, right? | Question/problem with dataset labels | Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
```
File "../../../models/tr-4.3.2/run_... | 49 | Question/problem with dataset labels
Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
`... | [
0.17891433835029602,
-0.057323068380355835,
0.005179382860660553,
0.1343669593334198,
0.4113534688949585,
0.35021263360977173,
0.6419944167137146,
0.1637077033519745,
-0.16131746768951416,
0.07234974950551987,
0.17885437607765198,
0.0638752356171608,
-0.06077318638563156,
0.030526004731655... |
https://github.com/huggingface/datasets/issues/1989 | Sorry for the confusion, the sample above was from a tsv that was used to derive the csv. Let me construct the csv again (I had remove it).
This is the line in the csv - this is the whole line:
```crawl-data/CC-MAIN-2017-47/segments/1510934806225.78/wet/CC-MAIN-20171120203833-20171120223833-00571.warc.wet.gz,Rose ... | Question/problem with dataset labels | Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
```
File "../../../models/tr-4.3.2/run_... | 139 | Question/problem with dataset labels
Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
`... | [
0.17891433835029602,
-0.057323068380355835,
0.005179382860660553,
0.1343669593334198,
0.4113534688949585,
0.35021263360977173,
0.6419944167137146,
0.1637077033519745,
-0.16131746768951416,
0.07234974950551987,
0.17885437607765198,
0.0638752356171608,
-0.06077318638563156,
0.030526004731655... |
https://github.com/huggingface/datasets/issues/1989 | Hi,
Just in case you want to use tsv directly, you can use the separator argument while loading the dataset.
```python
d = load_dataset("csv",data_files=['test.csv'],sep="\t")
```
Additionally, I don't face the issues with the following csv (same as the one you provided):
```sh
link1,text1,info1,info2,info3,... | Question/problem with dataset labels | Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
```
File "../../../models/tr-4.3.2/run_... | 292 | Question/problem with dataset labels
Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
`... | [
0.17891433835029602,
-0.057323068380355835,
0.005179382860660553,
0.1343669593334198,
0.4113534688949585,
0.35021263360977173,
0.6419944167137146,
0.1637077033519745,
-0.16131746768951416,
0.07234974950551987,
0.17885437607765198,
0.0638752356171608,
-0.06077318638563156,
0.030526004731655... |
https://github.com/huggingface/datasets/issues/1989 | thanks for the tip. very strange :/ I'll check my datasets version as well.
I will have more similar experiments soon so I'll let you know if I manage to get rid of this. | Question/problem with dataset labels | Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
```
File "../../../models/tr-4.3.2/run_... | 34 | Question/problem with dataset labels
Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
`... | [
0.17891433835029602,
-0.057323068380355835,
0.005179382860660553,
0.1343669593334198,
0.4113534688949585,
0.35021263360977173,
0.6419944167137146,
0.1637077033519745,
-0.16131746768951416,
0.07234974950551987,
0.17885437607765198,
0.0638752356171608,
-0.06077318638563156,
0.030526004731655... |
https://github.com/huggingface/datasets/issues/1989 | No problem at all. I thought I'd be able to solve this but I'm unable to replicate the issue :/ | Question/problem with dataset labels | Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
```
File "../../../models/tr-4.3.2/run_... | 20 | Question/problem with dataset labels
Hi, I'm using a dataset with two labels "nurse" and "not nurse". For whatever reason (that I don't understand), I get an error that I think comes from the datasets package (using csv). Everything works fine if the labels are "nurse" and "surgeon".
This is the trace I get:
`... | [
0.17891433835029602,
-0.057323068380355835,
0.005179382860660553,
0.1343669593334198,
0.4113534688949585,
0.35021263360977173,
0.6419944167137146,
0.1637077033519745,
-0.16131746768951416,
0.07234974950551987,
0.17885437607765198,
0.0638752356171608,
-0.06077318638563156,
0.030526004731655... |
https://github.com/huggingface/datasets/issues/1988 | Hi ! Yes it's possible to use image data. There are already a few of them available (MNIST, CIFAR..) | Readme.md is misleading about kinds of datasets? | Hi!
At the README.MD, you say: "efficient data pre-processing: simple, fast and reproducible data pre-processing for the above public datasets as well as your own local datasets in CSV/JSON/text. "
But here:
https://github.com/huggingface/datasets/blob/master/templates/new_dataset_script.py#L82-L117
You menti... | 19 | Readme.md is misleading about kinds of datasets?
Hi!
At the README.MD, you say: "efficient data pre-processing: simple, fast and reproducible data pre-processing for the above public datasets as well as your own local datasets in CSV/JSON/text. "
But here:
https://github.com/huggingface/datasets/blob/master/te... | [
-0.10489419847726822,
-0.4077845811843872,
-0.12521076202392578,
0.35286909341812134,
0.20643311738967896,
0.07730398327112198,
0.2821691036224365,
-0.013219635933637619,
0.10144558548927307,
-0.09215109795331955,
-0.2971547245979309,
-0.07670396566390991,
-0.059190426021814346,
0.54146546... |
https://github.com/huggingface/datasets/issues/1987 | It's reachable for the viewer and me, so I suppose it was down at that moment? | wmt15 is broken | While testing the hotfix, I tried a random other wmt release and found wmt15 to be broken:
```
python -c 'from datasets import load_dataset; load_dataset("wmt15", "de-en")'
Downloading: 2.91kB [00:00, 818kB/s]
Downloading: 3.02kB [00:00, 897kB/s]
Downloading: 41.1kB [00:00, 19.1MB/s]
Downloading and preparing da... | 16 | wmt15 is broken
While testing the hotfix, I tried a random other wmt release and found wmt15 to be broken:
```
python -c 'from datasets import load_dataset; load_dataset("wmt15", "de-en")'
Downloading: 2.91kB [00:00, 818kB/s]
Downloading: 3.02kB [00:00, 897kB/s]
Downloading: 41.1kB [00:00, 19.1MB/s]
Downloadin... | [
-0.6853345036506653,
-0.2970707416534424,
-0.03880596533417702,
0.24626046419143677,
0.36308884620666504,
0.1542961597442627,
0.24248597025871277,
0.21684573590755463,
0.30132418870925903,
-0.0019931867718696594,
-0.022805243730545044,
-0.09610418975353241,
-0.22092178463935852,
0.20912182... |
https://github.com/huggingface/datasets/issues/1983 | Hi,
if you inspect the raw data, you can find there are 946 occurrences of `-DOCSTART- -X- -X- O` in the train split and `14041 + 946 = 14987`, which is exactly the number of sentences the authors report. `-DOCSTART-` is a special line that acts as a boundary between two different documents and is filtered out in ou... | The size of CoNLL-2003 is not consistant with the official release. | Thanks for the dataset sharing! But when I use conll-2003, I meet some questions.
The statistics of conll-2003 in this repo is :
\#train 14041 \#dev 3250 \#test 3453
While the official statistics is:
\#train 14987 \#dev 3466 \#test 3684
Wish for your reply~ | 78 | The size of CoNLL-2003 is not consistant with the official release.
Thanks for the dataset sharing! But when I use conll-2003, I meet some questions.
The statistics of conll-2003 in this repo is :
\#train 14041 \#dev 3250 \#test 3453
While the official statistics is:
\#train 14987 \#dev 3466 \#test 3684
Wish ... | [
0.16607047617435455,
-0.3441516160964966,
-0.02651984803378582,
0.3718195855617523,
-0.37470075488090515,
-0.002087697386741638,
0.061371561139822006,
-0.07089867442846298,
-0.9394963979721069,
-0.0062832459807395935,
0.1252354085445404,
0.15680824220180511,
0.08135826885700226,
0.00088948... |
https://github.com/huggingface/datasets/issues/1983 | We should mention in the Conll2003 dataset card that these lines have been removed indeed.
If some users are interested in using these lines (maybe to recombine documents ?) then we can add a parameter to the conll2003 dataset to include them.
But IMO the default config should stay the current one (without the `-... | The size of CoNLL-2003 is not consistant with the official release. | Thanks for the dataset sharing! But when I use conll-2003, I meet some questions.
The statistics of conll-2003 in this repo is :
\#train 14041 \#dev 3250 \#test 3453
While the official statistics is:
\#train 14987 \#dev 3466 \#test 3684
Wish for your reply~ | 73 | The size of CoNLL-2003 is not consistant with the official release.
Thanks for the dataset sharing! But when I use conll-2003, I meet some questions.
The statistics of conll-2003 in this repo is :
\#train 14041 \#dev 3250 \#test 3453
While the official statistics is:
\#train 14987 \#dev 3466 \#test 3684
Wish ... | [
-0.07905165106058121,
0.005305737257003784,
0.022709064185619354,
0.17673099040985107,
-0.17504645884037018,
0.0091942697763443,
0.19263438880443573,
0.15998327732086182,
-1.0088422298431396,
0.09197183698415756,
0.11612184345722198,
0.039759840816259384,
-0.01693621277809143,
0.1187623217... |
https://github.com/huggingface/datasets/issues/1983 | @lhoestq Yes, I agree adding a small note should be sufficient.
Currently, NLTK's `ConllCorpusReader` ignores the `-DOCSTART-` lines so I think it's ok if we do the same. If there is an interest in the future to use these lines, then we can include them. | The size of CoNLL-2003 is not consistant with the official release. | Thanks for the dataset sharing! But when I use conll-2003, I meet some questions.
The statistics of conll-2003 in this repo is :
\#train 14041 \#dev 3250 \#test 3453
While the official statistics is:
\#train 14987 \#dev 3466 \#test 3684
Wish for your reply~ | 45 | The size of CoNLL-2003 is not consistant with the official release.
Thanks for the dataset sharing! But when I use conll-2003, I meet some questions.
The statistics of conll-2003 in this repo is :
\#train 14041 \#dev 3250 \#test 3453
While the official statistics is:
\#train 14987 \#dev 3466 \#test 3684
Wish ... | [
0.130107581615448,
0.09629000723361969,
0.039450906217098236,
0.053366776555776596,
-0.21693094074726105,
0.007520958781242371,
0.1542738676071167,
-0.00016232207417488098,
-0.9731161594390869,
0.06726887077093124,
0.20561309158802032,
0.0701422318816185,
-0.05132903903722763,
-0.084271788... |
https://github.com/huggingface/datasets/issues/1983 | I added a mention of this in conll2003's dataset card:
https://github.com/huggingface/datasets/blob/fc9796920da88486c3b97690969aabf03d6b4088/datasets/conll2003/README.md#conll2003
Edit: just saw your PR @mariosasko (noticed it too late ^^)
Let me take a look at it :) | The size of CoNLL-2003 is not consistant with the official release. | Thanks for the dataset sharing! But when I use conll-2003, I meet some questions.
The statistics of conll-2003 in this repo is :
\#train 14041 \#dev 3250 \#test 3453
While the official statistics is:
\#train 14987 \#dev 3466 \#test 3684
Wish for your reply~ | 30 | The size of CoNLL-2003 is not consistant with the official release.
Thanks for the dataset sharing! But when I use conll-2003, I meet some questions.
The statistics of conll-2003 in this repo is :
\#train 14041 \#dev 3250 \#test 3453
While the official statistics is:
\#train 14987 \#dev 3466 \#test 3684
Wish ... | [
-0.11778001487255096,
-0.14909043908119202,
-0.12398068606853485,
0.4063587486743927,
-0.14216822385787964,
-0.18602533638477325,
0.2695668339729309,
0.01081094704568386,
-0.9765857458114624,
0.12976156175136566,
0.03170893341302872,
-0.04653018340468407,
0.02954285219311714,
0.17403814196... |
https://github.com/huggingface/datasets/issues/1981 | yes, of course, I reverted to the version before that and it works ;)
but since a new release was just made you will probably need to make a hotfix.
and add the wmt to the tests? | wmt datasets fail to load | on master:
```
python -c 'from datasets import load_dataset; load_dataset("wmt14", "de-en")'
Downloading and preparing dataset wmt14/de-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/stas/.cache/huggingface/datasets/wmt14/de-en/1.0.0/43e717d978d226150... | 37 | wmt datasets fail to load
on master:
```
python -c 'from datasets import load_dataset; load_dataset("wmt14", "de-en")'
Downloading and preparing dataset wmt14/de-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/stas/.cache/huggingface/datasets/wmt14/d... | [
-0.32907190918922424,
-0.058494582772254944,
-0.01040821522474289,
0.539573609828949,
0.31043171882629395,
0.004104599356651306,
0.2097795605659485,
0.08727045357227325,
0.3129351735115051,
0.10788625478744507,
-0.022499796003103256,
-0.12566149234771729,
-0.29693174362182617,
0.1887944936... |
https://github.com/huggingface/datasets/issues/1981 | @stas00 it is fixed. @lhoestq are you releasing the hot fix or would you prefer me to do it? | wmt datasets fail to load | on master:
```
python -c 'from datasets import load_dataset; load_dataset("wmt14", "de-en")'
Downloading and preparing dataset wmt14/de-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/stas/.cache/huggingface/datasets/wmt14/de-en/1.0.0/43e717d978d226150... | 19 | wmt datasets fail to load
on master:
```
python -c 'from datasets import load_dataset; load_dataset("wmt14", "de-en")'
Downloading and preparing dataset wmt14/de-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/stas/.cache/huggingface/datasets/wmt14/d... | [
-0.32907190918922424,
-0.058494582772254944,
-0.01040821522474289,
0.539573609828949,
0.31043171882629395,
0.004104599356651306,
0.2097795605659485,
0.08727045357227325,
0.3129351735115051,
0.10788625478744507,
-0.022499796003103256,
-0.12566149234771729,
-0.29693174362182617,
0.1887944936... |
https://github.com/huggingface/datasets/issues/1981 | I'll do a patch release for this issue early tomorrow.
And yes we absolutly need tests for the wmt datasets: The missing tests for wmt are an artifact from the early development of the lib but now we have tools to generate automatically the dummy data used for tests :) | wmt datasets fail to load | on master:
```
python -c 'from datasets import load_dataset; load_dataset("wmt14", "de-en")'
Downloading and preparing dataset wmt14/de-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/stas/.cache/huggingface/datasets/wmt14/de-en/1.0.0/43e717d978d226150... | 50 | wmt datasets fail to load
on master:
```
python -c 'from datasets import load_dataset; load_dataset("wmt14", "de-en")'
Downloading and preparing dataset wmt14/de-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/stas/.cache/huggingface/datasets/wmt14/d... | [
-0.32907190918922424,
-0.058494582772254944,
-0.01040821522474289,
0.539573609828949,
0.31043171882629395,
0.004104599356651306,
0.2097795605659485,
0.08727045357227325,
0.3129351735115051,
0.10788625478744507,
-0.022499796003103256,
-0.12566149234771729,
-0.29693174362182617,
0.1887944936... |
https://github.com/huggingface/datasets/issues/1981 | still facing the same issue or similar:
from datasets import load_dataset
wtm14_test = load_dataset('wmt14',"de-en",cache_dir='./datasets')
~.cache\huggingface\modules\datasets_modules\datasets\wmt14\43e717d978d2261502b0194999583acb874ba73b0f4aed0ada2889d1bb00f36e\wmt_utils.py in _split_generators(self, dl_manager... | wmt datasets fail to load | on master:
```
python -c 'from datasets import load_dataset; load_dataset("wmt14", "de-en")'
Downloading and preparing dataset wmt14/de-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/stas/.cache/huggingface/datasets/wmt14/de-en/1.0.0/43e717d978d226150... | 52 | wmt datasets fail to load
on master:
```
python -c 'from datasets import load_dataset; load_dataset("wmt14", "de-en")'
Downloading and preparing dataset wmt14/de-en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/stas/.cache/huggingface/datasets/wmt14/d... | [
-0.32907190918922424,
-0.058494582772254944,
-0.01040821522474289,
0.539573609828949,
0.31043171882629395,
0.004104599356651306,
0.2097795605659485,
0.08727045357227325,
0.3129351735115051,
0.10788625478744507,
-0.022499796003103256,
-0.12566149234771729,
-0.29693174362182617,
0.1887944936... |
https://github.com/huggingface/datasets/issues/1977 | I sometimes also get this error with other languages of the same dataset:
File "/dara/libs/anaconda3/envs/code/lib/python3.7/site-packages/datasets-1.3.0-py3.7.egg/datasets/arrow_reader.py", line 322, in read_table
stream = stream_from(filename)
File "pyarrow/io.pxi", line 782, in pyarrow.lib.memory_map
... | ModuleNotFoundError: No module named 'apache_beam' for wikipedia datasets | Hi
I am trying to run run_mlm.py code [1] of huggingface with following "wikipedia"/ "20200501.aa" dataset:
`python run_mlm.py --model_name_or_path bert-base-multilingual-cased --dataset_name wikipedia --dataset_config_name 20200501.aa --do_train --do_eval --output_dir /tmp/test-mlm --max_seq_l... | 55 | ModuleNotFoundError: No module named 'apache_beam' for wikipedia datasets
Hi
I am trying to run run_mlm.py code [1] of huggingface with following "wikipedia"/ "20200501.aa" dataset:
`python run_mlm.py --model_name_or_path bert-base-multilingual-cased --dataset_name wikipedia --dataset_config_name 202005... | [
-0.2131415605545044,
-0.33830028772354126,
0.0015387125313282013,
0.3398341238498688,
0.2197449803352356,
0.23544174432754517,
0.2507147192955017,
0.26806196570396423,
0.18148505687713623,
-0.014451920986175537,
-0.03593209758400917,
0.036490194499492645,
-0.1710565686225891,
0.10198654979... |
https://github.com/huggingface/datasets/issues/1977 | Hi ! Thanks for reporting
Some wikipedia configurations do require the user to have `apache_beam` in order to parse the wikimedia data.
On the other hand regarding your second issue
```
OSError: Memory mapping file failed: Cannot allocate memory
```
I've never experienced this, can you open a new issue for this... | ModuleNotFoundError: No module named 'apache_beam' for wikipedia datasets | Hi
I am trying to run run_mlm.py code [1] of huggingface with following "wikipedia"/ "20200501.aa" dataset:
`python run_mlm.py --model_name_or_path bert-base-multilingual-cased --dataset_name wikipedia --dataset_config_name 20200501.aa --do_train --do_eval --output_dir /tmp/test-mlm --max_seq_l... | 84 | ModuleNotFoundError: No module named 'apache_beam' for wikipedia datasets
Hi
I am trying to run run_mlm.py code [1] of huggingface with following "wikipedia"/ "20200501.aa" dataset:
`python run_mlm.py --model_name_or_path bert-base-multilingual-cased --dataset_name wikipedia --dataset_config_name 202005... | [
-0.2131415605545044,
-0.33830028772354126,
0.0015387125313282013,
0.3398341238498688,
0.2197449803352356,
0.23544174432754517,
0.2507147192955017,
0.26806196570396423,
0.18148505687713623,
-0.014451920986175537,
-0.03593209758400917,
0.036490194499492645,
-0.1710565686225891,
0.10198654979... |
https://github.com/huggingface/datasets/issues/1973 | Echo'ing this observation: I have a few datasets in the neighborhood of 2GB CSVs uncompressed, and when I use something like `Dataset.save_to_disk()` it's ~18GB on disk.
If this is unexpected behavior, would be happy to help run debugging as needed. | Question: what gets stored in the datasets cache and why is it so huge? | I'm running several training jobs (around 10) with a relatively large dataset (3M samples). The datasets cache reached 178G and it seems really large. What is it stored in there and why is it so large? I don't think I noticed this problem before and seems to be related to the new version of the datasets library. Any in... | 40 | Question: what gets stored in the datasets cache and why is it so huge?
I'm running several training jobs (around 10) with a relatively large dataset (3M samples). The datasets cache reached 178G and it seems really large. What is it stored in there and why is it so large? I don't think I noticed this problem before ... | [
-0.03606035187840462,
-0.0662573054432869,
-0.1086275726556778,
0.5382816791534424,
0.17685192823410034,
0.30466508865356445,
-0.06870944797992706,
0.25634464621543884,
-0.14989317953586578,
-0.11155122518539429,
-0.004414379596710205,
-0.23843643069267273,
-0.15991544723510742,
-0.2295422... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.