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/4007 | Hi! Use the `ArrayXD` feature type (where X is the number of dimensions) to get correctly formated tensors. So in your case, define the dataset as follows :
```python
ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}, features=Features({"A": Array2D(shape=(2, 2), dtype="float32")}))
```
| set_format does not work with multi dimension tensor | ## Describe the bug
set_format only transforms the last dimension of a multi-dimension list to tensor
## Steps to reproduce the bug
```python
import torch
from datasets import Dataset
ds = Dataset.from_dict({"A": [torch.rand((2, 2))]})
# ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result... | 39 | set_format does not work with multi dimension tensor
## Describe the bug
set_format only transforms the last dimension of a multi-dimension list to tensor
## Steps to reproduce the bug
```python
import torch
from datasets import Dataset
ds = Dataset.from_dict({"A": [torch.rand((2, 2))]})
# ds = Dataset.fro... | [
-0.3587706685066223,
-0.5875427722930908,
-0.10628192126750946,
0.11355617642402649,
0.3834378123283386,
0.019023150205612183,
0.737144410610199,
0.446386456489563,
-0.1085590273141861,
0.1774856299161911,
-0.006011046469211578,
0.33974042534828186,
-0.022350840270519257,
0.036483742296695... |
https://github.com/huggingface/datasets/issues/4007 | Hi @mariosasko I'm facing the same issue and the only work around I've found so far is to convert my `DatasetDict` to a dictionary and then create new objects with `Dataset.from_dict`.
```
dataset = load_dataset("my_dataset.py")
dataset = dataset.map(lambda example: blabla(example))
dict_dataset_test = dataset["tes... | set_format does not work with multi dimension tensor | ## Describe the bug
set_format only transforms the last dimension of a multi-dimension list to tensor
## Steps to reproduce the bug
```python
import torch
from datasets import Dataset
ds = Dataset.from_dict({"A": [torch.rand((2, 2))]})
# ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result... | 84 | set_format does not work with multi dimension tensor
## Describe the bug
set_format only transforms the last dimension of a multi-dimension list to tensor
## Steps to reproduce the bug
```python
import torch
from datasets import Dataset
ds = Dataset.from_dict({"A": [torch.rand((2, 2))]})
# ds = Dataset.fro... | [
-0.2998943328857422,
-0.31018149852752686,
-0.004203706979751587,
0.1721644401550293,
0.3681078553199768,
0.10392576456069946,
0.7871417999267578,
0.3923233151435852,
0.07250235229730606,
-0.04256433993577957,
-0.00915665552020073,
0.40553703904151917,
-0.3083246946334839,
0.21986952424049... |
https://github.com/huggingface/datasets/issues/4007 | Hi! Yes, you can directly pass the `Features` dictionary as `features` in `map` to cast the column to `Array2D`:
```python
dataset = dataset.map(lambda example: blabla(example), features=Features(features))
```
Or you can use `cast` after `map` to do that:
```python
dataset = dataset.map(lambda example: blabla(ex... | set_format does not work with multi dimension tensor | ## Describe the bug
set_format only transforms the last dimension of a multi-dimension list to tensor
## Steps to reproduce the bug
```python
import torch
from datasets import Dataset
ds = Dataset.from_dict({"A": [torch.rand((2, 2))]})
# ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result... | 47 | set_format does not work with multi dimension tensor
## Describe the bug
set_format only transforms the last dimension of a multi-dimension list to tensor
## Steps to reproduce the bug
```python
import torch
from datasets import Dataset
ds = Dataset.from_dict({"A": [torch.rand((2, 2))]})
# ds = Dataset.fro... | [
-0.298149436712265,
-0.552294135093689,
-0.08510863780975342,
0.06532977521419525,
0.4656408429145813,
0.08599776774644852,
0.7949092984199524,
0.48609501123428345,
0.02254796028137207,
-0.012723743915557861,
-0.028829457238316536,
0.44246554374694824,
-0.14308345317840576,
0.2112060189247... |
https://github.com/huggingface/datasets/issues/4005 | I don't think it's an issue with the dataset-viewer. Maybe @lhoestq or @albertvillanova could confirm.
```python
>>> from datasets import load_dataset, DownloadMode
>>> import itertools
>>> # without streaming
>>> dataset = load_dataset("yelp_review_full", name="yelp_review_full", split="train", download_mode=Do... | Yelp not working | ## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ? No
A seamingly... | 383 | Yelp not working
## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ... | [
-0.2684921622276306,
-0.10004545003175735,
0.00927027314901352,
0.2753206491470337,
0.22521598637104034,
0.2547464668750763,
0.20146608352661133,
0.1440788060426712,
0.07250459492206573,
-0.1681312918663025,
-0.08144211024045944,
0.05561182275414467,
-0.25377118587493896,
0.160235270857810... |
https://github.com/huggingface/datasets/issues/4005 | Yet another issue related to google drive not being nice. Most likely your IP has been banned from using their API programmatically. Do you know if we are allowed to host and redistribute the data ourselves ? | Yelp not working | ## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ? No
A seamingly... | 37 | Yelp not working
## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ... | [
-0.10308288782835007,
0.07895711064338684,
-0.02903754822909832,
0.20698601007461548,
0.23674139380455017,
0.2566860318183899,
0.16722670197486877,
0.09024368226528168,
0.21046413481235504,
-0.18449366092681885,
-0.15458282828330994,
-0.04030371084809303,
-0.14190226793289185,
0.4606812000... |
https://github.com/huggingface/datasets/issues/4005 | Hi,
Facing the same issue while loading the dataset:
`Error: {NonMatchingChecksumError}Checksums didn't match for dataset source files`
Thanks | Yelp not working | ## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ? No
A seamingly... | 18 | Yelp not working
## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ... | [
-0.24336138367652893,
-0.06275175511837006,
-0.024331839755177498,
0.3065803050994873,
0.1636057198047638,
0.2314521074295044,
0.08171740174293518,
0.14034247398376465,
0.23674067854881287,
-0.12649574875831604,
-0.15590664744377136,
0.048369280993938446,
-0.11220492422580719,
0.3317651748... |
https://github.com/huggingface/datasets/issues/4005 | > Facing the same issue while loading the dataset:
>
> Error: {NonMatchingChecksumError}Checksums didn't match for dataset source files
Thanks for reporting. I think this is the same issue. Feel free to try again later, once Google Drive stopped blocking you. You can retry by passing `download_mode="force_redownl... | Yelp not working | ## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ? No
A seamingly... | 49 | Yelp not working
## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ... | [
-0.260187566280365,
0.09298372268676758,
-0.013289660215377808,
0.22357423603534698,
0.1756577491760254,
0.3243185579776764,
0.2636045515537262,
0.09490922093391418,
0.24532043933868408,
-0.14161622524261475,
-0.04355026036500931,
-0.05660974234342575,
-0.13228482007980347,
0.4521712064743... |
https://github.com/huggingface/datasets/issues/4005 | I noticed that FastAI hosts the Yelp dataset at https://s3.amazonaws.com/fast-ai-nlp/yelp_review_full_csv.tgz (from their catalog [here](https://course.fast.ai/datasets))
Let's update the yelp dataset script to download from there instead of Google Drive | Yelp not working | ## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ? No
A seamingly... | 28 | Yelp not working
## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ... | [
-0.16045311093330383,
0.03512659668922424,
-0.007130932062864304,
0.20987214148044586,
0.11634822189807892,
0.2942899465560913,
0.3275652229785919,
0.14118026196956635,
0.16289138793945312,
-0.17222975194454193,
-0.13060307502746582,
0.006532792001962662,
-0.07650396972894669,
0.2644136548... |
https://github.com/huggingface/datasets/issues/4005 | I updated the link to not use Google Drive anymore, we will do a release early next week with the updated download url of the dataset :) | Yelp not working | ## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ? No
A seamingly... | 27 | Yelp not working
## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train
Doesn't work:
```
Server error
Status code: 400
Exception: Error
Message: line contains NULL
```
Am I the one who added this dataset ... | [
-0.15791067481040955,
-0.06150040030479431,
-0.002049878239631653,
0.25659310817718506,
0.15855646133422852,
0.2892257571220398,
0.24863098561763763,
0.06019638478755951,
0.13817031681537628,
-0.14958618581295013,
-0.07119716703891754,
0.0036796294152736664,
-0.24793338775634766,
0.3354057... |
https://github.com/huggingface/datasets/issues/4003 | Using latest code, I am still facing the issue.
```python
(base) vimos@vimosmu ➜ ~ ipython
Python 3.6.7 | packaged by conda-forge | (default, Nov 6 2019, 16:19:42)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.11.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from... | ASSIN2 dataset checksum bug | ## Describe the bug
Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2).
`NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`.
Similar to #3952 , #3942 , #3941 , etc.
```
----------------------------------------------------------------------... | 264 | ASSIN2 dataset checksum bug
## Describe the bug
Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2).
`NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`.
Similar to #3952 , #3942 , #3941 , etc.
```
----------------------------------------... | [
-0.1604345738887787,
0.1361488550901413,
-0.04458198696374893,
0.34855690598487854,
0.12330155074596405,
0.1475779116153717,
0.23576894402503967,
0.39875391125679016,
0.2274780571460724,
0.17057552933692932,
-0.08641503751277924,
-0.04827181249856949,
0.15661083161830902,
-0.00621238350868... |
https://github.com/huggingface/datasets/issues/4003 | That's true. Steps to reproduce the bug on Google Colab:
```
git clone https://github.com/huggingface/datasets.git
cd datasets
pip install -e .
python -c "from datasets import load_dataset; print(load_dataset('assin2')['train'][0])"
```
However the dataset will load without any problems if you just install v... | ASSIN2 dataset checksum bug | ## Describe the bug
Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2).
`NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`.
Similar to #3952 , #3942 , #3941 , etc.
```
----------------------------------------------------------------------... | 58 | ASSIN2 dataset checksum bug
## Describe the bug
Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2).
`NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`.
Similar to #3952 , #3942 , #3941 , etc.
```
----------------------------------------... | [
-0.1604345738887787,
0.1361488550901413,
-0.04458198696374893,
0.34855690598487854,
0.12330155074596405,
0.1475779116153717,
0.23576894402503967,
0.39875391125679016,
0.2274780571460724,
0.17057552933692932,
-0.08641503751277924,
-0.04827181249856949,
0.15661083161830902,
-0.00621238350868... |
https://github.com/huggingface/datasets/issues/4003 | Right indeed ! Let me open a PR to fix this.
The dataset_infos.json file that stores some metadata about the dataset to download (and is used to verify it was correctly downloaded) hasn't been updated correctly | ASSIN2 dataset checksum bug | ## Describe the bug
Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2).
`NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`.
Similar to #3952 , #3942 , #3941 , etc.
```
----------------------------------------------------------------------... | 36 | ASSIN2 dataset checksum bug
## Describe the bug
Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2).
`NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`.
Similar to #3952 , #3942 , #3941 , etc.
```
----------------------------------------... | [
-0.1604345738887787,
0.1361488550901413,
-0.04458198696374893,
0.34855690598487854,
0.12330155074596405,
0.1475779116153717,
0.23576894402503967,
0.39875391125679016,
0.2274780571460724,
0.17057552933692932,
-0.08641503751277924,
-0.04827181249856949,
0.15661083161830902,
-0.00621238350868... |
https://github.com/huggingface/datasets/issues/4003 | Not sure what the status of this is, but personally I am still getting this error, with glue. | ASSIN2 dataset checksum bug | ## Describe the bug
Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2).
`NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`.
Similar to #3952 , #3942 , #3941 , etc.
```
----------------------------------------------------------------------... | 18 | ASSIN2 dataset checksum bug
## Describe the bug
Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2).
`NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`.
Similar to #3952 , #3942 , #3941 , etc.
```
----------------------------------------... | [
-0.1604345738887787,
0.1361488550901413,
-0.04458198696374893,
0.34855690598487854,
0.12330155074596405,
0.1475779116153717,
0.23576894402503967,
0.39875391125679016,
0.2274780571460724,
0.17057552933692932,
-0.08641503751277924,
-0.04827181249856949,
0.15661083161830902,
-0.00621238350868... |
https://github.com/huggingface/datasets/issues/4001 | Hi! Replacing `nlp.<obj>` with `datasets.<obj>` in the script should fix the problem. `nlp` has been renamed to `datasets` more than a year ago, so please use `datasets` instead to avoid weird issues. | How to use generate this multitask dataset for SQUAD? I am getting a value error. | ## Dataset viewer issue for 'squad_multitask*'
**Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask
*short description of the issue*
I am trying to generate the multitask dataset for squad dataset. However, gives the error in dataset explorer as well as my local machine.
I tried the comma... | 32 | How to use generate this multitask dataset for SQUAD? I am getting a value error.
## Dataset viewer issue for 'squad_multitask*'
**Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask
*short description of the issue*
I am trying to generate the multitask dataset for squad dataset. However,... | [
-0.2936681807041168,
-0.22755137085914612,
0.00014965608716011047,
0.33507809042930603,
0.1465720683336258,
0.08903694897890091,
0.47464388608932495,
0.0026760362088680267,
0.00988839566707611,
0.360953152179718,
0.03958556801080704,
0.7048646807670593,
-0.12789218127727509,
0.174352139234... |
https://github.com/huggingface/datasets/issues/4001 | But I request you to please fix the same in the dataset hub explorer as well... | How to use generate this multitask dataset for SQUAD? I am getting a value error. | ## Dataset viewer issue for 'squad_multitask*'
**Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask
*short description of the issue*
I am trying to generate the multitask dataset for squad dataset. However, gives the error in dataset explorer as well as my local machine.
I tried the comma... | 16 | How to use generate this multitask dataset for SQUAD? I am getting a value error.
## Dataset viewer issue for 'squad_multitask*'
**Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask
*short description of the issue*
I am trying to generate the multitask dataset for squad dataset. However,... | [
-0.3296903669834137,
-0.3230183720588684,
-0.03323578089475632,
0.4044610857963562,
0.15319618582725525,
0.10481372475624084,
0.46196502447128296,
-0.07535287737846375,
0.00219639390707016,
0.39276373386383057,
-0.06930474191904068,
0.6919896602630615,
-0.051950983703136444,
0.226834297180... |
https://github.com/huggingface/datasets/issues/4000 | Hi @i-am-neo,
The audio support is an extra feature of `datasets` and therefore it must be installed as an additional optional dependency:
```shell
pip install datasets[audio]
```
Additionally, for specific MP3 support (which is not the case for AMI dataset, that contains WAV audio files), there is another third... | load_dataset error: sndfile library not found | ## Describe the bug
Can't load ami dataset
## Steps to reproduce the bug
```
python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])"
```
## Expected results
## Actual results
Downloading and preparing dataset ami/headset-single (download: 10.71... | 61 | load_dataset error: sndfile library not found
## Describe the bug
Can't load ami dataset
## Steps to reproduce the bug
```
python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])"
```
## Expected results
## Actual results
Downloading and prepa... | [
-0.17909032106399536,
-0.2704022526741028,
-0.04306766763329506,
0.2871549129486084,
0.1397022306919098,
-0.11794386804103851,
0.3523590564727783,
0.01708798110485077,
0.010730989277362823,
0.38430655002593994,
-0.13333281874656677,
0.21345636248588562,
0.04716525599360466,
0.4075196683406... |
https://github.com/huggingface/datasets/issues/4000 | Thanks @albertvillanova . Unfortunately the error persists after installing ```datasets[audio]```. Can you direct towards a solution?
```
pip3 install datasets[audio]
```
### log
Requirement already satisfied: datasets[audio] in ./.virtualenvs/hubert/lib/python3.7/site-packages (1.18.3)
Requirement already sati... | load_dataset error: sndfile library not found | ## Describe the bug
Can't load ami dataset
## Steps to reproduce the bug
```
python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])"
```
## Expected results
## Actual results
Downloading and preparing dataset ami/headset-single (download: 10.71... | 969 | load_dataset error: sndfile library not found
## Describe the bug
Can't load ami dataset
## Steps to reproduce the bug
```
python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])"
```
## Expected results
## Actual results
Downloading and prepa... | [
-0.17909032106399536,
-0.2704022526741028,
-0.04306766763329506,
0.2871549129486084,
0.1397022306919098,
-0.11794386804103851,
0.3523590564727783,
0.01708798110485077,
0.010730989277362823,
0.38430655002593994,
-0.13333281874656677,
0.21345636248588562,
0.04716525599360466,
0.4075196683406... |
https://github.com/huggingface/datasets/issues/4000 | Hi @i-am-neo, thanks again for your detailed report.
Our `datasets` library support for audio relies on a third-party Python library called `librosa`, which is installed when you do:
```shell
pip install datasets[audio]
```
However, the `librosa` library has a dependency on `soundfile`; and `soundfile` depends... | load_dataset error: sndfile library not found | ## Describe the bug
Can't load ami dataset
## Steps to reproduce the bug
```
python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])"
```
## Expected results
## Actual results
Downloading and preparing dataset ami/headset-single (download: 10.71... | 95 | load_dataset error: sndfile library not found
## Describe the bug
Can't load ami dataset
## Steps to reproduce the bug
```
python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])"
```
## Expected results
## Actual results
Downloading and prepa... | [
-0.17909032106399536,
-0.2704022526741028,
-0.04306766763329506,
0.2871549129486084,
0.1397022306919098,
-0.11794386804103851,
0.3523590564727783,
0.01708798110485077,
0.010730989277362823,
0.38430655002593994,
-0.13333281874656677,
0.21345636248588562,
0.04716525599360466,
0.4075196683406... |
https://github.com/huggingface/datasets/issues/4000 | @albertvillanova thanks, all good. The key is ```libsndfile1``` - it may help others to note that in your docs. I had installed libsndfile previously. | load_dataset error: sndfile library not found | ## Describe the bug
Can't load ami dataset
## Steps to reproduce the bug
```
python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])"
```
## Expected results
## Actual results
Downloading and preparing dataset ami/headset-single (download: 10.71... | 24 | load_dataset error: sndfile library not found
## Describe the bug
Can't load ami dataset
## Steps to reproduce the bug
```
python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])"
```
## Expected results
## Actual results
Downloading and prepa... | [
-0.17909032106399536,
-0.2704022526741028,
-0.04306766763329506,
0.2871549129486084,
0.1397022306919098,
-0.11794386804103851,
0.3523590564727783,
0.01708798110485077,
0.010730989277362823,
0.38430655002593994,
-0.13333281874656677,
0.21345636248588562,
0.04716525599360466,
0.4075196683406... |
https://github.com/huggingface/datasets/issues/3996 | Thanks @polinaeterna for reporting this issue.
In relation to the decoding of MP3 audio files without torchaudio, I remember Patrick made some tests and these had quite bad performance. That is why he proposed to support MP3 files only with torchaudio. But yes, nice to give an alternative to non-torchaudio users (wi... | Audio.encode_example() throws an error when writing example from array | ## Describe the bug
When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error:
`TypeError: No format specified and unable to get format from file extension: <_io.BytesI... | 57 | Audio.encode_example() throws an error when writing example from array
## Describe the bug
When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error:
`TypeError: No f... | [
0.121808722615242,
-0.3153699040412903,
-0.025126678869128227,
0.2208195924758911,
0.49100959300994873,
-0.12690585851669312,
0.3622465133666992,
0.06903748214244843,
-0.06979627162218094,
0.40984106063842773,
-0.12194353342056274,
0.2596229314804077,
-0.18401387333869934,
0.18375767767429... |
https://github.com/huggingface/datasets/issues/3996 | > I remember Patrick made some tests and these had quite bad performance. That is why he proposed to support MP3 files only with torchaudio.
Yeah, I know, but as far as I understand, some users just categorically don't want to have torchaudio in their environment. Anyway, it's just a more or less random example, th... | Audio.encode_example() throws an error when writing example from array | ## Describe the bug
When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error:
`TypeError: No format specified and unable to get format from file extension: <_io.BytesI... | 93 | Audio.encode_example() throws an error when writing example from array
## Describe the bug
When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error:
`TypeError: No f... | [
0.121808722615242,
-0.3153699040412903,
-0.025126678869128227,
0.2208195924758911,
0.49100959300994873,
-0.12690585851669312,
0.3622465133666992,
0.06903748214244843,
-0.06979627162218094,
0.40984106063842773,
-0.12194353342056274,
0.2596229314804077,
-0.18401387333869934,
0.18375767767429... |
https://github.com/huggingface/datasets/issues/3993 | Hi ! Thanks for reporting, could this be related to https://github.com/huggingface/datasets/issues/3950 ?
Currently streaming datasets only works in single process, but we're working on having in work in distributed setups as well :) (EDIT: done) | Streaming dataset + interleave + DataLoader hangs with multiple workers | ## Describe the bug
Interleaving multiple iterable datasets that use `load_dataset` on streaming mode hangs when passed to `torch.utils.data.DataLoader` with multiple workers.
## Steps to reproduce the bug
```python
from datasets import interleave_datasets, load_dataset
from torch.utils.data import DataLoader
... | 35 | Streaming dataset + interleave + DataLoader hangs with multiple workers
## Describe the bug
Interleaving multiple iterable datasets that use `load_dataset` on streaming mode hangs when passed to `torch.utils.data.DataLoader` with multiple workers.
## Steps to reproduce the bug
```python
from datasets import int... | [
-0.355594277381897,
-0.21973487734794617,
-0.14469000697135925,
0.2996632158756256,
0.108864426612854,
-0.05361443758010864,
0.6818820834159851,
0.168131023645401,
0.15180934965610504,
0.2881135046482086,
-0.07487281411886215,
0.24411644041538239,
-0.0351969338953495,
-0.21446368098258972,... |
https://github.com/huggingface/datasets/issues/3992 | Hi! This behavior stems from this line: https://github.com/huggingface/datasets/blob/799b817d97590ddc97cbd38d07469403e030de8c/src/datasets/arrow_dataset.py#L1919
Basically, the `Image`/`Audio` columns are decoded only if the `format_type` attribute is `None` (`set_format`/`with_format` and `set_transform`/`with_transf... | Image column is not decoded in map when using with with_transform | ## Describe the bug
Image column is not _decoded_ in **map** when using with `with_transform`
## Steps to reproduce the bug
```python
from datasets import Image, Dataset
def add_C(batch):
batch["C"] = batch["A"]
return batch
ds = Dataset.from_dict({"A": ["image.png"]}).cast_column("A", Image())
... | 45 | Image column is not decoded in map when using with with_transform
## Describe the bug
Image column is not _decoded_ in **map** when using with `with_transform`
## Steps to reproduce the bug
```python
from datasets import Image, Dataset
def add_C(batch):
batch["C"] = batch["A"]
return batch
ds = ... | [
-0.14673882722854614,
-0.16224543750286102,
0.04135289415717125,
0.305676132440567,
0.6214094161987305,
0.12093046307563782,
0.18931101262569427,
0.2558179199695587,
0.3303372263908386,
0.011717710644006729,
-0.24016018211841583,
0.7651688456535339,
-0.03906390070915222,
-0.192335426807403... |
https://github.com/huggingface/datasets/issues/3990 | There is an open PR to do that: #3364. I just haven't had time to finish it... | Improve AutomaticSpeechRecognition task template | **Is your feature request related to a problem? Please describe.**
[AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio column instead of a Audio feature itself (I guess it... | 17 | Improve AutomaticSpeechRecognition task template
**Is your feature request related to a problem? Please describe.**
[AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio c... | [
-0.2149878591299057,
-0.34678351879119873,
-0.01744440197944641,
-0.10449723899364471,
0.23595617711544037,
-0.22555884718894958,
0.31238651275634766,
0.18227459490299225,
0.0016586780548095703,
0.2856583893299103,
-0.07095970213413239,
0.3695851266384125,
-0.19841375946998596,
0.191542685... |
https://github.com/huggingface/datasets/issues/3990 | > There is an open PR to do that: #3364. I just haven't had time to finish it...
😬 thanks... | Improve AutomaticSpeechRecognition task template | **Is your feature request related to a problem? Please describe.**
[AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio column instead of a Audio feature itself (I guess it... | 20 | Improve AutomaticSpeechRecognition task template
**Is your feature request related to a problem? Please describe.**
[AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio c... | [
-0.19852855801582336,
-0.3698558509349823,
-0.007338769733905792,
-0.08667350560426712,
0.24473795294761658,
-0.21593829989433289,
0.29793307185173035,
0.18088069558143616,
0.007833093404769897,
0.23916083574295044,
-0.06353393197059631,
0.37600576877593994,
-0.19434191286563873,
0.1996385... |
https://github.com/huggingface/datasets/issues/3986 | Hi ! I didn't managed to reproduce the issue. When you kill the process, is there any stacktrace that shows at what point in the code python is hanging ? | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) | ## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
** Update: Transformer modules faces the same issue as well during loading
## A clear ... | 30 | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
**... | [
-0.13052278757095337,
-0.017079263925552368,
0.0759793296456337,
0.19710110127925873,
0.23935046792030334,
0.12498100101947784,
0.3519516587257385,
0.029305320233106613,
0.33563047647476196,
-0.15894129872322083,
-0.24298880994319916,
0.2090011090040207,
-0.13766023516654968,
-0.1850260198... |
https://github.com/huggingface/datasets/issues/3986 | Hi @lhoestq , I've traced the issue back to file locking. It's similar to this thread, using Lustre filesystem as well. https://github.com/huggingface/datasets/issues/329 . In this case the user was able to modify and add -o flock option while mounting and it solved the problem.
However in other cases such as mine, ... | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) | ## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
** Update: Transformer modules faces the same issue as well during loading
## A clear ... | 85 | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
**... | [
-0.13052278757095337,
-0.017079263925552368,
0.0759793296456337,
0.19710110127925873,
0.23935046792030334,
0.12498100101947784,
0.3519516587257385,
0.029305320233106613,
0.33563047647476196,
-0.15894129872322083,
-0.24298880994319916,
0.2090011090040207,
-0.13766023516654968,
-0.1850260198... |
https://github.com/huggingface/datasets/issues/3986 | Hi @kelvinAI , I've had this issue on our institution's system which uses Lustre (in addition to our compute nodes being siloed off from external network access). The workaround I made for downloading/loading datasets was to set the `$HFHOME` environment variable to a location on the node's local storage (SSD), effecti... | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) | ## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
** Update: Transformer modules faces the same issue as well during loading
## A clear ... | 200 | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
**... | [
-0.13052278757095337,
-0.017079263925552368,
0.0759793296456337,
0.19710110127925873,
0.23935046792030334,
0.12498100101947784,
0.3519516587257385,
0.029305320233106613,
0.33563047647476196,
-0.15894129872322083,
-0.24298880994319916,
0.2090011090040207,
-0.13766023516654968,
-0.1850260198... |
https://github.com/huggingface/datasets/issues/3986 | Hi @jpmcd , thanks for sharing your experience. For my case, the Lustre filesystem (with more storage space) is the scratch storage like the one you've mentioned. We have a local storage for each user but unfortunately there's not enough space in it to 'cache' huge datasets, hence that is why I tried changing HF_HOME t... | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) | ## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
** Update: Transformer modules faces the same issue as well during loading
## A clear ... | 90 | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
**... | [
-0.13052278757095337,
-0.017079263925552368,
0.0759793296456337,
0.19710110127925873,
0.23935046792030334,
0.12498100101947784,
0.3519516587257385,
0.029305320233106613,
0.33563047647476196,
-0.15894129872322083,
-0.24298880994319916,
0.2090011090040207,
-0.13766023516654968,
-0.1850260198... |
https://github.com/huggingface/datasets/issues/3986 | @jpmcd your comment saved me from pulling my hair out in frustration. Setting `HF_HOME` to a directory that's not on Lustre works like a charm. ✨ | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) | ## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
** Update: Transformer modules faces the same issue as well during loading
## A clear ... | 26 | Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
## Describe the bug
Dataset loads indefinitely after modifying cache path (~/.cache/huggingface)
If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script)
**... | [
-0.13052278757095337,
-0.017079263925552368,
0.0759793296456337,
0.19710110127925873,
0.23935046792030334,
0.12498100101947784,
0.3519516587257385,
0.029305320233106613,
0.33563047647476196,
-0.15894129872322083,
-0.24298880994319916,
0.2090011090040207,
-0.13766023516654968,
-0.1850260198... |
https://github.com/huggingface/datasets/issues/3984 | Hi ! To be able to run the tests, you need to install all the test dependencies and additional ones with
```
pip install -e .[tests]
pip install -r additional-tests-requirements.txt --no-deps
```
In particular, you probably need to `sacrebleu`. It looks like it wasn't able to instantiate `sacrebleu.TER` properly... | Local and automatic tests fail | ## Describe the bug
Running the tests from CircleCI on a PR or locally fails, even with no changes. Tests seem to fail on `test_metric_common.py`
## Steps to reproduce the bug
```shell
git clone https://huggingface/datasets.git
cd datasets
```
```python
python -m pip install -e .
pytest
```
## Expected... | 49 | Local and automatic tests fail
## Describe the bug
Running the tests from CircleCI on a PR or locally fails, even with no changes. Tests seem to fail on `test_metric_common.py`
## Steps to reproduce the bug
```shell
git clone https://huggingface/datasets.git
cd datasets
```
```python
python -m pip install ... | [
-0.11178254336118698,
-0.2659797966480255,
-0.01611003279685974,
0.1842327117919922,
0.1371130347251892,
-0.05685274302959442,
0.12388064712285995,
0.3405486047267914,
0.14958953857421875,
0.34217268228530884,
0.04628828167915344,
0.3076317310333252,
-0.16629758477210999,
0.229870647192001... |
https://github.com/huggingface/datasets/issues/3983 | Hi ! Thanks for reporting. We're using `py-filelock` as our locking mechanism.
Can you try deleting the .lock file mentioned in the logs and try again ? Make sure that no other process is generating the `cnn_dailymail` dataset.
If it doesn't work, could you try to set up a lock using the latest version of `py-fi... | Infinitely attempting lock | I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`.
Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS).
```
%sh
python /dbfs/transformers/examples/pytorch/summarization/run_summariz... | 102 | Infinitely attempting lock
I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`.
Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS).
```
%sh
python /dbfs/transformers/examples/pytor... | [
-0.3298412561416626,
0.20496201515197754,
-0.02275097370147705,
0.15265613794326782,
0.33301424980163574,
0.05333124101161957,
0.43074485659599304,
0.2333424687385559,
0.1402672529220581,
0.009987838566303253,
-0.037053633481264114,
0.04263221099972725,
-0.10390256345272064,
-0.34768471121... |
https://github.com/huggingface/datasets/issues/3978 | the dataset viewer is working on this dataset. I imagine the issue is that we would expect to be able to listen to the audio files in the `Please Record Your Voice file` column, right?
maybe @lhoestq or @albertvillanova could help
<img width="1019" alt="Capture d’écran 2022-03-24 à 17 36 20" src="https://user-i... | I can't view HFcallback dataset for ASR Space | ## Dataset viewer issue for '*Urdu-ASR-flags*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)*
*I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.*
A... | 51 | I can't view HFcallback dataset for ASR Space
## Dataset viewer issue for '*Urdu-ASR-flags*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)*
*I think dataset should show some thing and if you want me to add script, please show me the documentation. I thou... | [
-0.2916870415210724,
-0.14214402437210083,
-0.03837370127439499,
0.3071328103542328,
0.0016789864748716354,
0.37765711545944214,
-0.11794871091842651,
0.27512556314468384,
-0.38314634561538696,
0.3440393805503845,
-0.1850823163986206,
-0.15559756755828857,
-0.20099332928657532,
-0.08778696... |
https://github.com/huggingface/datasets/issues/3978 | The structure of the dataset is not supported. Only the CSV file is parsed and the audio files are ignored.
We're working on supporting audio datasets with a specific structure in #3963 | I can't view HFcallback dataset for ASR Space | ## Dataset viewer issue for '*Urdu-ASR-flags*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)*
*I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.*
A... | 32 | I can't view HFcallback dataset for ASR Space
## Dataset viewer issue for '*Urdu-ASR-flags*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)*
*I think dataset should show some thing and if you want me to add script, please show me the documentation. I thou... | [
-0.3399883508682251,
-0.1958577036857605,
-0.05082942172884941,
0.28120124340057373,
-0.03153778612613678,
0.33599844574928284,
-0.13354739546775818,
0.2814227342605591,
-0.3438001275062561,
0.3145848214626312,
-0.12042286247015,
-0.1139255091547966,
-0.25036242604255676,
0.015525266528129... |
https://github.com/huggingface/datasets/issues/3978 | Current error:
```
Error code: StreamingRowsError
Exception: LibsndfileError
Message: Error opening <File-like object HfFileSystem, datasets/kingabzpro/Urdu-ASR-flags@6a8878cfe3a41343fa86ec8b4254209fe56a0f0d/Please Record Your Voice/0.wav>: Format not recognised.
Traceback: Traceback (most recent ca... | I can't view HFcallback dataset for ASR Space | ## Dataset viewer issue for '*Urdu-ASR-flags*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)*
*I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.*
A... | 169 | I can't view HFcallback dataset for ASR Space
## Dataset viewer issue for '*Urdu-ASR-flags*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)*
*I think dataset should show some thing and if you want me to add script, please show me the documentation. I thou... | [
-0.34936296939849854,
-0.28385233879089355,
-0.0034880824387073517,
0.30124765634536743,
0.03595329076051712,
0.23716822266578674,
-0.17648863792419434,
0.3799987733364105,
-0.5007173418998718,
0.2187379002571106,
-0.10662205517292023,
-0.1053268164396286,
-0.294977068901062,
0.09007356315... |
https://github.com/huggingface/datasets/issues/3973 | Hi ! You can download the `oscar.py` file from this repository at `/datasets/oscar/oscar.py`.
Then you can load the dataset by passing the local path to `oscar.py` to `load_dataset`:
```python
load_dataset("path/to/oscar.py", "unshuffled_deduplicated_it")
``` | ConnectionError and SSLError | code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_2978... | 32 | ConnectionError and SSLError
code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\A... | [
-0.524814784526825,
0.04052342474460602,
-0.12303289026021957,
0.07250344008207321,
0.30416008830070496,
-0.0861736312508583,
0.37942779064178467,
0.31979042291641235,
0.16575413942337036,
0.12612518668174744,
-0.03680241480469704,
0.15446370840072632,
0.029569990932941437,
0.2415486425161... |
https://github.com/huggingface/datasets/issues/3973 | it works,but another error occurs.
```
ConnectionError: Couldn't reach https://s3.amazonaws.com/datasets.huggingface.co/oscar/1.0/unshuffled/deduplicated/it/it_sha256.txt (SSLError(MaxRetryError("HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/oscar/1.0/... | ConnectionError and SSLError | code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_2978... | 49 | ConnectionError and SSLError
code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\A... | [
-0.524814784526825,
0.04052342474460602,
-0.12303289026021957,
0.07250344008207321,
0.30416008830070496,
-0.0861736312508583,
0.37942779064178467,
0.31979042291641235,
0.16575413942337036,
0.12612518668174744,
-0.03680241480469704,
0.15446370840072632,
0.029569990932941437,
0.2415486425161... |
https://github.com/huggingface/datasets/issues/3973 | you are so wise!
it report [ConnectionError] in python 3.9.7
and works well in python 3.8.12
I need you help again: how can I specify the path for download files?
the data is too large and my C hardware is not enough | ConnectionError and SSLError | code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_2978... | 42 | ConnectionError and SSLError
code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\A... | [
-0.524814784526825,
0.04052342474460602,
-0.12303289026021957,
0.07250344008207321,
0.30416008830070496,
-0.0861736312508583,
0.37942779064178467,
0.31979042291641235,
0.16575413942337036,
0.12612518668174744,
-0.03680241480469704,
0.15446370840072632,
0.029569990932941437,
0.2415486425161... |
https://github.com/huggingface/datasets/issues/3973 | Cool ! And you can specify the path for download files with to the `cache_dir` parameter:
```python
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it', cache_dir='path/to/directory') | ConnectionError and SSLError | code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_2978... | 26 | ConnectionError and SSLError
code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\A... | [
-0.524814784526825,
0.04052342474460602,
-0.12303289026021957,
0.07250344008207321,
0.30416008830070496,
-0.0861736312508583,
0.37942779064178467,
0.31979042291641235,
0.16575413942337036,
0.12612518668174744,
-0.03680241480469704,
0.15446370840072632,
0.029569990932941437,
0.2415486425161... |
https://github.com/huggingface/datasets/issues/3973 | It takes me some days to download data completely, Despise sometimes it occurs again, change py version is feasible way to avoid this ConnectionEror.
parameter `cache_dir` works well, thanks for your kindness again! | ConnectionError and SSLError | code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_2978... | 33 | ConnectionError and SSLError
code
```
from datasets import load_dataset
dataset = load_dataset('oscar', 'unshuffled_deduplicated_it')
```
bug report
```
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
~\A... | [
-0.524814784526825,
0.04052342474460602,
-0.12303289026021957,
0.07250344008207321,
0.30416008830070496,
-0.0861736312508583,
0.37942779064178467,
0.31979042291641235,
0.16575413942337036,
0.12612518668174744,
-0.03680241480469704,
0.15446370840072632,
0.029569990932941437,
0.2415486425161... |
https://github.com/huggingface/datasets/issues/3969 | I guess the cache got corrupted due to a previous issue with Google Drive service.
The cache should be regenerated, e.g. by passing `download_mode="force_redownload"`.
CC: @severo | Cannot preview cnn_dailymail dataset | ## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| 26 | Cannot preview cnn_dailymail dataset
## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
I guess the cache got corrupted due to a previous issue with Google Drive service.
Th... | [
-0.30014416575431824,
0.10037167370319366,
-0.029510607942938805,
0.25272756814956665,
-0.03657178580760956,
0.4788867235183716,
0.35186347365379333,
0.13421565294265747,
-0.10761034488677979,
0.08160565793514252,
0.018579743802547455,
-0.0681075006723404,
-0.12971919775009155,
0.133021205... |
https://github.com/huggingface/datasets/issues/3969 | Note that the dataset preview uses its own cache, not `datasets`' cache. So `download_mode="force_redownload"` doesn't help. But yes indeed the cache must be refreshed.
The CNN Dailymail dataste is currently hosted on Google Drive, which is an unreliable host and we've had many issues with it. Unless we found anothe... | Cannot preview cnn_dailymail dataset | ## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| 81 | Cannot preview cnn_dailymail dataset
## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
Note that the dataset preview uses its own cache, not `datasets`' cache. So `download_mo... | [
-0.28775137662887573,
-0.07821326702833176,
0.02570274844765663,
0.19938872754573822,
-0.05140755698084831,
0.40687090158462524,
0.21871958673000336,
0.09372881054878235,
-0.014024518430233002,
-0.09562794119119644,
-0.07784487307071686,
0.009628437459468842,
-0.15789401531219482,
0.100140... |
https://github.com/huggingface/datasets/issues/3969 | I remove the tag dataset-viewer, since it's more an issue with the hosting on Google Drive | Cannot preview cnn_dailymail dataset | ## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| 16 | Cannot preview cnn_dailymail dataset
## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
I remove the tag dataset-viewer, since it's more an issue with the hosting on Google Dri... | [
-0.24904213845729828,
-0.030645370483398438,
-0.02463359199464321,
0.21047791838645935,
-0.048568245023489,
0.3847601115703583,
0.39278075098991394,
0.08987760543823242,
-0.048035528510808945,
0.15831229090690613,
0.01445898786187172,
-0.0029106028378009796,
-0.21348440647125244,
0.2687583... |
https://github.com/huggingface/datasets/issues/3969 | Sounds good. I was looking for another host of this dataset but couldn't find any (yet) | Cannot preview cnn_dailymail dataset | ## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| 16 | Cannot preview cnn_dailymail dataset
## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
Sounds good. I was looking for another host of this dataset but couldn't find any (yet) | [
-0.21710288524627686,
-0.2172529399394989,
0.026665765792131424,
0.21403086185455322,
-0.16017720103263855,
0.38835373520851135,
0.370282381772995,
-0.019498275592923164,
-0.07847282290458679,
0.07877463102340698,
-0.08251307904720306,
0.027587398886680603,
-0.29463186860084534,
0.09524428... |
https://github.com/huggingface/datasets/issues/3969 | It seems like the issue is with the streaming mode, not with the hosting:
```python
>>> import datasets
>>> dataset = datasets.load_dataset('cnn_dailymail', name="3.0.0", split="train", streaming=True, download_mode="force_redownload")
Downloading builder script: 9.35kB [00:00, 10.2MB/s]
Downloading metadata: 9.... | Cannot preview cnn_dailymail dataset | ## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| 101 | Cannot preview cnn_dailymail dataset
## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
It seems like the issue is with the streaming mode, not with the hosting:
```python
... | [
-0.2431962788105011,
-0.13574692606925964,
0.026514656841754913,
0.14626941084861755,
0.18964844942092896,
0.23447194695472717,
0.2769339084625244,
0.17176970839500427,
-0.1825178861618042,
0.0452863834798336,
-0.11515247076749802,
-0.020840724930167198,
-0.29062625765800476,
0.19238883256... |
https://github.com/huggingface/datasets/issues/3969 | Well this is because the host (Google Drive) returns a document that is not the actual data, but an error page | Cannot preview cnn_dailymail dataset | ## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| 21 | Cannot preview cnn_dailymail dataset
## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
Well this is because the host (Google Drive) returns a document that is not the actual d... | [
-0.22015127539634705,
-0.11768446862697601,
0.008099492639303207,
0.2750420570373535,
-0.15785175561904907,
0.45350712537765503,
0.27743279933929443,
0.10221761465072632,
-0.04836912453174591,
0.1661633849143982,
-0.03560017794370651,
-0.05258475989103317,
-0.18076075613498688,
0.182671338... |
https://github.com/huggingface/datasets/issues/3969 | Yes it definitely should ! I don't have the bandwidth to work on this right now though | Cannot preview cnn_dailymail dataset | ## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| 17 | Cannot preview cnn_dailymail dataset
## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
Yes it definitely should ! I don't have the bandwidth to work on this right now though | [
-0.24307765066623688,
-0.03200627863407135,
-0.03194744884967804,
0.20547276735305786,
-0.07797849178314209,
0.3501708209514618,
0.3647365868091583,
0.03610541298985481,
-0.14289800822734833,
0.07101437449455261,
0.04543643444776535,
0.13179633021354675,
-0.21722376346588135,
0.30430981516... |
https://github.com/huggingface/datasets/issues/3969 | Indeed, streaming was not supported: tgz archives were not properly iterated.
I've opened a PR to support streaming.
However, keep in mind that Google Drive will keep generating issues from time to time, like 403,... | Cannot preview cnn_dailymail dataset | ## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| 35 | Cannot preview cnn_dailymail dataset
## Dataset viewer issue for '*cnn_dailymail*'
**Link:** https://huggingface.co/datasets/cnn_dailymail
*short description of the issue*
Am I the one who added this dataset ? Yes-No
Indeed, streaming was not supported: tgz archives were not properly iterated.
I've op... | [
-0.31388187408447266,
-0.0006064474582672119,
0.07984352111816406,
0.12819811701774597,
-0.09457466006278992,
0.4155948758125305,
0.3022684156894684,
0.03997255861759186,
-0.288483202457428,
0.10472700744867325,
0.005994901061058044,
-0.13037529587745667,
-0.2775120735168457,
0.30531144142... |
https://github.com/huggingface/datasets/issues/3968 | Hi @cahya-wirawan, thanks for reporting.
Your dataset is working OK in streaming mode:
```python
In [1]: from datasets import load_dataset
...: ds = load_dataset("indonesian-nlp/eli5_id", split="train", streaming=True)
...: item = next(iter(ds))
...: item
Using custom data configuration indonesian-nlp... | Cannot preview 'indonesian-nlp/eli5_id' dataset | ## Dataset viewer issue for '*indonesian-nlp/eli5_id*'
**Link:** https://huggingface.co/datasets/indonesian-nlp/eli5_id
I can not see the dataset preview.
```
Server Error
Status code: 400
Exception: Status400Error
Message: Not found. Maybe the cache is missing, or maybe the dataset does not exis... | 271 | Cannot preview 'indonesian-nlp/eli5_id' dataset
## Dataset viewer issue for '*indonesian-nlp/eli5_id*'
**Link:** https://huggingface.co/datasets/indonesian-nlp/eli5_id
I can not see the dataset preview.
```
Server Error
Status code: 400
Exception: Status400Error
Message: Not found. Maybe the ca... | [
-0.38844650983810425,
-0.14188823103904724,
-0.07354117184877396,
0.15386809408664703,
-0.024768944829702377,
0.2311386615037918,
0.09294094145298004,
0.5587155222892761,
0.013209499418735504,
-0.003135964274406433,
-0.2292773425579071,
0.14132089912891388,
-0.008997872471809387,
0.0560640... |
https://github.com/huggingface/datasets/issues/3968 | Thanks @albertvillanova for checking it. Btw, I have another dataset indonesian-nlp/lfqa_id which has the same issue. However, this dataset is still private, is it the reason why the preview doesn't work? | Cannot preview 'indonesian-nlp/eli5_id' dataset | ## Dataset viewer issue for '*indonesian-nlp/eli5_id*'
**Link:** https://huggingface.co/datasets/indonesian-nlp/eli5_id
I can not see the dataset preview.
```
Server Error
Status code: 400
Exception: Status400Error
Message: Not found. Maybe the cache is missing, or maybe the dataset does not exis... | 31 | Cannot preview 'indonesian-nlp/eli5_id' dataset
## Dataset viewer issue for '*indonesian-nlp/eli5_id*'
**Link:** https://huggingface.co/datasets/indonesian-nlp/eli5_id
I can not see the dataset preview.
```
Server Error
Status code: 400
Exception: Status400Error
Message: Not found. Maybe the ca... | [
-0.3352320194244385,
-0.12393207848072052,
-0.027136236429214478,
0.277989000082016,
-0.14991495013237,
0.2525177001953125,
0.16896109282970428,
0.41718342900276184,
0.02622207999229431,
0.12788966298103333,
-0.20933151245117188,
0.027342356741428375,
0.07286354899406433,
-0.06333636492490... |
https://github.com/huggingface/datasets/issues/3965 | Hi @lewtun, thanks for reporting.
It seems that our library fails at inferring the dtype of the columns:
- `milestone`
- `performed_via_github_app`
(and assigns them `null` dtype). | TypeError: Couldn't cast array of type for JSONLines dataset | ## Describe the bug
One of the [course participants](https://discuss.huggingface.co/t/chapter-5-questions/11744/20?u=lewtun) is having trouble loading a JSONLines dataset that's composed of the GitHub issues from `spacy` (see stack trace below).
This reminds me a bit of #2799 where one can load the dataset in `pan... | 27 | TypeError: Couldn't cast array of type for JSONLines dataset
## Describe the bug
One of the [course participants](https://discuss.huggingface.co/t/chapter-5-questions/11744/20?u=lewtun) is having trouble loading a JSONLines dataset that's composed of the GitHub issues from `spacy` (see stack trace below).
This r... | [
0.003605969250202179,
-0.048000141978263855,
-0.05358686298131943,
0.4342816472053528,
0.4592536985874176,
0.15033948421478271,
0.4873128831386566,
0.32419535517692566,
0.4770771861076355,
-0.057501427829265594,
-0.0611841045320034,
0.1311788558959961,
-0.11000123620033264,
0.2816880941390... |
https://github.com/huggingface/datasets/issues/3960 | Hi! Instead of @nateraw's `image-folder`, I suggest using the newly released `imagefolder` dataset:
```python
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train/**'], 'validation': ['/ssd/datasets/imagenet/pytorch/val/**']}
>>> ds = load_dataset('imagefolder', data... | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 40 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | > Hi! Instead of @nateraw's `image-folder`, I suggest using the newly released `imagefolder` dataset:
>
> ```python
> >>> from datasets import load_dataset
> >>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train/**'], 'validation': ['/ssd/datasets/imagenet/pytorch/val/**']}
> >>> ds = load_dataset('imag... | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 378 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | You can pass `ignore_verifications=True` in `load_dataset` to make it fast (to skip checksum verification). I'll add this tip to the docs. | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 21 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | > You can pass `ignore_verifications=True` in `load_dataset` to make it fast (to skip checksum verification). I'll add this tip to the docs.
Thanks!It's worked well. | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 25 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | > You can pass `ignore_verifications=True` in `load_dataset` to make it fast (to skip checksum verification). I'll add this tip to the docs.
I find current `load_dataset` loads ImageNet still slowly, even add `ignore_verifications=True`.
First loading, it costs about 20 min in my servers.
```
real 19m23.023s
use... | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 83 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | And in transformers the [ViT example](https://github.com/huggingface/transformers/blob/main/examples/pytorch/image-classification/run_image_classification.py), could you make some changes ? Like the `collect_fn`
```python
def collate_fn(examples):
pixel_values = torch.stack([example["pixel_values"] for example i... | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 45 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | Loading the image files slowly, is it because the multiple processes load files at the same time? | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 17 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | Could you please share the output you get after the second loading? Also, feel free to interrupt (`KeyboardInterrupt`) the process while waiting for it to end and share a traceback to show us where the process hangs.
> And in transformers the [ViT example](https://github.com/huggingface/transformers/blob/main/exa... | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 125 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | > Could you please share the output you get after the second loading? Also, feel free to interrupt (`KeyboardInterrupt`) the process while waiting for it to end and share a traceback to show us where the process hangs.
>
> > And in transformers the [ViT example](https://github.com/huggingface/transformers/blob/main/... | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 269 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | Thanks for rerunning the code to record the output. Is it the `"Resolving data files"` part on your machine that takes a long time to complete, or is it `"Loading cached processed dataset at ..."˙`? We plan to speed up the latter by splitting bigger Arrow files into smaller ones, but your dataset doesn't seem that big,... | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 64 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | > Thanks for rerunning the code to record the output. Is it the `"Resolving data files"` part on your machine that takes a long time to complete, or is it `"Loading cached processed dataset at ..."˙`? We plan to speed up the latter by splitting bigger Arrow files into smaller ones, but your dataset doesn't seem that bi... | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 90 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3960 | I'm getting this problem. Script has been stuck at this part for the past 15 or so minutes:
`Resolving data files: 100%|█████████████████████████████████████████| 107/107 [00:00<00:00, 472.74it/s]`
I had everything working fine on an AWS EC2 node with a single GPU. Then I created an image based on the single GPU... | Load local dataset error | When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_dataset('nateraw/image-folder... | 162 | Load local dataset error
When i used the datasets==1.11.0, it's all right. Util update the latest version, it get the error like this:
```
>>> from datasets import load_dataset
>>> data_files={'train': ['/ssd/datasets/imagenet/pytorch/train'], 'validation': ['/ssd/datasets/imagenet/pytorch/val']}
>>> ds = load_da... | [
-0.3380221128463745,
-0.11414047330617905,
-0.02119751088321209,
0.23908688127994537,
0.42533355951309204,
-0.022540763020515442,
0.1771002560853958,
0.3576567471027374,
0.06696653366088867,
0.18955563008785248,
-0.1314772516489029,
0.15659359097480774,
-0.09680236130952835,
0.120188295841... |
https://github.com/huggingface/datasets/issues/3959 | Hi ! It looks like an issue with pyarrow, could you try updating pyarrow and try again ? | Medium-sized dataset conversion from pandas causes a crash | Hi, I am suffering from the following issue:
## Describe the bug
Conversion to arrow dataset from pandas dataframe of a certain size deterministically causes the following crash:
```
File "/home/datasets_crash.py", line 7, in <module>
arrow=datasets.Dataset.from_pandas(d)
File "/home/.conda/envs/tools... | 18 | Medium-sized dataset conversion from pandas causes a crash
Hi, I am suffering from the following issue:
## Describe the bug
Conversion to arrow dataset from pandas dataframe of a certain size deterministically causes the following crash:
```
File "/home/datasets_crash.py", line 7, in <module>
arrow=da... | [
-0.3885250687599182,
0.055236607789993286,
0.09809449315071106,
0.4302076995372772,
0.5165888071060181,
0.08926533162593842,
0.24365518987178802,
0.3483608067035675,
-0.18180078268051147,
0.05686722695827484,
0.06946411728858948,
0.49113887548446655,
-0.03995911404490471,
-0.06603991240262... |
https://github.com/huggingface/datasets/issues/3959 | I´m getting the same problem with some files, @albertvillanova did you find a solution to this? | Medium-sized dataset conversion from pandas causes a crash | Hi, I am suffering from the following issue:
## Describe the bug
Conversion to arrow dataset from pandas dataframe of a certain size deterministically causes the following crash:
```
File "/home/datasets_crash.py", line 7, in <module>
arrow=datasets.Dataset.from_pandas(d)
File "/home/.conda/envs/tools... | 16 | Medium-sized dataset conversion from pandas causes a crash
Hi, I am suffering from the following issue:
## Describe the bug
Conversion to arrow dataset from pandas dataframe of a certain size deterministically causes the following crash:
```
File "/home/datasets_crash.py", line 7, in <module>
arrow=da... | [
-0.3885250687599182,
0.055236607789993286,
0.09809449315071106,
0.4302076995372772,
0.5165888071060181,
0.08926533162593842,
0.24365518987178802,
0.3483608067035675,
-0.18180078268051147,
0.05686722695827484,
0.06946411728858948,
0.49113887548446655,
-0.03995911404490471,
-0.06603991240262... |
https://github.com/huggingface/datasets/issues/3956 | Hi @amirj, thanks for reporting.
At first sight, your issue seems a version incompatibility between your Elasticsearch client and your Elasticsearch server.
Feel free to have a look at Elasticsearch client docs: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/overview.html#_compatibility
... | TypeError: __init__() missing 1 required positional argument: 'scheme' | ## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting El... | 66 | TypeError: __init__() missing 1 required positional argument: 'scheme'
## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible th... | [
-0.2016848921775818,
-0.3632025718688965,
-0.0670635923743248,
-0.11549939215183258,
-0.015647906810045242,
0.24799789488315582,
0.23410816490650177,
0.28774234652519226,
0.06386111676692963,
0.09368989616632462,
-0.03584538772702217,
0.3917693495750427,
-0.021582528948783875,
-0.152335003... |
https://github.com/huggingface/datasets/issues/3956 | @albertvillanova It doesn't seem a version incompatibility between the client and server, since the following code is working:
```
from elasticsearch import Elasticsearch
es_client = Elasticsearch("http://localhost:9200")
dataset.add_elasticsearch_index(column="e1", es_client=es_client, es_index_name="e1_index")
... | TypeError: __init__() missing 1 required positional argument: 'scheme' | ## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting El... | 30 | TypeError: __init__() missing 1 required positional argument: 'scheme'
## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible th... | [
-0.2016848921775818,
-0.3632025718688965,
-0.0670635923743248,
-0.11549939215183258,
-0.015647906810045242,
0.24799789488315582,
0.23410816490650177,
0.28774234652519226,
0.06386111676692963,
0.09368989616632462,
-0.03584538772702217,
0.3917693495750427,
-0.021582528948783875,
-0.152335003... |
https://github.com/huggingface/datasets/issues/3956 | Hi @amirj,
I really think it is a version incompatibility issue between your Elasticsearch client and server:
- Your Elasticsearch server NodeConfig expects a positional argument named 'scheme'
- Whereas your Elasticsearch client passes only keyword arguments: `NodeConfig(**options)`
Moreover:
- Looking at yo... | TypeError: __init__() missing 1 required positional argument: 'scheme' | ## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting El... | 125 | TypeError: __init__() missing 1 required positional argument: 'scheme'
## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible th... | [
-0.2016848921775818,
-0.3632025718688965,
-0.0670635923743248,
-0.11549939215183258,
-0.015647906810045242,
0.24799789488315582,
0.23410816490650177,
0.28774234652519226,
0.06386111676692963,
0.09368989616632462,
-0.03584538772702217,
0.3917693495750427,
-0.021582528948783875,
-0.152335003... |
https://github.com/huggingface/datasets/issues/3956 | ```
from elasticsearch import Elasticsearch
es = Elasticsearch([{'host': 'localhost', 'port': 9200}])
```
```
TypeError Traceback (most recent call last)
<ipython-input-8-675c6ffe5293> in <module>
1 #es = Elasticsearch([{'host':'localhost', 'port':9200}])
2 from elast... | TypeError: __init__() missing 1 required positional argument: 'scheme' | ## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting El... | 179 | TypeError: __init__() missing 1 required positional argument: 'scheme'
## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible th... | [
-0.2016848921775818,
-0.3632025718688965,
-0.0670635923743248,
-0.11549939215183258,
-0.015647906810045242,
0.24799789488315582,
0.23410816490650177,
0.28774234652519226,
0.06386111676692963,
0.09368989616632462,
-0.03584538772702217,
0.3917693495750427,
-0.021582528948783875,
-0.152335003... |
https://github.com/huggingface/datasets/issues/3956 | @raj713335, thanks for reporting.
Please note that in your code example, you are not using our `datasets` library.
Thus, I think you should report that issue to `elasticsearch` library: https://github.com/elastic/elasticsearch-py
| TypeError: __init__() missing 1 required positional argument: 'scheme' | ## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting El... | 30 | TypeError: __init__() missing 1 required positional argument: 'scheme'
## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible th... | [
-0.2016848921775818,
-0.3632025718688965,
-0.0670635923743248,
-0.11549939215183258,
-0.015647906810045242,
0.24799789488315582,
0.23410816490650177,
0.28774234652519226,
0.06386111676692963,
0.09368989616632462,
-0.03584538772702217,
0.3917693495750427,
-0.021582528948783875,
-0.152335003... |
https://github.com/huggingface/datasets/issues/3956 | it is simple hack which shock you just replace https to http in scheme
**In My Case:** ->
`es = Elasticsearch([{'host': 'localhost', 'port': 9200, "scheme": "http"}])
if es.ping():
print('Connected to ES!')
else:
print('Could not connect!')
sys.exit()` | TypeError: __init__() missing 1 required positional argument: 'scheme' | ## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible though the tutorial doesn't provide any information about the supporting El... | 36 | TypeError: __init__() missing 1 required positional argument: 'scheme'
## Describe the bug
Based on [this tutorial](https://huggingface.co/docs/datasets/faiss_es#elasticsearch) the provided code should add Elasticsearch index but raised the following error, probably the new Elasticsearch version is not compatible th... | [
-0.2016848921775818,
-0.3632025718688965,
-0.0670635923743248,
-0.11549939215183258,
-0.015647906810045242,
0.24799789488315582,
0.23410816490650177,
0.28774234652519226,
0.06386111676692963,
0.09368989616632462,
-0.03584538772702217,
0.3917693495750427,
-0.021582528948783875,
-0.152335003... |
https://github.com/huggingface/datasets/issues/3954 | Hi @MatanBenChorin, thanks for reporting.
Please, take into account that the preview may take some time until it properly renders (we are working to reduce this time).
Maybe @severo can give more details on this. | The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset | ## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1'
**Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true
The dataset preview is not available for this dataset.
Am I the one who added this dataset ? Yes | 35 | The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset
## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1'
**Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true
The dataset preview is not available for this dataset.
Am I the one who added this dataset ? Yes
... | [
-0.31141677498817444,
-0.40148860216140747,
-0.06584376096725464,
0.26695889234542847,
0.08385829627513885,
0.11163133382797241,
0.2829133868217468,
0.266775518655777,
-0.08628709614276886,
0.31207096576690674,
-0.15960489213466644,
-0.014639778062701225,
0.0534689761698246,
0.174065127968... |
https://github.com/huggingface/datasets/issues/3954 | I imagine the dataset has been moved to https://huggingface.co/datasets/tdklab/Hebrew_Squad_v1, which still has an issue:
```
Server Error
Status code: 400
Exception: NameError
Message: name 'HebrewSquad' is not defined
``` | The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset | ## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1'
**Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true
The dataset preview is not available for this dataset.
Am I the one who added this dataset ? Yes | 29 | The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset
## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1'
**Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true
The dataset preview is not available for this dataset.
Am I the one who added this dataset ? Yes
... | [
-0.2194942682981491,
-0.14463390409946442,
-0.0731668472290039,
0.24114538729190826,
0.11757898330688477,
0.05819873511791229,
0.2833605110645294,
0.24552024900913239,
-0.17013296484947205,
0.3784971833229065,
-0.11629209667444229,
-0.04778779670596123,
-0.0005150362849235535,
-0.023455869... |
https://github.com/huggingface/datasets/issues/3954 | The issue is not related to the dataset viewer but to the loading script (cc @albertvillanova @lhoestq @mariosasko)
```python
>>> import datasets as ds
>>> hf_token = "hf_..." # <- required because the dataset is gated
>>> d = ds.load_dataset('tdklab/Hebrew_Squad_v1', use_auth_token=hf_token)
...
NameError: nam... | The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset | ## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1'
**Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true
The dataset preview is not available for this dataset.
Am I the one who added this dataset ? Yes | 49 | The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset
## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1'
**Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true
The dataset preview is not available for this dataset.
Am I the one who added this dataset ? Yes
... | [
-0.41619622707366943,
-0.1798672080039978,
-0.05000678822398186,
0.2247762680053711,
0.11789754778146744,
0.14644832909107208,
0.5444732308387756,
0.27416932582855225,
0.07050378620624542,
0.3551027178764343,
-0.16593214869499207,
-0.04696711525321007,
-0.053628042340278625,
0.051866717636... |
https://github.com/huggingface/datasets/issues/3954 | Yes indeed there is an error in [Hebrew_Squad_v1.py:L40](https://huggingface.co/datasets/tdklab/Hebrew_Squad_v1/blob/main/Hebrew_Squad_v1.py#L40)
Here is the fix @MatanBenChorin :
```diff
- HebrewSquad(
+ HebrewSquadConfig(
``` | The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset | ## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1'
**Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true
The dataset preview is not available for this dataset.
Am I the one who added this dataset ? Yes | 20 | The dataset preview is not available for tdklab/Hebrew_Squad_v1.1 dataset
## Dataset viewer issue for 'tdklab/Hebrew_Squad_v1.1'
**Link:** https://huggingface.co/api/datasets/tdklab/Hebrew_Squad_v1.1?full=true
The dataset preview is not available for this dataset.
Am I the one who added this dataset ? Yes
... | [
-0.41045475006103516,
-0.31678861379623413,
-0.0494651272892952,
0.25090351700782776,
0.21940366923809052,
0.1013825386762619,
0.2151305377483368,
0.29230523109436035,
-0.16139298677444458,
0.31736940145492554,
-0.19913123548030853,
-0.07472797483205795,
0.028309304267168045,
0.03329280763... |
https://github.com/huggingface/datasets/issues/3952 | Hi, @ravindra-ut.
I'm sorry but I can't reproduce your problem:
```python
In [1]: from datasets import load_dataset
In [2]: ds = load_dataset("glue", "sst2")
Downloading builder script: 28.8kB [00:00, 11.6MB/s] ... | Checksum error for glue sst2, stsb, rte etc datasets | ## Describe the bug
Checksum error for glue sst2, stsb, rte etc datasets
## Steps to reproduce the bug
```python
>>> nlp.load_dataset('glue', 'sst2')
Downloading and preparing dataset glue/sst2 (download: 7.09 MiB, generated: 4.81 MiB, post-processed: Unknown sizetotal: 11.90 MiB) to
Downloading: 100%|████████... | 179 | Checksum error for glue sst2, stsb, rte etc datasets
## Describe the bug
Checksum error for glue sst2, stsb, rte etc datasets
## Steps to reproduce the bug
```python
>>> nlp.load_dataset('glue', 'sst2')
Downloading and preparing dataset glue/sst2 (download: 7.09 MiB, generated: 4.81 MiB, post-processed: Unknow... | [
-0.0671883076429367,
0.1787160038948059,
-0.014720655977725983,
0.2622032165527344,
0.21774902939796448,
-0.13403478264808655,
0.1646665632724762,
0.3809950649738312,
0.21308735013008118,
-0.005903325974941254,
-0.08615699410438538,
0.06188854202628136,
0.047629669308662415,
0.214187920093... |
https://github.com/huggingface/datasets/issues/3951 | Thanks for reporting this second issue as well. We definitely want to make streaming datasets fully working in a distributed setup and with the best performance. Right now it only supports single process.
In this issue it seems that the streaming capabilities that we offer to dataset builders are not transferred to ... | Forked streaming datasets try to `open` data urls rather than use network | ## Describe the bug
Building on #3950, if you bypass the pickling problem you still can't use the dataset. Somehow something gets confused and the forked processes try to `open` urls rather than anything else.
## Steps to reproduce the bug
```python
from multiprocessing import freeze_support
import transformer... | 95 | Forked streaming datasets try to `open` data urls rather than use network
## Describe the bug
Building on #3950, if you bypass the pickling problem you still can't use the dataset. Somehow something gets confused and the forked processes try to `open` urls rather than anything else.
## Steps to reproduce the bug
... | [
-0.28709644079208374,
-0.5631281733512878,
0.07200668007135391,
0.2570628523826599,
0.030351657420396805,
-0.16190963983535767,
0.26984837651252747,
0.1394549310207367,
-0.29657232761383057,
0.10785578191280365,
-0.18194866180419922,
0.35378363728523254,
-0.1617899239063263,
-0.16461712121... |
https://github.com/huggingface/datasets/issues/3950 | Hi, thanks for reporting. This could be related to https://github.com/huggingface/datasets/issues/3148 too
We should definitely make `TorchIterableDataset` picklable by moving it in the main code instead of inside a function. If you'd like to contribute, feel free to open a Pull Request :)
I'm also taking a look ... | Streaming Datasets don't work with Transformers Trainer when dataloader_num_workers>1 | ## Describe the bug
Streaming Datasets can't be pickled, so any interaction between them and multiprocessing results in a crash.
## Steps to reproduce the bug
```python
import transformers
from transformers import Trainer, AutoModelForCausalLM, TrainingArguments
import datasets
ds = datasets.load_dataset('os... | 55 | Streaming Datasets don't work with Transformers Trainer when dataloader_num_workers>1
## Describe the bug
Streaming Datasets can't be pickled, so any interaction between them and multiprocessing results in a crash.
## Steps to reproduce the bug
```python
import transformers
from transformers import Trainer, Au... | [
-0.4724806547164917,
-0.3094196021556854,
0.06544236838817596,
0.3585297167301178,
0.2515181601047516,
-0.07021655142307281,
0.36714720726013184,
0.1715019941329956,
0.10683242976665497,
0.2775305509567261,
0.03599579632282257,
0.16378778219223022,
-0.5519858002662659,
0.04661016911268234,... |
https://github.com/huggingface/datasets/issues/3942 | Hi @XingxingZhang,
We have already fixed this. You should update `datasets` version to at least 1.18.4:
```shell
pip install -U datasets
```
And then force the redownload:
```python
load_dataset("...", download_mode="force_redownload")
```
Duplicate of:
- #3773 | reddit_tifu dataset: Checksums didn't match for dataset source files | ## Describe the bug
When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files"
## Steps to reproduce the bug
```python
import datasets
from datasets import load_dataset
print(datasets.__version__)
# load_dataset('billsum')
load_dataset('reddit_tifu'... | 35 | reddit_tifu dataset: Checksums didn't match for dataset source files
## Describe the bug
When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files"
## Steps to reproduce the bug
```python
import datasets
from datasets import load_dataset
print(datasets.... | [
-0.3985462486743927,
0.12682637572288513,
-0.09007889032363892,
0.15316444635391235,
0.4119482636451721,
-0.0722520649433136,
0.13589632511138916,
0.460946649312973,
-0.07003960013389587,
-0.08690930157899857,
-0.1713990569114685,
0.47255557775497437,
0.29607000946998596,
0.221658900380134... |
https://github.com/huggingface/datasets/issues/3942 | thanks @albertvillanova . by upgrading to 1.18.4 and using `load_dataset("...", download_mode="force_redownload")` fixed
the bug.
using the following as you suggested in another thread can also fixed the bug
```
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
| reddit_tifu dataset: Checksums didn't match for dataset source files | ## Describe the bug
When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files"
## Steps to reproduce the bug
```python
import datasets
from datasets import load_dataset
print(datasets.__version__)
# load_dataset('billsum')
load_dataset('reddit_tifu'... | 33 | reddit_tifu dataset: Checksums didn't match for dataset source files
## Describe the bug
When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files"
## Steps to reproduce the bug
```python
import datasets
from datasets import load_dataset
print(datasets.... | [
-0.42410802841186523,
0.12165410816669464,
-0.08513202518224716,
0.1159740537405014,
0.41043660044670105,
-0.10158804059028625,
0.16164880990982056,
0.4821438789367676,
-0.06761130690574646,
-0.08315856754779816,
-0.17158032953739166,
0.4847012758255005,
0.2961728870868683,
0.2609198689460... |
https://github.com/huggingface/datasets/issues/3942 | The latter solution (installing from GitHub) was proposed because the fix was not released yet. But last week we made the 1.18.4 patch release (with the fix), so no longer necessary to install from GitHub.
You can now install from PyPI, as usual:
```shell
pip install -U datasets
```
| reddit_tifu dataset: Checksums didn't match for dataset source files | ## Describe the bug
When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files"
## Steps to reproduce the bug
```python
import datasets
from datasets import load_dataset
print(datasets.__version__)
# load_dataset('billsum')
load_dataset('reddit_tifu'... | 49 | reddit_tifu dataset: Checksums didn't match for dataset source files
## Describe the bug
When loading the reddit_tifu dataset, it throws the exception "Checksums didn't match for dataset source files"
## Steps to reproduce the bug
```python
import datasets
from datasets import load_dataset
print(datasets.... | [
-0.39724576473236084,
0.11584952473640442,
-0.09440073370933533,
0.07433788478374481,
0.37429729104042053,
-0.10165596008300781,
0.13412556052207947,
0.5053941607475281,
-0.1505984663963318,
-0.039488472044467926,
-0.15302646160125732,
0.49132511019706726,
0.3067786693572998,
0.21832913160... |
https://github.com/huggingface/datasets/issues/3941 | Hi @XingxingZhang, thanks for reporting.
This was due to a change in Google Drive service:
- #3786
We have already fixed it:
- #3787
You should update `datasets` version to at least 1.18.4:
```shell
pip install -U datasets
```
And then force the redownload:
```python
load_dataset("...", download_mode=... | billsum dataset: Checksums didn't match for dataset source files: | ## Describe the bug
When loading the `billsum` dataset, it throws the exception "Checksums didn't match for dataset source files"
```
File "virtualenv_projects/codex/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 40, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_u... | 48 | billsum dataset: Checksums didn't match for dataset source files:
## Describe the bug
When loading the `billsum` dataset, it throws the exception "Checksums didn't match for dataset source files"
```
File "virtualenv_projects/codex/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 40, in verify... | [
-0.44397425651550293,
0.3979528248310089,
-0.10348037630319595,
0.18862521648406982,
0.22775088250637054,
0.0679108053445816,
0.2159261852502823,
0.29856735467910767,
0.16421279311180115,
0.12229880690574646,
0.0958598181605339,
0.03607430309057236,
0.14741915464401245,
0.22022420167922974... |
https://github.com/huggingface/datasets/issues/3939 | Thanks for reporting @qqaatw.
@mishig25 @sgugger do you think this can be tweaked in the new doc framework?
- From: https://github.com/huggingface/datasets/blob/v2.0.0/
- To: https://github.com/huggingface/datasets/blob/2.0.0/ | Source links broken | ## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features... | 24 | Source links broken
## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0... | [
-0.018727071583271027,
-0.006373360753059387,
0.05063744634389877,
-0.01558525487780571,
0.10345356166362762,
0.0018571093678474426,
0.09430789947509766,
0.4163028299808502,
-0.3947230577468872,
-0.08368417620658875,
-0.037257980555295944,
0.317952960729599,
-0.16649284958839417,
0.2242850... |
https://github.com/huggingface/datasets/issues/3939 | @qqaatw thanks a lot for notifying about this issue!
in comparison, transformers tags start with `v` like [this one](https://github.com/huggingface/transformers/blob/v4.17.0/src/transformers/models/bert/configuration_bert.py#L54).
Therefore, we have to do one of 2 options below:
1. Make necessary changes on doc-... | Source links broken | ## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features... | 64 | Source links broken
## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0... | [
0.006573379039764404,
-0.0883273035287857,
0.05522353574633598,
-0.007705651223659515,
0.2573397755622864,
-0.07141019403934479,
0.19456329941749573,
0.3197169005870819,
-0.34240061044692993,
-0.134950190782547,
-0.1559809148311615,
0.2802293300628662,
-0.05605541914701462,
0.1167270019650... |
https://github.com/huggingface/datasets/issues/3939 | I think option 2 is the easiest and would provide harmony in the HF ecosystem but we can also add a doc config parameter to decide whether the default version has a v or not if `datasets` folks prefer their tags without a v :-) | Source links broken | ## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features... | 45 | Source links broken
## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0... | [
-0.09380955249071121,
-0.026081398129463196,
0.06042053923010826,
-0.04348868131637573,
0.1273481249809265,
0.021094471216201782,
0.048109784722328186,
0.4152698516845703,
-0.22354283928871155,
-0.059647783637046814,
-0.11131656169891357,
0.29802417755126953,
-0.0862366333603859,
0.2317367... |
https://github.com/huggingface/datasets/issues/3939 | For me it is OK to conform to the rest of libraries and tag/release with a preceding "v", rather than adding an extra argument to the doc builder just for `datasets`.
Let me know if it is also OK for you @lhoestq. | Source links broken | ## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features... | 42 | Source links broken
## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0... | [
-0.06857304275035858,
-0.04098232090473175,
0.03707238286733627,
0.02772613987326622,
0.11493329703807831,
-0.003794051706790924,
0.09673570096492767,
0.382996141910553,
-0.2840081751346588,
-0.08975005149841309,
0.013847894966602325,
0.4365790784358978,
-0.16966989636421204,
0.20860910415... |
https://github.com/huggingface/datasets/issues/3939 | We could add a tag for each release without a 'v' but it could be confusing on github to see both tags `v2.0.0` and `2.0.0` IMO (not sure if many users check them though). Removing the tags without 'v' would break our versioning for github datasets: the library looks for dataset scripts at the URLs like `https://raw.gi... | Source links broken | ## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features... | 111 | Source links broken
## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0... | [
-0.05422186106443405,
0.013688355684280396,
0.0050492361187934875,
-0.011431127786636353,
0.11554139852523804,
-0.026993170380592346,
0.09385916590690613,
0.45970600843429565,
-0.30111849308013916,
-0.04287797212600708,
0.009344872087240219,
0.37822097539901733,
-0.18527095019817352,
0.194... |
https://github.com/huggingface/datasets/issues/3939 | This is done in #3943 to go along with [doc-builder#146](https://github.com/huggingface/doc-builder/pull/146).
Note that this will only work for future versions, so once those two are merged, the actual v2.0.0 doc should be fixed. The easiest is to cherry-pick this commit on the v2.0.0 release branch (or on a new br... | Source links broken | ## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features... | 66 | Source links broken
## Describe the bug
The source links of v2.0.0 docs are broken:
For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0... | [
-0.10714328289031982,
-0.03729049861431122,
0.047776125371456146,
0.005762156099081039,
0.11596415936946869,
0.0030810311436653137,
0.12522903084754944,
0.423019677400589,
-0.31484729051589966,
-0.026350364089012146,
0.0007159747183322906,
0.3678087890148163,
-0.0986708402633667,
0.2560931... |
https://github.com/huggingface/datasets/issues/3937 | That seems to be an oversight - I originally planned to include them in the dataset and for some reason they were in the list of languages but not in the query. Since there is an issue with the deduplication step I'll rerun the pipeline anyway and will double check the query.
Thanks for reporting this @Eytan-S! | Missing languages in lvwerra/github-code dataset | Hi,
I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset!
I've noticed that two languages are missing from the dataset: TypeScript and Scala.
Looks like they're also omitted from the query you used to get the original code.
Are there any plans to add them in the fut... | 57 | Missing languages in lvwerra/github-code dataset
Hi,
I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset!
I've noticed that two languages are missing from the dataset: TypeScript and Scala.
Looks like they're also omitted from the query you used to get the origina... | [
0.028587087988853455,
0.08368441462516785,
-0.2411944419145584,
0.11609740555286407,
0.1939319372177124,
0.0751112848520279,
0.11346019804477692,
0.30450212955474854,
0.21810367703437805,
-0.04457840323448181,
0.010674819350242615,
0.31046271324157715,
-0.06616649776697159,
0.1592537760734... |
https://github.com/huggingface/datasets/issues/3937 | Can confirm that the two languages are indeed missing from the dataset. Here are the file counts per language:
```Python
{'Assembly': 82847,
'Batchfile': 236755,
'C': 14127969,
'C#': 6793439,
'C++': 7368473,
'CMake': 175076,
'CSS': 1733625,
'Dockerfile': 331966,
'FORTRAN': 141963,
'GO': 2259363,
'... | Missing languages in lvwerra/github-code dataset | Hi,
I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset!
I've noticed that two languages are missing from the dataset: TypeScript and Scala.
Looks like they're also omitted from the query you used to get the original code.
Are there any plans to add them in the fut... | 82 | Missing languages in lvwerra/github-code dataset
Hi,
I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset!
I've noticed that two languages are missing from the dataset: TypeScript and Scala.
Looks like they're also omitted from the query you used to get the origina... | [
-0.02567991614341736,
0.19238904118537903,
-0.2729780673980713,
0.07069531828165054,
0.2020144760608673,
0.0939289927482605,
0.16081136465072632,
0.42618465423583984,
0.1612202376127243,
0.016409579664468765,
0.029924064874649048,
0.15671689808368683,
-0.16406503319740295,
0.18716412782669... |
https://github.com/huggingface/datasets/issues/3937 | @Eytan-S check out v1.1 of the `github-code` dataset where issue should be fixed:
| | Language |File Count| Size (GB)|
|---:|:-------------|---------:|-------:|
| 0 | Java | 19548190 | 107.7 |
| 1 | C | 14143113 | 183.83 |
| 2 | JavaScript | 11839883 | 87.82 |
| 3 | HTML ... | Missing languages in lvwerra/github-code dataset | Hi,
I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset!
I've noticed that two languages are missing from the dataset: TypeScript and Scala.
Looks like they're also omitted from the query you used to get the original code.
Are there any plans to add them in the fut... | 292 | Missing languages in lvwerra/github-code dataset
Hi,
I'm working with the github-code dataset. First of all, thank you for creating this amazing dataset!
I've noticed that two languages are missing from the dataset: TypeScript and Scala.
Looks like they're also omitted from the query you used to get the origina... | [
-0.11650226265192032,
0.1757308840751648,
-0.2867789566516876,
0.044658467173576355,
0.2342691421508789,
0.06973344087600708,
0.21076875925064087,
0.48765966296195984,
0.09907782077789307,
-0.030291862785816193,
0.01041422039270401,
0.13508284091949463,
-0.1065371185541153,
0.2204892933368... |
https://github.com/huggingface/datasets/issues/3929 | Hi @caush, thanks for reporting:
In order to load local CSV files, you can use our "csv" loading script: https://huggingface.co/docs/datasets/loading#csv
```python
dataset = load_dataset("csv", data_files=["data/file1.csv", "data/file2.csv"])
```
OR:
```python
dataset = load_dataset("csv", data_dir="data")
``... | Load a local dataset twice | ## Describe the bug
Load a local "dataset" composed of two csv files twice.
## Steps to reproduce the bug
Put the two joined files in a repository named "Data".
Then in python:
import datasets as ds
ds.load_dataset('Data', data_files = {'file1.csv', 'file2.csv'})
## Expected results
Should give something ... | 43 | Load a local dataset twice
## Describe the bug
Load a local "dataset" composed of two csv files twice.
## Steps to reproduce the bug
Put the two joined files in a repository named "Data".
Then in python:
import datasets as ds
ds.load_dataset('Data', data_files = {'file1.csv', 'file2.csv'})
## Expected re... | [
-0.004709847271442413,
-0.23964636027812958,
-0.09018443524837494,
0.23674017190933228,
0.18133652210235596,
-0.025692656636238098,
0.33775192499160767,
0.3137401342391968,
0.3259294033050537,
0.47391530871391296,
-0.13535867631435394,
0.06573448330163956,
0.28899046778678894,
0.0849126651... |
https://github.com/huggingface/datasets/issues/3928 | Hi @Ierezell, thanks for reporting.
I'm making a PR to suppress those logs from the terminal. | Frugal score deprecations | ## Describe the bug
The frugal score returns a really verbose output with warnings that can be easily changed.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
from datasets.load import load_metric
frugal = load_metric("frugalscore")
frugal.compute(predictions=["Do you like spinach... | 16 | Frugal score deprecations
## Describe the bug
The frugal score returns a really verbose output with warnings that can be easily changed.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
from datasets.load import load_metric
frugal = load_metric("frugalscore")
frugal.compute(predi... | [
-0.3378296494483948,
-0.15357738733291626,
-0.0394475981593132,
0.10396920144557953,
0.4437429904937744,
-0.18886910378932953,
-0.15926866233348846,
0.1735536754131317,
-0.020147215574979782,
0.20251193642616272,
-0.06267456710338593,
0.43469908833503723,
-0.17484092712402344,
-0.034357100... |
https://github.com/huggingface/datasets/issues/3920 | Hi @Arij-Aladel,
You are using a very old version of our library `datasets`: 1.8.0
Current version is 2.0.0 (and the previous one was 1.18.4)
Please, try to update `datasets` library and check if the problem persists:
```shell
/env/bin/pip install -U datasets | 'datasets.features' is not a package | @albertvillanova
python 3.9
os: ubuntu 20.04
In conda environment
torch installed by
```/env/bin/pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html```
datasets package is installed by
```
/env/bin/pip install datasets==1.8.... | 41 | 'datasets.features' is not a package
@albertvillanova
python 3.9
os: ubuntu 20.04
In conda environment
torch installed by
```/env/bin/pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html```
datasets package is installed by
``... | [
-0.37417563796043396,
-0.2259196937084198,
-0.09576909244060516,
0.38590553402900696,
0.32677218317985535,
0.13503122329711914,
0.2670207619667053,
0.24143186211585999,
-0.3361452519893646,
-0.14156818389892578,
0.26847338676452637,
0.5509800910949707,
-0.25971415638923645,
-0.112549200654... |
https://github.com/huggingface/datasets/issues/3920 | The problem I can no I have build my project on this version and old version on transformers. I have preprocessed the data again to use it. Thank for your reply | 'datasets.features' is not a package | @albertvillanova
python 3.9
os: ubuntu 20.04
In conda environment
torch installed by
```/env/bin/pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html```
datasets package is installed by
```
/env/bin/pip install datasets==1.8.... | 31 | 'datasets.features' is not a package
@albertvillanova
python 3.9
os: ubuntu 20.04
In conda environment
torch installed by
```/env/bin/pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html```
datasets package is installed by
``... | [
-0.37417563796043396,
-0.2259196937084198,
-0.09576909244060516,
0.38590553402900696,
0.32677218317985535,
0.13503122329711914,
0.2670207619667053,
0.24143186211585999,
-0.3361452519893646,
-0.14156818389892578,
0.26847338676452637,
0.5509800910949707,
-0.25971415638923645,
-0.112549200654... |
https://github.com/huggingface/datasets/issues/3919 | You are likely trying to get the `features` from a `DatasetDict`, a dictionary containing `Datasets`. You probably first want to index into a particular split from your `DatasetDict` i.e. `dataset['train'].features`.
For example
```python
ds = load_dataset('mnist')
ds.features
```
Returns
```python
----... | AttributeError: 'DatasetDict' object has no attribute 'features' | ## Describe the bug
Receiving the error when trying to check for Dataset features
## Steps to reproduce the bug
from datasets import Dataset
dataset = Dataset.from_pandas(df[['id', 'words', 'bboxes', 'ner_tags', 'image_path']])
dataset.features
## Expected results
A clear and concise description of the exp... | 129 | AttributeError: 'DatasetDict' object has no attribute 'features'
## Describe the bug
Receiving the error when trying to check for Dataset features
## Steps to reproduce the bug
from datasets import Dataset
dataset = Dataset.from_pandas(df[['id', 'words', 'bboxes', 'ner_tags', 'image_path']])
dataset.features... | [
-0.01395394653081894,
-0.03527215123176575,
-0.10288148373365402,
0.3369746208190918,
0.32774263620376587,
0.022652223706245422,
0.3033016324043274,
0.45446455478668213,
0.1717875748872757,
0.1745671033859253,
0.069193035364151,
0.44780004024505615,
-0.24363267421722412,
0.1366269588470459... |
https://github.com/huggingface/datasets/issues/3918 | Hi @willowdong! These issues were fixed on master. We will have a new release of `datasets` later today. In the meantime, you can avoid these issues by installing `datasets` from master as follows:
```bash
pip install git+https://github.com/huggingface/datasets.git
``` | datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files | ## Describe the bug
Can't load the dataset
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
```
from datasets import load_dataset
dataset = load_dataset('multi_news')
dataset_2=load_dataset("reddit_tifu", "long")
## Actual results
raise NonMatchingChecksumError(error_msg + s... | 38 | datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files
## Describe the bug
Can't load the dataset
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
```
from datasets import load_dataset
dataset = load_dataset('multi_news')
dataset_2=loa... | [
-0.32519859075546265,
0.10444581508636475,
-0.12089786678552628,
0.19404193758964539,
0.2922669053077698,
0.049871474504470825,
0.12173264473676682,
0.3344368636608124,
0.09431666135787964,
0.1404140293598175,
-0.12785309553146362,
0.20294755697250366,
0.04963623732328415,
0.09129929542541... |
https://github.com/huggingface/datasets/issues/3909 | Hi ! It could an issue with torchaudio, which version of torchaudio are you using ? Can you also try updating `datasets` to 2.0.0 and see if it works ? | Error loading file audio when downloading the Common Voice dataset directly from the Hub | ## Describe the bug
When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened.
## Steps to reproduce the bug
```python
import torch
import torchaudio
from datasets import load_dataset, load_metric
from transformers import Wav2Vec2ForCTC, Wav2Vec2... | 30 | Error loading file audio when downloading the Common Voice dataset directly from the Hub
## Describe the bug
When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened.
## Steps to reproduce the bug
```python
import torch
import torchaudio
from d... | [
-0.2770319879055023,
-0.5579100847244263,
0.09589679539203644,
0.43422484397888184,
0.09727855026721954,
0.027911260724067688,
0.15836185216903687,
0.3387337327003479,
0.221358060836792,
0.15522468090057373,
-0.6184943914413452,
0.18397507071495056,
-0.052941083908081055,
-0.34789967536926... |
https://github.com/huggingface/datasets/issues/3909 | I _might_ have a similar issue. I'm trying to use the librispeech_asr dataset and read it with soundfile.
```python
from datasets import load_dataset, load_metric
from transformers import Speech2TextForConditionalGeneration, Speech2TextProcessor
import soundfile as sf
librispeech_eval = load_dataset("librispee... | Error loading file audio when downloading the Common Voice dataset directly from the Hub | ## Describe the bug
When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened.
## Steps to reproduce the bug
```python
import torch
import torchaudio
from datasets import load_dataset, load_metric
from transformers import Wav2Vec2ForCTC, Wav2Vec2... | 854 | Error loading file audio when downloading the Common Voice dataset directly from the Hub
## Describe the bug
When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened.
## Steps to reproduce the bug
```python
import torch
import torchaudio
from d... | [
-0.2770319879055023,
-0.5579100847244263,
0.09589679539203644,
0.43422484397888184,
0.09727855026721954,
0.027911260724067688,
0.15836185216903687,
0.3387337327003479,
0.221358060836792,
0.15522468090057373,
-0.6184943914413452,
0.18397507071495056,
-0.052941083908081055,
-0.34789967536926... |
https://github.com/huggingface/datasets/issues/3909 | Hi ! In `datasets` 2.0 can access the audio array with `librispeech_eval[0]["audio"]["array"]` already, no need to use `map_to_array`. See our documentation on [how to process audio data](https://huggingface.co/docs/datasets/audio_process) :)
cc @patrickvonplaten we will need to update the readme at [facebook/s2t-sm... | Error loading file audio when downloading the Common Voice dataset directly from the Hub | ## Describe the bug
When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened.
## Steps to reproduce the bug
```python
import torch
import torchaudio
from datasets import load_dataset, load_metric
from transformers import Wav2Vec2ForCTC, Wav2Vec2... | 43 | Error loading file audio when downloading the Common Voice dataset directly from the Hub
## Describe the bug
When loading the Common_Voice dataset, by downloading it directly from the Hugging Face hub, some files can not be opened.
## Steps to reproduce the bug
```python
import torch
import torchaudio
from d... | [
-0.2770319879055023,
-0.5579100847244263,
0.09589679539203644,
0.43422484397888184,
0.09727855026721954,
0.027911260724067688,
0.15836185216903687,
0.3387337327003479,
0.221358060836792,
0.15522468090057373,
-0.6184943914413452,
0.18397507071495056,
-0.052941083908081055,
-0.34789967536926... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.