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/3257 | Hi, I would be glad to help with this. Is there anyone else working on it? | Use f-strings for string formatting | f-strings offer better readability/performance than `str.format` and `%`, so we should use them in all places in our codebase unless there is good reason to keep the older syntax.
> **NOTE FOR CONTRIBUTORS**: To avoid large PRs and possible merge conflicts, do 1-3 modules per PR. Also, feel free to ignore the files ... | 16 | Use f-strings for string formatting
f-strings offer better readability/performance than `str.format` and `%`, so we should use them in all places in our codebase unless there is good reason to keep the older syntax.
> **NOTE FOR CONTRIBUTORS**: To avoid large PRs and possible merge conflicts, do 1-3 modules per P... | [
-0.2523805797100067,
-0.07269499450922012,
-0.2729312479496002,
-0.19373786449432373,
0.31808966398239136,
-0.23307529091835022,
-0.07743142545223236,
0.43380042910575867,
-0.04019919037818909,
0.17414748668670654,
-0.07385508716106415,
0.2662830054759979,
-0.15483726561069489,
0.326469630... |
https://github.com/huggingface/datasets/issues/3257 | Hi @Carlosbogo,
would you be interested in replacing the `.format` and `%` syntax with f-strings in the modules in the `datasets` directory since @Mehdi2402 has opened a PR that does that for all the other directories? | Use f-strings for string formatting | f-strings offer better readability/performance than `str.format` and `%`, so we should use them in all places in our codebase unless there is good reason to keep the older syntax.
> **NOTE FOR CONTRIBUTORS**: To avoid large PRs and possible merge conflicts, do 1-3 modules per PR. Also, feel free to ignore the files ... | 36 | Use f-strings for string formatting
f-strings offer better readability/performance than `str.format` and `%`, so we should use them in all places in our codebase unless there is good reason to keep the older syntax.
> **NOTE FOR CONTRIBUTORS**: To avoid large PRs and possible merge conflicts, do 1-3 modules per P... | [
-0.2773168087005615,
-0.006252378225326538,
-0.26387184858322144,
-0.2012525498867035,
0.3526016175746918,
-0.23385122418403625,
-0.0026534348726272583,
0.33808422088623047,
-0.13981473445892334,
0.15896856784820557,
-0.009281348437070847,
0.31414544582366943,
-0.10934421420097351,
0.28441... |
https://github.com/huggingface/datasets/issues/3253 | Hi,
thanks for reporting and providing a minimal reproducible example.
This line of the PR I've linked in our discussion on the Forum will add support for `None` values:
https://github.com/huggingface/datasets/blob/a53de01842aac65c66a49b2439e18fa93ff73ceb/src/datasets/features/features.py#L835
I expect that ... | `GeneratorBasedBuilder` does not support `None` values | ## Describe the bug
`GeneratorBasedBuilder` does not support `None` values.
## Steps to reproduce the bug
See [this repository](https://github.com/pavel-lexyr/huggingface-datasets-bug-reproduction) for minimal reproduction.
## Expected results
Dataset is initialized with a `None` value in the `value` column.
... | 38 | `GeneratorBasedBuilder` does not support `None` values
## Describe the bug
`GeneratorBasedBuilder` does not support `None` values.
## Steps to reproduce the bug
See [this repository](https://github.com/pavel-lexyr/huggingface-datasets-bug-reproduction) for minimal reproduction.
## Expected results
Dataset is... | [
-0.3755473494529724,
-0.05565989017486572,
0.01751435548067093,
0.3620698153972626,
0.20845147967338562,
-0.04672784358263016,
0.287864625453949,
0.31968557834625244,
-0.0551299974322319,
0.4114517569541931,
-0.09194938093423843,
0.2093869000673294,
-0.03035999834537506,
0.1589507311582565... |
https://github.com/huggingface/datasets/issues/3247 | Hi,
this issue is similar to https://github.com/huggingface/datasets/issues/3093, so you can either use the solution provided there or try to load the data in one chunk (you can control the chunk size by specifying the `chunksize` parameter (`int`) in `load_dataset`).
@lhoestq Is this worth opening an issue on Ji... | Loading big json dataset raises pyarrow.lib.ArrowNotImplementedError | ## Describe the bug
When trying to create a dataset from a json file with around 25MB, the following error is raised `pyarrow.lib.ArrowNotImplementedError: Unsupported cast from struct<b: int64, c: int64> to struct using function cast_struct`
Splitting the big file into smaller ones and then loading it with the `lo... | 94 | Loading big json dataset raises pyarrow.lib.ArrowNotImplementedError
## Describe the bug
When trying to create a dataset from a json file with around 25MB, the following error is raised `pyarrow.lib.ArrowNotImplementedError: Unsupported cast from struct<b: int64, c: int64> to struct using function cast_struct`
Sp... | [
-0.26852208375930786,
0.2580777704715729,
0.020510993897914886,
0.42285293340682983,
0.41463881731033325,
-0.06554190814495087,
0.10114453732967377,
0.48126456141471863,
-0.1803748607635498,
0.008807104080915451,
0.004147883504629135,
0.5188925862312317,
-0.09242729842662811,
-0.1117405369... |
https://github.com/huggingface/datasets/issues/3247 | I agree I would expect PyArrow to be able to handle this, do you want to open the issue @mariosasko ?
Although maybe it's possible to fix struct casting on our side without hurting performance too much, if it's simply a matter of reordering the arrays in the StructArray | Loading big json dataset raises pyarrow.lib.ArrowNotImplementedError | ## Describe the bug
When trying to create a dataset from a json file with around 25MB, the following error is raised `pyarrow.lib.ArrowNotImplementedError: Unsupported cast from struct<b: int64, c: int64> to struct using function cast_struct`
Splitting the big file into smaller ones and then loading it with the `lo... | 49 | Loading big json dataset raises pyarrow.lib.ArrowNotImplementedError
## Describe the bug
When trying to create a dataset from a json file with around 25MB, the following error is raised `pyarrow.lib.ArrowNotImplementedError: Unsupported cast from struct<b: int64, c: int64> to struct using function cast_struct`
Sp... | [
-0.26852208375930786,
0.2580777704715729,
0.020510993897914886,
0.42285293340682983,
0.41463881731033325,
-0.06554190814495087,
0.10114453732967377,
0.48126456141471863,
-0.1803748607635498,
0.008807104080915451,
0.004147883504629135,
0.5188925862312317,
-0.09242729842662811,
-0.1117405369... |
https://github.com/huggingface/datasets/issues/3240 | It looks like the dataset isn't available anymore on appen.com
The CSV files appear to still be available at https://www.kaggle.com/landlord/multilingual-disaster-response-messages though. It says that the data are under the CC0 license so I guess we can host the dataset elsewhere instead ? | Couldn't reach data file for disaster_response_messages | ## Describe the bug
Following command gives an ConnectionError.
## Steps to reproduce the bug
```python
disaster = load_dataset('disaster_response_messages')
```
## Error
```
ConnectionError: Couldn't reach https://datasets.appen.com/appen_datasets/disaster_response_data/disaster_response_messages_training.... | 42 | Couldn't reach data file for disaster_response_messages
## Describe the bug
Following command gives an ConnectionError.
## Steps to reproduce the bug
```python
disaster = load_dataset('disaster_response_messages')
```
## Error
```
ConnectionError: Couldn't reach https://datasets.appen.com/appen_datasets/d... | [
-0.3969844877719879,
0.0855659544467926,
-0.1614028513431549,
0.2481057047843933,
0.24575947225093842,
-0.03626258671283722,
0.31503716111183167,
0.03197713941335678,
-0.183284729719162,
0.10359354317188263,
-0.0032422952353954315,
0.1029789000749588,
-0.0037675946950912476,
0.074346587061... |
https://github.com/huggingface/datasets/issues/3236 | Hi @eladsegal, thanks for reporting.
I am sorry, but I can't reproduce the bug:
```
In [1]: from datasets import load_dataset
In [2]: ds = load_dataset("qasper")
Downloading: 5.11kB [00:00, ?B/s]
Downloading and preparing dataset qasper/qasper (download: 9.88 MiB, generated: 35.11 MiB, post-processed: Unknown... | Loading of datasets changed in #3110 returns no examples | ## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
})
validation: Dataset({
features: ['id',... | 173 | Loading of datasets changed in #3110 returns no examples
## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
... | [
0.04819878935813904,
-0.08699779957532883,
-0.024228911846876144,
0.28186535835266113,
0.3240281939506531,
-0.02735116332769394,
0.27424126863479614,
0.23747509717941284,
0.17098559439182281,
0.20155444741249084,
-0.07156741619110107,
0.3162326514720917,
-0.042327992618083954,
0.1720465719... |
https://github.com/huggingface/datasets/issues/3236 | I can't reproduce either in my environment (macos, python 3.7).
In your case it generates zero examples. This can only happen if the extraction of the TAR archive doesn't output the right filenames. Indeed if the `qasper` script can't find the right file to load, it's currently ignored and it returns zero examples. ... | Loading of datasets changed in #3110 returns no examples | ## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
})
validation: Dataset({
features: ['id',... | 107 | Loading of datasets changed in #3110 returns no examples
## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
... | [
0.04819878935813904,
-0.08699779957532883,
-0.024228911846876144,
0.28186535835266113,
0.3240281939506531,
-0.02735116332769394,
0.27424126863479614,
0.23747509717941284,
0.17098559439182281,
0.20155444741249084,
-0.07156741619110107,
0.3162326514720917,
-0.042327992618083954,
0.1720465719... |
https://github.com/huggingface/datasets/issues/3236 | I just tried again on python 3.8 and I was able to reproduce the issue. Let me work on a fix | Loading of datasets changed in #3110 returns no examples | ## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
})
validation: Dataset({
features: ['id',... | 21 | Loading of datasets changed in #3110 returns no examples
## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
... | [
0.04819878935813904,
-0.08699779957532883,
-0.024228911846876144,
0.28186535835266113,
0.3240281939506531,
-0.02735116332769394,
0.27424126863479614,
0.23747509717941284,
0.17098559439182281,
0.20155444741249084,
-0.07156741619110107,
0.3162326514720917,
-0.042327992618083954,
0.1720465719... |
https://github.com/huggingface/datasets/issues/3236 | Ok I found the issue. It's not related to python 3.8 in itself though. This issue happens because your local installation of `datasets` is outdated compared to the changes to datasets in #3110
To fix this you just have to pull the latest changes from `master` :)
Let me know if that helps !
--------------
He... | Loading of datasets changed in #3110 returns no examples | ## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
})
validation: Dataset({
features: ['id',... | 183 | Loading of datasets changed in #3110 returns no examples
## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
... | [
0.04819878935813904,
-0.08699779957532883,
-0.024228911846876144,
0.28186535835266113,
0.3240281939506531,
-0.02735116332769394,
0.27424126863479614,
0.23747509717941284,
0.17098559439182281,
0.20155444741249084,
-0.07156741619110107,
0.3162326514720917,
-0.042327992618083954,
0.1720465719... |
https://github.com/huggingface/datasets/issues/3236 | Thanks!
But what about code that is already using older version of datasets?
The reason I encountered this issue was that suddenly one of my repos with version 1.12.1 started getting 0 examples.
I handled it by adding `revision` to `load_dataset`, but I guess it would still be an issue for other users who doesn't k... | Loading of datasets changed in #3110 returns no examples | ## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
})
validation: Dataset({
features: ['id',... | 57 | Loading of datasets changed in #3110 returns no examples
## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
... | [
0.04819878935813904,
-0.08699779957532883,
-0.024228911846876144,
0.28186535835266113,
0.3240281939506531,
-0.02735116332769394,
0.27424126863479614,
0.23747509717941284,
0.17098559439182281,
0.20155444741249084,
-0.07156741619110107,
0.3162326514720917,
-0.042327992618083954,
0.1720465719... |
https://github.com/huggingface/datasets/issues/3236 | Hi, in 1.12.1 it uses the dataset scripts from that time, not the one on master.
It only uses the datasets from master if you installed `datasets` from source, or if the dataset isn't available in your local version (in this case it shows a warning and it loads from master).
| Loading of datasets changed in #3110 returns no examples | ## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
})
validation: Dataset({
features: ['id',... | 51 | Loading of datasets changed in #3110 returns no examples
## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
... | [
0.04819878935813904,
-0.08699779957532883,
-0.024228911846876144,
0.28186535835266113,
0.3240281939506531,
-0.02735116332769394,
0.27424126863479614,
0.23747509717941284,
0.17098559439182281,
0.20155444741249084,
-0.07156741619110107,
0.3162326514720917,
-0.042327992618083954,
0.1720465719... |
https://github.com/huggingface/datasets/issues/3236 | OK, I understand the issue a bit better now.
I see I wasn't on 1.12.1, but on 1.12.1.dev0 and since it is a dev version it uses master.
So users that use an old dev version must specify revision or else they'll encounter this problem.
BTW, when I opened the issue I installed the latest master version with
```
pi... | Loading of datasets changed in #3110 returns no examples | ## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
})
validation: Dataset({
features: ['id',... | 113 | Loading of datasets changed in #3110 returns no examples
## Describe the bug
Loading of datasets changed in https://github.com/huggingface/datasets/pull/3110 returns no examples:
```python
DatasetDict({
train: Dataset({
features: ['id', 'title', 'abstract', 'full_text', 'qas'],
num_rows: 0
... | [
0.04819878935813904,
-0.08699779957532883,
-0.024228911846876144,
0.28186535835266113,
0.3240281939506531,
-0.02735116332769394,
0.27424126863479614,
0.23747509717941284,
0.17098559439182281,
0.20155444741249084,
-0.07156741619110107,
0.3162326514720917,
-0.042327992618083954,
0.1720465719... |
https://github.com/huggingface/datasets/issues/3232 | > Hi ! On my side the URL is working fine, could you try again ?
I try it again and cannot download the file (might because of my location). Could you please provide another download link(such as google drive)? :> | The Xsum datasets seems not able to download. | ## Describe the bug
The download Link of the Xsum dataset provided in the repository is [Link](http://bollin.inf.ed.ac.uk/public/direct/XSUM-EMNLP18-Summary-Data-Original.tar.gz). It seems not able to download.
## Steps to reproduce the bug
```python
load_dataset('xsum')
```
## Actual results
``` python
r... | 41 | The Xsum datasets seems not able to download.
## Describe the bug
The download Link of the Xsum dataset provided in the repository is [Link](http://bollin.inf.ed.ac.uk/public/direct/XSUM-EMNLP18-Summary-Data-Original.tar.gz). It seems not able to download.
## Steps to reproduce the bug
```python
load_dataset('x... | [
-0.2966645359992981,
-0.2934873104095459,
-0.018269509077072144,
0.3797835409641266,
0.33408841490745544,
0.04879303276538849,
-0.13889002799987793,
0.1607494056224823,
0.38030505180358887,
0.3084607720375061,
-0.2573421895503998,
0.09360754489898682,
0.24726516008377075,
0.165526688098907... |
https://github.com/huggingface/datasets/issues/3232 | I don't know other download links - this is the one provided by the authors of the dataset. Maybe you can try downloading from another location ? There are several solutions: a VPN, a remote VM or Google Colab for example. | The Xsum datasets seems not able to download. | ## Describe the bug
The download Link of the Xsum dataset provided in the repository is [Link](http://bollin.inf.ed.ac.uk/public/direct/XSUM-EMNLP18-Summary-Data-Original.tar.gz). It seems not able to download.
## Steps to reproduce the bug
```python
load_dataset('xsum')
```
## Actual results
``` python
r... | 41 | The Xsum datasets seems not able to download.
## Describe the bug
The download Link of the Xsum dataset provided in the repository is [Link](http://bollin.inf.ed.ac.uk/public/direct/XSUM-EMNLP18-Summary-Data-Original.tar.gz). It seems not able to download.
## Steps to reproduce the bug
```python
load_dataset('x... | [
-0.3314230144023895,
-0.36743322014808655,
-0.08691471815109253,
0.2454148381948471,
0.263882577419281,
-0.027213938534259796,
-0.18186914920806885,
0.24820266664028168,
0.41780635714530945,
0.44261473417282104,
-0.29480576515197754,
0.2520473003387451,
0.20526999235153198,
0.2294033169746... |
https://github.com/huggingface/datasets/issues/3232 | > I don't know other download links - this is the one provided by the authors of the dataset. Maybe you can try downloading from another location ? There are several solutions: a VPN, a remote VM or Google Colab for example.
:> ok. Thanks for your reply. | The Xsum datasets seems not able to download. | ## Describe the bug
The download Link of the Xsum dataset provided in the repository is [Link](http://bollin.inf.ed.ac.uk/public/direct/XSUM-EMNLP18-Summary-Data-Original.tar.gz). It seems not able to download.
## Steps to reproduce the bug
```python
load_dataset('xsum')
```
## Actual results
``` python
r... | 48 | The Xsum datasets seems not able to download.
## Describe the bug
The download Link of the Xsum dataset provided in the repository is [Link](http://bollin.inf.ed.ac.uk/public/direct/XSUM-EMNLP18-Summary-Data-Original.tar.gz). It seems not able to download.
## Steps to reproduce the bug
```python
load_dataset('x... | [
-0.3331862688064575,
-0.3943812847137451,
-0.09605588763952255,
0.26030784845352173,
0.2701827585697174,
-0.030850082635879517,
-0.18646983802318573,
0.22661210596561432,
0.4172309637069702,
0.4343670606613159,
-0.2952316403388977,
0.2692233622074127,
0.18903318047523499,
0.262875646352767... |
https://github.com/huggingface/datasets/issues/3227 | I have additionally identified the source of the error, being that [this condition](https://github.com/huggingface/datasets/blob/fc46bba66ba4f432cc10501c16a677112e13984c/src/datasets/packaged_modules/json/json.py#L124-L126) in the file
`python3.8/site-packages/datasets/packaged_modules/json/json.py` is not being enter... | Error in `Json(datasets.ArrowBasedBuilder)` class | ## Describe the bug
When a json file contains a `text` field that is larger than the block_size, the JSON dataset builder fails.
## Steps to reproduce the bug
Create a folder that contains the following:
```
.
├── testdata
│ └── mydata.json
└── test.py
```
Please download [this file](https://github.com/... | 113 | Error in `Json(datasets.ArrowBasedBuilder)` class
## Describe the bug
When a json file contains a `text` field that is larger than the block_size, the JSON dataset builder fails.
## Steps to reproduce the bug
Create a folder that contains the following:
```
.
├── testdata
│ └── mydata.json
└── test.py
``... | [
-0.24031199514865875,
0.16509927809238434,
-0.11469825357198715,
0.4822806417942047,
0.09547783434391022,
0.15490977466106415,
0.16116508841514587,
0.4468058943748474,
0.162899911403656,
0.05443151295185089,
0.2402578592300415,
0.21363970637321472,
-0.0641990602016449,
0.09869680553674698,... |
https://github.com/huggingface/datasets/issues/3227 | Hi ! I think the issue comes from the fact that your JSON file is not a valid JSON Lines file.
Each example should be on one single line.
Can you try fixing the format to have one line per example and try again ? | Error in `Json(datasets.ArrowBasedBuilder)` class | ## Describe the bug
When a json file contains a `text` field that is larger than the block_size, the JSON dataset builder fails.
## Steps to reproduce the bug
Create a folder that contains the following:
```
.
├── testdata
│ └── mydata.json
└── test.py
```
Please download [this file](https://github.com/... | 45 | Error in `Json(datasets.ArrowBasedBuilder)` class
## Describe the bug
When a json file contains a `text` field that is larger than the block_size, the JSON dataset builder fails.
## Steps to reproduce the bug
Create a folder that contains the following:
```
.
├── testdata
│ └── mydata.json
└── test.py
``... | [
-0.24031199514865875,
0.16509927809238434,
-0.11469825357198715,
0.4822806417942047,
0.09547783434391022,
0.15490977466106415,
0.16116508841514587,
0.4468058943748474,
0.162899911403656,
0.05443151295185089,
0.2402578592300415,
0.21363970637321472,
-0.0641990602016449,
0.09869680553674698,... |
https://github.com/huggingface/datasets/issues/3227 | :open_mouth: you're right, that did it! I just put everything on a single line (my file only has a single example) and that fixed the error. Thank you so much! | Error in `Json(datasets.ArrowBasedBuilder)` class | ## Describe the bug
When a json file contains a `text` field that is larger than the block_size, the JSON dataset builder fails.
## Steps to reproduce the bug
Create a folder that contains the following:
```
.
├── testdata
│ └── mydata.json
└── test.py
```
Please download [this file](https://github.com/... | 30 | Error in `Json(datasets.ArrowBasedBuilder)` class
## Describe the bug
When a json file contains a `text` field that is larger than the block_size, the JSON dataset builder fails.
## Steps to reproduce the bug
Create a folder that contains the following:
```
.
├── testdata
│ └── mydata.json
└── test.py
``... | [
-0.24031199514865875,
0.16509927809238434,
-0.11469825357198715,
0.4822806417942047,
0.09547783434391022,
0.15490977466106415,
0.16116508841514587,
0.4468058943748474,
0.162899911403656,
0.05443151295185089,
0.2402578592300415,
0.21363970637321472,
-0.0641990602016449,
0.09869680553674698,... |
https://github.com/huggingface/datasets/issues/3210 | Hi ! Do you have some kind of proxy in your browser that gives you access to internet ?
Maybe you're having this error because you don't have access to this URL from python ? | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.15.1/datasets/wmt16/wmt16.py | when I use python examples/pytorch/translation/run_translation.py --model_name_or_path examples/pytorch/translation/opus-mt-en-ro --do_train --do_eval --source_lang en --target_lang ro --dataset_name wmt16 --dataset_config_name ro-en --output_dir /tmp/tst-translation --per_device_tra... | 35 | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.15.1/datasets/wmt16/wmt16.py
when I use python examples/pytorch/translation/run_translation.py --model_name_or_path examples/pytorch/translation/opus-mt-en-ro --do_train --do_eval --source_lang en --target_lan... | [
-0.09308166801929474,
-0.38823428750038147,
-0.00912131741642952,
0.15295882523059845,
0.38369882106781006,
-0.06506231427192688,
-0.0014797644689679146,
0.027189116925001144,
-0.11742061376571655,
0.4333745539188385,
-0.10921897739171982,
-0.15955299139022827,
0.34266775846481323,
0.13497... |
https://github.com/huggingface/datasets/issues/3210 | You don't need authentication to access those github hosted files
Please check that you can access this URL from your browser and also from your terminal | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.15.1/datasets/wmt16/wmt16.py | when I use python examples/pytorch/translation/run_translation.py --model_name_or_path examples/pytorch/translation/opus-mt-en-ro --do_train --do_eval --source_lang en --target_lang ro --dataset_name wmt16 --dataset_config_name ro-en --output_dir /tmp/tst-translation --per_device_tra... | 26 | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.15.1/datasets/wmt16/wmt16.py
when I use python examples/pytorch/translation/run_translation.py --model_name_or_path examples/pytorch/translation/opus-mt-en-ro --do_train --do_eval --source_lang en --target_lan... | [
-0.1509537249803543,
-0.2567591071128845,
-0.015501949936151505,
0.24493147432804108,
0.24338513612747192,
-0.007856592535972595,
0.09315839409828186,
0.0966033786535263,
-0.0795089602470398,
0.406546413898468,
-0.22413013875484467,
-0.2348441630601883,
0.2964994013309479,
0.07993475347757... |
https://github.com/huggingface/datasets/issues/3204 | @mariosasko @lhoestq Could you give me an update on how to load the dataset after the fix?
Thanks. | FileNotFoundError for TupleIE dataste | Hi,
`dataset = datasets.load_dataset('tuple_ie', 'all')`
returns a FileNotFound error. Is the data not available?
Many thanks.
| 18 | FileNotFoundError for TupleIE dataste
Hi,
`dataset = datasets.load_dataset('tuple_ie', 'all')`
returns a FileNotFound error. Is the data not available?
Many thanks.
@mariosasko @lhoestq Could you give me an update on how to load the dataset after the fix?
Thanks. | [
-0.11963669210672379,
0.045159712433815,
-0.053153179585933685,
0.4988977313041687,
0.2058224081993103,
0.15606775879859924,
0.287910133600235,
0.26254087686538696,
0.2662694454193115,
0.0063052549958229065,
0.0560929998755455,
-0.013880733400583267,
-0.1284627914428711,
0.2602335810661316... |
https://github.com/huggingface/datasets/issues/3204 | Hi @arda-vianai,
first, you can try:
```python
import datasets
dataset = datasets.load_dataset('tuple_ie', 'all', revision="master")
```
If this doesn't work, your version of `datasets` is missing some features that are required to run the dataset script, so install the master version with the following command... | FileNotFoundError for TupleIE dataste | Hi,
`dataset = datasets.load_dataset('tuple_ie', 'all')`
returns a FileNotFound error. Is the data not available?
Many thanks.
| 64 | FileNotFoundError for TupleIE dataste
Hi,
`dataset = datasets.load_dataset('tuple_ie', 'all')`
returns a FileNotFound error. Is the data not available?
Many thanks.
Hi @arda-vianai,
first, you can try:
```python
import datasets
dataset = datasets.load_dataset('tuple_ie', 'all', revision="master")
`... | [
-0.18840257823467255,
0.06002618372440338,
-0.10393236577510834,
0.27801114320755005,
0.2167990803718567,
0.22233542799949646,
0.29284512996673584,
0.4254567325115204,
0.33241188526153564,
0.12656286358833313,
0.07107269763946533,
0.07705007493495941,
-0.08054935187101364,
0.21995516121387... |
https://github.com/huggingface/datasets/issues/3204 | @mariosasko
Thanks, it is working now. I actually did that before but I didn't restart the kernel. I restarted it and it works now. My bad!!!
Many thanks and great job!
-arda | FileNotFoundError for TupleIE dataste | Hi,
`dataset = datasets.load_dataset('tuple_ie', 'all')`
returns a FileNotFound error. Is the data not available?
Many thanks.
| 32 | FileNotFoundError for TupleIE dataste
Hi,
`dataset = datasets.load_dataset('tuple_ie', 'all')`
returns a FileNotFound error. Is the data not available?
Many thanks.
@mariosasko
Thanks, it is working now. I actually did that before but I didn't restart the kernel. I restarted it and it works now. My bad!... | [
-0.15558584034442902,
-0.10224340111017227,
-0.08950334787368774,
0.4440704882144928,
0.34257158637046814,
0.021498791873455048,
0.33128780126571655,
0.26181918382644653,
0.3505803048610687,
0.1980803906917572,
0.02393846958875656,
0.13158093392848969,
-0.1134963184595108,
0.20306849479675... |
https://github.com/huggingface/datasets/issues/3191 | ```python
>>> import datasets
>>> dataset = datasets.load_dataset('compguesswhat', name='compguesswhat-original',split='train', streaming=True)
>>> next(iter(dataset))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/slesage/hf/datasets-preview-backend/.venv/lib/python3.9/sit... | Dataset viewer issue for '*compguesswhat*' | ## Dataset viewer issue for '*compguesswhat*'
**Link:** https://huggingface.co/datasets/compguesswhat
File not found
Am I the one who added this dataset ? No
| 137 | Dataset viewer issue for '*compguesswhat*'
## Dataset viewer issue for '*compguesswhat*'
**Link:** https://huggingface.co/datasets/compguesswhat
File not found
Am I the one who added this dataset ? No
```python
>>> import datasets
>>> dataset = datasets.load_dataset('compguesswhat', name='compguesswhat... | [
-0.19376060366630554,
-0.10409213602542877,
-0.07675813883543015,
0.3095782399177551,
0.132096067070961,
0.21991191804409027,
0.27399730682373047,
0.27622270584106445,
0.024861089885234833,
0.039738792926073074,
-0.07574605196714401,
0.21872979402542114,
-0.21021349728107452,
-0.1109091192... |
https://github.com/huggingface/datasets/issues/3191 | There is an issue with the URLs of their data files: https://www.dropbox.com/s/l0nc13udml6vs0w/compguesswhat-original.zip?dl=1
> Dropbox Error: That didn't work for some reason
Error reported to their repo:
- https://github.com/CompGuessWhat/compguesswhat.github.io/issues/1 | Dataset viewer issue for '*compguesswhat*' | ## Dataset viewer issue for '*compguesswhat*'
**Link:** https://huggingface.co/datasets/compguesswhat
File not found
Am I the one who added this dataset ? No
| 28 | Dataset viewer issue for '*compguesswhat*'
## Dataset viewer issue for '*compguesswhat*'
**Link:** https://huggingface.co/datasets/compguesswhat
File not found
Am I the one who added this dataset ? No
There is an issue with the URLs of their data files: https://www.dropbox.com/s/l0nc13udml6vs0w/compguess... | [
-0.17199300229549408,
-0.030392184853553772,
-0.04243173822760582,
0.23945118486881256,
0.011769115924835205,
0.20512093603610992,
0.10340329259634018,
0.14946348965168,
-0.04931257665157318,
-0.023695342242717743,
0.04798959195613861,
0.03422357514500618,
-0.07393646240234375,
0.058750644... |
https://github.com/huggingface/datasets/issues/3190 | Hi ! There was a regression in `datasets` 1.12 that introduced this bug. It has been fixed in #3019 in 1.13
Can you try to update `datasets` and try again ? | combination of shuffle and filter results in a bug | ## Describe the bug
Hi,
I would like to shuffle a dataset, then filter it based on each existing label. however, the combination of `filter`, `shuffle` seems to results in a bug. In the minimal example below, as you see in the filtered results, the filtered labels are not unique, meaning filter has not worked. Any su... | 31 | combination of shuffle and filter results in a bug
## Describe the bug
Hi,
I would like to shuffle a dataset, then filter it based on each existing label. however, the combination of `filter`, `shuffle` seems to results in a bug. In the minimal example below, as you see in the filtered results, the filtered labels ... | [
0.2327430695295334,
-0.1531245857477188,
0.03329997509717941,
0.15212945640087128,
0.14327304065227509,
-0.11169593781232834,
0.2651185393333435,
0.042748548090457916,
0.09698282927274704,
0.19148167967796326,
-0.33206862211227417,
0.5272729992866516,
-0.2565172016620636,
0.019674941897392... |
https://github.com/huggingface/datasets/issues/3189 | Hi @BramVanroy,
since these fields are of type `ClassLabel` (you can check this with `dset.features`), you can inspect the possible values with:
```python
dset.features[field_name].feature.names # .feature because it's a sequence of labels
```
and to find the mapping between names and integers, use:
```pyth... | conll2003 incorrect label explanation | In the [conll2003](https://huggingface.co/datasets/conll2003#data-fields) README, the labels are described as follows
> - `id`: a `string` feature.
> - `tokens`: a `list` of `string` features.
> - `pos_tags`: a `list` of classification labels, with possible values including `"` (0), `''` (1), `#` (2), `$` (3), `(`... | 63 | conll2003 incorrect label explanation
In the [conll2003](https://huggingface.co/datasets/conll2003#data-fields) README, the labels are described as follows
> - `id`: a `string` feature.
> - `tokens`: a `list` of `string` features.
> - `pos_tags`: a `list` of classification labels, with possible values including ... | [
0.2851007282733917,
-0.3064150810241699,
0.002160303294658661,
0.6274860501289368,
0.13880738615989685,
-0.05403672903776169,
0.3389788568019867,
-0.0062684472650289536,
-0.33762478828430176,
0.05646258965134621,
-0.24397267401218414,
0.16369569301605225,
0.14646963775157928,
0.58474087715... |
https://github.com/huggingface/datasets/issues/3188 | Hi ! Thanks for reporting :)
This is related to https://github.com/huggingface/datasets/issues/2742, I'm working on it. It should fix the viewer for around 80 datasets.
| conll2002 issues | **Link:** https://huggingface.co/datasets/conll2002
The dataset viewer throws a server error when trying to preview the dataset.
```
Message: Extraction protocol 'train' for file at 'https://raw.githubusercontent.com/teropa/nlp/master/resources/corpora/conll2002/esp.train' is not implemented yet
```
I... | 24 | conll2002 issues
**Link:** https://huggingface.co/datasets/conll2002
The dataset viewer throws a server error when trying to preview the dataset.
```
Message: Extraction protocol 'train' for file at 'https://raw.githubusercontent.com/teropa/nlp/master/resources/corpora/conll2002/esp.train' is not implem... | [
-0.06047605723142624,
0.2116212546825409,
0.06382696330547333,
0.3273206353187561,
0.028714023530483246,
0.0626271665096283,
0.1642676591873169,
0.2000192403793335,
-0.4097277820110321,
0.06218412145972252,
-0.18190276622772217,
0.17413917183876038,
-0.19206447899341583,
0.3275821208953857... |
https://github.com/huggingface/datasets/issues/3188 | Ah, hadn't seen that sorry.
The scrambled "point of contact" is a separate issue though, I think. | conll2002 issues | **Link:** https://huggingface.co/datasets/conll2002
The dataset viewer throws a server error when trying to preview the dataset.
```
Message: Extraction protocol 'train' for file at 'https://raw.githubusercontent.com/teropa/nlp/master/resources/corpora/conll2002/esp.train' is not implemented yet
```
I... | 17 | conll2002 issues
**Link:** https://huggingface.co/datasets/conll2002
The dataset viewer throws a server error when trying to preview the dataset.
```
Message: Extraction protocol 'train' for file at 'https://raw.githubusercontent.com/teropa/nlp/master/resources/corpora/conll2002/esp.train' is not implem... | [
-0.025583498179912567,
0.2223009467124939,
0.036025386303663254,
0.3023376166820526,
-0.053018439561128616,
0.07049302756786346,
0.17770975828170776,
0.2525489926338196,
-0.4730507433414459,
0.05564030259847641,
-0.08886615931987762,
0.18524418771266937,
-0.12386566400527954,
0.28472927212... |
https://github.com/huggingface/datasets/issues/3186 | It's an issue with the streaming mode:
```python
>>> import datasets
>>> dataset = datasets.load_dataset('nli_tr', name='snli_tr',split='test', streaming=True)
>>> next(iter(dataset))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/slesage/hf/datasets-preview-backend/.ven... | Dataset viewer for nli_tr | ## Dataset viewer issue for '*nli_tr*'
**Link:** https://huggingface.co/datasets/nli_tr
Hello,
Thank you for the new dataset preview feature that will help the users to view the datasets online.
We just noticed that the dataset viewer widget in the `nli_tr` dataset shows the error below. The error must be d... | 119 | Dataset viewer for nli_tr
## Dataset viewer issue for '*nli_tr*'
**Link:** https://huggingface.co/datasets/nli_tr
Hello,
Thank you for the new dataset preview feature that will help the users to view the datasets online.
We just noticed that the dataset viewer widget in the `nli_tr` dataset shows the erro... | [
-0.33720993995666504,
0.1444130539894104,
-0.015028290450572968,
0.17375117540359497,
-0.05881129205226898,
0.11149881780147552,
0.1539350301027298,
0.1620103418827057,
-0.17150713503360748,
0.09348727017641068,
-0.029764432460069656,
0.23944653570652008,
-0.1792830228805542,
0.11003792285... |
https://github.com/huggingface/datasets/issues/3186 | Apparently there is an issue with the data source URLs: Server Not Found
- https://tabilab.cmpe.boun.edu.tr/datasets/nli_datasets/snli_tr_1.0.zip
We are contacting the authors to ask them:
@e-budur you are one of the authors: are you aware of the issue with the URLs of your data ? | Dataset viewer for nli_tr | ## Dataset viewer issue for '*nli_tr*'
**Link:** https://huggingface.co/datasets/nli_tr
Hello,
Thank you for the new dataset preview feature that will help the users to view the datasets online.
We just noticed that the dataset viewer widget in the `nli_tr` dataset shows the error below. The error must be d... | 43 | Dataset viewer for nli_tr
## Dataset viewer issue for '*nli_tr*'
**Link:** https://huggingface.co/datasets/nli_tr
Hello,
Thank you for the new dataset preview feature that will help the users to view the datasets online.
We just noticed that the dataset viewer widget in the `nli_tr` dataset shows the erro... | [
-0.160710871219635,
0.3161507248878479,
-0.018804460763931274,
0.2623427212238312,
-0.21799300611019135,
-0.01725231111049652,
0.15006941556930542,
0.03530815616250038,
-0.2890983819961548,
0.06367103010416031,
0.03272832930088043,
0.19762440025806427,
-0.14826935529708862,
0.0564633235335... |
https://github.com/huggingface/datasets/issues/3185 | It's a bug in the dataset viewer: the dataset cannot be downloaded in streaming mode, but since the dataset is relatively small, the dataset viewer should have fallback to normal mode. Working on a fix. | 7z dataset preview not implemented? | ## Dataset viewer issue for dataset 'samsum'
**Link:** https://huggingface.co/datasets/samsum
Server Error
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol '7z' for file at 'https://arxiv.org/src/1911.12237v2/anc/corpus.7z' is not implemented yet
| 35 | 7z dataset preview not implemented?
## Dataset viewer issue for dataset 'samsum'
**Link:** https://huggingface.co/datasets/samsum
Server Error
Status code: 400
Exception: NotImplementedError
Message: Extraction protocol '7z' for file at 'https://arxiv.org/src/1911.12237v2/anc/corpus.7z' is not im... | [
-0.4839608669281006,
-0.5628319382667542,
-0.006739921867847443,
0.0909743681550026,
0.06157810613512993,
-0.03139806538820267,
0.0058006285689771175,
0.5215323567390442,
0.19300684332847595,
0.305978000164032,
-0.10363079607486725,
0.47047555446624756,
0.07375721633434296,
0.0165081694722... |
https://github.com/huggingface/datasets/issues/3181 | Hi @eladsegal, thanks for reporting.
@mariosasko I saw you are already working on this, but maybe my comment will be useful to you.
All values are casted to their corresponding feature type (including `None` values). For example if the feature type is `Value("bool")`, `None` is casted to `False`.
It is true th... | `None` converted to `"None"` when loading a dataset | ## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode="reuse_cache_if_exists")
print(qasper[60]["full_text... | 65 | `None` converted to `"None"` when loading a dataset
## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode... | [
-0.07436475902795792,
-0.028929129242897034,
0.020289264619350433,
0.2942247986793518,
0.4671347439289093,
-0.04042571783065796,
0.3494567275047302,
0.22754766047000885,
0.02460138499736786,
0.516558051109314,
-0.0883263647556305,
0.6322944164276123,
-0.08932188153266907,
0.088533535599708... |
https://github.com/huggingface/datasets/issues/3181 | Thanks for reporting.
This is actually a breaking change that I think can cause issues when users preprocess their data. String columns used to be nullable. Maybe we can correct https://github.com/huggingface/datasets/pull/3158 to keep the None values and avoid this breaking change ?
EDIT: the other types (bool, ... | `None` converted to `"None"` when loading a dataset | ## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode="reuse_cache_if_exists")
print(qasper[60]["full_text... | 54 | `None` converted to `"None"` when loading a dataset
## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode... | [
-0.09256944805383682,
0.014106065034866333,
0.031801220029592514,
0.3350733816623688,
0.5061745643615723,
0.08446242660284042,
0.40423595905303955,
0.1468730866909027,
0.026411190629005432,
0.4644889533519745,
-0.06903712451457977,
0.46514466404914856,
-0.02356361597776413,
0.0580345168709... |
https://github.com/huggingface/datasets/issues/3181 | So what would be the best way to handle a feature that can have a null value in some of the instances? So far I used `None`.
Using the empty string won't be a good option, as it can be an actual value in the data and is not the same as not having a value at all. | `None` converted to `"None"` when loading a dataset | ## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode="reuse_cache_if_exists")
print(qasper[60]["full_text... | 58 | `None` converted to `"None"` when loading a dataset
## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode... | [
0.005276478826999664,
-0.0747646689414978,
0.05706069618463516,
0.30984967947006226,
0.17982858419418335,
0.00027930736541748047,
0.40448126196861267,
0.12224334478378296,
-0.08893795311450958,
0.448683500289917,
0.29507967829704285,
0.3863013982772827,
-0.19256757199764252,
0.119002230465... |
https://github.com/huggingface/datasets/issues/3181 | Hi @eladsegal,
Use `None`. As @albertvillanova correctly pointed out, this change in conversion was introduced (by mistake) in #3158. To avoid it, install the earlier revision with:
```
pip install git+https://github.com/huggingface/datasets.git@8107844ec0e7add005db0585c772ee20adc01a5e
```
I'm making all the f... | `None` converted to `"None"` when loading a dataset | ## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode="reuse_cache_if_exists")
print(qasper[60]["full_text... | 52 | `None` converted to `"None"` when loading a dataset
## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode... | [
-0.17109310626983643,
-0.011953040957450867,
0.014399472624063492,
0.2961726784706116,
0.4306810200214386,
0.025163516402244568,
0.37929537892341614,
0.25421327352523804,
-0.014008544385433197,
0.48661327362060547,
-0.07836946845054626,
0.5426304340362549,
-0.0509568527340889,
0.1476790457... |
https://github.com/huggingface/datasets/issues/3181 | https://github.com/huggingface/datasets/pull/3195 fixed it, we'll do a new release soon :)
For now feel free to install `datasets` from the master branch | `None` converted to `"None"` when loading a dataset | ## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode="reuse_cache_if_exists")
print(qasper[60]["full_text... | 21 | `None` converted to `"None"` when loading a dataset
## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode... | [
-0.14642857015132904,
-0.06124421954154968,
0.0032046809792518616,
0.342572420835495,
0.4700656235218048,
0.030664443969726562,
0.3348005712032318,
0.22114059329032898,
0.06704653054475784,
0.5334501266479492,
-0.08781859278678894,
0.5156676173210144,
-0.05358954519033432,
0.08365495502948... |
https://github.com/huggingface/datasets/issues/3181 | Thanks, but unfortunately looks like it isn't fixed yet 😢
[notebook for 1.14.0](https://colab.research.google.com/drive/1SV3sFXPJMWSQgbm4pr9Y1Q8OJ4JYKcDo?usp=sharing)
[notebook for master](https://colab.research.google.com/drive/145wDpuO74MmsuI0SVLcI1IswG6aHpyhi?usp=sharing) | `None` converted to `"None"` when loading a dataset | ## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode="reuse_cache_if_exists")
print(qasper[60]["full_text... | 16 | `None` converted to `"None"` when loading a dataset
## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode... | [
-0.12892383337020874,
-0.029770895838737488,
0.02035439759492874,
0.3510313630104065,
0.45449259877204895,
0.05997488647699356,
0.34777331352233887,
0.2126251608133316,
0.06535464525222778,
0.5317577719688416,
-0.08357840776443481,
0.5394250154495239,
-0.07582181692123413,
0.04432035237550... |
https://github.com/huggingface/datasets/issues/3181 | Oh, sorry. I deleted the fix by accident when I was resolving a merge conflict. Let me fix this real quick. | `None` converted to `"None"` when loading a dataset | ## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode="reuse_cache_if_exists")
print(qasper[60]["full_text... | 21 | `None` converted to `"None"` when loading a dataset
## Describe the bug
When loading a dataset `None` values of the type `NoneType` are converted to `'None'` of the type `str`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
qasper = load_dataset("qasper", split="train", download_mode... | [
-0.11471311002969742,
0.013674303889274597,
0.020221300423145294,
0.3419382870197296,
0.450349897146225,
0.05265067517757416,
0.2959985136985779,
0.21953549981117249,
0.04997967928647995,
0.5178979635238647,
-0.10526677966117859,
0.5846875905990601,
-0.06785742938518524,
-0.020722921937704... |
https://github.com/huggingface/datasets/issues/3178 | After some digging, I found that this is caused by `dill` and using `recurse=True)` when trying to dump the object. The problem also occurs without multiprocessing. I can only find [the following information](https://dill.readthedocs.io/en/latest/dill.html#dill._dill.dumps) about this:
> If recurse=True, then object... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 108 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | Hi ! Thanks for reporting
Yes `recurse=True` is necessary to be able to hash all the objects that are passed to the `map` function
EDIT: hopefully this object can be serializable soon, but otherwise we can consider adding more control to the user on how to hash objects that are not serializable (as mentioned in h... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 56 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | I submitted a PR to spacy that should fix this issue (linked above). I'll leave this open until that PR is merged. | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 22 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | @lhoestq After some testing I find that even with the updated spaCy, no cache files are used. I do not get any warnings though, but I can see that map is run every time I run the code. Do you have thoughts about why? If you want to try the tests below, make sure to install spaCy from [here](https://github.com/BramVanro... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 207 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | It looks like every time you load `en_core_web_sm` you get a different python object:
```python
import spacy
from datasets.fingerprint import Hasher
nlp1 = spacy.load("en_core_web_sm")
nlp2 = spacy.load("en_core_web_sm")
Hasher.hash(nlp1), Hasher.hash(nlp2)
# ('f6196a33882fea3b', 'a4c676a071f266ff')
```
Here... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 109 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | Thanks for searching! I went looking, and found that this is an implementation detail of thinc
https://github.com/explosion/thinc/blob/68691e303ae68cae4bc803299016f1fc064328bf/thinc/model.py#L96-L98
Presumably (?) exactly to distinguish between different parts in memory when multiple models are loaded. Do not thi... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 119 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | It can be even simpler to hash the bytes of the pipeline instead
```python
nlp1.to_bytes() == nlp2.to_bytes() # True
```
IMO we should integrate the custom hashing for spacy models into `datasets` (we use a custom Pickler for that).
What could be done on Spacy's side instead (if they think it's nice to have) is... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 114 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | I do not quite understand what you mean. as far as I can tell, using `to_bytes` does a pickle dump behind the scene (with `srsly`), recursively using `to_bytes` on the required objects. Therefore, the result of `to_bytes` is a deterministic pickle dump AFAICT. Or do you mean that you wish that using your own pickler an... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 271 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | Interestingly, my PR does not solve the issue discussed above. The `tokenize` function hash is different on every run, because for some reason `nlp.__call__` has a different hash every time. The issue therefore seems to run much deeper than I thought. If you have any ideas, I'm all ears.
```shell
git clone https://... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 151 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | Hi ! I just answered in your PR :) In order for your custom hashing to be used for nested objects, you must integrate it into our recursive pickler that we use for hashing. | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 34 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | I don't quite understand the design constraints of `datasets` or the script that you're running, but my usual advice is to avoid using pickle unless you _absolutely_ have to. So for instance instead of doing your `partial` over the `nlp` object itself, can you just pass the string `en_core_web_sm` in? This will mean ca... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 177 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | Hi Matthew, thanks for chiming in! We are currently implementing exactly what you suggest: `to_bytes()` as a default before pickling - but we may prefer `to_dict` to avoid double dumping.
`datasets` uses pickle dumps (actually dill) to get unique representations of processing steps (a "fingerprint" or hash). So it n... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 275 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | Is there a workaround for this? maybe by explicitly requesting datasets to cache the result of `.map()`? | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 17 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | Hi ! If your function is not picklable, then the fingerprint of the resulting dataset can't be computed. The fingerprint is a hash that is used by the cache to reload previously computed datasets: the dataset file is named `cache-<fingerprint>.arrow` in your dataset's cache directory.
As a workaround you can set the... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 102 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | I've been having an issue that might be related to this when trying to pre-tokenize a corpus and caching it for using it later in the pre-training of a RoBERTa model. I always get the following warning:
```
Dataset text downloaded and prepared to /gpfswork/rech/project/user/.cache/hf-datasets/text/default-185088602... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 167 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | > Hi ! If your function is not picklable, then the fingerprint of the resulting dataset can't be computed. The fingerprint is a hash that is used by the cache to reload previously computed datasets: the dataset file is named `cache-<fingerprint>.arrow` in your dataset's cache directory.
>
> As a workaround you can s... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 143 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | > I've been having an issue that might be related to this when trying to pre-tokenize a corpus and caching it for using it later in the pre-training of a RoBERTa model. I always get the following warning:
>
> ```
> Dataset text downloaded and prepared to /gpfswork/rech/project/user/.cache/hf-datasets/text/default-1... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 188 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | I see this has just been closed - it seems quite relevant to another tokenizer I have been trying to use, the `vinai/phobert` family of tokenizers
https://huggingface.co/vinai/phobert-base
https://huggingface.co/vinai/phobert-large
I ran into an issue where a large dataset took several hours to tokenize, the pro... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 105 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | In your case it looks like the job failed before caching the data - maybe one of the processes crashed | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 20 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | Interesting. Thanks for the observation. Any suggestions on how to start tracking that down? Perhaps run it singlethreaded and see if it crashes? | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 23 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | You can monitor your RAM and disk space in case a process dies from OOM or disk full, and when it hangs you can check how many processes are running. IIRC there are other start methods for multiprocessing in python that may show an error message if a process dies.
Running on a single process can also help debugging ... | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 61 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3178 | Hi @tung-msol could you open a new issue and share the error you got and the map function you used ? | "Property couldn't be hashed properly" even though fully picklable | ## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It should not be an issue either, since spaCy objects are picklable.
... | 21 | "Property couldn't be hashed properly" even though fully picklable
## Describe the bug
I am trying to tokenize a dataset with spaCy. I found that no matter what I do, the spaCy language object (`nlp`) prevents `datasets` from pickling correctly - or so the warning says - even though manually pickling is no issue. It... | [
-0.054703809320926666,
-0.029659420251846313,
0.1383616030216217,
0.1674574315547943,
0.2572079300880432,
-0.18863892555236816,
0.33454933762550354,
0.05461369454860687,
0.052593544125556946,
0.12489544600248337,
0.03895240277051926,
0.5095514059066772,
-0.23603466153144836,
0.377969712018... |
https://github.com/huggingface/datasets/issues/3177 | Hi,
It's hard to provide an API that would cover all use-cases with tqdm in this project.
However, you can make it work by defining a custom decorator (a bit hacky tho) as follows:
```python
import datasets
def progress_only_on_rank_0(func):
def wrapper(*args, **kwargs):
rank = kwargs.get("rank... | More control over TQDM when using map/filter with multiple processes | It would help with the clutter in my terminal if tqdm is only shown for rank 0 when using `num_proces>0` in the map and filter methods of datasets.
```python
dataset.map(lambda examples: tokenize(examples["text"]), batched=True, num_proc=6)
```
The above snippet leads to a lot of TQDM bars and depending on your... | 129 | More control over TQDM when using map/filter with multiple processes
It would help with the clutter in my terminal if tqdm is only shown for rank 0 when using `num_proces>0` in the map and filter methods of datasets.
```python
dataset.map(lambda examples: tokenize(examples["text"]), batched=True, num_proc=6)
```... | [
-0.4308311343193054,
-0.18906687200069427,
-0.12756195664405823,
-0.21488939225673676,
0.2067863643169403,
-0.4247942566871643,
0.29561272263526917,
0.28324371576309204,
-0.08852683007717133,
0.1811397522687912,
0.022459417581558228,
0.5895186066627502,
-0.30557379126548767,
0.341009616851... |
https://github.com/huggingface/datasets/issues/3177 | Inspiration may be found at `transformers`.
https://github.com/huggingface/transformers/blob/4a394cf53f05e73ab9bbb4b179a40236a5ffe45a/src/transformers/trainer.py#L1231-L1233
To get unique IDs for each worker, see https://stackoverflow.com/a/10192611/1150683 | More control over TQDM when using map/filter with multiple processes | It would help with the clutter in my terminal if tqdm is only shown for rank 0 when using `num_proces>0` in the map and filter methods of datasets.
```python
dataset.map(lambda examples: tokenize(examples["text"]), batched=True, num_proc=6)
```
The above snippet leads to a lot of TQDM bars and depending on your... | 16 | More control over TQDM when using map/filter with multiple processes
It would help with the clutter in my terminal if tqdm is only shown for rank 0 when using `num_proces>0` in the map and filter methods of datasets.
```python
dataset.map(lambda examples: tokenize(examples["text"]), batched=True, num_proc=6)
```... | [
-0.3891156315803528,
-0.25370943546295166,
-0.10104592144489288,
-0.1923469603061676,
0.2609187066555023,
-0.44910532236099243,
0.5612115263938904,
0.30469122529029846,
-0.13268327713012695,
0.25053393840789795,
0.0430046021938324,
0.4588484764099121,
-0.3234092593193054,
0.371958374977111... |
https://github.com/huggingface/datasets/issues/3172 | NB: even if the error is raised, the dataset is successfully cached. So restarting the script after every `map()` allows to ultimately run the whole preprocessing. But this prevents to realistically run the code over multiple nodes. | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1` | ## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
The exception is raised only when the code runs within a specific context. Despite ~10h spent ... | 37 | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1`
## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
Th... | [
-0.4948826730251312,
0.014998197555541992,
0.13140353560447693,
0.26006415486335754,
0.32051894068717957,
0.003436550498008728,
0.4633168578147888,
0.02241082862019539,
0.020504385232925415,
0.19740688800811768,
0.17118999361991882,
0.5095182657241821,
-0.2995518743991852,
-0.2648982703685... |
https://github.com/huggingface/datasets/issues/3172 | Hi,
It's not easy to debug the problem without the script. I may be wrong since I'm not very familiar with PyTorch Lightning, but shouldn't you preprocess the data in the `prepare_data` function of `LightningDataModule` and not in the `setup` function.
As you can't modify the module state in `prepare_data` (accordi... | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1` | ## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
The exception is raised only when the code runs within a specific context. Despite ~10h spent ... | 99 | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1`
## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
Th... | [
-0.4948826730251312,
0.014998197555541992,
0.13140353560447693,
0.26006415486335754,
0.32051894068717957,
0.003436550498008728,
0.4633168578147888,
0.02241082862019539,
0.020504385232925415,
0.19740688800811768,
0.17118999361991882,
0.5095182657241821,
-0.2995518743991852,
-0.2648982703685... |
https://github.com/huggingface/datasets/issues/3172 | Hi @mariosasko, thank you for the hint, that helped me to move forward with that issue.
I did a major refactoring of my project to disentangle my `LightningDataModule` and `Dataset`. Just FYI, it looks like:
```python
class Builder():
def __call__() -> DatasetDict:
# load and preprocess the data
... | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1` | ## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
The exception is raised only when the code runs within a specific context. Despite ~10h spent ... | 170 | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1`
## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
Th... | [
-0.4948826730251312,
0.014998197555541992,
0.13140353560447693,
0.26006415486335754,
0.32051894068717957,
0.003436550498008728,
0.4633168578147888,
0.02241082862019539,
0.020504385232925415,
0.19740688800811768,
0.17118999361991882,
0.5095182657241821,
-0.2995518743991852,
-0.2648982703685... |
https://github.com/huggingface/datasets/issues/3172 | Please allow me to revive this discussion, as I have an extremely similar issue. Instead of an error, my datasets functions simply aren't caching properly. My setup is almost the same as yours, with hydra to configure my experiment parameters.
@vlievin Could you confirm if your code correctly loads the cache? If so,... | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1` | ## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
The exception is raised only when the code runs within a specific context. Despite ~10h spent ... | 85 | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1`
## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
Th... | [
-0.4948826730251312,
0.014998197555541992,
0.13140353560447693,
0.26006415486335754,
0.32051894068717957,
0.003436550498008728,
0.4633168578147888,
0.02241082862019539,
0.020504385232925415,
0.19740688800811768,
0.17118999361991882,
0.5095182657241821,
-0.2995518743991852,
-0.2648982703685... |
https://github.com/huggingface/datasets/issues/3172 | Hello @mariomeissner, very sorry for the late reply, I hope you have found a solution to your problem!
I don't have public code at the moment. I have not experienced any other issue with hydra, even if I don't understand why changing the location of the definition of `run()` fixed the problem.
Overall, I don't h... | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1` | ## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
The exception is raised only when the code runs within a specific context. Despite ~10h spent ... | 74 | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1`
## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
Th... | [
-0.4948826730251312,
0.014998197555541992,
0.13140353560447693,
0.26006415486335754,
0.32051894068717957,
0.003436550498008728,
0.4633168578147888,
0.02241082862019539,
0.020504385232925415,
0.19740688800811768,
0.17118999361991882,
0.5095182657241821,
-0.2995518743991852,
-0.2648982703685... |
https://github.com/huggingface/datasets/issues/3172 | I solved my issue by turning the map callable into a class static method, like they do in `lightning-transformers`. Very strange... | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1` | ## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
The exception is raised only when the code runs within a specific context. Despite ~10h spent ... | 21 | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1`
## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
Th... | [
-0.4948826730251312,
0.014998197555541992,
0.13140353560447693,
0.26006415486335754,
0.32051894068717957,
0.003436550498008728,
0.4633168578147888,
0.02241082862019539,
0.020504385232925415,
0.19740688800811768,
0.17118999361991882,
0.5095182657241821,
-0.2995518743991852,
-0.2648982703685... |
https://github.com/huggingface/datasets/issues/3172 | I have this issue with datasets v2.5.2 with Python 3.8.10 on Ubuntu 20.04.4 LTS. It does not occur when num_proc=1. When num_proc>1, it intermittently occurs and will cause process to hang. As previously mentioned, it occurs even when datasets have been previously cached. I have tried wrapping logic in a static cla... | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1` | ## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
The exception is raised only when the code runs within a specific context. Despite ~10h spent ... | 59 | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1`
## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
Th... | [
-0.4948826730251312,
0.014998197555541992,
0.13140353560447693,
0.26006415486335754,
0.32051894068717957,
0.003436550498008728,
0.4633168578147888,
0.02241082862019539,
0.020504385232925415,
0.19740688800811768,
0.17118999361991882,
0.5095182657241821,
-0.2995518743991852,
-0.2648982703685... |
https://github.com/huggingface/datasets/issues/3172 | Can someone provide a reproducer to help us debug this (e.g., a `hydra` repo with dummy model and data)? | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1` | ## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
The exception is raised only when the code runs within a specific context. Despite ~10h spent ... | 19 | `SystemError 15` thrown in `Dataset.__del__` when using `Dataset.map()` with `num_proc>1`
## Describe the bug
I use `datasets.map` to preprocess some data in my application. The error `SystemError 15` is thrown at the end of the execution of `Dataset.map()` (only with `num_proc>1`. Traceback included bellow.
Th... | [
-0.4948826730251312,
0.014998197555541992,
0.13140353560447693,
0.26006415486335754,
0.32051894068717957,
0.003436550498008728,
0.4633168578147888,
0.02241082862019539,
0.020504385232925415,
0.19740688800811768,
0.17118999361991882,
0.5095182657241821,
-0.2995518743991852,
-0.2648982703685... |
https://github.com/huggingface/datasets/issues/3171 | Adding the remaining tasks for this issue to help new code contributors.
$ cd src/datasets && ack assert -lc
- [x] commands/convert.py:1
- [x] arrow_reader.py:3
- [x] load.py:7
- [x] utils/py_utils.py:2
- [x] features/features.py:9
- [x] arrow_writer.py:7
- [x] search.py:6
- [x] table.py:1
- [x] metric.py:... | Raise exceptions instead of using assertions for control flow | Motivated by https://github.com/huggingface/transformers/issues/12789 in Transformers, one welcoming change would be replacing assertions with proper exceptions. The only type of assertions we should keep are those used as sanity checks.
Currently, there is a total of 87 files with the `assert` statements (located u... | 61 | Raise exceptions instead of using assertions for control flow
Motivated by https://github.com/huggingface/transformers/issues/12789 in Transformers, one welcoming change would be replacing assertions with proper exceptions. The only type of assertions we should keep are those used as sanity checks.
Currently, ther... | [
-0.08816462755203247,
-0.38733959197998047,
-0.10705384612083435,
0.06497020274400711,
0.26891863346099854,
-0.35969841480255127,
0.2094399482011795,
0.29203522205352783,
-0.02607007324695587,
0.26406562328338623,
0.212826669216156,
0.0678461492061615,
-0.08092007786035538,
0.0795364677906... |
https://github.com/huggingface/datasets/issues/3171 | Hi all,
I am interested in taking up `fingerprint.py`, `search.py`, `arrow_writer.py` and `metric.py`. Will raise a PR soon! | Raise exceptions instead of using assertions for control flow | Motivated by https://github.com/huggingface/transformers/issues/12789 in Transformers, one welcoming change would be replacing assertions with proper exceptions. The only type of assertions we should keep are those used as sanity checks.
Currently, there is a total of 87 files with the `assert` statements (located u... | 18 | Raise exceptions instead of using assertions for control flow
Motivated by https://github.com/huggingface/transformers/issues/12789 in Transformers, one welcoming change would be replacing assertions with proper exceptions. The only type of assertions we should keep are those used as sanity checks.
Currently, ther... | [
-0.04439769685268402,
-0.3855040669441223,
-0.09655885398387909,
0.0352226123213768,
0.2973784804344177,
-0.41480499505996704,
0.1632263958454132,
0.30585089325904846,
-0.06342234462499619,
0.2538895606994629,
0.28325656056404114,
-0.11166834086179733,
-0.09436348080635071,
0.1367022842168... |
https://github.com/huggingface/datasets/issues/3168 | Hi @tyrius02, thanks for reporting. I see you self-assigned this issue: are you working on this? | OpenSLR/83 is empty | ## Describe the bug
As the summary says, openslr / SLR83 / train is empty.
The dataset returned after loading indicates there are **zero** rows. The correct number should be **17877**.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('openslr', 'SLR83')
```
## Expected resul... | 16 | OpenSLR/83 is empty
## Describe the bug
As the summary says, openslr / SLR83 / train is empty.
The dataset returned after loading indicates there are **zero** rows. The correct number should be **17877**.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('openslr', 'SLR83')
``... | [
-0.1339387595653534,
0.2001887857913971,
0.017418313771486282,
0.25889861583709717,
0.13280820846557617,
0.017365112900733948,
0.5546810030937195,
0.3825570046901703,
0.09376551955938339,
0.30721795558929443,
-0.04239184781908989,
0.42794540524482727,
-0.2365683913230896,
-0.00118280947208... |
https://github.com/huggingface/datasets/issues/3168 | @albertvillanova Yes. Figured I introduced the broken config, I should fix it too.
I've got it working, but I'm struggling with one of the tests. I've started a PR so I/we can work through it. | OpenSLR/83 is empty | ## Describe the bug
As the summary says, openslr / SLR83 / train is empty.
The dataset returned after loading indicates there are **zero** rows. The correct number should be **17877**.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('openslr', 'SLR83')
```
## Expected resul... | 35 | OpenSLR/83 is empty
## Describe the bug
As the summary says, openslr / SLR83 / train is empty.
The dataset returned after loading indicates there are **zero** rows. The correct number should be **17877**.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('openslr', 'SLR83')
``... | [
-0.15684524178504944,
0.21419915556907654,
0.020984958857297897,
0.1403115838766098,
0.07307323813438416,
0.01833564043045044,
0.5944601893424988,
0.3523908853530884,
0.00335635244846344,
0.3104202151298523,
-0.04507259279489517,
0.4484339952468872,
-0.2578975260257721,
-0.0301666334271430... |
https://github.com/huggingface/datasets/issues/3167 | I tried with the latest changes from #3280 on google colab and it worked fine :)
We'll do a new release soon, in the meantime you can use the updated version with:
```python
load_dataset("bookcorpusopen", revision="master")
``` | bookcorpusopen no longer works | ## Describe the bug
When using the latest version of datasets (1.14.0), I cannot use the `bookcorpusopen` dataset. The process blocks always around `9924 examples [00:06, 1439.61 examples/s]` when preparing the dataset. I also noticed that after half an hour the process is automatically killed because of the RAM usa... | 36 | bookcorpusopen no longer works
## Describe the bug
When using the latest version of datasets (1.14.0), I cannot use the `bookcorpusopen` dataset. The process blocks always around `9924 examples [00:06, 1439.61 examples/s]` when preparing the dataset. I also noticed that after half an hour the process is automatica... | [
-0.38986146450042725,
0.012307912111282349,
0.0758039727807045,
0.20289242267608643,
-0.05022304877638817,
-0.22235271334648132,
0.35565900802612305,
0.0869099348783493,
-0.27480003237724304,
0.14745980501174927,
-0.12878267467021942,
0.3929779529571533,
0.16436190903186798,
0.372346371412... |
https://github.com/huggingface/datasets/issues/3164 | Hi @zlucia, I would actually suggest hosting the dataset as a huggingface.co-hosted dataset.
The only difference with a "canonical"/legacy dataset is that it's nested under an organization (here `stanford` or `stanfordnlp` for instance – completely up to you) but then you can upload your data using git-lfs (unlike "... | Add raw data files to the Hub with GitHub LFS for canonical dataset | I'm interested in sharing the CaseHOLD dataset (https://arxiv.org/abs/2104.08671) as a canonical dataset on the HuggingFace Hub and would like to add the raw data files to the Hub with GitHub LFS, since it seems like a more sustainable long term storage solution, compared to other storage solutions available to my team... | 74 | Add raw data files to the Hub with GitHub LFS for canonical dataset
I'm interested in sharing the CaseHOLD dataset (https://arxiv.org/abs/2104.08671) as a canonical dataset on the HuggingFace Hub and would like to add the raw data files to the Hub with GitHub LFS, since it seems like a more sustainable long term stor... | [
-0.26652470231056213,
-0.18274565041065216,
-0.006252814084291458,
0.0318809412419796,
-0.010919095017015934,
0.14451441168785095,
-0.08682778477668762,
0.3903290331363678,
0.2624931335449219,
-0.03032120317220688,
-0.22958755493164062,
-0.03431490436196327,
-0.2536516785621643,
0.32413074... |
https://github.com/huggingface/datasets/issues/3164 | Hi @zlucia,
As @julien-c pointed out, the way to store/host raw data files in our Hub is by using what we call "community" datasets:
- either at your personal namespace: `load_dataset("zlucia/casehold")`
- or at an organization namespace: for example, if you create the organization `reglab`, then `load_dataset("re... | Add raw data files to the Hub with GitHub LFS for canonical dataset | I'm interested in sharing the CaseHOLD dataset (https://arxiv.org/abs/2104.08671) as a canonical dataset on the HuggingFace Hub and would like to add the raw data files to the Hub with GitHub LFS, since it seems like a more sustainable long term storage solution, compared to other storage solutions available to my team... | 222 | Add raw data files to the Hub with GitHub LFS for canonical dataset
I'm interested in sharing the CaseHOLD dataset (https://arxiv.org/abs/2104.08671) as a canonical dataset on the HuggingFace Hub and would like to add the raw data files to the Hub with GitHub LFS, since it seems like a more sustainable long term stor... | [
-0.2289416640996933,
-0.05667382478713989,
-0.015037622302770615,
0.01010223664343357,
0.03917023539543152,
0.07133206725120544,
-0.012348761782050133,
0.3533782362937927,
0.34844666719436646,
0.07111235707998276,
-0.36025989055633545,
-0.03620217740535736,
-0.2267823964357376,
0.255830824... |
https://github.com/huggingface/datasets/issues/3164 | Ah I see, I think I was unclear whether there were benefits to uploading a canonical dataset vs. a community provided dataset. Thanks for clarifying. I'll see if we want to create an organization namespace and otherwise, will upload the dataset under my personal namespace. | Add raw data files to the Hub with GitHub LFS for canonical dataset | I'm interested in sharing the CaseHOLD dataset (https://arxiv.org/abs/2104.08671) as a canonical dataset on the HuggingFace Hub and would like to add the raw data files to the Hub with GitHub LFS, since it seems like a more sustainable long term storage solution, compared to other storage solutions available to my team... | 45 | Add raw data files to the Hub with GitHub LFS for canonical dataset
I'm interested in sharing the CaseHOLD dataset (https://arxiv.org/abs/2104.08671) as a canonical dataset on the HuggingFace Hub and would like to add the raw data files to the Hub with GitHub LFS, since it seems like a more sustainable long term stor... | [
-0.30261775851249695,
-0.10871776938438416,
-0.021286383271217346,
0.004590969532728195,
-0.01894160732626915,
0.079232357442379,
0.05411915108561516,
0.30375152826309204,
0.2015293538570404,
0.10994017124176025,
-0.1391485631465912,
-0.059963297098875046,
-0.20165450870990753,
0.213059559... |
https://github.com/huggingface/datasets/issues/3162 | > It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
>
> I wasn't able to run the script for a private test dataset that I had created on the hub (https://huggingface.co/datasets/huggingface/DataMeasurementsT... | `datasets-cli test` should work with datasets without scripts | It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
I wasn't able to run the script for a private test dataset that I had created on the hub (https://huggingface.co/datasets/huggingface/DataMeasurementsTest/t... | 75 | `datasets-cli test` should work with datasets without scripts
It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
I wasn't able to run the script for a private test dataset that I had created on the hub (ht... | [
-0.5560204386711121,
-0.14145484566688538,
-0.15532264113426208,
-0.045464083552360535,
-0.11180190742015839,
0.051070436835289,
0.49131739139556885,
0.31858599185943604,
0.40267738699913025,
0.17308162152767181,
-0.08376668393611908,
0.07822832465171814,
-0.15065641701221466,
0.3814930915... |
https://github.com/huggingface/datasets/issues/3162 | Hi ! You can run the command if you download the repository
```
git clone https://huggingface.co/datasets/huggingface/DataMeasurementsTest
```
and run the command
```
datasets-cli test DataMeasurementsTest/DataMeasurementsTest.py
```
(though on my side it doesn't manage to download the data since the dataset ... | `datasets-cli test` should work with datasets without scripts | It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
I wasn't able to run the script for a private test dataset that I had created on the hub (https://huggingface.co/datasets/huggingface/DataMeasurementsTest/t... | 43 | `datasets-cli test` should work with datasets without scripts
It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
I wasn't able to run the script for a private test dataset that I had created on the hub (ht... | [
-0.5413658618927002,
-0.1230086013674736,
-0.08240009844303131,
-0.008642563596367836,
-0.1236354187130928,
0.20651045441627502,
0.3399677276611328,
0.4094349145889282,
0.44318562746047974,
0.05227220058441162,
-0.1899445652961731,
0.08322349190711975,
-0.20942889153957367,
0.3715488314628... |
https://github.com/huggingface/datasets/issues/3162 | > Hi ! You can run the command if you download the repository
>
> ```
> git clone https://huggingface.co/datasets/huggingface/DataMeasurementsTest
> ```
>
> and run the command
>
> ```
> datasets-cli test DataMeasurementsTest/DataMeasurementsTest.py
> ```
>
> (though on my side it doesn't manage to down... | `datasets-cli test` should work with datasets without scripts | It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
I wasn't able to run the script for a private test dataset that I had created on the hub (https://huggingface.co/datasets/huggingface/DataMeasurementsTest/t... | 80 | `datasets-cli test` should work with datasets without scripts
It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
I wasn't able to run the script for a private test dataset that I had created on the hub (ht... | [
-0.4793643355369568,
-0.03500375151634216,
-0.08112642914056778,
0.005155941471457481,
-0.11594311147928238,
0.21013237535953522,
0.32844167947769165,
0.4366989731788635,
0.3811270594596863,
-0.029891617596149445,
-0.19137996435165405,
-0.040111642330884933,
-0.17295655608177185,
0.2411364... |
https://github.com/huggingface/datasets/issues/3162 | I think it's become private, but feel free to try with any other dataset like `lhoestq/test` for example at `https://huggingface.co/datasets/lhoestq/test` | `datasets-cli test` should work with datasets without scripts | It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
I wasn't able to run the script for a private test dataset that I had created on the hub (https://huggingface.co/datasets/huggingface/DataMeasurementsTest/t... | 20 | `datasets-cli test` should work with datasets without scripts
It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
I wasn't able to run the script for a private test dataset that I had created on the hub (ht... | [
-0.634961724281311,
-0.01562240719795227,
-0.10909625887870789,
-0.0938599556684494,
-0.19551223516464233,
0.1658553034067154,
0.444717139005661,
0.4181763827800751,
0.5121312141418457,
0.05172773450613022,
-0.14896970987319946,
0.1513025462627411,
-0.21295064687728882,
0.3969886898994446,... |
https://github.com/huggingface/datasets/issues/3162 | > I think it's become private, but feel free to try with any other dataset like `lhoestq/test` for example at `https://huggingface.co/datasets/lhoestq/test`
your example repo and this page `https://huggingface.co/docs/datasets/add_dataset.html` helped me to solve.. thanks a lot | `datasets-cli test` should work with datasets without scripts | It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
I wasn't able to run the script for a private test dataset that I had created on the hub (https://huggingface.co/datasets/huggingface/DataMeasurementsTest/t... | 35 | `datasets-cli test` should work with datasets without scripts
It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
I wasn't able to run the script for a private test dataset that I had created on the hub (ht... | [
-0.5352521538734436,
-0.08447308093309402,
-0.0369245782494545,
-0.04303603246808052,
-0.08218112587928772,
0.1424030065536499,
0.3522937297821045,
0.3502660393714905,
0.4712519347667694,
0.04754023998975754,
-0.21397113800048828,
0.1264723241329193,
-0.18202263116836548,
0.421950370073318... |
https://github.com/huggingface/datasets/issues/3155 | It seems to be an issue with how conda-forge is building the binaries. It works on some machines, but not a machine with AMD Opteron 8384 processors. | Illegal instruction (core dumped) at datasets import | ## Describe the bug
I install datasets using conda and when I import datasets I get: "Illegal instruction (core dumped)"
## Steps to reproduce the bug
```
conda create --prefix path/to/env
conda activate path/to/env
conda install -c huggingface -c conda-forge datasets
# exits with output "Illegal instruction... | 27 | Illegal instruction (core dumped) at datasets import
## Describe the bug
I install datasets using conda and when I import datasets I get: "Illegal instruction (core dumped)"
## Steps to reproduce the bug
```
conda create --prefix path/to/env
conda activate path/to/env
conda install -c huggingface -c conda-f... | [
-0.12203238904476166,
-0.17051950097084045,
-0.10978882759809494,
0.33831703662872314,
0.08868308365345001,
0.16321386396884918,
0.3851006329059601,
0.09587596356868744,
-0.027490023523569107,
-0.17956271767616272,
-0.2659415602684021,
0.2274966984987259,
-0.034177813678979874,
-0.07063001... |
https://github.com/huggingface/datasets/issues/3154 | Hi @BramVanroy!
Good question. This project relies on PyArrow (tables) to store data too big to fit in RAM. In the case of metrics, this means that the number of predictions and references has to match to form a table.
That's why your example throws an error even though it matches the schema:
```python
refs = [... | Sacrebleu unexpected behaviour/requirement for data format | ## Describe the bug
When comparing with the original `sacrebleu` implementation, the `datasets` implementation does some strange things that I do not quite understand. This issue was triggered when I was trying to implement TER and found the datasets implementation of BLEU [here](https://github.com/huggingface/dataset... | 197 | Sacrebleu unexpected behaviour/requirement for data format
## Describe the bug
When comparing with the original `sacrebleu` implementation, the `datasets` implementation does some strange things that I do not quite understand. This issue was triggered when I was trying to implement TER and found the datasets impleme... | [
0.031731173396110535,
-0.20803707838058472,
0.05814635008573532,
0.12474481761455536,
0.37496858835220337,
-0.09021975100040436,
0.17055544257164001,
0.16042590141296387,
-0.33645933866500854,
0.05184292793273926,
-0.07579891383647919,
0.288293719291687,
-0.0812799483537674,
0.279923558235... |
https://github.com/huggingface/datasets/issues/3154 | Thanks, that makes sense. It is a bit unfortunate because it may be confusing to users since the input format is suddenly different than what they may expect from the underlying library/metric. But it is understandable due to how `datasets` works! | Sacrebleu unexpected behaviour/requirement for data format | ## Describe the bug
When comparing with the original `sacrebleu` implementation, the `datasets` implementation does some strange things that I do not quite understand. This issue was triggered when I was trying to implement TER and found the datasets implementation of BLEU [here](https://github.com/huggingface/dataset... | 41 | Sacrebleu unexpected behaviour/requirement for data format
## Describe the bug
When comparing with the original `sacrebleu` implementation, the `datasets` implementation does some strange things that I do not quite understand. This issue was triggered when I was trying to implement TER and found the datasets impleme... | [
0.031731173396110535,
-0.20803707838058472,
0.05814635008573532,
0.12474481761455536,
0.37496858835220337,
-0.09021975100040436,
0.17055544257164001,
0.16042590141296387,
-0.33645933866500854,
0.05184292793273926,
-0.07579891383647919,
0.288293719291687,
-0.0812799483537674,
0.279923558235... |
https://github.com/huggingface/datasets/issues/3148 | I can confirm that I was able to reproduce the bug. This seems odd given that #3423 reports duplicate data retrieval when `num_workers` and `streaming` are used together, which is obviously different from what is reported here. | Streaming with num_workers != 0 | ## Describe the bug
When using dataset streaming with pytorch DataLoader, the setting num_workers to anything other than 0 causes the code to freeze forever before yielding the first batch.
The code owner is likely @lhoestq
## Steps to reproduce the bug
For your convenience, we've prepped a colab notebook th... | 37 | Streaming with num_workers != 0
## Describe the bug
When using dataset streaming with pytorch DataLoader, the setting num_workers to anything other than 0 causes the code to freeze forever before yielding the first batch.
The code owner is likely @lhoestq
## Steps to reproduce the bug
For your convenience,... | [
-0.3226698637008667,
0.07378444075584412,
-0.01166677474975586,
0.20707589387893677,
-0.10449902713298798,
-0.3222557604312897,
0.6223983764648438,
0.14059293270111084,
-0.038461390882730484,
0.3809080719947815,
0.10359757393598557,
0.3658745288848877,
-0.4546127915382385,
-0.1009320467710... |
https://github.com/huggingface/datasets/issues/3148 | Any update? A possible solution is to have multiple arrow files as shards, and handle them like what webdatasets does.

Pytorch's new dataset RFC is supporting sharding now, which may helps avoid duplicate... | Streaming with num_workers != 0 | ## Describe the bug
When using dataset streaming with pytorch DataLoader, the setting num_workers to anything other than 0 causes the code to freeze forever before yielding the first batch.
The code owner is likely @lhoestq
## Steps to reproduce the bug
For your convenience, we've prepped a colab notebook th... | 39 | Streaming with num_workers != 0
## Describe the bug
When using dataset streaming with pytorch DataLoader, the setting num_workers to anything other than 0 causes the code to freeze forever before yielding the first batch.
The code owner is likely @lhoestq
## Steps to reproduce the bug
For your convenience,... | [
-0.46159660816192627,
0.08400775492191315,
-0.09176851809024811,
0.14332710206508636,
-0.12776286900043488,
-0.2838304042816162,
0.6224715709686279,
0.2356564998626709,
0.043616779148578644,
0.37010711431503296,
0.2003805786371231,
0.36524051427841187,
-0.5244144797325134,
-0.1296167522668... |
https://github.com/huggingface/datasets/issues/3148 | Hi ! Thanks for the insights :) Note that in streaming mode there're usually no arrow files. The data are streamed from TAR, ZIP, text, etc. files directly from the web. Though for sharded datasets we can definitely adopt a similar strategy ! | Streaming with num_workers != 0 | ## Describe the bug
When using dataset streaming with pytorch DataLoader, the setting num_workers to anything other than 0 causes the code to freeze forever before yielding the first batch.
The code owner is likely @lhoestq
## Steps to reproduce the bug
For your convenience, we've prepped a colab notebook th... | 43 | Streaming with num_workers != 0
## Describe the bug
When using dataset streaming with pytorch DataLoader, the setting num_workers to anything other than 0 causes the code to freeze forever before yielding the first batch.
The code owner is likely @lhoestq
## Steps to reproduce the bug
For your convenience,... | [
-0.4143064022064209,
0.009008631110191345,
-0.057531289756298065,
0.09047956764698029,
-0.08891122043132782,
-0.25575563311576843,
0.5883560180664062,
0.17923910915851593,
-0.013544119894504547,
0.4365205764770508,
0.1794314980506897,
0.3351473808288574,
-0.4951825737953186,
-0.08137277513... |
https://github.com/huggingface/datasets/issues/3145 | @severo I'll keep that in mind.
You can track progress on the Image feature in #3163 (still in the early stage). | [when Image type will exist] provide a way to get the data as binary + filename | **Is your feature request related to a problem? Please describe.**
When a dataset cell contains a value of type Image (be it from a remote URL, an Array2D/3D, or any other way to represent images), I want to be able to write the image to the disk, with the correct filename, and optionally to know its mimetype, in or... | 21 | [when Image type will exist] provide a way to get the data as binary + filename
**Is your feature request related to a problem? Please describe.**
When a dataset cell contains a value of type Image (be it from a remote URL, an Array2D/3D, or any other way to represent images), I want to be able to write the image ... | [
0.05794321000576019,
-0.10480931401252747,
-0.09946717321872711,
0.08467722684144974,
0.22079159319400787,
-0.21730336546897888,
0.15551352500915527,
0.41373613476753235,
-0.2236262410879135,
0.31402862071990967,
0.12647083401679993,
-0.021062366664409637,
-0.34405016899108887,
0.196053355... |
https://github.com/huggingface/datasets/issues/3145 | Hi ! As discussed with @severo offline it looks like the dataset viewer already supports reading PIL images, so maybe the dataset viewer doesn't need to disable decoding after all | [when Image type will exist] provide a way to get the data as binary + filename | **Is your feature request related to a problem? Please describe.**
When a dataset cell contains a value of type Image (be it from a remote URL, an Array2D/3D, or any other way to represent images), I want to be able to write the image to the disk, with the correct filename, and optionally to know its mimetype, in or... | 30 | [when Image type will exist] provide a way to get the data as binary + filename
**Is your feature request related to a problem? Please describe.**
When a dataset cell contains a value of type Image (be it from a remote URL, an Array2D/3D, or any other way to represent images), I want to be able to write the image ... | [
-0.17248289287090302,
0.04291757941246033,
-0.07788379490375519,
0.2818342447280884,
0.28049254417419434,
-0.08786293119192123,
0.04111364483833313,
0.3518591821193695,
-0.267368882894516,
0.3344697952270508,
-0.07562001049518585,
0.1827455461025238,
-0.25294965505599976,
0.250999659299850... |
https://github.com/huggingface/datasets/issues/3142 | Yes, I agree this feature is much needed. We could do something similar to what TF does (https://www.tensorflow.org/api_docs/python/tf/data/Dataset#cache).
Ideally, if the entire streamed dataset is consumed/cached, the generated cache should be reusable for the Arrow dataset. | Provide a way to write a streamed dataset to the disk | **Is your feature request related to a problem? Please describe.**
The streaming mode allows to get the 100 first rows of a dataset very quickly. But it does not cache the answer, so a posterior call to get the same 100 rows will send a request to the server again and again.
**Describe the solution you'd like**
... | 36 | Provide a way to write a streamed dataset to the disk
**Is your feature request related to a problem? Please describe.**
The streaming mode allows to get the 100 first rows of a dataset very quickly. But it does not cache the answer, so a posterior call to get the same 100 rows will send a request to the server ag... | [
-0.2683076858520508,
-0.3177534341812134,
-0.1327393352985382,
-0.07945539057254791,
-0.03984704613685608,
-0.0026228725910186768,
0.18898874521255493,
0.44134655594825745,
0.22733071446418762,
0.21647651493549347,
0.095909483730793,
0.22536355257034302,
-0.08269430696964264,
0.09312201291... |
https://github.com/huggingface/datasets/issues/3142 | @mariosasko Hi big brother,any update on this? It's 2024 with large streamed dataset loading consume too much time(exp. 2day..), really need this feature for what TF does | Provide a way to write a streamed dataset to the disk | **Is your feature request related to a problem? Please describe.**
The streaming mode allows to get the 100 first rows of a dataset very quickly. But it does not cache the answer, so a posterior call to get the same 100 rows will send a request to the server again and again.
**Describe the solution you'd like**
... | 27 | Provide a way to write a streamed dataset to the disk
**Is your feature request related to a problem? Please describe.**
The streaming mode allows to get the 100 first rows of a dataset very quickly. But it does not cache the answer, so a posterior call to get the same 100 rows will send a request to the server ag... | [
-0.25298207998275757,
-0.33479440212249756,
-0.11524245142936707,
-0.028431344777345657,
-0.009846779517829418,
-0.03693206608295441,
0.006302809342741966,
0.34925734996795654,
0.15885235369205475,
0.2513388395309448,
-0.019272269681096077,
0.03862908482551575,
0.054968710988759995,
0.3356... |
https://github.com/huggingface/datasets/issues/3135 | Hi @severo, I guess this issue requests not only to be able to access the configuration name (by using `inspect.get_dataset_config_names`), but the configuration itself as well (I mean you use the name to get the configuration afterwards, maybe using `builder_cls.builder_configs`), is this right? | Make inspect.get_dataset_config_names always return a non-empty list of configs | **Is your feature request related to a problem? Please describe.**
Currently, some datasets have a configuration, while others don't. It would be simpler for the user to always have configuration names to refer to
**Describe the solution you'd like**
In that sense inspect.get_dataset_config_names should always... | 43 | Make inspect.get_dataset_config_names always return a non-empty list of configs
**Is your feature request related to a problem? Please describe.**
Currently, some datasets have a configuration, while others don't. It would be simpler for the user to always have configuration names to refer to
**Describe the sol... | [
-0.1959380954504013,
-0.03939260542392731,
-0.08671629428863525,
0.2019754946231842,
0.34814006090164185,
0.10191865265369415,
0.22701267898082733,
0.4616919457912445,
0.07209126651287079,
0.6261890530586243,
-0.06403858959674835,
0.3278576731681824,
-0.060722872614860535,
0.22411702573299... |
https://github.com/huggingface/datasets/issues/3135 | Yes, maybe the issue could be reformulated. As a user, I want to avoid having to manage special cases:
- I want to be able to get the names of a dataset's configs, and use them in the rest of the API (get the data, get the split names, etc).
- I don't want to have to manage datasets with named configs (`glue`) differ... | Make inspect.get_dataset_config_names always return a non-empty list of configs | **Is your feature request related to a problem? Please describe.**
Currently, some datasets have a configuration, while others don't. It would be simpler for the user to always have configuration names to refer to
**Describe the solution you'd like**
In that sense inspect.get_dataset_config_names should always... | 71 | Make inspect.get_dataset_config_names always return a non-empty list of configs
**Is your feature request related to a problem? Please describe.**
Currently, some datasets have a configuration, while others don't. It would be simpler for the user to always have configuration names to refer to
**Describe the sol... | [
-0.1433713436126709,
-0.07272430509328842,
-0.09689149260520935,
0.11697015166282654,
0.23105227947235107,
0.174929678440094,
0.18104544281959534,
0.46477919816970825,
0.2811773419380188,
0.4464247226715088,
-0.15082550048828125,
0.35792410373687744,
-0.007426846772432327,
0.23463299870491... |
https://github.com/huggingface/datasets/issues/3134 | Hi,
Did you try to run the code multiple times (GitHub URLs can be down sometimes for various reasons)? I can access `https://raw.githubusercontent.com/huggingface/datasets/1.11.0/metrics/rouge/rouge.py`, so this code is working without an error on my side.
Additionally, can you please run the `datasets-cli env`... | Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.11.0/metrics/rouge/rouge.py | datasets version: 1.12.1
`metric = datasets.load_metric('rouge')`
The error:
> ConnectionError Traceback (most recent call last)
> <ipython-input-3-dd10a0c5212f> in <module>
> ----> 1 metric = datasets.load_metric('rouge')
>
> /usr/local/lib/python3.6/dist-packages/datasets/load.... | 58 | Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.11.0/metrics/rouge/rouge.py
datasets version: 1.12.1
`metric = datasets.load_metric('rouge')`
The error:
> ConnectionError Traceback (most recent call last)
> <ipython-input-3-dd10a0c5212f> in <module>
> ---->... | [
-0.40289556980133057,
-0.09171605855226517,
-0.1140875443816185,
0.2032691389322281,
0.23352211713790894,
-0.07915352284908295,
0.09773355722427368,
0.40122994780540466,
0.17329435050487518,
0.2921183109283447,
-0.3156026303768158,
-0.029254790395498276,
0.06649382412433624,
0.056605614721... |
https://github.com/huggingface/datasets/issues/3134 | Same issue when running `metric = datasets.load_metric("accuracy")`.
Error info is:
```
metric = datasets.load_metric("accuracy")
Traceback (most recent call last):
File "<ipython-input-2-d25db38b26c5>", line 1, in <module>
metric = datasets.load_metric("accuracy")
File "D:\anaconda3\lib\site-package... | Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.11.0/metrics/rouge/rouge.py | datasets version: 1.12.1
`metric = datasets.load_metric('rouge')`
The error:
> ConnectionError Traceback (most recent call last)
> <ipython-input-3-dd10a0c5212f> in <module>
> ----> 1 metric = datasets.load_metric('rouge')
>
> /usr/local/lib/python3.6/dist-packages/datasets/load.... | 103 | Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.11.0/metrics/rouge/rouge.py
datasets version: 1.12.1
`metric = datasets.load_metric('rouge')`
The error:
> ConnectionError Traceback (most recent call last)
> <ipython-input-3-dd10a0c5212f> in <module>
> ---->... | [
-0.40289556980133057,
-0.09171605855226517,
-0.1140875443816185,
0.2032691389322281,
0.23352211713790894,
-0.07915352284908295,
0.09773355722427368,
0.40122994780540466,
0.17329435050487518,
0.2921183109283447,
-0.3156026303768158,
-0.029254790395498276,
0.06649382412433624,
0.056605614721... |
https://github.com/huggingface/datasets/issues/3134 | It seems to be able to solve this issue by adding the equivalent `accuracy.py` locally.
change `metric = datasets.load_metric("accuracy")` to `metric = datasets.load_metric(path = "./accuracy.py")`.
Copy `accuracy.py` from browser at [accuracy.py](https://raw.githubusercontent.com/huggingface/datasets/1.11.0/metric... | Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.11.0/metrics/rouge/rouge.py | datasets version: 1.12.1
`metric = datasets.load_metric('rouge')`
The error:
> ConnectionError Traceback (most recent call last)
> <ipython-input-3-dd10a0c5212f> in <module>
> ----> 1 metric = datasets.load_metric('rouge')
>
> /usr/local/lib/python3.6/dist-packages/datasets/load.... | 31 | Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.11.0/metrics/rouge/rouge.py
datasets version: 1.12.1
`metric = datasets.load_metric('rouge')`
The error:
> ConnectionError Traceback (most recent call last)
> <ipython-input-3-dd10a0c5212f> in <module>
> ---->... | [
-0.40289556980133057,
-0.09171605855226517,
-0.1140875443816185,
0.2032691389322281,
0.23352211713790894,
-0.07915352284908295,
0.09773355722427368,
0.40122994780540466,
0.17329435050487518,
0.2921183109283447,
-0.3156026303768158,
-0.029254790395498276,
0.06649382412433624,
0.056605614721... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.