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/5206
Use logging instead of printing to console
Actually upon closer inspection, it is documented in the code that this behavior is intentional, so I'll close this.
### Describe the bug Some logs ([here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L778), [here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L786), and [here](https://github.com/huggingfa...
19
Use logging instead of printing to console ### Describe the bug Some logs ([here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L778), [here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L78...
https://github.com/huggingface/datasets/issues/7248
ModuleNotFoundError: No module named 'datasets.tasks'
tasks was removed in v3: #6999 I also don't see why TextClassification is imported, since it's not used after. So the fix is simple: delete this line.
### Describe the bug --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) [<ipython-input-9-13b5f31bd391>](https://bcb6shpazyu-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20241022-060119_R...
27
ModuleNotFoundError: No module named 'datasets.tasks' ### Describe the bug --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) [<ipython-input-9-13b5f31bd391>](https://bcb6shpazyu-496ff2e9c6d22116-0-colab.googleuserco...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
And I don't see any speed up when increasing the number of GPUs while calling `get_nearest_examples_batch`.
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
16
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
Hi ! Yes search_batch uses FAISS search which happens in parallel across the GPUs > And I don't see any speed up when increasing the number of GPUs while calling get_nearest_examples_batch. That's unexpected, can you share the code you're running ?
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
41
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
here is the code snippet ```python # add faiss index source_dataset = load_dataset(source_path) queries = load_dataset(query_path) gpu = [0,1,2,3] source_dataset.add_faiss_index( "embedding", device=gpu, ) # batch query batch_size = 32 for i in tqdm(range(...
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
65
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
The code looks all good to me, do you see all the GPUs being utilized ? What version of faiss are you using ?
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
24
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
I can see the memory usage of all the GPUs. My version of `faiss-gpu` is `1.7.2`
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
16
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
It looks all good to me then ^^ though you said you didn't experienced speed improvements by adding more GPUs ? What size is your source dataset and what time differences did you experience ?
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
35
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
query set: 1e6 source dataset: 1e6 embedding size: 768 index: Flat topk: 20 GPU: V100 The time taken to traverse the query set once is about 1.5h, which is almost not influenced by the value of query batch size or the number of GPUs according to my experiments.
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
48
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
Hmmm the number of GPUs should divide the time, something is going wrong. Can you check that adding more GPU does divide the memory used per GPU ? Maybe it can be worth looking at similar issues in the FAISS repository or create a noew issue over there to understand what's going on
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
53
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
> Can you check that adding more GPU does divide the memory used per GPU The memory used per GPU is unchanged while adding more GPU. Is this unexpected? I used to think that every GPU loads all the source vectors and the data parallelism is at the query level. πŸ˜†
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
51
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
> I used to think that every GPU loads all the source vectors and the data parallelism is at the query level. πŸ˜† Oh indeed that's possible, I wasn't sure. Anyway you can check that calling get_nearest_examples_batch simply calls search under the hood: https://github.com/huggingface/datasets/blob/f90f71fbbb33889f...
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
44
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
Here is a runnable script. Multi-GPU searching still does not work in my experiments. ```python import os from tqdm import tqdm import numpy as np import datasets from datasets import Dataset class DPRSelector: def __init__(self, source, target, index_name, gpu=None): self.source = source...
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
163
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
Maybe @albertvillanova you can take a look ? I won't be available in the following days
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
16
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
Hi @xwwwwww I'm investigating it, but I'm not an expert in Faiss. In principle, it is weird that your code does not work properly because it seems right...
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
28
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
> Have you tried passing `gpu=-1` and check if there is a speedup? yes, there is a speed up using GPU compared with CPU.
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
24
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
When passing `device=-1`, ALL existing GPUs are used (multi GPU): this is the maximum speedup you can get. To know the number of total GPUs: ``` import faiss ngpus = faiss.get_num_gpus() print(ngpus) ``` When passing a list of integers to `device`, then only that number of GPUs are used (multi GPU as well) -...
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
140
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
Thanks for your help! Have you run the code and replicated the same experimental results (i.e., no speedup while increasing the number of GPUs)?
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
24
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
I can confirm `add_faiss_index` calls `index = faiss.index_cpu_to_gpus_list(index, gpus=list(device))`. Could this be an issue with your environment ? Could you try running with 1 and 8 GPUs with a code similar to[ this one from the FAISS examples](https://github.com/facebookresearch/faiss/blob/main/tutorial/python/...
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
51
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
Hi, I test the FAISS example and the speed indeed changes. I set `nb=1000000`, `nq=1000000` and `d=64` | num GPUS | time cost | | -------- | --------- | | 1 | 28.53 | | 5 | 7.16 |
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
39
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
Ok the benchmark is great, not sure why it doesn't speed up the index in your case though. You can try running the benchmark with the same settings as your actual dataset ``` query set: 1e6 source dataset: 1e6 embedding size: 768 index: Flat topk: 20 GPU: V100 ``` Note that you can still pass a FAISS index y...
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
66
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
> Here is a runnable script. Multi-GPU searching still does not work in my experiments. > > ```python > import os > from tqdm import tqdm > import numpy as np > import datasets > from datasets import Dataset > > class DPRSelector: > > def __init__(self, source, target, index_name, gpu=None): > ...
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
270
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/4761
parallel searching in multi-gpu setting using faiss
Hi, I have a similar question and would like to know if there's any progress in this issue. `dataset.add_faiss_index(column="embedding")`, this takes around 5minutes to add the index. `dataset.add_faiss_index(column="embedding", device=-1)`, this ran for more than 10minutes and still didn't complete execution...
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
58
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d7659...
https://github.com/huggingface/datasets/issues/3398
Add URL field to Wikimedia dataset instances: wikipedia,...
@geohci, I think the field "url" does not appear in the Wikimedia dumps. Therefore I guess we should generate it, using the "title" field and making some transformation of it (replacing spaces with underscores) and prepending the domain (created using the language)?
As reported by @geohci, in order to host pre-processed data in the Hub, we should add the full URL to data instances (new field "url"), so that we conform to proper attribution from license requirement. See, e.g.: https://fair-trec.github.io/docs/Fair_Ranking_2021_Participant_Instructions.pdf#subsection.3.2 This sho...
42
Add URL field to Wikimedia dataset instances: wikipedia,... As reported by @geohci, in order to host pre-processed data in the Hub, we should add the full URL to data instances (new field "url"), so that we conform to proper attribution from license requirement. See, e.g.: https://fair-trec.github.io/docs/Fair_Ranking_...
https://github.com/huggingface/datasets/issues/3398
Add URL field to Wikimedia dataset instances: wikipedia,...
Indeed: > To re-distribute text on Wikipedia in any form, provide credit to the authors either by including a) a [hyperlink](https://en.wikipedia.org/wiki/Hyperlink) (where possible) or [URL](https://en.wikipedia.org/wiki/URL) to the page or pages you are re-using, b) a hyperlink (where possible) or URL to an altern...
As reported by @geohci, in order to host pre-processed data in the Hub, we should add the full URL to data instances (new field "url"), so that we conform to proper attribution from license requirement. See, e.g.: https://fair-trec.github.io/docs/Fair_Ranking_2021_Participant_Instructions.pdf#subsection.3.2 This sho...
190
Add URL field to Wikimedia dataset instances: wikipedia,... As reported by @geohci, in order to host pre-processed data in the Hub, we should add the full URL to data instances (new field "url"), so that we conform to proper attribution from license requirement. See, e.g.: https://fair-trec.github.io/docs/Fair_Ranking_...
https://github.com/huggingface/datasets/issues/3398
Add URL field to Wikimedia dataset instances: wikipedia,...
yep, sorry forgot that that wasn't already in the dumps. specifically `f"https://{language}.wikipedia.org/wiki/{title.replace(' ', '_')}` should do it
As reported by @geohci, in order to host pre-processed data in the Hub, we should add the full URL to data instances (new field "url"), so that we conform to proper attribution from license requirement. See, e.g.: https://fair-trec.github.io/docs/Fair_Ranking_2021_Participant_Instructions.pdf#subsection.3.2 This sho...
17
Add URL field to Wikimedia dataset instances: wikipedia,... As reported by @geohci, in order to host pre-processed data in the Hub, we should add the full URL to data instances (new field "url"), so that we conform to proper attribution from license requirement. See, e.g.: https://fair-trec.github.io/docs/Fair_Ranking_...
https://github.com/huggingface/datasets/issues/3398
Add URL field to Wikimedia dataset instances: wikipedia,...
Thanks @geohci. I had already been looking for information about the conversion from title to URL and I found that apart from replacing blanks with underscores, some other special character must also be percent-encoded (e.g. `"` to `%22`): https://meta.wikimedia.org/wiki/Help:URL Therefore, I have finally used `u...
As reported by @geohci, in order to host pre-processed data in the Hub, we should add the full URL to data instances (new field "url"), so that we conform to proper attribution from license requirement. See, e.g.: https://fair-trec.github.io/docs/Fair_Ranking_2021_Participant_Instructions.pdf#subsection.3.2 This sho...
123
Add URL field to Wikimedia dataset instances: wikipedia,... As reported by @geohci, in order to host pre-processed data in the Hub, we should add the full URL to data instances (new field "url"), so that we conform to proper attribution from license requirement. See, e.g.: https://fair-trec.github.io/docs/Fair_Ranking_...
https://github.com/huggingface/datasets/issues/4093
elena-soare/crawled-ecommerce: missing dataset
By the way, the error on our part is due to the huge size of every row (~90MB). The dataset viewer does not support such big dataset rows for the moment. Anyway, we're working to give a hint about this in the dataset viewer.
elena-soare/crawled-ecommerce **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No
44
elena-soare/crawled-ecommerce: missing dataset elena-soare/crawled-ecommerce **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No By the way, the error on our part is due to the huge size of every row (~90MB). The dataset viewer does not su...
https://github.com/huggingface/datasets/issues/4093
elena-soare/crawled-ecommerce: missing dataset
Fixed. See https://huggingface.co/datasets/elena-soare/crawled-ecommerce/viewer/elena-soare--crawled-ecommerce/train. <img width="1552" alt="Capture d’écran 2022-04-12 aΜ€ 11 23 51" src="https://user-images.githubusercontent.com/1676121/162929722-2e2b80e2-154a-4b61-87bd-e341bd6c46e6.png"> Thanks for reporting!
elena-soare/crawled-ecommerce **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No
16
elena-soare/crawled-ecommerce: missing dataset elena-soare/crawled-ecommerce **Link:** *link to the dataset viewer page* *short description of the issue* Am I the one who added this dataset ? Yes-No Fixed. See https://huggingface.co/datasets/elena-soare/crawled-ecommerce/viewer/elena-soare--crawled-ecommerce...
https://github.com/huggingface/datasets/issues/4910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
I am getting similar error - `TypeError: type object got multiple values for keyword argument 'name'` while following this [tutorial](https://huggingface.co/docs/datasets/dataset_script#create-a-dataset-loading-script). I am getting this error with the `dataset-cli test` command. `datasets` version: 2.4.0
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
33
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this pro...
https://github.com/huggingface/datasets/issues/4910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
In my case, this was happening because I defined multiple `BuilderConfig` for multiple types, but didn't had all the data files that are requierd by those configs. I think this is different than the original issue by @bablf .
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
39
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this pro...
https://github.com/huggingface/datasets/issues/4910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
Hi ! I think this can be fixed by letting the config_kwargs take over the builder kwargs here: https://github.com/huggingface/datasets/blob/7feeb5648a63b6135a8259dedc3b1e19185ee4c7/src/datasets/load.py#L1533-L1534 maybe something like this ? ```python **{**builder_kwargs, **config_kwargs} ``` Let me kno...
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
101
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this pro...
https://github.com/huggingface/datasets/issues/4910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
Cool thank you ! Let me know if you have questions or if I can help
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
16
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this pro...
https://github.com/huggingface/datasets/issues/4910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
@lhoestq On second thoughts, I think this might be expected behavior; although a better error message might help. Reasoning: Given n configs, if no data file is provided for any config, then it should be an error. Then why it should not be the case if out of n configs, for some data files are provided but not for ot...
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
69
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this pro...
https://github.com/huggingface/datasets/issues/4910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
Ok I see - maybe we should check the values of builder_kwargs raise an error if any key in config_kwargs tries to overwrite it ? The builder kwargs are determined from the builder's type and location (in some cases it forces the base_path, data_files and config name for example)
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
49
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this pro...
https://github.com/huggingface/datasets/issues/4910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
@lhoestq is this is issue resolved if not I will open a PR for this issue, if u assign me as an assignee
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
23
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this pro...
https://github.com/huggingface/datasets/issues/4910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
I think the original issue is not relevant anymore, in what case are you experiencing this kind of issue ?
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
20
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this pro...
https://github.com/huggingface/datasets/issues/4910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
Hi @lhoestq! Fix #4910: Merge builder_kwargs + config_kwargs to user base_path wins. 1 line in src/datasets/load.py + tests pass. May I submit PR?
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
23
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this pro...
https://github.com/huggingface/datasets/issues/4910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
Hi @lhoestq I have added a PR #8206 regrading this issue. All tests passed. Kindly review.
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
16
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this pro...
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
What is the version of your installed `huggingface-hub`: ```python import huggingface_hub print(huggingface_hub.__version__) ``` It seems you have a very old version of `huggingface-hub`, where `CommitInfo` was not still implemented. You need to update it: ``` pip install -U huggingface-hub ``` Note that `...
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
52
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install ...
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
The error message says there is no CommitInfo in your installed huggingface-hub library: ``` ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub_init_.py) ``` And this is implemented since version 0.10.0: - https://github.com/huggingface...
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
32
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install ...
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
I am getting the exact same issue when I `import datasets`. The version of my huggingface-hub is also 0.23.4. I dont see a solution in the comments. Not sure why is this issue closed?
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
34
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install ...
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
I closed the issue because the problem is not related to the `datasets` library. The problem is with your local Python environment: it seems corrupted. You could try to remove it and regenerate it again.
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
35
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install ...
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
I have recreated my conda environment but still run into the same issue. Here is my environment: ``` conda create --name esm python=3.10 conda activate esm conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia pip3 install -r requirements.txt ``` Requirements.txt ``` accelerate...
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
99
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install ...
https://github.com/huggingface/datasets/issues/5114
load_from_disk with remote filesystem fails due to a wrong temporary local folder path
Hi Hubert! Could you please probably create a publicly available `gs://` dataset link? I think this would be easier for others to directly start to debug.
## Describe the bug The function load_from_disk fails when using a remote filesystem because of a wrong temporary path generation in the load_from_disk method of arrow_dataset.py: ```python if is_remote_filesystem(fs): src_dataset_path = extract_path_from_uri(dataset_path) dataset_path = Dataset._build...
26
load_from_disk with remote filesystem fails due to a wrong temporary local folder path ## Describe the bug The function load_from_disk fails when using a remote filesystem because of a wrong temporary path generation in the load_from_disk method of arrow_dataset.py: ```python if is_remote_filesystem(fs): sr...
https://github.com/huggingface/datasets/issues/6796
CI is broken due to hf-internal-testing/dataset_with_script
Finally: - the initial issue seems it was temporary - there is a different issue now: https://github.com/huggingface/datasets/actions/runs/8627153993/job/23646584590?pr=6797 ``` FAILED tests/test_load.py::ModuleFactoryTest::test_HubDatasetModuleFactoryWithParquetExport - datasets.utils._dataset_viewer.DatasetViewer...
CI is broken for test_load_dataset_distributed_with_script. See: https://github.com/huggingface/datasets/actions/runs/8614926216/job/23609378127 ``` FAILED tests/test_load.py::test_load_dataset_distributed_with_script[None] - assert False + where False = all(<generator object test_load_dataset_distributed_with_scr...
55
CI is broken due to hf-internal-testing/dataset_with_script CI is broken for test_load_dataset_distributed_with_script. See: https://github.com/huggingface/datasets/actions/runs/8614926216/job/23609378127 ``` FAILED tests/test_load.py::test_load_dataset_distributed_with_script[None] - assert False + where False = ...
https://github.com/huggingface/datasets/issues/6796
CI is broken due to hf-internal-testing/dataset_with_script
This URL: https://datasets-server.huggingface.co/parquet?dataset=hf-internal-testing/dataset_with_script raises: > {"error":"The dataset viewer doesn't support this dataset because it runs arbitrary python code. Please open a discussion in the discussion tab if you think this is an error and tag @lhoestq and @severo....
CI is broken for test_load_dataset_distributed_with_script. See: https://github.com/huggingface/datasets/actions/runs/8614926216/job/23609378127 ``` FAILED tests/test_load.py::test_load_dataset_distributed_with_script[None] - assert False + where False = all(<generator object test_load_dataset_distributed_with_scr...
49
CI is broken due to hf-internal-testing/dataset_with_script CI is broken for test_load_dataset_distributed_with_script. See: https://github.com/huggingface/datasets/actions/runs/8614926216/job/23609378127 ``` FAILED tests/test_load.py::test_load_dataset_distributed_with_script[None] - assert False + where False = ...
https://github.com/huggingface/datasets/issues/6796
CI is broken due to hf-internal-testing/dataset_with_script
OK, I just saw this PR: - https://github.com/huggingface/dataset-viewer/pull/2689 Once merged and deployed, it should fix the issue.
CI is broken for test_load_dataset_distributed_with_script. See: https://github.com/huggingface/datasets/actions/runs/8614926216/job/23609378127 ``` FAILED tests/test_load.py::test_load_dataset_distributed_with_script[None] - assert False + where False = all(<generator object test_load_dataset_distributed_with_scr...
17
CI is broken due to hf-internal-testing/dataset_with_script CI is broken for test_load_dataset_distributed_with_script. See: https://github.com/huggingface/datasets/actions/runs/8614926216/job/23609378127 ``` FAILED tests/test_load.py::test_load_dataset_distributed_with_script[None] - assert False + where False = ...
https://github.com/huggingface/datasets/issues/6796
CI is broken due to hf-internal-testing/dataset_with_script
Once the script-dataset has been allowed in the dataset-viewer, we should fix our test to make the CI pass. I am addressing this.
CI is broken for test_load_dataset_distributed_with_script. See: https://github.com/huggingface/datasets/actions/runs/8614926216/job/23609378127 ``` FAILED tests/test_load.py::test_load_dataset_distributed_with_script[None] - assert False + where False = all(<generator object test_load_dataset_distributed_with_scr...
23
CI is broken due to hf-internal-testing/dataset_with_script CI is broken for test_load_dataset_distributed_with_script. See: https://github.com/huggingface/datasets/actions/runs/8614926216/job/23609378127 ``` FAILED tests/test_load.py::test_load_dataset_distributed_with_script[None] - assert False + where False = ...
https://github.com/huggingface/datasets/issues/3828
The Pile's _FEATURE spec seems to be incorrect
Hi @dlwh, thanks for reporting. Please note, that the source data files for "all" config are different from the other configurations. The "all" config contains the official Pile data files, from https://mystic.the-eye.eu/public/AI/pile/ All data examples contain a "meta" dict with a single "pile_set_name" key: ...
## Describe the bug If you look at https://huggingface.co/datasets/the_pile/blob/main/the_pile.py: For "all" * the pile_set_name is never set for data * there's actually an id field inside of "meta" For subcorpora pubmed_central and hacker_news: * the meta is specified to be a string, but it's actually a di...
219
The Pile's _FEATURE spec seems to be incorrect ## Describe the bug If you look at https://huggingface.co/datasets/the_pile/blob/main/the_pile.py: For "all" * the pile_set_name is never set for data * there's actually an id field inside of "meta" For subcorpora pubmed_central and hacker_news: * the meta is s...
https://github.com/huggingface/datasets/issues/5773
train_dataset does not implement __len__
Thanks for reporting, @v-yunbin. Could you please give more details, the steps to reproduce the bug, the complete error back trace and the environment information (`datasets-cli env`)?
when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.`
27
train_dataset does not implement __len__ when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning...
https://github.com/huggingface/datasets/issues/5773
train_dataset does not implement __len__
this is a detail error info from transformers: ``` Traceback (most recent call last): File "finetune.py", line 177, in <module> whisper_finetune(traindir,devdir,outdir) File "finetune.py", line 161, in whisper_finetune trainer = Seq2SeqTrainer( File "/home/ybZhang/miniconda3/envs/whister/lib/python...
when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.`
73
train_dataset does not implement __len__ when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning...
https://github.com/huggingface/datasets/issues/5773
train_dataset does not implement __len__
How did you create `train_dataset`? The `datasets` library does not appear in your stack trace. We need more information in order to reproduce the issue...
when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.`
25
train_dataset does not implement __len__ when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning...
https://github.com/huggingface/datasets/issues/5773
train_dataset does not implement __len__
``` def asr_dataset(traindir,devdir): we_voice = IterableDatasetDict() #we_voice["train"] = load_from_disk(traindir,streaming=True) #we_voice["test"]= load_from_disk(devdir,streaming=True) we_voice["train"] = load_dataset("csv",data_files=os.path.join(traindir,"train.csv"),split="train",streaming=T...
when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.`
29
train_dataset does not implement __len__ when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning...
https://github.com/huggingface/datasets/issues/5773
train_dataset does not implement __len__
As you are using iterable datasets (`streaming=True`), their length is not defined. You should: - Either use non-iterable datasets, which have a defined length: use `DatasetDict` and not passing `streaming=True` - Or pass `args.max_steps` to the `Trainer`
when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.`
37
train_dataset does not implement __len__ when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning...
https://github.com/huggingface/datasets/issues/5773
train_dataset does not implement __len__
@albertvillanova I think @v-yunbin, myself, and others might be slightly confused about max_steps and how it differs from num_train_epochs.
when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.`
19
train_dataset does not implement __len__ when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning...
https://github.com/huggingface/datasets/issues/5773
train_dataset does not implement __len__
@lkurlandski A **step** is referring to optimizer's update after back propagation, and it's associated with a batch of data. For example, if a dataset contains 64 examples and you have an overall batch size of 4, then an epoch will have 64/4=16 batches. Therefore, in one epoch, you will have 16 optimizer **steps**.
when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.`
53
train_dataset does not implement __len__ when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers: `ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning...
https://github.com/huggingface/datasets/issues/7048
ImportError: numpy.core.multiarray when using `filter`
I got this issue while using numpy version 2.0. I solved it by switching back to numpy 1.26.0 :)
### Describe the bug I can't apply the filter method on my dataset. ### Steps to reproduce the bug The following snippet generates a bug: ```python from datasets import load_dataset ami = load_dataset('kamilakesbi/ami', 'ihm') ami['train'].filter( lambda example: example["file_name"] == 'EN2001a' ...
19
ImportError: numpy.core.multiarray when using `filter` ### Describe the bug I can't apply the filter method on my dataset. ### Steps to reproduce the bug The following snippet generates a bug: ```python from datasets import load_dataset ami = load_dataset('kamilakesbi/ami', 'ihm') ami['train'].filter( ...
https://github.com/huggingface/datasets/issues/7048
ImportError: numpy.core.multiarray when using `filter`
Ok I see, thanks! I think we can close this issue for now as switching back to version 1.26.0 solves the problem :)
### Describe the bug I can't apply the filter method on my dataset. ### Steps to reproduce the bug The following snippet generates a bug: ```python from datasets import load_dataset ami = load_dataset('kamilakesbi/ami', 'ihm') ami['train'].filter( lambda example: example["file_name"] == 'EN2001a' ...
23
ImportError: numpy.core.multiarray when using `filter` ### Describe the bug I can't apply the filter method on my dataset. ### Steps to reproduce the bug The following snippet generates a bug: ```python from datasets import load_dataset ami = load_dataset('kamilakesbi/ami', 'ihm') ami['train'].filter( ...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
@sanchit-gandhi can you please also post the logs of `pip install soundfile==0.12.1`? To check what wheel is being installed or if it's being built from source (I think it's the latter case). Required `libsndfile` binary **should** be bundeled with `soundfile` wheel but I assume it **might not** be the case for some ...
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
197
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
Not sure if it may help, but you could also try updating `pip` before installing soundfile
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
16
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
@lhoestq @sanchit-gandhi. I encountered the same error (also on the TPU v4) when trying to run `datasets` from source. Downgrading soundfile with `pip install soundfile==0.12.0` seems to fix the issue for me.
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
32
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
Maybe let's open an issue at https://github.com/bastibe/python-soundfile/issues in case they might know why you get `OSError: cannot load library 'libsndfile.so'` ?
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
21
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
> @sanchit-gandhi can you please also post the logs of `pip install soundfile==0.12.1`? To check what wheel is being installed or if it's being built from source (I think it's the latter case). Required `libsndfile` binary **should** be bundeled with `soundfile` wheel but I assume it **might not** be the case for some ...
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
119
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
Thank you so much for the comprehensive instructions @polinaeterna! Also confirming that they worked for me πŸ€— In my case, I had to run several of these commands under "sudo" for privileges, but otherwise this workaround gave a successful `libsndfile` install: 1. Grab source code: ``` git clone https://github.com/...
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
120
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
On a different machine, I also tried separately by first upgrading pip, then installing soundfile. This worked too! Thanks @lhoestq πŸ™Œ
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
21
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
> @sanchit-gandhi can you please also post the logs of `pip install soundfile==0.12.1`? To check what wheel is being installed or if it's being built from source (I think it's the latter case). Required `libsndfile` binary **should** be bundeled with `soundfile` wheel but I assume it **might not** be the case for some ...
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
257
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
> Thank you so much for the comprehensive instructions @polinaeterna! Also confirming that they worked for me πŸ€— In my case, I had to run several of these commands under "sudo" for privileges, but otherwise this workaround gave a successful `libsndfile` install: > > 1. Grab source code: > > ``` > git clone https...
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
171
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
I had the same issue but it is working now! Thanks for all of your comments!
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
16
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
I had the same issue on SageMaker but not on Colab; The `soundfile` versioning was fine. my approach to solve it was to match {"numpy", "numba"} exact versions ``` ! pip install "numpy==1.23.5" ! pip install "numpy==0.58.1" ``` the numbers are from Colab where successfully I could do the job.
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
50
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/5659
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files
> Thank you so much for the comprehensive instructions @polinaeterna! Also confirming that they worked for me πŸ€— In my case, I had to run several of these commands under "sudo" for privileges, but otherwise this workaround gave a successful `libsndfile` install: > > 1. Grab source code: > > ``` > git clone https...
### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfile`/`libsndfile` libraries for loading audio samples, regardless of their file t...
171
[Audio] Soundfile/libsndfile requirements too stringent for decoding mp3 files ### Describe the bug I'm encountering several issues trying to load mp3 audio files using `datasets` on a TPU v4. The PR https://github.com/huggingface/datasets/pull/5573 updated the audio loading logic to rely solely on the `soundfil...
https://github.com/huggingface/datasets/issues/7636
"open" in globals()["__builtins__"], an error occurs: "TypeError: argument of type 'module' is not iterable"
@kuanyan9527 Your query is indeed valid. Following could be its reasoning: Quoting from https://stackoverflow.com/a/11181607: "By default, when in the `__main__` module,` __builtins__` is the built-in module `__builtin__` (note: no 's'); when in any other module, `__builtins__` is an alias for the dictionary of the `_...
When I run the following code, an error occurs: "TypeError: argument of type 'module' is not iterable" ```python print("open" in globals()["__builtins__"]) ``` Traceback (most recent call last): File "./main.py", line 2, in <module> print("open" in globals()["__builtins__"]) ^^^^^^^^^^^^^^^^^^^^^^ TypeE...
106
"open" in globals()["__builtins__"], an error occurs: "TypeError: argument of type 'module' is not iterable" When I run the following code, an error occurs: "TypeError: argument of type 'module' is not iterable" ```python print("open" in globals()["__builtins__"]) ``` Traceback (most recent call last): File "./main.p...
https://github.com/huggingface/datasets/issues/7636
"open" in globals()["__builtins__"], an error occurs: "TypeError: argument of type 'module' is not iterable"
@kuanyan9527 Are there any more queries in this regards, else please feel free to close the issue. Thank you.
When I run the following code, an error occurs: "TypeError: argument of type 'module' is not iterable" ```python print("open" in globals()["__builtins__"]) ``` Traceback (most recent call last): File "./main.py", line 2, in <module> print("open" in globals()["__builtins__"]) ^^^^^^^^^^^^^^^^^^^^^^ TypeE...
19
"open" in globals()["__builtins__"], an error occurs: "TypeError: argument of type 'module' is not iterable" When I run the following code, an error occurs: "TypeError: argument of type 'module' is not iterable" ```python print("open" in globals()["__builtins__"]) ``` Traceback (most recent call last): File "./main.p...
https://github.com/huggingface/datasets/issues/7636
"open" in globals()["__builtins__"], an error occurs: "TypeError: argument of type 'module' is not iterable"
I encountered this error when running datasets with pypy, `TypeError: argument of type 'module' is not iterable` in [src/datasets/utils/patching.py#L96](https://github.com/huggingface/datasets/blob/3.6.0/src/datasets/utils/patching.py#L96) by modifying `globals()["__builtins__"]` to `builtins.__dict__`, importing via `...
When I run the following code, an error occurs: "TypeError: argument of type 'module' is not iterable" ```python print("open" in globals()["__builtins__"]) ``` Traceback (most recent call last): File "./main.py", line 2, in <module> print("open" in globals()["__builtins__"]) ^^^^^^^^^^^^^^^^^^^^^^ TypeE...
35
"open" in globals()["__builtins__"], an error occurs: "TypeError: argument of type 'module' is not iterable" When I run the following code, an error occurs: "TypeError: argument of type 'module' is not iterable" ```python print("open" in globals()["__builtins__"]) ``` Traceback (most recent call last): File "./main.p...
https://github.com/huggingface/datasets/issues/6552
Loading a dataset from Google Colab hangs at "Resolving data files".
This bug comes from the `huggingface_hub` library, see: https://github.com/huggingface/huggingface_hub/issues/1952 A fix is provided at https://github.com/huggingface/huggingface_hub/pull/1953. Feel free to install `huggingface_hub` from this PR, or wait for it to be merged and the new version of `huggingface_hub` t...
### Describe the bug Hello, I'm trying to load a dataset from Google Colab but the process hangs at `Resolving data files`: ![image](https://github.com/huggingface/datasets/assets/99779/7175ad85-e571-46ed-9f87-92653985777d) It is happening when the `_get_origin_metadata` definition is invoked: ```python d...
39
Loading a dataset from Google Colab hangs at "Resolving data files". ### Describe the bug Hello, I'm trying to load a dataset from Google Colab but the process hangs at `Resolving data files`: ![image](https://github.com/huggingface/datasets/assets/99779/7175ad85-e571-46ed-9f87-92653985777d) It is happening w...
https://github.com/huggingface/datasets/issues/4670
Can't extract files from `.7z` zipfile using `download_and_extract`
Hi @bhavitvyamalik, thanks for reporting. Yes, currently we do not support 7zip archive compression: I think we should. As a workaround, you could uncompress it explicitly, like done in e.g. `samsum` dataset: https://github.com/huggingface/datasets/blob/fedf891a08bfc77041d575fad6c26091bc0fce52/datasets/samsum...
## Describe the bug I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error: ``` >>> dataset = load_dataset("./datasets/mantis/") Using custom data configuration d...
33
Can't extract files from `.7z` zipfile using `download_and_extract` ## Describe the bug I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error: ``` >>> dataset = l...
https://github.com/huggingface/datasets/issues/4670
Can't extract files from `.7z` zipfile using `download_and_extract`
Sure, let me look into and check what can be done. Will keep you guys updated here!
## Describe the bug I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error: ``` >>> dataset = load_dataset("./datasets/mantis/") Using custom data configuration d...
17
Can't extract files from `.7z` zipfile using `download_and_extract` ## Describe the bug I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error: ``` >>> dataset = l...
https://github.com/huggingface/datasets/issues/4670
Can't extract files from `.7z` zipfile using `download_and_extract`
Initially, I thought of solving this without any external dependency. Almost everywhere I saw `lzma` can be used for this but there is a caveat that lzma doesn’t work with 7z archives but only single files. In my case the 7z archive has multiple files so it didn't work. Is it fine to use external library here?
## Describe the bug I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error: ``` >>> dataset = load_dataset("./datasets/mantis/") Using custom data configuration d...
57
Can't extract files from `.7z` zipfile using `download_and_extract` ## Describe the bug I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error: ``` >>> dataset = l...
https://github.com/huggingface/datasets/issues/4670
Can't extract files from `.7z` zipfile using `download_and_extract`
Hi @bhavitvyamalik, thanks for your investigation. On Monday, I started a PR that will eventually close this issue as well: I'm linking it to this. - #4672 Let me know what you think.
## Describe the bug I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error: ``` >>> dataset = load_dataset("./datasets/mantis/") Using custom data configuration d...
33
Can't extract files from `.7z` zipfile using `download_and_extract` ## Describe the bug I'm adding a new dataset which is a `.7z` zip file in Google drive and contains 3 json files inside. I'm able to download the data files using `download_and_extract` but after downloading it throws this error: ``` >>> dataset = l...
https://github.com/huggingface/datasets/issues/5394
CI error: TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'
@MFatnassi, this issue and the corresponding fix only affect our Continuous Integration testing environment. Note that `datasets` does not depend on `spacy`.
### Describe the bug While installing the dependencies, the CI raises a TypeError: ``` Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/opt/hoste...
22
CI error: TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers' ### Describe the bug While installing the dependencies, the CI raises a TypeError: ``` Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/runpy.py", line 183, in _run_module_...
https://github.com/huggingface/datasets/issues/5632
Dataset cannot convert too large dictionnary
Answered on the forum: > To fix the overflow error, we need to merge [support LargeListArray in pyarrow by xwwwwww Β· Pull Request #4800 Β· huggingface/datasets Β· GitHub](https://github.com/huggingface/datasets/pull/4800), which adds support for the large lists. However, before merging it, we need to come up with a cl...
### Describe the bug Hello everyone! I tried to build a new dataset with the command "dict_valid = datasets.Dataset.from_dict({'input_values': values_array})". However, I have a very large dataset (~400Go) and it seems that dataset cannot handle this. Indeed, I can create the dataset until a certain size of m...
63
Dataset cannot convert too large dictionnary ### Describe the bug Hello everyone! I tried to build a new dataset with the command "dict_valid = datasets.Dataset.from_dict({'input_values': values_array})". However, I have a very large dataset (~400Go) and it seems that dataset cannot handle this. Indeed, I can...
https://github.com/huggingface/datasets/issues/4379
Latest dill release raises exception
Just an additional insight, the latest dill (either 0.3.5 or 0.3.5.1) also broke the hashing/fingerprinting of any mapping function. For example: ``` from datasets import load_dataset d = load_dataset("rotten_tomatoes") d.map(lambda x: x) ``` Returns the standard non-dillable error: ``` Parameter 'functi...
## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): s...
53
Latest dill release raises exception ## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None de...
https://github.com/huggingface/datasets/issues/4379
Latest dill release raises exception
Thanks a lot @gugarosa for the insight: we will incorporate it in our CI as regression testing for future dill releases.
## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): s...
21
Latest dill release raises exception ## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None de...
https://github.com/huggingface/datasets/issues/4379
Latest dill release raises exception
@albertvillanova I did a deep dive into @gugarosa's problem and found the issue and it might be related to the one @sgugger discovered. In dill 0.3.5(.1), I created a new `save_function` that fixes a bug in dill that prevented the pickling of recursive inner functions. It was a more complete solution to the problem th...
## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): s...
327
Latest dill release raises exception ## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None de...
https://github.com/huggingface/datasets/issues/4379
Latest dill release raises exception
Thanks a lot for your investigation @anivegesana. Yes, we copied-pasted the old `save_function` function from `dill`, just adding a line to make deterministic the order of global variables `globs`. However, this function has changed a lot from version 0.3.5, after your PR (thank you for the fix in recursiveness,...
## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): s...
107
Latest dill release raises exception ## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None de...
https://github.com/huggingface/datasets/issues/4379
Latest dill release raises exception
I should note that because Python 3.6 and older are now deprecated and Python 3.7 has insertion order dictionaries, the globals in dill will have a deterministic order, just not sorted. I would still keep it sorted like you have it to help with stability (for example, if someone reorders variables in a file, then sorti...
## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None def get(self, timeout=None): s...
95
Latest dill release raises exception ## Describe the bug As reported by @sgugger, latest dill release is breaking things with Datasets. ``` ______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________ self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None de...
https://github.com/huggingface/datasets/issues/6716
Non-deterministic `Dataset.builder_name` value
When `rotten_tomatoes` is printed out, the following warning message is also printed out: ``` You can avoid this message in future by passing the argument `trust_remote_code=True`. Passing `trust_remote_code=True` will be mandatory to load this dataset from the next major release of `datasets`. ```
### Describe the bug I'm not sure if this is a bug, but `print(ds.builder_name)` in the following code sometimes prints out `rotten_tomatoes` instead of `parquet`: ```python import datasets for _ in range(100): ds = datasets.load_dataset("rotten_tomatoes", split="train") print(ds.builder_name) # pr...
43
Non-deterministic `Dataset.builder_name` value ### Describe the bug I'm not sure if this is a bug, but `print(ds.builder_name)` in the following code sometimes prints out `rotten_tomatoes` instead of `parquet`: ```python import datasets for _ in range(100): ds = datasets.load_dataset("rotten_tomatoes", s...
https://github.com/huggingface/datasets/issues/6716
Non-deterministic `Dataset.builder_name` value
Hi ! This behavior happens because the dataset was originakky created using a dataset script [rotten_tomatoes.py](https://huggingface.co/datasets/rotten_tomatoes/blob/26f40d324d7b281d8b3fb1c47f30f8b9957f206b/rotten_tomatoes.py) and because we added features recently allowing to download the dataset directly from Parque...
### Describe the bug I'm not sure if this is a bug, but `print(ds.builder_name)` in the following code sometimes prints out `rotten_tomatoes` instead of `parquet`: ```python import datasets for _ in range(100): ds = datasets.load_dataset("rotten_tomatoes", split="train") print(ds.builder_name) # pr...
101
Non-deterministic `Dataset.builder_name` value ### Describe the bug I'm not sure if this is a bug, but `print(ds.builder_name)` in the following code sometimes prints out `rotten_tomatoes` instead of `parquet`: ```python import datasets for _ in range(100): ds = datasets.load_dataset("rotten_tomatoes", s...
https://github.com/huggingface/datasets/issues/6716
Non-deterministic `Dataset.builder_name` value
> we automatically export them in the refs/convert/parquet branch When this operation is in progress, the parquet files become temporarily unavailable?
### Describe the bug I'm not sure if this is a bug, but `print(ds.builder_name)` in the following code sometimes prints out `rotten_tomatoes` instead of `parquet`: ```python import datasets for _ in range(100): ds = datasets.load_dataset("rotten_tomatoes", split="train") print(ds.builder_name) # pr...
21
Non-deterministic `Dataset.builder_name` value ### Describe the bug I'm not sure if this is a bug, but `print(ds.builder_name)` in the following code sometimes prints out `rotten_tomatoes` instead of `parquet`: ```python import datasets for _ in range(100): ds = datasets.load_dataset("rotten_tomatoes", s...
https://github.com/huggingface/datasets/issues/6716
Non-deterministic `Dataset.builder_name` value
> When this operation is in progress, the parquet files become temporarily unavailable? Yes correct. I just merged the patch btw :)
### Describe the bug I'm not sure if this is a bug, but `print(ds.builder_name)` in the following code sometimes prints out `rotten_tomatoes` instead of `parquet`: ```python import datasets for _ in range(100): ds = datasets.load_dataset("rotten_tomatoes", split="train") print(ds.builder_name) # pr...
22
Non-deterministic `Dataset.builder_name` value ### Describe the bug I'm not sure if this is a bug, but `print(ds.builder_name)` in the following code sometimes prints out `rotten_tomatoes` instead of `parquet`: ```python import datasets for _ in range(100): ds = datasets.load_dataset("rotten_tomatoes", s...
https://github.com/huggingface/datasets/issues/3859
Unable to dowload big_patent (FileNotFoundError)
Hi @slvcsl, thanks for reporting. Yesterday we just made a patch release of our `datasets` library that fixes this issue: version 1.18.4. https://pypi.org/project/datasets/#history Please, feel free to update `datasets` library to the latest version: ```shell pip install -U datasets ``` And then you should ...
## Describe the bug I am trying to download some splits of the big_patent dataset, using the following code: `ds = load_dataset("big_patent", "g", split="validation", download_mode="force_redownload") ` However, this leads to a FileNotFoundError. FileNotFoundError Traceback (most recent...
115
Unable to dowload big_patent (FileNotFoundError) ## Describe the bug I am trying to download some splits of the big_patent dataset, using the following code: `ds = load_dataset("big_patent", "g", split="validation", download_mode="force_redownload") ` However, this leads to a FileNotFoundError. FileNotFoundErr...
https://github.com/huggingface/datasets/issues/3253
`GeneratorBasedBuilder` does not support `None` values
Hi, thanks for reporting and providing a minimal reproducible example. This line of the PR I've linked in our discussion on the Forum will add support for `None` values: https://github.com/huggingface/datasets/blob/a53de01842aac65c66a49b2439e18fa93ff73ceb/src/datasets/features/features.py#L835 I expect that ...
## Describe the bug `GeneratorBasedBuilder` does not support `None` values. ## Steps to reproduce the bug See [this repository](https://github.com/pavel-lexyr/huggingface-datasets-bug-reproduction) for minimal reproduction. ## Expected results Dataset is initialized with a `None` value in the `value` column. ...
38
`GeneratorBasedBuilder` does not support `None` values ## Describe the bug `GeneratorBasedBuilder` does not support `None` values. ## Steps to reproduce the bug See [this repository](https://github.com/pavel-lexyr/huggingface-datasets-bug-reproduction) for minimal reproduction. ## Expected results Dataset is i...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
Please note that the error is raised just at import: ```python import pyarrow.parquet as pq ``` Therefore it must be caused by some problem with your pyarrow installation. I would recommend you uninstall and install pyarrow again. I also see that it seems you use conda to install pyarrow. Please note that pyar...
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
121
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hug...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
It is not a problem with the `datasets` library: we support latest version of `pyarrow` and our Continuous Integration tests are using pyarrow 16.1.0 without any problem. The error reported here is raised when importing pyarrow.parquet: ``` ---> 29 import pyarrow.parquet as pq ``` ``` File /opt/conda/lib/python...
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
211
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hug...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
I'm still seeing the same issue on datasets version 2.20.0. I installed pyarrow version 17.0.0 with `pip install`. Downgrading to pyarrow==15.0.2 also did not resolve the issue.
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
27
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hug...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
@RenaLu As of UTC time 07/27/2024 23:20:00, I hit the same issue and reinstalling `pyarrow==15.0.2` resolved the issue for me. You may want to check if your `pyarrow` is successfully downgraded.
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
31
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hug...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
I can confirm @albertvillanova's [analysis & suggestion](https://github.com/huggingface/datasets/issues/6985#issuecomment-2188022888) - `pip uninstall pyarrow` followed by `pip install pyarrow` solved it for me. I suspect this is because pyarrow was initially installed as a pandas extra `pandas[...,parquet,...]`, t...
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
49
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hug...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
After trying all the above combinations and failing, running the following in the notebook fixed the error!! `!conda install -c conda-forge -y datasets pyarrow libparquet` Note : Uninstall any existing dataset and pyarrow installations in the env before executing the above.
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
41
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hug...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
If on colab, remember to restart the runtime so the new pyarrow is imported. I also upgraded pip which is recommended in pyarrow's installation instructions.
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
25
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hug...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
fixed doing this: !pip install --upgrade datasets !pip show pyarrow !pip show datasets !pip uninstall -y pyarrow !pip install pyarrow --no-cache-dir !pip install pyarrow !pip install transformers !pip install --upgrade datasets !pip install datasets ! pip install pyarrow ! pip install pyarrow.parquet !pip ...
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
72
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hug...