url stringlengths 61 61 | repository_url stringclasses 1
value | labels_url stringlengths 75 75 | comments_url stringlengths 70 70 | events_url stringlengths 68 68 | html_url stringlengths 51 51 | id int64 1.13B 3.52B | node_id stringlengths 18 18 | number int64 3.7k 7.82k | title stringlengths 1 290 | labels listlengths 0 4 | state stringclasses 2
values | locked bool 1
class | assignee null | assignees listlengths 0 3 | milestone null | comments int64 0 49 | created_at int64 1.64k 1.76k | updated_at int64 1.64k 1.76k | closed_at int64 1.64k 1.76k ⌀ | author_association stringclasses 4
values | type null | active_lock_reason null | body stringlengths 1 58.6k ⌀ | closed_by null | timeline_url stringlengths 70 70 | performed_via_github_app null | state_reason stringclasses 4
values | user.login stringlengths 3 26 | user.id int64 3.5k 219M | user.node_id stringlengths 12 20 | user.avatar_url stringlengths 48 53 | user.gravatar_id stringclasses 1
value | user.url stringlengths 32 55 | user.html_url stringlengths 22 45 | user.followers_url stringlengths 42 65 | user.following_url stringlengths 55 78 | user.gists_url stringlengths 48 71 | user.starred_url stringlengths 55 78 | user.subscriptions_url stringlengths 46 69 | user.organizations_url stringlengths 37 60 | user.repos_url stringlengths 38 61 | user.events_url stringlengths 49 72 | user.received_events_url stringlengths 48 71 | user.type stringclasses 1
value | user.user_view_type stringclasses 1
value | user.site_admin bool 1
class | sub_issues_summary.total float64 0 0 | sub_issues_summary.completed float64 0 0 | sub_issues_summary.percent_completed float64 0 0 | issue_dependencies_summary.blocked_by float64 0 0 | issue_dependencies_summary.total_blocked_by float64 0 0 | issue_dependencies_summary.blocking float64 0 0 | issue_dependencies_summary.total_blocking float64 0 0 | reactions.url stringlengths 71 71 | reactions.total_count int64 0 61 | reactions.+1 int64 0 39 | reactions.-1 int64 0 0 | reactions.laugh int64 0 0 | reactions.hooray int64 0 2 | reactions.confused int64 0 3 | reactions.heart int64 0 22 | reactions.rocket int64 0 6 | reactions.eyes int64 0 5 | draft null | pull_request.url null | pull_request.html_url null | pull_request.diff_url null | pull_request.patch_url null | pull_request.merged_at null | closed_by.login stringclasses 346
values | closed_by.id float64 45.3k 183M ⌀ | closed_by.node_id stringclasses 346
values | closed_by.avatar_url stringclasses 346
values | closed_by.gravatar_id stringclasses 1
value | closed_by.url stringclasses 346
values | closed_by.html_url stringclasses 346
values | closed_by.followers_url stringclasses 346
values | closed_by.following_url stringclasses 346
values | closed_by.gists_url stringclasses 346
values | closed_by.starred_url stringclasses 346
values | closed_by.subscriptions_url stringclasses 346
values | closed_by.organizations_url stringclasses 346
values | closed_by.repos_url stringclasses 346
values | closed_by.events_url stringclasses 346
values | closed_by.received_events_url stringclasses 346
values | closed_by.type stringclasses 1
value | closed_by.user_view_type stringclasses 1
value | closed_by.site_admin bool 1
class | assignee.login stringclasses 52
values | assignee.id float64 192k 135M ⌀ | assignee.node_id stringclasses 52
values | assignee.avatar_url stringclasses 52
values | assignee.gravatar_id stringclasses 1
value | assignee.url stringclasses 52
values | assignee.html_url stringclasses 52
values | assignee.followers_url stringclasses 52
values | assignee.following_url stringclasses 52
values | assignee.gists_url stringclasses 52
values | assignee.starred_url stringclasses 52
values | assignee.subscriptions_url stringclasses 52
values | assignee.organizations_url stringclasses 52
values | assignee.repos_url stringclasses 52
values | assignee.events_url stringclasses 52
values | assignee.received_events_url stringclasses 52
values | assignee.type stringclasses 1
value | assignee.user_view_type stringclasses 1
value | assignee.site_admin bool 1
class | milestone.url stringclasses 1
value | milestone.html_url stringclasses 1
value | milestone.labels_url stringclasses 1
value | milestone.id float64 9.04M 9.04M ⌀ | milestone.node_id stringclasses 1
value | milestone.number float64 10 10 ⌀ | milestone.title stringclasses 1
value | milestone.description stringclasses 1
value | milestone.creator.login stringclasses 1
value | milestone.creator.id float64 47.5M 47.5M ⌀ | milestone.creator.node_id stringclasses 1
value | milestone.creator.avatar_url stringclasses 1
value | milestone.creator.gravatar_id stringclasses 1
value | milestone.creator.url stringclasses 1
value | milestone.creator.html_url stringclasses 1
value | milestone.creator.followers_url stringclasses 1
value | milestone.creator.following_url stringclasses 1
value | milestone.creator.gists_url stringclasses 1
value | milestone.creator.starred_url stringclasses 1
value | milestone.creator.subscriptions_url stringclasses 1
value | milestone.creator.organizations_url stringclasses 1
value | milestone.creator.repos_url stringclasses 1
value | milestone.creator.events_url stringclasses 1
value | milestone.creator.received_events_url stringclasses 1
value | milestone.creator.type stringclasses 1
value | milestone.creator.user_view_type stringclasses 1
value | milestone.creator.site_admin bool 1
class | milestone.open_issues float64 3 3 ⌀ | milestone.closed_issues float64 5 5 ⌀ | milestone.state stringclasses 1
value | milestone.created_at int64 1.68k 1.68k ⌀ | milestone.updated_at int64 1.72k 1.72k ⌀ | milestone.due_on null | milestone.closed_at null | is_pull_request bool 1
class | comments_text listlengths 0 30 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/datasets/issues/6791 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6791/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6791/comments | https://api.github.com/repos/huggingface/datasets/issues/6791/events | https://github.com/huggingface/datasets/issues/6791 | 2,230,102,332 | I_kwDODunzps6E7Kk8 | 6,791 | `add_faiss_index` raises ValueError: not enough values to unpack (expected 2, got 1) | [] | closed | false | null | [] | null | 3 | 1,712 | 1,712 | 1,712 | NONE | null | null | ### Describe the bug
Calling `add_faiss_index` on a `Dataset` with a column argument raises a ValueError. The following is the trace
```python
214 def replacement_add(self, x):
215 """Adds vectors to the index.
216 The index must be trained before vectors can be added to it.
217 Th... | null | https://api.github.com/repos/huggingface/datasets/issues/6791/timeline | null | completed | NeuralFlux | 40,491,005 | MDQ6VXNlcjQwNDkxMDA1 | https://avatars.githubusercontent.com/u/40491005?v=4 | https://api.github.com/users/NeuralFlux | https://github.com/NeuralFlux | https://api.github.com/users/NeuralFlux/followers | https://api.github.com/users/NeuralFlux/following{/other_user} | https://api.github.com/users/NeuralFlux/gists{/gist_id} | https://api.github.com/users/NeuralFlux/starred{/owner}{/repo} | https://api.github.com/users/NeuralFlux/subscriptions | https://api.github.com/users/NeuralFlux/orgs | https://api.github.com/users/NeuralFlux/repos | https://api.github.com/users/NeuralFlux/events{/privacy} | https://api.github.com/users/NeuralFlux/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6791/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | mariosasko | 47,462,742 | MDQ6VXNlcjQ3NDYyNzQy | https://avatars.githubusercontent.com/u/47462742?v=4 | https://api.github.com/users/mariosasko | https://github.com/mariosasko | https://api.github.com/users/mariosasko/followers | https://api.github.com/users/mariosasko/following{/other_user} | https://api.github.com/users/mariosasko/gists{/gist_id} | https://api.github.com/users/mariosasko/starred{/owner}{/repo} | https://api.github.com/users/mariosasko/subscriptions | https://api.github.com/users/mariosasko/orgs | https://api.github.com/users/mariosasko/repos | https://api.github.com/users/mariosasko/events{/privacy} | https://api.github.com/users/mariosasko/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"I realized I was passing a string column to this instead of float. Is it possible to add a warning or error to prevent users from falsely believing there's a bug?",
"Hello!\r\n\r\nI agree that we could add some safeguards around the type of `ds[column]`. At least for FAISS, we need the column to be made of embed... | ||
https://api.github.com/repos/huggingface/datasets/issues/6790 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6790/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6790/comments | https://api.github.com/repos/huggingface/datasets/issues/6790/events | https://github.com/huggingface/datasets/issues/6790 | 2,229,915,236 | I_kwDODunzps6E6c5k | 6,790 | PyArrow 'Memory mapping file failed: Cannot allocate memory' bug | [] | open | false | null | [] | null | 4 | 1,712 | 1,757 | null | NONE | null | null | ### Describe the bug
Hello,
I've been struggling with a problem using Huggingface datasets caused by PyArrow memory allocation. I finally managed to solve it, and thought to document it since similar issues have been raised here before (https://github.com/huggingface/datasets/issues/5710, https://github.com/huggi... | null | https://api.github.com/repos/huggingface/datasets/issues/6790/timeline | null | null | lasuomela | 25,725,697 | MDQ6VXNlcjI1NzI1Njk3 | https://avatars.githubusercontent.com/u/25725697?v=4 | https://api.github.com/users/lasuomela | https://github.com/lasuomela | https://api.github.com/users/lasuomela/followers | https://api.github.com/users/lasuomela/following{/other_user} | https://api.github.com/users/lasuomela/gists{/gist_id} | https://api.github.com/users/lasuomela/starred{/owner}{/repo} | https://api.github.com/users/lasuomela/subscriptions | https://api.github.com/users/lasuomela/orgs | https://api.github.com/users/lasuomela/repos | https://api.github.com/users/lasuomela/events{/privacy} | https://api.github.com/users/lasuomela/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6790/reactions | 4 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Thanks for a very clean explanation. This happened to me too, and I don't have sudo access to update the value. I wonder if there might be another workaround.",
"One option is to just have more data in each file - /proc/sys/vm/max_map_count limits the maximum number of concurrently open files, but I don't know i... | |
https://api.github.com/repos/huggingface/datasets/issues/6789 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6789/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6789/comments | https://api.github.com/repos/huggingface/datasets/issues/6789/events | https://github.com/huggingface/datasets/issues/6789 | 2,229,527,001 | I_kwDODunzps6E4-HZ | 6,789 | Issue with map | [] | open | false | null | [] | null | 8 | 1,712 | 1,721 | null | NONE | null | null | ### Describe the bug
Map has been taking extremely long to preprocess my data.
It seems to process 1000 examples (which it does really fast in about 10 seconds), then it hangs for a good 1-2 minutes, before it moves on to the next batch of 1000 examples.
It also keeps eating up my hard drive space for some reaso... | null | https://api.github.com/repos/huggingface/datasets/issues/6789/timeline | null | null | Nsohko | 102,672,238 | U_kgDOBh6nbg | https://avatars.githubusercontent.com/u/102672238?v=4 | https://api.github.com/users/Nsohko | https://github.com/Nsohko | https://api.github.com/users/Nsohko/followers | https://api.github.com/users/Nsohko/following{/other_user} | https://api.github.com/users/Nsohko/gists{/gist_id} | https://api.github.com/users/Nsohko/starred{/owner}{/repo} | https://api.github.com/users/Nsohko/subscriptions | https://api.github.com/users/Nsohko/orgs | https://api.github.com/users/Nsohko/repos | https://api.github.com/users/Nsohko/events{/privacy} | https://api.github.com/users/Nsohko/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6789/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Default `writer_batch_size `is set to 1000 (see [map](https://huggingface.co/docs/datasets/v2.16.1/en/package_reference/main_classes#datasets.Dataset.map)).\r\nThe \"tmp1335llua\" is probably the temp file it creates while writing to disk.\r\nMaybe try lowering the `writer_batch_size`.\r\n\r\nFor multi-processing ... | |
https://api.github.com/repos/huggingface/datasets/issues/6788 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6788/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6788/comments | https://api.github.com/repos/huggingface/datasets/issues/6788/events | https://github.com/huggingface/datasets/issues/6788 | 2,229,207,521 | I_kwDODunzps6E3wHh | 6,788 | A Question About the Map Function | [] | closed | false | null | [] | null | 2 | 1,712 | 1,712 | 1,712 | NONE | null | null | ### Describe the bug
Hello,
I have a question regarding the map function in the Hugging Face datasets.
The situation is as follows: when I load a jsonl file using load_dataset(..., streaming=False), and then utilize the map function to process it, I specify that the returned example should be of type Torch.ten... | null | https://api.github.com/repos/huggingface/datasets/issues/6788/timeline | null | completed | yslanprime | 87,431,052 | MDQ6VXNlcjg3NDMxMDUy | https://avatars.githubusercontent.com/u/87431052?v=4 | https://api.github.com/users/yslanprime | https://github.com/yslanprime | https://api.github.com/users/yslanprime/followers | https://api.github.com/users/yslanprime/following{/other_user} | https://api.github.com/users/yslanprime/gists{/gist_id} | https://api.github.com/users/yslanprime/starred{/owner}{/repo} | https://api.github.com/users/yslanprime/subscriptions | https://api.github.com/users/yslanprime/orgs | https://api.github.com/users/yslanprime/repos | https://api.github.com/users/yslanprime/events{/privacy} | https://api.github.com/users/yslanprime/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6788/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | yslanprime | 87,431,052 | MDQ6VXNlcjg3NDMxMDUy | https://avatars.githubusercontent.com/u/87431052?v=4 | https://api.github.com/users/yslanprime | https://github.com/yslanprime | https://api.github.com/users/yslanprime/followers | https://api.github.com/users/yslanprime/following{/other_user} | https://api.github.com/users/yslanprime/gists{/gist_id} | https://api.github.com/users/yslanprime/starred{/owner}{/repo} | https://api.github.com/users/yslanprime/subscriptions | https://api.github.com/users/yslanprime/orgs | https://api.github.com/users/yslanprime/repos | https://api.github.com/users/yslanprime/events{/privacy} | https://api.github.com/users/yslanprime/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"All data is saved in the arrow format on disk.\r\nIf you return a tensor it gets converted to arrow before saving to disk when using map.\r\n\r\nTo get a tensor when you access data elements you can use `dataset.set_format(\"pt\")`.\r\nNote that this just changes how the data is loaded, not how it is stored.",
"... | ||
https://api.github.com/repos/huggingface/datasets/issues/6787 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6787/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6787/comments | https://api.github.com/repos/huggingface/datasets/issues/6787/events | https://github.com/huggingface/datasets/issues/6787 | 2,229,103,264 | I_kwDODunzps6E3Wqg | 6,787 | TimeoutError in map | [] | open | false | null | [] | null | 7 | 1,712 | 1,723 | null | CONTRIBUTOR | null | null | ### Describe the bug
```python
from datasets import Dataset
def worker(example):
while True:
continue
example['a'] = 100
return example
data = Dataset.from_list([{"a": 1}, {"a": 2}])
data = data.map(worker)
print(data[0])
```
I'm implementing a worker function whose runtime will de... | null | https://api.github.com/repos/huggingface/datasets/issues/6787/timeline | null | null | Jiaxin-Wen | 48,146,603 | MDQ6VXNlcjQ4MTQ2NjAz | https://avatars.githubusercontent.com/u/48146603?v=4 | https://api.github.com/users/Jiaxin-Wen | https://github.com/Jiaxin-Wen | https://api.github.com/users/Jiaxin-Wen/followers | https://api.github.com/users/Jiaxin-Wen/following{/other_user} | https://api.github.com/users/Jiaxin-Wen/gists{/gist_id} | https://api.github.com/users/Jiaxin-Wen/starred{/owner}{/repo} | https://api.github.com/users/Jiaxin-Wen/subscriptions | https://api.github.com/users/Jiaxin-Wen/orgs | https://api.github.com/users/Jiaxin-Wen/repos | https://api.github.com/users/Jiaxin-Wen/events{/privacy} | https://api.github.com/users/Jiaxin-Wen/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6787/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"From my current understanding, this timeout is only used when we need to get the results.\r\n\r\nOne of:\r\n1. All tasks are done\r\n2. One worker died\r\n\r\nYour function should work fine and it's definitely a bug if it doesn't.",
"When one of the `map`'s worker processes crashes, the linked code re-raises an ... | |
https://api.github.com/repos/huggingface/datasets/issues/6783 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6783/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6783/comments | https://api.github.com/repos/huggingface/datasets/issues/6783/events | https://github.com/huggingface/datasets/issues/6783 | 2,228,179,466 | I_kwDODunzps6Ez1IK | 6,783 | AttributeError: module 'numpy' has no attribute 'object'. in Kaggle Notebook | [] | closed | false | null | [] | null | 2 | 1,712 | 1,712 | 1,712 | NONE | null | null | ### Describe the bug
# problem
I can't resample audio dataset in Kaggle Notebook. It looks like some code in `datasets` library use aliases that were deprecated in NumPy 1.20.
## code for resampling
```
from datasets import load_dataset, Audio
from transformers import AutoFeatureExtractor
from transformers imp... | null | https://api.github.com/repos/huggingface/datasets/issues/6783/timeline | null | completed | petrov826 | 26,062,262 | MDQ6VXNlcjI2MDYyMjYy | https://avatars.githubusercontent.com/u/26062262?v=4 | https://api.github.com/users/petrov826 | https://github.com/petrov826 | https://api.github.com/users/petrov826/followers | https://api.github.com/users/petrov826/following{/other_user} | https://api.github.com/users/petrov826/gists{/gist_id} | https://api.github.com/users/petrov826/starred{/owner}{/repo} | https://api.github.com/users/petrov826/subscriptions | https://api.github.com/users/petrov826/orgs | https://api.github.com/users/petrov826/repos | https://api.github.com/users/petrov826/events{/privacy} | https://api.github.com/users/petrov826/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6783/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | mariosasko | 47,462,742 | MDQ6VXNlcjQ3NDYyNzQy | https://avatars.githubusercontent.com/u/47462742?v=4 | https://api.github.com/users/mariosasko | https://github.com/mariosasko | https://api.github.com/users/mariosasko/followers | https://api.github.com/users/mariosasko/following{/other_user} | https://api.github.com/users/mariosasko/gists{/gist_id} | https://api.github.com/users/mariosasko/starred{/owner}{/repo} | https://api.github.com/users/mariosasko/subscriptions | https://api.github.com/users/mariosasko/orgs | https://api.github.com/users/mariosasko/repos | https://api.github.com/users/mariosasko/events{/privacy} | https://api.github.com/users/mariosasko/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! You can fix this by updating the `datasets` package with `pip install -U datasets` and restarting the notebook.\r\n",
"Kaggle removed the problematic `datasets==2.1.0` pin last week, so I'm closing this issue (now it pre-installs the latest version)."
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6782 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6782/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6782/comments | https://api.github.com/repos/huggingface/datasets/issues/6782/events | https://github.com/huggingface/datasets/issues/6782 | 2,228,081,955 | I_kwDODunzps6EzdUj | 6,782 | Image cast_storage very slow for arrays (e.g. numpy, tensors) | [] | open | false | null | [] | null | 3 | 1,712 | 1,712 | null | CONTRIBUTOR | null | null | Update: see comments below
### Describe the bug
Operations that save an image from a path are very slow.
I believe the reason for this is that the image data (`numpy`) is converted into `pyarrow` format but then back to python using `.pylist()` before being converted to a numpy array again.
`pylist` is alread... | null | https://api.github.com/repos/huggingface/datasets/issues/6782/timeline | null | null | Modexus | 37,351,874 | MDQ6VXNlcjM3MzUxODc0 | https://avatars.githubusercontent.com/u/37351874?v=4 | https://api.github.com/users/Modexus | https://github.com/Modexus | https://api.github.com/users/Modexus/followers | https://api.github.com/users/Modexus/following{/other_user} | https://api.github.com/users/Modexus/gists{/gist_id} | https://api.github.com/users/Modexus/starred{/owner}{/repo} | https://api.github.com/users/Modexus/subscriptions | https://api.github.com/users/Modexus/orgs | https://api.github.com/users/Modexus/repos | https://api.github.com/users/Modexus/events{/privacy} | https://api.github.com/users/Modexus/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6782/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"This may be a solution that only changes `cast_storage` of `Image`.\r\nHowever, I'm not totally sure that the assumptions hold that are made about the `ListArray`.\r\n\r\n```python\r\nelif pa.types.is_list(storage.type):\r\n from .features import Array3DExtensionType\r\n\r\n def get_shapes(arr):\r\n s... | |
https://api.github.com/repos/huggingface/datasets/issues/6778 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6778/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6778/comments | https://api.github.com/repos/huggingface/datasets/issues/6778/events | https://github.com/huggingface/datasets/issues/6778 | 2,226,040,636 | I_kwDODunzps6Erq88 | 6,778 | Dataset.to_csv() missing commas in columns with lists | [] | open | false | null | [] | null | 1 | 1,712 | 1,712 | null | NONE | null | null | ### Describe the bug
The `to_csv()` method does not output commas in lists. So when the Dataset is loaded back in the data structure of the column with a list is not correct.
Here's an example:
Obviously, it's not as trivial as inserting commas in the list, since its a comma-separated file. But hopefully there... | null | https://api.github.com/repos/huggingface/datasets/issues/6778/timeline | null | null | mpickard-dataprof | 100,041,276 | U_kgDOBfaCPA | https://avatars.githubusercontent.com/u/100041276?v=4 | https://api.github.com/users/mpickard-dataprof | https://github.com/mpickard-dataprof | https://api.github.com/users/mpickard-dataprof/followers | https://api.github.com/users/mpickard-dataprof/following{/other_user} | https://api.github.com/users/mpickard-dataprof/gists{/gist_id} | https://api.github.com/users/mpickard-dataprof/starred{/owner}{/repo} | https://api.github.com/users/mpickard-dataprof/subscriptions | https://api.github.com/users/mpickard-dataprof/orgs | https://api.github.com/users/mpickard-dataprof/repos | https://api.github.com/users/mpickard-dataprof/events{/privacy} | https://api.github.com/users/mpickard-dataprof/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6778/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hello!\r\n\r\nThis is due to how pandas write numpy arrays to csv. [Source](https://stackoverflow.com/questions/54753179/to-csv-saves-np-array-as-string-instead-of-as-a-list)\r\nTo fix this, you can convert them to list yourselves.\r\n\r\n```python\r\ndf = ds.to_pandas()\r\ndf['int'] = df['int'].apply(lambda arr: ... | |
https://api.github.com/repos/huggingface/datasets/issues/6777 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6777/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6777/comments | https://api.github.com/repos/huggingface/datasets/issues/6777/events | https://github.com/huggingface/datasets/issues/6777 | 2,224,611,247 | I_kwDODunzps6EmN-v | 6,777 | .Jsonl metadata not detected | [] | open | false | null | [] | null | 5 | 1,712 | 1,712 | null | NONE | null | null | ### Describe the bug
Hi I have the following directory structure:
|--dataset
| |-- images
| |-- metadata1000.csv
| |-- metadata1000.jsonl
| |-- padded_images
Example of metadata1000.jsonl file
{"caption": "a drawing depicts a full shot of a black t-shirt with a triangular pattern on the front there is a white... | null | https://api.github.com/repos/huggingface/datasets/issues/6777/timeline | null | null | nighting0le01 | 81,643,693 | MDQ6VXNlcjgxNjQzNjkz | https://avatars.githubusercontent.com/u/81643693?v=4 | https://api.github.com/users/nighting0le01 | https://github.com/nighting0le01 | https://api.github.com/users/nighting0le01/followers | https://api.github.com/users/nighting0le01/following{/other_user} | https://api.github.com/users/nighting0le01/gists{/gist_id} | https://api.github.com/users/nighting0le01/starred{/owner}{/repo} | https://api.github.com/users/nighting0le01/subscriptions | https://api.github.com/users/nighting0le01/orgs | https://api.github.com/users/nighting0le01/repos | https://api.github.com/users/nighting0le01/events{/privacy} | https://api.github.com/users/nighting0le01/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6777/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! `metadata.jsonl` (or `metadata.csv`) is the only allowed name for the `imagefolder`'s metadata files.",
"@mariosasko hey i tried with metadata.jsonl also and it still doesn't get the right columns",
"@mariosasko it says metadata.csv not found\r\n<img width=\"1150\" alt=\"image\" src=\"https://github.com/hu... | |
https://api.github.com/repos/huggingface/datasets/issues/6775 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6775/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6775/comments | https://api.github.com/repos/huggingface/datasets/issues/6775/events | https://github.com/huggingface/datasets/issues/6775 | 2,223,457,792 | I_kwDODunzps6Eh0YA | 6,775 | IndexError: Invalid key: 0 is out of bounds for size 0 | [] | open | false | null | [] | null | 7 | 1,712 | 1,712 | null | NONE | null | null | ### Describe the bug
I am trying to fine-tune llama2-7b model in GCP. The notebook I am using for this can be found [here](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/community/model_garden/model_garden_pytorch_llama2_peft_finetuning.ipynb).
When I use the dataset given in the exa... | null | https://api.github.com/repos/huggingface/datasets/issues/6775/timeline | null | null | kk2491 | 38,481,564 | MDQ6VXNlcjM4NDgxNTY0 | https://avatars.githubusercontent.com/u/38481564?v=4 | https://api.github.com/users/kk2491 | https://github.com/kk2491 | https://api.github.com/users/kk2491/followers | https://api.github.com/users/kk2491/following{/other_user} | https://api.github.com/users/kk2491/gists{/gist_id} | https://api.github.com/users/kk2491/starred{/owner}{/repo} | https://api.github.com/users/kk2491/subscriptions | https://api.github.com/users/kk2491/orgs | https://api.github.com/users/kk2491/repos | https://api.github.com/users/kk2491/events{/privacy} | https://api.github.com/users/kk2491/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6775/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Same problem.",
"Hi! You should be able to fix this by passing `remove_unused_columns=False` to the `transformers` `TrainingArguments` as explained in https://github.com/huggingface/peft/issues/1299.\r\n\r\n(I'm not familiar with Vertex AI, but I'd assume `remove_unused_columns` can be passed as a flag to the do... | |
https://api.github.com/repos/huggingface/datasets/issues/6774 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6774/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6774/comments | https://api.github.com/repos/huggingface/datasets/issues/6774/events | https://github.com/huggingface/datasets/issues/6774 | 2,222,164,316 | I_kwDODunzps6Ec4lc | 6,774 | Generating split is very slow when Image format is PNG | [] | open | false | null | [] | null | 1 | 1,712 | 1,712 | null | NONE | null | null | ### Describe the bug
When I create a dataset, it gets stuck while generating cached data.
The image format is PNG, and it will not get stuck when the image format is jpeg.

After debugging, I know that it is b... | null | https://api.github.com/repos/huggingface/datasets/issues/6774/timeline | null | null | Tramac | 22,740,819 | MDQ6VXNlcjIyNzQwODE5 | https://avatars.githubusercontent.com/u/22740819?v=4 | https://api.github.com/users/Tramac | https://github.com/Tramac | https://api.github.com/users/Tramac/followers | https://api.github.com/users/Tramac/following{/other_user} | https://api.github.com/users/Tramac/gists{/gist_id} | https://api.github.com/users/Tramac/starred{/owner}{/repo} | https://api.github.com/users/Tramac/subscriptions | https://api.github.com/users/Tramac/orgs | https://api.github.com/users/Tramac/repos | https://api.github.com/users/Tramac/events{/privacy} | https://api.github.com/users/Tramac/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6774/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"I think this is due to the speed of reading a `png` image using pillow compared to a `jpg` image.\r\nNotably the same is true with `tiff`, it is even faster than `jpg` in my case."
] | |
https://api.github.com/repos/huggingface/datasets/issues/6773 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6773/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6773/comments | https://api.github.com/repos/huggingface/datasets/issues/6773/events | https://github.com/huggingface/datasets/issues/6773 | 2,221,049,121 | I_kwDODunzps6EYoUh | 6,773 | Dataset on Hub re-downloads every time? | [] | closed | false | null | [] | null | 5 | 1,712 | 1,712 | 1,712 | NONE | null | null | ### Describe the bug
Hi, I have a dataset on the hub [here](https://huggingface.co/datasets/manestay/borderlines). It has 1k+ downloads, which I sure is mostly just me and my colleagues working with it. It should have far fewer, since I'm using the same machine with a properly set up HF_HOME variable. However, whene... | null | https://api.github.com/repos/huggingface/datasets/issues/6773/timeline | null | completed | manestay | 9,099,139 | MDQ6VXNlcjkwOTkxMzk= | https://avatars.githubusercontent.com/u/9099139?v=4 | https://api.github.com/users/manestay | https://github.com/manestay | https://api.github.com/users/manestay/followers | https://api.github.com/users/manestay/following{/other_user} | https://api.github.com/users/manestay/gists{/gist_id} | https://api.github.com/users/manestay/starred{/owner}{/repo} | https://api.github.com/users/manestay/subscriptions | https://api.github.com/users/manestay/orgs | https://api.github.com/users/manestay/repos | https://api.github.com/users/manestay/events{/privacy} | https://api.github.com/users/manestay/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6773/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | manestay | 9,099,139 | MDQ6VXNlcjkwOTkxMzk= | https://avatars.githubusercontent.com/u/9099139?v=4 | https://api.github.com/users/manestay | https://github.com/manestay | https://api.github.com/users/manestay/followers | https://api.github.com/users/manestay/following{/other_user} | https://api.github.com/users/manestay/gists{/gist_id} | https://api.github.com/users/manestay/starred{/owner}{/repo} | https://api.github.com/users/manestay/subscriptions | https://api.github.com/users/manestay/orgs | https://api.github.com/users/manestay/repos | https://api.github.com/users/manestay/events{/privacy} | https://api.github.com/users/manestay/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"The caching works as expected when I try to reproduce this locally or on Colab...",
"hi @mariosasko , Thank you for checking. I also tried running this again just now, and it seems like the `load_dataset()` caches properly (though I'll double check later).\r\n\r\nI think the issue might be in the caching of the ... | ||
https://api.github.com/repos/huggingface/datasets/issues/6771 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6771/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6771/comments | https://api.github.com/repos/huggingface/datasets/issues/6771/events | https://github.com/huggingface/datasets/issues/6771 | 2,220,131,457 | I_kwDODunzps6EVISB | 6,771 | Datasets FileNotFoundError when trying to generate examples. | [] | closed | false | null | [] | null | 2 | 1,712 | 1,712 | 1,712 | NONE | null | null | ### Discussed in https://github.com/huggingface/datasets/discussions/6768
<div type='discussions-op-text'>
<sup>Originally posted by **RitchieP** April 1, 2024</sup>
Currently, I have a dataset hosted on Huggingface with a custom script [here](https://huggingface.co/datasets/RitchieP/VerbaLex_voice).
I'm loa... | null | https://api.github.com/repos/huggingface/datasets/issues/6771/timeline | null | completed | RitchieP | 26,197,115 | MDQ6VXNlcjI2MTk3MTE1 | https://avatars.githubusercontent.com/u/26197115?v=4 | https://api.github.com/users/RitchieP | https://github.com/RitchieP | https://api.github.com/users/RitchieP/followers | https://api.github.com/users/RitchieP/following{/other_user} | https://api.github.com/users/RitchieP/gists{/gist_id} | https://api.github.com/users/RitchieP/starred{/owner}{/repo} | https://api.github.com/users/RitchieP/subscriptions | https://api.github.com/users/RitchieP/orgs | https://api.github.com/users/RitchieP/repos | https://api.github.com/users/RitchieP/events{/privacy} | https://api.github.com/users/RitchieP/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6771/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | RitchieP | 26,197,115 | MDQ6VXNlcjI2MTk3MTE1 | https://avatars.githubusercontent.com/u/26197115?v=4 | https://api.github.com/users/RitchieP | https://github.com/RitchieP | https://api.github.com/users/RitchieP/followers | https://api.github.com/users/RitchieP/following{/other_user} | https://api.github.com/users/RitchieP/gists{/gist_id} | https://api.github.com/users/RitchieP/starred{/owner}{/repo} | https://api.github.com/users/RitchieP/subscriptions | https://api.github.com/users/RitchieP/orgs | https://api.github.com/users/RitchieP/repos | https://api.github.com/users/RitchieP/events{/privacy} | https://api.github.com/users/RitchieP/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! I've opened a PR in the repo to fix this issue: https://huggingface.co/datasets/RitchieP/VerbaLex_voice/discussions/6",
"@mariosasko Thanks for the PR and help! Guess I could close the issue for now. Appreciate the help!"
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6770 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6770/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6770/comments | https://api.github.com/repos/huggingface/datasets/issues/6770/events | https://github.com/huggingface/datasets/issues/6770 | 2,218,991,883 | I_kwDODunzps6EQyEL | 6,770 | [Bug Report] `datasets==2.18.0` is not compatible with `fsspec==2023.12.2` | [] | closed | false | null | [] | null | 1 | 1,712 | 1,712 | 1,712 | NONE | null | null | ### Describe the bug
`Datasets==2.18.0` is not compatible with `fsspec==2023.12.2`.
I have to downgrade fsspec to `fsspec==2023.10.0` to make `Datasets==2.18.0` work properly.
### Steps to reproduce the bug
To reproduce the bug:
1. Make sure that `Datasets==2.18.0` and `fsspec==2023.12.2`.
2. Run the following ... | null | https://api.github.com/repos/huggingface/datasets/issues/6770/timeline | null | completed | fshp971 | 19,348,888 | MDQ6VXNlcjE5MzQ4ODg4 | https://avatars.githubusercontent.com/u/19348888?v=4 | https://api.github.com/users/fshp971 | https://github.com/fshp971 | https://api.github.com/users/fshp971/followers | https://api.github.com/users/fshp971/following{/other_user} | https://api.github.com/users/fshp971/gists{/gist_id} | https://api.github.com/users/fshp971/starred{/owner}{/repo} | https://api.github.com/users/fshp971/subscriptions | https://api.github.com/users/fshp971/orgs | https://api.github.com/users/fshp971/repos | https://api.github.com/users/fshp971/events{/privacy} | https://api.github.com/users/fshp971/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6770/reactions | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | mariosasko | 47,462,742 | MDQ6VXNlcjQ3NDYyNzQy | https://avatars.githubusercontent.com/u/47462742?v=4 | https://api.github.com/users/mariosasko | https://github.com/mariosasko | https://api.github.com/users/mariosasko/followers | https://api.github.com/users/mariosasko/following{/other_user} | https://api.github.com/users/mariosasko/gists{/gist_id} | https://api.github.com/users/mariosasko/starred{/owner}{/repo} | https://api.github.com/users/mariosasko/subscriptions | https://api.github.com/users/mariosasko/orgs | https://api.github.com/users/mariosasko/repos | https://api.github.com/users/mariosasko/events{/privacy} | https://api.github.com/users/mariosasko/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"You should be able to fix this by updating `huggingface_hub` with `pip install -U huggingface_hub`. We use this package under the hood to resolve the Hub's files."
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6769 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6769/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6769/comments | https://api.github.com/repos/huggingface/datasets/issues/6769/events | https://github.com/huggingface/datasets/issues/6769 | 2,218,242,015 | I_kwDODunzps6EN6_f | 6,769 | (Willing to PR) Datasets with custom python objects | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | open | false | null | [] | null | 0 | 1,711 | 1,711 | null | CONTRIBUTOR | null | null | ### Feature request
Hi thanks for the library! I would like to have a huggingface Dataset, and one of its column is custom (non-serializable) Python objects. For example, a minimal code:
```
class MyClass:
pass
dataset = datasets.Dataset.from_list([
dict(a=MyClass(), b='hello'),
])
```
It gives... | null | https://api.github.com/repos/huggingface/datasets/issues/6769/timeline | null | null | fzyzcjy | 5,236,035 | MDQ6VXNlcjUyMzYwMzU= | https://avatars.githubusercontent.com/u/5236035?v=4 | https://api.github.com/users/fzyzcjy | https://github.com/fzyzcjy | https://api.github.com/users/fzyzcjy/followers | https://api.github.com/users/fzyzcjy/following{/other_user} | https://api.github.com/users/fzyzcjy/gists{/gist_id} | https://api.github.com/users/fzyzcjy/starred{/owner}{/repo} | https://api.github.com/users/fzyzcjy/subscriptions | https://api.github.com/users/fzyzcjy/orgs | https://api.github.com/users/fzyzcjy/repos | https://api.github.com/users/fzyzcjy/events{/privacy} | https://api.github.com/users/fzyzcjy/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6769/reactions | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6765 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6765/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6765/comments | https://api.github.com/repos/huggingface/datasets/issues/6765/events | https://github.com/huggingface/datasets/issues/6765 | 2,215,933,515 | I_kwDODunzps6EFHZL | 6,765 | Compatibility issue between s3fs, fsspec, and datasets | [] | closed | false | null | [] | null | 4 | 1,711 | 1,731 | 1,712 | NONE | null | null | ### Describe the bug
Here is the full error stack when installing:
```
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
datasets 2.18.0 requires fsspec[http]<=2024.2.0,>=2023.1.0, but you ... | null | https://api.github.com/repos/huggingface/datasets/issues/6765/timeline | null | completed | njbrake | 33,383,515 | MDQ6VXNlcjMzMzgzNTE1 | https://avatars.githubusercontent.com/u/33383515?v=4 | https://api.github.com/users/njbrake | https://github.com/njbrake | https://api.github.com/users/njbrake/followers | https://api.github.com/users/njbrake/following{/other_user} | https://api.github.com/users/njbrake/gists{/gist_id} | https://api.github.com/users/njbrake/starred{/owner}{/repo} | https://api.github.com/users/njbrake/subscriptions | https://api.github.com/users/njbrake/orgs | https://api.github.com/users/njbrake/repos | https://api.github.com/users/njbrake/events{/privacy} | https://api.github.com/users/njbrake/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6765/reactions | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | njbrake | 33,383,515 | MDQ6VXNlcjMzMzgzNTE1 | https://avatars.githubusercontent.com/u/33383515?v=4 | https://api.github.com/users/njbrake | https://github.com/njbrake | https://api.github.com/users/njbrake/followers | https://api.github.com/users/njbrake/following{/other_user} | https://api.github.com/users/njbrake/gists{/gist_id} | https://api.github.com/users/njbrake/starred{/owner}{/repo} | https://api.github.com/users/njbrake/subscriptions | https://api.github.com/users/njbrake/orgs | https://api.github.com/users/njbrake/repos | https://api.github.com/users/njbrake/events{/privacy} | https://api.github.com/users/njbrake/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! Instead of running `pip install` separately for each package, you should pass all the packages to a single `pip install` call (in this case, `pip install datasets s3fs`) to let `pip` properly resolve their versions.",
"> Hi! Instead of running `pip install` separately for each package, you should pass all th... | ||
https://api.github.com/repos/huggingface/datasets/issues/6764 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6764/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6764/comments | https://api.github.com/repos/huggingface/datasets/issues/6764/events | https://github.com/huggingface/datasets/issues/6764 | 2,215,767,119 | I_kwDODunzps6EEexP | 6,764 | load_dataset can't work with symbolic links | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | open | false | null | [] | null | 1 | 1,711 | 1,745 | null | NONE | null | null | ### Feature request
Enable the `load_dataset` function to load local datasets with symbolic links.
E.g, this dataset can be loaded:
├── example_dataset/
│ ├── data/
│ │ ├── train/
│ │ │ ├── file0
│ │ │ ├── file1
│ │ ├── dev/
│ │ │ ├── file2
│ │ │ ├── file3
│ ├── metad... | null | https://api.github.com/repos/huggingface/datasets/issues/6764/timeline | null | null | VladimirVincan | 13,640,533 | MDQ6VXNlcjEzNjQwNTMz | https://avatars.githubusercontent.com/u/13640533?v=4 | https://api.github.com/users/VladimirVincan | https://github.com/VladimirVincan | https://api.github.com/users/VladimirVincan/followers | https://api.github.com/users/VladimirVincan/following{/other_user} | https://api.github.com/users/VladimirVincan/gists{/gist_id} | https://api.github.com/users/VladimirVincan/starred{/owner}{/repo} | https://api.github.com/users/VladimirVincan/subscriptions | https://api.github.com/users/VladimirVincan/orgs | https://api.github.com/users/VladimirVincan/repos | https://api.github.com/users/VladimirVincan/events{/privacy} | https://api.github.com/users/VladimirVincan/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6764/reactions | 12 | 9 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"In fact,You can use a hard link instead of a symbolic link.Hard link works"
] | |
https://api.github.com/repos/huggingface/datasets/issues/6760 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6760/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6760/comments | https://api.github.com/repos/huggingface/datasets/issues/6760/events | https://github.com/huggingface/datasets/issues/6760 | 2,212,288,122 | I_kwDODunzps6D3NZ6 | 6,760 | Load codeparrot/apps raising UnicodeDecodeError in datasets-2.18.0 | [] | open | false | null | [] | null | 4 | 1,711 | 1,718 | null | NONE | null | null | ### Describe the bug
This happens with datasets-2.18.0; I downgraded the version to 2.14.6 fixing this temporarily.
```
Traceback (most recent call last):
File "/home/xxx/miniconda3/envs/py310/lib/python3.10/site-packages/datasets/load.py", line 2556, in load_dataset
builder_instance = load_dataset_builder... | null | https://api.github.com/repos/huggingface/datasets/issues/6760/timeline | null | null | yucc-leon | 17,897,916 | MDQ6VXNlcjE3ODk3OTE2 | https://avatars.githubusercontent.com/u/17897916?v=4 | https://api.github.com/users/yucc-leon | https://github.com/yucc-leon | https://api.github.com/users/yucc-leon/followers | https://api.github.com/users/yucc-leon/following{/other_user} | https://api.github.com/users/yucc-leon/gists{/gist_id} | https://api.github.com/users/yucc-leon/starred{/owner}{/repo} | https://api.github.com/users/yucc-leon/subscriptions | https://api.github.com/users/yucc-leon/orgs | https://api.github.com/users/yucc-leon/repos | https://api.github.com/users/yucc-leon/events{/privacy} | https://api.github.com/users/yucc-leon/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6760/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"The same error with mteb datasets.",
"Unfortunately, I'm unable to reproduce this error locally or on Colab.",
"Here is the requirements.txt from a clean virtual environment (managed by conda) where I only install `datasets` by \r\n`pip install datasets`. \r\nThe pip list:\r\n```\r\naiohttp==3.9.3\r\naiosignal... | |
https://api.github.com/repos/huggingface/datasets/issues/6759 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6759/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6759/comments | https://api.github.com/repos/huggingface/datasets/issues/6759/events | https://github.com/huggingface/datasets/issues/6759 | 2,208,892,891 | I_kwDODunzps6DqQfb | 6,759 | Persistent multi-process Pool | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | open | false | null | [] | null | 0 | 1,711 | 1,711 | null | NONE | null | null | ### Feature request
Running .map and filter functions with `num_procs` consecutively instantiates several multiprocessing pools iteratively.
As instantiating a Pool is very resource intensive it can be a bottleneck to performing iteratively filtering.
My ideas:
1. There should be an option to declare `persist... | null | https://api.github.com/repos/huggingface/datasets/issues/6759/timeline | null | null | fostiropoulos | 4,337,024 | MDQ6VXNlcjQzMzcwMjQ= | https://avatars.githubusercontent.com/u/4337024?v=4 | https://api.github.com/users/fostiropoulos | https://github.com/fostiropoulos | https://api.github.com/users/fostiropoulos/followers | https://api.github.com/users/fostiropoulos/following{/other_user} | https://api.github.com/users/fostiropoulos/gists{/gist_id} | https://api.github.com/users/fostiropoulos/starred{/owner}{/repo} | https://api.github.com/users/fostiropoulos/subscriptions | https://api.github.com/users/fostiropoulos/orgs | https://api.github.com/users/fostiropoulos/repos | https://api.github.com/users/fostiropoulos/events{/privacy} | https://api.github.com/users/fostiropoulos/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6759/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6758 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6758/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6758/comments | https://api.github.com/repos/huggingface/datasets/issues/6758/events | https://github.com/huggingface/datasets/issues/6758 | 2,208,494,302 | I_kwDODunzps6DovLe | 6,758 | Passing `sample_by` to `load_dataset` when loading text data does not work | [] | closed | false | null | [
{
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.git... | null | 1 | 1,711 | 1,712 | 1,712 | NONE | null | null | ### Describe the bug
I have a dataset that consists of a bunch of text files, each representing an example. There is an undocumented `sample_by` argument for the `TextConfig` class that is used by `Text` to decide whether to split files into lines, paragraphs or take them whole. Passing `sample_by=“document”` to `load... | null | https://api.github.com/repos/huggingface/datasets/issues/6758/timeline | null | completed | ntoxeg | 823,693 | MDQ6VXNlcjgyMzY5Mw== | https://avatars.githubusercontent.com/u/823693?v=4 | https://api.github.com/users/ntoxeg | https://github.com/ntoxeg | https://api.github.com/users/ntoxeg/followers | https://api.github.com/users/ntoxeg/following{/other_user} | https://api.github.com/users/ntoxeg/gists{/gist_id} | https://api.github.com/users/ntoxeg/starred{/owner}{/repo} | https://api.github.com/users/ntoxeg/subscriptions | https://api.github.com/users/ntoxeg/orgs | https://api.github.com/users/ntoxeg/repos | https://api.github.com/users/ntoxeg/events{/privacy} | https://api.github.com/users/ntoxeg/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6758/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Thanks for reporting! We are working on a fix."
] | |||
https://api.github.com/repos/huggingface/datasets/issues/6756 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6756/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6756/comments | https://api.github.com/repos/huggingface/datasets/issues/6756/events | https://github.com/huggingface/datasets/issues/6756 | 2,205,557,725 | I_kwDODunzps6DdiPd | 6,756 | Support SQLite files? | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | closed | false | null | [] | null | 3 | 1,711 | 1,711 | 1,711 | COLLABORATOR | null | null | ### Feature request
Support loading a dataset from a SQLite file
https://huggingface.co/datasets/severo/test_iris_sqlite/tree/main
### Motivation
SQLite is a popular file format.
### Your contribution
See discussion on slack: https://huggingface.slack.com/archives/C04L6P8KNQ5/p1702481859117909 (internal)
In ... | null | https://api.github.com/repos/huggingface/datasets/issues/6756/timeline | null | completed | severo | 1,676,121 | MDQ6VXNlcjE2NzYxMjE= | https://avatars.githubusercontent.com/u/1676121?v=4 | https://api.github.com/users/severo | https://github.com/severo | https://api.github.com/users/severo/followers | https://api.github.com/users/severo/following{/other_user} | https://api.github.com/users/severo/gists{/gist_id} | https://api.github.com/users/severo/starred{/owner}{/repo} | https://api.github.com/users/severo/subscriptions | https://api.github.com/users/severo/orgs | https://api.github.com/users/severo/repos | https://api.github.com/users/severo/events{/privacy} | https://api.github.com/users/severo/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6756/reactions | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | severo | 1,676,121 | MDQ6VXNlcjE2NzYxMjE= | https://avatars.githubusercontent.com/u/1676121?v=4 | https://api.github.com/users/severo | https://github.com/severo | https://api.github.com/users/severo/followers | https://api.github.com/users/severo/following{/other_user} | https://api.github.com/users/severo/gists{/gist_id} | https://api.github.com/users/severo/starred{/owner}{/repo} | https://api.github.com/users/severo/subscriptions | https://api.github.com/users/severo/orgs | https://api.github.com/users/severo/repos | https://api.github.com/users/severo/events{/privacy} | https://api.github.com/users/severo/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"You can use `Dataset.from_sql(path_to_sql_file)` already. Though we haven't added the Sql dataset builder to the `_PACKAGED_DATASETS_MODULES` list or in `_EXTENSION_TO_MODULE` to map `.sqlite` to the Sql dataset builder\r\n\r\nThis would allow to load a dataset repository with a `.sqlite` file using `load_dataset`... | ||
https://api.github.com/repos/huggingface/datasets/issues/6755 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6755/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6755/comments | https://api.github.com/repos/huggingface/datasets/issues/6755/events | https://github.com/huggingface/datasets/issues/6755 | 2,204,573,289 | I_kwDODunzps6DZx5p | 6,755 | Small typo on the documentation | [
{
"id": 1935892877,
"node_id": "MDU6TGFiZWwxOTM1ODkyODc3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/good%20first%20issue",
"name": "good first issue",
"color": "7057ff",
"default": true,
"description": "Good for newcomers"
}
] | closed | false | null | [
{
"login": "JINO-ROHIT",
"id": 63234112,
"node_id": "MDQ6VXNlcjYzMjM0MTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/63234112?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JINO-ROHIT",
"html_url": "https://github.com/JINO-ROHIT",
"followers_url": "https:... | null | 3 | 1,711 | 1,712 | 1,712 | NONE | null | null | ### Describe the bug
There is a small typo on https://github.com/huggingface/datasets/blob/d5468836fe94e8be1ae093397dd43d4a2503b926/src/datasets/dataset_dict.py#L938
It should be `caching is enabled`.
### Steps to reproduce the bug
Please visit
https://github.com/huggingface/datasets/blob/d5468836fe94e... | null | https://api.github.com/repos/huggingface/datasets/issues/6755/timeline | null | completed | fostiropoulos | 4,337,024 | MDQ6VXNlcjQzMzcwMjQ= | https://avatars.githubusercontent.com/u/4337024?v=4 | https://api.github.com/users/fostiropoulos | https://github.com/fostiropoulos | https://api.github.com/users/fostiropoulos/followers | https://api.github.com/users/fostiropoulos/following{/other_user} | https://api.github.com/users/fostiropoulos/gists{/gist_id} | https://api.github.com/users/fostiropoulos/starred{/owner}{/repo} | https://api.github.com/users/fostiropoulos/subscriptions | https://api.github.com/users/fostiropoulos/orgs | https://api.github.com/users/fostiropoulos/repos | https://api.github.com/users/fostiropoulos/events{/privacy} | https://api.github.com/users/fostiropoulos/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6755/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | mariosasko | 47,462,742 | MDQ6VXNlcjQ3NDYyNzQy | https://avatars.githubusercontent.com/u/47462742?v=4 | https://api.github.com/users/mariosasko | https://github.com/mariosasko | https://api.github.com/users/mariosasko/followers | https://api.github.com/users/mariosasko/following{/other_user} | https://api.github.com/users/mariosasko/gists{/gist_id} | https://api.github.com/users/mariosasko/starred{/owner}{/repo} | https://api.github.com/users/mariosasko/subscriptions | https://api.github.com/users/mariosasko/orgs | https://api.github.com/users/mariosasko/repos | https://api.github.com/users/mariosasko/events{/privacy} | https://api.github.com/users/mariosasko/received_events | User | public | false | JINO-ROHIT | 63,234,112 | MDQ6VXNlcjYzMjM0MTEy | https://avatars.githubusercontent.com/u/63234112?v=4 | https://api.github.com/users/JINO-ROHIT | https://github.com/JINO-ROHIT | https://api.github.com/users/JINO-ROHIT/followers | https://api.github.com/users/JINO-ROHIT/following{/other_user} | https://api.github.com/users/JINO-ROHIT/gists{/gist_id} | https://api.github.com/users/JINO-ROHIT/starred{/owner}{/repo} | https://api.github.com/users/JINO-ROHIT/subscriptions | https://api.github.com/users/JINO-ROHIT/orgs | https://api.github.com/users/JINO-ROHIT/repos | https://api.github.com/users/JINO-ROHIT/events{/privacy} | https://api.github.com/users/JINO-ROHIT/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Thanks for reporting @fostiropoulos! I've edited your comment to fix the link to the problematic line.\r\n",
"@mariosasko can i take this up?",
"#self-assign"
] | |||
https://api.github.com/repos/huggingface/datasets/issues/6753 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6753/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6753/comments | https://api.github.com/repos/huggingface/datasets/issues/6753/events | https://github.com/huggingface/datasets/issues/6753 | 2,204,155,091 | I_kwDODunzps6DYLzT | 6,753 | Type error when importing datasets on Kaggle | [] | closed | false | null | [] | null | 8 | 1,711 | 1,727 | 1,711 | NONE | null | null | ### Describe the bug
When trying to run
```
import datasets
print(datasets.__version__)
```
It generates the following error
```
TypeError: expected string or bytes-like object
```
It looks like It cannot find the valid versions of `fsspec`
though fsspec version is fine when I checked Via command
... | null | https://api.github.com/repos/huggingface/datasets/issues/6753/timeline | null | completed | jtv199 | 18,300,717 | MDQ6VXNlcjE4MzAwNzE3 | https://avatars.githubusercontent.com/u/18300717?v=4 | https://api.github.com/users/jtv199 | https://github.com/jtv199 | https://api.github.com/users/jtv199/followers | https://api.github.com/users/jtv199/following{/other_user} | https://api.github.com/users/jtv199/gists{/gist_id} | https://api.github.com/users/jtv199/starred{/owner}{/repo} | https://api.github.com/users/jtv199/subscriptions | https://api.github.com/users/jtv199/orgs | https://api.github.com/users/jtv199/repos | https://api.github.com/users/jtv199/events{/privacy} | https://api.github.com/users/jtv199/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6753/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | jtv199 | 18,300,717 | MDQ6VXNlcjE4MzAwNzE3 | https://avatars.githubusercontent.com/u/18300717?v=4 | https://api.github.com/users/jtv199 | https://github.com/jtv199 | https://api.github.com/users/jtv199/followers | https://api.github.com/users/jtv199/following{/other_user} | https://api.github.com/users/jtv199/gists{/gist_id} | https://api.github.com/users/jtv199/starred{/owner}{/repo} | https://api.github.com/users/jtv199/subscriptions | https://api.github.com/users/jtv199/orgs | https://api.github.com/users/jtv199/repos | https://api.github.com/users/jtv199/events{/privacy} | https://api.github.com/users/jtv199/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"I have the same problem \r\nIt seems that it only appears when you are using GPU \r\nIt seems to work fine with the 2.17 version though",
"Same here.",
"> I have the same problem\r\n> It seems that it only appears when you are using GPU\r\n> It seems to work fine with the 2.17 version though\r\n\r\nI downgrade... | ||
https://api.github.com/repos/huggingface/datasets/issues/6752 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6752/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6752/comments | https://api.github.com/repos/huggingface/datasets/issues/6752/events | https://github.com/huggingface/datasets/issues/6752 | 2,204,043,839 | I_kwDODunzps6DXwo_ | 6,752 | Precision being changed from float16 to float32 unexpectedly | [] | open | false | null | [] | null | 1 | 1,711 | 1,712 | null | NONE | null | null | ### Describe the bug
I'm loading a HuggingFace Dataset for images.
I'm running a preprocessing (map operation) step that runs a few operations, one of them being conversion to float16. The Dataset features also say that the 'img' is of type float16. Whenever I take an image from that HuggingFace Dataset instance... | null | https://api.github.com/repos/huggingface/datasets/issues/6752/timeline | null | null | gcervantes8 | 21,228,908 | MDQ6VXNlcjIxMjI4OTA4 | https://avatars.githubusercontent.com/u/21228908?v=4 | https://api.github.com/users/gcervantes8 | https://github.com/gcervantes8 | https://api.github.com/users/gcervantes8/followers | https://api.github.com/users/gcervantes8/following{/other_user} | https://api.github.com/users/gcervantes8/gists{/gist_id} | https://api.github.com/users/gcervantes8/starred{/owner}{/repo} | https://api.github.com/users/gcervantes8/subscriptions | https://api.github.com/users/gcervantes8/orgs | https://api.github.com/users/gcervantes8/repos | https://api.github.com/users/gcervantes8/events{/privacy} | https://api.github.com/users/gcervantes8/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6752/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"This is because of the formatter (`torch` in this case).\r\nIt defaults to `float32`.\r\n\r\nYou can load it in `float16` using `dataset.set_format(\"torch\", dtype=torch.float16)`."
] | |
https://api.github.com/repos/huggingface/datasets/issues/6750 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6750/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6750/comments | https://api.github.com/repos/huggingface/datasets/issues/6750/events | https://github.com/huggingface/datasets/issues/6750 | 2,203,590,658 | I_kwDODunzps6DWCAC | 6,750 | `load_dataset` requires a network connection for local download? | [] | closed | false | null | [] | null | 3 | 1,711 | 1,713 | 1,713 | NONE | null | null | ### Describe the bug
Hi all - I see that in the past a network dependency has been mistakenly introduced into `load_dataset` even for local loads. Is it possible this has happened again?
### Steps to reproduce the bug
```
>>> import datasets
>>> datasets.load_dataset("hh-rlhf")
Repo card metadata block was not ... | null | https://api.github.com/repos/huggingface/datasets/issues/6750/timeline | null | completed | MiroFurtado | 6,306,695 | MDQ6VXNlcjYzMDY2OTU= | https://avatars.githubusercontent.com/u/6306695?v=4 | https://api.github.com/users/MiroFurtado | https://github.com/MiroFurtado | https://api.github.com/users/MiroFurtado/followers | https://api.github.com/users/MiroFurtado/following{/other_user} | https://api.github.com/users/MiroFurtado/gists{/gist_id} | https://api.github.com/users/MiroFurtado/starred{/owner}{/repo} | https://api.github.com/users/MiroFurtado/subscriptions | https://api.github.com/users/MiroFurtado/orgs | https://api.github.com/users/MiroFurtado/repos | https://api.github.com/users/MiroFurtado/events{/privacy} | https://api.github.com/users/MiroFurtado/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6750/reactions | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Are you using `HF_DATASETS_OFFLINE=1` ?",
"> Are you using `HF_DATASETS_OFFLINE=1` ?\r\n\r\nThis doesn't work for me. `datasets=2.18.0`\r\n\r\n`test.py`:\r\n```\r\nimport datasets\r\n\r\ndatasets.utils.logging.set_verbosity_info()\r\n\r\nds = datasets.load_dataset('C-MTEB/AFQMC', revision='b44c3b011063adb25877c1... | ||
https://api.github.com/repos/huggingface/datasets/issues/6748 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6748/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6748/comments | https://api.github.com/repos/huggingface/datasets/issues/6748/events | https://github.com/huggingface/datasets/issues/6748 | 2,201,517,348 | I_kwDODunzps6DOH0k | 6,748 | Strange slicing behavior | [] | open | false | null | [] | null | 1 | 1,711 | 1,711 | null | NONE | null | null | ### Describe the bug
I have loaded a dataset, and then slice first 300 samples using `:` ops, however, the resulting dataset is not expected, as the output below:
```bash
len(dataset)=1050324
len(dataset[:300])=2
len(dataset[0:300])=2
len(dataset.select(range(300)))=300
```
### Steps to reproduce the bug
loa... | null | https://api.github.com/repos/huggingface/datasets/issues/6748/timeline | null | null | Luciennnnnnn | 20,135,317 | MDQ6VXNlcjIwMTM1MzE3 | https://avatars.githubusercontent.com/u/20135317?v=4 | https://api.github.com/users/Luciennnnnnn | https://github.com/Luciennnnnnn | https://api.github.com/users/Luciennnnnnn/followers | https://api.github.com/users/Luciennnnnnn/following{/other_user} | https://api.github.com/users/Luciennnnnnn/gists{/gist_id} | https://api.github.com/users/Luciennnnnnn/starred{/owner}{/repo} | https://api.github.com/users/Luciennnnnnn/subscriptions | https://api.github.com/users/Luciennnnnnn/orgs | https://api.github.com/users/Luciennnnnnn/repos | https://api.github.com/users/Luciennnnnnn/events{/privacy} | https://api.github.com/users/Luciennnnnnn/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6748/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"As explained in the [docs](https://huggingface.co/docs/datasets/v2.18.0/en/access#slicing), slicing a `Dataset` returns a dictionary that maps its column names to their values. So, `len(dataset[:300])=2` is expected, assuming your dataset has 2 columns (the returned dict has 2 keys, but each value in the dict has ... | |
https://api.github.com/repos/huggingface/datasets/issues/6746 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6746/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6746/comments | https://api.github.com/repos/huggingface/datasets/issues/6746/events | https://github.com/huggingface/datasets/issues/6746 | 2,198,993,949 | I_kwDODunzps6DEfwd | 6,746 | ExpectedMoreSplits error when loading C4 dataset | [] | closed | false | null | [] | null | 8 | 1,710 | 1,726 | 1,722 | NONE | null | null | ### Describe the bug
I encounter bug when running the example command line
```python
python main.py \
--model decapoda-research/llama-7b-hf \
--prune_method wanda \
--sparsity_ratio 0.5 \
--sparsity_type unstructured \
--save out/llama_7b/unstructured/wanda/
```
The bug occurred ... | null | https://api.github.com/repos/huggingface/datasets/issues/6746/timeline | null | completed | billwang485 | 65,165,345 | MDQ6VXNlcjY1MTY1MzQ1 | https://avatars.githubusercontent.com/u/65165345?v=4 | https://api.github.com/users/billwang485 | https://github.com/billwang485 | https://api.github.com/users/billwang485/followers | https://api.github.com/users/billwang485/following{/other_user} | https://api.github.com/users/billwang485/gists{/gist_id} | https://api.github.com/users/billwang485/starred{/owner}{/repo} | https://api.github.com/users/billwang485/subscriptions | https://api.github.com/users/billwang485/orgs | https://api.github.com/users/billwang485/repos | https://api.github.com/users/billwang485/events{/privacy} | https://api.github.com/users/billwang485/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6746/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi ! We updated the `allenai/c4` repository to allow people to specify which language to load easily (the the [c4 dataset page](https://huggingface.co/datasets/allenai/c4))\r\n\r\nTo fix this issue **you can update** `datasets` and remove the mention of the legacy configuration name \"allenai--c4\":\r\n\r\n```pyth... | ||
https://api.github.com/repos/huggingface/datasets/issues/6745 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6745/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6745/comments | https://api.github.com/repos/huggingface/datasets/issues/6745/events | https://github.com/huggingface/datasets/issues/6745 | 2,198,541,732 | I_kwDODunzps6DCxWk | 6,745 | Scraping the whole of github including private repos is bad; kindly stop | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | closed | false | null | [] | null | 1 | 1,710 | 1,711 | 1,711 | NONE | null | null | ### Feature request
https://github.com/bigcode-project/opt-out-v2 - opt out is not consent. kindly quit this ridiculous nonsense.
### Motivation
[EDITED: insults not tolerated]
### Your contribution
[EDITED: insults not tolerated] | null | https://api.github.com/repos/huggingface/datasets/issues/6745/timeline | null | completed | ghost | 10,137 | MDQ6VXNlcjEwMTM3 | https://avatars.githubusercontent.com/u/10137?v=4 | https://api.github.com/users/ghost | https://github.com/ghost | https://api.github.com/users/ghost/followers | https://api.github.com/users/ghost/following{/other_user} | https://api.github.com/users/ghost/gists{/gist_id} | https://api.github.com/users/ghost/starred{/owner}{/repo} | https://api.github.com/users/ghost/subscriptions | https://api.github.com/users/ghost/orgs | https://api.github.com/users/ghost/repos | https://api.github.com/users/ghost/events{/privacy} | https://api.github.com/users/ghost/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6745/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"It's not twitter here"
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6744 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6744/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6744/comments | https://api.github.com/repos/huggingface/datasets/issues/6744/events | https://github.com/huggingface/datasets/issues/6744 | 2,197,910,168 | I_kwDODunzps6DAXKY | 6,744 | Option to disable file locking | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | open | false | null | [] | null | 0 | 1,710 | 1,710 | null | NONE | null | null | ### Feature request
Commands such as `load_dataset` creates file locks with `filelock.FileLock`. It would be good if there was a way to disable this.
### Motivation
File locking doesn't work on all file-systems (in my case NFS mounted Weka). If the `cache_dir` only had small files then it would be possible to point ... | null | https://api.github.com/repos/huggingface/datasets/issues/6744/timeline | null | null | VRehnberg | 35,767,167 | MDQ6VXNlcjM1NzY3MTY3 | https://avatars.githubusercontent.com/u/35767167?v=4 | https://api.github.com/users/VRehnberg | https://github.com/VRehnberg | https://api.github.com/users/VRehnberg/followers | https://api.github.com/users/VRehnberg/following{/other_user} | https://api.github.com/users/VRehnberg/gists{/gist_id} | https://api.github.com/users/VRehnberg/starred{/owner}{/repo} | https://api.github.com/users/VRehnberg/subscriptions | https://api.github.com/users/VRehnberg/orgs | https://api.github.com/users/VRehnberg/repos | https://api.github.com/users/VRehnberg/events{/privacy} | https://api.github.com/users/VRehnberg/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6744/reactions | 13 | 13 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6740 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6740/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6740/comments | https://api.github.com/repos/huggingface/datasets/issues/6740/events | https://github.com/huggingface/datasets/issues/6740 | 2,193,172,074 | I_kwDODunzps6CuSZq | 6,740 | Support for loading geotiff files as a part of the ImageFolder | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | closed | false | null | [] | null | 0 | 1,710 | 1,711 | 1,711 | NONE | null | null | ### Feature request
Request for adding rasterio support to load geotiff as a part of ImageFolder, instead of using PIL
### Motivation
As of now, there are many datasets in HuggingFace Hub which are predominantly focussed towards RemoteSensing or are from RemoteSensing. The current ImageFolder (if I have understood c... | null | https://api.github.com/repos/huggingface/datasets/issues/6740/timeline | null | not_planned | sunny1401 | 31,362,090 | MDQ6VXNlcjMxMzYyMDkw | https://avatars.githubusercontent.com/u/31362090?v=4 | https://api.github.com/users/sunny1401 | https://github.com/sunny1401 | https://api.github.com/users/sunny1401/followers | https://api.github.com/users/sunny1401/following{/other_user} | https://api.github.com/users/sunny1401/gists{/gist_id} | https://api.github.com/users/sunny1401/starred{/owner}{/repo} | https://api.github.com/users/sunny1401/subscriptions | https://api.github.com/users/sunny1401/orgs | https://api.github.com/users/sunny1401/repos | https://api.github.com/users/sunny1401/events{/privacy} | https://api.github.com/users/sunny1401/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6740/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | sunny1401 | 31,362,090 | MDQ6VXNlcjMxMzYyMDkw | https://avatars.githubusercontent.com/u/31362090?v=4 | https://api.github.com/users/sunny1401 | https://github.com/sunny1401 | https://api.github.com/users/sunny1401/followers | https://api.github.com/users/sunny1401/following{/other_user} | https://api.github.com/users/sunny1401/gists{/gist_id} | https://api.github.com/users/sunny1401/starred{/owner}{/repo} | https://api.github.com/users/sunny1401/subscriptions | https://api.github.com/users/sunny1401/orgs | https://api.github.com/users/sunny1401/repos | https://api.github.com/users/sunny1401/events{/privacy} | https://api.github.com/users/sunny1401/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | ||
https://api.github.com/repos/huggingface/datasets/issues/6738 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6738/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6738/comments | https://api.github.com/repos/huggingface/datasets/issues/6738/events | https://github.com/huggingface/datasets/issues/6738 | 2,192,386,536 | I_kwDODunzps6CrSno | 6,738 | Dict feature is non-nullable while nested dict feature is | [
{
"id": 1935892857,
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | 3 | 1,710 | 1,710 | 1,710 | CONTRIBUTOR | null | null | When i try to create a `Dataset` object with None values inside a dict column, like this:
```python
from datasets import Dataset, Features, Value
Dataset.from_dict(
{
"dict": [{"a": 0, "b": 0}, None],
}, features=Features(
{"dict": {"a": Value("int16"), "b": Value("int16")}}
)
)
... | null | https://api.github.com/repos/huggingface/datasets/issues/6738/timeline | null | completed | polinaeterna | 16,348,744 | MDQ6VXNlcjE2MzQ4NzQ0 | https://avatars.githubusercontent.com/u/16348744?v=4 | https://api.github.com/users/polinaeterna | https://github.com/polinaeterna | https://api.github.com/users/polinaeterna/followers | https://api.github.com/users/polinaeterna/following{/other_user} | https://api.github.com/users/polinaeterna/gists{/gist_id} | https://api.github.com/users/polinaeterna/starred{/owner}{/repo} | https://api.github.com/users/polinaeterna/subscriptions | https://api.github.com/users/polinaeterna/orgs | https://api.github.com/users/polinaeterna/repos | https://api.github.com/users/polinaeterna/events{/privacy} | https://api.github.com/users/polinaeterna/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6738/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | mariosasko | 47,462,742 | MDQ6VXNlcjQ3NDYyNzQy | https://avatars.githubusercontent.com/u/47462742?v=4 | https://api.github.com/users/mariosasko | https://github.com/mariosasko | https://api.github.com/users/mariosasko/followers | https://api.github.com/users/mariosasko/following{/other_user} | https://api.github.com/users/mariosasko/gists{/gist_id} | https://api.github.com/users/mariosasko/starred{/owner}{/repo} | https://api.github.com/users/mariosasko/subscriptions | https://api.github.com/users/mariosasko/orgs | https://api.github.com/users/mariosasko/repos | https://api.github.com/users/mariosasko/events{/privacy} | https://api.github.com/users/mariosasko/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"It looks like a bug, by default every feature should be nullable.",
"I've linked a PR with a fix :)",
"@mariosasko awesome thank you!"
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6737 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6737/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6737/comments | https://api.github.com/repos/huggingface/datasets/issues/6737/events | https://github.com/huggingface/datasets/issues/6737 | 2,190,198,425 | I_kwDODunzps6Ci8aZ | 6,737 | Invalid pattern: '**' can only be an entire path component | [] | closed | false | null | [] | null | 7 | 1,710 | 1,721 | 1,715 | NONE | null | null | ### Describe the bug
ValueError: Invalid pattern: '**' can only be an entire path component
when loading any dataset
### Steps to reproduce the bug
import datasets
ds = datasets.load_dataset("TokenBender/code_instructions_122k_alpaca_style")
### Expected behavior
loading the dataset successfully
### Environm... | null | https://api.github.com/repos/huggingface/datasets/issues/6737/timeline | null | completed | JPonsa | 28,976,175 | MDQ6VXNlcjI4OTc2MTc1 | https://avatars.githubusercontent.com/u/28976175?v=4 | https://api.github.com/users/JPonsa | https://github.com/JPonsa | https://api.github.com/users/JPonsa/followers | https://api.github.com/users/JPonsa/following{/other_user} | https://api.github.com/users/JPonsa/gists{/gist_id} | https://api.github.com/users/JPonsa/starred{/owner}{/repo} | https://api.github.com/users/JPonsa/subscriptions | https://api.github.com/users/JPonsa/orgs | https://api.github.com/users/JPonsa/repos | https://api.github.com/users/JPonsa/events{/privacy} | https://api.github.com/users/JPonsa/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6737/reactions | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"I couldn't reproduce the issue on my side on MacOS, I guess the issue comes from the recent `fsspec` on Windows.\r\n\r\nCan you try downgrading to `fsspec==2023.9.2` for now ? It would also be great to investigate this and see if we need a fix in `datasets` or `fsspec`",
"I had the same issue! \r\nDowngrading t... | ||
https://api.github.com/repos/huggingface/datasets/issues/6736 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6736/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6736/comments | https://api.github.com/repos/huggingface/datasets/issues/6736/events | https://github.com/huggingface/datasets/issues/6736 | 2,190,181,422 | I_kwDODunzps6Ci4Qu | 6,736 | Mosaic Streaming (MDS) Support | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | open | false | null | [] | null | 1 | 1,710 | 1,757 | null | NONE | null | null | ### Feature request
I'm a huge fan of the current HF Datasets `webdataset` integration (especially the built-in streaming support). However, I'd love to upload some robotics and multimodal datasets I've processed for use with [Mosaic Streaming](https://docs.mosaicml.com/projects/streaming/en/stable/), specifically the... | null | https://api.github.com/repos/huggingface/datasets/issues/6736/timeline | null | null | siddk | 2,498,509 | MDQ6VXNlcjI0OTg1MDk= | https://avatars.githubusercontent.com/u/2498509?v=4 | https://api.github.com/users/siddk | https://github.com/siddk | https://api.github.com/users/siddk/followers | https://api.github.com/users/siddk/following{/other_user} | https://api.github.com/users/siddk/gists{/gist_id} | https://api.github.com/users/siddk/starred{/owner}{/repo} | https://api.github.com/users/siddk/subscriptions | https://api.github.com/users/siddk/orgs | https://api.github.com/users/siddk/repos | https://api.github.com/users/siddk/events{/privacy} | https://api.github.com/users/siddk/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6736/reactions | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi ! that would be great :) Though note that `datasets` doesn't implement format-specific resuming when streaming, so in general I think it's better if users can use the mosaic-streaming library to read their MDS datasets. I wonder if they support `hf://` paths though...\n\nAnyway for those interested, the code fo... | |
https://api.github.com/repos/huggingface/datasets/issues/6734 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6734/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6734/comments | https://api.github.com/repos/huggingface/datasets/issues/6734/events | https://github.com/huggingface/datasets/issues/6734 | 2,187,646,694 | I_kwDODunzps6CZNbm | 6,734 | Tokenization slows towards end of dataset | [] | open | false | null | [] | null | 4 | 1,710 | 1,740 | null | NONE | null | null | ### Describe the bug
Mapped tokenization slows down substantially towards end of dataset.
train set started off very slow, caught up to 20k then tapered off til the end.
what's particularly strange is that the tokenization crashed a few times before due to errors with invalid tokens somewhere or corrupted down... | null | https://api.github.com/repos/huggingface/datasets/issues/6734/timeline | null | null | ethansmith2000 | 98,723,285 | U_kgDOBeJl1Q | https://avatars.githubusercontent.com/u/98723285?v=4 | https://api.github.com/users/ethansmith2000 | https://github.com/ethansmith2000 | https://api.github.com/users/ethansmith2000/followers | https://api.github.com/users/ethansmith2000/following{/other_user} | https://api.github.com/users/ethansmith2000/gists{/gist_id} | https://api.github.com/users/ethansmith2000/starred{/owner}{/repo} | https://api.github.com/users/ethansmith2000/subscriptions | https://api.github.com/users/ethansmith2000/orgs | https://api.github.com/users/ethansmith2000/repos | https://api.github.com/users/ethansmith2000/events{/privacy} | https://api.github.com/users/ethansmith2000/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6734/reactions | 3 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi ! First note that if the dataset is not heterogeneous / shuffled, there might be places in the data with shorter texts that are faster to tokenize.\r\n\r\nMoreover, the way `num_proc` works is by slicing the dataset and passing each slice to a process to run the `map()` function. So at the very end of `map()`, ... | |
https://api.github.com/repos/huggingface/datasets/issues/6733 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6733/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6733/comments | https://api.github.com/repos/huggingface/datasets/issues/6733/events | https://github.com/huggingface/datasets/issues/6733 | 2,186,811,724 | I_kwDODunzps6CWBlM | 6,733 | EmptyDatasetError when loading dataset downloaded with HuggingFace cli | [] | open | false | null | [] | null | 1 | 1,710 | 1,710 | null | NONE | null | null | ### Describe the bug
I am using a cluster that does not have access to the internet when given a job. I tried downloading the dataset using the huggingface-cli command and then loading it with load_dataset but I get an error:
```raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files... | null | https://api.github.com/repos/huggingface/datasets/issues/6733/timeline | null | null | StwayneXG | 77,196,999 | MDQ6VXNlcjc3MTk2OTk5 | https://avatars.githubusercontent.com/u/77196999?v=4 | https://api.github.com/users/StwayneXG | https://github.com/StwayneXG | https://api.github.com/users/StwayneXG/followers | https://api.github.com/users/StwayneXG/following{/other_user} | https://api.github.com/users/StwayneXG/gists{/gist_id} | https://api.github.com/users/StwayneXG/starred{/owner}{/repo} | https://api.github.com/users/StwayneXG/subscriptions | https://api.github.com/users/StwayneXG/orgs | https://api.github.com/users/StwayneXG/repos | https://api.github.com/users/StwayneXG/events{/privacy} | https://api.github.com/users/StwayneXG/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6733/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! `datasets` is not compatible with `huggingface_hub`'s cache structure, hence the error.\r\n\r\nYou can track https://github.com/huggingface/datasets/issues/5080 to get notified when this is implemented."
] | |
https://api.github.com/repos/huggingface/datasets/issues/6731 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6731/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6731/comments | https://api.github.com/repos/huggingface/datasets/issues/6731/events | https://github.com/huggingface/datasets/issues/6731 | 2,182,844,673 | I_kwDODunzps6CG5EB | 6,731 | Unexpected behavior when using load_dataset with streaming=True in a for loop | [] | closed | false | null | [] | null | 2 | 1,710 | 1,713 | 1,713 | NONE | null | null | ### Describe the bug
### My Code
```
from datasets import load_dataset
res=[]
for i in [0,1]:
di=load_dataset(
"json",
data_files='path_to.json',
split='train',
streaming=True,
).map(lambda x: {"source": i})
res.append(di)
for e in res[... | null | https://api.github.com/repos/huggingface/datasets/issues/6731/timeline | null | completed | uApiv | 42,908,296 | MDQ6VXNlcjQyOTA4Mjk2 | https://avatars.githubusercontent.com/u/42908296?v=4 | https://api.github.com/users/uApiv | https://github.com/uApiv | https://api.github.com/users/uApiv/followers | https://api.github.com/users/uApiv/following{/other_user} | https://api.github.com/users/uApiv/gists{/gist_id} | https://api.github.com/users/uApiv/starred{/owner}{/repo} | https://api.github.com/users/uApiv/subscriptions | https://api.github.com/users/uApiv/orgs | https://api.github.com/users/uApiv/repos | https://api.github.com/users/uApiv/events{/privacy} | https://api.github.com/users/uApiv/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6731/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | uApiv | 42,908,296 | MDQ6VXNlcjQyOTA4Mjk2 | https://avatars.githubusercontent.com/u/42908296?v=4 | https://api.github.com/users/uApiv | https://github.com/uApiv | https://api.github.com/users/uApiv/followers | https://api.github.com/users/uApiv/following{/other_user} | https://api.github.com/users/uApiv/gists{/gist_id} | https://api.github.com/users/uApiv/starred{/owner}{/repo} | https://api.github.com/users/uApiv/subscriptions | https://api.github.com/users/uApiv/orgs | https://api.github.com/users/uApiv/repos | https://api.github.com/users/uApiv/events{/privacy} | https://api.github.com/users/uApiv/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"This is normal behavior in python when using `lambda`: the `i` defined in your `lambda` refers to the global variable `i` in your loop, and `i` equals to `1` when you run your `for e in res[0]` line.\r\n\r\nYou should pass `fn_kwargs` that will be passed to your `lambda` instead of using the global variable:\r\n\r... | ||
https://api.github.com/repos/huggingface/datasets/issues/6729 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6729/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6729/comments | https://api.github.com/repos/huggingface/datasets/issues/6729/events | https://github.com/huggingface/datasets/issues/6729 | 2,180,237,159 | I_kwDODunzps6B88dn | 6,729 | Support zipfiles that span multiple disks? | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
},
{
"id": 1935892912,
"node_id": "MDU6... | closed | false | null | [] | null | 6 | 1,710 | 1,719 | 1,719 | COLLABORATOR | null | null | See https://huggingface.co/datasets/PhilEO-community/PhilEO-downstream
The dataset viewer gives the following error:
```
Error code: ConfigNamesError
Exception: BadZipFile
Message: zipfiles that span multiple disks are not supported
Traceback: Traceback (most recent call last):
F... | null | https://api.github.com/repos/huggingface/datasets/issues/6729/timeline | null | not_planned | severo | 1,676,121 | MDQ6VXNlcjE2NzYxMjE= | https://avatars.githubusercontent.com/u/1676121?v=4 | https://api.github.com/users/severo | https://github.com/severo | https://api.github.com/users/severo/followers | https://api.github.com/users/severo/following{/other_user} | https://api.github.com/users/severo/gists{/gist_id} | https://api.github.com/users/severo/starred{/owner}{/repo} | https://api.github.com/users/severo/subscriptions | https://api.github.com/users/severo/orgs | https://api.github.com/users/severo/repos | https://api.github.com/users/severo/events{/privacy} | https://api.github.com/users/severo/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6729/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"@severo were you able to solve it?",
"No. cc @albertvillanova @lhoestq @polinaeterna for an evaluation of what it would take to support this feature.",
"The underlying issue issue is that the dataset repository has used split ZIP archive files: https://huggingface.co/datasets/PhilEO-community/PhilEO-downstream... | ||
https://api.github.com/repos/huggingface/datasets/issues/6728 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6728/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6728/comments | https://api.github.com/repos/huggingface/datasets/issues/6728/events | https://github.com/huggingface/datasets/issues/6728 | 2,178,607,012 | I_kwDODunzps6B2uek | 6,728 | Issue Downloading Certain Datasets After Setting Custom `HF_ENDPOINT` | [] | closed | false | null | [] | null | 3 | 1,710 | 1,710 | 1,710 | NONE | null | null | ### Describe the bug
This bug is triggered under the following conditions:
- datasets repo ids without organization names trigger errors, such as `bookcorpus`, `gsm8k`, `wikipedia`, rather than in the form of `A/B`.
- If `HF_ENDPOINT` is set and the hostname is not in the form of `(hub-ci.)?huggingface.co`.
- T... | null | https://api.github.com/repos/huggingface/datasets/issues/6728/timeline | null | completed | padeoe | 10,057,041 | MDQ6VXNlcjEwMDU3MDQx | https://avatars.githubusercontent.com/u/10057041?v=4 | https://api.github.com/users/padeoe | https://github.com/padeoe | https://api.github.com/users/padeoe/followers | https://api.github.com/users/padeoe/following{/other_user} | https://api.github.com/users/padeoe/gists{/gist_id} | https://api.github.com/users/padeoe/starred{/owner}{/repo} | https://api.github.com/users/padeoe/subscriptions | https://api.github.com/users/padeoe/orgs | https://api.github.com/users/padeoe/repos | https://api.github.com/users/padeoe/events{/privacy} | https://api.github.com/users/padeoe/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6728/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | Wauplin | 11,801,849 | MDQ6VXNlcjExODAxODQ5 | https://avatars.githubusercontent.com/u/11801849?v=4 | https://api.github.com/users/Wauplin | https://github.com/Wauplin | https://api.github.com/users/Wauplin/followers | https://api.github.com/users/Wauplin/following{/other_user} | https://api.github.com/users/Wauplin/gists{/gist_id} | https://api.github.com/users/Wauplin/starred{/owner}{/repo} | https://api.github.com/users/Wauplin/subscriptions | https://api.github.com/users/Wauplin/orgs | https://api.github.com/users/Wauplin/repos | https://api.github.com/users/Wauplin/events{/privacy} | https://api.github.com/users/Wauplin/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Through debugging, I found a potential solution is to modify the code in the error handling module of `huggingface_hub`: https://github.com/huggingface/huggingface_hub/commit/56d6c798c44e83d2a3167e74c022737d8fcbe822 ",
"@Wauplin ",
"Thanks for investigating and reporting the bug @padeoe! I've opened a PR in `h... | ||
https://api.github.com/repos/huggingface/datasets/issues/6726 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6726/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6726/comments | https://api.github.com/repos/huggingface/datasets/issues/6726/events | https://github.com/huggingface/datasets/issues/6726 | 2,177,097,232 | I_kwDODunzps6Bw94Q | 6,726 | Profiling for HF Filesystem shows there are easy performance gains to be made | [] | open | false | null | [] | null | 2 | 1,709 | 1,709 | null | NONE | null | null | ### Describe the bug
# Let's make it faster
First, an evidence...

Figure 1: CProfile for loading 3 files from cerebras/SlimPajama-627B train split, and 3 files from test split using streaming=True. X axis is 1106... | null | https://api.github.com/repos/huggingface/datasets/issues/6726/timeline | null | null | awgr | 159,512,661 | U_kgDOCYH4VQ | https://avatars.githubusercontent.com/u/159512661?v=4 | https://api.github.com/users/awgr | https://github.com/awgr | https://api.github.com/users/awgr/followers | https://api.github.com/users/awgr/following{/other_user} | https://api.github.com/users/awgr/gists{/gist_id} | https://api.github.com/users/awgr/starred{/owner}{/repo} | https://api.github.com/users/awgr/subscriptions | https://api.github.com/users/awgr/orgs | https://api.github.com/users/awgr/repos | https://api.github.com/users/awgr/events{/privacy} | https://api.github.com/users/awgr/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6726/reactions | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"FWIW I debugged this while waiting for it to go",
"Oh I forgot to mention you can also cache resolve_pattern, and that seemed to also substantially improves things, if you want to load a dataset twice for whatever reason."
] | |
https://api.github.com/repos/huggingface/datasets/issues/6725 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6725/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6725/comments | https://api.github.com/repos/huggingface/datasets/issues/6725/events | https://github.com/huggingface/datasets/issues/6725 | 2,175,527,530 | I_kwDODunzps6Bq-pq | 6,725 | Request for a comparison of huggingface datasets compared with other data format especially webdataset | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | open | false | null | [] | null | 0 | 1,709 | 1,709 | null | NONE | null | null | ### Feature request
Request for a comparison of huggingface datasets compared with other data format especially webdataset
### Motivation
I see huggingface datasets uses Apache Arrow as its backend, it seems to be great, but I'm curious about how it is good compared with other dataset format, like webdataset, what's... | null | https://api.github.com/repos/huggingface/datasets/issues/6725/timeline | null | null | Luciennnnnnn | 20,135,317 | MDQ6VXNlcjIwMTM1MzE3 | https://avatars.githubusercontent.com/u/20135317?v=4 | https://api.github.com/users/Luciennnnnnn | https://github.com/Luciennnnnnn | https://api.github.com/users/Luciennnnnnn/followers | https://api.github.com/users/Luciennnnnnn/following{/other_user} | https://api.github.com/users/Luciennnnnnn/gists{/gist_id} | https://api.github.com/users/Luciennnnnnn/starred{/owner}{/repo} | https://api.github.com/users/Luciennnnnnn/subscriptions | https://api.github.com/users/Luciennnnnnn/orgs | https://api.github.com/users/Luciennnnnnn/repos | https://api.github.com/users/Luciennnnnnn/events{/privacy} | https://api.github.com/users/Luciennnnnnn/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6725/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6724 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6724/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6724/comments | https://api.github.com/repos/huggingface/datasets/issues/6724/events | https://github.com/huggingface/datasets/issues/6724 | 2,174,398,227 | I_kwDODunzps6Bmq8T | 6,724 | Dataset with loading script does not work in renamed repos | [] | open | false | null | [] | null | 0 | 1,709 | 1,709 | null | CONTRIBUTOR | null | null | ### Describe the bug
My data repository was first called `BramVanroy/hplt-mono-v1-2` but I then renamed to use underscores instead of dashes. However, it seems that `datasets` retrieves the old repo name when it checks whether the repo contains data loading scripts in this line.
https://github.com/huggingface/dat... | null | https://api.github.com/repos/huggingface/datasets/issues/6724/timeline | null | null | BramVanroy | 2,779,410 | MDQ6VXNlcjI3Nzk0MTA= | https://avatars.githubusercontent.com/u/2779410?v=4 | https://api.github.com/users/BramVanroy | https://github.com/BramVanroy | https://api.github.com/users/BramVanroy/followers | https://api.github.com/users/BramVanroy/following{/other_user} | https://api.github.com/users/BramVanroy/gists{/gist_id} | https://api.github.com/users/BramVanroy/starred{/owner}{/repo} | https://api.github.com/users/BramVanroy/subscriptions | https://api.github.com/users/BramVanroy/orgs | https://api.github.com/users/BramVanroy/repos | https://api.github.com/users/BramVanroy/events{/privacy} | https://api.github.com/users/BramVanroy/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6724/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6721 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6721/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6721/comments | https://api.github.com/repos/huggingface/datasets/issues/6721/events | https://github.com/huggingface/datasets/issues/6721 | 2,173,931,714 | I_kwDODunzps6Bk5DC | 6,721 | Hi,do you know how to load the dataset from local file now? | [] | open | false | null | [] | null | 3 | 1,709 | 1,711 | null | NONE | null | null | Hi, if I want to load the dataset from local file, then how to specify the configuration name?
_Originally posted by @WHU-gentle in https://github.com/huggingface/datasets/issues/2976#issuecomment-1333455222_
| null | https://api.github.com/repos/huggingface/datasets/issues/6721/timeline | null | null | Gera001 | 50,232,044 | MDQ6VXNlcjUwMjMyMDQ0 | https://avatars.githubusercontent.com/u/50232044?v=4 | https://api.github.com/users/Gera001 | https://github.com/Gera001 | https://api.github.com/users/Gera001/followers | https://api.github.com/users/Gera001/following{/other_user} | https://api.github.com/users/Gera001/gists{/gist_id} | https://api.github.com/users/Gera001/starred{/owner}{/repo} | https://api.github.com/users/Gera001/subscriptions | https://api.github.com/users/Gera001/orgs | https://api.github.com/users/Gera001/repos | https://api.github.com/users/Gera001/events{/privacy} | https://api.github.com/users/Gera001/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6721/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"\r\n@Gera001\r\n# Loading Dataset from Local Files Using 🤗Hugging Face.\r\n\r\nTo load a dataset from local files using the Hugging Face datasets library, you can use the `load_dataset` function.\r\n\r\n```\r\nfrom datasets import load_dataset\r\ndataset = load_dataset('csv', data_files={'train': 'path/to/train.c... | |
https://api.github.com/repos/huggingface/datasets/issues/6720 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6720/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6720/comments | https://api.github.com/repos/huggingface/datasets/issues/6720/events | https://github.com/huggingface/datasets/issues/6720 | 2,173,603,459 | I_kwDODunzps6Bjo6D | 6,720 | TypeError: 'str' object is not callable | [] | closed | false | null | [] | null | 2 | 1,709 | 1,709 | 1,709 | CONTRIBUTOR | null | null | ### Describe the bug
I am trying to get the HPLT datasets on the hub. Downloading/re-uploading would be too time- and resource consuming so I wrote [a dataset loader script](https://huggingface.co/datasets/BramVanroy/hplt_mono_v1_2/blob/main/hplt_mono_v1_2.py). I think I am very close but for some reason I always get ... | null | https://api.github.com/repos/huggingface/datasets/issues/6720/timeline | null | completed | BramVanroy | 2,779,410 | MDQ6VXNlcjI3Nzk0MTA= | https://avatars.githubusercontent.com/u/2779410?v=4 | https://api.github.com/users/BramVanroy | https://github.com/BramVanroy | https://api.github.com/users/BramVanroy/followers | https://api.github.com/users/BramVanroy/following{/other_user} | https://api.github.com/users/BramVanroy/gists{/gist_id} | https://api.github.com/users/BramVanroy/starred{/owner}{/repo} | https://api.github.com/users/BramVanroy/subscriptions | https://api.github.com/users/BramVanroy/orgs | https://api.github.com/users/BramVanroy/repos | https://api.github.com/users/BramVanroy/events{/privacy} | https://api.github.com/users/BramVanroy/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6720/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | BramVanroy | 2,779,410 | MDQ6VXNlcjI3Nzk0MTA= | https://avatars.githubusercontent.com/u/2779410?v=4 | https://api.github.com/users/BramVanroy | https://github.com/BramVanroy | https://api.github.com/users/BramVanroy/followers | https://api.github.com/users/BramVanroy/following{/other_user} | https://api.github.com/users/BramVanroy/gists{/gist_id} | https://api.github.com/users/BramVanroy/starred{/owner}{/repo} | https://api.github.com/users/BramVanroy/subscriptions | https://api.github.com/users/BramVanroy/orgs | https://api.github.com/users/BramVanroy/repos | https://api.github.com/users/BramVanroy/events{/privacy} | https://api.github.com/users/BramVanroy/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi ! I opened a PR to fix an issue in the Features defined in your code\r\n\r\nBasically changing\r\n```python\r\nSequence(\"float32\")\r\n```\r\n\r\nto\r\n```python\r\nSequence(Value(\"float32\"))\r\n```\r\n\r\n\r\nhttps://huggingface.co/datasets/BramVanroy/hplt_mono_v1_2/discussions/1",
"D'oh! Was wondering wh... | ||
https://api.github.com/repos/huggingface/datasets/issues/6719 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6719/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6719/comments | https://api.github.com/repos/huggingface/datasets/issues/6719/events | https://github.com/huggingface/datasets/issues/6719 | 2,169,585,727 | I_kwDODunzps6BUUA_ | 6,719 | Is there any way to solve hanging of IterableDataset using split by node + filtering during inference | [] | open | false | null | [] | null | 0 | 1,709 | 1,709 | null | NONE | null | null | ### Describe the bug
I am using an iterable dataset in a multi-node setup, trying to do training/inference while filtering the data on the fly. I usually do not use `split_dataset_by_node` but it is very slow using the IterableDatasetShard in `accelerate` and `transformers`. When I filter after applying `split_dataset... | null | https://api.github.com/repos/huggingface/datasets/issues/6719/timeline | null | null | ssharpe42 | 8,136,905 | MDQ6VXNlcjgxMzY5MDU= | https://avatars.githubusercontent.com/u/8136905?v=4 | https://api.github.com/users/ssharpe42 | https://github.com/ssharpe42 | https://api.github.com/users/ssharpe42/followers | https://api.github.com/users/ssharpe42/following{/other_user} | https://api.github.com/users/ssharpe42/gists{/gist_id} | https://api.github.com/users/ssharpe42/starred{/owner}{/repo} | https://api.github.com/users/ssharpe42/subscriptions | https://api.github.com/users/ssharpe42/orgs | https://api.github.com/users/ssharpe42/repos | https://api.github.com/users/ssharpe42/events{/privacy} | https://api.github.com/users/ssharpe42/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6719/reactions | 4 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6717 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6717/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6717/comments | https://api.github.com/repos/huggingface/datasets/issues/6717/events | https://github.com/huggingface/datasets/issues/6717 | 2,168,726,432 | I_kwDODunzps6BRCOg | 6,717 | `remove_columns` method used with a streaming enable dataset mode produces a LibsndfileError on multichannel audio | [] | open | false | null | [] | null | 2 | 1,709 | 1,723 | null | NONE | null | null | ### Describe the bug
When loading a HF dataset in streaming mode and removing some columns, it is impossible to load a sample if the audio contains more than one channel. I have the impression that the time axis and channels are swapped or concatenated.
### Steps to reproduce the bug
Minimal error code:
```python
... | null | https://api.github.com/repos/huggingface/datasets/issues/6717/timeline | null | null | jhauret | 53,187,038 | MDQ6VXNlcjUzMTg3MDM4 | https://avatars.githubusercontent.com/u/53187038?v=4 | https://api.github.com/users/jhauret | https://github.com/jhauret | https://api.github.com/users/jhauret/followers | https://api.github.com/users/jhauret/following{/other_user} | https://api.github.com/users/jhauret/gists{/gist_id} | https://api.github.com/users/jhauret/starred{/owner}{/repo} | https://api.github.com/users/jhauret/subscriptions | https://api.github.com/users/jhauret/orgs | https://api.github.com/users/jhauret/repos | https://api.github.com/users/jhauret/events{/privacy} | https://api.github.com/users/jhauret/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6717/reactions | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"And it also works well with `dataset = dataset.select_columns([\"audio\"])`",
"Same issue here, disable stream=True fix the problem"
] | |
https://api.github.com/repos/huggingface/datasets/issues/6716 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6716/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6716/comments | https://api.github.com/repos/huggingface/datasets/issues/6716/events | https://github.com/huggingface/datasets/issues/6716 | 2,168,706,558 | I_kwDODunzps6BQ9X- | 6,716 | Non-deterministic `Dataset.builder_name` value | [] | closed | false | null | [] | null | 6 | 1,709 | 1,710 | 1,710 | NONE | null | null | ### 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... | null | https://api.github.com/repos/huggingface/datasets/issues/6716/timeline | null | completed | harupy | 17,039,389 | MDQ6VXNlcjE3MDM5Mzg5 | https://avatars.githubusercontent.com/u/17039389?v=4 | https://api.github.com/users/harupy | https://github.com/harupy | https://api.github.com/users/harupy/followers | https://api.github.com/users/harupy/following{/other_user} | https://api.github.com/users/harupy/gists{/gist_id} | https://api.github.com/users/harupy/starred{/owner}{/repo} | https://api.github.com/users/harupy/subscriptions | https://api.github.com/users/harupy/orgs | https://api.github.com/users/harupy/repos | https://api.github.com/users/harupy/events{/privacy} | https://api.github.com/users/harupy/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6716/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | harupy | 17,039,389 | MDQ6VXNlcjE3MDM5Mzg5 | https://avatars.githubusercontent.com/u/17039389?v=4 | https://api.github.com/users/harupy | https://github.com/harupy | https://api.github.com/users/harupy/followers | https://api.github.com/users/harupy/following{/other_user} | https://api.github.com/users/harupy/gists{/gist_id} | https://api.github.com/users/harupy/starred{/owner}{/repo} | https://api.github.com/users/harupy/subscriptions | https://api.github.com/users/harupy/orgs | https://api.github.com/users/harupy/repos | https://api.github.com/users/harupy/events{/privacy} | https://api.github.com/users/harupy/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"When `rotten_tomatoes` is printed out, the following warning message is also printed out:\r\n\r\n```\r\nYou can avoid this message in future by passing the argument `trust_remote_code=True`.\r\nPassing `trust_remote_code=True` will be mandatory to load this dataset from the next major release of `datasets`.\r\n```... | ||
https://api.github.com/repos/huggingface/datasets/issues/6703 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6703/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6703/comments | https://api.github.com/repos/huggingface/datasets/issues/6703/events | https://github.com/huggingface/datasets/issues/6703 | 2,163,250,590 | I_kwDODunzps6A8JWe | 6,703 | Unable to load dataset that was saved with `save_to_disk` | [] | closed | false | null | [] | null | 8 | 1,709 | 1,709 | 1,709 | NONE | null | null | ### Describe the bug
I get the following error message: You are trying to load a dataset that was saved using `save_to_disk`. Please use `load_from_disk` instead.
### Steps to reproduce the bug
1. Save a dataset with `save_to_disk`
2. Try to load it with `load_datasets`
### Expected behavior
I am ab... | null | https://api.github.com/repos/huggingface/datasets/issues/6703/timeline | null | completed | casper-hansen | 27,340,033 | MDQ6VXNlcjI3MzQwMDMz | https://avatars.githubusercontent.com/u/27340033?v=4 | https://api.github.com/users/casper-hansen | https://github.com/casper-hansen | https://api.github.com/users/casper-hansen/followers | https://api.github.com/users/casper-hansen/following{/other_user} | https://api.github.com/users/casper-hansen/gists{/gist_id} | https://api.github.com/users/casper-hansen/starred{/owner}{/repo} | https://api.github.com/users/casper-hansen/subscriptions | https://api.github.com/users/casper-hansen/orgs | https://api.github.com/users/casper-hansen/repos | https://api.github.com/users/casper-hansen/events{/privacy} | https://api.github.com/users/casper-hansen/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6703/reactions | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | casper-hansen | 27,340,033 | MDQ6VXNlcjI3MzQwMDMz | https://avatars.githubusercontent.com/u/27340033?v=4 | https://api.github.com/users/casper-hansen | https://github.com/casper-hansen | https://api.github.com/users/casper-hansen/followers | https://api.github.com/users/casper-hansen/following{/other_user} | https://api.github.com/users/casper-hansen/gists{/gist_id} | https://api.github.com/users/casper-hansen/starred{/owner}{/repo} | https://api.github.com/users/casper-hansen/subscriptions | https://api.github.com/users/casper-hansen/orgs | https://api.github.com/users/casper-hansen/repos | https://api.github.com/users/casper-hansen/events{/privacy} | https://api.github.com/users/casper-hansen/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"`save_to_disk` uses a special serialization that can only be read using `load_from_disk`.\r\n\r\nContrary to `load_dataset`, `load_from_disk` directly loads Arrow files and uses the dataset directory as cache.\r\n\r\nOn the other hand `load_dataset` does a conversion step to get Arrow files from the raw data files... | ||
https://api.github.com/repos/huggingface/datasets/issues/6702 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6702/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6702/comments | https://api.github.com/repos/huggingface/datasets/issues/6702/events | https://github.com/huggingface/datasets/issues/6702 | 2,161,938,484 | I_kwDODunzps6A3JA0 | 6,702 | Push samples to dataset on hub without having the dataset locally | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | closed | false | null | [] | null | 2 | 1,709 | 1,709 | 1,709 | NONE | null | null | ### Feature request
Say I have the following code:
```
from datasets import Dataset
import pandas as pd
new_data = {
"column_1": ["value1", "value2"],
"column_2": ["value3", "value4"],
}
df_new = pd.DataFrame(new_data)
dataset_new = Dataset.from_pandas(df_new)
# add these samples to a remote datase... | null | https://api.github.com/repos/huggingface/datasets/issues/6702/timeline | null | completed | jbdel | 17,854,096 | MDQ6VXNlcjE3ODU0MDk2 | https://avatars.githubusercontent.com/u/17854096?v=4 | https://api.github.com/users/jbdel | https://github.com/jbdel | https://api.github.com/users/jbdel/followers | https://api.github.com/users/jbdel/following{/other_user} | https://api.github.com/users/jbdel/gists{/gist_id} | https://api.github.com/users/jbdel/starred{/owner}{/repo} | https://api.github.com/users/jbdel/subscriptions | https://api.github.com/users/jbdel/orgs | https://api.github.com/users/jbdel/repos | https://api.github.com/users/jbdel/events{/privacy} | https://api.github.com/users/jbdel/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6702/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | jbdel | 17,854,096 | MDQ6VXNlcjE3ODU0MDk2 | https://avatars.githubusercontent.com/u/17854096?v=4 | https://api.github.com/users/jbdel | https://github.com/jbdel | https://api.github.com/users/jbdel/followers | https://api.github.com/users/jbdel/following{/other_user} | https://api.github.com/users/jbdel/gists{/gist_id} | https://api.github.com/users/jbdel/starred{/owner}{/repo} | https://api.github.com/users/jbdel/subscriptions | https://api.github.com/users/jbdel/orgs | https://api.github.com/users/jbdel/repos | https://api.github.com/users/jbdel/events{/privacy} | https://api.github.com/users/jbdel/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi ! For now I would recommend creating a new Parquet file using `dataset_new.to_parquet()` and upload it to HF using `huggingface_hub` every time you get a new batch of data. You can name the Parquet files `0000.parquet`, `0001.parquet`, etc.\r\n\r\nThough maybe make sure to not upload one file per sample since t... | ||
https://api.github.com/repos/huggingface/datasets/issues/6700 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6700/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6700/comments | https://api.github.com/repos/huggingface/datasets/issues/6700/events | https://github.com/huggingface/datasets/issues/6700 | 2,158,871,038 | I_kwDODunzps6ArcH- | 6,700 | remove_columns is not in-place but the doc shows it is in-place | [] | closed | false | null | [] | null | 3 | 1,709 | 1,712 | 1,712 | NONE | null | null | ### Describe the bug
The doc of `datasets` v2.17.0/v2.17.1 shows that `remove_columns` is in-place. [link](https://huggingface.co/docs/datasets/v2.17.1/en/package_reference/main_classes#datasets.DatasetDict.remove_columns)
In the text classification example of transformers v4.38.1, the columns are not removed.
h... | null | https://api.github.com/repos/huggingface/datasets/issues/6700/timeline | null | completed | shelfofclub | 32,047,804 | MDQ6VXNlcjMyMDQ3ODA0 | https://avatars.githubusercontent.com/u/32047804?v=4 | https://api.github.com/users/shelfofclub | https://github.com/shelfofclub | https://api.github.com/users/shelfofclub/followers | https://api.github.com/users/shelfofclub/following{/other_user} | https://api.github.com/users/shelfofclub/gists{/gist_id} | https://api.github.com/users/shelfofclub/starred{/owner}{/repo} | https://api.github.com/users/shelfofclub/subscriptions | https://api.github.com/users/shelfofclub/orgs | https://api.github.com/users/shelfofclub/repos | https://api.github.com/users/shelfofclub/events{/privacy} | https://api.github.com/users/shelfofclub/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6700/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | ArthurZucker | 48,595,927 | MDQ6VXNlcjQ4NTk1OTI3 | https://avatars.githubusercontent.com/u/48595927?v=4 | https://api.github.com/users/ArthurZucker | https://github.com/ArthurZucker | https://api.github.com/users/ArthurZucker/followers | https://api.github.com/users/ArthurZucker/following{/other_user} | https://api.github.com/users/ArthurZucker/gists{/gist_id} | https://api.github.com/users/ArthurZucker/starred{/owner}{/repo} | https://api.github.com/users/ArthurZucker/subscriptions | https://api.github.com/users/ArthurZucker/orgs | https://api.github.com/users/ArthurZucker/repos | https://api.github.com/users/ArthurZucker/events{/privacy} | https://api.github.com/users/ArthurZucker/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Good catch! I've opened a PR with a fix in the `transformers` repo.",
"@mariosasko Thanks!\r\n\r\nWill the doc of `datasets` be updated?\r\n\r\nI find some possible mistakes in doc about whether `remove_columns` is in-place.\r\n1. [You can also remove a column using map() with remove_columns but the present meth... | ||
https://api.github.com/repos/huggingface/datasets/issues/6699 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6699/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6699/comments | https://api.github.com/repos/huggingface/datasets/issues/6699/events | https://github.com/huggingface/datasets/issues/6699 | 2,158,152,341 | I_kwDODunzps6AosqV | 6,699 | `Dataset` unexpected changed dict data and may cause error | [] | open | false | null | [] | null | 2 | 1,709 | 1,709 | null | NONE | null | null | ### Describe the bug
Will unexpected get keys with `None` value in the parsed json dict.
### Steps to reproduce the bug
```jsonl test.jsonl
{"id": 0, "indexs": {"-1": [0, 10]}}
{"id": 1, "indexs": {"-1": [0, 10]}}
```
```python
dataset = Dataset.from_json('.test.jsonl')
print(dataset[0])
```
Result:
```... | null | https://api.github.com/repos/huggingface/datasets/issues/6699/timeline | null | null | scruel | 16,933,298 | MDQ6VXNlcjE2OTMzMjk4 | https://avatars.githubusercontent.com/u/16933298?v=4 | https://api.github.com/users/scruel | https://github.com/scruel | https://api.github.com/users/scruel/followers | https://api.github.com/users/scruel/following{/other_user} | https://api.github.com/users/scruel/gists{/gist_id} | https://api.github.com/users/scruel/starred{/owner}{/repo} | https://api.github.com/users/scruel/subscriptions | https://api.github.com/users/scruel/orgs | https://api.github.com/users/scruel/repos | https://api.github.com/users/scruel/events{/privacy} | https://api.github.com/users/scruel/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6699/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"If `test.jsonl` contains more lines like:\r\n```\r\n{\"id\": 0, \"indexs\": {\"-1\": [0, 10]}}\r\n{\"id\": 1, \"indexs\": {\"-1\": [0, 10]}}\r\n{\"id\": 2, \"indexs\": {\"-2\": [0, 10]}}\r\n...\r\n{\"id\": n, \"indexs\": {\"-9999\": [0, 10]}}\r\n```\r\n\r\n`Dataset.from_json` will just raise an error:\r\n```\r\nAn... | |
https://api.github.com/repos/huggingface/datasets/issues/6697 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6697/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6697/comments | https://api.github.com/repos/huggingface/datasets/issues/6697/events | https://github.com/huggingface/datasets/issues/6697 | 2,157,322,224 | I_kwDODunzps6Alh_w | 6,697 | Unable to Load Dataset in Kaggle | [] | closed | false | null | [] | null | 4 | 1,709 | 1,709 | 1,709 | NONE | null | null | ### Describe the bug
Having installed the latest versions of transformers==4.38.1 and datasets==2.17.1 Unable to load the dataset in a kaggle notebook.
Get this Error:
```
---------------------------------------------------------------------------
ValueError Traceback (most recen... | null | https://api.github.com/repos/huggingface/datasets/issues/6697/timeline | null | completed | vrunm | 97,465,624 | U_kgDOBc81GA | https://avatars.githubusercontent.com/u/97465624?v=4 | https://api.github.com/users/vrunm | https://github.com/vrunm | https://api.github.com/users/vrunm/followers | https://api.github.com/users/vrunm/following{/other_user} | https://api.github.com/users/vrunm/gists{/gist_id} | https://api.github.com/users/vrunm/starred{/owner}{/repo} | https://api.github.com/users/vrunm/subscriptions | https://api.github.com/users/vrunm/orgs | https://api.github.com/users/vrunm/repos | https://api.github.com/users/vrunm/events{/privacy} | https://api.github.com/users/vrunm/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6697/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | vrunm | 97,465,624 | U_kgDOBc81GA | https://avatars.githubusercontent.com/u/97465624?v=4 | https://api.github.com/users/vrunm | https://github.com/vrunm | https://api.github.com/users/vrunm/followers | https://api.github.com/users/vrunm/following{/other_user} | https://api.github.com/users/vrunm/gists{/gist_id} | https://api.github.com/users/vrunm/starred{/owner}{/repo} | https://api.github.com/users/vrunm/subscriptions | https://api.github.com/users/vrunm/orgs | https://api.github.com/users/vrunm/repos | https://api.github.com/users/vrunm/events{/privacy} | https://api.github.com/users/vrunm/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"FWIW, I run `load_dataset(\"llm-blender/mix-instruct\")` and it ran successfully.\r\nCan you clear your cache and try again?\r\n\r\n\r\n### Environment Info\r\n\r\n- `datasets` version: 2.17.0\r\n- Platform: Linux-6.2.6-76060206-generic-x86_64-with-glibc2.35\r\n- Python version: 3.9.13\r\n- `huggingface_hub` versi... | ||
https://api.github.com/repos/huggingface/datasets/issues/6695 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6695/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6695/comments | https://api.github.com/repos/huggingface/datasets/issues/6695/events | https://github.com/huggingface/datasets/issues/6695 | 2,154,075,509 | I_kwDODunzps6AZJV1 | 6,695 | Support JSON file with an array of strings | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | closed | false | null | [
{
"login": "albertvillanova",
"id": 8515462,
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertvillanova",
"html_url": "https://github.com/albertvillanova",
"followers_... | null | 1 | 1,708 | 1,709 | 1,709 | MEMBER | null | null | Support loading a dataset from a JSON file with an array of strings.
See: https://huggingface.co/datasets/CausalLM/Refined-Anime-Text/discussions/1 | null | https://api.github.com/repos/huggingface/datasets/issues/6695/timeline | null | completed | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6695/reactions | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"https://huggingface.co/datasets/CausalLM/Refined-Anime-Text/discussions/1 has been fixed, but how can we check if there are other datasets with the same error, in datasets-server's database? I don't know how to get the list of erroneous cache entries, since we only copied `Error code: JobManagerCrashedError`, bu... | |||
https://api.github.com/repos/huggingface/datasets/issues/6691 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6691/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6691/comments | https://api.github.com/repos/huggingface/datasets/issues/6691/events | https://github.com/huggingface/datasets/issues/6691 | 2,152,134,041 | I_kwDODunzps6ARvWZ | 6,691 | load_dataset() does not support tsv | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | closed | false | null | [
{
"login": "harsh1504660",
"id": 77767961,
"node_id": "MDQ6VXNlcjc3NzY3OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/77767961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harsh1504660",
"html_url": "https://github.com/harsh1504660",
"followers_url": "... | null | 2 | 1,708 | 1,708 | 1,708 | NONE | null | null | ### Feature request
the load_dataset() for local functions support file types like csv, json etc but not of type tsv (tab separated values).
### Motivation
cant easily load files of type tsv, have to convert them to another type like csv then load
### Your contribution
Can try by raising a PR with a little help, c... | null | https://api.github.com/repos/huggingface/datasets/issues/6691/timeline | null | completed | dipsivenkatesh | 26,873,178 | MDQ6VXNlcjI2ODczMTc4 | https://avatars.githubusercontent.com/u/26873178?v=4 | https://api.github.com/users/dipsivenkatesh | https://github.com/dipsivenkatesh | https://api.github.com/users/dipsivenkatesh/followers | https://api.github.com/users/dipsivenkatesh/following{/other_user} | https://api.github.com/users/dipsivenkatesh/gists{/gist_id} | https://api.github.com/users/dipsivenkatesh/starred{/owner}{/repo} | https://api.github.com/users/dipsivenkatesh/subscriptions | https://api.github.com/users/dipsivenkatesh/orgs | https://api.github.com/users/dipsivenkatesh/repos | https://api.github.com/users/dipsivenkatesh/events{/privacy} | https://api.github.com/users/dipsivenkatesh/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6691/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | harsh1504660 | 77,767,961 | MDQ6VXNlcjc3NzY3OTYx | https://avatars.githubusercontent.com/u/77767961?v=4 | https://api.github.com/users/harsh1504660 | https://github.com/harsh1504660 | https://api.github.com/users/harsh1504660/followers | https://api.github.com/users/harsh1504660/following{/other_user} | https://api.github.com/users/harsh1504660/gists{/gist_id} | https://api.github.com/users/harsh1504660/starred{/owner}{/repo} | https://api.github.com/users/harsh1504660/subscriptions | https://api.github.com/users/harsh1504660/orgs | https://api.github.com/users/harsh1504660/repos | https://api.github.com/users/harsh1504660/events{/privacy} | https://api.github.com/users/harsh1504660/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"#self-assign",
"Hi @dipsivenkatesh,\r\n\r\nPlease note that this functionality is already implemented. Our CSV builder uses `pandas.read_csv` under the hood, and you can pass the parameter `delimiter=\"\\t\"` to read TSV files.\r\n\r\nSee the list of CSV config parameters in our docs: https://huggingface.co/docs... | |||
https://api.github.com/repos/huggingface/datasets/issues/6690 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6690/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6690/comments | https://api.github.com/repos/huggingface/datasets/issues/6690/events | https://github.com/huggingface/datasets/issues/6690 | 2,150,800,065 | I_kwDODunzps6AMprB | 6,690 | Add function to convert a script-dataset to Parquet | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | closed | false | null | [
{
"login": "albertvillanova",
"id": 8515462,
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertvillanova",
"html_url": "https://github.com/albertvillanova",
"followers_... | null | 0 | 1,708 | 1,712 | 1,712 | MEMBER | null | null | Add function to convert a script-dataset to Parquet and push it to the Hub, analogously to the Space: "Convert a Hugging Face dataset to Parquet" | null | https://api.github.com/repos/huggingface/datasets/issues/6690/timeline | null | completed | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6690/reactions | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |||
https://api.github.com/repos/huggingface/datasets/issues/6689 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6689/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6689/comments | https://api.github.com/repos/huggingface/datasets/issues/6689/events | https://github.com/huggingface/datasets/issues/6689 | 2,149,581,147 | I_kwDODunzps6AIAFb | 6,689 | .load_dataset() method defaults to zstandard | [] | closed | false | null | [] | null | 4 | 1,708 | 1,709 | 1,709 | NONE | null | null | ### Describe the bug
Regardless of what method I use, datasets defaults to zstandard for unpacking my datasets.
This is poor behavior, because not only is zstandard not a dependency in the huggingface package (and therefore, your dataset loading will be interrupted while it asks you to install the package), but it ... | null | https://api.github.com/repos/huggingface/datasets/issues/6689/timeline | null | completed | ElleLeonne | 87,243,032 | MDQ6VXNlcjg3MjQzMDMy | https://avatars.githubusercontent.com/u/87243032?v=4 | https://api.github.com/users/ElleLeonne | https://github.com/ElleLeonne | https://api.github.com/users/ElleLeonne/followers | https://api.github.com/users/ElleLeonne/following{/other_user} | https://api.github.com/users/ElleLeonne/gists{/gist_id} | https://api.github.com/users/ElleLeonne/starred{/owner}{/repo} | https://api.github.com/users/ElleLeonne/subscriptions | https://api.github.com/users/ElleLeonne/orgs | https://api.github.com/users/ElleLeonne/repos | https://api.github.com/users/ElleLeonne/events{/privacy} | https://api.github.com/users/ElleLeonne/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6689/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | ElleLeonne | 87,243,032 | MDQ6VXNlcjg3MjQzMDMy | https://avatars.githubusercontent.com/u/87243032?v=4 | https://api.github.com/users/ElleLeonne | https://github.com/ElleLeonne | https://api.github.com/users/ElleLeonne/followers | https://api.github.com/users/ElleLeonne/following{/other_user} | https://api.github.com/users/ElleLeonne/gists{/gist_id} | https://api.github.com/users/ElleLeonne/starred{/owner}{/repo} | https://api.github.com/users/ElleLeonne/subscriptions | https://api.github.com/users/ElleLeonne/orgs | https://api.github.com/users/ElleLeonne/repos | https://api.github.com/users/ElleLeonne/events{/privacy} | https://api.github.com/users/ElleLeonne/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"The dataset is made of JSON files compressed using zstandard, as you can see here: https://huggingface.co/datasets/cerebras/SlimPajama-627B/tree/main/test/chunk1\r\n\r\nThat's why it asks for zstandard to be installed.\r\n\r\nThough I'm intrigued that you manage to load the dataset without zstandard installed. May... | ||
https://api.github.com/repos/huggingface/datasets/issues/6688 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6688/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6688/comments | https://api.github.com/repos/huggingface/datasets/issues/6688/events | https://github.com/huggingface/datasets/issues/6688 | 2,148,609,859 | I_kwDODunzps6AES9D | 6,688 | Tensor type (e.g. from `return_tensors`) ignored in map | [] | open | false | null | [] | null | 3 | 1,708 | 1,708 | null | NONE | null | null | ### Describe the bug
I don't know if it is a bug or an expected behavior, but the tensor type seems to be ignored after applying map. For example, mapping over to tokenize text with a transformers' tokenizer always returns lists and it ignore the `return_tensors` argument.
If this is an expected behaviour (e.g., fo... | null | https://api.github.com/repos/huggingface/datasets/issues/6688/timeline | null | null | srossi93 | 11,166,137 | MDQ6VXNlcjExMTY2MTM3 | https://avatars.githubusercontent.com/u/11166137?v=4 | https://api.github.com/users/srossi93 | https://github.com/srossi93 | https://api.github.com/users/srossi93/followers | https://api.github.com/users/srossi93/following{/other_user} | https://api.github.com/users/srossi93/gists{/gist_id} | https://api.github.com/users/srossi93/starred{/owner}{/repo} | https://api.github.com/users/srossi93/subscriptions | https://api.github.com/users/srossi93/orgs | https://api.github.com/users/srossi93/repos | https://api.github.com/users/srossi93/events{/privacy} | https://api.github.com/users/srossi93/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6688/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi, this is expected behavior since all the tensors are converted to Arrow data (the storage type behind a Dataset).\r\n\r\nTo get pytorch tensors back, you can set the dataset format to \"torch\":\r\n\r\n```python\r\nds = ds.with_format(\"torch\")\r\n```",
"Thanks. Just one additional question. During the pipel... | |
https://api.github.com/repos/huggingface/datasets/issues/6686 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6686/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6686/comments | https://api.github.com/repos/huggingface/datasets/issues/6686/events | https://github.com/huggingface/datasets/issues/6686 | 2,147,795,103 | I_kwDODunzps6ABMCf | 6,686 | Question: Is there any way for uploading a large image dataset? | [] | open | false | null | [] | null | 1 | 1,708 | 1,714 | null | NONE | null | null | I am uploading an image dataset like this:
```
dataset = load_dataset(
"json",
data_files={"train": "data/custom_dataset/train.json", "validation": "data/custom_dataset/val.json"},
)
dataset = dataset.cast_column("images", Sequence(Image()))
dataset.push_to_hub("StanfordAIMI/custom_dataset", max_shard_si... | null | https://api.github.com/repos/huggingface/datasets/issues/6686/timeline | null | null | zhjohnchan | 37,367,987 | MDQ6VXNlcjM3MzY3OTg3 | https://avatars.githubusercontent.com/u/37367987?v=4 | https://api.github.com/users/zhjohnchan | https://github.com/zhjohnchan | https://api.github.com/users/zhjohnchan/followers | https://api.github.com/users/zhjohnchan/following{/other_user} | https://api.github.com/users/zhjohnchan/gists{/gist_id} | https://api.github.com/users/zhjohnchan/starred{/owner}{/repo} | https://api.github.com/users/zhjohnchan/subscriptions | https://api.github.com/users/zhjohnchan/orgs | https://api.github.com/users/zhjohnchan/repos | https://api.github.com/users/zhjohnchan/events{/privacy} | https://api.github.com/users/zhjohnchan/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6686/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"```\r\nimport pandas as pd\r\nfrom datasets import Dataset, Image\r\n\r\n# Read the CSV file\r\ndata = pd.read_csv(\"XXXX.csv\")\r\n\r\n# Create a Hugging Face Dataset\r\ndataset = Dataset.from_pandas(data)\r\ndataset = dataset.cast_column(\"file_name\", Image())\r\n\r\n# Upload to Hugging Face Hub (make sure auth... | |
https://api.github.com/repos/huggingface/datasets/issues/6679 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6679/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6679/comments | https://api.github.com/repos/huggingface/datasets/issues/6679/events | https://github.com/huggingface/datasets/issues/6679 | 2,141,953,981 | I_kwDODunzps5_q5-9 | 6,679 | Node.js 16 GitHub Actions are deprecated | [
{
"id": 4296013012,
"node_id": "LA_kwDODunzps8AAAABAA_01A",
"url": "https://api.github.com/repos/huggingface/datasets/labels/maintenance",
"name": "maintenance",
"color": "d4c5f9",
"default": false,
"description": "Maintenance tasks"
}
] | closed | false | null | [
{
"login": "albertvillanova",
"id": 8515462,
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertvillanova",
"html_url": "https://github.com/albertvillanova",
"followers_... | null | 0 | 1,708 | 1,709 | 1,709 | MEMBER | null | null | `Node.js` 16 GitHub Actions are deprecated. See: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
We should update them to Node 20.
See warnings in our CI, e.g.: https://github.com/huggingface/datasets/actions/runs/7957295009?pr=6678
> Node.js 16 actions are deprecat... | null | https://api.github.com/repos/huggingface/datasets/issues/6679/timeline | null | completed | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6679/reactions | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |||
https://api.github.com/repos/huggingface/datasets/issues/6676 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6676/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6676/comments | https://api.github.com/repos/huggingface/datasets/issues/6676/events | https://github.com/huggingface/datasets/issues/6676 | 2,140,648,619 | I_kwDODunzps5_l7Sr | 6,676 | Can't Read List of JSON Files Properly | [] | open | false | null | [] | null | 3 | 1,708 | 1,709 | null | NONE | null | null | ### Describe the bug
Trying to read a bunch of JSON files into Dataset class but default approach doesn't work. I don't get why it works when I read it one by one but not when I pass as a list :man_shrugging:
The code fails with
```
ArrowInvalid: JSON parse error: Invalid value. in row 0
UnicodeDecodeError... | null | https://api.github.com/repos/huggingface/datasets/issues/6676/timeline | null | null | lordsoffallen | 20,232,088 | MDQ6VXNlcjIwMjMyMDg4 | https://avatars.githubusercontent.com/u/20232088?v=4 | https://api.github.com/users/lordsoffallen | https://github.com/lordsoffallen | https://api.github.com/users/lordsoffallen/followers | https://api.github.com/users/lordsoffallen/following{/other_user} | https://api.github.com/users/lordsoffallen/gists{/gist_id} | https://api.github.com/users/lordsoffallen/starred{/owner}{/repo} | https://api.github.com/users/lordsoffallen/subscriptions | https://api.github.com/users/lordsoffallen/orgs | https://api.github.com/users/lordsoffallen/repos | https://api.github.com/users/lordsoffallen/events{/privacy} | https://api.github.com/users/lordsoffallen/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6676/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Found the issue, if there are other files in the directory, it gets caught into this `*` so essentially it should be `*.json`. Could we possibly to check for list of files to make sure the pattern matches json files and raise error if not?",
"I don't think we should filter for `*.json` as this might silently rem... | |
https://api.github.com/repos/huggingface/datasets/issues/6675 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6675/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6675/comments | https://api.github.com/repos/huggingface/datasets/issues/6675/events | https://github.com/huggingface/datasets/issues/6675 | 2,139,640,381 | I_kwDODunzps5_iFI9 | 6,675 | Allow image model (color conversion) to be specified as part of datasets Image() decode | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | closed | false | null | [] | null | 1 | 1,708 | 1,710 | 1,710 | NONE | null | null | ### Feature request
Typical torchvision / torch Datasets in image applications apply color conversion in the Dataset portion of the code as part of image decode, separately from the image transform stack. This is true for PIL.Image where convert is usually called in dataset, for native torchvision https://pytorch.or... | null | https://api.github.com/repos/huggingface/datasets/issues/6675/timeline | null | completed | rwightman | 5,702,664 | MDQ6VXNlcjU3MDI2NjQ= | https://avatars.githubusercontent.com/u/5702664?v=4 | https://api.github.com/users/rwightman | https://github.com/rwightman | https://api.github.com/users/rwightman/followers | https://api.github.com/users/rwightman/following{/other_user} | https://api.github.com/users/rwightman/gists{/gist_id} | https://api.github.com/users/rwightman/starred{/owner}{/repo} | https://api.github.com/users/rwightman/subscriptions | https://api.github.com/users/rwightman/orgs | https://api.github.com/users/rwightman/repos | https://api.github.com/users/rwightman/events{/privacy} | https://api.github.com/users/rwightman/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6675/reactions | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | mariosasko | 47,462,742 | MDQ6VXNlcjQ3NDYyNzQy | https://avatars.githubusercontent.com/u/47462742?v=4 | https://api.github.com/users/mariosasko | https://github.com/mariosasko | https://api.github.com/users/mariosasko/followers | https://api.github.com/users/mariosasko/following{/other_user} | https://api.github.com/users/mariosasko/gists{/gist_id} | https://api.github.com/users/mariosasko/starred{/owner}{/repo} | https://api.github.com/users/mariosasko/subscriptions | https://api.github.com/users/mariosasko/orgs | https://api.github.com/users/mariosasko/repos | https://api.github.com/users/mariosasko/events{/privacy} | https://api.github.com/users/mariosasko/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"It would be a great addition indeed :)\r\n\r\nThis can be implemented the same way we have `sampling_rate` for Audio(): we just add a new parameter to the Image() type and take this parameter into account in `Image.decode_example`\r\n\r\nEDIT: adding an example of how it can be used:\r\n\r\n```python\r\nds = ds.ca... | ||
https://api.github.com/repos/huggingface/datasets/issues/6674 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6674/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6674/comments | https://api.github.com/repos/huggingface/datasets/issues/6674/events | https://github.com/huggingface/datasets/issues/6674 | 2,139,595,576 | I_kwDODunzps5_h6M4 | 6,674 | Depprcated Overview.ipynb Link to new Quickstart Notebook invalid | [] | closed | false | null | [] | null | 1 | 1,708 | 1,708 | 1,708 | CONTRIBUTOR | null | null | ### Describe the bug
For the dreprecated notebook found [here](https://github.com/huggingface/datasets/blob/main/notebooks/Overview.ipynb). The link to the new notebook is broken.
### Steps to reproduce the bug
Click the [Quickstart notebook](https://github.com/huggingface/notebooks/blob/main/datasets_doc/quicksta... | null | https://api.github.com/repos/huggingface/datasets/issues/6674/timeline | null | completed | Codeblockz | 55,932,554 | MDQ6VXNlcjU1OTMyNTU0 | https://avatars.githubusercontent.com/u/55932554?v=4 | https://api.github.com/users/Codeblockz | https://github.com/Codeblockz | https://api.github.com/users/Codeblockz/followers | https://api.github.com/users/Codeblockz/following{/other_user} | https://api.github.com/users/Codeblockz/gists{/gist_id} | https://api.github.com/users/Codeblockz/starred{/owner}{/repo} | https://api.github.com/users/Codeblockz/subscriptions | https://api.github.com/users/Codeblockz/orgs | https://api.github.com/users/Codeblockz/repos | https://api.github.com/users/Codeblockz/events{/privacy} | https://api.github.com/users/Codeblockz/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6674/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | mariosasko | 47,462,742 | MDQ6VXNlcjQ3NDYyNzQy | https://avatars.githubusercontent.com/u/47462742?v=4 | https://api.github.com/users/mariosasko | https://github.com/mariosasko | https://api.github.com/users/mariosasko/followers | https://api.github.com/users/mariosasko/following{/other_user} | https://api.github.com/users/mariosasko/gists{/gist_id} | https://api.github.com/users/mariosasko/starred{/owner}{/repo} | https://api.github.com/users/mariosasko/subscriptions | https://api.github.com/users/mariosasko/orgs | https://api.github.com/users/mariosasko/repos | https://api.github.com/users/mariosasko/events{/privacy} | https://api.github.com/users/mariosasko/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Good catch! Feel free to open a PR to fix the link."
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6673 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6673/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6673/comments | https://api.github.com/repos/huggingface/datasets/issues/6673/events | https://github.com/huggingface/datasets/issues/6673 | 2,139,522,827 | I_kwDODunzps5_hocL | 6,673 | IterableDataset `set_epoch` is ignored when DataLoader `persistent_workers=True` | [
{
"id": 1935892857,
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 3287858981,
"node_id": "MDU6TGFiZWwzMjg3ODU... | closed | false | null | [] | null | 0 | 1,708 | 1,719 | 1,719 | NONE | null | null | ### Describe the bug
When persistent workers are enabled, the epoch that's set via the IterableDataset instance held by the training process is ignored by the workers as they are disconnected across processes.
PyTorch samplers for non-iterable datasets have a mechanism to sync this, datasets.IterableDataset does ... | null | https://api.github.com/repos/huggingface/datasets/issues/6673/timeline | null | completed | rwightman | 5,702,664 | MDQ6VXNlcjU3MDI2NjQ= | https://avatars.githubusercontent.com/u/5702664?v=4 | https://api.github.com/users/rwightman | https://github.com/rwightman | https://api.github.com/users/rwightman/followers | https://api.github.com/users/rwightman/following{/other_user} | https://api.github.com/users/rwightman/gists{/gist_id} | https://api.github.com/users/rwightman/starred{/owner}{/repo} | https://api.github.com/users/rwightman/subscriptions | https://api.github.com/users/rwightman/orgs | https://api.github.com/users/rwightman/repos | https://api.github.com/users/rwightman/events{/privacy} | https://api.github.com/users/rwightman/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6673/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | ||
https://api.github.com/repos/huggingface/datasets/issues/6671 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6671/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6671/comments | https://api.github.com/repos/huggingface/datasets/issues/6671/events | https://github.com/huggingface/datasets/issues/6671 | 2,138,727,870 | I_kwDODunzps5_emW- | 6,671 | CSV builder raises deprecation warning on verbose parameter | [] | closed | false | null | [
{
"login": "albertvillanova",
"id": 8515462,
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertvillanova",
"html_url": "https://github.com/albertvillanova",
"followers_... | null | 0 | 1,708 | 1,708 | 1,708 | MEMBER | null | null | CSV builder raises a deprecation warning on `verbose` parameter:
```
FutureWarning: The 'verbose' keyword in pd.read_csv is deprecated and will be removed in a future version.
```
See:
- https://github.com/pandas-dev/pandas/pull/56556
- https://github.com/pandas-dev/pandas/pull/57450 | null | https://api.github.com/repos/huggingface/datasets/issues/6671/timeline | null | completed | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6671/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |||
https://api.github.com/repos/huggingface/datasets/issues/6670 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6670/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6670/comments | https://api.github.com/repos/huggingface/datasets/issues/6670/events | https://github.com/huggingface/datasets/issues/6670 | 2,138,372,958 | I_kwDODunzps5_dPte | 6,670 | ValueError | [] | closed | false | null | [] | null | 2 | 1,708 | 1,708 | 1,708 | NONE | null | null | ### Describe the bug
ValueError Traceback (most recent call last)
[<ipython-input-11-9b99bc80ec23>](https://localhost:8080/#) in <cell line: 11>()
9 import numpy as np
10 import matplotlib.pyplot as plt
---> 11 from datasets import DatasetDict, Dataset
12 from transf... | null | https://api.github.com/repos/huggingface/datasets/issues/6670/timeline | null | completed | prashanth19bolukonda | 112,316,000 | U_kgDOBrHOYA | https://avatars.githubusercontent.com/u/112316000?v=4 | https://api.github.com/users/prashanth19bolukonda | https://github.com/prashanth19bolukonda | https://api.github.com/users/prashanth19bolukonda/followers | https://api.github.com/users/prashanth19bolukonda/following{/other_user} | https://api.github.com/users/prashanth19bolukonda/gists{/gist_id} | https://api.github.com/users/prashanth19bolukonda/starred{/owner}{/repo} | https://api.github.com/users/prashanth19bolukonda/subscriptions | https://api.github.com/users/prashanth19bolukonda/orgs | https://api.github.com/users/prashanth19bolukonda/repos | https://api.github.com/users/prashanth19bolukonda/events{/privacy} | https://api.github.com/users/prashanth19bolukonda/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6670/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi @prashanth19bolukonda,\r\n\r\nYou have to restart the notebook runtime session after the installation of `datasets`.\r\n\r\nDuplicate of:\r\n- #5923",
"Thank you soo much\r\n\r\nOn Fri, Feb 16, 2024 at 8:14 PM Albert Villanova del Moral <\r\n***@***.***> wrote:\r\n\r\n> Closed #6670 <https://github.com/huggin... | ||
https://api.github.com/repos/huggingface/datasets/issues/6669 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6669/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6669/comments | https://api.github.com/repos/huggingface/datasets/issues/6669/events | https://github.com/huggingface/datasets/issues/6669 | 2,138,322,662 | I_kwDODunzps5_dDbm | 6,669 | attribute error when writing trainer.train() | [] | closed | false | null | [] | null | 2 | 1,708 | 1,709 | 1,709 | NONE | null | null | ### Describe the bug
AttributeError Traceback (most recent call last)
Cell In[39], line 2
1 # Start the training process
----> 2 trainer.train()
File /opt/conda/lib/python3.10/site-packages/transformers/trainer.py:1539, in Trainer.train(self, resume_from_checkpoint, trial, ignore... | null | https://api.github.com/repos/huggingface/datasets/issues/6669/timeline | null | completed | prashanth19bolukonda | 112,316,000 | U_kgDOBrHOYA | https://avatars.githubusercontent.com/u/112316000?v=4 | https://api.github.com/users/prashanth19bolukonda | https://github.com/prashanth19bolukonda | https://api.github.com/users/prashanth19bolukonda/followers | https://api.github.com/users/prashanth19bolukonda/following{/other_user} | https://api.github.com/users/prashanth19bolukonda/gists{/gist_id} | https://api.github.com/users/prashanth19bolukonda/starred{/owner}{/repo} | https://api.github.com/users/prashanth19bolukonda/subscriptions | https://api.github.com/users/prashanth19bolukonda/orgs | https://api.github.com/users/prashanth19bolukonda/repos | https://api.github.com/users/prashanth19bolukonda/events{/privacy} | https://api.github.com/users/prashanth19bolukonda/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6669/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | mariosasko | 47,462,742 | MDQ6VXNlcjQ3NDYyNzQy | https://avatars.githubusercontent.com/u/47462742?v=4 | https://api.github.com/users/mariosasko | https://github.com/mariosasko | https://api.github.com/users/mariosasko/followers | https://api.github.com/users/mariosasko/following{/other_user} | https://api.github.com/users/mariosasko/gists{/gist_id} | https://api.github.com/users/mariosasko/starred{/owner}{/repo} | https://api.github.com/users/mariosasko/subscriptions | https://api.github.com/users/mariosasko/orgs | https://api.github.com/users/mariosasko/repos | https://api.github.com/users/mariosasko/events{/privacy} | https://api.github.com/users/mariosasko/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! Kaggle notebooks use an outdated version of `datasets`, so you should update the `datasets` installation (with `!pip install -U datasets`) to avoid the error.",
"Thank you for your response\r\n\r\nOn Thu, Feb 29, 2024 at 10:55 PM Mario Šaško ***@***.***>\r\nwrote:\r\n\r\n> Closed #6669 <https://github.com/hu... | ||
https://api.github.com/repos/huggingface/datasets/issues/6668 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6668/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6668/comments | https://api.github.com/repos/huggingface/datasets/issues/6668/events | https://github.com/huggingface/datasets/issues/6668 | 2,137,859,935 | I_kwDODunzps5_bSdf | 6,668 | Chapter 6 - Issue Loading `cnn_dailymail` dataset | [] | open | false | null | [] | null | 0 | 1,708 | 1,708 | null | NONE | null | null | ### Describe the bug
So I am getting this bug when I try to run cell 4 of the Chapter 6 notebook code:
`dataset = load_dataset("ccdv/cnn_dailymail", version="3.0.0")`
Error Message:
```
---------------------------------------------------------------------------
ValueError Tracebac... | null | https://api.github.com/repos/huggingface/datasets/issues/6668/timeline | null | null | hariravichandran | 34,660,389 | MDQ6VXNlcjM0NjYwMzg5 | https://avatars.githubusercontent.com/u/34660389?v=4 | https://api.github.com/users/hariravichandran | https://github.com/hariravichandran | https://api.github.com/users/hariravichandran/followers | https://api.github.com/users/hariravichandran/following{/other_user} | https://api.github.com/users/hariravichandran/gists{/gist_id} | https://api.github.com/users/hariravichandran/starred{/owner}{/repo} | https://api.github.com/users/hariravichandran/subscriptions | https://api.github.com/users/hariravichandran/orgs | https://api.github.com/users/hariravichandran/repos | https://api.github.com/users/hariravichandran/events{/privacy} | https://api.github.com/users/hariravichandran/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6668/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6667 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6667/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6667/comments | https://api.github.com/repos/huggingface/datasets/issues/6667/events | https://github.com/huggingface/datasets/issues/6667 | 2,137,769,552 | I_kwDODunzps5_a8ZQ | 6,667 | Default config for squad is incorrect | [] | open | false | null | [] | null | 1 | 1,708 | 1,708 | null | NONE | null | null | ### Describe the bug
If you download Squad, it will download the plain_text version, but the config still specifies "default", so if you set the offline mode the cache will try to look it up according to the config_id which is "default" and this will say;
ValueError: Couldn't find cache for squad for config 'default'... | null | https://api.github.com/repos/huggingface/datasets/issues/6667/timeline | null | null | kiddyboots216 | 22,651,617 | MDQ6VXNlcjIyNjUxNjE3 | https://avatars.githubusercontent.com/u/22651617?v=4 | https://api.github.com/users/kiddyboots216 | https://github.com/kiddyboots216 | https://api.github.com/users/kiddyboots216/followers | https://api.github.com/users/kiddyboots216/following{/other_user} | https://api.github.com/users/kiddyboots216/gists{/gist_id} | https://api.github.com/users/kiddyboots216/starred{/owner}{/repo} | https://api.github.com/users/kiddyboots216/subscriptions | https://api.github.com/users/kiddyboots216/orgs | https://api.github.com/users/kiddyboots216/repos | https://api.github.com/users/kiddyboots216/events{/privacy} | https://api.github.com/users/kiddyboots216/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6667/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"you can try: pip install datasets==2.16.1"
] | |
https://api.github.com/repos/huggingface/datasets/issues/6663 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6663/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6663/comments | https://api.github.com/repos/huggingface/datasets/issues/6663/events | https://github.com/huggingface/datasets/issues/6663 | 2,135,480,811 | I_kwDODunzps5_SNnr | 6,663 | `write_examples_on_file` and `write_batch` are broken in `ArrowWriter` | [] | closed | false | null | [] | null | 3 | 1,707 | 1,708 | 1,708 | CONTRIBUTOR | null | null | ### Describe the bug
`write_examples_on_file` and `write_batch` are broken in `ArrowWriter` since #6636. The order between the columns and the schema is not preserved anymore. So these functions don't work anymore unless the order happens to align well.
### Steps to reproduce the bug
Try to do `write_batch` with any... | null | https://api.github.com/repos/huggingface/datasets/issues/6663/timeline | null | completed | bryant1410 | 3,905,501 | MDQ6VXNlcjM5MDU1MDE= | https://avatars.githubusercontent.com/u/3905501?v=4 | https://api.github.com/users/bryant1410 | https://github.com/bryant1410 | https://api.github.com/users/bryant1410/followers | https://api.github.com/users/bryant1410/following{/other_user} | https://api.github.com/users/bryant1410/gists{/gist_id} | https://api.github.com/users/bryant1410/starred{/owner}{/repo} | https://api.github.com/users/bryant1410/subscriptions | https://api.github.com/users/bryant1410/orgs | https://api.github.com/users/bryant1410/repos | https://api.github.com/users/bryant1410/events{/privacy} | https://api.github.com/users/bryant1410/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6663/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Thanks for reporting! I've left some comments on the PR on how to fix this recent change rather than reverting it.",
"> Thanks for reporting! I've left some comments on the PR on how to fix this recent change rather than reverting it.\r\n\r\nI feel that'd be good, but it'd be great to release a hotfix ASAP (a re... | ||
https://api.github.com/repos/huggingface/datasets/issues/6661 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6661/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6661/comments | https://api.github.com/repos/huggingface/datasets/issues/6661/events | https://github.com/huggingface/datasets/issues/6661 | 2,132,296,267 | I_kwDODunzps5_GEJL | 6,661 | Import error on Google Colab | [] | closed | false | null | [] | null | 4 | 1,707 | 1,708 | 1,707 | NONE | null | null | ### Describe the bug
Cannot be imported on Google Colab, the import throws the following error:
ValueError: pyarrow.lib.IpcWriteOptions size changed, may indicate binary incompatibility. Expected 88 from C header, got 72 from PyObject
### Steps to reproduce the bug
1. `! pip install -U datasets`
2. `import dataset... | null | https://api.github.com/repos/huggingface/datasets/issues/6661/timeline | null | completed | kithogue | 16,103,566 | MDQ6VXNlcjE2MTAzNTY2 | https://avatars.githubusercontent.com/u/16103566?v=4 | https://api.github.com/users/kithogue | https://github.com/kithogue | https://api.github.com/users/kithogue/followers | https://api.github.com/users/kithogue/following{/other_user} | https://api.github.com/users/kithogue/gists{/gist_id} | https://api.github.com/users/kithogue/starred{/owner}{/repo} | https://api.github.com/users/kithogue/subscriptions | https://api.github.com/users/kithogue/orgs | https://api.github.com/users/kithogue/repos | https://api.github.com/users/kithogue/events{/privacy} | https://api.github.com/users/kithogue/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6661/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! This can happen if an incompatible `pyarrow` version (`pyarrow<12.0.0`) has been imported before the `datasets` installation and the Colab session hasn't been restarted afterward. To avoid the error, go to \"Runtime -> Restart session\" after `!pip install -U datasets` and before `import datasets`, or insert t... | ||
https://api.github.com/repos/huggingface/datasets/issues/6657 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6657/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6657/comments | https://api.github.com/repos/huggingface/datasets/issues/6657/events | https://github.com/huggingface/datasets/issues/6657 | 2,129,147,085 | I_kwDODunzps5-6DTN | 6,657 | Release not pushed to conda channel | [] | closed | false | null | [
{
"login": "albertvillanova",
"id": 8515462,
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertvillanova",
"html_url": "https://github.com/albertvillanova",
"followers_... | null | 5 | 1,707 | 1,709 | 1,709 | NONE | null | null | ### Describe the bug
The github actions step to publish the release 2.17.0 to conda channel has failed due to expired token. Can some one please update the anaconda token rerun the failed action? @albertvillanova ?
:
File "/miniconda3/envs/conda-env/lib/python3.10/site-packages/datasets/builder.py", line 1989, in _prepare_split_single
writer.write_table(table)
... | null | https://api.github.com/repos/huggingface/datasets/issues/6656/timeline | null | null | Riccorl | 10,062,216 | MDQ6VXNlcjEwMDYyMjE2 | https://avatars.githubusercontent.com/u/10062216?v=4 | https://api.github.com/users/Riccorl | https://github.com/Riccorl | https://api.github.com/users/Riccorl/followers | https://api.github.com/users/Riccorl/following{/other_user} | https://api.github.com/users/Riccorl/gists{/gist_id} | https://api.github.com/users/Riccorl/starred{/owner}{/repo} | https://api.github.com/users/Riccorl/subscriptions | https://api.github.com/users/Riccorl/orgs | https://api.github.com/users/Riccorl/repos | https://api.github.com/users/Riccorl/events{/privacy} | https://api.github.com/users/Riccorl/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6656/reactions | 3 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"I get similar when dealing with a large jsonl file (6k lines), \r\n\r\n> TypeError: Couldn't cast array of type timestamp[us] to null\r\n\r\nYet when I split it into 1k lines, files, load_dataset works fine!\r\n\r\nhttps://github.com/huggingface/course/issues/692\r\n\r\n",
"What's the proposed solution? :-)"
] | |
https://api.github.com/repos/huggingface/datasets/issues/6655 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6655/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6655/comments | https://api.github.com/repos/huggingface/datasets/issues/6655/events | https://github.com/huggingface/datasets/issues/6655 | 2,127,020,042 | I_kwDODunzps5-x8AK | 6,655 | Cannot load the dataset go_emotions | [] | open | false | null | [
{
"login": "albertvillanova",
"id": 8515462,
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertvillanova",
"html_url": "https://github.com/albertvillanova",
"followers_... | null | 4 | 1,707 | 1,707 | null | NONE | null | null | ### Describe the bug
When I run the following code I get an exception;
`go_emotions = load_dataset("go_emotions")`
> AttributeError Traceback (most recent call last)
Cell In[6], [line 1](vscode-notebook-cell:?execution_count=6&line=1)
----> [1](vscode-notebook-cell:?execution_count=6&l... | null | https://api.github.com/repos/huggingface/datasets/issues/6655/timeline | null | null | arame | 688,324 | MDQ6VXNlcjY4ODMyNA== | https://avatars.githubusercontent.com/u/688324?v=4 | https://api.github.com/users/arame | https://github.com/arame | https://api.github.com/users/arame/followers | https://api.github.com/users/arame/following{/other_user} | https://api.github.com/users/arame/gists{/gist_id} | https://api.github.com/users/arame/starred{/owner}{/repo} | https://api.github.com/users/arame/subscriptions | https://api.github.com/users/arame/orgs | https://api.github.com/users/arame/repos | https://api.github.com/users/arame/events{/privacy} | https://api.github.com/users/arame/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6655/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Thanks for reporting, @arame.\r\n\r\nI guess you have an old version of `transformers` (that submodule is present in `transformers` since version 3.0.1, since nearly 4 years ago). If you update it, the error should disappear:\r\n```shell\r\npip install -U transformers\r\n```\r\n\r\nOn the other hand, I am wonderin... | ||
https://api.github.com/repos/huggingface/datasets/issues/6654 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6654/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6654/comments | https://api.github.com/repos/huggingface/datasets/issues/6654/events | https://github.com/huggingface/datasets/issues/6654 | 2,126,939,358 | I_kwDODunzps5-xoTe | 6,654 | Batched dataset map throws exception that cannot cast fixed length array to Sequence | [] | closed | false | null | [] | null | 2 | 1,707 | 1,707 | 1,707 | NONE | null | null | ### Describe the bug
I encountered a TypeError when batch processing a dataset with Sequence features in datasets package version 2.16.1. The error arises from a mismatch in handling fixed-size list arrays during the map function execution. Debugging pinpoints the issue to an if-statement in datasets/table.py, line 20... | null | https://api.github.com/repos/huggingface/datasets/issues/6654/timeline | null | completed | keesjandevries | 1,029,671 | MDQ6VXNlcjEwMjk2NzE= | https://avatars.githubusercontent.com/u/1029671?v=4 | https://api.github.com/users/keesjandevries | https://github.com/keesjandevries | https://api.github.com/users/keesjandevries/followers | https://api.github.com/users/keesjandevries/following{/other_user} | https://api.github.com/users/keesjandevries/gists{/gist_id} | https://api.github.com/users/keesjandevries/starred{/owner}{/repo} | https://api.github.com/users/keesjandevries/subscriptions | https://api.github.com/users/keesjandevries/orgs | https://api.github.com/users/keesjandevries/repos | https://api.github.com/users/keesjandevries/events{/privacy} | https://api.github.com/users/keesjandevries/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6654/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | keesjandevries | 1,029,671 | MDQ6VXNlcjEwMjk2NzE= | https://avatars.githubusercontent.com/u/1029671?v=4 | https://api.github.com/users/keesjandevries | https://github.com/keesjandevries | https://api.github.com/users/keesjandevries/followers | https://api.github.com/users/keesjandevries/following{/other_user} | https://api.github.com/users/keesjandevries/gists{/gist_id} | https://api.github.com/users/keesjandevries/starred{/owner}{/repo} | https://api.github.com/users/keesjandevries/subscriptions | https://api.github.com/users/keesjandevries/orgs | https://api.github.com/users/keesjandevries/repos | https://api.github.com/users/keesjandevries/events{/privacy} | https://api.github.com/users/keesjandevries/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi ! This issue has been fixed by https://github.com/huggingface/datasets/pull/6283\r\n\r\nCan you try again with the new release 2.17.0 ?\r\n\r\n```\r\npip install -U datasets\r\n```\r\n\r\n",
"Amazing! It's indeed fixed now. Thanks!"
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6651 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6651/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6651/comments | https://api.github.com/repos/huggingface/datasets/issues/6651/events | https://github.com/huggingface/datasets/issues/6651 | 2,126,649,626 | I_kwDODunzps5-whka | 6,651 | Slice splits support for datasets.load_from_disk | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | open | false | null | [] | null | 0 | 1,707 | 1,718 | null | NONE | null | null | ### Feature request
Support for slice splits in `datasets.load_from_disk`, similar to how it's already supported for `datasets.load_dataset`.
### Motivation
Slice splits are convienient in a numer of cases - adding support to `datasets.load_from_disk` would make working with local datasets easier and homogeniz... | null | https://api.github.com/repos/huggingface/datasets/issues/6651/timeline | null | null | mhorlacher | 37,439,882 | MDQ6VXNlcjM3NDM5ODgy | https://avatars.githubusercontent.com/u/37439882?v=4 | https://api.github.com/users/mhorlacher | https://github.com/mhorlacher | https://api.github.com/users/mhorlacher/followers | https://api.github.com/users/mhorlacher/following{/other_user} | https://api.github.com/users/mhorlacher/gists{/gist_id} | https://api.github.com/users/mhorlacher/starred{/owner}{/repo} | https://api.github.com/users/mhorlacher/subscriptions | https://api.github.com/users/mhorlacher/orgs | https://api.github.com/users/mhorlacher/repos | https://api.github.com/users/mhorlacher/events{/privacy} | https://api.github.com/users/mhorlacher/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6651/reactions | 9 | 9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6650 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6650/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6650/comments | https://api.github.com/repos/huggingface/datasets/issues/6650/events | https://github.com/huggingface/datasets/issues/6650 | 2,125,680,991 | I_kwDODunzps5-s1Ff | 6,650 | AttributeError: 'InMemoryTable' object has no attribute '_batches' | [] | open | false | null | [] | null | 3 | 1,707 | 1,708 | null | NONE | null | null | ### Describe the bug
```
Traceback (most recent call last):
File "finetune.py", line 103, in <module>
main(args)
File "finetune.py", line 45, in main
data_tokenized = data.map(partial(funcs.tokenize_function, tokenizer,
File "/opt/conda/envs/ptca/lib/python3.8/site-packages/datasets/dataset_dict.... | null | https://api.github.com/repos/huggingface/datasets/issues/6650/timeline | null | null | matsuobasho | 13,874,772 | MDQ6VXNlcjEzODc0Nzcy | https://avatars.githubusercontent.com/u/13874772?v=4 | https://api.github.com/users/matsuobasho | https://github.com/matsuobasho | https://api.github.com/users/matsuobasho/followers | https://api.github.com/users/matsuobasho/following{/other_user} | https://api.github.com/users/matsuobasho/gists{/gist_id} | https://api.github.com/users/matsuobasho/starred{/owner}{/repo} | https://api.github.com/users/matsuobasho/subscriptions | https://api.github.com/users/matsuobasho/orgs | https://api.github.com/users/matsuobasho/repos | https://api.github.com/users/matsuobasho/events{/privacy} | https://api.github.com/users/matsuobasho/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6650/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! Does running the following code also return the same error on your machine? \r\n\r\n```python\r\nimport copy\r\nimport pyarrow as pa\r\nfrom datasets.table import InMemoryTable\r\n\r\ncopy.deepcopy(InMemoryTable(pa.table({\"a\": [1, 2, 3], \"b\": [\"foo\", \"bar\", \"foobar\"]})))\r\n```",
"No, it doesn't, ... | |
https://api.github.com/repos/huggingface/datasets/issues/6645 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6645/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6645/comments | https://api.github.com/repos/huggingface/datasets/issues/6645/events | https://github.com/huggingface/datasets/issues/6645 | 2,122,956,818 | I_kwDODunzps5-icAS | 6,645 | Support fsspec 2024.2 | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | closed | false | null | [] | null | 1 | 1,707 | 1,709 | 1,709 | MEMBER | null | null | Support fsspec 2024.2.
First, we should address:
- #6644 | null | https://api.github.com/repos/huggingface/datasets/issues/6645/timeline | null | completed | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6645/reactions | 8 | 8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"I'd be very grateful. This upper bound banished me straight into dependency hell today. :("
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6644 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6644/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6644/comments | https://api.github.com/repos/huggingface/datasets/issues/6644/events | https://github.com/huggingface/datasets/issues/6644 | 2,122,955,282 | I_kwDODunzps5-iboS | 6,644 | Support fsspec 2023.12 | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | closed | false | null | [] | null | 1 | 1,707 | 1,709 | 1,709 | MEMBER | null | null | Support fsspec 2023.12 by handling previous and new glob behavior. | null | https://api.github.com/repos/huggingface/datasets/issues/6644/timeline | null | completed | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6644/reactions | 6 | 6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"The pinned fsspec version range dependency conflict has been affecting several of our users in https://github.com/iterative/dvc. I've opened an initial PR that I think should resolve the glob behavior changes with using datasets + the latest fsspec release.\r\n\r\nPlease let us know if there's any other fsspec rel... | ||
https://api.github.com/repos/huggingface/datasets/issues/6643 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6643/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6643/comments | https://api.github.com/repos/huggingface/datasets/issues/6643/events | https://github.com/huggingface/datasets/issues/6643 | 2,121,239,039 | I_kwDODunzps5-b4n_ | 6,643 | Faiss GPU index cannot be serialised when passed to trainer | [] | open | false | null | [] | null | 3 | 1,707 | 1,707 | null | NONE | null | null | ### Describe the bug
I am working on a retrieval project and encountering I have encountered two issues in the hugging face faiss integration:
1. I am trying to pass in a dataset with a faiss index to the Huggingface trainer. The code works for a cpu faiss index, but doesn't for a gpu one, getting error:
```
... | null | https://api.github.com/repos/huggingface/datasets/issues/6643/timeline | null | null | rubenweitzman | 56,388,976 | MDQ6VXNlcjU2Mzg4OTc2 | https://avatars.githubusercontent.com/u/56388976?v=4 | https://api.github.com/users/rubenweitzman | https://github.com/rubenweitzman | https://api.github.com/users/rubenweitzman/followers | https://api.github.com/users/rubenweitzman/following{/other_user} | https://api.github.com/users/rubenweitzman/gists{/gist_id} | https://api.github.com/users/rubenweitzman/starred{/owner}{/repo} | https://api.github.com/users/rubenweitzman/subscriptions | https://api.github.com/users/rubenweitzman/orgs | https://api.github.com/users/rubenweitzman/repos | https://api.github.com/users/rubenweitzman/events{/privacy} | https://api.github.com/users/rubenweitzman/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6643/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi ! make sure your query embeddings are numpy arrays, not torch tensors ;)",
"Hi Quentin, not sure how that solves the problem number 1. I am trying to pass on a dataset with a faiss gpu for training to the standard trainer but getting this serialisation error. What is a workaround this? I do not want to remove... | |
https://api.github.com/repos/huggingface/datasets/issues/6642 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6642/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6642/comments | https://api.github.com/repos/huggingface/datasets/issues/6642/events | https://github.com/huggingface/datasets/issues/6642 | 2,119,085,766 | I_kwDODunzps5-Tq7G | 6,642 | Differently dataset object saved than it is loaded. | [] | closed | false | null | [] | null | 2 | 1,707 | 1,707 | 1,707 | NONE | null | null | ### Describe the bug
Differently sized object is saved than it is loaded.
### Steps to reproduce the bug
Hi, I save dataset in a following way:
```
dataset = load_dataset("json",
data_files={
"train": os.path.join(input_folder, f"{task_met... | null | https://api.github.com/repos/huggingface/datasets/issues/6642/timeline | null | completed | MFajcik | 31,218,150 | MDQ6VXNlcjMxMjE4MTUw | https://avatars.githubusercontent.com/u/31218150?v=4 | https://api.github.com/users/MFajcik | https://github.com/MFajcik | https://api.github.com/users/MFajcik/followers | https://api.github.com/users/MFajcik/following{/other_user} | https://api.github.com/users/MFajcik/gists{/gist_id} | https://api.github.com/users/MFajcik/starred{/owner}{/repo} | https://api.github.com/users/MFajcik/subscriptions | https://api.github.com/users/MFajcik/orgs | https://api.github.com/users/MFajcik/repos | https://api.github.com/users/MFajcik/events{/privacy} | https://api.github.com/users/MFajcik/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6642/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"I see now, that I have to use `load_from_disk`, in order to load dataset properly, not `load_dataset`. Why is this behavior split? Why do we need both, `load_dataset` and `load_from_disk`?\r\n\r\nUnless answered, I believe this might be helpful for other hf datasets newbies.\r\n\r\nAnyway, made a `load_dataset` co... | ||
https://api.github.com/repos/huggingface/datasets/issues/6641 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6641/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6641/comments | https://api.github.com/repos/huggingface/datasets/issues/6641/events | https://github.com/huggingface/datasets/issues/6641 | 2,116,963,132 | I_kwDODunzps5-Lks8 | 6,641 | unicodedecodeerror: 'utf-8' codec can't decode byte 0xac in position 25: invalid start byte | [] | closed | false | null | [
{
"login": "albertvillanova",
"id": 8515462,
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertvillanova",
"html_url": "https://github.com/albertvillanova",
"followers_... | null | 1 | 1,707 | 1,707 | 1,707 | NONE | null | null | ### Describe the bug
unicodedecodeerror: 'utf-8' codec can't decode byte 0xac in position 25: invalid start byte
### Steps to reproduce the bug
```
import sys
sys.getdefaultencoding()
'utf-8'
from datasets import load_dataset
print(f"Train dataset size: {len(dataset['train'])}")
print(f"Test datase... | null | https://api.github.com/repos/huggingface/datasets/issues/6641/timeline | null | not_planned | Hughhuh | 109,789,057 | U_kgDOBos_gQ | https://avatars.githubusercontent.com/u/109789057?v=4 | https://api.github.com/users/Hughhuh | https://github.com/Hughhuh | https://api.github.com/users/Hughhuh/followers | https://api.github.com/users/Hughhuh/following{/other_user} | https://api.github.com/users/Hughhuh/gists{/gist_id} | https://api.github.com/users/Hughhuh/starred{/owner}{/repo} | https://api.github.com/users/Hughhuh/subscriptions | https://api.github.com/users/Hughhuh/orgs | https://api.github.com/users/Hughhuh/repos | https://api.github.com/users/Hughhuh/events{/privacy} | https://api.github.com/users/Hughhuh/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6641/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi @Hughhuh. \r\n\r\nI have formatted the issue because it was not easily readable. Additionally, the environment info is incomplete: it seems you did not run the proposed CLI command `datasets-cli env` and essential information is missing: version of `datasets`, version of `pyarrow`,...\r\n\r\nWith the informatio... | |||
https://api.github.com/repos/huggingface/datasets/issues/6640 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6640/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6640/comments | https://api.github.com/repos/huggingface/datasets/issues/6640/events | https://github.com/huggingface/datasets/issues/6640 | 2,115,864,531 | I_kwDODunzps5-HYfT | 6,640 | Sign Language Support | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | open | false | null | [] | null | 0 | 1,706 | 1,706 | null | NONE | null | null | ### Feature request
Currently, there are only several Sign Language labels, I would like to propose adding all the Signed Languages as new labels which are described in this ISO standard: https://www.evertype.com/standards/iso639/sign-language.html
### Motivation
Datasets currently only have labels for several signe... | null | https://api.github.com/repos/huggingface/datasets/issues/6640/timeline | null | null | Merterm | 6,684,795 | MDQ6VXNlcjY2ODQ3OTU= | https://avatars.githubusercontent.com/u/6684795?v=4 | https://api.github.com/users/Merterm | https://github.com/Merterm | https://api.github.com/users/Merterm/followers | https://api.github.com/users/Merterm/following{/other_user} | https://api.github.com/users/Merterm/gists{/gist_id} | https://api.github.com/users/Merterm/starred{/owner}{/repo} | https://api.github.com/users/Merterm/subscriptions | https://api.github.com/users/Merterm/orgs | https://api.github.com/users/Merterm/repos | https://api.github.com/users/Merterm/events{/privacy} | https://api.github.com/users/Merterm/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6640/reactions | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6638 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6638/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6638/comments | https://api.github.com/repos/huggingface/datasets/issues/6638/events | https://github.com/huggingface/datasets/issues/6638 | 2,113,329,257 | I_kwDODunzps599thp | 6,638 | Cannot download wmt16 dataset | [] | closed | false | null | [] | null | 1 | 1,706 | 1,706 | 1,706 | NONE | null | null | ### Describe the bug
As of this morning (PST) 2/1/2024, seeing the wmt16 dataset is missing from opus , could you suggest an alternative?
```
Downloading data files: 0%| | 0/4 [00:00<?, ?it/s]Tra... | null | https://api.github.com/repos/huggingface/datasets/issues/6638/timeline | null | completed | vidyasiv | 81,709,031 | MDQ6VXNlcjgxNzA5MDMx | https://avatars.githubusercontent.com/u/81709031?v=4 | https://api.github.com/users/vidyasiv | https://github.com/vidyasiv | https://api.github.com/users/vidyasiv/followers | https://api.github.com/users/vidyasiv/following{/other_user} | https://api.github.com/users/vidyasiv/gists{/gist_id} | https://api.github.com/users/vidyasiv/starred{/owner}{/repo} | https://api.github.com/users/vidyasiv/subscriptions | https://api.github.com/users/vidyasiv/orgs | https://api.github.com/users/vidyasiv/repos | https://api.github.com/users/vidyasiv/events{/privacy} | https://api.github.com/users/vidyasiv/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6638/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | vidyasiv | 81,709,031 | MDQ6VXNlcjgxNzA5MDMx | https://avatars.githubusercontent.com/u/81709031?v=4 | https://api.github.com/users/vidyasiv | https://github.com/vidyasiv | https://api.github.com/users/vidyasiv/followers | https://api.github.com/users/vidyasiv/following{/other_user} | https://api.github.com/users/vidyasiv/gists{/gist_id} | https://api.github.com/users/vidyasiv/starred{/owner}{/repo} | https://api.github.com/users/vidyasiv/subscriptions | https://api.github.com/users/vidyasiv/orgs | https://api.github.com/users/vidyasiv/repos | https://api.github.com/users/vidyasiv/events{/privacy} | https://api.github.com/users/vidyasiv/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Looks like it works with latest datasets repository\r\n```\r\n- `datasets` version: 2.16.2.dev0\r\n- Platform: Linux-5.15.0-92-generic-x86_64-with-glibc2.29\r\n- Python version: 3.8.10\r\n- `huggingface_hub` version: 0.20.3\r\n- PyArrow version: 15.0.0\r\n- Pandas version: 2.0.1\r\n- `fsspec` version: 2023.10.0\r\... | ||
https://api.github.com/repos/huggingface/datasets/issues/6637 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6637/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6637/comments | https://api.github.com/repos/huggingface/datasets/issues/6637/events | https://github.com/huggingface/datasets/issues/6637 | 2,113,025,975 | I_kwDODunzps598je3 | 6,637 | 'with_format' is extremely slow when used together with 'interleave_datasets' or 'shuffle' on IterableDatasets | [] | closed | false | null | [] | null | 7 | 1,706 | 1,758 | 1,758 | NONE | null | null | ### Describe the bug
If you:
1. Interleave two iterable datasets together with the interleave_datasets function, or shuffle an iterable dataset
2. Set the output format to torch tensors with .with_format('torch')
Then iterating through the dataset becomes over 100x slower than it is if you don't apply the torch... | null | https://api.github.com/repos/huggingface/datasets/issues/6637/timeline | null | completed | tobycrisford | 22,883,190 | MDQ6VXNlcjIyODgzMTkw | https://avatars.githubusercontent.com/u/22883190?v=4 | https://api.github.com/users/tobycrisford | https://github.com/tobycrisford | https://api.github.com/users/tobycrisford/followers | https://api.github.com/users/tobycrisford/following{/other_user} | https://api.github.com/users/tobycrisford/gists{/gist_id} | https://api.github.com/users/tobycrisford/starred{/owner}{/repo} | https://api.github.com/users/tobycrisford/subscriptions | https://api.github.com/users/tobycrisford/orgs | https://api.github.com/users/tobycrisford/repos | https://api.github.com/users/tobycrisford/events{/privacy} | https://api.github.com/users/tobycrisford/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6637/reactions | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | null | null | null | null | null | null | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"The \"torch\" formatting is usually fast because we do zero-copy conversion from the Arrow data on your disk to Torch tensors. However IterableDataset shuffling seems to do data copies that slow down the pipeline, and it shuffles python objects instead of Arrow data.\r\n\r\nTo fix this we need to implement `Buffer... | ||
https://api.github.com/repos/huggingface/datasets/issues/6624 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6624/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6624/comments | https://api.github.com/repos/huggingface/datasets/issues/6624/events | https://github.com/huggingface/datasets/issues/6624 | 2,103,950,718 | I_kwDODunzps59Z71- | 6,624 | How to download the laion-coco dataset | [] | closed | false | null | [] | null | 1 | 1,706 | 1,707 | 1,707 | NONE | null | null | The laion coco dataset is not available now. How to download it
https://huggingface.co/datasets/laion/laion-coco | null | https://api.github.com/repos/huggingface/datasets/issues/6624/timeline | null | not_planned | vanpersie32 | 15,981,416 | MDQ6VXNlcjE1OTgxNDE2 | https://avatars.githubusercontent.com/u/15981416?v=4 | https://api.github.com/users/vanpersie32 | https://github.com/vanpersie32 | https://api.github.com/users/vanpersie32/followers | https://api.github.com/users/vanpersie32/following{/other_user} | https://api.github.com/users/vanpersie32/gists{/gist_id} | https://api.github.com/users/vanpersie32/starred{/owner}{/repo} | https://api.github.com/users/vanpersie32/subscriptions | https://api.github.com/users/vanpersie32/orgs | https://api.github.com/users/vanpersie32/repos | https://api.github.com/users/vanpersie32/events{/privacy} | https://api.github.com/users/vanpersie32/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6624/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi, this dataset has been disabled by the authors, so unfortunately it's no longer possible to download it."
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6623 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6623/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6623/comments | https://api.github.com/repos/huggingface/datasets/issues/6623/events | https://github.com/huggingface/datasets/issues/6623 | 2,103,870,123 | I_kwDODunzps59ZoKr | 6,623 | streaming datasets doesn't work properly with multi-node | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | open | false | null | [] | null | 24 | 1,706 | 1,759 | null | NONE | null | null | ### Feature request
Let’s say I have a dataset with 5 samples with values [1, 2, 3, 4, 5], with 2 GPUs (for DDP) and batch size of 2. This dataset is an `IterableDataset` since I am streaming it.
Now I split the dataset using `split_dataset_by_node` to ensure it doesn’t get repeated. And since it’s already splitt... | null | https://api.github.com/repos/huggingface/datasets/issues/6623/timeline | null | null | rohitgr7 | 30,778,939 | MDQ6VXNlcjMwNzc4OTM5 | https://avatars.githubusercontent.com/u/30778939?v=4 | https://api.github.com/users/rohitgr7 | https://github.com/rohitgr7 | https://api.github.com/users/rohitgr7/followers | https://api.github.com/users/rohitgr7/following{/other_user} | https://api.github.com/users/rohitgr7/gists{/gist_id} | https://api.github.com/users/rohitgr7/starred{/owner}{/repo} | https://api.github.com/users/rohitgr7/subscriptions | https://api.github.com/users/rohitgr7/orgs | https://api.github.com/users/rohitgr7/repos | https://api.github.com/users/rohitgr7/events{/privacy} | https://api.github.com/users/rohitgr7/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6623/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"@mariosasko, @lhoestq, @albertvillanova\r\nhey guys! can anyone help? or can you guys suggest who can help with this?",
"Hi ! \r\n\r\n1. When the dataset is running of of examples, the last batches received by the GPU can be incomplete or empty/missing. We haven't implemented yet a way to ignore the last batch. ... | |
https://api.github.com/repos/huggingface/datasets/issues/6622 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6622/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6622/comments | https://api.github.com/repos/huggingface/datasets/issues/6622/events | https://github.com/huggingface/datasets/issues/6622 | 2,103,780,697 | I_kwDODunzps59ZSVZ | 6,622 | multi-GPU map does not work | [] | closed | false | null | [] | null | 1 | 1,706 | 1,707 | 1,707 | NONE | null | null | ### Describe the bug
Here is the code for single-GPU processing: https://pastebin.com/bfmEeK2y
Here is the code for multi-GPU processing: https://pastebin.com/gQ7i5AQy
Here is the video showing that the multi-GPU mapping does not work as expected (there are so many things wrong here, it's better to watch the 3-min... | null | https://api.github.com/repos/huggingface/datasets/issues/6622/timeline | null | completed | kopyl | 17,604,849 | MDQ6VXNlcjE3NjA0ODQ5 | https://avatars.githubusercontent.com/u/17604849?v=4 | https://api.github.com/users/kopyl | https://github.com/kopyl | https://api.github.com/users/kopyl/followers | https://api.github.com/users/kopyl/following{/other_user} | https://api.github.com/users/kopyl/gists{/gist_id} | https://api.github.com/users/kopyl/starred{/owner}{/repo} | https://api.github.com/users/kopyl/subscriptions | https://api.github.com/users/kopyl/orgs | https://api.github.com/users/kopyl/repos | https://api.github.com/users/kopyl/events{/privacy} | https://api.github.com/users/kopyl/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6622/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"This should now be fixed by https://github.com/huggingface/datasets/pull/6550 and updated with https://github.com/huggingface/datasets/pull/6646\r\n\r\nFeel free to re-open if you're still having issues :)"
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6621 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6621/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6621/comments | https://api.github.com/repos/huggingface/datasets/issues/6621/events | https://github.com/huggingface/datasets/issues/6621 | 2,103,675,294 | I_kwDODunzps59Y4me | 6,621 | deleted | [] | closed | false | null | [] | null | 0 | 1,706 | 1,706 | 1,706 | NONE | null | null | ... | null | https://api.github.com/repos/huggingface/datasets/issues/6621/timeline | null | completed | kopyl | 17,604,849 | MDQ6VXNlcjE3NjA0ODQ5 | https://avatars.githubusercontent.com/u/17604849?v=4 | https://api.github.com/users/kopyl | https://github.com/kopyl | https://api.github.com/users/kopyl/followers | https://api.github.com/users/kopyl/following{/other_user} | https://api.github.com/users/kopyl/gists{/gist_id} | https://api.github.com/users/kopyl/starred{/owner}{/repo} | https://api.github.com/users/kopyl/subscriptions | https://api.github.com/users/kopyl/orgs | https://api.github.com/users/kopyl/repos | https://api.github.com/users/kopyl/events{/privacy} | https://api.github.com/users/kopyl/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6621/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | kopyl | 17,604,849 | MDQ6VXNlcjE3NjA0ODQ5 | https://avatars.githubusercontent.com/u/17604849?v=4 | https://api.github.com/users/kopyl | https://github.com/kopyl | https://api.github.com/users/kopyl/followers | https://api.github.com/users/kopyl/following{/other_user} | https://api.github.com/users/kopyl/gists{/gist_id} | https://api.github.com/users/kopyl/starred{/owner}{/repo} | https://api.github.com/users/kopyl/subscriptions | https://api.github.com/users/kopyl/orgs | https://api.github.com/users/kopyl/repos | https://api.github.com/users/kopyl/events{/privacy} | https://api.github.com/users/kopyl/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | ||
https://api.github.com/repos/huggingface/datasets/issues/6620 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6620/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6620/comments | https://api.github.com/repos/huggingface/datasets/issues/6620/events | https://github.com/huggingface/datasets/issues/6620 | 2,103,110,536 | I_kwDODunzps59WuuI | 6,620 | wiki_dpr.py error (ID mismatch between lines {id} and vector {vec_id} | [] | closed | false | null | [
{
"login": "albertvillanova",
"id": 8515462,
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertvillanova",
"html_url": "https://github.com/albertvillanova",
"followers_... | null | 1 | 1,706 | 1,707 | 1,707 | NONE | null | null | ### Describe the bug
I'm trying to run a rag example, and the dataset is wiki_dpr.
wiki_dpr download and extracting have been completed successfully.
However, at the generating train split stage, an error from wiki_dpr.py keeps popping up.
Especially in "_generate_examples" :
1. The following error occurs in the... | null | https://api.github.com/repos/huggingface/datasets/issues/6620/timeline | null | not_planned | kiehls90 | 101,498,700 | U_kgDOBgy_TA | https://avatars.githubusercontent.com/u/101498700?v=4 | https://api.github.com/users/kiehls90 | https://github.com/kiehls90 | https://api.github.com/users/kiehls90/followers | https://api.github.com/users/kiehls90/following{/other_user} | https://api.github.com/users/kiehls90/gists{/gist_id} | https://api.github.com/users/kiehls90/starred{/owner}{/repo} | https://api.github.com/users/kiehls90/subscriptions | https://api.github.com/users/kiehls90/orgs | https://api.github.com/users/kiehls90/repos | https://api.github.com/users/kiehls90/events{/privacy} | https://api.github.com/users/kiehls90/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6620/reactions | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Thanks for reporting, @kiehls90.\r\n\r\nAs this seems an issue with the specific \"wiki_dpr\" dataset, I am transferring the issue to the corresponding dataset page: https://huggingface.co/datasets/wiki_dpr/discussions/13"
] | |||
https://api.github.com/repos/huggingface/datasets/issues/6618 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6618/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6618/comments | https://api.github.com/repos/huggingface/datasets/issues/6618/events | https://github.com/huggingface/datasets/issues/6618 | 2,101,868,198 | I_kwDODunzps59R_am | 6,618 | While importing load_dataset from datasets | [] | closed | false | null | [] | null | 5 | 1,706 | 1,721 | 1,707 | NONE | null | null | ### Describe the bug
cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' this is the error i received
### Steps to reproduce the bug
from datasets import load_dataset
### Expected behavior
No errors
### Environment info
python 3.11.5 | null | https://api.github.com/repos/huggingface/datasets/issues/6618/timeline | null | not_planned | suprith-hub | 77,973,415 | MDQ6VXNlcjc3OTczNDE1 | https://avatars.githubusercontent.com/u/77973415?v=4 | https://api.github.com/users/suprith-hub | https://github.com/suprith-hub | https://api.github.com/users/suprith-hub/followers | https://api.github.com/users/suprith-hub/following{/other_user} | https://api.github.com/users/suprith-hub/gists{/gist_id} | https://api.github.com/users/suprith-hub/starred{/owner}{/repo} | https://api.github.com/users/suprith-hub/subscriptions | https://api.github.com/users/suprith-hub/orgs | https://api.github.com/users/suprith-hub/repos | https://api.github.com/users/suprith-hub/events{/privacy} | https://api.github.com/users/suprith-hub/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6618/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! Can you please share the error's stack trace so we can see where it comes from?",
"We cannot reproduce the issue and we do not have enough information: environment info (need to run `datasets-cli env`), stack trace,...\r\n\r\nI am closing the issue. Feel free to reopen it (with additional information) if the... | ||
https://api.github.com/repos/huggingface/datasets/issues/6615 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6615/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6615/comments | https://api.github.com/repos/huggingface/datasets/issues/6615/events | https://github.com/huggingface/datasets/issues/6615 | 2,098,951,409 | I_kwDODunzps59G3Tx | 6,615 | ... | [] | closed | false | null | [] | null | 1 | 1,706 | 1,706 | 1,706 | NONE | null | null | ... | null | https://api.github.com/repos/huggingface/datasets/issues/6615/timeline | null | not_planned | ftkeys | 22,179,777 | MDQ6VXNlcjIyMTc5Nzc3 | https://avatars.githubusercontent.com/u/22179777?v=4 | https://api.github.com/users/ftkeys | https://github.com/ftkeys | https://api.github.com/users/ftkeys/followers | https://api.github.com/users/ftkeys/following{/other_user} | https://api.github.com/users/ftkeys/gists{/gist_id} | https://api.github.com/users/ftkeys/starred{/owner}{/repo} | https://api.github.com/users/ftkeys/subscriptions | https://api.github.com/users/ftkeys/orgs | https://api.github.com/users/ftkeys/repos | https://api.github.com/users/ftkeys/events{/privacy} | https://api.github.com/users/ftkeys/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6615/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | ftkeys | 22,179,777 | MDQ6VXNlcjIyMTc5Nzc3 | https://avatars.githubusercontent.com/u/22179777?v=4 | https://api.github.com/users/ftkeys | https://github.com/ftkeys | https://api.github.com/users/ftkeys/followers | https://api.github.com/users/ftkeys/following{/other_user} | https://api.github.com/users/ftkeys/gists{/gist_id} | https://api.github.com/users/ftkeys/starred{/owner}{/repo} | https://api.github.com/users/ftkeys/subscriptions | https://api.github.com/users/ftkeys/orgs | https://api.github.com/users/ftkeys/repos | https://api.github.com/users/ftkeys/events{/privacy} | https://api.github.com/users/ftkeys/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Sorry I posted in the wrong repo, please delete.. thanks!"
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6614 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6614/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6614/comments | https://api.github.com/repos/huggingface/datasets/issues/6614/events | https://github.com/huggingface/datasets/issues/6614 | 2,098,884,520 | I_kwDODunzps59Gm-o | 6,614 | `datasets/downloads` cleanup tool | [
{
"id": 1935892871,
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement",
"name": "enhancement",
"color": "a2eeef",
"default": true,
"description": "New feature or request"
}
] | open | false | null | [] | null | 0 | 1,706 | 1,706 | null | CONTRIBUTOR | null | null | ### Feature request
Splitting off https://github.com/huggingface/huggingface_hub/issues/1997 - currently `huggingface-cli delete-cache` doesn't take care of cleaning `datasets` temp files
e.g. I discovered having millions of files under `datasets/downloads` cache, I had to do:
```
sudo find /data/huggingface/... | null | https://api.github.com/repos/huggingface/datasets/issues/6614/timeline | null | null | stas00 | 10,676,103 | MDQ6VXNlcjEwNjc2MTAz | https://avatars.githubusercontent.com/u/10676103?v=4 | https://api.github.com/users/stas00 | https://github.com/stas00 | https://api.github.com/users/stas00/followers | https://api.github.com/users/stas00/following{/other_user} | https://api.github.com/users/stas00/gists{/gist_id} | https://api.github.com/users/stas00/starred{/owner}{/repo} | https://api.github.com/users/stas00/subscriptions | https://api.github.com/users/stas00/orgs | https://api.github.com/users/stas00/repos | https://api.github.com/users/stas00/events{/privacy} | https://api.github.com/users/stas00/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6614/reactions | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6612 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6612/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6612/comments | https://api.github.com/repos/huggingface/datasets/issues/6612/events | https://github.com/huggingface/datasets/issues/6612 | 2,098,078,210 | I_kwDODunzps59DiIC | 6,612 | cnn_dailymail repeats itself | [] | closed | false | null | [] | null | 1 | 1,706 | 1,706 | 1,706 | NONE | null | null | ### Describe the bug
When I try to load `cnn_dailymail` dataset, it takes longer than usual and when I checked the dataset it's 3x bigger than it's supposed to be.
Check https://huggingface.co/datasets/cnn_dailymail: it says 287k rows for train. But when I check length of train split it says 861339.
Also I che... | null | https://api.github.com/repos/huggingface/datasets/issues/6612/timeline | null | completed | KeremZaman | 8,274,752 | MDQ6VXNlcjgyNzQ3NTI= | https://avatars.githubusercontent.com/u/8274752?v=4 | https://api.github.com/users/KeremZaman | https://github.com/KeremZaman | https://api.github.com/users/KeremZaman/followers | https://api.github.com/users/KeremZaman/following{/other_user} | https://api.github.com/users/KeremZaman/gists{/gist_id} | https://api.github.com/users/KeremZaman/starred{/owner}{/repo} | https://api.github.com/users/KeremZaman/subscriptions | https://api.github.com/users/KeremZaman/orgs | https://api.github.com/users/KeremZaman/repos | https://api.github.com/users/KeremZaman/events{/privacy} | https://api.github.com/users/KeremZaman/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6612/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | albertvillanova | 8,515,462 | MDQ6VXNlcjg1MTU0NjI= | https://avatars.githubusercontent.com/u/8515462?v=4 | https://api.github.com/users/albertvillanova | https://github.com/albertvillanova | https://api.github.com/users/albertvillanova/followers | https://api.github.com/users/albertvillanova/following{/other_user} | https://api.github.com/users/albertvillanova/gists{/gist_id} | https://api.github.com/users/albertvillanova/starred{/owner}{/repo} | https://api.github.com/users/albertvillanova/subscriptions | https://api.github.com/users/albertvillanova/orgs | https://api.github.com/users/albertvillanova/repos | https://api.github.com/users/albertvillanova/events{/privacy} | https://api.github.com/users/albertvillanova/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi ! We recently updated `cnn_dailymail` and now `datasets>=2.14` is needed to load it.\r\n\r\nYou can update `datasets` with\r\n\r\n```\r\npip install -U datasets\r\n```"
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6611 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6611/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6611/comments | https://api.github.com/repos/huggingface/datasets/issues/6611/events | https://github.com/huggingface/datasets/issues/6611 | 2,096,004,858 | I_kwDODunzps587n76 | 6,611 | `load_from_disk` with large dataset from S3 runs into `botocore.exceptions.ClientError` | [] | open | false | null | [] | null | 0 | 1,706 | 1,706 | null | NONE | null | null | ### Describe the bug
When loading a large dataset (>1000GB) from S3 I run into the following error:
```
Traceback (most recent call last):
File "/home/alp/.local/lib/python3.10/site-packages/s3fs/core.py", line 113, in _error_wrapper
return await func(*args, **kwargs)
File "/home/alp/.local/lib/python3.... | null | https://api.github.com/repos/huggingface/datasets/issues/6611/timeline | null | null | zotroneneis | 15,320,635 | MDQ6VXNlcjE1MzIwNjM1 | https://avatars.githubusercontent.com/u/15320635?v=4 | https://api.github.com/users/zotroneneis | https://github.com/zotroneneis | https://api.github.com/users/zotroneneis/followers | https://api.github.com/users/zotroneneis/following{/other_user} | https://api.github.com/users/zotroneneis/gists{/gist_id} | https://api.github.com/users/zotroneneis/starred{/owner}{/repo} | https://api.github.com/users/zotroneneis/subscriptions | https://api.github.com/users/zotroneneis/orgs | https://api.github.com/users/zotroneneis/repos | https://api.github.com/users/zotroneneis/events{/privacy} | https://api.github.com/users/zotroneneis/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6611/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [] | |
https://api.github.com/repos/huggingface/datasets/issues/6610 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6610/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6610/comments | https://api.github.com/repos/huggingface/datasets/issues/6610/events | https://github.com/huggingface/datasets/issues/6610 | 2,095,643,711 | I_kwDODunzps586Pw_ | 6,610 | cast_column to Sequence(subfeatures_dict) has err | [] | closed | false | null | [] | null | 2 | 1,706 | 1,706 | 1,706 | NONE | null | null | ### Describe the bug
I am working with the following demo code:
```
from datasets import load_dataset
from datasets.features import Sequence, Value, ClassLabel, Features
ais_dataset = load_dataset("/data/ryan.gao/ais_dataset_cache/raw/1978/")
ais_dataset = ais_dataset["train"]
def add_class(example):
... | null | https://api.github.com/repos/huggingface/datasets/issues/6610/timeline | null | completed | neiblegy | 16,574,677 | MDQ6VXNlcjE2NTc0Njc3 | https://avatars.githubusercontent.com/u/16574677?v=4 | https://api.github.com/users/neiblegy | https://github.com/neiblegy | https://api.github.com/users/neiblegy/followers | https://api.github.com/users/neiblegy/following{/other_user} | https://api.github.com/users/neiblegy/gists{/gist_id} | https://api.github.com/users/neiblegy/starred{/owner}{/repo} | https://api.github.com/users/neiblegy/subscriptions | https://api.github.com/users/neiblegy/orgs | https://api.github.com/users/neiblegy/repos | https://api.github.com/users/neiblegy/events{/privacy} | https://api.github.com/users/neiblegy/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6610/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | neiblegy | 16,574,677 | MDQ6VXNlcjE2NTc0Njc3 | https://avatars.githubusercontent.com/u/16574677?v=4 | https://api.github.com/users/neiblegy | https://github.com/neiblegy | https://api.github.com/users/neiblegy/followers | https://api.github.com/users/neiblegy/following{/other_user} | https://api.github.com/users/neiblegy/gists{/gist_id} | https://api.github.com/users/neiblegy/starred{/owner}{/repo} | https://api.github.com/users/neiblegy/subscriptions | https://api.github.com/users/neiblegy/orgs | https://api.github.com/users/neiblegy/repos | https://api.github.com/users/neiblegy/events{/privacy} | https://api.github.com/users/neiblegy/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! You are passing the wrong feature type to `cast_column`. This is the fixed call:\r\n```python\r\nais_dataset = ais_dataset.cast_column(\"my_labeled_bbox\", {\"bbox\": Sequence(Value(dtype=\"int64\")), \"label\": ClassLabel(names=[\"cat\", \"dog\"])})\r\n```",
"> Hi! You are passing the wrong feature type to ... | ||
https://api.github.com/repos/huggingface/datasets/issues/6609 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6609/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6609/comments | https://api.github.com/repos/huggingface/datasets/issues/6609/events | https://github.com/huggingface/datasets/issues/6609 | 2,095,085,650 | I_kwDODunzps584HhS | 6,609 | Wrong path for cache directory in offline mode | [] | closed | false | null | [
{
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.git... | null | 5 | 1,705 | 1,707 | 1,707 | NONE | null | null | ### Describe the bug
Dear huggingfacers,
I'm trying to use a subset of the-stack dataset. When I run the command the first time
```
dataset = load_dataset(
path='bigcode/the-stack',
data_dir='data/fortran',
split='train' )
```
It downloads the files and caches them normally.
Nevertheless, ... | null | https://api.github.com/repos/huggingface/datasets/issues/6609/timeline | null | completed | je-santos | 42,117,435 | MDQ6VXNlcjQyMTE3NDM1 | https://avatars.githubusercontent.com/u/42117435?v=4 | https://api.github.com/users/je-santos | https://github.com/je-santos | https://api.github.com/users/je-santos/followers | https://api.github.com/users/je-santos/following{/other_user} | https://api.github.com/users/je-santos/gists{/gist_id} | https://api.github.com/users/je-santos/starred{/owner}{/repo} | https://api.github.com/users/je-santos/subscriptions | https://api.github.com/users/je-santos/orgs | https://api.github.com/users/je-santos/repos | https://api.github.com/users/je-santos/events{/privacy} | https://api.github.com/users/je-santos/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6609/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | lhoestq | 42,851,186 | MDQ6VXNlcjQyODUxMTg2 | https://avatars.githubusercontent.com/u/42851186?v=4 | https://api.github.com/users/lhoestq | https://github.com/lhoestq | https://api.github.com/users/lhoestq/followers | https://api.github.com/users/lhoestq/following{/other_user} | https://api.github.com/users/lhoestq/gists{/gist_id} | https://api.github.com/users/lhoestq/starred{/owner}{/repo} | https://api.github.com/users/lhoestq/subscriptions | https://api.github.com/users/lhoestq/orgs | https://api.github.com/users/lhoestq/repos | https://api.github.com/users/lhoestq/events{/privacy} | https://api.github.com/users/lhoestq/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"+1",
"same error in 2.16.1",
"@kongjiellx any luck with the issue?",
"I opened https://github.com/huggingface/datasets/pull/6632 to fix this issue. Once it's merged we'll do a new release of `datasets`",
"Thanks @lhoestq !"
] | |||
https://api.github.com/repos/huggingface/datasets/issues/6605 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6605/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6605/comments | https://api.github.com/repos/huggingface/datasets/issues/6605/events | https://github.com/huggingface/datasets/issues/6605 | 2,090,188,376 | I_kwDODunzps58lb5Y | 6,605 | ELI5 no longer available, but referenced in example code | [] | closed | false | null | [] | null | 1 | 1,705 | 1,706 | 1,706 | NONE | null | null | Here, an example code is given:
https://huggingface.co/docs/transformers/tasks/language_modeling
This code + article references the ELI5 dataset.
ELI5 is no longer available, as the ELI5 dataset page states: https://huggingface.co/datasets/eli5
"Defunct: Dataset "eli5" is defunct and no longer accessible due to u... | null | https://api.github.com/repos/huggingface/datasets/issues/6605/timeline | null | completed | drdsgvo | 81,480,344 | MDQ6VXNlcjgxNDgwMzQ0 | https://avatars.githubusercontent.com/u/81480344?v=4 | https://api.github.com/users/drdsgvo | https://github.com/drdsgvo | https://api.github.com/users/drdsgvo/followers | https://api.github.com/users/drdsgvo/following{/other_user} | https://api.github.com/users/drdsgvo/gists{/gist_id} | https://api.github.com/users/drdsgvo/starred{/owner}{/repo} | https://api.github.com/users/drdsgvo/subscriptions | https://api.github.com/users/drdsgvo/orgs | https://api.github.com/users/drdsgvo/repos | https://api.github.com/users/drdsgvo/events{/privacy} | https://api.github.com/users/drdsgvo/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6605/reactions | 3 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | mariosasko | 47,462,742 | MDQ6VXNlcjQ3NDYyNzQy | https://avatars.githubusercontent.com/u/47462742?v=4 | https://api.github.com/users/mariosasko | https://github.com/mariosasko | https://api.github.com/users/mariosasko/followers | https://api.github.com/users/mariosasko/following{/other_user} | https://api.github.com/users/mariosasko/gists{/gist_id} | https://api.github.com/users/mariosasko/starred{/owner}{/repo} | https://api.github.com/users/mariosasko/subscriptions | https://api.github.com/users/mariosasko/orgs | https://api.github.com/users/mariosasko/repos | https://api.github.com/users/mariosasko/events{/privacy} | https://api.github.com/users/mariosasko/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Addressed in https://github.com/huggingface/transformers/pull/28715."
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6604 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6604/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6604/comments | https://api.github.com/repos/huggingface/datasets/issues/6604/events | https://github.com/huggingface/datasets/issues/6604 | 2,089,713,945 | I_kwDODunzps58joEZ | 6,604 | Transform fingerprint collisions due to setting fixed random seed | [] | closed | false | null | [] | null | 2 | 1,705 | 1,706 | 1,706 | NONE | null | null | ### Describe the bug
The transform fingerprinting logic relies on the `random` library for random bits when the function is not hashable (e.g. bound methods as used in `trl`: https://github.com/huggingface/trl/blob/main/trl/trainer/dpo_trainer.py#L356). This causes collisions when the training code sets a fixed random... | null | https://api.github.com/repos/huggingface/datasets/issues/6604/timeline | null | completed | normster | 6,687,910 | MDQ6VXNlcjY2ODc5MTA= | https://avatars.githubusercontent.com/u/6687910?v=4 | https://api.github.com/users/normster | https://github.com/normster | https://api.github.com/users/normster/followers | https://api.github.com/users/normster/following{/other_user} | https://api.github.com/users/normster/gists{/gist_id} | https://api.github.com/users/normster/starred{/owner}{/repo} | https://api.github.com/users/normster/subscriptions | https://api.github.com/users/normster/orgs | https://api.github.com/users/normster/repos | https://api.github.com/users/normster/events{/privacy} | https://api.github.com/users/normster/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6604/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | mariosasko | 47,462,742 | MDQ6VXNlcjQ3NDYyNzQy | https://avatars.githubusercontent.com/u/47462742?v=4 | https://api.github.com/users/mariosasko | https://github.com/mariosasko | https://api.github.com/users/mariosasko/followers | https://api.github.com/users/mariosasko/following{/other_user} | https://api.github.com/users/mariosasko/gists{/gist_id} | https://api.github.com/users/mariosasko/starred{/owner}{/repo} | https://api.github.com/users/mariosasko/subscriptions | https://api.github.com/users/mariosasko/orgs | https://api.github.com/users/mariosasko/repos | https://api.github.com/users/mariosasko/events{/privacy} | https://api.github.com/users/mariosasko/received_events | User | public | false | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"I've opened a PR with a fix.",
"I don't think the PR fixes the root cause, since it still relies on the `random` library which will often have its seed fixed. I think the builtin `uuid.uuid4()` is a better choice: https://docs.python.org/3/library/uuid.html"
] | ||
https://api.github.com/repos/huggingface/datasets/issues/6603 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6603/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6603/comments | https://api.github.com/repos/huggingface/datasets/issues/6603/events | https://github.com/huggingface/datasets/issues/6603 | 2,089,230,766 | I_kwDODunzps58hyGu | 6,603 | datasets map `cache_file_name` does not work | [] | open | false | null | [] | null | 2 | 1,705 | 1,706 | null | NONE | null | null | ### Describe the bug
In the documentation `datasets.Dataset.map` arg `cache_file_name` is said to be a string, but it doesn't work.
### Steps to reproduce the bug
1. pick a dataset
2. write a map function
3. do `ds.map(..., cache_file_name='some_filename')`
4. it crashes
### Expected behavior
It will tell you t... | null | https://api.github.com/repos/huggingface/datasets/issues/6603/timeline | null | null | ChenchaoZhao | 35,147,961 | MDQ6VXNlcjM1MTQ3OTYx | https://avatars.githubusercontent.com/u/35147961?v=4 | https://api.github.com/users/ChenchaoZhao | https://github.com/ChenchaoZhao | https://api.github.com/users/ChenchaoZhao/followers | https://api.github.com/users/ChenchaoZhao/following{/other_user} | https://api.github.com/users/ChenchaoZhao/gists{/gist_id} | https://api.github.com/users/ChenchaoZhao/starred{/owner}{/repo} | https://api.github.com/users/ChenchaoZhao/subscriptions | https://api.github.com/users/ChenchaoZhao/orgs | https://api.github.com/users/ChenchaoZhao/repos | https://api.github.com/users/ChenchaoZhao/events{/privacy} | https://api.github.com/users/ChenchaoZhao/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6603/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Unfortunately, I'm unable to reproduce this error. Can you share the reproducer?",
"```\r\nds = datasets.Dataset.from_dict(dict(a=[i for i in range(100)]))\r\nds.map(lambda item: dict(b=item['a'] * 2), cache_file_name=\"/tmp/whatever-fn\") # this worked\r\nds.map(lambda item: dict(b=item['a'] * 2), cache_file_na... | |
https://api.github.com/repos/huggingface/datasets/issues/6602 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6602/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6602/comments | https://api.github.com/repos/huggingface/datasets/issues/6602/events | https://github.com/huggingface/datasets/issues/6602 | 2,089,217,483 | I_kwDODunzps58hu3L | 6,602 | Index error when data is large | [] | open | false | null | [] | null | 1 | 1,705 | 1,744 | null | NONE | null | null | ### Describe the bug
At `save_to_disk` step, the `max_shard_size` by default is `500MB`. However, one row of the dataset might be larger than `500MB` then the saving will throw an index error. Without looking at the source code, the bug is due to wrong calculation of number of shards which i think is
`total_size / m... | null | https://api.github.com/repos/huggingface/datasets/issues/6602/timeline | null | null | ChenchaoZhao | 35,147,961 | MDQ6VXNlcjM1MTQ3OTYx | https://avatars.githubusercontent.com/u/35147961?v=4 | https://api.github.com/users/ChenchaoZhao | https://github.com/ChenchaoZhao | https://api.github.com/users/ChenchaoZhao/followers | https://api.github.com/users/ChenchaoZhao/following{/other_user} | https://api.github.com/users/ChenchaoZhao/gists{/gist_id} | https://api.github.com/users/ChenchaoZhao/starred{/owner}{/repo} | https://api.github.com/users/ChenchaoZhao/subscriptions | https://api.github.com/users/ChenchaoZhao/orgs | https://api.github.com/users/ChenchaoZhao/repos | https://api.github.com/users/ChenchaoZhao/events{/privacy} | https://api.github.com/users/ChenchaoZhao/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6602/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"I'm facing this problem while doing my translation of [mteb/stackexchange-clustering](https://huggingface.co/datasets/mteb/stackexchange-clustering). each row has lots of samples (up to 100k samples), because in this dataset, each row represent multiple clusters.\nmy hack is to setting `max_shard_size` to 20Gb or ... | |
https://api.github.com/repos/huggingface/datasets/issues/6600 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/6600/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/6600/comments | https://api.github.com/repos/huggingface/datasets/issues/6600/events | https://github.com/huggingface/datasets/issues/6600 | 2,088,446,385 | I_kwDODunzps58eymx | 6,600 | Loading CSV exported dataset has unexpected format | [] | open | false | null | [] | null | 2 | 1,705 | 1,706 | null | NONE | null | null | ### Describe the bug
I wanted to be able to save a HF dataset for translations and load it again in another script, but I'm a bit confused with the documentation and the result I've got so I'm opening this issue to ask if this behavior is as expected.
### Steps to reproduce the bug
The documentation I've mainly cons... | null | https://api.github.com/repos/huggingface/datasets/issues/6600/timeline | null | null | OrianeN | 59,572,247 | MDQ6VXNlcjU5NTcyMjQ3 | https://avatars.githubusercontent.com/u/59572247?v=4 | https://api.github.com/users/OrianeN | https://github.com/OrianeN | https://api.github.com/users/OrianeN/followers | https://api.github.com/users/OrianeN/following{/other_user} | https://api.github.com/users/OrianeN/gists{/gist_id} | https://api.github.com/users/OrianeN/starred{/owner}{/repo} | https://api.github.com/users/OrianeN/subscriptions | https://api.github.com/users/OrianeN/orgs | https://api.github.com/users/OrianeN/repos | https://api.github.com/users/OrianeN/events{/privacy} | https://api.github.com/users/OrianeN/received_events | User | public | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | https://api.github.com/repos/huggingface/datasets/issues/6600/reactions | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | false | [
"Hi! Parquet is the only format that supports complex/nested features such as `Translation`. So, this should work:\r\n```python\r\ntest_dataset = load_dataset(\"opus100\", name=\"en-fr\", split=\"test\")\r\n\r\n# Save with .to_parquet()\r\ntest_parquet_path = \"try_testset_save.parquet\"\r\ntest_dataset.to_parquet(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.