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/2969 | Hi @albertvillanova -- I see you made changes to the wikitext dataset a few hours ago.
I'm getting an error similar to the one here : https://github.com/huggingface/datasets/issues/215
After your changes.
I deleted the original dataset cache after encountering that error and then rerun with the following command ... | medical-dialog error | ## Describe the bug
A clear and concise description of what the bug is.
When I attempt to download the huggingface datatset medical_dialog it errors out midway through
## Steps to reproduce the bug
```python
raw_datasets = load_dataset("medical_dialog", "en", split="train", download_mode="force_redownload", data_d... | 70 | medical-dialog error
## Describe the bug
A clear and concise description of what the bug is.
When I attempt to download the huggingface datatset medical_dialog it errors out midway through
## Steps to reproduce the bug
```python
raw_datasets = load_dataset("medical_dialog", "en", split="train", download_mode="fo... | [
-0.1376761794090271,
-0.2538639008998871,
0.13575106859207153,
0.1463402807712555,
0.09823393076658249,
0.20577555894851685,
0.18414410948753357,
0.39998263120651245,
-0.061984069645404816,
0.03817646950483322,
-0.2858353555202484,
0.12894001603126526,
-0.068120077252388,
0.392261058092117... |
https://github.com/huggingface/datasets/issues/2969 | @ldery, you can find the answer in the corresponding Discussion on the Hub: https://huggingface.co/datasets/wikitext/discussions/9
You need to update the `datasets` library:
```shell
pip install -U datasets
``` | medical-dialog error | ## Describe the bug
A clear and concise description of what the bug is.
When I attempt to download the huggingface datatset medical_dialog it errors out midway through
## Steps to reproduce the bug
```python
raw_datasets = load_dataset("medical_dialog", "en", split="train", download_mode="force_redownload", data_d... | 27 | medical-dialog error
## Describe the bug
A clear and concise description of what the bug is.
When I attempt to download the huggingface datatset medical_dialog it errors out midway through
## Steps to reproduce the bug
```python
raw_datasets = load_dataset("medical_dialog", "en", split="train", download_mode="fo... | [
-0.1454198956489563,
-0.3687911033630371,
0.131913423538208,
0.28032875061035156,
0.08745549619197845,
0.15935556590557098,
0.13505518436431885,
0.3608302175998688,
-0.047206636518239975,
0.07731151580810547,
-0.283397376537323,
0.153664231300354,
-0.03796186298131943,
0.45213833451271057,... |
https://github.com/huggingface/datasets/issues/2968 | This is because you have to specify which split corresponds to what file:
```python
data_files = {"train": "train/split.parquet", "validation": "validation/split.parquet"}
brand_new_dataset_2 = load_dataset("ds", data_files=data_files)
```
Otherwise it tries to concatenate the two splits, and it fails because th... | `DatasetDict` cannot be exported to parquet if the splits have different features | ## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDict`, I use `to_parquet` on each split to save the parquet files in individual folder... | 64 | `DatasetDict` cannot be exported to parquet if the splits have different features
## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDi... | [
-0.15334481000900269,
-0.008550330996513367,
0.05414251238107681,
0.4590761065483093,
0.0908740907907486,
0.053112246096134186,
0.25642475485801697,
0.20468780398368835,
0.16955426335334778,
0.0804399624466896,
0.25335270166397095,
0.36296552419662476,
-0.13072313368320465,
0.4581688046455... |
https://github.com/huggingface/datasets/issues/2968 | I may be mistaken but I think the following doesn't work either:
```python
from datasets import load_dataset
ds = load_dataset("lhoestq/custom_squad")
def identical_answers(e):
e['identical_answers'] = len(set(e['answers']['text'])) == 1
return e
ds['validation'] = ds['validation'].map(identi... | `DatasetDict` cannot be exported to parquet if the splits have different features | ## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDict`, I use `to_parquet` on each split to save the parquet files in individual folder... | 45 | `DatasetDict` cannot be exported to parquet if the splits have different features
## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDi... | [
-0.15334481000900269,
-0.008550330996513367,
0.05414251238107681,
0.4590761065483093,
0.0908740907907486,
0.053112246096134186,
0.25642475485801697,
0.20468780398368835,
0.16955426335334778,
0.0804399624466896,
0.25335270166397095,
0.36296552419662476,
-0.13072313368320465,
0.4581688046455... |
https://github.com/huggingface/datasets/issues/2968 | It works on my side as soon as the directories named `ds/train` and `ds/validation` exist (otherwise it returns a FileNotFoundError). What error are you getting ? | `DatasetDict` cannot be exported to parquet if the splits have different features | ## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDict`, I use `to_parquet` on each split to save the parquet files in individual folder... | 26 | `DatasetDict` cannot be exported to parquet if the splits have different features
## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDi... | [
-0.15334481000900269,
-0.008550330996513367,
0.05414251238107681,
0.4590761065483093,
0.0908740907907486,
0.053112246096134186,
0.25642475485801697,
0.20468780398368835,
0.16955426335334778,
0.0804399624466896,
0.25335270166397095,
0.36296552419662476,
-0.13072313368320465,
0.4581688046455... |
https://github.com/huggingface/datasets/issues/2968 | Also we may introduce a default mapping for the data files:
```python
{
"train": ["*train*"],
"test": ["*test*"],
"validation": ["*dev*", "valid"],
}
```
this way if you name your files according to the splits you won't have to specify the data_files parameter. What do you think ?
I moved this di... | `DatasetDict` cannot be exported to parquet if the splits have different features | ## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDict`, I use `to_parquet` on each split to save the parquet files in individual folder... | 52 | `DatasetDict` cannot be exported to parquet if the splits have different features
## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDi... | [
-0.15334481000900269,
-0.008550330996513367,
0.05414251238107681,
0.4590761065483093,
0.0908740907907486,
0.053112246096134186,
0.25642475485801697,
0.20468780398368835,
0.16955426335334778,
0.0804399624466896,
0.25335270166397095,
0.36296552419662476,
-0.13072313368320465,
0.4581688046455... |
https://github.com/huggingface/datasets/issues/2968 | I'm getting the following error:
```
Downloading and preparing dataset custom_squad/plain_text to /home/lysandre/.cache/huggingface/datasets/lhoestq___custom_squad)/plain_text/1.0.0/397916d1ae99584877e0fb4f5b8b6f01e66fcbbeff4d178afb30c933a8d0d93a...
100%|██████████| 2/2 [00:00<00:00, 7760.04it/s]
100%|██████████|... | `DatasetDict` cannot be exported to parquet if the splits have different features | ## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDict`, I use `to_parquet` on each split to save the parquet files in individual folder... | 237 | `DatasetDict` cannot be exported to parquet if the splits have different features
## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDi... | [
-0.15334481000900269,
-0.008550330996513367,
0.05414251238107681,
0.4590761065483093,
0.0908740907907486,
0.053112246096134186,
0.25642475485801697,
0.20468780398368835,
0.16955426335334778,
0.0804399624466896,
0.25335270166397095,
0.36296552419662476,
-0.13072313368320465,
0.4581688046455... |
https://github.com/huggingface/datasets/issues/2968 | I just tried again on colab by installing `datasets` from source with pyarrow 3.0.0 and didn't get any error.
You error seems to happen when doing
```python
ds = load_dataset("lhoestq/custom_squad")
```
More specifically it fails when trying to read the arrow file that just got generated. I haven't issues like... | `DatasetDict` cannot be exported to parquet if the splits have different features | ## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDict`, I use `to_parquet` on each split to save the parquet files in individual folder... | 80 | `DatasetDict` cannot be exported to parquet if the splits have different features
## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDi... | [
-0.15334481000900269,
-0.008550330996513367,
0.05414251238107681,
0.4590761065483093,
0.0908740907907486,
0.053112246096134186,
0.25642475485801697,
0.20468780398368835,
0.16955426335334778,
0.0804399624466896,
0.25335270166397095,
0.36296552419662476,
-0.13072313368320465,
0.4581688046455... |
https://github.com/huggingface/datasets/issues/2968 | Thank you for your pointer! This seems to have been linked to Python 3.9.7: it works flawlessly with Python 3.8.6. This can be closed, thanks a lot for your help. | `DatasetDict` cannot be exported to parquet if the splits have different features | ## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDict`, I use `to_parquet` on each split to save the parquet files in individual folder... | 30 | `DatasetDict` cannot be exported to parquet if the splits have different features
## Describe the bug
I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly.
For `DatasetDi... | [
-0.15334481000900269,
-0.008550330996513367,
0.05414251238107681,
0.4590761065483093,
0.0908740907907486,
0.053112246096134186,
0.25642475485801697,
0.20468780398368835,
0.16955426335334778,
0.0804399624466896,
0.25335270166397095,
0.36296552419662476,
-0.13072313368320465,
0.4581688046455... |
https://github.com/huggingface/datasets/issues/2964 | After some more tests I've realized that this "issue" is due to the `numpy.float64` to `float` conversion, but when defining a function named `compute_metrics` as it follows:
```python
def compute_metrics(eval_preds):
metric = load_metric("matthews_correlation")
logits, labels = eval_preds
prediction... | Error when calculating Matthews Correlation Coefficient loaded with `load_metric` | ## Describe the bug
After loading the metric named "[Matthews Correlation Coefficient](https://huggingface.co/metrics/matthews_correlation)" from `🤗datasets`, the `.compute` method fails with the following exception `AttributeError: 'float' object has no attribute 'item'` (complete stack trace can be provided if re... | 82 | Error when calculating Matthews Correlation Coefficient loaded with `load_metric`
## Describe the bug
After loading the metric named "[Matthews Correlation Coefficient](https://huggingface.co/metrics/matthews_correlation)" from `🤗datasets`, the `.compute` method fails with the following exception `AttributeError:... | [
-0.1346631497144699,
-0.3452942967414856,
0.07861187309026718,
0.3539239764213562,
0.21625055372714996,
0.048133864998817444,
0.22700032591819763,
0.22814010083675385,
0.16031673550605774,
0.3655948340892792,
-0.07641059905290604,
0.5783470869064331,
0.011695746332406998,
0.054774411022663... |
https://github.com/huggingface/datasets/issues/2964 | Ok after some more experiments I've realized that it's an issue from my side, at first I thought it was due to `fp16=True` in `TrainingArguments`, but in the end that may not be the issue, so I'll close this for now and check later, since the mistake is on my side :weary: Sorry for the inconvenience! | Error when calculating Matthews Correlation Coefficient loaded with `load_metric` | ## Describe the bug
After loading the metric named "[Matthews Correlation Coefficient](https://huggingface.co/metrics/matthews_correlation)" from `🤗datasets`, the `.compute` method fails with the following exception `AttributeError: 'float' object has no attribute 'item'` (complete stack trace can be provided if re... | 56 | Error when calculating Matthews Correlation Coefficient loaded with `load_metric`
## Describe the bug
After loading the metric named "[Matthews Correlation Coefficient](https://huggingface.co/metrics/matthews_correlation)" from `🤗datasets`, the `.compute` method fails with the following exception `AttributeError:... | [
-0.1346631497144699,
-0.3452942967414856,
0.07861187309026718,
0.3539239764213562,
0.21625055372714996,
0.048133864998817444,
0.22700032591819763,
0.22814010083675385,
0.16031673550605774,
0.3655948340892792,
-0.07641059905290604,
0.5783470869064331,
0.011695746332406998,
0.054774411022663... |
https://github.com/huggingface/datasets/issues/2957 | Hi Brady! I met the similar issue, it stuck in the downloading stage instead of download anything, maybe it is broken. After I change the downloading from URLs to one url of the [Multiwoz project](https://github.com/budzianowski/multiwoz/archive/44f0f8479f11721831c5591b839ad78827da197b.zip) and use dirs to get separate... | MultiWOZ Dataset NonMatchingChecksumError | ## Describe the bug
The checksums for the downloaded MultiWOZ dataset and source MultiWOZ dataset aren't matching.
## Steps to reproduce the bug
Both of the below dataset versions yield the checksum error:
```python
from datasets import load_dataset
dataset = load_dataset('multi_woz_v22', 'v2.2')
dataset = loa... | 45 | MultiWOZ Dataset NonMatchingChecksumError
## Describe the bug
The checksums for the downloaded MultiWOZ dataset and source MultiWOZ dataset aren't matching.
## Steps to reproduce the bug
Both of the below dataset versions yield the checksum error:
```python
from datasets import load_dataset
dataset = load_dat... | [
-0.18571355938911438,
0.2824351191520691,
-0.010363470762968063,
0.2273116111755371,
-0.10893945395946503,
0.026602834463119507,
0.4214708209037781,
0.4297241270542145,
0.1776724010705948,
0.09039013832807541,
-0.12641185522079468,
0.13561314344406128,
0.09125436842441559,
-0.0172353647649... |
https://github.com/huggingface/datasets/issues/2956 | The problem is still present.
One solution would be to add the `download_mode="force_redownload"` argument to load_dataset.
However, doing so may lead to a `DatasetGenerationError: An error occurred while generating the dataset`. To mitigate, just do:
`rm -r ~/.cache/huggingface/datasets/*` | Cache problem in the `load_dataset` method for local compressed file(s) | ## Describe the bug
Cache problem in the `load_dataset` method: when modifying a compressed file in a local folder `load_dataset` doesn't detect the change and load the previous version.
## Steps to reproduce the bug
To test it directly, I have prepared a [Google Colaboratory notebook](https://colab.research.g... | 38 | Cache problem in the `load_dataset` method for local compressed file(s)
## Describe the bug
Cache problem in the `load_dataset` method: when modifying a compressed file in a local folder `load_dataset` doesn't detect the change and load the previous version.
## Steps to reproduce the bug
To test it directly,... | [
-0.1591949611902237,
0.32043197751045227,
-0.03442402184009552,
0.2639906406402588,
0.017791835591197014,
0.1293307989835739,
0.25490570068359375,
0.43158575892448425,
0.09086016565561295,
0.08766192942857742,
0.15352249145507812,
0.3729572296142578,
0.12291476130485535,
-0.345241248607635... |
https://github.com/huggingface/datasets/issues/2953 | Hi @JamieSlome,
Thanks for reaching out. Yes, you are right: I'm opening a PR to add the `SECURITY.md` file and a contact method.
In the meantime, please feel free to report the security issue to: feedback@huggingface.co | Trying to get in touch regarding a security issue | Hey there!
I'd like to report a security issue but cannot find contact instructions on your repository.
If not a hassle, might you kindly add a `SECURITY.md` file with an email, or another contact method? GitHub [recommends](https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-rep... | 36 | Trying to get in touch regarding a security issue
Hey there!
I'd like to report a security issue but cannot find contact instructions on your repository.
If not a hassle, might you kindly add a `SECURITY.md` file with an email, or another contact method? GitHub [recommends](https://docs.github.com/en/code-security/... | [
0.21865323185920715,
-0.16296081244945526,
-0.1425068974494934,
-0.10043278336524963,
0.18516075611114502,
-0.1031145378947258,
0.31818026304244995,
-0.10126651078462601,
-0.13137081265449524,
0.42270737886428833,
0.22706210613250732,
0.05715995281934738,
-0.012172697111964226,
0.217034101... |
https://github.com/huggingface/datasets/issues/2945 | @lhoestq now the 2 are implemented.
Please note that for the the second protection, finally I have chosen to protect the master branch only from **merge commits** (see update comment above), so no need to disable/re-enable the protection on each release (direct commits, different from merge commits, can be pushed to... | Protect master branch | After accidental merge commit (91c55355b634d0dc73350a7ddee1a6776dbbdd69) into `datasets` master branch, all commits present in the feature branch were permanently added to `datasets` master branch history, as e.g.:
- 00cc036fea7c7745cfe722360036ed306796a3f2
- 13ae8c98602bbad8197de3b9b425f4c78f582af1
- ...
I propo... | 64 | Protect master branch
After accidental merge commit (91c55355b634d0dc73350a7ddee1a6776dbbdd69) into `datasets` master branch, all commits present in the feature branch were permanently added to `datasets` master branch history, as e.g.:
- 00cc036fea7c7745cfe722360036ed306796a3f2
- 13ae8c98602bbad8197de3b9b425f4c78f... | [
-0.15531951189041138,
-0.10023027658462524,
-0.07032109051942825,
-0.07981701195240021,
-0.10425359755754471,
-0.18798737227916718,
0.01040363684296608,
0.2728637456893921,
-0.009848933666944504,
-0.08413992822170258,
0.29261496663093567,
-0.07787498831748962,
-0.13245698809623718,
0.21589... |
https://github.com/huggingface/datasets/issues/2944 | Hi ! Good idea :)
If you are interested in contributing, feel free to give it a try and open a Pull Request. Also let me know if I can help you with this or if you have questions | Add `remove_columns` to `IterableDataset ` | **Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.
```python
from datasets import load_dataset
dataset = load_dataset("c4", 'realnewslike', streaming =True, split='train')
dataset = dataset.remove_columns('url')
```
```
AttributeError: 'I... | 39 | Add `remove_columns` to `IterableDataset `
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.
```python
from datasets import load_dataset
dataset = load_dataset("c4", 'realnewslike', streaming =True, split='train')
dataset = dataset.remo... | [
0.030971109867095947,
0.06693264842033386,
-0.1484198421239853,
-0.026566360145807266,
0.3402369022369385,
0.3764089047908783,
0.47483527660369873,
0.43976008892059326,
0.1330450475215912,
0.16649053990840912,
-0.17116069793701172,
0.3257801830768585,
-0.3537244498729706,
0.300086706876754... |
https://github.com/huggingface/datasets/issues/2943 | Hi ! I guess the caching mechanism should have considered the new `filter` to be different from the old one, and don't use cached results from the old `filter`.
To avoid other users from having this issue we could make the caching differentiate the two, what do you think ? | Backwards compatibility broken for cached datasets that use `.filter()` | ## Describe the bug
After upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with
`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='in... | 50 | Backwards compatibility broken for cached datasets that use `.filter()`
## Describe the bug
After upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with
`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=No... | [
-0.30499565601348877,
0.12438789010047913,
-0.04655864089727402,
0.2368967980146408,
0.15172895789146423,
-0.0666598305106163,
-0.006941067986190319,
0.3285396099090576,
0.1737380474805832,
0.02938133105635643,
-0.23138682544231415,
0.35819292068481445,
-0.1503303349018097,
0.2527365684509... |
https://github.com/huggingface/datasets/issues/2943 | If it's easy enough to implement, then yes please 😄 But this issue can be low-priority, since I've only encountered it in a couple of `transformers` CI tests. | Backwards compatibility broken for cached datasets that use `.filter()` | ## Describe the bug
After upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with
`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='in... | 28 | Backwards compatibility broken for cached datasets that use `.filter()`
## Describe the bug
After upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with
`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=No... | [
-0.30499565601348877,
0.12438789010047913,
-0.04655864089727402,
0.2368967980146408,
0.15172895789146423,
-0.0666598305106163,
-0.006941067986190319,
0.3285396099090576,
0.1737380474805832,
0.02938133105635643,
-0.23138682544231415,
0.35819292068481445,
-0.1503303349018097,
0.2527365684509... |
https://github.com/huggingface/datasets/issues/2943 | Well it can cause issue with anyone that updates `datasets` and re-run some code that uses filter, so I'm creating a PR | Backwards compatibility broken for cached datasets that use `.filter()` | ## Describe the bug
After upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with
`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='in... | 22 | Backwards compatibility broken for cached datasets that use `.filter()`
## Describe the bug
After upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with
`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=No... | [
-0.30499565601348877,
0.12438789010047913,
-0.04655864089727402,
0.2368967980146408,
0.15172895789146423,
-0.0666598305106163,
-0.006941067986190319,
0.3285396099090576,
0.1737380474805832,
0.02938133105635643,
-0.23138682544231415,
0.35819292068481445,
-0.1503303349018097,
0.2527365684509... |
https://github.com/huggingface/datasets/issues/2943 | I just merged a fix, let me know if you're still having this kind of issues :)
We'll do a release soon to make this fix available | Backwards compatibility broken for cached datasets that use `.filter()` | ## Describe the bug
After upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with
`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='in... | 27 | Backwards compatibility broken for cached datasets that use `.filter()`
## Describe the bug
After upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with
`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=No... | [
-0.30499565601348877,
0.12438789010047913,
-0.04655864089727402,
0.2368967980146408,
0.15172895789146423,
-0.0666598305106163,
-0.006941067986190319,
0.3285396099090576,
0.1737380474805832,
0.02938133105635643,
-0.23138682544231415,
0.35819292068481445,
-0.1503303349018097,
0.2527365684509... |
https://github.com/huggingface/datasets/issues/2937 | Hi @daqieq, thanks for reporting.
Unfortunately, I was not able to reproduce this bug:
```ipython
In [1]: from datasets import load_dataset
...: ds = load_dataset('wiki_bio')
Downloading: 7.58kB [00:00, 26.3kB/s]
Downloading: 2.71kB [00:00, ?B/s]
Using custom data configuration default
Downloading and prep... | load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied | ## Describe the bug
Standard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11.
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset('wiki_bio')
```
## Expected results
It is expected that the dataset downloads without any er... | 109 | load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied
## Describe the bug
Standard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11.
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_datas... | [
-0.22893056273460388,
0.38345396518707275,
0.040345557034015656,
0.25504010915756226,
-0.012111198157072067,
0.26225727796554565,
0.5036686658859253,
0.1329525262117386,
0.3442816138267517,
0.13571754097938538,
-0.10897444188594818,
0.07728390395641327,
0.07315050065517426,
-0.005699306726... |
https://github.com/huggingface/datasets/issues/2937 | Thanks @albertvillanova for looking at it! I tried on my personal Windows machine and it downloaded just fine.
Running on my work machine and on a colleague's machine it is consistently hitting this error. It's not a write access issue because the `.incomplete` directory is written just fine. It just won't rename an... | load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied | ## Describe the bug
Standard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11.
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset('wiki_bio')
```
## Expected results
It is expected that the dataset downloads without any er... | 194 | load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied
## Describe the bug
Standard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11.
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_datas... | [
-0.22893056273460388,
0.38345396518707275,
0.040345557034015656,
0.25504010915756226,
-0.012111198157072067,
0.26225727796554565,
0.5036686658859253,
0.1329525262117386,
0.3442816138267517,
0.13571754097938538,
-0.10897444188594818,
0.07728390395641327,
0.07315050065517426,
-0.005699306726... |
https://github.com/huggingface/datasets/issues/2937 | Hi @albertvillanova, even I am facing the same issue on my work machine:
`Downloading and preparing dataset json/c4-en-html-with-metadata to C:\Users\......\.cache\huggingface\datasets\json\c4-en-html-with-metadata-4635c2fd9249f62d\0.0.0\c90812beea906fcffe0d5e3bb9eba909a80a998b5f88e9f8acbd320aa91acfde...
100%|█████... | load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied | ## Describe the bug
Standard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11.
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset('wiki_bio')
```
## Expected results
It is expected that the dataset downloads without any er... | 80 | load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied
## Describe the bug
Standard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11.
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_datas... | [
-0.22893056273460388,
0.38345396518707275,
0.040345557034015656,
0.25504010915756226,
-0.012111198157072067,
0.26225727796554565,
0.5036686658859253,
0.1329525262117386,
0.3442816138267517,
0.13571754097938538,
-0.10897444188594818,
0.07728390395641327,
0.07315050065517426,
-0.005699306726... |
https://github.com/huggingface/datasets/issues/2937 | I'm facing the same issue.
## System Information
- OS Edition: Windows 10 21H1
- OS build: 19043.1826
- Python version: 3.10.6 (installed using `choco install python`)
- datasets: 2.4.0
- PyArrow: 6.0.1
## Troubleshooting steps
- Restart the computer, unfortunately doesn't work! 🌚
- Checked the permis... | load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied | ## Describe the bug
Standard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11.
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset('wiki_bio')
```
## Expected results
It is expected that the dataset downloads without any er... | 154 | load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied
## Describe the bug
Standard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11.
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_datas... | [
-0.22893056273460388,
0.38345396518707275,
0.040345557034015656,
0.25504010915756226,
-0.012111198157072067,
0.26225727796554565,
0.5036686658859253,
0.1329525262117386,
0.3442816138267517,
0.13571754097938538,
-0.10897444188594818,
0.07728390395641327,
0.07315050065517426,
-0.005699306726... |
https://github.com/huggingface/datasets/issues/2934 | I did some investigation and, as it seems, the bug stems from [this line](https://github.com/huggingface/datasets/blob/8004d7c3e1d74b29c3e5b0d1660331cd26758363/src/datasets/arrow_dataset.py#L325). The lifecycle of the dataset from the linked line is bound to one of the returned `tf.data.Dataset`. So my (hacky) solution... | to_tf_dataset keeps a reference to the open data somewhere, causing issues on windows | To reproduce:
```python
import datasets as ds
import weakref
import gc
d = ds.load_dataset("mnist", split="train")
ref = weakref.ref(d._data.table)
tfd = d.to_tf_dataset("image", batch_size=1, shuffle=False, label_cols="label")
del tfd, d
gc.collect()
assert ref() is None, "Error: there is at least one refe... | 99 | to_tf_dataset keeps a reference to the open data somewhere, causing issues on windows
To reproduce:
```python
import datasets as ds
import weakref
import gc
d = ds.load_dataset("mnist", split="train")
ref = weakref.ref(d._data.table)
tfd = d.to_tf_dataset("image", batch_size=1, shuffle=False, label_cols="lab... | [
0.04569065570831299,
0.33450794219970703,
0.11488889902830124,
0.08045077323913574,
0.23043063282966614,
0.11888764798641205,
0.39888474345207214,
0.25487542152404785,
-0.1099170669913292,
0.2674389183521271,
-0.3353855609893799,
0.4040721654891968,
-0.16448092460632324,
-0.107462912797927... |
https://github.com/huggingface/datasets/issues/2924 | Hi, the filename here is less than 255
```python
>>> len("_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.incomplete.lock")
154
```
so not sure why it's considered too long for your filesystem.
(also note that the lock file... | "File name too long" error for file locks | ## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.inc... | 39 | "File name too long" error for file locks
## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53... | [
0.04933924227952957,
0.09200140833854675,
-0.07149413228034973,
0.40184834599494934,
0.4151672422885895,
0.23589488863945007,
0.6366624236106873,
0.24350284039974213,
0.23645886778831482,
0.23132936656475067,
0.018568813800811768,
0.007743619382381439,
-0.1442687213420868,
-0.3100366592407... |
https://github.com/huggingface/datasets/issues/2924 | Yes, you're right! I need to get you more info here. Either there's something going with the name itself that the file system doesn't like (an encoding that blows up the name length??) or perhaps there's something with the path that's causing the entire string to be used as a name. I haven't seen this on any system be... | "File name too long" error for file locks | ## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.inc... | 67 | "File name too long" error for file locks
## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53... | [
0.04933924227952957,
0.09200140833854675,
-0.07149413228034973,
0.40184834599494934,
0.4151672422885895,
0.23589488863945007,
0.6366624236106873,
0.24350284039974213,
0.23645886778831482,
0.23132936656475067,
0.018568813800811768,
0.007743619382381439,
-0.1442687213420868,
-0.3100366592407... |
https://github.com/huggingface/datasets/issues/2924 | Snap, encountered when trying to run [this example from PyTorch Lightning Flash](https://lightning-flash.readthedocs.io/en/latest/reference/speech_recognition.html):
```py
import torch
import flash
from flash.audio import SpeechRecognition, SpeechRecognitionData
from flash.core.data.utils import download_data
... | "File name too long" error for file locks | ## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.inc... | 238 | "File name too long" error for file locks
## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53... | [
0.04933924227952957,
0.09200140833854675,
-0.07149413228034973,
0.40184834599494934,
0.4151672422885895,
0.23589488863945007,
0.6366624236106873,
0.24350284039974213,
0.23645886778831482,
0.23132936656475067,
0.018568813800811768,
0.007743619382381439,
-0.1442687213420868,
-0.3100366592407... |
https://github.com/huggingface/datasets/issues/2924 | Perhaps this could be exposed as a config setting so you could change it manually?
https://github.com/huggingface/datasets/blob/5d1a9f1e3c6c495dc0610b459e39d2eb8893f152/src/datasets/utils/filelock.py#L135-L135
Rather than hard-code 255, default it to 255, and allow it to be changed, the same way is done for `data... | "File name too long" error for file locks | ## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.inc... | 80 | "File name too long" error for file locks
## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53... | [
0.04933924227952957,
0.09200140833854675,
-0.07149413228034973,
0.40184834599494934,
0.4151672422885895,
0.23589488863945007,
0.6366624236106873,
0.24350284039974213,
0.23645886778831482,
0.23132936656475067,
0.018568813800811768,
0.007743619382381439,
-0.1442687213420868,
-0.3100366592407... |
https://github.com/huggingface/datasets/issues/2924 | Hi @lmmx @gar1t ,
it would be helpful if you could run the following code and copy-paste the output here:
```python
import datasets
import os
os.statvfs(datasets.config.HF_DATASETS_CACHE)
``` | "File name too long" error for file locks | ## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.inc... | 27 | "File name too long" error for file locks
## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53... | [
0.04933924227952957,
0.09200140833854675,
-0.07149413228034973,
0.40184834599494934,
0.4151672422885895,
0.23589488863945007,
0.6366624236106873,
0.24350284039974213,
0.23645886778831482,
0.23132936656475067,
0.018568813800811768,
0.007743619382381439,
-0.1442687213420868,
-0.3100366592407... |
https://github.com/huggingface/datasets/issues/2924 | Hi @lmmx,
Thanks for providing the result of the command. I've opened a PR, and it would be great if you could verify that the fix works on your system. To install the version of the datasets with the fix, please run the following command:
```
pip install git+https://github.com/huggingface/datasets.git@fix-2924
`... | "File name too long" error for file locks | ## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.inc... | 80 | "File name too long" error for file locks
## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53... | [
0.04933924227952957,
0.09200140833854675,
-0.07149413228034973,
0.40184834599494934,
0.4151672422885895,
0.23589488863945007,
0.6366624236106873,
0.24350284039974213,
0.23645886778831482,
0.23132936656475067,
0.018568813800811768,
0.007743619382381439,
-0.1442687213420868,
-0.3100366592407... |
https://github.com/huggingface/datasets/issues/2924 | No problem Mario I didn't know that was where that value was recorded so I learnt something :smiley: I just wanted to get a local version working, of course you should implement whatever fix is best for HF. Yes can confirm this fixes it too. Thanks! | "File name too long" error for file locks | ## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.inc... | 46 | "File name too long" error for file locks
## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53... | [
0.04933924227952957,
0.09200140833854675,
-0.07149413228034973,
0.40184834599494934,
0.4151672422885895,
0.23589488863945007,
0.6366624236106873,
0.24350284039974213,
0.23645886778831482,
0.23132936656475067,
0.018568813800811768,
0.007743619382381439,
-0.1442687213420868,
-0.3100366592407... |
https://github.com/huggingface/datasets/issues/2924 | It looks like the issue is back with #6445 since the `MAX_FILENAME_LENGTH` is explicitly set to be 255 there
https://github.com/huggingface/datasets/blob/dd9044cdaabc1f9abce02c1b71bdb48fd3525d4e/src/datasets/utils/_filelock.py#L28
@mariosasko Could you please take a look | "File name too long" error for file locks | ## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.inc... | 27 | "File name too long" error for file locks
## Describe the bug
Getting the following error when calling `load_dataset("gar1t/test")`:
```
OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53... | [
0.04933924227952957,
0.09200140833854675,
-0.07149413228034973,
0.40184834599494934,
0.4151672422885895,
0.23589488863945007,
0.6366624236106873,
0.24350284039974213,
0.23645886778831482,
0.23132936656475067,
0.018568813800811768,
0.007743619382381439,
-0.1442687213420868,
-0.3100366592407... |
https://github.com/huggingface/datasets/issues/2918 | Hi @SBrandeis, thanks for reporting! ^^
I think this is an issue with `fsspec`: https://github.com/intake/filesystem_spec/issues/389
I will ask them if they are planning to fix it... | `Can not decode content-encoding: gzip` when loading `scitldr` dataset with streaming | ## Describe the bug
Trying to load the `"FullText"` config of the `"scitldr"` dataset with `streaming=True` raises an error from `aiohttp`:
```python
ClientPayloadError: 400, message='Can not decode content-encoding: gzip'
```
cc @lhoestq
## Steps to reproduce the bug
```python
from datasets import load_... | 26 | `Can not decode content-encoding: gzip` when loading `scitldr` dataset with streaming
## Describe the bug
Trying to load the `"FullText"` config of the `"scitldr"` dataset with `streaming=True` raises an error from `aiohttp`:
```python
ClientPayloadError: 400, message='Can not decode content-encoding: gzip'
```... | [
-0.386464923620224,
-0.22049549221992493,
0.08948126435279846,
0.43874138593673706,
0.21570882201194763,
0.12292338907718658,
-0.03691008314490318,
0.309388130903244,
0.2422770857810974,
0.09550253301858902,
-0.22643139958381653,
0.42615368962287903,
-0.06417582929134369,
0.303532928228378... |
https://github.com/huggingface/datasets/issues/2918 | Code to reproduce the bug: `ClientPayloadError: 400, message='Can not decode content-encoding: gzip'`
```python
In [1]: import fsspec
In [2]: import json
In [3]: with fsspec.open('https://raw.githubusercontent.com/allenai/scitldr/master/SciTLDR-Data/SciTLDR-FullText/test.jsonl', encoding="utf-8") as f:
...:... | `Can not decode content-encoding: gzip` when loading `scitldr` dataset with streaming | ## Describe the bug
Trying to load the `"FullText"` config of the `"scitldr"` dataset with `streaming=True` raises an error from `aiohttp`:
```python
ClientPayloadError: 400, message='Can not decode content-encoding: gzip'
```
cc @lhoestq
## Steps to reproduce the bug
```python
from datasets import load_... | 46 | `Can not decode content-encoding: gzip` when loading `scitldr` dataset with streaming
## Describe the bug
Trying to load the `"FullText"` config of the `"scitldr"` dataset with `streaming=True` raises an error from `aiohttp`:
```python
ClientPayloadError: 400, message='Can not decode content-encoding: gzip'
```... | [
-0.386464923620224,
-0.22049549221992493,
0.08948126435279846,
0.43874138593673706,
0.21570882201194763,
0.12292338907718658,
-0.03691008314490318,
0.309388130903244,
0.2422770857810974,
0.09550253301858902,
-0.22643139958381653,
0.42615368962287903,
-0.06417582929134369,
0.303532928228378... |
https://github.com/huggingface/datasets/issues/2917 | Hi ! Is there some kind of proxy that is configured in your browser that gives you access to internet ? If it's the case it could explain why it doesn't work in the code, since the proxy wouldn't be used | windows download abnormal | ## Describe the bug
The script clearly exists (accessible from the browser), but the script download fails on windows. Then I tried it again and it can be downloaded normally on linux. why??
## Steps to reproduce the bug
```python3.7 + windows
, but the script download fails on windows. Then I tried it again and it can be downloaded normally on linux. why??
## Steps to reproduce the bug
```python3.7 + windows
 | timit_asr dataset only includes one text phrase | ## Describe the bug
The dataset 'timit_asr' only includes one text phrase. It only includes the transcription "Would such an act of refusal be useful?" multiple times rather than different phrases.
## Steps to reproduce the bug
Note: I am following the tutorial https://huggingface.co/blog/fine-tune-wav2vec2-englis... | 16 | timit_asr dataset only includes one text phrase
## Describe the bug
The dataset 'timit_asr' only includes one text phrase. It only includes the transcription "Would such an act of refusal be useful?" multiple times rather than different phrases.
## Steps to reproduce the bug
Note: I am following the tutorial htt... | [
0.16129052639007568,
-0.13805387914180756,
-0.020553331822156906,
0.2273859828710556,
0.11762382090091705,
-0.15759745240211487,
0.26700565218925476,
0.2965666353702545,
-0.5154978036880493,
0.2804078459739685,
0.1454419195652008,
0.4508610665798187,
-0.09352833777666092,
-0.18102070689201... |
https://github.com/huggingface/datasets/issues/2913 | Hi @margotwagner,
Yes, as @bhavitvyamalik has commented, this bug was fixed in `datasets` version 1.5.0. You need to update it, as your current version is 1.4.1:
> Environment info
> - `datasets` version: 1.4.1 | timit_asr dataset only includes one text phrase | ## Describe the bug
The dataset 'timit_asr' only includes one text phrase. It only includes the transcription "Would such an act of refusal be useful?" multiple times rather than different phrases.
## Steps to reproduce the bug
Note: I am following the tutorial https://huggingface.co/blog/fine-tune-wav2vec2-englis... | 34 | timit_asr dataset only includes one text phrase
## Describe the bug
The dataset 'timit_asr' only includes one text phrase. It only includes the transcription "Would such an act of refusal be useful?" multiple times rather than different phrases.
## Steps to reproduce the bug
Note: I am following the tutorial htt... | [
0.16129052639007568,
-0.13805387914180756,
-0.020553331822156906,
0.2273859828710556,
0.11762382090091705,
-0.15759745240211487,
0.26700565218925476,
0.2965666353702545,
-0.5154978036880493,
0.2804078459739685,
0.1454419195652008,
0.4508610665798187,
-0.09352833777666092,
-0.18102070689201... |
https://github.com/huggingface/datasets/issues/2904 | Hi ! Thanks for reporting. The error seems to happen only if you use compressed files.
The second dataset is prepared in another dataset cache directory than the first - which is normal, since the source file is different. However, it doesn't uncompress the new data file because it finds the old uncompressed data in... | FORCE_REDOWNLOAD does not work | ## Describe the bug
With GenerateMode.FORCE_REDOWNLOAD, the documentation says
+------------------------------------+-----------+---------+
| | Downloads | Dataset |
+====================================+===========+=========+
| `REUSE_DATASET_IF_EXISTS` (default... | 99 | FORCE_REDOWNLOAD does not work
## Describe the bug
With GenerateMode.FORCE_REDOWNLOAD, the documentation says
+------------------------------------+-----------+---------+
| | Downloads | Dataset |
+====================================+===========+=========+
| `... | [
-0.125340074300766,
0.02078022062778473,
0.018513105809688568,
0.025714261457324028,
0.18210434913635254,
0.02519337087869644,
0.4788663983345032,
0.24383309483528137,
0.14579585194587708,
-0.23386985063552856,
-0.11628296226263046,
0.26873978972435,
0.08507479727268219,
0.1121124997735023... |
https://github.com/huggingface/datasets/issues/2904 | Facing the same issue, is there any way to overtake this issue until it will be fixed? | FORCE_REDOWNLOAD does not work | ## Describe the bug
With GenerateMode.FORCE_REDOWNLOAD, the documentation says
+------------------------------------+-----------+---------+
| | Downloads | Dataset |
+====================================+===========+=========+
| `REUSE_DATASET_IF_EXISTS` (default... | 17 | FORCE_REDOWNLOAD does not work
## Describe the bug
With GenerateMode.FORCE_REDOWNLOAD, the documentation says
+------------------------------------+-----------+---------+
| | Downloads | Dataset |
+====================================+===========+=========+
| `... | [
-0.125340074300766,
0.02078022062778473,
0.018513105809688568,
0.025714261457324028,
0.18210434913635254,
0.02519337087869644,
0.4788663983345032,
0.24383309483528137,
0.14579585194587708,
-0.23386985063552856,
-0.11628296226263046,
0.26873978972435,
0.08507479727268219,
0.1121124997735023... |
https://github.com/huggingface/datasets/issues/2902 | WikiMedia is now hosting the pixel values directly which should make it a lot easier!
The files can be found here:
https://techblog.wikimedia.org/2021/09/09/the-wikipedia-image-caption-matching-challenge-and-a-huge-release-of-image-data-for-research/
https://analytics.wikimedia.org/published/datasets/one-off/caption... | Add WIT Dataset | ## Adding a Dataset
- **Name:** *WIT*
- **Description:** *Wikipedia-based Image Text Dataset*
- **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning
](https://arxiv.org/abs/2103.01913)*
- **Data:** *https://github.com/google-research-datasets/wit*
- **Motivation:** (e... | 23 | Add WIT Dataset
## Adding a Dataset
- **Name:** *WIT*
- **Description:** *Wikipedia-based Image Text Dataset*
- **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning
](https://arxiv.org/abs/2103.01913)*
- **Data:** *https://github.com/google-research-datasets/wit*
- *... | [
-0.049786146730184555,
-0.054744213819503784,
-0.12806665897369385,
0.00030081160366535187,
-0.03935416042804718,
-0.007131330668926239,
0.3546048402786255,
0.16591517627239227,
0.19368545711040497,
0.20558102428913116,
0.06397990137338638,
0.14600709080696106,
-0.02429223246872425,
0.1997... |
https://github.com/huggingface/datasets/issues/2902 | > @hassiahk is working on it #2810
Thank you @bhavitvyamalik! Added this issue so we could track progress 😄 . Just linked the PR as well for visibility. | Add WIT Dataset | ## Adding a Dataset
- **Name:** *WIT*
- **Description:** *Wikipedia-based Image Text Dataset*
- **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning
](https://arxiv.org/abs/2103.01913)*
- **Data:** *https://github.com/google-research-datasets/wit*
- **Motivation:** (e... | 28 | Add WIT Dataset
## Adding a Dataset
- **Name:** *WIT*
- **Description:** *Wikipedia-based Image Text Dataset*
- **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning
](https://arxiv.org/abs/2103.01913)*
- **Data:** *https://github.com/google-research-datasets/wit*
- *... | [
-0.08095131814479828,
-0.2214549034833908,
-0.198973149061203,
0.01330924779176712,
0.054856523871421814,
0.001288101077079773,
0.43179601430892944,
0.09052811563014984,
0.2972509264945984,
0.14708256721496582,
-0.014002587646245956,
0.11782103776931763,
-0.1801294982433319,
0.275062233209... |
https://github.com/huggingface/datasets/issues/2902 | Hey folks, we are now hosting the merged pixel values + embeddings + metadata ourselves. I gave it a try - [nateraw/wit](https://huggingface.co/datasets/nateraw/wit)
**⚠️ - Make sure you add `streaming=True` unless you're prepared to download 400GB of data!**
```python
from datasets import load_dataset
ds = l... | Add WIT Dataset | ## Adding a Dataset
- **Name:** *WIT*
- **Description:** *Wikipedia-based Image Text Dataset*
- **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning
](https://arxiv.org/abs/2103.01913)*
- **Data:** *https://github.com/google-research-datasets/wit*
- **Motivation:** (e... | 82 | Add WIT Dataset
## Adding a Dataset
- **Name:** *WIT*
- **Description:** *Wikipedia-based Image Text Dataset*
- **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning
](https://arxiv.org/abs/2103.01913)*
- **Data:** *https://github.com/google-research-datasets/wit*
- *... | [
-0.11279354244470596,
-0.36605605483055115,
-0.07434751093387604,
0.09898712486028671,
0.15717098116874695,
0.00029746443033218384,
0.3201468586921692,
0.17985932528972626,
0.10645507276058197,
0.18028239905834198,
-0.1281459927558899,
0.09169893711805344,
-0.09614553302526474,
0.278130829... |
https://github.com/huggingface/datasets/issues/2902 | Hi! `datasets` now hosts two versions of the WIT dataset:
* [`google/wit`](https://huggingface.co/datasets/google/wit): Google's version with the image URLs
* [`wikimedia/wit_base`](https://huggingface.co/datasets/wikimedia/wit_base): Wikimedia's version with the images + ResNet embeddings, but with less data than Go... | Add WIT Dataset | ## Adding a Dataset
- **Name:** *WIT*
- **Description:** *Wikipedia-based Image Text Dataset*
- **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning
](https://arxiv.org/abs/2103.01913)*
- **Data:** *https://github.com/google-research-datasets/wit*
- **Motivation:** (e... | 35 | Add WIT Dataset
## Adding a Dataset
- **Name:** *WIT*
- **Description:** *Wikipedia-based Image Text Dataset*
- **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning
](https://arxiv.org/abs/2103.01913)*
- **Data:** *https://github.com/google-research-datasets/wit*
- *... | [
-0.03503846749663353,
-0.16138246655464172,
-0.14476561546325684,
0.07061553746461868,
0.03742721676826477,
0.0225839763879776,
0.3933703899383545,
0.08038733899593353,
0.3261452317237854,
0.2722501754760742,
-0.11120789498090744,
0.02988538146018982,
-0.09058830887079239,
0.20144739747047... |
https://github.com/huggingface/datasets/issues/2901 | Sorry, my bad... When implementing `xpathopen`, I just considered the use case in the COUNTER dataset... I'm fixing it! | Incompatibility with pytest | ## Describe the bug
pytest complains about xpathopen / path.open("w")
## Steps to reproduce the bug
Create a test file, `test.py`:
```python
import datasets as ds
def load_dataset():
ds.load_dataset("counter", split="train", streaming=True)
```
And launch it with pytest:
```bash
python -m pyt... | 19 | Incompatibility with pytest
## Describe the bug
pytest complains about xpathopen / path.open("w")
## Steps to reproduce the bug
Create a test file, `test.py`:
```python
import datasets as ds
def load_dataset():
ds.load_dataset("counter", split="train", streaming=True)
```
And launch it with pyt... | [
-0.3016420304775238,
-0.1903872936964035,
-0.02414933405816555,
0.09902926534414291,
0.31303951144218445,
-0.13014070689678192,
0.3114985227584839,
0.26464810967445374,
-0.10267776250839233,
0.2515560984611511,
-0.03294125944375992,
0.3579747974872589,
-0.04996736720204353,
0.0878714770078... |
https://github.com/huggingface/datasets/issues/2892 | This has been fixed by https://github.com/huggingface/datasets/pull/2900
We're doing a new release 1.12 today to make the fix available :) | Error when encoding a dataset with None objects with a Sequence feature | There is an error when encoding a dataset with None objects with a Sequence feature
To reproduce:
```python
from datasets import Dataset, Features, Value, Sequence
data = {"a": [[0], None]}
features = Features({"a": Sequence(Value("int32"))})
dataset = Dataset.from_dict(data, features=features)
```
raises
... | 19 | Error when encoding a dataset with None objects with a Sequence feature
There is an error when encoding a dataset with None objects with a Sequence feature
To reproduce:
```python
from datasets import Dataset, Features, Value, Sequence
data = {"a": [[0], None]}
features = Features({"a": Sequence(Value("int32")... | [
-0.08303462713956833,
-0.25024378299713135,
-0.038625553250312805,
0.30153894424438477,
0.20768919587135315,
0.07883705198764801,
0.5001561641693115,
0.14941561222076416,
0.12552961707115173,
0.14210638403892517,
0.32856351137161255,
0.05083991214632988,
-0.29675737023353577,
0.34206092357... |
https://github.com/huggingface/datasets/issues/2888 | @albertvillanova i think this issue is still valid and should not be closed till `>1.11.0` is published :) | v1.11.1 release date | Hello, i need to use latest features in one of my packages but there have been no new datasets release since 2 months ago.
When do you plan to publush v1.11.1 release? | 18 | v1.11.1 release date
Hello, i need to use latest features in one of my packages but there have been no new datasets release since 2 months ago.
When do you plan to publush v1.11.1 release?
@albertvillanova i think this issue is still valid and should not be closed till `>1.11.0` is published :) | [
-0.2534322142601013,
-0.14359156787395477,
-0.11700867861509323,
0.12509754300117493,
-0.08036186546087265,
-0.20694346725940704,
0.3182259202003479,
0.259503573179245,
-0.2662116289138794,
0.24329301714897156,
0.4498231112957001,
-0.07759901881217957,
-0.009268393740057945,
0.377597212791... |
https://github.com/huggingface/datasets/issues/2885 | Hi, is this bug deterministic in your poetry env ? I mean, does it always stop at 90% or is it random ?
Also, can you try using another version of Elasticsearch ? Maybe there's an issue with the one of you poetry env | Adding an Elastic Search index to a Dataset | ## Describe the bug
When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break:
Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837ef62ffea453)
90%|████████████████████████████... | 44 | Adding an Elastic Search index to a Dataset
## Describe the bug
When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break:
Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837e... | [
-0.1423354148864746,
0.1727272868156433,
-0.0044714175164699554,
0.04009579122066498,
0.09973715245723724,
0.02736809104681015,
-0.013204507529735565,
0.06842239946126938,
0.013826020061969757,
0.053115565329790115,
-0.03955919295549393,
0.3000071942806244,
0.3499436378479004,
-0.378162503... |
https://github.com/huggingface/datasets/issues/2885 | I face similar issue with oscar dataset on remote ealsticsearch instance. It was mainly due to timeout of batch indexing requests and I solve these by adding large request_timeout param in `search.py`
```
for ok, action in es.helpers.streaming_bulk(
client=self.es_client,
index=inde... | Adding an Elastic Search index to a Dataset | ## Describe the bug
When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break:
Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837ef62ffea453)
90%|████████████████████████████... | 44 | Adding an Elastic Search index to a Dataset
## Describe the bug
When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break:
Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837e... | [
-0.1423354148864746,
0.1727272868156433,
-0.0044714175164699554,
0.04009579122066498,
0.09973715245723724,
0.02736809104681015,
-0.013204507529735565,
0.06842239946126938,
0.013826020061969757,
0.053115565329790115,
-0.03955919295549393,
0.3000071942806244,
0.3499436378479004,
-0.378162503... |
https://github.com/huggingface/datasets/issues/2885 | Hi @MotzWanted - are there any errors in the Elasticsearch cluster logs? Since it works in your local environment and the cluster versions are different between your poetry env and your local env, it is possible that it is some difference in the cluster - either settings or the cluster being under a different load etc ... | Adding an Elastic Search index to a Dataset | ## Describe the bug
When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break:
Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837ef62ffea453)
90%|████████████████████████████... | 160 | Adding an Elastic Search index to a Dataset
## Describe the bug
When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break:
Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837e... | [
-0.1423354148864746,
0.1727272868156433,
-0.0044714175164699554,
0.04009579122066498,
0.09973715245723724,
0.02736809104681015,
-0.013204507529735565,
0.06842239946126938,
0.013826020061969757,
0.053115565329790115,
-0.03955919295549393,
0.3000071942806244,
0.3499436378479004,
-0.378162503... |
https://github.com/huggingface/datasets/issues/2882 | Hi @tmpr, thanks for reporting.
Two weeks ago (23th Aug), the host of the source `docred` dataset updated one of the files (`dev.json`): you can see it [here](https://drive.google.com/drive/folders/1c5-0YwnoJx8NS6CV2f-NoTHR__BdkNqw).
Therefore, the checksum needs to be updated.
Normally, in the meantime, you c... | `load_dataset('docred')` results in a `NonMatchingChecksumError` | ## Describe the bug
I get consistent `NonMatchingChecksumError: Checksums didn't match for dataset source files` errors when trying to execute `datasets.load_dataset('docred')`.
## Steps to reproduce the bug
It is quasi only this code:
```python
import datasets
data = datasets.load_dataset('docred')
```
## ... | 69 | `load_dataset('docred')` results in a `NonMatchingChecksumError`
## Describe the bug
I get consistent `NonMatchingChecksumError: Checksums didn't match for dataset source files` errors when trying to execute `datasets.load_dataset('docred')`.
## Steps to reproduce the bug
It is quasi only this code:
```python
... | [
-0.26591137051582336,
0.34227025508880615,
0.03556497022509575,
0.3098568022251129,
0.21419773995876312,
0.04043284058570862,
0.3646674156188965,
0.42015504837036133,
0.30403223633766174,
0.07150298357009888,
-0.2768661379814148,
0.19011875987052917,
0.13069596886634827,
-0.195111230015754... |
https://github.com/huggingface/datasets/issues/2879 | Hi @rcgale, thanks for reporting.
Please note that this bug was fixed on `datasets` version 1.5.0: https://github.com/huggingface/datasets/commit/a23c73e526e1c30263834164f16f1fdf76722c8c#diff-f12a7a42d4673bb6c2ca5a40c92c29eb4fe3475908c84fd4ce4fad5dc2514878
If you update `datasets` version, that should work.
On... | In v1.4.1, all TIMIT train transcripts are "Would such an act of refusal be useful?" | ## Describe the bug
Using version 1.4.1 of `datasets`, TIMIT transcripts are all the same.
## Steps to reproduce the bug
I was following this tutorial
- https://huggingface.co/blog/fine-tune-wav2vec2-english
But here's a distilled repro:
```python
!pip install datasets==1.4.1
from datasets import load_datas... | 46 | In v1.4.1, all TIMIT train transcripts are "Would such an act of refusal be useful?"
## Describe the bug
Using version 1.4.1 of `datasets`, TIMIT transcripts are all the same.
## Steps to reproduce the bug
I was following this tutorial
- https://huggingface.co/blog/fine-tune-wav2vec2-english
But here's a dis... | [
0.12485302239656448,
-0.05359397828578949,
0.029330797493457794,
0.07397998124361038,
0.20472803711891174,
-0.024576783180236816,
0.2489384561777115,
0.42130041122436523,
-0.4746909737586975,
0.1751619279384613,
0.13618403673171997,
0.5513858199119568,
-0.3347691595554352,
-0.0850958079099... |
https://github.com/huggingface/datasets/issues/2879 | I just proposed a change in the blog post.
I had assumed there was a data format change that broke a previous version of the code, since presumably @patrickvonplaten tested the tutorial with the version they explicitly referenced. But that fix you linked suggests a problem in the code, which surprised me.
I still... | In v1.4.1, all TIMIT train transcripts are "Would such an act of refusal be useful?" | ## Describe the bug
Using version 1.4.1 of `datasets`, TIMIT transcripts are all the same.
## Steps to reproduce the bug
I was following this tutorial
- https://huggingface.co/blog/fine-tune-wav2vec2-english
But here's a distilled repro:
```python
!pip install datasets==1.4.1
from datasets import load_datas... | 134 | In v1.4.1, all TIMIT train transcripts are "Would such an act of refusal be useful?"
## Describe the bug
Using version 1.4.1 of `datasets`, TIMIT transcripts are all the same.
## Steps to reproduce the bug
I was following this tutorial
- https://huggingface.co/blog/fine-tune-wav2vec2-english
But here's a dis... | [
-0.08848566561937332,
0.03739680349826813,
-0.021385706961154938,
0.14961208403110504,
-0.018926752731204033,
-0.07773534953594208,
0.22454944252967834,
0.36217790842056274,
-0.4294899106025696,
0.16333670914173126,
0.15252961218357086,
0.2624570429325104,
-0.43249082565307617,
-0.02013060... |
https://github.com/huggingface/datasets/issues/2877 | Hi @lhoestq I am new to huggingface datasets, I would like to work on this issue!
| Don't keep the dummy data folder or dataset_infos.json when resolving data files | When there's no dataset script, all the data files of a folder or a repository on the Hub are loaded as data files.
There are already a few exceptions:
- files starting with "." are ignored
- the dataset card "README.md" is ignored
- any file named "config.json" is ignored (currently it isn't used anywhere, but i... | 16 | Don't keep the dummy data folder or dataset_infos.json when resolving data files
When there's no dataset script, all the data files of a folder or a repository on the Hub are loaded as data files.
There are already a few exceptions:
- files starting with "." are ignored
- the dataset card "README.md" is ignored
... | [
-0.16152286529541016,
-0.0727219432592392,
0.000013694167137145996,
0.28439226746559143,
0.1758459061384201,
0.041310712695121765,
0.20755542814731598,
0.37399449944496155,
0.2408154457807541,
0.22051605582237244,
-0.10307864844799042,
0.24788334965705872,
0.02999553456902504,
0.3990694582... |
https://github.com/huggingface/datasets/issues/2877 | Thanks for the help :)
As mentioned in the PR, excluding files named "dummy_data.zip" is actually more general than excluding the files inside a "dummy" folder. I just did the change in the PR, I think we can merge it now | Don't keep the dummy data folder or dataset_infos.json when resolving data files | When there's no dataset script, all the data files of a folder or a repository on the Hub are loaded as data files.
There are already a few exceptions:
- files starting with "." are ignored
- the dataset card "README.md" is ignored
- any file named "config.json" is ignored (currently it isn't used anywhere, but i... | 41 | Don't keep the dummy data folder or dataset_infos.json when resolving data files
When there's no dataset script, all the data files of a folder or a repository on the Hub are loaded as data files.
There are already a few exceptions:
- files starting with "." are ignored
- the dataset card "README.md" is ignored
... | [
-0.25849097967147827,
0.18854565918445587,
-0.09153768420219421,
0.0349399670958519,
0.14936582744121552,
-0.05482674390077591,
0.16793905198574066,
0.5366547703742981,
0.1263962835073471,
0.2296377420425415,
0.04199279844760895,
0.4573588967323303,
0.02536984533071518,
0.2196805775165558,... |
https://github.com/huggingface/datasets/issues/2871 | Hi @bwang482,
I'm sorry but I'm not able to reproduce your bug.
Please note that in our current master branch, we made a commit (d03223d4d64b89e76b48b00602aba5aa2f817f1e) that simultaneously modified:
- test_dataset_common.py: https://github.com/huggingface/datasets/commit/d03223d4d64b89e76b48b00602aba5aa2f817f1... | datasets.config.PYARROW_VERSION has no attribute 'major' | In the test_dataset_common.py script, line 288-289
```
if datasets.config.PYARROW_VERSION.major < 3:
packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"]
```
which throws the error below. `datasets.config.PYARROW_VERSION` itself return the string '4.0.1'. I have tested thi... | 47 | datasets.config.PYARROW_VERSION has no attribute 'major'
In the test_dataset_common.py script, line 288-289
```
if datasets.config.PYARROW_VERSION.major < 3:
packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"]
```
which throws the error below. `datasets.config.PYARROW_V... | [
-0.37420833110809326,
0.147858127951622,
0.08840732276439667,
0.04588603973388672,
0.28045397996902466,
0.12814883887767792,
0.15311045944690704,
0.377651572227478,
-0.24275614321231842,
0.2011215090751648,
0.3052012026309967,
0.417703777551651,
-0.18650123476982117,
0.11496073007583618,
... |
https://github.com/huggingface/datasets/issues/2871 | Reopening this. Although the `test_dataset_common.py` script works fine now.
Has this got something to do with my pull request not passing `ci/circleci: run_dataset_script_tests_pyarrow` tests?
https://github.com/huggingface/datasets/pull/2873 | datasets.config.PYARROW_VERSION has no attribute 'major' | In the test_dataset_common.py script, line 288-289
```
if datasets.config.PYARROW_VERSION.major < 3:
packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"]
```
which throws the error below. `datasets.config.PYARROW_VERSION` itself return the string '4.0.1'. I have tested thi... | 25 | datasets.config.PYARROW_VERSION has no attribute 'major'
In the test_dataset_common.py script, line 288-289
```
if datasets.config.PYARROW_VERSION.major < 3:
packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"]
```
which throws the error below. `datasets.config.PYARROW_V... | [
-0.34133774042129517,
0.20062384009361267,
0.04937269538640976,
0.05718947574496269,
0.1107940748333931,
0.08544453978538513,
0.23533976078033447,
0.28167277574539185,
-0.17608532309532166,
0.13862133026123047,
0.4381389319896698,
0.3304317891597748,
-0.12948444485664368,
0.297734707593917... |
https://github.com/huggingface/datasets/issues/2871 | Hi @bwang482,
If you click on `Details` (on the right of your non passing CI test names: `ci/circleci: run_dataset_script_tests_pyarrow`), you can have more information about the non-passing tests.
For example, for ["ci/circleci: run_dataset_script_tests_pyarrow_1" details](https://circleci.com/gh/huggingface/dat... | datasets.config.PYARROW_VERSION has no attribute 'major' | In the test_dataset_common.py script, line 288-289
```
if datasets.config.PYARROW_VERSION.major < 3:
packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"]
```
which throws the error below. `datasets.config.PYARROW_VERSION` itself return the string '4.0.1'. I have tested thi... | 95 | datasets.config.PYARROW_VERSION has no attribute 'major'
In the test_dataset_common.py script, line 288-289
```
if datasets.config.PYARROW_VERSION.major < 3:
packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"]
```
which throws the error below. `datasets.config.PYARROW_V... | [
-0.4502636790275574,
0.13628937304019928,
0.07276110351085663,
-0.007737966254353523,
0.21044057607650757,
0.14556880295276642,
0.13477876782417297,
0.3891863524913788,
-0.26127323508262634,
0.19664891064167023,
0.24235913157463074,
0.44099223613739014,
-0.1745343804359436,
0.1955469697713... |
https://github.com/huggingface/datasets/issues/2869 | Hi, @Chenfei-Kang.
I'm sorry, but I'm not able to reproduce your bug:
```python
from datasets import load_dataset
ds = load_dataset("glue", 'cola')
ds
```
```
DatasetDict({
train: Dataset({
features: ['sentence', 'label', 'idx'],
num_rows: 8551
})
validation: Dataset({
... | TypeError: 'NoneType' object is not callable | ## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of the expected results.
## Actual results
Speci... | 66 | TypeError: 'NoneType' object is not callable
## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of th... | [
-0.0594903789460659,
-0.11997127532958984,
0.01486431434750557,
0.2438829392194748,
0.47326329350471497,
-0.0013418346643447876,
0.4414614737033844,
0.12539750337600708,
-0.014294873923063278,
0.2675633728504181,
-0.17997723817825317,
0.46588894724845886,
-0.1191558986902237,
0.10542664676... |
https://github.com/huggingface/datasets/issues/2869 | > Hi, @Chenfei-Kang.
>
> I'm sorry, but I'm not able to reproduce your bug:
>
> ```python
> from datasets import load_dataset
>
> ds = load_dataset("glue", 'cola')
> ds
> ```
>
> ```
> DatasetDict({
> train: Dataset({
> features: ['sentence', 'label', 'idx'],
> num_rows: 8551
> ... | TypeError: 'NoneType' object is not callable | ## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of the expected results.
## Actual results
Speci... | 116 | TypeError: 'NoneType' object is not callable
## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of th... | [
-0.017086081206798553,
-0.32405251264572144,
0.062121279537677765,
0.21036694943904877,
0.38401177525520325,
-0.015518374741077423,
0.41579434275627136,
0.17859113216400146,
0.1879405826330185,
0.3116179406642914,
-0.2562710642814636,
0.26173675060272217,
-0.09007880091667175,
0.1555976867... |
https://github.com/huggingface/datasets/issues/2869 | - For the platform, we need to know the operating system of your machine. Could you please run the command `datasets-cli env` and copy-and-paste its output below?
- In relation with the error, you just gave us the error type and message (`TypeError: 'NoneType' object is not callable`). Could you please copy-paste the ... | TypeError: 'NoneType' object is not callable | ## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of the expected results.
## Actual results
Speci... | 69 | TypeError: 'NoneType' object is not callable
## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of th... | [
-0.22777166962623596,
-0.31935030221939087,
0.0008598044514656067,
0.3918524384498596,
0.36772382259368896,
0.055745676159858704,
0.3176339864730835,
0.15452824532985687,
0.1733447015285492,
0.29602789878845215,
-0.14268575608730316,
0.4552958905696869,
-0.07765685766935349,
0.229843676090... |
https://github.com/huggingface/datasets/issues/2869 | > * For the platform, we need to know the operating system of your machine. Could you please run the command `datasets-cli env` and copy-and-paste its output below?
> * In relation with the error, you just gave us the error type and message (`TypeError: 'NoneType' object is not callable`). Could you please copy-paste ... | TypeError: 'NoneType' object is not callable | ## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of the expected results.
## Actual results
Speci... | 154 | TypeError: 'NoneType' object is not callable
## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of th... | [
-0.23339292407035828,
-0.21219098567962646,
0.015184205025434494,
0.3540365695953369,
0.4313124418258667,
0.05654646456241608,
0.42752644419670105,
0.16688349843025208,
0.16195878386497498,
0.2543877363204956,
-0.14911982417106628,
0.4838868975639343,
-0.032627567648887634,
0.2008449882268... |
https://github.com/huggingface/datasets/issues/2869 | For that environment, I am sorry but I can't reproduce the bug: I can load the dataset without any problem. | TypeError: 'NoneType' object is not callable | ## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of the expected results.
## Actual results
Speci... | 20 | TypeError: 'NoneType' object is not callable
## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of th... | [
-0.2608940005302429,
-0.2007061243057251,
0.06599998474121094,
0.40019556879997253,
0.46459925174713135,
0.011525273323059082,
0.3240973651409149,
0.0941319614648819,
0.18959996104240417,
0.3001818358898163,
-0.28490960597991943,
0.46675875782966614,
-0.03664395958185196,
0.166857793927192... |
https://github.com/huggingface/datasets/issues/2869 | One naive question: do you have internet access from the machine where you execute the code? | TypeError: 'NoneType' object is not callable | ## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of the expected results.
## Actual results
Speci... | 16 | TypeError: 'NoneType' object is not callable
## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of th... | [
-0.24667495489120483,
-0.21660681068897247,
-0.0038836002349853516,
0.3586861193180084,
0.400947630405426,
0.03553726524114609,
0.3025211691856384,
0.15218937397003174,
0.16503572463989258,
0.3566102385520935,
-0.17792001366615295,
0.44521355628967285,
-0.03825729712843895,
0.1990443766117... |
https://github.com/huggingface/datasets/issues/2869 | > For that environment, I am sorry but I can't reproduce the bug: I can load the dataset without any problem.
But I can download other task dataset such as `dataset = load_dataset('squad')`. I don't know what went wrong. Thank you so much! | TypeError: 'NoneType' object is not callable | ## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of the expected results.
## Actual results
Speci... | 43 | TypeError: 'NoneType' object is not callable
## Describe the bug
TypeError: 'NoneType' object is not callable
## Steps to reproduce the bug
```python
from datasets import load_dataset, load_metric
dataset = datasets.load_dataset("glue", 'cola')
```
## Expected results
A clear and concise description of th... | [
-0.24798180162906647,
-0.32177162170410156,
0.07635003328323364,
0.4701038599014282,
0.4953814744949341,
0.018508508801460266,
0.3540441393852234,
0.06149458885192871,
0.2402583360671997,
0.3128610849380493,
-0.27640900015830994,
0.45403218269348145,
-0.0626186728477478,
0.1033333092927932... |
https://github.com/huggingface/datasets/issues/2866 | Hi @severo, thanks for reporting.
Just note that currently not all canonical datasets support streaming mode: this is one case!
All datasets that use `pathlib` joins (using `/`) instead of `os.path.join` (as in this dataset) do not support streaming mode yet. | "counter" dataset raises an error in normal mode, but not in streaming mode | ## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter', split="train", streaming=False)
Using custom data configuration default
Dow... | 41 | "counter" dataset raises an error in normal mode, but not in streaming mode
## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter',... | [
-0.4171534776687622,
-0.2417905181646347,
0.00040661171078681946,
0.1936671882867813,
0.18737877905368805,
0.057204462587833405,
0.5056347250938416,
0.10599503666162491,
0.19428399205207825,
0.13533516228199005,
0.06983092427253723,
0.12972156703472137,
-0.20970939099788666,
0.323882788419... |
https://github.com/huggingface/datasets/issues/2866 | OK. Do you think it's possible to detect this, and raise an exception (maybe `NotImplementedError`, or a specific `StreamingError`)? | "counter" dataset raises an error in normal mode, but not in streaming mode | ## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter', split="train", streaming=False)
Using custom data configuration default
Dow... | 19 | "counter" dataset raises an error in normal mode, but not in streaming mode
## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter',... | [
-0.4171534776687622,
-0.2417905181646347,
0.00040661171078681946,
0.1936671882867813,
0.18737877905368805,
0.057204462587833405,
0.5056347250938416,
0.10599503666162491,
0.19428399205207825,
0.13533516228199005,
0.06983092427253723,
0.12972156703472137,
-0.20970939099788666,
0.323882788419... |
https://github.com/huggingface/datasets/issues/2866 | We should definitely support datasets using `pathlib` in streaming mode...
For non-supported datasets in streaming mode, we have already a request of raising an error/warning: see #2654. | "counter" dataset raises an error in normal mode, but not in streaming mode | ## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter', split="train", streaming=False)
Using custom data configuration default
Dow... | 27 | "counter" dataset raises an error in normal mode, but not in streaming mode
## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter',... | [
-0.4171534776687622,
-0.2417905181646347,
0.00040661171078681946,
0.1936671882867813,
0.18737877905368805,
0.057204462587833405,
0.5056347250938416,
0.10599503666162491,
0.19428399205207825,
0.13533516228199005,
0.06983092427253723,
0.12972156703472137,
-0.20970939099788666,
0.323882788419... |
https://github.com/huggingface/datasets/issues/2866 | Hi @severo, please note that "counter" dataset will be streamable (at least until it arrives at the missing file, error already in normal mode) once these PRs are merged:
- #2874
- #2876
- #2880
I have tested it. 😉 | "counter" dataset raises an error in normal mode, but not in streaming mode | ## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter', split="train", streaming=False)
Using custom data configuration default
Dow... | 40 | "counter" dataset raises an error in normal mode, but not in streaming mode
## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter',... | [
-0.4171534776687622,
-0.2417905181646347,
0.00040661171078681946,
0.1936671882867813,
0.18737877905368805,
0.057204462587833405,
0.5056347250938416,
0.10599503666162491,
0.19428399205207825,
0.13533516228199005,
0.06983092427253723,
0.12972156703472137,
-0.20970939099788666,
0.323882788419... |
https://github.com/huggingface/datasets/issues/2866 | Now (on master), we get:
```
import datasets as ds
ds.load_dataset('counter', split="train", streaming=False)
```
```
Using custom data configuration default
Downloading and preparing dataset counter/default (download: 1.29 MiB, generated: 2.48 MiB, post-processed: Unknown size, total: 3.77 MiB) to /home/sle... | "counter" dataset raises an error in normal mode, but not in streaming mode | ## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter', split="train", streaming=False)
Using custom data configuration default
Dow... | 191 | "counter" dataset raises an error in normal mode, but not in streaming mode
## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter',... | [
-0.4171534776687622,
-0.2417905181646347,
0.00040661171078681946,
0.1936671882867813,
0.18737877905368805,
0.057204462587833405,
0.5056347250938416,
0.10599503666162491,
0.19428399205207825,
0.13533516228199005,
0.06983092427253723,
0.12972156703472137,
-0.20970939099788666,
0.323882788419... |
https://github.com/huggingface/datasets/issues/2866 | Note that we might want to open an issue to fix the "counter" dataset by itself, but I let it up to you. | "counter" dataset raises an error in normal mode, but not in streaming mode | ## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter', split="train", streaming=False)
Using custom data configuration default
Dow... | 23 | "counter" dataset raises an error in normal mode, but not in streaming mode
## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter',... | [
-0.4171534776687622,
-0.2417905181646347,
0.00040661171078681946,
0.1936671882867813,
0.18737877905368805,
0.057204462587833405,
0.5056347250938416,
0.10599503666162491,
0.19428399205207825,
0.13533516228199005,
0.06983092427253723,
0.12972156703472137,
-0.20970939099788666,
0.323882788419... |
https://github.com/huggingface/datasets/issues/2866 | On master, I get:
```python
>>> import datasets as ds
>>> iterable_dataset = ds.load_dataset('counter', split="train", streaming=True)
>>> rows = list(iterable_dataset.take(100))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/slesage/hf/datasets/src/datasets/iterable_dat... | "counter" dataset raises an error in normal mode, but not in streaming mode | ## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter', split="train", streaming=False)
Using custom data configuration default
Dow... | 90 | "counter" dataset raises an error in normal mode, but not in streaming mode
## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter',... | [
-0.4171534776687622,
-0.2417905181646347,
0.00040661171078681946,
0.1936671882867813,
0.18737877905368805,
0.057204462587833405,
0.5056347250938416,
0.10599503666162491,
0.19428399205207825,
0.13533516228199005,
0.06983092427253723,
0.12972156703472137,
-0.20970939099788666,
0.323882788419... |
https://github.com/huggingface/datasets/issues/2866 | Associated to the above exception, if I create a test and run it with pytest, I get an awful traceback.
- create a file `test_counter.py`
```python
import pytest
from datasets import load_dataset, IterableDataset
from typing import Any, cast
def test_counter() -> Any:
iterable_dataset = cast(Iterable... | "counter" dataset raises an error in normal mode, but not in streaming mode | ## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter', split="train", streaming=False)
Using custom data configuration default
Dow... | 301 | "counter" dataset raises an error in normal mode, but not in streaming mode
## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter',... | [
-0.4171534776687622,
-0.2417905181646347,
0.00040661171078681946,
0.1936671882867813,
0.18737877905368805,
0.057204462587833405,
0.5056347250938416,
0.10599503666162491,
0.19428399205207825,
0.13533516228199005,
0.06983092427253723,
0.12972156703472137,
-0.20970939099788666,
0.323882788419... |
https://github.com/huggingface/datasets/issues/2866 | I opened a PR to fix these issues.
Also in your test you expect a TypeError but I don't know why. On my side it works fine without raising a TypeError | "counter" dataset raises an error in normal mode, but not in streaming mode | ## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter', split="train", streaming=False)
Using custom data configuration default
Dow... | 31 | "counter" dataset raises an error in normal mode, but not in streaming mode
## Describe the bug
`counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode.
## Steps to reproduce the bug
```python
>>> import datasets as ds
>>> a = ds.load_dataset('counter',... | [
-0.4171534776687622,
-0.2417905181646347,
0.00040661171078681946,
0.1936671882867813,
0.18737877905368805,
0.057204462587833405,
0.5056347250938416,
0.10599503666162491,
0.19428399205207825,
0.13533516228199005,
0.06983092427253723,
0.12972156703472137,
-0.20970939099788666,
0.323882788419... |
https://github.com/huggingface/datasets/issues/2860 | Hola @mrm8488, thanks for reporting.
Apparently, the data source host changed their URL one week ago: https://github.com/google-research-datasets/ToTTo/commit/cebeb430ec2a97747e704d16a9354f7d9073ff8f
I'm fixing it. | Cannot download TOTTO dataset | Error: Couldn't find file at https://storage.googleapis.com/totto/totto_data.zip
`datasets version: 1.11.0`
# How to reproduce:
```py
from datasets import load_dataset
dataset = load_dataset('totto')
```
| 20 | Cannot download TOTTO dataset
Error: Couldn't find file at https://storage.googleapis.com/totto/totto_data.zip
`datasets version: 1.11.0`
# How to reproduce:
```py
from datasets import load_dataset
dataset = load_dataset('totto')
```
Hola @mrm8488, thanks for reporting.
Apparently, the data sourc... | [
-0.2944108247756958,
0.39009326696395874,
-0.13172227144241333,
0.06419715285301208,
0.43536821007728577,
0.13932840526103973,
0.16796372830867767,
0.5879849791526794,
-0.026145342737436295,
0.23434162139892578,
-0.1947767734527588,
-0.04730886220932007,
0.05941708758473396,
0.318708956241... |
https://github.com/huggingface/datasets/issues/2842 | From what I can understand, you want the saved arrow file directory to have username as well instead of just dataset name if it was downloaded with the user prefix? | always requiring the username in the dataset name when there is one | Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due.
So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `openwebtext-10k` and it all was good until we published the software an... | 30 | always requiring the username in the dataset name when there is one
Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due.
So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `o... | [
-0.1190381646156311,
0.1679282784461975,
-0.04717911779880524,
0.08318313956260681,
0.05813471972942352,
-0.18824341893196106,
0.269540399312973,
0.09012007713317871,
0.0316709503531456,
0.3004504442214966,
0.15717872977256775,
-0.04068837687373161,
-0.03393013775348663,
0.0137736201286315... |
https://github.com/huggingface/datasets/issues/2842 | I don't think the user cares of how this is done, but the 2nd command should fail, IMHO, as its dataset name is invalid:
```
# first run
python -c "from datasets import load_dataset; load_dataset('stas/openwebtext-10k')"
# now run immediately
python -c "from datasets import load_dataset; load_dataset('openwebtext-... | always requiring the username in the dataset name when there is one | Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due.
So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `openwebtext-10k` and it all was good until we published the software an... | 115 | always requiring the username in the dataset name when there is one
Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due.
So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `o... | [
-0.011216208338737488,
0.1447482705116272,
-0.039361100643873215,
0.09581924229860306,
0.0011400599032640457,
-0.21814003586769104,
0.42958274483680725,
0.11116702854633331,
0.1069052517414093,
0.33696138858795166,
0.1158716157078743,
-0.028122514486312866,
0.012058649212121964,
0.03876046... |
https://github.com/huggingface/datasets/issues/2842 | This has been fixed now, and we'll do a new release of the library today.
Now the stas/openwebtext-10k dataset is cached at `.cache/huggingface/datasets/stas___openwebtext10k` and openwebtext-10k would be at `.cache/huggingface/datasets/openwebtext10k`. Since they are different, the cache won't fall back on loading ... | always requiring the username in the dataset name when there is one | Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due.
So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `openwebtext-10k` and it all was good until we published the software an... | 65 | always requiring the username in the dataset name when there is one
Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due.
So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `o... | [
0.03759419918060303,
0.08249421417713165,
-0.06238961219787598,
0.18918932974338531,
0.07976221293210983,
-0.1698654294013977,
0.324047714471817,
0.17539119720458984,
0.09880980849266052,
0.2571045756340027,
-0.0334550179541111,
-0.005713179707527161,
0.08684113621711731,
0.015215344727039... |
https://github.com/huggingface/datasets/issues/2841 | Hi @yjernite I am interested in adding this dataset.
In the repo they have also added a code mixed MT task from English to Hinglish [here](https://github.com/microsoft/GLUECoS#code-mixed-machine-translation-task). I think this could be a good dataset addition in itself and then I can add the rest of the GLUECoS tasks... | Adding GLUECoS Hinglish and Spanglish code-switching bemchmark | ## Adding a Dataset
- **Name:** GLUECoS
- **Description:** a Microsoft Benchmark to evaluate code-switching for only two language pairs but a variety of tasks
- **Paper:** https://aclanthology.org/2020.acl-main.329/
- **Data:** https://github.com/microsoft/GLUECoS
- **Motivation:** We currently only have [one othe... | 55 | Adding GLUECoS Hinglish and Spanglish code-switching bemchmark
## Adding a Dataset
- **Name:** GLUECoS
- **Description:** a Microsoft Benchmark to evaluate code-switching for only two language pairs but a variety of tasks
- **Paper:** https://aclanthology.org/2020.acl-main.329/
- **Data:** https://github.com/micr... | [
-0.4562043249607086,
-0.03757382929325104,
-0.14038343727588654,
0.09847058355808258,
-0.08661326766014099,
0.1747601479291916,
0.10343532264232635,
0.1597852110862732,
0.12439955025911331,
-0.1275312304496765,
-0.36630871891975403,
0.05822882056236267,
-0.1664721965789795,
0.4522486329078... |
https://github.com/huggingface/datasets/issues/2839 | I just regenerated the verifications metadata and noticed that nothing changed: the data file is fine (the checksum didn't change), and the number of examples is still 8013769. Not sure how you managed to get 7982430 examples.
Can you try to delete your cache ( by default at `~/.cache/huggingface/datasets`) and try ... | OpenWebText: NonMatchingSplitsSizesError | ## Describe the bug
When downloading `openwebtext`, I'm getting:
```
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', num_bytes=39611023912, num_examples=7982430... | 62 | OpenWebText: NonMatchingSplitsSizesError
## Describe the bug
When downloading `openwebtext`, I'm getting:
```
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', ... | [
-0.2325657457113266,
-0.1025964766740799,
0.05944858491420746,
0.4710067808628082,
0.09914522618055344,
0.09832902997732162,
0.001799010206013918,
0.5494818687438965,
-0.02016715332865715,
0.13166968524456024,
-0.11764619499444962,
0.003290195018053055,
-0.1183156669139862,
0.0913082063198... |
https://github.com/huggingface/datasets/issues/2839 | I'll try without deleting the whole cache (we have large datasets already stored). I was under the impression that `download_mode="force_redownload"` would bypass cache.
Sorry plateform should be linux (Redhat version 8.1) | OpenWebText: NonMatchingSplitsSizesError | ## Describe the bug
When downloading `openwebtext`, I'm getting:
```
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', num_bytes=39611023912, num_examples=7982430... | 31 | OpenWebText: NonMatchingSplitsSizesError
## Describe the bug
When downloading `openwebtext`, I'm getting:
```
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', ... | [
-0.36078256368637085,
-0.23985466361045837,
0.05169721692800522,
0.4607081711292267,
-0.04562678188085556,
0.13274237513542175,
0.06605207920074463,
0.6086546182632446,
0.1439708024263382,
0.13747860491275787,
-0.22836562991142273,
0.1216920018196106,
-0.051187533885240555,
0.2408789992332... |
https://github.com/huggingface/datasets/issues/2839 | Sorry I haven't had time to work on this. I'll close and re-open if I can't figure out why I'm having this issue. Thanks for taking a look ! | OpenWebText: NonMatchingSplitsSizesError | ## Describe the bug
When downloading `openwebtext`, I'm getting:
```
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', num_bytes=39611023912, num_examples=7982430... | 29 | OpenWebText: NonMatchingSplitsSizesError
## Describe the bug
When downloading `openwebtext`, I'm getting:
```
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', ... | [
-0.33537378907203674,
-0.1884128898382187,
0.04876275733113289,
0.4328112006187439,
0.05913494899868965,
0.1115415096282959,
-0.08526167273521423,
0.5720369219779968,
-0.016944676637649536,
0.12638473510742188,
-0.12406725436449051,
0.003023047000169754,
-0.07802122831344604,
0.08419729769... |
https://github.com/huggingface/datasets/issues/2832 | I just take a look at all the outputs produced by `datasets` using the different log-levels.
As far as i can tell using `datasets==1.17.0` they overall issue seems to be fixed.
However, I noticed that there is one tqdm based progress indicator appearing on STDERR that I can simply not suppress.
```
Resolving data... | Logging levels not taken into account | ## Describe the bug
The `logging` module isn't working as intended relative to the levels to set.
## Steps to reproduce the bug
```python
from datasets import logging
logging.set_verbosity_debug()
logger = logging.get_logger()
logger.error("ERROR")
logger.warning("WARNING")
logger.info("INFO")
logge... | 159 | Logging levels not taken into account
## Describe the bug
The `logging` module isn't working as intended relative to the levels to set.
## Steps to reproduce the bug
```python
from datasets import logging
logging.set_verbosity_debug()
logger = logging.get_logger()
logger.error("ERROR")
logger.warnin... | [
-0.18190908432006836,
-0.08983829617500305,
0.09396684169769287,
0.18825411796569824,
0.309596985578537,
-0.21926258504390717,
0.47323670983314514,
0.14317843317985535,
-0.3718084692955017,
0.035379938781261444,
-0.005893588066101074,
0.46152687072753906,
-0.41046828031539917,
0.0659598261... |
https://github.com/huggingface/datasets/issues/2832 | Hi! This should disable the tqdm output:
```python
import datasets
datasets.set_progress_bar_enabled(False)
```
On a side note: I believe the issue with logging (not tqdm) is still relevant on master. | Logging levels not taken into account | ## Describe the bug
The `logging` module isn't working as intended relative to the levels to set.
## Steps to reproduce the bug
```python
from datasets import logging
logging.set_verbosity_debug()
logger = logging.get_logger()
logger.error("ERROR")
logger.warning("WARNING")
logger.info("INFO")
logge... | 29 | Logging levels not taken into account
## Describe the bug
The `logging` module isn't working as intended relative to the levels to set.
## Steps to reproduce the bug
```python
from datasets import logging
logging.set_verbosity_debug()
logger = logging.get_logger()
logger.error("ERROR")
logger.warnin... | [
-0.19616302847862244,
-0.1857532560825348,
0.11079062521457672,
0.1480395495891571,
0.32971814274787903,
-0.08227340877056122,
0.5039984583854675,
0.15956565737724304,
-0.3525218069553375,
0.01967601478099823,
-0.05819643288850784,
0.3992097079753876,
-0.33221435546875,
0.0895235538482666,... |
https://github.com/huggingface/datasets/issues/2831 | Hi ! It fails because of the feature type inference.
Because the first 1000 examples all have null values in the "match" field, then it infers that the type for this field is `null` type before writing the data on disk. But as soon as it tries to map an example with a non-null "match" field, then it fails.
To fix... | ArrowInvalid when mapping dataset with missing values | ## Describe the bug
I encountered an `ArrowInvalid` when mapping dataset with missing values.
Here are the files for a minimal example. The exception is only thrown when the first line in the csv has a missing value (if you move the last line to the top it isn't thrown).
[data_small.csv](https://github.com/huggingf... | 134 | ArrowInvalid when mapping dataset with missing values
## Describe the bug
I encountered an `ArrowInvalid` when mapping dataset with missing values.
Here are the files for a minimal example. The exception is only thrown when the first line in the csv has a missing value (if you move the last line to the top it isn'... | [
-0.03272668272256851,
-0.1531256139278412,
0.10408959537744522,
0.22862376272678375,
0.07260002195835114,
0.13660714030265808,
0.3329792320728302,
0.4905758500099182,
-0.02076970785856247,
0.23007342219352722,
0.23385068774223328,
0.4390179514884949,
0.027151960879564285,
-0.14941671490669... |
https://github.com/huggingface/datasets/issues/2826 | Hi ! In your script it looks like you're trying to load the dataset `bn_hate_speech,`, not KanHope.
Moreover the error `KeyError: ' '` means that you have a feature of type ClassLabel, but for a certain example of the dataset, it looks like the label is empty (it's just a string with a space). Can you make sure that... | Add a Text Classification dataset: KanHope | ## Adding a Dataset
- **Name:** *KanHope*
- **Description:** *A code-mixed English-Kannada dataset for Hope speech detection*
- **Paper:** *https://arxiv.org/abs/2108.04616* (I am the author of the paper}
- **Author:** *[AdeepH](https://github.com/adeepH)*
- **Data:** *https://github.com/adeepH/KanHope/tree/main/d... | 75 | Add a Text Classification dataset: KanHope
## Adding a Dataset
- **Name:** *KanHope*
- **Description:** *A code-mixed English-Kannada dataset for Hope speech detection*
- **Paper:** *https://arxiv.org/abs/2108.04616* (I am the author of the paper}
- **Author:** *[AdeepH](https://github.com/adeepH)*
- **Data:** *... | [
-0.24380934238433838,
-0.08374530076980591,
-0.10764116048812866,
0.16815027594566345,
0.2711258828639984,
0.015442326664924622,
0.1767386794090271,
0.4127870798110962,
0.14656808972358704,
0.08685901015996933,
-0.1648920476436615,
-0.07798982411623001,
-0.25907349586486816,
0.280179202556... |
https://github.com/huggingface/datasets/issues/2825 | This also happened to me on COLAB.
Details:
I ran the `run_mlm.py` in two different notebooks.
In the first notebook, I do tokenization since I can get 4 CPU cores without any GPUs, and save the cache into a folder which I copy to drive.
In the second notebook, I copy the cache folder from drive and re-run the run... | The datasets.map function does not load cached dataset after moving python script | ## Describe the bug
The datasets.map function caches the processed data to a certain directory. When the map function is called another time with totally the same parameters, the cached data are supposed to be reloaded instead of re-processing. However, it doesn't reuse cached data sometimes. I use the common data pro... | 85 | The datasets.map function does not load cached dataset after moving python script
## Describe the bug
The datasets.map function caches the processed data to a certain directory. When the map function is called another time with totally the same parameters, the cached data are supposed to be reloaded instead of re-pr... | [
-0.16120991110801697,
0.06667277216911316,
0.12359873205423355,
0.14211733639240265,
0.12110641598701477,
-0.09257225692272186,
0.4181309938430786,
0.10901594907045364,
0.17314811050891876,
-0.07805012911558151,
0.11544659733772278,
0.6156933903694153,
-0.02114005759358406,
-0.133194640278... |
https://github.com/huggingface/datasets/issues/2825 | #2854 fixed the issue :)
We'll do a new release of `datasets` soon to make the fix available.
In the meantime, feel free to try it out by installing `datasets` from source
If you have other issues or any question, feel free to re-open the issue :) | The datasets.map function does not load cached dataset after moving python script | ## Describe the bug
The datasets.map function caches the processed data to a certain directory. When the map function is called another time with totally the same parameters, the cached data are supposed to be reloaded instead of re-processing. However, it doesn't reuse cached data sometimes. I use the common data pro... | 47 | The datasets.map function does not load cached dataset after moving python script
## Describe the bug
The datasets.map function caches the processed data to a certain directory. When the map function is called another time with totally the same parameters, the cached data are supposed to be reloaded instead of re-pr... | [
-0.1273978054523468,
0.07241439819335938,
0.09145860373973846,
0.009580749087035656,
0.15996336936950684,
-0.06600873172283173,
0.40474626421928406,
0.24604851007461548,
0.22598575055599213,
-0.08737970888614655,
0.11444094777107239,
0.5168567299842834,
-0.058369532227516174,
-0.1686522364... |
https://github.com/huggingface/datasets/issues/2823 | Agh - I'm a muppet. No quote marks are needed.
set HF_DATASETS_CACHE = C:\Datasets
works as intended. | HF_DATASETS_CACHE variable in Windows | I can't seem to use a custom Cache directory in Windows. I have tried:
set HF_DATASETS_CACHE = "C:\Datasets"
set HF_DATASETS_CACHE = "C:/Datasets"
set HF_DATASETS_CACHE = "C:\\Datasets"
set HF_DATASETS_CACHE = "r'C:\Datasets'"
set HF_DATASETS_CACHE = "\Datasets"
set HF_DATASETS_CACHE = "/Datasets"
In each in... | 17 | HF_DATASETS_CACHE variable in Windows
I can't seem to use a custom Cache directory in Windows. I have tried:
set HF_DATASETS_CACHE = "C:\Datasets"
set HF_DATASETS_CACHE = "C:/Datasets"
set HF_DATASETS_CACHE = "C:\\Datasets"
set HF_DATASETS_CACHE = "r'C:\Datasets'"
set HF_DATASETS_CACHE = "\Datasets"
set HF_DA... | [
-0.25575196743011475,
0.4681491553783417,
-0.008667774498462677,
0.0938129648566246,
-0.0932583212852478,
0.28094494342803955,
0.35917961597442627,
0.013097139075398445,
0.5492924451828003,
0.1723240315914154,
-0.10862981528043747,
-0.3207073509693146,
0.026963189244270325,
-0.136294990777... |
https://github.com/huggingface/datasets/issues/2821 | Thanks for reporting ! #2852 fixed this error
We'll do a new release of `datasets` soon :) | Cannot load linnaeus dataset | ## Describe the bug
The [linnaeus](https://huggingface.co/datasets/linnaeus) dataset cannot be loaded. To reproduce:
```
from datasets import load_dataset
datasets = load_dataset("linnaeus")
```
This results in:
```
Downloading and preparing dataset linnaeus/linnaeus (download: 17.36 MiB, generated: 8.74 MiB,... | 17 | Cannot load linnaeus dataset
## Describe the bug
The [linnaeus](https://huggingface.co/datasets/linnaeus) dataset cannot be loaded. To reproduce:
```
from datasets import load_dataset
datasets = load_dataset("linnaeus")
```
This results in:
```
Downloading and preparing dataset linnaeus/linnaeus (download: ... | [
-0.1098577007651329,
-0.1431659460067749,
-0.0036667250096797943,
0.5683760643005371,
0.2294623851776123,
-0.07168745994567871,
0.0764339417219162,
0.312703400850296,
0.13735812902450562,
0.04877639561891556,
-0.3296412527561188,
0.03506369888782501,
-0.018028417602181435,
-0.1834698617458... |
https://github.com/huggingface/datasets/issues/2820 | ```
Using custom data configuration default
Downloading and preparing dataset reddit/default (download: 2.93 GiB, generated: 17.64 GiB, post-processed: Unknown size, total: 20.57 GiB) to /Volumes/My Passport for Mac/og-chat-data/reddit/default/1.0.0/98ba5abea674d3178f7588aa6518a5510dc0c6fa8176d9653a3546d5afcb3969...
... | Downloading “reddit” dataset keeps timing out. | ## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduce the bug
```python
from datasets import load_d... | 646 | Downloading “reddit” dataset keeps timing out.
## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduc... | [
-0.36389583349227905,
-0.14213068783283234,
-0.07971888780593872,
0.12004680186510086,
0.16684186458587646,
0.18720616400241852,
0.03860494866967201,
0.24388012290000916,
-0.05715720355510712,
-0.13316166400909424,
-0.06276486814022064,
0.14413994550704956,
0.34882885217666626,
-0.00197532... |
https://github.com/huggingface/datasets/issues/2820 | It also doesn't seem to be "smart caching" and I received an error about a file not being found... | Downloading “reddit” dataset keeps timing out. | ## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduce the bug
```python
from datasets import load_d... | 19 | Downloading “reddit” dataset keeps timing out.
## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduc... | [
-0.35145553946495056,
-0.17711490392684937,
-0.07967135310173035,
0.16828733682632446,
0.14759476482868195,
0.22328390181064606,
0.02260373905301094,
0.22113972902297974,
0.012354128062725067,
-0.18973788619041443,
-0.0006051771342754364,
0.0798816829919815,
0.2927664816379547,
-0.02349920... |
https://github.com/huggingface/datasets/issues/2820 | To be clear, the error I get when I try to "re-instantiate" the download after failure is:
```
OSError: Cannot find data file.
Original error:
[Errno 20] Not a directory: <HOME>/.cache/huggingface/datasets/downloads/1ec12301abba4daa60eb3a90e53529b5b173296b22dc3bef3186e205c75e594c/corpus-webis-tldr-17.json'
``` | Downloading “reddit” dataset keeps timing out. | ## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduce the bug
```python
from datasets import load_d... | 32 | Downloading “reddit” dataset keeps timing out.
## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduc... | [
-0.3457062840461731,
-0.11349162459373474,
-0.08899138122797012,
0.12944403290748596,
0.14749211072921753,
0.2143733948469162,
0.04801781848073006,
0.19988742470741272,
0.033855415880680084,
-0.09553162008523941,
-0.03020249679684639,
0.11687503010034561,
0.2437812089920044,
-0.07714833319... |
https://github.com/huggingface/datasets/issues/2820 | Hi ! Since https://github.com/huggingface/datasets/pull/2803 we've changed the time out from 10sec to 100sec.
This should prevent the `ReadTimeoutError`. Feel free to try it out by installing `datasets` from source
```
pip install git+https://github.com/huggingface/datasets.git
```
When re-running your code you ... | Downloading “reddit” dataset keeps timing out. | ## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduce the bug
```python
from datasets import load_d... | 111 | Downloading “reddit” dataset keeps timing out.
## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduc... | [
-0.45382481813430786,
-0.03595249354839325,
-0.10725772380828857,
0.21480664610862732,
0.22540107369422913,
0.09833839535713196,
0.159171923995018,
0.22687974572181702,
-0.05263829231262207,
0.000022798776626586914,
-0.16277742385864258,
0.15473729372024536,
0.19559213519096375,
-0.1334097... |
https://github.com/huggingface/datasets/issues/2820 | @lhoestq thanks for the update. The directory specified by the OSError ie.
```
1ec12301abba4daa60eb3a90e53529b5b173296b22dc3bef3186e205c75e594c/corpus-webis-tldr-17.json
```
was not actually in that directory so I can't delete it. | Downloading “reddit” dataset keeps timing out. | ## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduce the bug
```python
from datasets import load_d... | 26 | Downloading “reddit” dataset keeps timing out.
## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduc... | [
-0.30950233340263367,
-0.1504020094871521,
-0.12485231459140778,
0.16719238460063934,
0.06269361078739166,
0.23221726715564728,
0.04524621739983559,
0.24818456172943115,
0.020850054919719696,
-0.06715619564056396,
-0.07025175541639328,
0.16330188512802124,
0.2610352039337158,
-0.1121934801... |
https://github.com/huggingface/datasets/issues/2820 | Oh, then could you try deleting the parent directory `1ec12301abba4daa60eb3a90e53529b5b173296b22dc3bef3186e205c75e594c` instead ?
This way the download manager will know that it has to uncompress the data again | Downloading “reddit” dataset keeps timing out. | ## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduce the bug
```python
from datasets import load_d... | 27 | Downloading “reddit” dataset keeps timing out.
## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduc... | [
-0.3229551315307617,
-0.1548747718334198,
-0.09585165977478027,
0.21227695047855377,
0.1727839857339859,
0.20890851318836212,
0.031165869906544685,
0.2200947403907776,
-0.043005891144275665,
-0.05646967887878418,
-0.07228407263755798,
0.10256870090961456,
0.2630369961261749,
-0.02843587473... |
https://github.com/huggingface/datasets/issues/2820 | It seems to have worked. It only took like 20min! I think the extra timeout length did the trick! One thing is that it downloaded a total of 41gb instead of 20gb but at least it finished. | Downloading “reddit” dataset keeps timing out. | ## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduce the bug
```python
from datasets import load_d... | 37 | Downloading “reddit” dataset keeps timing out.
## Describe the bug
A clear and concise description of what the bug is.
Everytime I try and download the reddit dataset it times out before finishing and I have to try again.
There is some timeout error that I will post once it happens again.
## Steps to reproduc... | [
-0.34433314204216003,
-0.1409982144832611,
-0.08831924200057983,
0.10771919041872025,
0.13446888327598572,
0.14192204177379608,
0.029093464836478233,
0.2305130511522293,
-0.05004590004682541,
-0.14884215593338013,
-0.06510059535503387,
0.13194265961647034,
0.2865748703479767,
0.04486642032... |
https://github.com/huggingface/datasets/issues/2818 | Hi ! The `data_files` parameter must be a string, a list/tuple or a python dict.
Can you check the type of your `config.train_path` please ? Or use `data_files=str(config.train_path)` ? | cannot load data from my loacal path | ## Describe the bug
I just want to directly load data from my local path,but find a bug.And I compare it with pandas to provide my local path is real.
here is my code
```python3
# print my local path
print(config.train_path)
# read data and print data length
tarin=pd.read_csv(config.train_path)
print(len(tari... | 29 | cannot load data from my loacal path
## Describe the bug
I just want to directly load data from my local path,but find a bug.And I compare it with pandas to provide my local path is real.
here is my code
```python3
# print my local path
print(config.train_path)
# read data and print data length
tarin=pd.read... | [
-0.057438842952251434,
-0.015885010361671448,
0.07422030717134476,
0.5506057143211365,
0.30274373292922974,
-0.19356666505336761,
0.4147058129310608,
0.07691347599029541,
0.082546666264534,
0.0638928934931755,
-0.008926618844270706,
0.5863604545593262,
0.012284107506275177,
-0.028452970087... |
https://github.com/huggingface/datasets/issues/2813 | After discussing with @lhoestq, a reasonable alternative:
- `download_manager.extract(urlpath)` adds prefixes to `urlpath` in the same way as `fsspec` does for protocols, but we implement custom prefixes for all compression formats:
`bz2::http://domain.org/filename.bz2`
- `xopen` parses the `urlpath` and extracts... | Remove compression from xopen | We implemented support for streaming with 2 requirements:
- transparent use for the end user: just needs to pass the parameter `streaming=True`
- no additional work for the contributors: previous loading scripts should also work in streaming mode with no (or minor) changes; and new loading scripts should not involve ... | 105 | Remove compression from xopen
We implemented support for streaming with 2 requirements:
- transparent use for the end user: just needs to pass the parameter `streaming=True`
- no additional work for the contributors: previous loading scripts should also work in streaming mode with no (or minor) changes; and new loa... | [
-0.4191689193248749,
-0.0069030821323394775,
0.00591253861784935,
0.023857681080698967,
0.1248176246881485,
-0.325687974691391,
-0.229277566075325,
0.47133520245552063,
0.08866457641124725,
0.24094653129577637,
-0.2471541315317154,
0.4001297652721405,
0.08196698129177094,
0.137193322181701... |
https://github.com/huggingface/datasets/issues/2799 | Hi @lewtun, thanks for reporting.
Apparently, `pyarrow.json` tries to cast timestamp-like fields in your JSON file to pyarrow timestamp type, and it fails with `ArrowNotImplementedError`.
I will investigate if there is a way to tell pyarrow not to try that timestamp casting. | Loading JSON throws ArrowNotImplementedError | ## Describe the bug
I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below).
Curiously, there is no problem loading the dataset with `pandas` which... | 42 | Loading JSON throws ArrowNotImplementedError
## Describe the bug
I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below).
Curiously, there is no ... | [
-0.06818690896034241,
0.18416234850883484,
0.03641544282436371,
0.3780701756477356,
0.23553714156150818,
-0.00627029687166214,
0.48466789722442627,
0.3670632839202881,
0.4180774688720703,
-0.002839095890522003,
0.06055498868227005,
0.5898874402046204,
0.027620695531368256,
-0.1488581895828... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.