html_url
stringlengths
51
51
title
stringlengths
9
280
comments
stringlengths
63
24.7k
body
stringlengths
51
58.6k
comments length
int64
16
1.45k
text
stringlengths
186
59.1k
https://github.com/huggingface/datasets/issues/6077
Mapping gets stuck at 99%
Have you tried to reduce `batch_size`/`writer_batch_size` in the 2nd `.map`? Also, can you interrupt the process when it gets stuck and share the error stack trace?
### Describe the bug Hi ! I'm currently working with a large (~150GB) unnormalized dataset at work. The dataset is available on a read-only filesystem internally, and I use a [loading script](https://huggingface.co/docs/datasets/dataset_script) to retreive it. I want to normalize the features of the dataset, ...
26
Mapping gets stuck at 99% ### Describe the bug Hi ! I'm currently working with a large (~150GB) unnormalized dataset at work. The dataset is available on a read-only filesystem internally, and I use a [loading script](https://huggingface.co/docs/datasets/dataset_script) to retreive it. I want to normalize the...
https://github.com/huggingface/datasets/issues/6077
Mapping gets stuck at 99%
I think `batch_size/writer_batch_size` is already at its lowest in the 2nd `.map` since `batched=False` implies `batch_size=1` and `len(ds) = 1000 = writer_batch_size`. Here is also a bunch of stack traces when I interrupted the process: <details> <summary>stack trace 1</summary> ```python (pyg)[d623204@ro...
### Describe the bug Hi ! I'm currently working with a large (~150GB) unnormalized dataset at work. The dataset is available on a read-only filesystem internally, and I use a [loading script](https://huggingface.co/docs/datasets/dataset_script) to retreive it. I want to normalize the features of the dataset, ...
1,454
Mapping gets stuck at 99% ### Describe the bug Hi ! I'm currently working with a large (~150GB) unnormalized dataset at work. The dataset is available on a read-only filesystem internally, and I use a [loading script](https://huggingface.co/docs/datasets/dataset_script) to retreive it. I want to normalize the...
https://github.com/huggingface/datasets/issues/6077
Mapping gets stuck at 99%
Same issue by following code: ```python from datasets import load_dataset from torchvision.transforms import transforms path = "~/dataset/diffusiondb50k" # path maybe not necessary dataset = load_dataset("poloclub/diffusiondb", "2m_first_1k", data_dir=path) transform = transforms.Compose([transforms.ToTens...
### Describe the bug Hi ! I'm currently working with a large (~150GB) unnormalized dataset at work. The dataset is available on a read-only filesystem internally, and I use a [loading script](https://huggingface.co/docs/datasets/dataset_script) to retreive it. I want to normalize the features of the dataset, ...
99
Mapping gets stuck at 99% ### Describe the bug Hi ! I'm currently working with a large (~150GB) unnormalized dataset at work. The dataset is available on a read-only filesystem internally, and I use a [loading script](https://huggingface.co/docs/datasets/dataset_script) to retreive it. I want to normalize the...
https://github.com/huggingface/datasets/issues/6077
Mapping gets stuck at 99%
Hi @zmoki688, I've noticed since that it's pretty common for disk writes to lag behind the operations performed by the `map` operator (especially when the data is large and the operations are cheap). Since the progress bar doesn't seem to account for the writes, it speeds up to 99% but wait until all writes are done. A...
### Describe the bug Hi ! I'm currently working with a large (~150GB) unnormalized dataset at work. The dataset is available on a read-only filesystem internally, and I use a [loading script](https://huggingface.co/docs/datasets/dataset_script) to retreive it. I want to normalize the features of the dataset, ...
73
Mapping gets stuck at 99% ### Describe the bug Hi ! I'm currently working with a large (~150GB) unnormalized dataset at work. The dataset is available on a read-only filesystem internally, and I use a [loading script](https://huggingface.co/docs/datasets/dataset_script) to retreive it. I want to normalize the...
https://github.com/huggingface/datasets/issues/3533
Task search function on hub not working correctly
Because it has dots in some YAML keys, it can't be parsed and indexed by the back-end
When I want to look at all datasets of the category: `speech-processing` *i.e.* https://huggingface.co/datasets?task_categories=task_categories:speech-processing&sort=downloads , then the following dataset doesn't show up for some reason: - https://huggingface.co/datasets/speech_commands even thought it's task t...
17
Task search function on hub not working correctly When I want to look at all datasets of the category: `speech-processing` *i.e.* https://huggingface.co/datasets?task_categories=task_categories:speech-processing&sort=downloads , then the following dataset doesn't show up for some reason: - https://huggingface.co/da...
https://github.com/huggingface/datasets/issues/4759
Dataset Viewer issue for Toygar/turkish-offensive-language-detection
I refreshed the dataset viewer manually, it's fixed now. Sorry for the inconvenience. <img width="1557" alt="Capture dโ€™eฬcran 2022-07-28 aฬ€ 09 17 39" src="https://user-images.githubusercontent.com/1676121/181514666-92d7f8e1-ddc1-4769-84f3-f1edfdb902e8.png">
### Link https://huggingface.co/datasets/Toygar/turkish-offensive-language-detection ### Description Status code: 400 Exception: Status400Error Message: The dataset does not exist. Hi, I provided train.csv, test.csv and valid.csv files. However, viewer says dataset does not exist. Should I n...
23
Dataset Viewer issue for Toygar/turkish-offensive-language-detection ### Link https://huggingface.co/datasets/Toygar/turkish-offensive-language-detection ### Description Status code: 400 Exception: Status400Error Message: The dataset does not exist. Hi, I provided train.csv, test.csv and valid...
https://github.com/huggingface/datasets/issues/4404
Dataset should have a `.name` field
Hi! You can already use `dset.builder_name` and `dset.config_name` for that purpose. And when it comes to versioning, it's better to use `dset._fingerprint` than the `version` attribute as the former represents a deterministic hash that encodes all the mutable ops executed on a dataset, and the latter stays the same un...
**Is your feature request related to a problem? Please describe.** If building pipelines that can evaluate on more than one dataset, it would be nice to be able to log results of things like `Evaluating on {dataset.name}` or `results for {dataset.name} are: {results}` Without some way of concisely identifying a dat...
56
Dataset should have a `.name` field **Is your feature request related to a problem? Please describe.** If building pipelines that can evaluate on more than one dataset, it would be nice to be able to log results of things like `Evaluating on {dataset.name}` or `results for {dataset.name} are: {results}` Without som...
https://github.com/huggingface/datasets/issues/4404
Dataset should have a `.name` field
@mariosasko Can we make ._fingerprint not private? seems a critical component for tracking how a model was generated to ensure reproducibility.
**Is your feature request related to a problem? Please describe.** If building pipelines that can evaluate on more than one dataset, it would be nice to be able to log results of things like `Evaluating on {dataset.name}` or `results for {dataset.name} are: {results}` Without some way of concisely identifying a dat...
21
Dataset should have a `.name` field **Is your feature request related to a problem? Please describe.** If building pipelines that can evaluate on more than one dataset, it would be nice to be able to log results of things like `Evaluating on {dataset.name}` or `results for {dataset.name} are: {results}` Without som...
https://github.com/huggingface/datasets/issues/4394
trainer became extremely slow after reload dataset by `load_from_disk`
I tried to make the dataset much more smaller (100000 rows) , then the speed became `33.88it/s` from`8.62s/it`. It's nearly 200 times... Do you have any idea? Thank you!
## Describe the bug Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. It says I need about 1500 hours with 8 A100 cards. Before this, I can ru...
29
trainer became extremely slow after reload dataset by `load_from_disk` ## Describe the bug Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. I...
https://github.com/huggingface/datasets/issues/4394
trainer became extremely slow after reload dataset by `load_from_disk`
Similar issue: https://github.com/huggingface/transformers/issues/8818 I changed `RandomSampler` to `SequentialSampler` in the `trainer.py`, but the speed didn't become faster.
## Describe the bug Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. It says I need about 1500 hours with 8 A100 cards. Before this, I can ru...
17
trainer became extremely slow after reload dataset by `load_from_disk` ## Describe the bug Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. I...
https://github.com/huggingface/datasets/issues/4394
trainer became extremely slow after reload dataset by `load_from_disk`
I changed ``` tokenized_datasets = load_from_disk( "/pathto/dataset" ) ``` to ``` tokenized_datasets = load_from_disk( "/pathto/dataset", keep_in_memory=True ) ``` and obtained normal speed. It's seems that the problem is on the os's speed limit.
## Describe the bug Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. It says I need about 1500 hours with 8 A100 cards. Before this, I can ru...
33
trainer became extremely slow after reload dataset by `load_from_disk` ## Describe the bug Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. I...
https://github.com/huggingface/datasets/issues/4394
trainer became extremely slow after reload dataset by `load_from_disk`
Hi ! Currently `save_to_disk` saves one big Arrow file, which causes some slow downs. This has been discussed in #3735 and we'll implement sharding pretty soon to solve this For now you can try splitting and saving your dataset in several Arrow files. Then you can load them one by one and use `concatenate_datasets` ...
## Describe the bug Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. It says I need about 1500 hours with 8 A100 cards. Before this, I can ru...
66
trainer became extremely slow after reload dataset by `load_from_disk` ## Describe the bug Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. I...
https://github.com/huggingface/datasets/issues/6229
Apply inference on all images in the dataset
From what I see, `MMSegInferencer` supports NumPy arrays, so replace the line `image_path = example['image']` with `image_path = np.array(example['image'])` to fix the issue (`example["image"]` is a `PIL.Image` object).
### Describe the bug ``` --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) Cell In[14], line 11 9 for idx, example in enumerate(dataset['train']): 10 image_path = example['image'] ---> 11 mask...
28
Apply inference on all images in the dataset ### Describe the bug ``` --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) Cell In[14], line 11 9 for idx, example in enumerate(dataset['train']): 10 im...
https://github.com/huggingface/datasets/issues/6229
Apply inference on all images in the dataset
> From what I see, `MMSegInferencer` supports NumPy arrays, so replace the line `image_path = example['image']` with `image_path = np.array(example['image'])` to fix the issue (`example["image"]` is a `PIL.Image` object). Thanks @mariosasko for your reply... i tried : ``` # Define a function to apply the code to ...
### Describe the bug ``` --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) Cell In[14], line 11 9 for idx, example in enumerate(dataset['train']): 10 image_path = example['image'] ---> 11 mask...
638
Apply inference on all images in the dataset ### Describe the bug ``` --------------------------------------------------------------------------- NotImplementedError Traceback (most recent call last) Cell In[14], line 11 9 for idx, example in enumerate(dataset['train']): 10 im...
https://github.com/huggingface/datasets/issues/6746
ExpectedMoreSplits error when loading C4 dataset
Hi ! We updated the `allenai/c4` repository to allow people to specify which language to load easily (the the [c4 dataset page](https://huggingface.co/datasets/allenai/c4)) To fix this issue **you can update** `datasets` and remove the mention of the legacy configuration name "allenai--c4": ```python traindata =...
### Describe the bug I encounter bug when running the example command line ```python python main.py \ --model decapoda-research/llama-7b-hf \ --prune_method wanda \ --sparsity_ratio 0.5 \ --sparsity_type unstructured \ --save out/llama_7b/unstructured/wanda/ ``` The bug occurred ...
54
ExpectedMoreSplits error when loading C4 dataset ### Describe the bug I encounter bug when running the example command line ```python python main.py \ --model decapoda-research/llama-7b-hf \ --prune_method wanda \ --sparsity_ratio 0.5 \ --sparsity_type unstructured \ --save out/llama_...
https://github.com/huggingface/datasets/issues/6746
ExpectedMoreSplits error when loading C4 dataset
First, pip install --upgrade datasets. Second, Update the following two lines of code in data.py (in lib) traindata = load_dataset('allenai/c4', data_files={'train': 'en/c4-train.00000-of-01024.json.gz'}, split='train') valdata = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00000-of-00008....
### Describe the bug I encounter bug when running the example command line ```python python main.py \ --model decapoda-research/llama-7b-hf \ --prune_method wanda \ --sparsity_ratio 0.5 \ --sparsity_type unstructured \ --save out/llama_7b/unstructured/wanda/ ``` The bug occurred ...
29
ExpectedMoreSplits error when loading C4 dataset ### Describe the bug I encounter bug when running the example command line ```python python main.py \ --model decapoda-research/llama-7b-hf \ --prune_method wanda \ --sparsity_ratio 0.5 \ --sparsity_type unstructured \ --save out/llama_...
https://github.com/huggingface/datasets/issues/6746
ExpectedMoreSplits error when loading C4 dataset
The error is in the Wanda repository: https://github.com/locuslab/wanda - https://github.com/locuslab/wanda/issues/57 Concretely, in these code lines: https://github.com/locuslab/wanda/blob/8e8fc87b4a2f9955baa7e76e64d5fce7fa8724a6/lib/data.py#L43-L44 Please report there and/or make the fix in their code.
### Describe the bug I encounter bug when running the example command line ```python python main.py \ --model decapoda-research/llama-7b-hf \ --prune_method wanda \ --sparsity_ratio 0.5 \ --sparsity_type unstructured \ --save out/llama_7b/unstructured/wanda/ ``` The bug occurred ...
26
ExpectedMoreSplits error when loading C4 dataset ### Describe the bug I encounter bug when running the example command line ```python python main.py \ --model decapoda-research/llama-7b-hf \ --prune_method wanda \ --sparsity_ratio 0.5 \ --sparsity_type unstructured \ --save out/llama_...
https://github.com/huggingface/datasets/issues/6746
ExpectedMoreSplits error when loading C4 dataset
> traindata = load_dataset('allenai/c4', data_files={'train': 'en/c4-train.00000-of-01024.json.gz'}, split='train') > valdata = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00000-of-00008.json.gz'}, split='validation') Solved for me ! Thanks!
### Describe the bug I encounter bug when running the example command line ```python python main.py \ --model decapoda-research/llama-7b-hf \ --prune_method wanda \ --sparsity_ratio 0.5 \ --sparsity_type unstructured \ --save out/llama_7b/unstructured/wanda/ ``` The bug occurred ...
19
ExpectedMoreSplits error when loading C4 dataset ### Describe the bug I encounter bug when running the example command line ```python python main.py \ --model decapoda-research/llama-7b-hf \ --prune_method wanda \ --sparsity_ratio 0.5 \ --sparsity_type unstructured \ --save out/llama_...
https://github.com/huggingface/datasets/issues/5819
Cannot pickle error in Dataset.from_generator()
Hi! It should work if you put `model = torch.compile(model)` inside the `generate_data` function. If a referenced object is outside, it needs to be pickable, and that's not the case for the compiled models (or functions).
### Describe the bug I'm trying to use Dataset.from_generator() to generate a large dataset. ### Steps to reproduce the bug Code to reproduce: ``` from transformers import T5Tokenizer, T5ForConditionalGeneration, GenerationConfig import torch from tqdm import tqdm from datasets import load_dataset tokenizer...
36
Cannot pickle error in Dataset.from_generator() ### Describe the bug I'm trying to use Dataset.from_generator() to generate a large dataset. ### Steps to reproduce the bug Code to reproduce: ``` from transformers import T5Tokenizer, T5ForConditionalGeneration, GenerationConfig import torch from tqdm import tqdm...
https://github.com/huggingface/datasets/issues/5819
Cannot pickle error in Dataset.from_generator()
> Hi! It should work if you put `model = torch.compile(model)` inside the `generate_data` function. If a referenced object is outside, it needs to be pickable, and that's not the case for the compiled models (or functions). Hi! Thank you for your reply! Everything works perfectly with your suggestion! Closing the...
### Describe the bug I'm trying to use Dataset.from_generator() to generate a large dataset. ### Steps to reproduce the bug Code to reproduce: ``` from transformers import T5Tokenizer, T5ForConditionalGeneration, GenerationConfig import torch from tqdm import tqdm from datasets import load_dataset tokenizer...
52
Cannot pickle error in Dataset.from_generator() ### Describe the bug I'm trying to use Dataset.from_generator() to generate a large dataset. ### Steps to reproduce the bug Code to reproduce: ``` from transformers import T5Tokenizer, T5ForConditionalGeneration, GenerationConfig import torch from tqdm import tqdm...
https://github.com/huggingface/datasets/issues/4595
Dataset Viewer issue with False positive PII redaction
The value is in the data, it's not an issue with the "dataset-viewer". <img width="1161" alt="Capture dโ€™eฬcran 2022-06-29 aฬ€ 10 25 51" src="https://user-images.githubusercontent.com/1676121/176389325-4d2a9a7f-1583-45b8-aa7a-960ffaa6a36a.png"> Maybe open a PR: https://huggingface.co/datasets/cakiki/rosetta-code/d...
### Link https://huggingface.co/datasets/cakiki/rosetta-code ### Description Hello, I just noticed an entry being redacted that shouldn't have been: `RootMeanSquare@Range[10]` is being displayed as `[email protected][10]` ### Owner _No response_
28
Dataset Viewer issue with False positive PII redaction ### Link https://huggingface.co/datasets/cakiki/rosetta-code ### Description Hello, I just noticed an entry being redacted that shouldn't have been: `RootMeanSquare@Range[10]` is being displayed as `[email protected][10]` ### Owner _No response_ The value i...
https://github.com/huggingface/datasets/issues/4595
Dataset Viewer issue with False positive PII redaction
This was indeed a scraping issue which I assumed was a display issue; sorry about that!
### Link https://huggingface.co/datasets/cakiki/rosetta-code ### Description Hello, I just noticed an entry being redacted that shouldn't have been: `RootMeanSquare@Range[10]` is being displayed as `[email protected][10]` ### Owner _No response_
16
Dataset Viewer issue with False positive PII redaction ### Link https://huggingface.co/datasets/cakiki/rosetta-code ### Description Hello, I just noticed an entry being redacted that shouldn't have been: `RootMeanSquare@Range[10]` is being displayed as `[email protected][10]` ### Owner _No response_ This was in...
https://github.com/huggingface/datasets/issues/5385
Is `fs=` deprecated in `load_from_disk()` as well?
Hi! Yes, we should deprecate the `fs` param here. Would you be interested in submitting a PR?
### Describe the bug The `fs=` argument was deprecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in favor of automagically figuring it out via fsspec: https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/arrow_dataset.py#L1339-L1340 Is there a reason the...
17
Is `fs=` deprecated in `load_from_disk()` as well? ### Describe the bug The `fs=` argument was deprecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in favor of automagically figuring it out via fsspec: https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/ar...
https://github.com/huggingface/datasets/issues/5385
Is `fs=` deprecated in `load_from_disk()` as well?
> Hi! Yes, we should deprecate the `fs` param here. Would you be interested in submitting a PR? Yeah I can do that sometime next week. Should the storage_options be a new arg here? Iโ€™ll look around for anywhere else where fs is an arg.
### Describe the bug The `fs=` argument was deprecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in favor of automagically figuring it out via fsspec: https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/arrow_dataset.py#L1339-L1340 Is there a reason the...
45
Is `fs=` deprecated in `load_from_disk()` as well? ### Describe the bug The `fs=` argument was deprecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in favor of automagically figuring it out via fsspec: https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/ar...
https://github.com/huggingface/datasets/issues/3888
IterableDataset columns and feature types
@lhoestq so in order to address whatโ€™s not completed in this issue, do you think it makes sense to add a param `features` to `IterableDataset.map` so that the output features right after the `map` are defined there?
Right now, an IterableDataset (e.g. when streaming a dataset) doesn't require to know the list of columns it contains, nor their types: `my_iterable_dataset.features` may be `None` However it's often interesting to know the column types and types. This helps knowing what's inside your dataset without having to manua...
37
IterableDataset columns and feature types Right now, an IterableDataset (e.g. when streaming a dataset) doesn't require to know the list of columns it contains, nor their types: `my_iterable_dataset.features` may be `None` However it's often interesting to know the column types and types. This helps knowing what's i...
https://github.com/huggingface/datasets/issues/3888
IterableDataset columns and feature types
@lhoestq cool then if you agree I can work on that! Iโ€™ll also update the docs accordingly once done, thanks!
Right now, an IterableDataset (e.g. when streaming a dataset) doesn't require to know the list of columns it contains, nor their types: `my_iterable_dataset.features` may be `None` However it's often interesting to know the column types and types. This helps knowing what's inside your dataset without having to manua...
20
IterableDataset columns and feature types Right now, an IterableDataset (e.g. when streaming a dataset) doesn't require to know the list of columns it contains, nor their types: `my_iterable_dataset.features` may be `None` However it's often interesting to know the column types and types. This helps knowing what's i...
https://github.com/huggingface/datasets/issues/3888
IterableDataset columns and feature types
I've already started with a PR as a draft @lhoestq, should we also try to look for a way to explicitly request pre-fetching right after a map operation is applied, so that the features are inferred if the user says explicitly so? Thanks!
Right now, an IterableDataset (e.g. when streaming a dataset) doesn't require to know the list of columns it contains, nor their types: `my_iterable_dataset.features` may be `None` However it's often interesting to know the column types and types. This helps knowing what's inside your dataset without having to manua...
43
IterableDataset columns and feature types Right now, an IterableDataset (e.g. when streaming a dataset) doesn't require to know the list of columns it contains, nor their types: `my_iterable_dataset.features` may be `None` However it's often interesting to know the column types and types. This helps knowing what's i...
https://github.com/huggingface/datasets/issues/3888
IterableDataset columns and feature types
> should we also try to look for a way to explicitly request pre-fetching right after a map operation is applied, so that the features are inferred if the user says explicitly so? Right now one can use `ds = ds._resolve_features()` do to so. It can be used after `map` or `load_dataset` if the features are not known....
Right now, an IterableDataset (e.g. when streaming a dataset) doesn't require to know the list of columns it contains, nor their types: `my_iterable_dataset.features` may be `None` However it's often interesting to know the column types and types. This helps knowing what's inside your dataset without having to manua...
66
IterableDataset columns and feature types Right now, an IterableDataset (e.g. when streaming a dataset) doesn't require to know the list of columns it contains, nor their types: `my_iterable_dataset.features` may be `None` However it's often interesting to know the column types and types. This helps knowing what's i...
https://github.com/huggingface/datasets/issues/8256
Dataset Viewer fails on TSFile datasets
Thanks for reporting ! I'm working on it :) The viewer doesn't use `datasets` V5 yet, I have to do some minor adjustments first
### Describe the bug ## Description The Dataset Viewer fails when trying to display a dataset stored in TSFile format. The error shown by the viewer is: ```python ModuleNotFoundError: No module named 'tsfile' ### Steps to reproduce the bug # Dataset Viewer fails to load TSFile dataset due to missing `tsfile` depe...
24
Dataset Viewer fails on TSFile datasets ### Describe the bug ## Description The Dataset Viewer fails when trying to display a dataset stored in TSFile format. The error shown by the viewer is: ```python ModuleNotFoundError: No module named 'tsfile' ### Steps to reproduce the bug # Dataset Viewer fails to load TSF...
https://github.com/huggingface/datasets/issues/4976
Hope to adapt Python3.9 as soon as possible
There is this related issue already: https://github.com/huggingface/datasets/issues/4113 And I guess we need a CI job for 3.9 ^^
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternat...
18
Hope to adapt Python3.9 as soon as possible **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A c...
https://github.com/huggingface/datasets/issues/7760
Hugging Face Hub Dataset Upload CAS Error
Curious! I took a look at this and was unable to see why this would be occurring on our side. Tagging in @jgodlew and @bpronan since they might have insights. @n-bkoe just a few questions if you wouldn't mind: 1. What kind of data are you uploading and what is the difference in file size (in bytes) between 100 and 1...
### Describe the bug Experiencing persistent 401 Unauthorized errors when attempting to upload datasets to Hugging Face Hub using the `datasets` library. The error occurs specifically with the CAS (Content Addressable Storage) service during the upload process. Tried using HF_HUB_DISABLE_XET=1. It seems to work for sm...
124
Hugging Face Hub Dataset Upload CAS Error ### Describe the bug Experiencing persistent 401 Unauthorized errors when attempting to upload datasets to Hugging Face Hub using the `datasets` library. The error occurs specifically with the CAS (Content Addressable Storage) service during the upload process. Tried using HF_...
https://github.com/huggingface/datasets/issues/7760
Hugging Face Hub Dataset Upload CAS Error
Hi, and thank you for your quick answer ๐Ÿ™ 1. Its fairly simple string data, four cols, all string, some long. The script works for data up to 8000 samples long, which is two parquet files totalling 260 kb. It breaks at 10k. 2. Unfortunately, both data and code is private for now ! 3. I will try 4. I did it both at...
### Describe the bug Experiencing persistent 401 Unauthorized errors when attempting to upload datasets to Hugging Face Hub using the `datasets` library. The error occurs specifically with the CAS (Content Addressable Storage) service during the upload process. Tried using HF_HUB_DISABLE_XET=1. It seems to work for sm...
472
Hugging Face Hub Dataset Upload CAS Error ### Describe the bug Experiencing persistent 401 Unauthorized errors when attempting to upload datasets to Hugging Face Hub using the `datasets` library. The error occurs specifically with the CAS (Content Addressable Storage) service during the upload process. Tried using HF_...
https://github.com/huggingface/datasets/issues/7760
Hugging Face Hub Dataset Upload CAS Error
Thanks for following up with more details, @n-bkoe Could you tell me more about your Sagemaker environment and how you are running this script? In testing with your steps to reproduce in a Sagemaker Jupyter notebook instance (and uploading Parquet datasets with splits of anywhere from a few KBs to a few hundred MBs),...
### Describe the bug Experiencing persistent 401 Unauthorized errors when attempting to upload datasets to Hugging Face Hub using the `datasets` library. The error occurs specifically with the CAS (Content Addressable Storage) service during the upload process. Tried using HF_HUB_DISABLE_XET=1. It seems to work for sm...
136
Hugging Face Hub Dataset Upload CAS Error ### Describe the bug Experiencing persistent 401 Unauthorized errors when attempting to upload datasets to Hugging Face Hub using the `datasets` library. The error occurs specifically with the CAS (Content Addressable Storage) service during the upload process. Tried using HF_...
https://github.com/huggingface/datasets/issues/5464
NonMatchingChecksumError for hendrycks_test
Thanks for reporting, @sarahwie. Please note this issue was already fixed in `datasets` 2.6.0 version: - #5040 If you update your `datasets` version, you will be able to load the dataset: ``` pip install -U datasets ```
### Describe the bug The checksum of the file has likely changed on the remote host. ### Steps to reproduce the bug `dataset = nlp.load_dataset("hendrycks_test", "anatomy")` ### Expected behavior no error thrown ### Environment info - `datasets` version: 2.2.1 - Platform: macOS-13.1-arm64-arm-64bit - Pyt...
37
NonMatchingChecksumError for hendrycks_test ### Describe the bug The checksum of the file has likely changed on the remote host. ### Steps to reproduce the bug `dataset = nlp.load_dataset("hendrycks_test", "anatomy")` ### Expected behavior no error thrown ### Environment info - `datasets` version: 2.2.1 -...
https://github.com/huggingface/datasets/issues/7446
pyarrow.lib.ArrowTypeError: Expected dict key of type str or bytes, got 'int'
I think the Counter object you used in 'labels' may be the issue, since the {2:1} inside is the dict and 2 is the int
### Describe the bug A dict with its keys are all str but get following error ```python test_data=[{'input_ids':[1,2,3],'labels':[[Counter({2:1})]]}] dataset = datasets.Dataset.from_list(test_data) ``` ```bash pyarrow.lib.ArrowTypeError: Expected dict key of type str or bytes, got 'int' ``` ### Steps to reproduce the...
25
pyarrow.lib.ArrowTypeError: Expected dict key of type str or bytes, got 'int' ### Describe the bug A dict with its keys are all str but get following error ```python test_data=[{'input_ids':[1,2,3],'labels':[[Counter({2:1})]]}] dataset = datasets.Dataset.from_list(test_data) ``` ```bash pyarrow.lib.ArrowTypeError: Exp...
https://github.com/huggingface/datasets/issues/7446
pyarrow.lib.ArrowTypeError: Expected dict key of type str or bytes, got 'int'
> I think the Counter object you used in 'labels' may be the issue, since the {2:1} inside is the dict and 2 is the intๆˆ‘่ฎคไธบๆ‚จๅœจ 'labels' ไธญไฝฟ็”จ็š„ Counter ๅฏน่ฑกๅฏ่ƒฝๆ˜ฏ้—ฎ้ข˜ๆ‰€ๅœจ๏ผŒๅ› ไธบ้‡Œ้ข็š„ {2๏ผš1} ๆ˜ฏ dict๏ผŒ่€Œ 2 ๆ˜ฏ int Yes, that's the point.
### Describe the bug A dict with its keys are all str but get following error ```python test_data=[{'input_ids':[1,2,3],'labels':[[Counter({2:1})]]}] dataset = datasets.Dataset.from_list(test_data) ``` ```bash pyarrow.lib.ArrowTypeError: Expected dict key of type str or bytes, got 'int' ``` ### Steps to reproduce the...
40
pyarrow.lib.ArrowTypeError: Expected dict key of type str or bytes, got 'int' ### Describe the bug A dict with its keys are all str but get following error ```python test_data=[{'input_ids':[1,2,3],'labels':[[Counter({2:1})]]}] dataset = datasets.Dataset.from_list(test_data) ``` ```bash pyarrow.lib.ArrowTypeError: Exp...
https://github.com/huggingface/datasets/issues/3668
Couldn't cast array of type string error with cast_column
Hi ! I wasn't able to reproduce the error, are you still experiencing this ? I tried calling `cast_column` on a string column containing paths. If you manage to share a reproducible code example that would be perfect
## Describe the bug In OVH cloud during Huggingface Robust-speech-recognition event on a AI training notebook instance using jupyter lab and running jupyter notebook When using the dataset.cast_column("audio",Audio(sampling_rate=16_000)) method I get error ![image](https://user-images.githubusercontent.com/25264...
38
Couldn't cast array of type string error with cast_column ## Describe the bug In OVH cloud during Huggingface Robust-speech-recognition event on a AI training notebook instance using jupyter lab and running jupyter notebook When using the dataset.cast_column("audio",Audio(sampling_rate=16_000)) method I get erro...
https://github.com/huggingface/datasets/issues/3668
Couldn't cast array of type string error with cast_column
Hi, I think my team mate got this solved. Clolsing it for now and will reopen if I experience this again. Thanks :)
## Describe the bug In OVH cloud during Huggingface Robust-speech-recognition event on a AI training notebook instance using jupyter lab and running jupyter notebook When using the dataset.cast_column("audio",Audio(sampling_rate=16_000)) method I get error ![image](https://user-images.githubusercontent.com/25264...
23
Couldn't cast array of type string error with cast_column ## Describe the bug In OVH cloud during Huggingface Robust-speech-recognition event on a AI training notebook instance using jupyter lab and running jupyter notebook When using the dataset.cast_column("audio",Audio(sampling_rate=16_000)) method I get erro...
https://github.com/huggingface/datasets/issues/3668
Couldn't cast array of type string error with cast_column
Hi @R4ZZ3, If it is not too much of a bother, can you please help me how to resolve this error? I am exactly getting the same error where I am going as per the documentation guideline: `my_audio_dataset = my_audio_dataset.cast_column("audio_paths", Audio())` where `"audio_paths"` is a dataset column (feature) ...
## Describe the bug In OVH cloud during Huggingface Robust-speech-recognition event on a AI training notebook instance using jupyter lab and running jupyter notebook When using the dataset.cast_column("audio",Audio(sampling_rate=16_000)) method I get error ![image](https://user-images.githubusercontent.com/25264...
59
Couldn't cast array of type string error with cast_column ## Describe the bug In OVH cloud during Huggingface Robust-speech-recognition event on a AI training notebook instance using jupyter lab and running jupyter notebook When using the dataset.cast_column("audio",Audio(sampling_rate=16_000)) method I get erro...
https://github.com/huggingface/datasets/issues/3668
Couldn't cast array of type string error with cast_column
I was having the same issue with this code: ``` dataset = dataset.map( lambda batch: {"full_path" : os.path.join(self.data_path, batch["path"])}, num_procs = 4 ) my_audio_dataset = dataset.cast_column("full_path", Audio(sampling_rate=16_000)) ``` Removing the "num_procs" argument fixed it somehow. ...
## Describe the bug In OVH cloud during Huggingface Robust-speech-recognition event on a AI training notebook instance using jupyter lab and running jupyter notebook When using the dataset.cast_column("audio",Audio(sampling_rate=16_000)) method I get error ![image](https://user-images.githubusercontent.com/25264...
41
Couldn't cast array of type string error with cast_column ## Describe the bug In OVH cloud during Huggingface Robust-speech-recognition event on a AI training notebook instance using jupyter lab and running jupyter notebook When using the dataset.cast_column("audio",Audio(sampling_rate=16_000)) method I get erro...
https://github.com/huggingface/datasets/issues/3606
audio column not saved correctly after resampling
Hi ! We just released a new version of `datasets` that should fix this. I tested resampling and using save/load_from_disk afterwards and it seems to be fixed now
## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk() - load with load_from_disk() ## Expected resul...
28
audio column not saved correctly after resampling ## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk() ...
https://github.com/huggingface/datasets/issues/3606
audio column not saved correctly after resampling
Hi @lhoestq, Just tested the latest datasets version, and confirming that this is fixed for me. Thanks!
## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk() - load with load_from_disk() ## Expected resul...
17
audio column not saved correctly after resampling ## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk() ...
https://github.com/huggingface/datasets/issues/3606
audio column not saved correctly after resampling
Also, just an FYI, data that I had saved (with save_to_disk) previously from common voice using datasets==1.17.0 now give the error below when loading (with load_from disk) using datasets==1.18.0. However, when starting fresh using load_dataset, then doing the resampling, the save/load_from disk worked fine. ``...
## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk() - load with load_from_disk() ## Expected resul...
290
audio column not saved correctly after resampling ## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk() ...
https://github.com/huggingface/datasets/issues/4721
PyArrow Dataset error when calling `load_dataset`
Hi ! It looks like a bug in `pyarrow`. If you manage to end up with only one chunk per parquet file it should workaround this issue. To achieve that you can try to lower the value of `max_shard_size` and also don't use `map` before `push_to_hub`. Do you have a minimum reproducible example that we can share with t...
## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub which was originally generated from disk results in th...
65
PyArrow Dataset error when calling `load_dataset` ## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub whic...
https://github.com/huggingface/datasets/issues/4721
PyArrow Dataset error when calling `load_dataset`
> If you manage to end up with only one chunk per parquet file it should workaround this issue. Yup, I did not encounter this bug when I was testing my script with a slice of <1000 samples for my dataset. > Do you have a minimum reproducible example... Not sure if I can get more minimal than the script I share...
## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub which was originally generated from disk results in th...
90
PyArrow Dataset error when calling `load_dataset` ## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub whic...
https://github.com/huggingface/datasets/issues/4721
PyArrow Dataset error when calling `load_dataset`
Actually this is probably linked to this open issue: https://issues.apache.org/jira/browse/ARROW-5030. setting `max_shard_size="2GB"` should do the job (or `max_shard_size="1GB"` if you want to be on the safe side, especially given that there can be some variance in the shard sizes if the dataset is not evenly distr...
## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub which was originally generated from disk results in th...
46
PyArrow Dataset error when calling `load_dataset` ## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub whic...
https://github.com/huggingface/datasets/issues/6908
Fail to load "stas/c4-en-10k" dataset since 2.16 version
I am not able to reproduce the error with datasets 2.19.1: ```python In [1]: from datasets import load_dataset; ds = load_dataset("stas/c4-en-10k", streaming=True); item = next(iter(ds["train"])); item Out[1]: {'text': 'Beginners BBQ Class Taking Place in Missoula!\nDo you want to get better at making delicious BBQ?...
### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10k') ``` and then it raise UnicodeDecodeError like ...
273
Fail to load "stas/c4-en-10k" dataset since 2.16 version ### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10...
https://github.com/huggingface/datasets/issues/6908
Fail to load "stas/c4-en-10k" dataset since 2.16 version
Thanks for your reply! After I update the datasets version from 2.15.0 back to 2.19.1 again, it seems everything work well. Sorry for bordering you!
### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10k') ``` and then it raise UnicodeDecodeError like ...
25
Fail to load "stas/c4-en-10k" dataset since 2.16 version ### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10...
https://github.com/huggingface/datasets/issues/5178
Unable to download the Chinese `wikipedia`, the dumpstatus.json not found!
In the dumps page of the wiki (https://dumps.wikimedia.org/zhwiki/), I found the following dumps: ``` Index of /zhwiki/ [../](https://dumps.wikimedia.org/) [20220701/](https://dumps.wikimedia.org/zhwiki/20220701/) 21-Aug-2022 01:48 - [20220720/](https://du...
### Describe the bug I tried: `data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')` and `data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')` but both got: `FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/zhwiki/20220301/dumpsta...
412
Unable to download the Chinese `wikipedia`, the dumpstatus.json not found! ### Describe the bug I tried: `data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')` and `data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')` but both got: `FileNotFoundError...
https://github.com/huggingface/datasets/issues/5178
Unable to download the Chinese `wikipedia`, the dumpstatus.json not found!
Hi, @beyondguo, thanks for reporting. You have all the information in the dataset card: https://huggingface.co/datasets/wikipedia > Then, you can load any subset of Wikipedia per language and per date this way: > ```python > from datasets import load_dataset > > load_dataset("wikipedia", language="sw", date=...
### Describe the bug I tried: `data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')` and `data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')` but both got: `FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/zhwiki/20220301/dumpsta...
113
Unable to download the Chinese `wikipedia`, the dumpstatus.json not found! ### Describe the bug I tried: `data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')` and `data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')` but both got: `FileNotFoundError...
https://github.com/huggingface/datasets/issues/5178
Unable to download the Chinese `wikipedia`, the dumpstatus.json not found!
Also: > Some subsets of Wikipedia have already been processed by HuggingFace, and you can load them just with: > ```python > load_dataset("wikipedia", "20220301.en") > ``` > The list of pre-processed subsets is: > - "20220301.de" > - "20220301.en" > - "20220301.fr" > - "20220301.frr" > - "20220301.it" > - "2...
### Describe the bug I tried: `data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')` and `data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')` but both got: `FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/zhwiki/20220301/dumpsta...
51
Unable to download the Chinese `wikipedia`, the dumpstatus.json not found! ### Describe the bug I tried: `data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')` and `data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')` but both got: `FileNotFoundError...
https://github.com/huggingface/datasets/issues/3504
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
Hi @ToddMorrill, thanks for reporting. Three weeks ago I contacted the team who created the Pile dataset to report this issue with their data host server: https://the-eye.eu They told me that unfortunately, the-eye was heavily affected by the recent tornado catastrophe in the US. They hope to have their data back...
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
53
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_...
https://github.com/huggingface/datasets/issues/3504
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
Hi @ToddMorrill, people from the Pile team have mirrored their data in a new host server: https://mystic.the-eye.eu See: - #3627 It should work if you update your URL. We should also update the URL in our course material.
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
38
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_...
https://github.com/huggingface/datasets/issues/3504
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
The old URL is still present in the HuggingFace course here: https://huggingface.co/course/chapter5/4?fw=pt I have created a PR for the Notebook here: https://github.com/huggingface/notebooks/pull/148 Not sure if the HTML is in a public repo. I wasn't able to find it.
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
38
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_...
https://github.com/huggingface/datasets/issues/3504
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
Both URLs are broken now `HTTPError: 404 Client Error: Not Found for URL: https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst` And `ConnectTimeout: HTTPSConnectionPool(host='mystic.the-eye.eu', port=443): Max retries exceeded with url: /public/AI/pile_preliminary_c...
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
34
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_...
https://github.com/huggingface/datasets/issues/3504
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
I was able to find a torrent with "The Pile" dataset here: [The Pile An 800GB Dataset of Diverse Text for Language Modeling ](https://academictorrents.com/details/0d366035664fdf51cfbe9f733953ba325776e667) The complete dataset is huge, so I would suggest you to download only the "PUBMED_title_abstracts_2019_baseline....
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
66
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_...
https://github.com/huggingface/datasets/issues/3504
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
@albertvillanova another issue: ``` 15 experiment_compute_diveristy_coeff_single_dataset_then_combined_datasets_with_domain_weights() 16 File "/lfs/ampere1/0/brando9/beyond-scale-language-data-diversity/src/diversity/div_coeff.py", line 474, in experiment_compute_diveristy_coeff_single_dataset_then_combined_da...
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
182
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_...
https://github.com/huggingface/datasets/issues/3504
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
this seems to work but it's rather annoying. Summary of how to make it work: 1. get urls to parquet files into a list 2. load list to load_dataset via `load_dataset('parquet', data_files=urls)` (note api names to hf are really confusing sometimes) 3. then it should work, print a batch of text. presudo code ``...
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
319
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_...
https://github.com/huggingface/datasets/issues/3504
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
If some people stumble upon this thread and still have this problem, i reuploaded the dataset to HF [here](https://huggingface.co/datasets/casinca/PUBMED_title_abstracts_2019_baseline) Its the exact same dataset you just have to change the url from the course, for example: ```python from datasets import load_dat...
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
57
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_...
https://github.com/huggingface/datasets/issues/4888
Dataset Viewer issue for subjqa
It's a bug in the viewer, thanks for reporting it. We're hoping to update to a new version in the next few days which should fix it.
### Link https://huggingface.co/datasets/subjqa ### Description Getting the following error for this dataset: ``` Status code: 500 Exception: Status500Error Message: 2 or more items returned, instead of 1 ``` Not sure what's causing it though ๐Ÿค” ### Owner Yes
27
Dataset Viewer issue for subjqa ### Link https://huggingface.co/datasets/subjqa ### Description Getting the following error for this dataset: ``` Status code: 500 Exception: Status500Error Message: 2 or more items returned, instead of 1 ``` Not sure what's causing it though ๐Ÿค” ### Owner Yes ...
https://github.com/huggingface/datasets/issues/4676
Dataset.map gets stuck on _cast_to_python_objects
Are you able to reproduce this? My example is small enough that it should be easy to try.
## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_an...
18
Dataset.map gets stuck on _cast_to_python_objects ## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/hu...
https://github.com/huggingface/datasets/issues/4676
Dataset.map gets stuck on _cast_to_python_objects
Hi! Thanks for reporting and providing a reproducible example. Indeed, by default, `datasets` performs an expensive cast on the values returned by `map` to convert them to one of the types supported by PyArrow (the underlying storage format used by `datasets`). This cast is not needed on NumPy arrays as PyArrow support...
## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_an...
81
Dataset.map gets stuck on _cast_to_python_objects ## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/hu...
https://github.com/huggingface/datasets/issues/4676
Dataset.map gets stuck on _cast_to_python_objects
I tested this tokenize function and indeed noticed a casting. However it seems to only concerns the `offset_mapping` field, which contains a list of tuples, that is converted to a list of lists. Since `pyarrow` also supports tuples, we actually don't need to convert the tuples to lists. I think this can be changed ...
## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_an...
118
Dataset.map gets stuck on _cast_to_python_objects ## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/hu...
https://github.com/huggingface/datasets/issues/4676
Dataset.map gets stuck on _cast_to_python_objects
Wow, adding `return_tensors="np"` sped up my example by a **factor 17x** of and completely eliminated the casting! I'd recommend not only to document it, but to make that the default. The code at https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb does not specify `return_tensors="np...
## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_an...
112
Dataset.map gets stuck on _cast_to_python_objects ## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/hu...
https://github.com/huggingface/datasets/issues/4676
Dataset.map gets stuck on _cast_to_python_objects
Setting the output to `"np"` makes the whole pipeline fast because it moves the data buffers from rust to python to arrow using zero-copy, and also because it does eliminate the casting completely ;) Have you had a chance to try eliminating the tuple casting using the trick above ?
## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_an...
50
Dataset.map gets stuck on _cast_to_python_objects ## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/hu...
https://github.com/huggingface/datasets/issues/4676
Dataset.map gets stuck on _cast_to_python_objects
@lhoestq I just benchmarked the two edits to `features.py` above, and they appear to solve the problem, bringing my original example to within 20% the speed of the output `"np"` example. Nice! For a pull request, do you suggest simply following https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md ?
## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_an...
43
Dataset.map gets stuck on _cast_to_python_objects ## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/hu...
https://github.com/huggingface/datasets/issues/4676
Dataset.map gets stuck on _cast_to_python_objects
Cool ! Sure feel free to follow these instructions to open a PR :) thanks !
## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/huggingface/notebooks/blob/main/examples/question_an...
16
Dataset.map gets stuck on _cast_to_python_objects ## Describe the bug `Dataset.map`, when fed a Huggingface Tokenizer as its map func, can sometimes spend huge amounts of time doing casts. A minimal example follows. Not all usages suffer from this. For example, I profiled the preprocessor at https://github.com/hu...
https://github.com/huggingface/datasets/issues/7113
Stream dataset does not iterate if the batch size is larger than the dataset size (related to drop_last_batch)
That's expected behavior, it's also the same in `torch`: ```python >>> list(DataLoader(list(range(5)), batch_size=10, drop_last=True)) [] ```
### Describe the bug Hi there, I use streaming and interleaving to combine multiple datasets saved in jsonl files. The size of dataset can vary (from 100ish to 100k-ish). I use dataset.map() and a big batch size to reduce the IO cost. It was working fine with datasets-2.16.1 but this problem shows up after I upgr...
16
Stream dataset does not iterate if the batch size is larger than the dataset size (related to drop_last_batch) ### Describe the bug Hi there, I use streaming and interleaving to combine multiple datasets saved in jsonl files. The size of dataset can vary (from 100ish to 100k-ish). I use dataset.map() and a big ba...
https://github.com/huggingface/datasets/issues/7501
Nested Feature raises ArrowNotImplementedError: Unsupported cast using function cast_struct
Solved by the default `load_dataset(features)` parameters. Do not use `Sequence` for the `list` in `list[any]` json schema, just simply use `[]`. For example, `"b": Sequence({...})` fails but `"b": [{...}]` works fine.
### Describe the bug `datasets.Features` seems to be unable to handle json file that contains fields of `list[dict]`. ### Steps to reproduce the bug ```json // test.json {"a": 1, "b": [{"c": 2, "d": 3}, {"c": 4, "d": 5}]} {"a": 5, "b": [{"c": 7, "d": 8}, {"c": 9, "d": 10}]} ``` ```python import json from datasets i...
31
Nested Feature raises ArrowNotImplementedError: Unsupported cast using function cast_struct ### Describe the bug `datasets.Features` seems to be unable to handle json file that contains fields of `list[dict]`. ### Steps to reproduce the bug ```json // test.json {"a": 1, "b": [{"c": 2, "d": 3}, {"c": 4, "d": 5}]} {"a...
https://github.com/huggingface/datasets/issues/6882
Connection Error When Using By-pass Proxies
Changing the supplier of the proxy will solve this problem, or you can visit and follow the instructions in https://hf-mirror.com
### Describe the bug I'm currently using Clash for Windows as my proxy tunnel, after exporting HTTP_PROXY and HTTPS_PROXY to the port that clash provides๐Ÿค”, it runs into a connection error saying "Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.19.1/metrics/seqeval/seqeval.py (ConnectionError(M...
20
Connection Error When Using By-pass Proxies ### Describe the bug I'm currently using Clash for Windows as my proxy tunnel, after exporting HTTP_PROXY and HTTPS_PROXY to the port that clash provides๐Ÿค”, it runs into a connection error saying "Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.19.1/m...
https://github.com/huggingface/datasets/issues/3555
DuplicatedKeysError when loading tweet_qa dataset
Hi, we've just merged the PR with the fix. The fixed version of the dataset can be downloaded as follows: ```python import datasets dset = datasets.load_dataset("tweet_qa", revision="master") ```
When loading the tweet_qa dataset with `load_dataset('tweet_qa')`, the following error occurs: `DuplicatedKeysError: FAILURE TO GENERATE DATASET ! Found duplicate Key: 2a167f9e016ba338e1813fed275a6a1e Keys should be unique and deterministic in nature ` Might be related to issues #2433 and #2333 - `datasets` ...
28
DuplicatedKeysError when loading tweet_qa dataset When loading the tweet_qa dataset with `load_dataset('tweet_qa')`, the following error occurs: `DuplicatedKeysError: FAILURE TO GENERATE DATASET ! Found duplicate Key: 2a167f9e016ba338e1813fed275a6a1e Keys should be unique and deterministic in nature ` Might be ...
https://github.com/huggingface/datasets/issues/6236
Support buffer shuffle for to_tf_dataset
Hey! You can implement this yourself, just: 1) Create the dataset with `to_tf_dataset()` with `shuffle=False` 2) Add an `unbatch()` at the end (or use batch_size=1) 3) Add a `shuffle()` to the resulting dataset with your desired buffer size 4) Add a `batch()` at the end again to re-batch your dataset. Note tha...
### Feature request I'm using to_tf_dataset to convert a large dataset to tf.data.Dataset and use Keras fit to train model. Currently, to_tf_dataset only supports full size shuffle, which can be very slow on large dataset. tf.data.Dataset support buffer shuffle by default. shuffle( buffer_size, seed=None, r...
118
Support buffer shuffle for to_tf_dataset ### Feature request I'm using to_tf_dataset to convert a large dataset to tf.data.Dataset and use Keras fit to train model. Currently, to_tf_dataset only supports full size shuffle, which can be very slow on large dataset. tf.data.Dataset support buffer shuffle by default. ...
https://github.com/huggingface/datasets/issues/6236
Support buffer shuffle for to_tf_dataset
Thanks for your reply! @Rocketknight1 "We don't actually shuffle the entire dataset in-memory, using tf.data.Dataset.shuffle()! Instead, we shuffle an index array and then load from the dataset with that." In such case, there will be random access to dataset data during shuffling. When the dataset is large, the perf...
### Feature request I'm using to_tf_dataset to convert a large dataset to tf.data.Dataset and use Keras fit to train model. Currently, to_tf_dataset only supports full size shuffle, which can be very slow on large dataset. tf.data.Dataset support buffer shuffle by default. shuffle( buffer_size, seed=None, r...
76
Support buffer shuffle for to_tf_dataset ### Feature request I'm using to_tf_dataset to convert a large dataset to tf.data.Dataset and use Keras fit to train model. Currently, to_tf_dataset only supports full size shuffle, which can be very slow on large dataset. tf.data.Dataset support buffer shuffle by default. ...
https://github.com/huggingface/datasets/issues/3753
Expanding streaming capabilities
Cool ! `filter` will be very useful. There can be a filter that you can apply on a streaming dataset: ```python load_dataset(..., streaming=True).filter(lambda x: x["lang"] == "sw") ``` Otherwise if you want to apply a filter on the source files that are going to be used for streaming, the logic has to be impIeme...
Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages - filter a dataset for specific li...
160
Expanding streaming capabilities Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages -...
https://github.com/huggingface/datasets/issues/3753
Expanding streaming capabilities
Regarding conversion, I'd also ask for some kind of equivalent to `save_to_disk` for an `IterableDataset`. Similarly to the streaming to hub idea, my use case would be to define a sequence of dataset transforms via `.map()`, using an `IterableDataset` as the input (so processing could start without doing whole downl...
Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages - filter a dataset for specific li...
60
Expanding streaming capabilities Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages -...
https://github.com/huggingface/datasets/issues/3753
Expanding streaming capabilities
That makes sense @athewsey , thanks for the suggestion :) Maybe instead of the `to_disk` we could simply have `save_to_disk` instead: ```python streaming_dataset.save_to_disk("path/to/my/dataset/dir") on_disk_dataset = load_from_disk("path/to/my/dataset/dir") in_memory_dataset = Dataset.from_list(list(streamin...
Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages - filter a dataset for specific li...
38
Expanding streaming capabilities Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages -...
https://github.com/huggingface/datasets/issues/3753
Expanding streaming capabilities
So far are implemented: `IterableDataset.filter()` and `Dataset.to_iterable_dataset()`. Still missing: `IterableDataset.push_to_hub()` - though there is a hack to write on disk and then push to hub using ```python ds_on_disk = Dataset.from_generator(streaming_ds.__iter__) # stream to disk ds_on_disk.push_to_hu...
Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages - filter a dataset for specific li...
36
Expanding streaming capabilities Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages -...
https://github.com/huggingface/datasets/issues/3753
Expanding streaming capabilities
Do we have anything related to save_to_disk for IterableDataset / IterableDatasetDict. I believe this should be implementing that Dataset / DatasetDict have to offer, since for large amounts of data, this becomes quite a bit of problem.
Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages - filter a dataset for specific li...
37
Expanding streaming capabilities Some ideas for a few features that could be useful when working with large datasets in streaming mode. ## `filter` for `IterableDataset` Adding filtering to streaming datasets would be useful in several scenarios: - filter a dataset with many languages for a subset of languages -...
https://github.com/huggingface/datasets/issues/8242
"eval_strategy": "no" perform evaluation
Wrong repo, this belongs in axolotl, not `datasets`. And `eval_strategy: "no"` was never going to stop it. What hangs you is the diffusion plugin's sample generation. `DiffusionGenerationCallback.on_step_end` fires on `global_step % generation_interval == 0` and ignores `eval_strategy`. When you have no eval dataset, ...
### Describe the bug Hi, I'm trying to train a diffusion model and I getting stuck with ``` strace -p 967873 strace: Process 967873 attached ioctl(9, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7fff18579d90) = 0 ioctl(9, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7fff18579d90) = 0 ``` But my issue is that ...
131
"eval_strategy": "no" perform evaluation ### Describe the bug Hi, I'm trying to train a diffusion model and I getting stuck with ``` strace -p 967873 strace: Process 967873 attached ioctl(9, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7fff18579d90) = 0 ioctl(9, _IOC(_IOC_READ|_IOC_WRITE, 0x46, 0x2a, 0x20), 0x7ff...
https://github.com/huggingface/datasets/issues/6505
Got stuck when I trying to load a dataset
I ran into the same problem when I used a server cluster (Slurm system managed) that couldn't load any of the huggingface datasets or models, but it worked on my laptop. I suspected some system configuration-related problem, but I had no idea. My problems are consistent with [issue #2618](https://github.com/huggingfa...
### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_dataset('json', data_files='mypath/oaast_r...
59
Got stuck when I trying to load a dataset ### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_...
https://github.com/huggingface/datasets/issues/6505
Got stuck when I trying to load a dataset
> I ran into the same problem when I used a server cluster (Slurm system managed) that couldn't load any of the huggingface datasets or models, but it worked on my laptop. I suspected some system configuration-related problem, but I had no idea. My problems are consistent with [issue #2618](https://github.com/huggingfa...
### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_dataset('json', data_files='mypath/oaast_r...
89
Got stuck when I trying to load a dataset ### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_...
https://github.com/huggingface/datasets/issues/6505
Got stuck when I trying to load a dataset
I am having the same issue on a computing cluster but this works on my laptop as well. I instead have this error: `/home/.conda/envs/py10/lib/python3.10/site-packages/filelock/_unix.py", line 43, in _acquire fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB) OSError: [Errno 5] Input/output error` the load_datase...
### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_dataset('json', data_files='mypath/oaast_r...
58
Got stuck when I trying to load a dataset ### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_...
https://github.com/huggingface/datasets/issues/6505
Got stuck when I trying to load a dataset
In my case, `.cahce` was in a shared folder. Moving it into the user's home folder fixed the problem. #2618 for more details
### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_dataset('json', data_files='mypath/oaast_r...
23
Got stuck when I trying to load a dataset ### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_...
https://github.com/huggingface/datasets/issues/6505
Got stuck when I trying to load a dataset
> In my case, `.cahce` was in a shared folder. Moving it into the user's home folder fixed the problem. #2618 for more detailsๅœจๆˆ‘็š„ๆƒ…ๅ†ตไธ‹๏ผŒ `.cahce` ๅœจไธ€ไธชๅ…ฑไบซๆ–‡ไปถๅคนไธญใ€‚ๅฐ†ๅ…ถ็งปๅŠจๅˆฐ็”จๆˆท็š„ไธปๆ–‡ไปถๅคนไธญ่งฃๅ†ณไบ†้—ฎ้ข˜ใ€‚ #2618 ่Žทๅ–ๆ›ดๅคš่ฏฆ็ป†ไฟกๆฏใ€‚ Can you be more specific? thank.
### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_dataset('json', data_files='mypath/oaast_r...
34
Got stuck when I trying to load a dataset ### Describe the bug Hello, everyone. I met a problem when I am trying to load a data file using load_dataset method on a Debian 10 system. The data file is not very large, only 1.63MB with 600 records. Here is my code: from datasets import load_dataset dataset = load_...
https://github.com/huggingface/datasets/issues/6760
Load codeparrot/apps raising UnicodeDecodeError in datasets-2.18.0
Here is the requirements.txt from a clean virtual environment (managed by conda) where I only install `datasets` by `pip install datasets`. The pip list: ``` aiohttp==3.9.3 aiosignal==1.3.1 attrs==23.2.0 certifi==2024.2.2 charset-normalizer==3.3.2 datasets==2.18.0 dill==0.3.8 filelock==3.13.3 frozenlist==...
### Describe the bug This happens with datasets-2.18.0; I downgraded the version to 2.14.6 fixing this temporarily. ``` Traceback (most recent call last): File "/home/xxx/miniconda3/envs/py310/lib/python3.10/site-packages/datasets/load.py", line 2556, in load_dataset builder_instance = load_dataset_builder...
204
Load codeparrot/apps raising UnicodeDecodeError in datasets-2.18.0 ### Describe the bug This happens with datasets-2.18.0; I downgraded the version to 2.14.6 fixing this temporarily. ``` Traceback (most recent call last): File "/home/xxx/miniconda3/envs/py310/lib/python3.10/site-packages/datasets/load.py", line...
https://github.com/huggingface/datasets/issues/6760
Load codeparrot/apps raising UnicodeDecodeError in datasets-2.18.0
> Here is the requirements.txt from a clean virtual environment (managed by conda) where I only install `datasets` by `pip install datasets`. The pip list: > > ``` > aiohttp==3.9.3 > aiosignal==1.3.1 > attrs==23.2.0 > certifi==2024.2.2 > charset-normalizer==3.3.2 > datasets==2.18.0 > dill==0.3.8 > filelock==...
### Describe the bug This happens with datasets-2.18.0; I downgraded the version to 2.14.6 fixing this temporarily. ``` Traceback (most recent call last): File "/home/xxx/miniconda3/envs/py310/lib/python3.10/site-packages/datasets/load.py", line 2556, in load_dataset builder_instance = load_dataset_builder...
263
Load codeparrot/apps raising UnicodeDecodeError in datasets-2.18.0 ### Describe the bug This happens with datasets-2.18.0; I downgraded the version to 2.14.6 fixing this temporarily. ``` Traceback (most recent call last): File "/home/xxx/miniconda3/envs/py310/lib/python3.10/site-packages/datasets/load.py", line...
https://github.com/huggingface/datasets/issues/5993
ValueError: Table schema does not match schema used to create file
We'll do a new release of `datasets` soon to make the fix available :) In the meantime you can use `datasets` from source (main)
### Describe the bug Saving a dataset as parquet fails with a `ValueError: Table schema does not match schema used to create file` if the dataset was obtained out of a `.select_columns()` call with columns selected out of order. ### Steps to reproduce the bug ```python import datasets dataset = datasets.Dataset...
24
ValueError: Table schema does not match schema used to create file ### Describe the bug Saving a dataset as parquet fails with a `ValueError: Table schema does not match schema used to create file` if the dataset was obtained out of a `.select_columns()` call with columns selected out of order. ### Steps to reproduc...
https://github.com/huggingface/datasets/issues/6187
Couldn't find a dataset script at /content/tsv/tsv.py or any data file in the same directory
Hi! You can load this dataset with: ```python data_files = { "train": "/content/PUBHEALTH/train.tsv", "validation": "/content/PUBHEALTH/dev.tsv", "test": "/content/PUBHEALTH/test.tsv", } tsv_datasets_reloaded = load_dataset("csv", data_files=data_files, sep="\t") ``` To support your `load_datas...
### Describe the bug ``` --------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) [<ipython-input-48-6a7b3e847019>](https://localhost:8080/#) in <cell line: 7>() 5 } 6 ----> 7 csv_datasets_reloaded = load_...
59
Couldn't find a dataset script at /content/tsv/tsv.py or any data file in the same directory ### Describe the bug ``` --------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) [<ipython-input-48-6a7b3e847019>](https://loca...
https://github.com/huggingface/datasets/issues/6755
Small typo on the documentation
Thanks for reporting @fostiropoulos! I've edited your comment to fix the link to the problematic line.
### Describe the bug There is a small typo on https://github.com/huggingface/datasets/blob/d5468836fe94e8be1ae093397dd43d4a2503b926/src/datasets/dataset_dict.py#L938 It should be `caching is enabled`. ### Steps to reproduce the bug Please visit https://github.com/huggingface/datasets/blob/d5468836fe94e...
16
Small typo on the documentation ### Describe the bug There is a small typo on https://github.com/huggingface/datasets/blob/d5468836fe94e8be1ae093397dd43d4a2503b926/src/datasets/dataset_dict.py#L938 It should be `caching is enabled`. ### Steps to reproduce the bug Please visit https://github.com/hugging...
https://github.com/huggingface/datasets/issues/4792
Add DocVQA
Thanks for proposing, @NielsRogge. Please, note this dataset requires registering in their website and their Terms and Conditions state we cannot distribute their URL: ``` 1. You will NOT distribute the download URLs ... ```
## Adding a Dataset - **Name:** DocVQA - **Description:** Document Visual Question Answering (DocVQA) seeks to inspire a โ€œpurpose-drivenโ€ point of view in Document Analysis and Recognition research, where the document content is extracted and used to respond to high-level tasks defined by the human consumers of this ...
35
Add DocVQA ## Adding a Dataset - **Name:** DocVQA - **Description:** Document Visual Question Answering (DocVQA) seeks to inspire a โ€œpurpose-drivenโ€ point of view in Document Analysis and Recognition research, where the document content is extracted and used to respond to high-level tasks defined by the human consume...
https://github.com/huggingface/datasets/issues/6066
AttributeError: '_tqdm_cls' object has no attribute '_lock'
Hi ! I opened https://github.com/huggingface/datasets/pull/6067 to add the missing `_lock` We'll do a patch release soon, but feel free to install `datasets` from source in the meantime
### Describe the bug ```python File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-packages/datasets/load.py", line 1034, in get_module data_files = DataFilesDict.from_patterns( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-p...
27
AttributeError: '_tqdm_cls' object has no attribute '_lock' ### Describe the bug ```python File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-packages/datasets/load.py", line 1034, in get_module data_files = DataFilesDict.from_patterns( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/U...
https://github.com/huggingface/datasets/issues/6066
AttributeError: '_tqdm_cls' object has no attribute '_lock'
I have tested the latest main, it does not work. I add more logs to reproduce this issue, it looks like a multi threading bug: ```python @contextmanager def ensure_lock(tqdm_class, lock_name=""): """get (create if necessary) and then restore `tqdm_class`'s lock""" import os import threading ...
### Describe the bug ```python File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-packages/datasets/load.py", line 1034, in get_module data_files = DataFilesDict.from_patterns( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-p...
184
AttributeError: '_tqdm_cls' object has no attribute '_lock' ### Describe the bug ```python File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-packages/datasets/load.py", line 1034, in get_module data_files = DataFilesDict.from_patterns( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/U...
https://github.com/huggingface/datasets/issues/6066
AttributeError: '_tqdm_cls' object has no attribute '_lock'
Maybe it is a bug of tqdm? I think simply use `try ... except AttributeError ...` wraps `del tqdm_class._lock` should work.
### Describe the bug ```python File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-packages/datasets/load.py", line 1034, in get_module data_files = DataFilesDict.from_patterns( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-p...
21
AttributeError: '_tqdm_cls' object has no attribute '_lock' ### Describe the bug ```python File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-packages/datasets/load.py", line 1034, in get_module data_files = DataFilesDict.from_patterns( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/U...
https://github.com/huggingface/datasets/issues/6066
AttributeError: '_tqdm_cls' object has no attribute '_lock'
Yes it looks like a bug on their end indeed, do you want to open a PR on tqdm ? Let me see if I can find a workaround in the meantime
### Describe the bug ```python File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-packages/datasets/load.py", line 1034, in get_module data_files = DataFilesDict.from_patterns( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-p...
32
AttributeError: '_tqdm_cls' object has no attribute '_lock' ### Describe the bug ```python File "/Users/codingl2k1/.pyenv/versions/3.11.4/lib/python3.11/site-packages/datasets/load.py", line 1034, in get_module data_files = DataFilesDict.from_patterns( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/U...
https://github.com/huggingface/datasets/issues/6014
Request to Share/Update Dataset Viewer Code
Hi ! The huggingface/dataset-viewer code was not maintained anymore because we switched to a new dataset viewer that is deployed available for each dataset the Hugging Face website. What are you using this old repository for ?
Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of documentation of that attribute. Request: I k...
37
Request to Share/Update Dataset Viewer Code Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of docume...
https://github.com/huggingface/datasets/issues/6014
Request to Share/Update Dataset Viewer Code
I think these parts are outdated: * https://github.com/huggingface/datasets-viewer/blob/8efad8eae313a891f713469983bf4c744786f26e/run.py#L126-L131 * https://github.com/huggingface/datasets-viewer/blob/8efad8eae313a891f713469983bf4c744786f26e/run.py#L145-L150 To make the viewer work, the first one should be replac...
Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of documentation of that attribute. Request: I k...
87
Request to Share/Update Dataset Viewer Code Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of docume...
https://github.com/huggingface/datasets/issues/6014
Request to Share/Update Dataset Viewer Code
> The dataset viewer on the Hugging Face website is incredibly useful @mariosasko i think @lilyorlilypad wants to run the new dataset-viewer, not the old one
Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of documentation of that attribute. Request: I k...
26
Request to Share/Update Dataset Viewer Code Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of docume...
https://github.com/huggingface/datasets/issues/6014
Request to Share/Update Dataset Viewer Code
> wants to run the new dataset-viewer, not the old one Thanks for the clarification for me. I do want to run the new dataset-viewer.
Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of documentation of that attribute. Request: I k...
25
Request to Share/Update Dataset Viewer Code Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of docume...
https://github.com/huggingface/datasets/issues/6014
Request to Share/Update Dataset Viewer Code
It should be possible to run it locally using the HF datasets-server API (docs [here](https://huggingface.co/docs/datasets-server)) but the front end part is not open source (yet ?) The back-end is open source though if you're interested: https://github.com/huggingface/datasets-server It automatically converts data...
Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of documentation of that attribute. Request: I k...
54
Request to Share/Update Dataset Viewer Code Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of docume...
https://github.com/huggingface/datasets/issues/6014
Request to Share/Update Dataset Viewer Code
the new frontend would probably be hard to open source, as is, as it's quite intertwined with the Hub's code. However, at some point it would be amazing to have a community-driven open source implementation of a frontend to datasets-server!
Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of documentation of that attribute. Request: I k...
40
Request to Share/Update Dataset Viewer Code Overview: The repository (huggingface/datasets-viewer) was recently archived and when I tried to run the code, there was the error message "AttributeError: module 'datasets.load' has no attribute 'prepare_module'". I could not resolve the issue myself due to lack of docume...