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/4122 | Hi @nbroad1881 and @vrindaprabhu,
As a workaround for the performance of the parsing of the raw data files (this could be addressed in a subsequent PR), I have found that there are also processed data files, that do not require parsing. I have added these as new configurations `processed.en` and `processed.zh`:
```... | medical_dialog zh has very slow _generate_examples | ## Describe the bug
After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours.
## Steps to reproduce the bug
The easiest way I've found to download files from... | 57 | medical_dialog zh has very slow _generate_examples
## Describe the bug
After downloading the files from Google Drive, `load_dataset("medical_dialog", "zh", data_dir="./")` takes an unreasonable amount of time. Generating the train/test split for 33% of the dataset takes over 4.5 hours.
## Steps to reproduce the b... | [
-0.34890785813331604,
0.15915974974632263,
-0.012125249952077866,
0.14690640568733215,
-0.014464410953223705,
0.18549446761608124,
0.7514628767967224,
0.4728640019893646,
0.09013456106185913,
0.1866065263748169,
-0.034846872091293335,
0.0402098074555397,
-0.15930072963237762,
0.27586013078... |
https://github.com/huggingface/datasets/issues/4121 | Hello, could you tell me how this issue can be fixed? I'm coming across the same issue. | datasets.load_metric can not load a local metirc | ## Describe the bug
No matter how I hard try to tell load_metric that I want to load a local metric file, it still continues to fetch things on the Internet. And unfortunately it says 'ConnectionError: Couldn't reach'. However I can download this file without connectionerror and tell load_metric its local directory. A... | 17 | datasets.load_metric can not load a local metirc
## Describe the bug
No matter how I hard try to tell load_metric that I want to load a local metric file, it still continues to fetch things on the Internet. And unfortunately it says 'ConnectionError: Couldn't reach'. However I can download this file without connecti... | [
-0.4360721707344055,
-0.2500283122062683,
0.04543702304363251,
0.31342896819114685,
0.33533188700675964,
-0.10281240940093994,
0.11066129803657532,
0.06994558870792389,
0.4024760127067566,
0.304121732711792,
-0.22247731685638428,
0.04708154872059822,
0.1364038586616516,
0.02875410765409469... |
https://github.com/huggingface/datasets/issues/4117 | Hi @arymbe, thanks for reporting.
Unfortunately, I'm not able to reproduce your problem.
Could you please write the complete stack trace? That way we will be able to see which package originates the exception. | AttributeError: module 'huggingface_hub' has no attribute 'hf_api' | ## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metr... | 34 | AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from... | [
-0.16818001866340637,
-0.44436171650886536,
-0.03456880897283554,
0.37186095118522644,
0.2857319712638855,
0.13902907073497772,
0.1513349413871765,
0.3024877905845642,
0.5123543739318848,
0.13118837773799896,
-0.1421201527118683,
0.3014177978038788,
-0.08272610604763031,
0.1413987278938293... |
https://github.com/huggingface/datasets/issues/4117 | Hello, thank you for your fast replied. this is the complete error that I got
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
---------------------------------------------------------------------------
At... | AttributeError: module 'huggingface_hub' has no attribute 'hf_api' | ## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metr... | 169 | AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from... | [
-0.25218528509140015,
-0.4301823377609253,
-0.03049236349761486,
0.4592759907245636,
0.24633470177650452,
0.18307198584079742,
0.1426951289176941,
0.28091156482696533,
0.41284602880477905,
0.10860402137041092,
-0.22137734293937683,
0.3965073227882385,
-0.04136534035205841,
-0.0014824047684... |
https://github.com/huggingface/datasets/issues/4117 | This is weird... It is long ago that the package `huggingface_hub` has a submodule called `hf_api`.
Maybe you have a problem with your installed `huggingface_hub`...
Could you please try to update it?
```shell
pip install -U huggingface_hub
``` | AttributeError: module 'huggingface_hub' has no attribute 'hf_api' | ## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metr... | 38 | AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from... | [
-0.22300700843334198,
-0.5056047439575195,
-0.06506317108869553,
0.3610430061817169,
0.2549867331981659,
0.11497172713279724,
0.11822406947612762,
0.3268619477748871,
0.45002374053001404,
0.20664002001285553,
-0.2411005049943924,
0.3153875172138214,
-0.07330285012722015,
0.1169205233454704... |
https://github.com/huggingface/datasets/issues/4117 | Yap, I've updated several times. Then, I've tried numeral combination of datasets and huggingface_hub versions. However, I think your point is right that there is a problem with my huggingface_hub installation. I'll try another way to find the solution. I'll update it later when I get the solution. Thank you :) | AttributeError: module 'huggingface_hub' has no attribute 'hf_api' | ## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metr... | 51 | AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from... | [
-0.2176215648651123,
-0.47809329628944397,
-0.03668212890625,
0.4264872074127197,
0.24145978689193726,
0.07101520150899887,
0.13313651084899902,
0.33617550134658813,
0.3942019045352936,
0.1760055422782898,
-0.2571631371974945,
0.3224831819534302,
-0.0744059830904007,
0.17548909783363342,
... |
https://github.com/huggingface/datasets/issues/4117 | I'm sorry I can't reproduce your problem.
Maybe you could try to create a new Python virtual environment and install all dependencies there from scratch. You can use either:
- Python venv: https://docs.python.org/3/library/venv.html
- or conda venv (if you are using conda): https://docs.conda.io/projects/conda/en/... | AttributeError: module 'huggingface_hub' has no attribute 'hf_api' | ## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metr... | 43 | AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from... | [
-0.21466293931007385,
-0.365477055311203,
-0.0761520266532898,
0.28642910718917847,
0.3152768611907959,
0.06447789818048477,
0.12038057297468185,
0.37589016556739807,
0.3959614932537079,
0.09970856457948685,
-0.3167542815208435,
0.35482603311538696,
-0.031583741307258606,
0.176364868879318... |
https://github.com/huggingface/datasets/issues/4117 | Facing the same issue.
Response from `pip show datasets`
```
Name: datasets
Version: 1.15.1
Summary: HuggingFace community-driven open-source library of datasets
Home-page: https://github.com/huggingface/datasets
Author: HuggingFace Inc.
Author-email: thomas@huggingface.co
License: Apache 2.0
Location: /usr... | AttributeError: module 'huggingface_hub' has no attribute 'hf_api' | ## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metr... | 167 | AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from... | [
-0.228875070810318,
-0.5003284215927124,
-0.03256043419241905,
0.41718098521232605,
0.31962329149246216,
0.18917624652385712,
0.12362326681613922,
0.2566925883293152,
0.4274251461029053,
0.1191086620092392,
-0.2684926390647888,
0.26832568645477295,
-0.10667656362056732,
0.1432969868183136,... |
https://github.com/huggingface/datasets/issues/4117 | A workaround:
I changed lines around Line 125 in `__init__.py` of `huggingface_hub` to something like
```
__getattr__, __dir__, __all__ = _attach(
__name__,
submodules=['hf_api'],
```
and it works ( which gives `datasets` direct access to `huggingface_hub.hf_api` ). | AttributeError: module 'huggingface_hub' has no attribute 'hf_api' | ## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metr... | 36 | AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from... | [
-0.13318201899528503,
-0.3884342908859253,
-0.011428914964199066,
0.38944193720817566,
0.3063628673553467,
0.15456348657608032,
0.19128380715847015,
0.2508588135242462,
0.39550232887268066,
0.1814126968383789,
-0.3044852018356323,
0.33234408497810364,
-0.06325775384902954,
0.07635746151208... |
https://github.com/huggingface/datasets/issues/4117 | I was getting the same issue. After trying a few versions, following combination worked for me.
dataset==2.3.2
huggingface_hub==0.7.0
In another environment, I just installed latest repos from pip through `pip install -U transformers datasets tokenizers evaluate`, resulting in following versions. This also worked.... | AttributeError: module 'huggingface_hub' has no attribute 'hf_api' | ## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metr... | 53 | AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from... | [
-0.2420213222503662,
-0.37025272846221924,
-0.016820136457681656,
0.2895161211490631,
0.24978400766849518,
-0.003877311944961548,
0.1583314836025238,
0.2593175768852234,
0.3471052646636963,
0.10791254043579102,
-0.18922144174575806,
0.34906646609306335,
-0.11579442024230957,
0.032266825437... |
https://github.com/huggingface/datasets/issues/4117 | (For layoutlmv3 fine-tuning) In my case, modifying `requirements.txt` as below worked.
- python = 3.7
```
datasets==2.3.2
evaluate==0.1.2
huggingface-hub==0.8.1
response==0.5.0
tokenizers==0.10.1
transformers==4.12.5
seqeval==1.2.2
deepspeed==0.5.7
tensorboard==2.7.0
seqeval==1.2.2
sentencepiece
timm=... | AttributeError: module 'huggingface_hub' has no attribute 'hf_api' | ## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metr... | 33 | AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Describe the bug
Could you help me please. I got this following error.
AttributeError: module 'huggingface_hub' has no attribute 'hf_api'
## Steps to reproduce the bug
when I imported the datasets
# Sample code to reproduce the bug
from... | [
-0.051867321133613586,
-0.6372942328453064,
0.011713553220033646,
0.5167973041534424,
0.1931648552417755,
0.15867756307125092,
0.17063312232494354,
0.30373623967170715,
0.2635854482650757,
0.09512285888195038,
-0.09369099140167236,
0.2455931156873703,
0.02045128494501114,
0.045235291123390... |
https://github.com/huggingface/datasets/issues/4115 | Maybe it would be nice to ignore private dirs like this one (ones starting with `.`) by default.
CC @mariosasko | ImageFolder add option to ignore some folders like '.ipynb_checkpoints' | **Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t... | 20 | ImageFolder add option to ignore some folders like '.ipynb_checkpoints'
**Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate ima... | [
0.015030242502689362,
0.3754788041114807,
-0.0406382754445076,
0.20242147147655487,
0.007796425372362137,
-0.006433337926864624,
0.3350972831249237,
0.28681236505508423,
0.12312981486320496,
0.3202601671218872,
-0.0017325691878795624,
0.29503515362739563,
-0.24005766212940216,
0.2837024927... |
https://github.com/huggingface/datasets/issues/4115 | Maybe we can add a `ignore_hidden_files` flag to the builder configs of our packaged loaders (to be consistent across all of them), wdyt @lhoestq @albertvillanova? | ImageFolder add option to ignore some folders like '.ipynb_checkpoints' | **Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t... | 25 | ImageFolder add option to ignore some folders like '.ipynb_checkpoints'
**Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate ima... | [
-0.04254941642284393,
0.399856299161911,
-0.03861120343208313,
0.2750571072101593,
-0.008396768011152744,
-0.03648032993078232,
0.35973477363586426,
0.27620258927345276,
0.210635706782341,
0.3438733220100403,
0.021027155220508575,
0.32262861728668213,
-0.277006596326828,
0.3039172887802124... |
https://github.com/huggingface/datasets/issues/4115 | I think they should always ignore them actually ! Not sure if adding a flag would be helpful | ImageFolder add option to ignore some folders like '.ipynb_checkpoints' | **Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t... | 18 | ImageFolder add option to ignore some folders like '.ipynb_checkpoints'
**Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate ima... | [
0.03365251421928406,
0.3373181223869324,
-0.041232943534851074,
0.19490069150924683,
0.01740308478474617,
-0.008147448301315308,
0.30613046884536743,
0.29955875873565674,
0.12515191733837128,
0.2879789471626282,
0.045955367386341095,
0.30391818284988403,
-0.2466277778148651,
0.299099147319... |
https://github.com/huggingface/datasets/issues/4115 | @lhoestq But what if the user explicitly requests those files via regex?
`glob.glob` ignores hidden files (files starting with ".") by default unless they are explicitly requested, but fsspec's `glob` doesn't follow this behavior, which is probably a bug, so maybe we can raise an issue or open a PR in their repo? | ImageFolder add option to ignore some folders like '.ipynb_checkpoints' | **Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t... | 53 | ImageFolder add option to ignore some folders like '.ipynb_checkpoints'
**Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate ima... | [
-0.0018106549978256226,
0.29336461424827576,
-0.02334265224635601,
0.2066628783941269,
-0.051359206438064575,
-0.15691086649894714,
0.23935362696647644,
0.19135290384292603,
0.13572365045547485,
0.37199652194976807,
0.03611220419406891,
0.15244528651237488,
-0.3634718060493469,
0.424133986... |
https://github.com/huggingface/datasets/issues/4115 | > @lhoestq But what if the user explicitly requests those files via regex?
Usually hidden files are meant to be ignored. If they are data files, they must be placed outside a hidden directory in the first place right ? I think it's more sensible to explain this than adding a flag.
> glob.glob ignores hidden files... | ImageFolder add option to ignore some folders like '.ipynb_checkpoints' | **Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate image additions. I think this is an easy enough thing to miss especially if t... | 145 | ImageFolder add option to ignore some folders like '.ipynb_checkpoints'
**Is your feature request related to a problem? Please describe.**
I sometimes like to peek at the dataset images from jupyterlab. thus '.ipynb_checkpoints' folder appears where my dataset is and (just realized) leads to accidental duplicate ima... | [
-0.014153547585010529,
0.3498774766921997,
-0.03261805325746536,
0.17829681932926178,
-0.02230319008231163,
-0.16947795450687408,
0.28646108508110046,
0.17284780740737915,
0.12156431376934052,
0.32096436619758606,
0.10332847386598587,
0.16652706265449524,
-0.3905256986618042,
0.43137255311... |
https://github.com/huggingface/datasets/issues/4114 | In the general case you can’t always reduce the quantity of data to download, since you can’t parse CSV or JSON data without downloading the whole files right ? ^^ However we could explore this case-by-case I guess | Allow downloading just some columns of a dataset | **Is your feature request related to a problem? Please describe.**
Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case
**Describe the solution you'd like**
Be able to just download... | 38 | Allow downloading just some columns of a dataset
**Is your feature request related to a problem? Please describe.**
Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case
**Describe ... | [
-0.19966444373130798,
-0.05867345631122589,
-0.1487237960100174,
0.041417110711336136,
0.21505369246006012,
0.34039875864982605,
-0.0032914215698838234,
0.4748855233192444,
0.36852791905403137,
0.4119485318660736,
-0.11384068429470062,
0.0341658778488636,
-0.11214284598827362,
0.5283210873... |
https://github.com/huggingface/datasets/issues/4114 | Actually for csv pandas has `usecols` which allows loading a subset of columns in a more efficient way afaik, but yes, you're right this might be more complex than I thought. | Allow downloading just some columns of a dataset | **Is your feature request related to a problem? Please describe.**
Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case
**Describe the solution you'd like**
Be able to just download... | 31 | Allow downloading just some columns of a dataset
**Is your feature request related to a problem? Please describe.**
Some people are interested in doing label analysis of a CV dataset without downloading all the images. Downloading the whole dataset does not always makes sense for this kind of use case
**Describe ... | [
-0.14048688113689423,
-0.09626609832048416,
-0.12970885634422302,
0.06822147965431213,
0.17430970072746277,
0.3797702491283417,
0.1323055773973465,
0.4191701412200928,
0.3833295702934265,
0.3452170491218567,
-0.17849373817443848,
0.07007268071174622,
-0.1091383695602417,
0.4753876924514770... |
https://github.com/huggingface/datasets/issues/4113 | Closing this one because it must be used this way actually:
```python
def main():
with FileLock("tmp.lock"):
with Pool(2) as pool:
pool.map(run, range(2))
if __name__ == "__main__":
main()
``` | Multiprocessing with FileLock fails in python 3.9 | On python 3.9, this code hangs:
```python
from multiprocessing import Pool
from filelock import FileLock
def run(i):
print(f"got the lock in multi process [{i}]")
with FileLock("tmp.lock"):
with Pool(2) as pool:
pool.map(run, range(2))
```
This is because the subprocesses try to ac... | 28 | Multiprocessing with FileLock fails in python 3.9
On python 3.9, this code hangs:
```python
from multiprocessing import Pool
from filelock import FileLock
def run(i):
print(f"got the lock in multi process [{i}]")
with FileLock("tmp.lock"):
with Pool(2) as pool:
pool.map(run, range(2))
... | [
-0.2832895517349243,
-0.1852102279663086,
-0.1209607720375061,
0.026277299970388412,
-0.11182704567909241,
0.03941342234611511,
0.41287174820899963,
-0.0597224161028862,
0.11630050837993622,
0.1916506439447403,
0.04303199052810669,
0.20703783631324768,
-0.09803737699985504,
0.0819782987236... |
https://github.com/huggingface/datasets/issues/4112 | Hi! Replacing:
```python
transformed_dataset = dataset.with_transform(transforms)
transformed_dataset.set_format(type="torch", device="cuda")
```
with:
```python
def transform_func(examples):
examples["image"] = [transforms(img).to("cuda") for img in examples["image"]]
return examples
transformed_... | ImageFolder with Grayscale images dataset | Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP)
I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback:
```bash
AttributeError: Caught AttributeError in D... | 89 | ImageFolder with Grayscale images dataset
Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP)
I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback:
```bash... | [
-0.39472752809524536,
0.27717652916908264,
0.004924856126308441,
0.3311275839805603,
0.31244325637817383,
-0.07205556333065033,
0.609921932220459,
0.17172610759735107,
0.09527520835399628,
0.11197195947170258,
0.02965092658996582,
0.37893328070640564,
-0.41227561235427856,
-0.0405050627887... |
https://github.com/huggingface/datasets/issues/4112 | Ok thanks a lot for the code snippet!
I love the way `datasets` is easy to use but it made it really long to pre-process all the images (400.000 in my case) before training anything. `ImageFolder` from pytorch is faster in my case but force me to have the images on my local machine.
I don't know how to speed up t... | ImageFolder with Grayscale images dataset | Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP)
I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback:
```bash
AttributeError: Caught AttributeError in D... | 68 | ImageFolder with Grayscale images dataset
Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP)
I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback:
```bash... | [
-0.39472752809524536,
0.27717652916908264,
0.004924856126308441,
0.3311275839805603,
0.31244325637817383,
-0.07205556333065033,
0.609921932220459,
0.17172610759735107,
0.09527520835399628,
0.11197195947170258,
0.02965092658996582,
0.37893328070640564,
-0.41227561235427856,
-0.0405050627887... |
https://github.com/huggingface/datasets/issues/4112 | You can pass `ignore_verifications=True` in `load_dataset` to skip checksum verification, which takes a lot of time if the number of files is large. We will consider making this the default behavior. | ImageFolder with Grayscale images dataset | Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP)
I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback:
```bash
AttributeError: Caught AttributeError in D... | 31 | ImageFolder with Grayscale images dataset
Hi, I'm facing a problem with a grayscale images dataset I have uploaded [here](https://huggingface.co/datasets/ChainYo/rvl-cdip) (RVL-CDIP)
I'm getting an error while I want to use images for training a model with PyTorch DataLoader. Here is the full traceback:
```bash... | [
-0.39472752809524536,
0.27717652916908264,
0.004924856126308441,
0.3311275839805603,
0.31244325637817383,
-0.07205556333065033,
0.609921932220459,
0.17172610759735107,
0.09527520835399628,
0.11197195947170258,
0.02965092658996582,
0.37893328070640564,
-0.41227561235427856,
-0.0405050627887... |
https://github.com/huggingface/datasets/issues/4107 | It's not related to the dataset viewer in itself. I can replicate the error with:
```
>>> import datasets as ds
>>> d = ds.load_dataset('Pavithree/explainLikeImFive')
Using custom data configuration Pavithree--explainLikeImFive-b68b6d8112cd8a51
Downloading and preparing dataset json/Pavithree--explainLikeImFiv... | Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows | ## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows
**Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive*
*This is the subset of original eli5 dataset https://huggingface.co/datasets/vblagoje/lfqa. I just filtered the data samples which belongs to one particular subreddit thread. How... | 238 | Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows
## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows
**Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive*
*This is the subset of original eli5 dataset https://huggingface.... | [
-0.34890472888946533,
-0.2126835584640503,
-0.0853867307305336,
0.6558040380477905,
0.03639495000243187,
0.19708546996116638,
-0.0027793925255537033,
0.15819653868675232,
-0.08486708998680115,
0.045796096324920654,
-0.28319892287254333,
0.24045085906982422,
-0.0769440084695816,
0.276748359... |
https://github.com/huggingface/datasets/issues/4107 | It seems that train.json is not a valid JSON Lines file: it has several JSON objects in the first line (the 915th character in the first line starts a new object, and there's no "\n")
You need to have one JSON object per line | Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows | ## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows
**Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive*
*This is the subset of original eli5 dataset https://huggingface.co/datasets/vblagoje/lfqa. I just filtered the data samples which belongs to one particular subreddit thread. How... | 44 | Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows
## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows
**Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive*
*This is the subset of original eli5 dataset https://huggingface.... | [
-0.30209389328956604,
-0.11188981682062149,
-0.08697425574064255,
0.6097386479377747,
0.010300703346729279,
0.16385969519615173,
0.06848237663507462,
0.3277798891067505,
-0.10921566933393478,
-0.05663827061653137,
-0.13673312962055206,
0.23917725682258606,
-0.12791313230991364,
0.254563152... |
https://github.com/huggingface/datasets/issues/4107 | I'm closing this issue.
@Pavithree, please, feel free to re-open it if fixing the JSON file does not solve it. | Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows | ## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows
**Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive*
*This is the subset of original eli5 dataset https://huggingface.co/datasets/vblagoje/lfqa. I just filtered the data samples which belongs to one particular subreddit thread. How... | 20 | Unable to view the dataset and loading the same dataset throws the error - ArrowInvalid: Exceeded maximum rows
## Dataset viewer issue - -ArrowInvalid: Exceeded maximum rows
**Link:** *https://huggingface.co/datasets/Pavithree/explainLikeImFive*
*This is the subset of original eli5 dataset https://huggingface.... | [
-0.39322608709335327,
-0.17191284894943237,
-0.09222601354122162,
0.6554156541824341,
-0.05300922691822052,
0.1677156388759613,
0.03701002150774002,
0.3199271261692047,
-0.07450254261493683,
-0.005809158086776733,
-0.26438960433006287,
0.32309871912002563,
-0.09235911071300507,
0.284510314... |
https://github.com/huggingface/datasets/issues/4105 | Hi ! Indeed there was a breaking change in `huggingface_hub` 0.5.0 in `HfApi.create_repo`, which is called here in `datasets` by passing the org name in both the `repo_id` and the `organization` arguments:
https://github.com/huggingface/datasets/blob/2230f7f7d7fbaf102cff356f5a8f3bd1561bea43/src/datasets/arrow_datase... | push to hub fails with huggingface-hub 0.5.0 | ## Describe the bug
`ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id"
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset("rubrix/news_test")
ds.push_to_hub("<your-user>/news_test", token="<your-token>")
```
## Expected results
The data... | 52 | push to hub fails with huggingface-hub 0.5.0
## Describe the bug
`ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id"
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset("rubrix/news_test")
ds.push_to_hub("<your-user>/news_test", token="<your... | [
-0.18618568778038025,
-0.43112391233444214,
0.05626014247536659,
0.006731169298291206,
0.12984797358512878,
-0.1801869422197342,
0.2390422374010086,
0.3798781633377075,
0.0936851054430008,
0.18416574597358704,
-0.24823276698589325,
0.11042660474777222,
0.13874436914920807,
0.17468349635601... |
https://github.com/huggingface/datasets/issues/4105 | I'll be sending a fix for this later today on the `huggingface_hub` side.
The error would be converted to a `FutureWarning` if `datasets` uses kwargs instead of positional, for example here:
https://github.com/huggingface/datasets/blob/2230f7f7d7fbaf102cff356f5a8f3bd1561bea43/src/datasets/arrow_dataset.py#L3363-... | push to hub fails with huggingface-hub 0.5.0 | ## Describe the bug
`ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id"
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset("rubrix/news_test")
ds.push_to_hub("<your-user>/news_test", token="<your-token>")
```
## Expected results
The data... | 179 | push to hub fails with huggingface-hub 0.5.0
## Describe the bug
`ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id"
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset("rubrix/news_test")
ds.push_to_hub("<your-user>/news_test", token="<your... | [
-0.17796792089939117,
-0.36139726638793945,
0.03966094180941582,
-0.04187355190515518,
0.14931580424308777,
-0.1146918535232544,
0.25963905453681946,
0.39197424054145813,
0.056719012558460236,
0.21543145179748535,
-0.16143366694450378,
0.187285378575325,
0.028987210243940353,
0.09895601868... |
https://github.com/huggingface/datasets/issues/4105 | We can definitely change `push_to_hub` to use `repo_id` in `datasets` and require `huggingface_hub>=0.5.0`.
Let me open a PR :) | push to hub fails with huggingface-hub 0.5.0 | ## Describe the bug
`ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id"
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset("rubrix/news_test")
ds.push_to_hub("<your-user>/news_test", token="<your-token>")
```
## Expected results
The data... | 19 | push to hub fails with huggingface-hub 0.5.0
## Describe the bug
`ds.push_to_hub` is failing when updating a dataset in the form "org_id/repo_id"
## Steps to reproduce the bug
```python
from datasets import load_dataset
ds = load_dataset("rubrix/news_test")
ds.push_to_hub("<your-user>/news_test", token="<your... | [
-0.2125270664691925,
-0.4315750002861023,
0.05220431089401245,
0.04822845011949539,
0.11559911072254181,
-0.15239590406417847,
0.2406623512506485,
0.391484797000885,
0.09442360699176788,
0.1809867024421692,
-0.14784874022006989,
0.20395994186401367,
0.04224823787808418,
0.18272188305854797... |
https://github.com/huggingface/datasets/issues/4104 | @INF800 happy to add this dataset! I will try to set a PR by the end of the day... if you can kindly point me to the dataset? Also, note we have a bunch of time series datasets checked in e.g. `electricity_load_diagrams` or `monash_tsf`, and ideally this dataset could also be in a similar format. | Add time series data - stock market | ## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data:** Collected by myself from investing... | 55 | Add time series data - stock market
## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data... | [
-0.4105684757232666,
-0.15613359212875366,
-0.20273621380329132,
-0.020412415266036987,
0.2966761589050293,
-0.04654618352651596,
0.27518096566200256,
0.21204495429992676,
0.23726102709770203,
-0.03564728796482086,
0.1677030324935913,
0.3154209852218628,
-0.527330756187439,
0.1958557963371... |
https://github.com/huggingface/datasets/issues/4104 | Thankyou. This is how raw data looks like before cleaning for an individual stocks:
1. https://github.com/INF800/marktech/tree/raw-data/f/data/raw
2. https://github.com/INF800/marktech/tree/raw-data/t/data/raw
3. https://github.com/INF800/marktech/tree/raw-data/rdfn/data/raw
4. https://github.com/INF800/marktech/... | Add time series data - stock market | ## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data:** Collected by myself from investing... | 170 | Add time series data - stock market
## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data... | [
-0.3687591254711151,
0.04915235936641693,
-0.18469800055027008,
-0.1505383551120758,
0.16514122486114502,
-0.09947671741247177,
0.09179699420928955,
0.4598022997379303,
0.32244250178337097,
-0.08603169023990631,
-0.13898533582687378,
0.06327687203884125,
-0.14862562716007233,
0.16102552413... |
https://github.com/huggingface/datasets/issues/4104 | thanks @INF800 I'll have a look. I believe it should be possible to incorporate this into the time-series format. | Add time series data - stock market | ## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data:** Collected by myself from investing... | 19 | Add time series data - stock market
## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data... | [
-0.3537878692150116,
-0.1289311796426773,
-0.19091647863388062,
-0.05314486846327782,
0.2729805111885071,
-0.05998707935214043,
0.2987923324108124,
0.2014787495136261,
0.16080887615680695,
-0.11831064522266388,
0.03583069145679474,
0.37491804361343384,
-0.5095007419586182,
0.27561527490615... |
https://github.com/huggingface/datasets/issues/4104 | @INF800 yes I am aware of the review repository and paper which is more or less a collection of abstracts etc. I am working on a unified library of implementations of these papers together with datasets to be then able to compare/contrast and build upon the research etc. but I am not ready to share them publicly just y... | Add time series data - stock market | ## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data:** Collected by myself from investing... | 138 | Add time series data - stock market
## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data... | [
-0.2683299779891968,
-0.11275600641965866,
-0.19539056718349457,
0.02291310578584671,
0.17512692511081696,
-0.12447354197502136,
0.20423847436904907,
0.20585574209690094,
0.1586599051952362,
-0.13216698169708252,
0.0927702859044075,
0.15531021356582642,
-0.3484841585159302,
0.1320486813783... |
https://github.com/huggingface/datasets/issues/4104 | > @INF800 yes I am aware of the review repository and paper which is more or less a collection of abstracts etc. I am working on a unified library of implementations of these papers together with datasets to be then able to compare/contrast and build upon the research etc. but I am not ready to share them publicly just... | Add time series data - stock market | ## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data:** Collected by myself from investing... | 169 | Add time series data - stock market
## Adding a Time Series Dataset
- **Name:** 2min ticker data for stock market
- **Description:** 8 stocks' data collected for 1month post ukraine-russia war. 4 NSE stocks and 4 NASDAQ stocks. Along with technical indicators (additional features) as shown in below image
- **Data... | [
-0.2783481478691101,
-0.10501288622617722,
-0.2014273703098297,
0.001440100371837616,
0.23150146007537842,
-0.1322028487920761,
0.19488981366157532,
0.24059906601905823,
0.17638960480690002,
-0.12403935194015503,
0.0741611048579216,
0.20537802577018738,
-0.32984983921051025,
0.163827165961... |
https://github.com/huggingface/datasets/issues/4101 | Hi! Can you please specify the full name of the dataset? IIRC `full_numbers` is one of the configs of the `svhn` dataset, and its generation is slow due to data being stored in binary Matlab files. Even if you specify a specific split, `datasets` downloads all of them, but we plan to fix that soon and only download the... | How can I download only the train and test split for full numbers using load_dataset()? | How can I download only the train and test split for full numbers using load_dataset()?
I do not need the extra split and it will take 40 mins just to download in Colab. I have very short time in hand. Please help. | 121 | How can I download only the train and test split for full numbers using load_dataset()?
How can I download only the train and test split for full numbers using load_dataset()?
I do not need the extra split and it will take 40 mins just to download in Colab. I have very short time in hand. Please help.
Hi! Can ... | [
-0.4222615361213684,
-0.29114580154418945,
-0.037317439913749695,
0.23905852437019348,
0.002636721357703209,
0.16895408928394318,
0.3794758915901184,
0.5034551024436951,
-0.062251441180706024,
0.3114701509475708,
-0.43621549010276794,
-0.06049578636884689,
-0.002635108307003975,
0.51834285... |
https://github.com/huggingface/datasets/issues/4099 | Hi @andreybond, thanks for reporting.
Unfortunately, I'm not able to able to reproduce your issue:
```python
In [4]: from datasets import load_dataset
...: datasets = load_dataset("nielsr/XFUN", "xfun.ja")
In [5]: datasets
Out[5]:
DatasetDict({
train: Dataset({
features: ['id', 'input_ids',... | UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128) | ## Describe the bug
Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset.
## Steps to reproduce the bug
```python
from datasets import load_dataset
datasets = load_dataset("nielsr/XFUN", "xfun.ja")
```
## Expected resu... | 123 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)
## Describe the bug
Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset.
## Steps to reproduce the bug
```python
from dat... | [
-0.2249610424041748,
-0.011079967021942139,
-0.11821445822715759,
0.37663087248802185,
0.4748913049697876,
0.07017077505588531,
0.19218970835208893,
0.4249808192253113,
-0.2420487403869629,
0.23078389465808868,
-0.08927132189273834,
0.11802104115486145,
-0.05629432946443558,
-0.11612643301... |
https://github.com/huggingface/datasets/issues/4099 | I opened a PR in the original dataset loading script:
- microsoft/unilm#677
and fixed the corresponding dataset script on the Hub:
- https://huggingface.co/datasets/nielsr/XFUN/commit/73ba5e026621e05fb756ae0f267eb49971f70ebd | UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128) | ## Describe the bug
Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset.
## Steps to reproduce the bug
```python
from datasets import load_dataset
datasets = load_dataset("nielsr/XFUN", "xfun.ja")
```
## Expected resu... | 23 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)
## Describe the bug
Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset.
## Steps to reproduce the bug
```python
from dat... | [
-0.2249610424041748,
-0.011079967021942139,
-0.11821445822715759,
0.37663087248802185,
0.4748913049697876,
0.07017077505588531,
0.19218970835208893,
0.4249808192253113,
-0.2420487403869629,
0.23078389465808868,
-0.08927132189273834,
0.11802104115486145,
-0.05629432946443558,
-0.11612643301... |
https://github.com/huggingface/datasets/issues/4099 | import sys
sys.getdefaultencoding()
returned: 'utf-8'
---------------------
I've just cloned master branch - your fix works! Thank you! | UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128) | ## Describe the bug
Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset.
## Steps to reproduce the bug
```python
from datasets import load_dataset
datasets = load_dataset("nielsr/XFUN", "xfun.ja")
```
## Expected resu... | 17 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)
## Describe the bug
Error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 213: ordinal not in range(128)" is thrown when downloading dataset.
## Steps to reproduce the bug
```python
from dat... | [
-0.2249610424041748,
-0.011079967021942139,
-0.11821445822715759,
0.37663087248802185,
0.4748913049697876,
0.07017077505588531,
0.19218970835208893,
0.4249808192253113,
-0.2420487403869629,
0.23078389465808868,
-0.08927132189273834,
0.11802104115486145,
-0.05629432946443558,
-0.11612643301... |
https://github.com/huggingface/datasets/issues/4096 | Hi @jacobbieker, thanks for your request and study of possible alternatives.
We are very interested in finding a way to make `datasets` useful to you.
Looking at the Zarr docs, I saw that among its storage alternatives, there is the ZIP file format: https://zarr.readthedocs.io/en/stable/api/storage.html#zarr.stor... | Add support for streaming Zarr stores for hosted datasets | **Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s... | 145 | Add support for streaming Zarr stores for hosted datasets
**Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s... | [
-0.3244538903236389,
-0.1263987123966217,
-0.025105271488428116,
-0.1954038143157959,
0.03185238316655159,
0.10995018482208252,
0.04600343853235245,
0.23520953953266144,
0.30418962240219116,
0.3589913547039032,
-0.3856137692928314,
0.20675665140151978,
-0.18948382139205933,
0.6700427532196... |
https://github.com/huggingface/datasets/issues/4096 | Ah okay, I missed the option of zip files for zarr, I'll try that with our repos and see if it works! Thanks a lot! | Add support for streaming Zarr stores for hosted datasets | **Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s... | 25 | Add support for streaming Zarr stores for hosted datasets
**Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s... | [
-0.30690503120422363,
-0.14028017222881317,
-0.026899956166744232,
-0.2003016471862793,
0.016946941614151,
0.08815331012010574,
0.047321099787950516,
0.25285646319389343,
0.2585320770740509,
0.365384966135025,
-0.38941752910614014,
0.2703039050102234,
-0.1643589437007904,
0.682734131813049... |
https://github.com/huggingface/datasets/issues/4096 | On behalf of the Zarr developers, let me say THANK YOU for working to support Zarr on HF! 🙏 Zarr is a 100% open-source and community driven project (fiscally sponsored by NumFocus). We see it as an ideal format for ML training datasets, particularly in scientific domains.
I think the solution of zipping the Zarr s... | Add support for streaming Zarr stores for hosted datasets | **Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s... | 105 | Add support for streaming Zarr stores for hosted datasets
**Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s... | [
-0.27889391779899597,
-0.14777231216430664,
-0.029817329719662666,
-0.1854165643453598,
0.041601475328207016,
0.10000646114349365,
0.06658748537302017,
0.20968151092529297,
0.27385905385017395,
0.3396218419075012,
-0.3827301263809204,
0.23040863871574402,
-0.19778814911842346,
0.6521239876... |
https://github.com/huggingface/datasets/issues/4096 | Also just noting here that I was able to lazily open @jacobbieker's dataset over the internet from HF hub 🚀 !
```python
import xarray as xr
url = "https://huggingface.co/datasets/openclimatefix/mrms/resolve/main/data/2016_001.zarr.zip"
zip_url = 'zip:///::' + url
ds = xr.open_dataset(zip_url, engine='zarr', chu... | Add support for streaming Zarr stores for hosted datasets | **Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s... | 44 | Add support for streaming Zarr stores for hosted datasets
**Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s... | [
-0.34189265966415405,
-0.10325515270233154,
-0.0035131163895130157,
-0.18105046451091766,
0.03509131446480751,
0.09697998315095901,
0.09834848344326019,
0.25096702575683594,
0.28040021657943726,
0.3807622790336609,
-0.3892695903778076,
0.20213425159454346,
-0.2067263424396515,
0.6755539178... |
https://github.com/huggingface/datasets/issues/4096 | However, I wasn't able to get streaming working using the Datasets api:
```python
from datasets import load_dataset
ds = load_dataset("openclimatefix/mrms", streaming=True, split='train')
item = next(iter(ds))
```
<details>
<summary>FileNotFoundError traceback</summary>
```
No config specified, defaultin... | Add support for streaming Zarr stores for hosted datasets | **Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s... | 511 | Add support for streaming Zarr stores for hosted datasets
**Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s... | [
-0.3376379609107971,
-0.14472144842147827,
-0.01663338765501976,
-0.1909611076116562,
0.03103215992450714,
0.08833150565624237,
0.07099553942680359,
0.21563264727592468,
0.30044320225715637,
0.3126605153083801,
-0.3831918239593506,
0.20081287622451782,
-0.18363508582115173,
0.6807721853256... |
https://github.com/huggingface/datasets/issues/4096 | I'm still messing around with that dataset, so the data might have moved. I currently have each year of MRMS precipitation rate data as it's own zarr, but as they are quite large (on order of 100GB each) I'm working to split them into single days, and as such they are still being moved around, I was just trying to get ... | Add support for streaming Zarr stores for hosted datasets | **Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s... | 67 | Add support for streaming Zarr stores for hosted datasets
**Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s... | [
-0.31905874609947205,
-0.1435205042362213,
-0.024514012038707733,
-0.18626460433006287,
0.0163271427154541,
0.08207247406244278,
0.05468442663550377,
0.24200211465358734,
0.29531532526016235,
0.3457222282886505,
-0.38183873891830444,
0.20182189345359802,
-0.18737176060676575,
0.67179095745... |
https://github.com/huggingface/datasets/issues/4096 | I've mostly finished rearranging the data now and uploading some more, so this works now:
```python
import datasets
ds = datasets.load_dataset("openclimatefix/mrms", streaming=True, split="train")
item = next(iter(ds))
print(item.keys())
print(item["timestamp"])
```
The MRMS data now goes most of 2016-2022, w... | Add support for streaming Zarr stores for hosted datasets | **Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s... | 47 | Add support for streaming Zarr stores for hosted datasets
**Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s... | [
-0.3146088123321533,
-0.15288715064525604,
-0.01794254779815674,
-0.18653306365013123,
0.018356069922447205,
0.08358550071716309,
0.06929736584424973,
0.23560607433319092,
0.3060990869998932,
0.34475162625312805,
-0.38248956203460693,
0.20602382719516754,
-0.18392828106880188,
0.6715693473... |
https://github.com/huggingface/datasets/issues/4096 | Hi @albertvillanova, I noticed there is now the [HFFileSystem](https://huggingface.co/docs/huggingface_hub/main/en/guides/hf_file_system), where the docs show an example of writing a Zarr store directly to the Hub, and no mention of having too many files. Is there still the restriction on lots of files in `datasets`? I... | Add support for streaming Zarr stores for hosted datasets | **Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s... | 79 | Add support for streaming Zarr stores for hosted datasets
**Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s... | [
-0.2859629690647125,
-0.13934604823589325,
-0.022838396951556206,
-0.21601839363574982,
0.030697468668222427,
0.08610282838344574,
0.0636269748210907,
0.2633107304573059,
0.33098602294921875,
0.3370835483074188,
-0.3964836597442627,
0.17062169313430786,
-0.15322159230709076,
0.650299966335... |
https://github.com/huggingface/datasets/issues/4096 | Hi @jacobbieker.
Thanks for coming back to this pending issue.
In fact, we are now using the `fsspec` API in our `HFFileSystem`, which was not the case when you created this issue.
On the other hand, I am not sure of the current limitations, both in terms of the number of files or performance when loading.
- I... | Add support for streaming Zarr stores for hosted datasets | **Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support streaming in data in Zarr format as far as I can tell. Zarr s... | 145 | Add support for streaming Zarr stores for hosted datasets
**Is your feature request related to a problem? Please describe.**
Lots of geospatial data is stored in the Zarr format. This format works well for n-dimensional data and coordinates, and can have good compression. Unfortunately, HF datasets doesn't support s... | [
-0.2905282974243164,
-0.1366911083459854,
-0.019656259566545486,
-0.17703144252300262,
0.03906061872839928,
0.08451028168201447,
0.07272321730852127,
0.21038925647735596,
0.2954660654067993,
0.3393036723136902,
-0.35658928751945496,
0.1953560709953308,
-0.17305076122283936,
0.6844580769538... |
https://github.com/huggingface/datasets/issues/4093 | By the way, the error on our part is due to the huge size of every row (~90MB). The dataset viewer does not support such big dataset rows for the moment.
Anyway, we're working to give a hint about this in the dataset viewer. | elena-soare/crawled-ecommerce: missing dataset | elena-soare/crawled-ecommerce
**Link:** *link to the dataset viewer page*
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| 44 | elena-soare/crawled-ecommerce: missing dataset
elena-soare/crawled-ecommerce
**Link:** *link to the dataset viewer page*
*short description of the issue*
Am I the one who added this dataset ? Yes-No
By the way, the error on our part is due to the huge size of every row (~90MB). The dataset viewer does no... | [
-0.12076859176158905,
-0.0028608888387680054,
-0.13186758756637573,
0.06351923942565918,
0.1874111294746399,
0.07949848473072052,
0.12546855211257935,
0.17373372614383698,
0.26397383213043213,
0.11739073693752289,
0.0001629181206226349,
0.3512992560863495,
-0.2119094580411911,
0.3936074972... |
https://github.com/huggingface/datasets/issues/4093 | Fixed. See https://huggingface.co/datasets/elena-soare/crawled-ecommerce/viewer/elena-soare--crawled-ecommerce/train.
<img width="1552" alt="Capture d’écran 2022-04-12 à 11 23 51" src="https://user-images.githubusercontent.com/1676121/162929722-2e2b80e2-154a-4b61-87bd-e341bd6c46e6.png">
Thanks for reporting! | elena-soare/crawled-ecommerce: missing dataset | elena-soare/crawled-ecommerce
**Link:** *link to the dataset viewer page*
*short description of the issue*
Am I the one who added this dataset ? Yes-No
| 16 | elena-soare/crawled-ecommerce: missing dataset
elena-soare/crawled-ecommerce
**Link:** *link to the dataset viewer page*
*short description of the issue*
Am I the one who added this dataset ? Yes-No
Fixed. See https://huggingface.co/datasets/elena-soare/crawled-ecommerce/viewer/elena-soare--crawled-ecomm... | [
-0.16096565127372742,
-0.029939353466033936,
-0.10246425122022629,
0.010829546488821507,
0.21790874004364014,
0.07106932252645493,
0.3409804105758667,
0.13420820236206055,
0.21529927849769592,
0.044046372175216675,
0.021952994167804718,
0.24195779860019684,
-0.17336642742156982,
0.50859868... |
https://github.com/huggingface/datasets/issues/4091 | Hi! Yes, the problem with `add_item` is that it keeps examples in memory, so you are left with these options:
* writing a dataset loading script in which you iterate over `custom_example_dict_streamer` and yield the examples (in `_generate examples`)
* storing the data in a JSON/CSV/Parquet/TXT file and using `Datase... | Build a Dataset One Example at a Time Without Loading All Data Into Memory | **Is your feature request related to a problem? Please describe.**
I have a very large dataset stored on disk in a custom format. I have some custom code that reads one data example at a time and yields it in the form of a dictionary. I want to construct a `Dataset` with all examples, and then save it to disk. I la... | 161 | Build a Dataset One Example at a Time Without Loading All Data Into Memory
**Is your feature request related to a problem? Please describe.**
I have a very large dataset stored on disk in a custom format. I have some custom code that reads one data example at a time and yields it in the form of a dictionary. I wan... | [
-0.42093509435653687,
-0.11638515442609787,
0.03712012991309166,
0.25986015796661377,
0.16290265321731567,
0.13571792840957642,
0.11643493175506592,
0.1412476748228073,
-0.014540690928697586,
0.31178441643714905,
0.3016645908355713,
0.1858532875776291,
-0.43724045157432556,
0.3365070223808... |
https://github.com/huggingface/datasets/issues/4086 | Hi @cslizc, thanks for reporting.
I have just forced the refresh of the corresponding cache and the preview is working now. | Dataset viewer issue for McGill-NLP/feedbackQA | ## Dataset viewer issue for '*McGill-NLP/feedbackQA*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/McGill-NLP/feedbackQA)*
*short description of the issue*
The dataset can be loaded correctly with `load_dataset` but the preview doesn't work. Error message:
```
Status code: 4... | 21 | Dataset viewer issue for McGill-NLP/feedbackQA
## Dataset viewer issue for '*McGill-NLP/feedbackQA*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/McGill-NLP/feedbackQA)*
*short description of the issue*
The dataset can be loaded correctly with `load_dataset` but the preview does... | [
-0.39546307921409607,
0.10764651000499725,
0.05978517234325409,
0.26842015981674194,
0.05776571109890938,
0.07902547717094421,
0.19902317225933075,
0.29658278822898865,
0.32268840074539185,
0.023536063730716705,
-0.15004421770572662,
0.3179178535938263,
-0.07651138305664062,
0.018365263938... |
https://github.com/huggingface/datasets/issues/4085 | Now, I can't find any reference to set_progress_bar_enabled in the code.
I think it have been deleted | datasets.set_progress_bar_enabled(False) not working in datasets v2 | ## Describe the bug
datasets.set_progress_bar_enabled(False) not working in datasets v2
## Steps to reproduce the bug
```python
datasets.set_progress_bar_enabled(False)
```
## Expected results
datasets not using any progress bar
## Actual results
AttributeError: module 'datasets' has no attribute 'se... | 17 | datasets.set_progress_bar_enabled(False) not working in datasets v2
## Describe the bug
datasets.set_progress_bar_enabled(False) not working in datasets v2
## Steps to reproduce the bug
```python
datasets.set_progress_bar_enabled(False)
```
## Expected results
datasets not using any progress bar
## Ac... | [
-0.08294059336185455,
0.20135100185871124,
-0.2333347201347351,
-0.18151046335697174,
0.2128978818655014,
0.04634370654821396,
0.389268696308136,
0.24631035327911377,
-0.28293490409851074,
0.18804019689559937,
0.19536685943603516,
0.4442572593688965,
-0.1529558002948761,
0.1356380432844162... |
https://github.com/huggingface/datasets/issues/4085 | Hi @virilo,
Please note that since `datasets` version 2.0.0, we have aligned with `transformers` the management of the progress bar (among other things):
- #3897
Now, you should update your code to use `datasets.logging.disable_progress_bar`.
You have more info in our docs: [Logging methods](https://huggingfa... | datasets.set_progress_bar_enabled(False) not working in datasets v2 | ## Describe the bug
datasets.set_progress_bar_enabled(False) not working in datasets v2
## Steps to reproduce the bug
```python
datasets.set_progress_bar_enabled(False)
```
## Expected results
datasets not using any progress bar
## Actual results
AttributeError: module 'datasets' has no attribute 'se... | 43 | datasets.set_progress_bar_enabled(False) not working in datasets v2
## Describe the bug
datasets.set_progress_bar_enabled(False) not working in datasets v2
## Steps to reproduce the bug
```python
datasets.set_progress_bar_enabled(False)
```
## Expected results
datasets not using any progress bar
## Ac... | [
-0.2359313815832138,
-0.07234662771224976,
-0.09013886749744415,
-0.15511108934879303,
0.18768927454948425,
0.007315032184123993,
0.39803722500801086,
0.24451793730258942,
-0.22264650464057922,
0.16192176938056946,
0.1409943699836731,
0.39943769574165344,
-0.09014056622982025,
0.3656432628... |
https://github.com/huggingface/datasets/issues/4085 | One important thing for beginner like me is: from datasets.utils.logging import disable_progress_bar
Do not forget the 'utils' or you will waste a long time like me.... | datasets.set_progress_bar_enabled(False) not working in datasets v2 | ## Describe the bug
datasets.set_progress_bar_enabled(False) not working in datasets v2
## Steps to reproduce the bug
```python
datasets.set_progress_bar_enabled(False)
```
## Expected results
datasets not using any progress bar
## Actual results
AttributeError: module 'datasets' has no attribute 'se... | 26 | datasets.set_progress_bar_enabled(False) not working in datasets v2
## Describe the bug
datasets.set_progress_bar_enabled(False) not working in datasets v2
## Steps to reproduce the bug
```python
datasets.set_progress_bar_enabled(False)
```
## Expected results
datasets not using any progress bar
## Ac... | [
-0.3378395438194275,
0.09536132216453552,
-0.17687547206878662,
-0.20570769906044006,
0.17226818203926086,
0.05164550244808197,
0.33103466033935547,
0.30995744466781616,
-0.22342169284820557,
0.16390091180801392,
0.19082507491111755,
0.38792821764945984,
-0.0867142453789711,
0.313771814107... |
https://github.com/huggingface/datasets/issues/4084 | Hi @blackhat-coder, thanks for reporting.
Please note that the `transformers` library updated their data collators API last year (version 4.10.0):
- huggingface/transformers#13105
now requiring to pass `return_tensors` argument at Data Collator instantiation.
And therefore, we also updated in the `datasets` l... | Errors in `Train with Datasets` Tensorflow code section on Huggingface.co | ## Describe the bug
Hi
### Error 1
Running the Tensforlow code on [Huggingface](https://huggingface.co/docs/datasets/use_dataset) gives a TypeError: __init__() got an unexpected keyword argument 'return_tensors'
### Error 2
`DataCollatorWithPadding` isn't imported
## Steps to reproduce the bug
```python
impo... | 69 | Errors in `Train with Datasets` Tensorflow code section on Huggingface.co
## Describe the bug
Hi
### Error 1
Running the Tensforlow code on [Huggingface](https://huggingface.co/docs/datasets/use_dataset) gives a TypeError: __init__() got an unexpected keyword argument 'return_tensors'
### Error 2
`DataCollatorW... | [
0.001498289406299591,
-0.36685287952423096,
0.04874703288078308,
0.3086223304271698,
0.3064284324645996,
-0.08058971911668777,
0.526443600654602,
0.19769391417503357,
-0.13140423595905304,
0.19881539046764374,
-0.11223010718822479,
0.2043117731809616,
-0.083238884806633,
-0.052147101610898... |
https://github.com/huggingface/datasets/issues/4080 | Hi @richarddwang,
Indeed, we have recently updated the loading script of that dataset (and fixed that bug as well):
- #4002
That fix will be available in our next `datasets` library release. In the meantime, you can incorporate that fix by:
- installing `datasets` from our GitHub repo:
```bash
pip install g... | NonMatchingChecksumError for downloading conll2012_ontonotesv5 dataset | ## Steps to reproduce the bug
```python
datasets.load_dataset("conll2012_ontonotesv5", "english_v12")
```
## Actual results
```
Downloading builder script: 32.2kB [00:00, 9.72MB/s]
Downloading metadata: 20.0kB [00:00, 10... | 83 | NonMatchingChecksumError for downloading conll2012_ontonotesv5 dataset
## Steps to reproduce the bug
```python
datasets.load_dataset("conll2012_ontonotesv5", "english_v12")
```
## Actual results
```
Downloading builder script: 32.2kB [00:00, 9.72MB/s] ... | [
-0.2226921170949936,
0.029887542128562927,
-0.12257601320743561,
0.4105229377746582,
0.4203900992870331,
-0.03449743986129761,
0.18258342146873474,
0.5437704920768738,
0.001519709825515747,
0.37241148948669434,
-0.14954093098640442,
0.028929725289344788,
-0.05524479225277901,
-0.0323211364... |
https://github.com/huggingface/datasets/issues/4075 | Awesome ! Let us know if you have questions or if we can help ;) I'm assigning you
PS: if possible, please try to not use Google Drive links in your dataset script, since Google Drive has download quotas and is not always reliable. | Add CCAgT dataset | ## Adding a Dataset
- **Name:** CCAgT dataset: Images of Cervical Cells with AgNOR Stain Technique
- **Description:** The dataset contains 2540 images (1600x1200 where each pixel is 0.111μm×0.111μm) from three different slides, having at least one nucleus per image. These images are from fields belonging to a sample ... | 44 | Add CCAgT dataset
## Adding a Dataset
- **Name:** CCAgT dataset: Images of Cervical Cells with AgNOR Stain Technique
- **Description:** The dataset contains 2540 images (1600x1200 where each pixel is 0.111μm×0.111μm) from three different slides, having at least one nucleus per image. These images are from fields be... | [
-0.13802474737167358,
-0.051034972071647644,
-0.1507762223482132,
-0.16373446583747864,
-0.22374483942985535,
0.026292070746421814,
0.3314749598503113,
0.23299355804920197,
-0.3870379626750946,
0.2819753885269165,
-0.1180504783987999,
-0.1471828818321228,
-0.04987650364637375,
0.3397229909... |
https://github.com/huggingface/datasets/issues/4075 | HI, I was waiting to come out in the second version to do the implementation.
- Paper: https://dx.doi.org/10.2139/ssrn.4126881
- Data: [Data mendelay](http://doi.org/10.17632/wg4bpm33hj.2) | Add CCAgT dataset | ## Adding a Dataset
- **Name:** CCAgT dataset: Images of Cervical Cells with AgNOR Stain Technique
- **Description:** The dataset contains 2540 images (1600x1200 where each pixel is 0.111μm×0.111μm) from three different slides, having at least one nucleus per image. These images are from fields belonging to a sample ... | 22 | Add CCAgT dataset
## Adding a Dataset
- **Name:** CCAgT dataset: Images of Cervical Cells with AgNOR Stain Technique
- **Description:** The dataset contains 2540 images (1600x1200 where each pixel is 0.111μm×0.111μm) from three different slides, having at least one nucleus per image. These images are from fields be... | [
-0.1020423173904419,
-0.1173243373632431,
-0.13777697086334229,
-0.19324342906475067,
-0.26976481080055237,
-0.09367044270038605,
0.3616115152835846,
0.21292126178741455,
-0.4189120829105377,
0.28583824634552,
-0.16284815967082977,
-0.1072373166680336,
0.023330826312303543,
0.2610726356506... |
https://github.com/huggingface/datasets/issues/4074 | Hi @wranai, thanks for reporting.
Please note that the information about language families and groups is taken form the original paper: [XTREME-S: Evaluating Cross-lingual Speech Representations](https://arxiv.org/abs/2203.10752).
If that information is wrong, feel free to contact the paper's authors to suggest t... | Error in google/xtreme_s dataset card | **Link:** https://huggingface.co/datasets/google/xtreme_s
Not a big deal but Hungarian is considered an Eastern European language, together with Serbian, Slovak, Slovenian (all correctly categorized; Slovenia is mostly to the West of Hungary, by the way).
| 74 | Error in google/xtreme_s dataset card
**Link:** https://huggingface.co/datasets/google/xtreme_s
Not a big deal but Hungarian is considered an Eastern European language, together with Serbian, Slovak, Slovenian (all correctly categorized; Slovenia is mostly to the West of Hungary, by the way).
Hi @wranai, thank... | [
-0.05673389881849289,
-0.4629550576210022,
-0.06846486032009125,
0.01061659213155508,
0.29927077889442444,
-0.041979894042015076,
0.20069673657417297,
0.04646840691566467,
0.18830668926239014,
0.022722754627466202,
-0.1915181279182434,
0.1476321667432785,
-0.1994032859802246,
-0.3060622811... |
https://github.com/huggingface/datasets/issues/4071 | Hi @Jun-jie-Huang,
As the error message says, ".pkl" data files are not supported.
If you would like to share your dataset on the Hub, you would need:
- either to create a Python loading script, that loads the data in any format
- or to transform your data files to one of the supported formats (listed in the er... | Loading issue for xuyeliu/notebookCDG dataset | ## Dataset viewer issue for '*xuyeliu/notebookCDG*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/xuyeliu/notebookCDG)*
*Couldn't load the xuyeliu/notebookCDG with provided scripts: *
```
from datasets import load_dataset
dataset = load_dataset("xuyeliu/notebookCDG/dataset_note... | 103 | Loading issue for xuyeliu/notebookCDG dataset
## Dataset viewer issue for '*xuyeliu/notebookCDG*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/xuyeliu/notebookCDG)*
*Couldn't load the xuyeliu/notebookCDG with provided scripts: *
```
from datasets import load_dataset
dataset ... | [
-0.108548603951931,
-0.3377103805541992,
-0.029713157564401627,
0.3047091066837311,
0.3508039712905884,
0.21357350051403046,
0.06827718019485474,
0.29766884446144104,
0.09327121824026108,
0.04943949729204178,
-0.3122802674770355,
0.015116378664970398,
0.03510154411196709,
0.211097538471221... |
https://github.com/huggingface/datasets/issues/4062 | Hi @aapot, thanks for reporting.
We are investigating the cause of this issue. We will keep you informed. | Loading mozilla-foundation/common_voice_7_0 dataset failed | ## Describe the bug
I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it. The bug seems to affect other languages and splits too than ... | 18 | Loading mozilla-foundation/common_voice_7_0 dataset failed
## Describe the bug
I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it.... | [
-0.17519675195217133,
-0.16184888780117035,
-0.01651010289788246,
0.4844568967819214,
0.16969947516918182,
-0.16959722340106964,
0.3660567104816437,
0.27036499977111816,
0.09576709568500519,
0.20071262121200562,
-0.23354077339172363,
0.7396366000175476,
0.1339331567287445,
-0.0338982492685... |
https://github.com/huggingface/datasets/issues/4062 | When making HTTP request from code line:
```
response = requests.get(f"{_API_URL}/bucket/dataset/{path}/{use_cdn}", timeout=10.0).json()
```
it cannot be decoded to JSON because it raises a 404 Not Found error.
The request is fixed if removing the `/{use_cdn}` from the URL.
Maybe there was a change in the Com... | Loading mozilla-foundation/common_voice_7_0 dataset failed | ## Describe the bug
I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it. The bug seems to affect other languages and splits too than ... | 52 | Loading mozilla-foundation/common_voice_7_0 dataset failed
## Describe the bug
I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it.... | [
-0.17519675195217133,
-0.16184888780117035,
-0.01651010289788246,
0.4844568967819214,
0.16969947516918182,
-0.16959722340106964,
0.3660567104816437,
0.27036499977111816,
0.09576709568500519,
0.20071262121200562,
-0.23354077339172363,
0.7396366000175476,
0.1339331567287445,
-0.0338982492685... |
https://github.com/huggingface/datasets/issues/4062 | I have also made the hotfix for all the rest of Common Voice script versions: 8.0, 6.1, 6.0,..., 1.0 | Loading mozilla-foundation/common_voice_7_0 dataset failed | ## Describe the bug
I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it. The bug seems to affect other languages and splits too than ... | 19 | Loading mozilla-foundation/common_voice_7_0 dataset failed
## Describe the bug
I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it.... | [
-0.17519675195217133,
-0.16184888780117035,
-0.01651010289788246,
0.4844568967819214,
0.16969947516918182,
-0.16959722340106964,
0.3660567104816437,
0.27036499977111816,
0.09576709568500519,
0.20071262121200562,
-0.23354077339172363,
0.7396366000175476,
0.1339331567287445,
-0.0338982492685... |
https://github.com/huggingface/datasets/issues/4062 | Hi @ngoquanghuy99! The dataset should load fine if you go through the following steps:
1. Go to https://huggingface.co/datasets/mozilla-foundation/common_voice_9_0 and click "Access repository" if you see a message about sharing your contact information with Mozilla Foundation at the top of the page. If you've alrea... | Loading mozilla-foundation/common_voice_7_0 dataset failed | ## Describe the bug
I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it. The bug seems to affect other languages and splits too than ... | 83 | Loading mozilla-foundation/common_voice_7_0 dataset failed
## Describe the bug
I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it.... | [
-0.17519675195217133,
-0.16184888780117035,
-0.01651010289788246,
0.4844568967819214,
0.16969947516918182,
-0.16959722340106964,
0.3660567104816437,
0.27036499977111816,
0.09576709568500519,
0.20071262121200562,
-0.23354077339172363,
0.7396366000175476,
0.1339331567287445,
-0.0338982492685... |
https://github.com/huggingface/datasets/issues/4061 | Hi @Arij-Aladel, thanks for reporting.
This issue was already reported
- #3784
and its root cause is a change in the Google Drive service. See:
- #3786
We have already fixed it in our 2.0.0 release. See:
- #3787
Please, update your `datasets` version:
```
pip install -U datasets
```
and retry load... | Loading cnn_dailymail dataset failed | ## Describe the bug
I wanted to load cnn_dailymail dataset from huggingface datasets on jupyter lab, but I am getting an error ` NotADirectoryError:[Errno20] Not a directory ` while loading it.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('cnn_dailymail', '3.0.... | 66 | Loading cnn_dailymail dataset failed
## Describe the bug
I wanted to load cnn_dailymail dataset from huggingface datasets on jupyter lab, but I am getting an error ` NotADirectoryError:[Errno20] Not a directory ` while loading it.
## Steps to reproduce the bug
```python
from datasets import load_dataset
datase... | [
0.079262375831604,
0.04761548340320587,
0.06616304814815521,
0.2864682078361511,
0.21743865311145782,
0.02204463630914688,
0.616533637046814,
-0.06659460067749023,
0.08026498556137085,
0.3715786337852478,
-0.18719497323036194,
0.03768344968557358,
-0.3215864300727844,
0.1447942703962326,
... |
https://github.com/huggingface/datasets/issues/4057 | Hi ! Could it be because you need to free the memory used by `tarfile` by emptying the tar `members` by any chance ?
```python
yield key, {"audio": {"path": audio_name, "bytes": audio_file_obj.read()}}
audio_tarfile.members = [] # free memory
key += 1
```
and then you can set `DEFAULT_W... | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 85 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | I also run out of memory when loading `mozilla-foundation/common_voice_8_0` that also uses `tarfile` via `dl_manager.iter_archive`. There seems to be some data files that stay in memory somewhere
I don't have the issue with other compression formats like gzipped files | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 39 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | I'm facing a similar memory leak issue when loading cv8. As you said @lhoestq
`load_dataset("mozilla-foundation/common_voice_8_0", "en", use_auth_token=True, writer_batch_size=1)`
This issue is happening on a 32GB RAM machine.
Any updates on how to fix this? | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 34 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | I've run a memory profiler to see where's the leak comes from:

... it seems that it's related to the tarfile lib buffer reader. But I don't know why it's only happening on the huggingface script | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 37 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | I have the same problem when loading video into numpy.
```
yield id,{
"video": imageio.v3.imread(video_path),
"label": int(label)
}
```
Since video files are heavy, it can only processes a dozen samples before OOM. | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 33 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | For video datasets I think you can just define the max number of video that can stay in memory by adding this class attribute to your dataset builer:
```py
DEFAULT_WRITER_BATCH_SIZE = 8 # only 8 videos at a time in memory before flushing the dataset writer
``` | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 47 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | same thing happens for me with `load_dataset("mozilla-foundation/common_voice_8_0", "en", use_auth_token=True, writer_batch_size=1)` on azure ml. seems to fill up `tmp` and not release that memory until OOM | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 25 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | I'll add that I'm encountering the same issue with
`load_dataset('wikipedia', 'ceb', runner='DirectRunner', split='train')`.
Same for `'es'` in place of `'ceb'`. | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 20 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | > I'll add that I'm encountering the same issue with
> load_dataset('wikipedia', 'ceb', runner='DirectRunner', split='train').
> Same for 'es' in place of 'ceb'.
This is because the Apache Beam `DirectRunner` runs with the full data in memory unfortunately. Optimizing the `DirectRunner` is not in the scope of the ... | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 94 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | > > I'll add that I'm encountering the same issue with
> > `load_dataset('wikipedia', 'ceb', runner='DirectRunner', split='train')`.
> > Same for `'es'` in place of `'ceb'`.
>
> This is because the Apache Beam `DirectRunner` runs with the full data in memory unfortunately. Optimizing the `DirectRunner` is not in t... | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 148 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | > Fair enough, but this line of code crashed an AWS instance with 1024GB of RAM!
What, wikipedia is not even bigger than 20GB
cc @albertvillanova | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 26 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | > > Fair enough, but this line of code crashed an AWS instance with 1024GB of RAM!
>
> What, wikipedia is not even bigger than 20GB
>
> cc @albertvillanova
Luckily, on Colab you can watch the call stack at the bottom of the screen - much of the time and space complexity seems to come from `_parse_and_clean_wik... | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 92 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | I think we are mixing many different bugs in this Issue page:
- TAR archive with audio files
- video file
- distributed parsing of Wikipedia using Apache Beam
@dan-the-meme-man may I ask you to open a separate Issue for your problem? Then I will address it. It is important to fix it because we are currently worki... | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 98 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | Is there an update on the TAR archive issue with audio files? Happy to lend a hand in fixing this :) | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 21 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | I found the issue with Common Voice 8 and opened a PR to fix it: https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0/discussions/2
Basically the `metadata` dict that contains the transcripts per audio file was continuously getting filled with bytes from `f.read()` because of this code:
```python
re... | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 76 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4057 | I'm closing this one for now, but feel free to reopen if you encounter other memory issues with audio datasets | `load_dataset` consumes too much memory for audio + tar archives |
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists.
... | 20 | `load_dataset` consumes too much memory for audio + tar archives
## Description
`load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_... | [
-0.5644338130950928,
0.22431226074695587,
0.09214174747467041,
0.5236530303955078,
0.29843875765800476,
0.012891069054603577,
0.11622089147567749,
0.1186581701040268,
-0.029254578053951263,
0.2525799572467804,
0.12547439336776733,
0.3408181071281433,
-0.3144560754299164,
-0.184651538729667... |
https://github.com/huggingface/datasets/issues/4056 | Hi ! Would setting TMPDIR at the beginning of your python script/session work ? I mean, even before importing transformers, datasets, etc. and using them ? I think this would be the most robust solution given any library that uses `tempfile`. I don't think we aim to support environment variables to be changed at run ti... | Unexpected behavior of _TempDirWithCustomCleanup | ## Describe the bug
This is not 100% a bug in `datasets`, but behavior that surprised me and I think this could be made more robust on the `datasets`side.
When using `datasets.disable_caching()`, cache files are written to a temporary directory. This directory should be based on the environment variable TMPDIR. I ... | 56 | Unexpected behavior of _TempDirWithCustomCleanup
## Describe the bug
This is not 100% a bug in `datasets`, but behavior that surprised me and I think this could be made more robust on the `datasets`side.
When using `datasets.disable_caching()`, cache files are written to a temporary directory. This directory sho... | [
-0.13824136555194855,
0.07323259115219116,
0.04447359964251518,
0.13597756624221802,
0.347924143075943,
-0.14343078434467316,
0.37005239725112915,
0.08965115249156952,
0.15311655402183533,
0.09321189671754837,
0.06710455566644669,
0.27132514119148254,
-0.2865733504295349,
-0.12556290626525... |
https://github.com/huggingface/datasets/issues/4056 | Hi, yeah setting the environment variable before the imports / as environment variable outside is another way to fix this. I am just arguing that `datasets` already uses its own global variable to track temporary files: `_TEMP_DIR_FOR_TEMP_CACHE_FILES`, and the creation of this global variable should respect TMPDIR ins... | Unexpected behavior of _TempDirWithCustomCleanup | ## Describe the bug
This is not 100% a bug in `datasets`, but behavior that surprised me and I think this could be made more robust on the `datasets`side.
When using `datasets.disable_caching()`, cache files are written to a temporary directory. This directory should be based on the environment variable TMPDIR. I ... | 55 | Unexpected behavior of _TempDirWithCustomCleanup
## Describe the bug
This is not 100% a bug in `datasets`, but behavior that surprised me and I think this could be made more robust on the `datasets`side.
When using `datasets.disable_caching()`, cache files are written to a temporary directory. This directory sho... | [
-0.14497719705104828,
0.10175198316574097,
0.04245118796825409,
0.21818464994430542,
0.37386712431907654,
-0.14186179637908936,
0.38227853178977966,
0.08157482743263245,
0.18838892877101898,
0.11806164681911469,
0.058438241481781006,
0.30463331937789917,
-0.28687307238578796,
-0.1412383466... |
https://github.com/huggingface/datasets/issues/4052 | Hi @klyuhang9,
I'm sorry but I can't reproduce your problem:
```python
In [2]: metric = load_metric('glue', 'rte')
Downloading builder script: 5.76kB [00:00, 2.40MB/s]
```
Could you please, retry to load the metric? Sometimes there are temporary connectivity issues.
Feel free to re-open this issue of the p... | metric = metric_cls( TypeError: 'NoneType' object is not callable | Hi, friend. I meet a problem.
When I run the code:
`metric = load_metric('glue', 'rte')`
There is a problem raising:
`metric = metric_cls(
TypeError: 'NoneType' object is not callable `
I don't know why. Thanks for your help!
| 48 | metric = metric_cls( TypeError: 'NoneType' object is not callable
Hi, friend. I meet a problem.
When I run the code:
`metric = load_metric('glue', 'rte')`
There is a problem raising:
`metric = metric_cls(
TypeError: 'NoneType' object is not callable `
I don't know why. Thanks for your help!
Hi @klyuha... | [
-0.35471111536026,
-0.2851685881614685,
0.06740271300077438,
0.43405967950820923,
0.5599149465560913,
-0.12590548396110535,
0.17819197475910187,
0.07328027486801147,
0.5064231157302856,
0.388437956571579,
-0.09520988166332245,
-0.03434033691883087,
-0.23235462605953217,
-0.0094401761889457... |
https://github.com/huggingface/datasets/issues/4051 | Hi @klyuhang9,
I'm sorry but I can't reproduce your problem:
```python
In [4]: ds = load_dataset("glue", "sst2", download_mode="force_redownload")
Downloading builder script: 28.8kB [00:00, 9.15MB/s] ... | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py | Hi, I meet a problem.
When I run the code:
`dataset = load_dataset('glue','sst2')`
There is a issue raising:
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
I don't know why; it is ok when I use Google Chrome to view this url.
Thanks for your... | 127 | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
Hi, I meet a problem.
When I run the code:
`dataset = load_dataset('glue','sst2')`
There is a issue raising:
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2... | [
-0.1783028542995453,
-0.26393288373947144,
-0.0785379409790039,
0.2553514540195465,
0.4212650954723358,
-0.13102175295352936,
0.0855870172381401,
0.1723618358373642,
0.11535239219665527,
0.07448449730873108,
-0.1830374002456665,
-0.2903265953063965,
0.23519936203956604,
0.2608191668987274,... |
https://github.com/huggingface/datasets/issues/4051 | > Are you able to access the URL in your web browser?
Yes, with or without a VPN, we (people in China) can access the URL. And we can even use wget to download these files. We can download the pretrained language model automatically with the code.
However, we CANNOT access glue.py & metric.py automatically. Every t... | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py | Hi, I meet a problem.
When I run the code:
`dataset = load_dataset('glue','sst2')`
There is a issue raising:
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
I don't know why; it is ok when I use Google Chrome to view this url.
Thanks for your... | 92 | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
Hi, I meet a problem.
When I run the code:
`dataset = load_dataset('glue','sst2')`
There is a issue raising:
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2... | [
-0.088709257543087,
-0.08625410497188568,
-0.05736234411597252,
0.15729250013828278,
0.4484335482120514,
-0.18216882646083832,
0.17125579714775085,
0.060095831751823425,
0.04823288321495056,
0.31027472019195557,
-0.3809804916381836,
-0.1139330193400383,
0.28842997550964355,
0.0781206414103... |
https://github.com/huggingface/datasets/issues/4051 | > ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
>
> I don't know why; it is ok when I use
If you would query the question `ConnectionError: Couldn't reach` in www.baidu.com (Chinese Google, Google is banned and some people cannot access it), you... | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py | Hi, I meet a problem.
When I run the code:
`dataset = load_dataset('glue','sst2')`
There is a issue raising:
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
I don't know why; it is ok when I use Google Chrome to view this url.
Thanks for your... | 71 | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
Hi, I meet a problem.
When I run the code:
`dataset = load_dataset('glue','sst2')`
There is a issue raising:
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2... | [
-0.12059807032346725,
-0.13140374422073364,
-0.09648513048887253,
0.1441068947315216,
0.3036912977695465,
-0.2433217316865921,
0.30880215764045715,
0.024053532630205154,
0.08389554917812347,
0.21390299499034882,
-0.1504199206829071,
-0.4797523617744446,
0.345549076795578,
0.156710729002952... |
https://github.com/huggingface/datasets/issues/4048 | Follow-up: I have confirmed there are no duplicate lines via `sort amazon_reviews_us_PC_v1_00.tsv | uniq -cd` after extracting the raw file. | Split size error on `amazon_us_reviews` / `PC_v1_00` dataset | ## Describe the bug
When downloading this subset as of 3-28-2022 you will encounter a split size error after the dataset is extracted. The extracted dataset has roughly ~6m rows while the split expects <1m.
Upon digging a little deeper, I downloaded the raw files from `https://s3.amazonaws.com/amazon-reviews-pds/t... | 20 | Split size error on `amazon_us_reviews` / `PC_v1_00` dataset
## Describe the bug
When downloading this subset as of 3-28-2022 you will encounter a split size error after the dataset is extracted. The extracted dataset has roughly ~6m rows while the split expects <1m.
Upon digging a little deeper, I downloaded th... | [
-0.2346809059381485,
-0.24319681525230408,
-0.05880081653594971,
0.3447956144809723,
0.11112367361783981,
0.1701890081167221,
0.2422357052564621,
0.330716609954834,
-0.1298685222864151,
-0.10447067022323608,
-0.03156569227576256,
-0.09119541198015213,
0.049415770918130875,
0.38620325922966... |
https://github.com/huggingface/datasets/issues/4048 | Hi @trentonstrong, thanks for reporting!
I confirm that loading this dataset configuration throws a `NonMatchingSplitsSizesError`:
```
NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=350242049, num_examples=785730, dataset_name='amazon_us_reviews'), 'recorded': SplitInfo(name='train', ... | Split size error on `amazon_us_reviews` / `PC_v1_00` dataset | ## Describe the bug
When downloading this subset as of 3-28-2022 you will encounter a split size error after the dataset is extracted. The extracted dataset has roughly ~6m rows while the split expects <1m.
Upon digging a little deeper, I downloaded the raw files from `https://s3.amazonaws.com/amazon-reviews-pds/t... | 80 | Split size error on `amazon_us_reviews` / `PC_v1_00` dataset
## Describe the bug
When downloading this subset as of 3-28-2022 you will encounter a split size error after the dataset is extracted. The extracted dataset has roughly ~6m rows while the split expects <1m.
Upon digging a little deeper, I downloaded th... | [
-0.29263776540756226,
-0.20570379495620728,
-0.03276363015174866,
0.323184072971344,
0.13129480183124542,
0.16853828728199005,
0.22974132001399994,
0.32694607973098755,
-0.1544477939605713,
-0.051235079765319824,
-0.021904483437538147,
-0.09025900065898895,
-0.022624963894486427,
0.3637923... |
https://github.com/huggingface/datasets/issues/4047 | Hi @orkenstein, thanks for reporting.
Please note that for this case, our `datasets` library uses under the hood the Apache Arrow `unique` function: https://arrow.apache.org/docs/python/generated/pyarrow.compute.unique.html#pyarrow.compute.unique
And currently the Apache Arrow `unique` function is only implemente... | Dataset.unique(column: str) -> ArrowNotImplementedError | ## Describe the bug
I'm trying to use `unique()` function, but it fails
## Steps to reproduce the bug
1. Get dataset
2. Call `unique`
3. Error
# Sample code to reproduce the bug
```python
!pip show datasets
from datasets import load_dataset
dataset = load_dataset('wikiann', 'en')
dataset['train'].col... | 77 | Dataset.unique(column: str) -> ArrowNotImplementedError
## Describe the bug
I'm trying to use `unique()` function, but it fails
## Steps to reproduce the bug
1. Get dataset
2. Call `unique`
3. Error
# Sample code to reproduce the bug
```python
!pip show datasets
from datasets import load_dataset
datas... | [
0.013289123773574829,
-0.3006761074066162,
0.004636757075786591,
0.24578119814395905,
0.4343053996562958,
-0.0023811236023902893,
0.40166032314300537,
0.047040026634931564,
-0.3094608783721924,
0.2648710608482361,
0.14357326924800873,
0.8505434989929199,
-0.2576567232608795,
-0.29997664690... |
https://github.com/huggingface/datasets/issues/4047 | As a workaround solution you can use pandas:
```python
from datasets import load_dataset
dataset = load_dataset('wikiann', 'en', split='train')
df = dataset.to_pandas()
unique_df = df[~df.tokens.apply(tuple).duplicated()] # from https://stackoverflow.com/a/46958336/17517845
```
Note that pandas loads the da... | Dataset.unique(column: str) -> ArrowNotImplementedError | ## Describe the bug
I'm trying to use `unique()` function, but it fails
## Steps to reproduce the bug
1. Get dataset
2. Call `unique`
3. Error
# Sample code to reproduce the bug
```python
!pip show datasets
from datasets import load_dataset
dataset = load_dataset('wikiann', 'en')
dataset['train'].col... | 43 | Dataset.unique(column: str) -> ArrowNotImplementedError
## Describe the bug
I'm trying to use `unique()` function, but it fails
## Steps to reproduce the bug
1. Get dataset
2. Call `unique`
3. Error
# Sample code to reproduce the bug
```python
!pip show datasets
from datasets import load_dataset
datas... | [
0.013289123773574829,
-0.3006761074066162,
0.004636757075786591,
0.24578119814395905,
0.4343053996562958,
-0.0023811236023902893,
0.40166032314300537,
0.047040026634931564,
-0.3094608783721924,
0.2648710608482361,
0.14357326924800873,
0.8505434989929199,
-0.2576567232608795,
-0.29997664690... |
https://github.com/huggingface/datasets/issues/4041 | Hi! Thanks for the detailed analysis of adding IIIF support. I like the idea of "using IIIF through datasets scripts" due to its ease of use. Another approach that I like is yielding image ids and using the `piffle` library (which offers a bit more flexibility) + `map` to download + cache images. We can handle bad URLs... | Add support for IIIF in datasets | This is a feature request for support for IIIF in `datasets`. Apologies for the long issue. I have also used a different format to the usual feature request since I think that makes more sense but happy to use the standard template if preferred.
## What is [IIIF](https://iiif.io/)?
IIIF (International Image Inte... | 145 | Add support for IIIF in datasets
This is a feature request for support for IIIF in `datasets`. Apologies for the long issue. I have also used a different format to the usual feature request since I think that makes more sense but happy to use the standard template if preferred.
## What is [IIIF](https://iiif.io/... | [
-0.10072211176156998,
0.13068661093711853,
-0.2485404908657074,
0.07329116016626358,
0.06152218207716942,
-0.06135028973221779,
0.3199920356273651,
0.24908927083015442,
-0.09724578261375427,
0.2104075402021408,
0.21025550365447998,
0.33438676595687866,
-0.044559430330991745,
0.189106941223... |
https://github.com/huggingface/datasets/issues/4037 | After some investigation, maybe the bug is in `doc-builder`.
I've opened an issue there:
- huggingface/doc-builder#160 | Error while building documentation | ## Describe the bug
Documentation building is failing:
- https://github.com/huggingface/datasets/runs/5716300989?check_suite_focus=true
```
ValueError: There was an error when converting ../datasets/docs/source/package_reference/main_classes.mdx to the MDX format.
Unable to find datasets.filesystems.S3FileSystem... | 16 | Error while building documentation
## Describe the bug
Documentation building is failing:
- https://github.com/huggingface/datasets/runs/5716300989?check_suite_focus=true
```
ValueError: There was an error when converting ../datasets/docs/source/package_reference/main_classes.mdx to the MDX format.
Unable to f... | [
-0.20042206346988678,
-0.28780215978622437,
0.0447515994310379,
0.39312586188316345,
0.24581414461135864,
0.21453218162059784,
0.09479418396949768,
0.3291165232658386,
-0.29407817125320435,
0.11394307017326355,
-0.029457852244377136,
0.37124788761138916,
0.019583653658628464,
0.14525224268... |
https://github.com/huggingface/datasets/issues/4031 | Hi @cathyxl, thanks for reporting.
Indeed, we have recently updated the loading script of that dataset (and fixed that bug as well):
- #4002
That fix will be available in our next `datasets` library release. In the meantime, you can incorporate that fix by:
- installing `datasets` from our GitHub repo:
```bash... | Cannot load the dataset conll2012_ontonotesv5 | ## Describe the bug
Cannot load the dataset conll2012_ontonotesv5
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
from datasets import load_dataset
dataset = load_dataset('conll2012_ontonotesv5', 'english_v4', split="test")
print(dataset)
```
## Expected results
The datasets s... | 82 | Cannot load the dataset conll2012_ontonotesv5
## Describe the bug
Cannot load the dataset conll2012_ontonotesv5
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
from datasets import load_dataset
dataset = load_dataset('conll2012_ontonotesv5', 'english_v4', split="test")
print(datase... | [
-0.3611915111541748,
0.20477280020713806,
-0.1006571352481842,
0.37934383749961853,
0.3481518030166626,
0.17649945616722107,
0.19723016023635864,
0.27906498312950134,
0.06898222863674164,
0.09481720626354218,
-0.07863667607307434,
0.15202100574970245,
0.08770407736301422,
0.045767284929752... |
https://github.com/huggingface/datasets/issues/4029 | Hi ! You can access the faiss index with
```python
faiss_index = my_dataset.get_index("my_index_name").faiss_index
```
and then do whatever you want with it, e.g. query it using range_search:
```python
threshold = 0.95
limits, distances, indices = faiss_index.range_search(x=xq, thresh=threshold)
texts = datas... | Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold | **Is your feature request related to a problem? Please describe.**
I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity threshold. My dataset is very large (Wikipedia), so I need to use Datasets and FAISS for this. I wou... | 41 | Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold
**Is your feature request related to a problem? Please describe.**
I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity ... | [
-0.2661002278327942,
-0.4004476070404053,
-0.07545074075460434,
-0.17006969451904297,
-0.16455212235450745,
-0.13739684224128723,
-0.10565406084060669,
0.4173578917980194,
0.28689637780189514,
0.10397952795028687,
-0.6091676354408264,
-0.23527255654335022,
0.04547145962715149,
-0.063544534... |
https://github.com/huggingface/datasets/issues/4029 | wow, that's great, thank you for the explanation. (if that's not already in the documentation, could be worth adding it)
which type of faiss index is Datasets using? I looked into faiss recently and I understand that there are several different types of indexes and the choice is important, e.g. regarding which dista... | Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold | **Is your feature request related to a problem? Please describe.**
I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity threshold. My dataset is very large (Wikipedia), so I need to use Datasets and FAISS for this. I wou... | 76 | Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold
**Is your feature request related to a problem? Please describe.**
I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity ... | [
-0.23902596533298492,
-0.3951447010040283,
-0.08582061529159546,
-0.11253784596920013,
-0.20336559414863586,
-0.189095139503479,
-0.03227733448147774,
0.29895392060279846,
0.36359021067619324,
0.1370907723903656,
-0.6294352412223816,
-0.300857275724411,
0.10104815661907196,
-0.043984804302... |
https://github.com/huggingface/datasets/issues/4029 | `Dataset.add_faiss_index` has a `string_factory` parameter, used to set the type of index (see the faiss documentation about [index factory](https://github.com/facebookresearch/faiss/wiki/The-index-factory)). Alternatively, you can pass an index you've defined yourself using faiss with the `custom_index` parameter of `... | Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold | **Is your feature request related to a problem? Please describe.**
I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity threshold. My dataset is very large (Wikipedia), so I need to use Datasets and FAISS for this. I wou... | 44 | Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold
**Is your feature request related to a problem? Please describe.**
I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity ... | [
-0.23937509953975677,
-0.4297717213630676,
-0.05574579909443855,
-0.13598521053791046,
-0.19099031388759613,
-0.16748853027820587,
-0.09282425045967102,
0.37638938426971436,
0.27264463901519775,
0.13120795786380768,
-0.6072086691856384,
-0.28130632638931274,
0.0541280135512352,
0.049521699... |
https://github.com/huggingface/datasets/issues/4027 | Hi, @MoritzLaurer, thanks for reporting.
Normally this is due to a mismatch between the versions of your Elasticsearch client and server:
- your ES client is passing only keyword arguments to your ES server
- whereas your ES server expects a positional argument called 'scheme'
In order to fix this, you should a... | ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme' | ## Describe the bug
I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch
```
from datasets import load_dataset
squad = load_dataset('crime_and_punish', split='train[:1000]')
```
When I run the line:
`sq... | 93 | ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme'
## Describe the bug
I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch
```
from datasets import load_d... | [
-0.01408734917640686,
-0.20495715737342834,
-0.028012989088892937,
-0.21516388654708862,
-0.04705328494310379,
0.20348802208900452,
0.33706775307655334,
0.045206207782030106,
-0.02716464176774025,
0.29551613330841064,
0.18462611734867096,
0.3122885525226593,
0.08217813074588776,
-0.2940436... |
https://github.com/huggingface/datasets/issues/4027 | 1. Check elasticsearch version
```
import elasticsearch
print(elasticsearch.__version__)
```
Ex: 7.9.1
2. Uninstall current elasticsearch package
`pip uninstall elasticsearch`
3. Install elasticsearch 7.9.1 package
`pip install elasticsearch==7.9.1` | ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme' | ## Describe the bug
I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch
```
from datasets import load_dataset
squad = load_dataset('crime_and_punish', split='train[:1000]')
```
When I run the line:
`sq... | 27 | ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme'
## Describe the bug
I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch
```
from datasets import load_d... | [
-0.010928705334663391,
-0.20841450989246368,
-0.030344944447278976,
-0.21521951258182526,
-0.049391914159059525,
0.19440427422523499,
0.3211390972137451,
0.053636644035577774,
-0.0306263267993927,
0.2950672507286072,
0.16848450899124146,
0.3123597502708435,
0.07908860594034195,
-0.29820665... |
https://github.com/huggingface/datasets/issues/4015 | I found that the problem arises because the image files in my folder are actually symbolic links (for my own reasons). After modifications, the classes can now be correctly parsed. Therefore, I close this issue. | Can not correctly parse the classes with imagefolder | ## Describe the bug
I try to load my own image dataset with imagefolder, but the parsing of classes is incorrect.
## Steps to reproduce the bug
I organized my dataset (ImageNet) in the following structure:
```
- imagenet/
- train/
- n01440764/
- ILSVRC2012_val_00000293.jpg
... | 35 | Can not correctly parse the classes with imagefolder
## Describe the bug
I try to load my own image dataset with imagefolder, but the parsing of classes is incorrect.
## Steps to reproduce the bug
I organized my dataset (ImageNet) in the following structure:
```
- imagenet/
- train/
- n0144... | [
-0.1322387456893921,
-0.14140944182872772,
0.046616751700639725,
0.8640830516815186,
0.31230008602142334,
-0.04051581770181656,
0.2753279507160187,
-0.012831004336476326,
0.13330186903476715,
0.0721253752708435,
-0.17457324266433716,
0.1838635951280594,
-0.353946715593338,
0.00423939526081... |
https://github.com/huggingface/datasets/issues/4013 | Hi @hazalturkmen, thanks for reporting.
Note that your dataset repository does not contain any loading script; it only contains a data file named `tr_article_2`.
When there is no loading script but only data files, the `datasets` library tries to infer how to load the data by looking at the data file extensions. ... | Cannot preview "hazal/Turkish-Biomedical-corpus-trM" | ## Dataset viewer issue for '*hazal/Turkish-Biomedical-corpus-trM'
**Link:** *https://huggingface.co/datasets/hazal/Turkish-Biomedical-corpus-trM*
*I cannot see the dataset preview.*
```
Server Error
Status code: 400
Exception: HTTPError
Message: 403 Client Error: Forbidden for url: https://h... | 151 | Cannot preview "hazal/Turkish-Biomedical-corpus-trM"
## Dataset viewer issue for '*hazal/Turkish-Biomedical-corpus-trM'
**Link:** *https://huggingface.co/datasets/hazal/Turkish-Biomedical-corpus-trM*
*I cannot see the dataset preview.*
```
Server Error
Status code: 400
Exception: HTTPError
Messag... | [
-0.17143766582012177,
-0.43510931730270386,
-0.020096350461244583,
0.138670414686203,
-0.08358179777860641,
0.26940733194351196,
-0.15794473886489868,
0.5032237768173218,
-0.08764303475618362,
0.0863245353102684,
-0.3543645441532135,
0.03613649681210518,
0.12252015620470047,
-0.15300945937... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.