url stringlengths 58 61 | repository_url stringclasses 1
value | labels_url stringlengths 72 75 | comments_url stringlengths 67 70 | events_url stringlengths 65 68 | html_url stringlengths 46 51 | id int64 599M 2.6B | node_id stringlengths 18 32 | number int64 1 7.24k | title stringlengths 1 290 | user dict | labels listlengths 0 4 | state stringclasses 2
values | locked bool 1
class | assignee dict | assignees listlengths 0 4 | milestone dict | comments int64 0 70 | created_at stringlengths 20 20 | updated_at stringlengths 20 20 | closed_at stringlengths 20 20 ⌀ | author_association stringclasses 4
values | active_lock_reason null | draft bool 2
classes | pull_request dict | body stringlengths 0 228k ⌀ | closed_by dict | reactions dict | timeline_url stringlengths 67 70 | performed_via_github_app null | state_reason stringclasses 3
values | is_pull_request bool 2
classes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/datasets/issues/7236 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7236/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7236/comments | https://api.github.com/repos/huggingface/datasets/issues/7236/events | https://github.com/huggingface/datasets/pull/7236 | 2,597,358,525 | PR_kwDODunzps5_GIvw | 7,236 | [MINOR:TYPO] Update arrow_dataset.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/3664563?v=4",
"events_url": "https://api.github.com/users/cakiki/events{/privacy}",
"followers_url": "https://api.github.com/users/cakiki/followers",
"following_url": "https://api.github.com/users/cakiki/following{/other_user}",
"gists_url": "https://ap... | [] | open | false | null | [] | null | 0 | 2024-10-18T12:10:03Z | 2024-10-18T12:10:03Z | null | CONTRIBUTOR | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7236.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7236",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7236.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7236"
} | Fix wrong link.
csv kwargs docstring link was pointing to pandas json docs. | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7236/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7236/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7234 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7234/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7234/comments | https://api.github.com/repos/huggingface/datasets/issues/7234/events | https://github.com/huggingface/datasets/pull/7234 | 2,594,220,624 | PR_kwDODunzps5-8Z_- | 7,234 | No need for dataset_info | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | [] | open | false | null | [] | null | 1 | 2024-10-17T09:54:03Z | 2024-10-18T14:10:12Z | null | MEMBER | null | true | {
"diff_url": "https://github.com/huggingface/datasets/pull/7234.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7234",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7234.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7234"
} | save a useless call to /api/datasets/repo_id | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7234/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7234/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7233 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7233/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7233/comments | https://api.github.com/repos/huggingface/datasets/issues/7233/events | https://github.com/huggingface/datasets/issues/7233 | 2,593,903,113 | I_kwDODunzps6am9IJ | 7,233 | 数据集数量问题 | {
"avatar_url": "https://avatars.githubusercontent.com/u/180297268?v=4",
"events_url": "https://api.github.com/users/want-well/events{/privacy}",
"followers_url": "https://api.github.com/users/want-well/followers",
"following_url": "https://api.github.com/users/want-well/following{/other_user}",
"gists_url": ... | [] | open | false | null | [] | null | 0 | 2024-10-17T07:41:44Z | 2024-10-17T07:41:44Z | null | NONE | null | null | null | ### Describe the bug
这里我进行大模型微调,当数据集数量为718时,模型可以正常微调,但是当我添加一个在前718个数据集中的数据或者新增一个数据就会报错
### Steps to reproduce the bug
1.
这里我的数据集可以微调的最后两个数据集是:
{
"messages": [
{
"role": "user",
"content": "完成校正装置设计后需要进行哪些工作?"
},
{
"role": "assistant",
"content": "一旦完成校正装置设计后,需要进行系统实际调校... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7233/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7233/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7232 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7232/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7232/comments | https://api.github.com/repos/huggingface/datasets/issues/7232/events | https://github.com/huggingface/datasets/pull/7232 | 2,593,720,548 | PR_kwDODunzps5-62rY | 7,232 | (Super tiny doc update) Mention to_polars | {
"avatar_url": "https://avatars.githubusercontent.com/u/5236035?v=4",
"events_url": "https://api.github.com/users/fzyzcjy/events{/privacy}",
"followers_url": "https://api.github.com/users/fzyzcjy/followers",
"following_url": "https://api.github.com/users/fzyzcjy/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 0 | 2024-10-17T06:08:53Z | 2024-10-17T11:02:13Z | null | NONE | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7232.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7232",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7232.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7232"
} | polars is also quite popular now, thus this tiny update can tell users polars is supported | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7232/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7232/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7231 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7231/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7231/comments | https://api.github.com/repos/huggingface/datasets/issues/7231/events | https://github.com/huggingface/datasets/pull/7231 | 2,592,011,737 | PR_kwDODunzps5-1jP8 | 7,231 | Fix typo in image dataset docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | [] | closed | false | null | [] | null | 1 | 2024-10-16T14:05:46Z | 2024-10-16T17:06:21Z | 2024-10-16T17:06:19Z | MEMBER | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7231.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7231",
"merged_at": "2024-10-16T17:06:19Z",
"patch_url": "https://github.com/huggingface/datasets/pull/7231.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | Fix typo in image dataset docs.
Typo reported by @datavistics. | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7231/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7231/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7230 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7230/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7230/comments | https://api.github.com/repos/huggingface/datasets/issues/7230/events | https://github.com/huggingface/datasets/pull/7230 | 2,589,531,942 | PR_kwDODunzps5-ttUV | 7,230 | Video support | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | [] | open | false | null | [] | null | 1 | 2024-10-15T18:17:29Z | 2024-10-16T16:48:02Z | null | MEMBER | null | true | {
"diff_url": "https://github.com/huggingface/datasets/pull/7230.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7230",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7230.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7230"
} | (wip and experimental)
adding the `Video` type based on `VideoReader` from `decord`
```python
>>>from datasets import load_dataset
>>> ds = load_dataset("path/to/videos", split="train").with_format("torch")
>>> print(ds[0]["video"])
<decord.video_reader.VideoReader object at 0x337a47910>
>>> print(ds[0]["vid... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7230/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7230/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7229 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7229/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7229/comments | https://api.github.com/repos/huggingface/datasets/issues/7229/events | https://github.com/huggingface/datasets/pull/7229 | 2,588,847,398 | PR_kwDODunzps5-rgrx | 7,229 | handle config_name=None in push_to_hub | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 0 | 2024-10-15T13:48:57Z | 2024-10-15T13:48:57Z | null | CONTRIBUTOR | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7229.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7229",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7229.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7229"
} | This caught me out - thought it might be better to explicitly handle None? | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7229/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7229/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7228 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7228/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7228/comments | https://api.github.com/repos/huggingface/datasets/issues/7228/events | https://github.com/huggingface/datasets/issues/7228 | 2,587,310,094 | I_kwDODunzps6aNzgO | 7,228 | Composite (multi-column) features | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | open | false | null | [] | null | 0 | 2024-10-14T23:59:19Z | 2024-10-15T11:17:15Z | null | CONTRIBUTOR | null | null | null | ### Feature request
Structured data types (graphs etc.) might often be most efficiently stored as multiple columns, which then need to be combined during feature decoding
Although it is currently possible to nest features as structs, my impression is that in particular when dealing with e.g. a feature composed of... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7228/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7228/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7227 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7227/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7227/comments | https://api.github.com/repos/huggingface/datasets/issues/7227/events | https://github.com/huggingface/datasets/pull/7227 | 2,587,048,312 | PR_kwDODunzps5-l-OE | 7,227 | fast array extraction | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 3 | 2024-10-14T20:51:32Z | 2024-10-18T11:36:55Z | null | CONTRIBUTOR | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7227.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7227",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7227.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7227"
} | Implements #7210 using method suggested in https://github.com/huggingface/datasets/pull/7207#issuecomment-2411789307
```python
import numpy as np
from datasets import Dataset, Features, Array3D
features=Features(**{"array0": Array3D((None, 10, 10), dtype="float32"), "array1": Array3D((None,10,10), dtype="float3... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7227/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7227/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7226 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7226/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7226/comments | https://api.github.com/repos/huggingface/datasets/issues/7226/events | https://github.com/huggingface/datasets/issues/7226 | 2,586,920,351 | I_kwDODunzps6aMUWf | 7,226 | Add R as a How to use from the Polars (R) Library as an option | {
"avatar_url": "https://avatars.githubusercontent.com/u/45013044?v=4",
"events_url": "https://api.github.com/users/ran-codes/events{/privacy}",
"followers_url": "https://api.github.com/users/ran-codes/followers",
"following_url": "https://api.github.com/users/ran-codes/following{/other_user}",
"gists_url": "... | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | open | false | null | [] | null | 0 | 2024-10-14T19:56:07Z | 2024-10-14T19:57:13Z | null | NONE | null | null | null | ### Feature request
The boiler plate code to access a dataset via the hugging face file system is very useful. Please addd
## Add Polars (R) option
The equivailent code works, because the [Polars-R](https://github.com/pola-rs/r-polars) wrapper has hugging faces funcitonaliy as well.
```r
library(polars)
... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7226/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7226/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7225 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7225/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7225/comments | https://api.github.com/repos/huggingface/datasets/issues/7225/events | https://github.com/huggingface/datasets/issues/7225 | 2,586,229,216 | I_kwDODunzps6aJrng | 7,225 | Huggingface GIT returns null as Content-Type instead of application/x-git-receive-pack-result | {
"avatar_url": "https://avatars.githubusercontent.com/u/3961950?v=4",
"events_url": "https://api.github.com/users/padmalcom/events{/privacy}",
"followers_url": "https://api.github.com/users/padmalcom/followers",
"following_url": "https://api.github.com/users/padmalcom/following{/other_user}",
"gists_url": "h... | [] | open | false | null | [] | null | 0 | 2024-10-14T14:33:06Z | 2024-10-14T14:33:06Z | null | NONE | null | null | null | ### Describe the bug
We push changes to our datasets programmatically. Our git client jGit reports that the hf git server returns null as Content-Type after a push.
### Steps to reproduce the bug
A basic kotlin application:
```
val person = PersonIdent(
"padmalcom",
"padmalcom@sth.com"
)
... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7225/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7225/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7224 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7224/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7224/comments | https://api.github.com/repos/huggingface/datasets/issues/7224/events | https://github.com/huggingface/datasets/pull/7224 | 2,583,233,980 | PR_kwDODunzps5-bLNR | 7,224 | fallback to default feature casting in case custom features not available during dataset loading | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 0 | 2024-10-12T16:13:56Z | 2024-10-12T16:13:56Z | null | CONTRIBUTOR | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7224.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7224",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7224.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7224"
} | a fix for #7223 in case datasets is happy to support this kind of extensibility! seems cool / powerful for allowing sharing of datasets with potentially different feature types | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7224/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7224/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7223 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7223/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7223/comments | https://api.github.com/repos/huggingface/datasets/issues/7223/events | https://github.com/huggingface/datasets/issues/7223 | 2,583,231,590 | I_kwDODunzps6Z-Pxm | 7,223 | Fallback to arrow defaults when loading dataset with custom features that aren't registered locally | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 0 | 2024-10-12T16:08:20Z | 2024-10-12T16:08:20Z | null | CONTRIBUTOR | null | null | null | ### Describe the bug
Datasets allows users to create and register custom features.
However if datasets are then pushed to the hub, this means that anyone calling load_dataset without registering the custom Features in the same way as the dataset creator will get an error message.
It would be nice to offer a fall... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7223/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7223/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7222 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7222/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7222/comments | https://api.github.com/repos/huggingface/datasets/issues/7222/events | https://github.com/huggingface/datasets/issues/7222 | 2,582,678,033 | I_kwDODunzps6Z8IoR | 7,222 | TypeError: Couldn't cast array of type string to null in long json | {
"avatar_url": "https://avatars.githubusercontent.com/u/5142577?v=4",
"events_url": "https://api.github.com/users/nokados/events{/privacy}",
"followers_url": "https://api.github.com/users/nokados/followers",
"following_url": "https://api.github.com/users/nokados/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 0 | 2024-10-12T08:14:59Z | 2024-10-12T08:14:59Z | null | NONE | null | null | null | ### Describe the bug
In general, changing the type from string to null is allowed within a dataset — there are even examples of this in the documentation.
However, if the dataset is large and unevenly distributed, this allowance stops working. The schema gets locked in after reading a chunk.
Consequently, if al... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7222/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7222/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7221 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7221/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7221/comments | https://api.github.com/repos/huggingface/datasets/issues/7221/events | https://github.com/huggingface/datasets/pull/7221 | 2,582,114,631 | PR_kwDODunzps5-YNI8 | 7,221 | add Feature base class to improve support for user-defined features | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 0 | 2024-10-11T20:10:27Z | 2024-10-15T20:44:35Z | null | CONTRIBUTOR | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7221.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7221",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7221.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7221"
} | intended as fix for #7220 if this kind of extensibility is something that datasets is willing to support!
```python
class ListOfStrs:
requires_encoding = True
def encode_example(self, value):
if isinstance(value, str):
return [str]
else:
return value
feats = ... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7221/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7221/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7220 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7220/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7220/comments | https://api.github.com/repos/huggingface/datasets/issues/7220/events | https://github.com/huggingface/datasets/issues/7220 | 2,582,036,110 | I_kwDODunzps6Z5r6O | 7,220 | Custom features not compatible with special encoding/decoding logic | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 0 | 2024-10-11T19:20:11Z | 2024-10-11T20:15:57Z | null | CONTRIBUTOR | null | null | null | ### Describe the bug
It is possible to register custom features using datasets.features.features.register_feature (https://github.com/huggingface/datasets/pull/6727)
However such features are not compatible with Features.encode_example/decode_example if they require special encoding / decoding logic because encod... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7220/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7220/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7219 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7219/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7219/comments | https://api.github.com/repos/huggingface/datasets/issues/7219/events | https://github.com/huggingface/datasets/pull/7219 | 2,581,708,084 | PR_kwDODunzps5-XAQF | 7,219 | bump fsspec | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | [] | closed | false | null | [] | null | 1 | 2024-10-11T15:56:36Z | 2024-10-14T08:21:56Z | 2024-10-14T08:21:55Z | MEMBER | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7219.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7219",
"merged_at": "2024-10-14T08:21:55Z",
"patch_url": "https://github.com/huggingface/datasets/pull/7219.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | null | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7219/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7219/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7217 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7217/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7217/comments | https://api.github.com/repos/huggingface/datasets/issues/7217/events | https://github.com/huggingface/datasets/issues/7217 | 2,581,095,098 | I_kwDODunzps6Z2GK6 | 7,217 | ds.map(f, num_proc=10) is slower than df.apply | {
"avatar_url": "https://avatars.githubusercontent.com/u/178981231?v=4",
"events_url": "https://api.github.com/users/lanlanlanlanlanlan365/events{/privacy}",
"followers_url": "https://api.github.com/users/lanlanlanlanlanlan365/followers",
"following_url": "https://api.github.com/users/lanlanlanlanlanlan365/foll... | [] | open | false | null | [] | null | 0 | 2024-10-11T11:04:05Z | 2024-10-11T11:04:05Z | null | NONE | null | null | null | ### Describe the bug
pandas columns: song_id, song_name
ds = Dataset.from_pandas(df)
def has_cover(song_name):
if song_name is None or pd.isna(song_name):
return False
return 'cover' in song_name.lower()
df['has_cover'] = df.song_name.progress_apply(has_cover)
ds = ds.map(lambda x: {'has_cov... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7217/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7217/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7215 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7215/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7215/comments | https://api.github.com/repos/huggingface/datasets/issues/7215/events | https://github.com/huggingface/datasets/issues/7215 | 2,579,942,939 | I_kwDODunzps6Zxs4b | 7,215 | Iterable dataset map with explicit features causes slowdown for Sequence features | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 0 | 2024-10-10T22:08:20Z | 2024-10-10T22:10:32Z | null | CONTRIBUTOR | null | null | null | ### Describe the bug
When performing map, it's nice to be able to pass the new feature type, and indeed required by interleave and concatenate datasets.
However, this can cause a major slowdown for certain types of array features due to the features being re-encoded.
This is separate to the slowdown reported i... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7215/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7215/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7214 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7214/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7214/comments | https://api.github.com/repos/huggingface/datasets/issues/7214/events | https://github.com/huggingface/datasets/issues/7214 | 2,578,743,713 | I_kwDODunzps6ZtIGh | 7,214 | Formatted map + with_format(None) changes array dtype for iterable datasets | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 1 | 2024-10-10T12:45:16Z | 2024-10-12T16:55:57Z | null | CONTRIBUTOR | null | null | null | ### Describe the bug
When applying with_format -> map -> with_format(None), array dtypes seem to change, even if features are passed
### Steps to reproduce the bug
```python
features=Features(**{"array0": Array3D((None, 10, 10), dtype="float32")})
dataset = Dataset.from_dict({f"array0": [np.zeros((100,10,10... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7214/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7214/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7213 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7213/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7213/comments | https://api.github.com/repos/huggingface/datasets/issues/7213/events | https://github.com/huggingface/datasets/issues/7213 | 2,578,675,565 | I_kwDODunzps6Zs3dt | 7,213 | Add with_rank to Dataset.from_generator | {
"avatar_url": "https://avatars.githubusercontent.com/u/17828087?v=4",
"events_url": "https://api.github.com/users/muthissar/events{/privacy}",
"followers_url": "https://api.github.com/users/muthissar/followers",
"following_url": "https://api.github.com/users/muthissar/following{/other_user}",
"gists_url": "... | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | open | false | null | [] | null | 0 | 2024-10-10T12:15:29Z | 2024-10-10T12:17:11Z | null | NONE | null | null | null | ### Feature request
Add `with_rank` to `Dataset.from_generator` similar to `Dataset.map` and `Dataset.filter`.
### Motivation
As for `Dataset.map` and `Dataset.filter`, this is useful when creating cache files using multi-GPU, where the rank can be used to select GPU IDs. For now, rank can be added in the `ge... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7213/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7213/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7212 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7212/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7212/comments | https://api.github.com/repos/huggingface/datasets/issues/7212/events | https://github.com/huggingface/datasets/issues/7212 | 2,578,641,259 | I_kwDODunzps6ZsvFr | 7,212 | Windows do not supprot signal.alarm and singal.signal | {
"avatar_url": "https://avatars.githubusercontent.com/u/33832672?v=4",
"events_url": "https://api.github.com/users/TomasJavurek/events{/privacy}",
"followers_url": "https://api.github.com/users/TomasJavurek/followers",
"following_url": "https://api.github.com/users/TomasJavurek/following{/other_user}",
"gist... | [] | open | false | null | [] | null | 0 | 2024-10-10T12:00:19Z | 2024-10-10T12:00:19Z | null | NONE | null | null | null | ### Describe the bug
signal.alarm and signal.signal are used in the load.py module, but these are not supported by Windows.
### Steps to reproduce the bug
lighteval accelerate --model_args "pretrained=gpt2,trust_remote_code=True" --tasks "community|kinit_sts" --custom_tasks "community_tasks/kinit_evals.py" --output... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7212/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7212/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7211 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7211/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7211/comments | https://api.github.com/repos/huggingface/datasets/issues/7211/events | https://github.com/huggingface/datasets/issues/7211 | 2,576,400,502 | I_kwDODunzps6ZkMB2 | 7,211 | Describe only selected fields in README | {
"avatar_url": "https://avatars.githubusercontent.com/u/67658835?v=4",
"events_url": "https://api.github.com/users/alozowski/events{/privacy}",
"followers_url": "https://api.github.com/users/alozowski/followers",
"following_url": "https://api.github.com/users/alozowski/following{/other_user}",
"gists_url": "... | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | open | false | null | [] | null | 0 | 2024-10-09T16:25:47Z | 2024-10-09T16:25:47Z | null | NONE | null | null | null | ### Feature request
Hi Datasets team!
Is it possible to add the ability to describe only selected fields of the dataset files in `README.md`? For example, I have this open dataset ([open-llm-leaderboard/results](https://huggingface.co/datasets/open-llm-leaderboard/results?row=0)) and I want to describe only some f... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7211/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7211/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7210 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7210/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7210/comments | https://api.github.com/repos/huggingface/datasets/issues/7210/events | https://github.com/huggingface/datasets/issues/7210 | 2,575,883,939 | I_kwDODunzps6ZiN6j | 7,210 | Convert Array features to numpy arrays rather than lists by default | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | open | false | null | [] | null | 0 | 2024-10-09T13:05:21Z | 2024-10-09T13:05:21Z | null | CONTRIBUTOR | null | null | null | ### Feature request
It is currently quite easy to cause massive slowdowns when using datasets and not familiar with the underlying data conversions by e.g. making bad choices of formatting.
Would it be more user-friendly to set defaults that avoid this as much as possible? e.g. format Array features as numpy arrays... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7210/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7210/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7209 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7209/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7209/comments | https://api.github.com/repos/huggingface/datasets/issues/7209/events | https://github.com/huggingface/datasets/pull/7209 | 2,575,526,651 | PR_kwDODunzps5-D6_P | 7,209 | Preserve features in iterable dataset.filter | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | closed | false | null | [] | null | 3 | 2024-10-09T10:42:05Z | 2024-10-16T11:27:22Z | 2024-10-09T16:04:07Z | CONTRIBUTOR | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7209.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7209",
"merged_at": "2024-10-09T16:04:07Z",
"patch_url": "https://github.com/huggingface/datasets/pull/7209.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | Fixes example in #7208 - I'm not sure what other checks I should do? @lhoestq
I also haven't thought hard about the concatenate / interleaving example iterables but think this might work assuming that features are either all identical or None? | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7209/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7209/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7208 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7208/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7208/comments | https://api.github.com/repos/huggingface/datasets/issues/7208/events | https://github.com/huggingface/datasets/issues/7208 | 2,575,484,256 | I_kwDODunzps6ZgsVg | 7,208 | Iterable dataset.filter should not override features | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | closed | false | null | [] | null | 1 | 2024-10-09T10:23:45Z | 2024-10-09T16:08:46Z | 2024-10-09T16:08:45Z | CONTRIBUTOR | null | null | null | ### Describe the bug
When calling filter on an iterable dataset, the features get set to None
### Steps to reproduce the bug
import numpy as np
import time
from datasets import Dataset, Features, Array3D
```python
features=Features(**{"array0": Array3D((None, 10, 10), dtype="float32"), "array1": Array3D((None,... | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7208/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7208/timeline | null | completed | false |
https://api.github.com/repos/huggingface/datasets/issues/7207 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7207/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7207/comments | https://api.github.com/repos/huggingface/datasets/issues/7207/events | https://github.com/huggingface/datasets/pull/7207 | 2,573,582,335 | PR_kwDODunzps59-Dms | 7,207 | apply formatting after iter_arrow to speed up format -> map, filter for iterable datasets | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 13 | 2024-10-08T15:44:53Z | 2024-10-17T12:30:28Z | null | CONTRIBUTOR | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7207.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7207",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7207.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7207"
} | I got to this by hacking around a bit but it seems to solve #7206
I have no idea if this approach makes sense or would break something else?
Could maybe work on a full pr if this looks reasonable @lhoestq ? I imagine the same issue might affect other iterable dataset methods? | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7207/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7207/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7206 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7206/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7206/comments | https://api.github.com/repos/huggingface/datasets/issues/7206/events | https://github.com/huggingface/datasets/issues/7206 | 2,573,567,467 | I_kwDODunzps6ZZYXr | 7,206 | Slow iteration for iterable dataset with numpy formatting for array data | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 1 | 2024-10-08T15:38:11Z | 2024-10-17T17:14:52Z | null | CONTRIBUTOR | null | null | null | ### Describe the bug
When working with large arrays, setting with_format to e.g. numpy then applying map causes a significant slowdown for iterable datasets.
### Steps to reproduce the bug
```python
import numpy as np
import time
from datasets import Dataset, Features, Array3D
features=Features(**{"array... | null | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7206/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7206/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7205 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7205/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7205/comments | https://api.github.com/repos/huggingface/datasets/issues/7205/events | https://github.com/huggingface/datasets/pull/7205 | 2,573,490,859 | PR_kwDODunzps599w0I | 7,205 | fix ci benchmark | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | [] | closed | false | null | [] | null | 1 | 2024-10-08T15:06:18Z | 2024-10-08T15:25:28Z | 2024-10-08T15:25:25Z | MEMBER | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7205.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7205",
"merged_at": "2024-10-08T15:25:25Z",
"patch_url": "https://github.com/huggingface/datasets/pull/7205.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | we're not using the benchmarks anymore + they were not working anyway due to token permissions
I keep the code in case we ever want to re-run the benchmark manually | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7205/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7205/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7204 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7204/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7204/comments | https://api.github.com/repos/huggingface/datasets/issues/7204/events | https://github.com/huggingface/datasets/pull/7204 | 2,573,289,063 | PR_kwDODunzps599Hem | 7,204 | fix unbatched arrow map for iterable datasets | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | closed | false | null | [] | null | 1 | 2024-10-08T13:54:09Z | 2024-10-08T14:19:47Z | 2024-10-08T14:19:47Z | CONTRIBUTOR | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7204.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7204",
"merged_at": "2024-10-08T14:19:46Z",
"patch_url": "https://github.com/huggingface/datasets/pull/7204.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | Fixes the bug when applying map to an arrow-formatted iterable dataset described here:
https://github.com/huggingface/datasets/issues/6833#issuecomment-2399903885
```python
from datasets import load_dataset
ds = load_dataset("rotten_tomatoes", split="train", streaming=True)
ds = ds.with_format("arrow").map(l... | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7204/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7204/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7203 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7203/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7203/comments | https://api.github.com/repos/huggingface/datasets/issues/7203/events | https://github.com/huggingface/datasets/pull/7203 | 2,573,154,222 | PR_kwDODunzps598skr | 7,203 | with_format docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | [] | closed | false | null | [] | null | 1 | 2024-10-08T13:05:19Z | 2024-10-08T13:13:12Z | 2024-10-08T13:13:05Z | MEMBER | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7203.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7203",
"merged_at": "2024-10-08T13:13:05Z",
"patch_url": "https://github.com/huggingface/datasets/pull/7203.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | reported at https://github.com/huggingface/datasets/issues/3444 | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7203/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7203/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7202 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7202/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7202/comments | https://api.github.com/repos/huggingface/datasets/issues/7202/events | https://github.com/huggingface/datasets/issues/7202 | 2,572,583,798 | I_kwDODunzps6ZVoN2 | 7,202 | `from_parquet` return type annotation | {
"avatar_url": "https://avatars.githubusercontent.com/u/45285915?v=4",
"events_url": "https://api.github.com/users/saiden89/events{/privacy}",
"followers_url": "https://api.github.com/users/saiden89/followers",
"following_url": "https://api.github.com/users/saiden89/following{/other_user}",
"gists_url": "htt... | [] | open | false | null | [] | null | 0 | 2024-10-08T09:08:10Z | 2024-10-08T09:08:10Z | null | NONE | null | null | null | ### Describe the bug
As already posted in https://github.com/microsoft/pylance-release/issues/6534, the correct type hinting fails when building a dataset using the `from_parquet` constructor.
Their suggestion is to comprehensively annotate the method's return type to better align with the docstring information.
###... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7202/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7202/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7201 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7201/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7201/comments | https://api.github.com/repos/huggingface/datasets/issues/7201/events | https://github.com/huggingface/datasets/issues/7201 | 2,569,837,015 | I_kwDODunzps6ZLJnX | 7,201 | `load_dataset()` of images from a single directory where `train.png` image exists | {
"avatar_url": "https://avatars.githubusercontent.com/u/56922146?v=4",
"events_url": "https://api.github.com/users/SagiPolaczek/events{/privacy}",
"followers_url": "https://api.github.com/users/SagiPolaczek/followers",
"following_url": "https://api.github.com/users/SagiPolaczek/following{/other_user}",
"gist... | [] | open | false | null | [] | null | 0 | 2024-10-07T09:14:17Z | 2024-10-07T09:14:17Z | null | NONE | null | null | null | ### Describe the bug
Hey!
Firstly, thanks for maintaining such framework!
I had a small issue, where I wanted to load a custom dataset of image+text captioning. I had all of my images in a single directory, and one of the images had the name `train.png`. Then, the loaded dataset had only this image.
I guess it'... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7201/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7201/timeline | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/7200 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7200/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7200/comments | https://api.github.com/repos/huggingface/datasets/issues/7200/events | https://github.com/huggingface/datasets/pull/7200 | 2,567,921,694 | PR_kwDODunzps59sgRd | 7,200 | Fix the environment variable for huggingface cache | {
"avatar_url": "https://avatars.githubusercontent.com/u/989899?v=4",
"events_url": "https://api.github.com/users/torotoki/events{/privacy}",
"followers_url": "https://api.github.com/users/torotoki/followers",
"following_url": "https://api.github.com/users/torotoki/following{/other_user}",
"gists_url": "https... | [] | closed | false | null | [] | null | 3 | 2024-10-05T11:54:35Z | 2024-10-08T15:47:11Z | 2024-10-08T15:45:18Z | CONTRIBUTOR | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7200.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7200",
"merged_at": "2024-10-08T15:45:17Z",
"patch_url": "https://github.com/huggingface/datasets/pull/7200.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | Resolve #6256. As far as I tested, `HF_DATASETS_CACHE` was ignored and I could not specify the cache directory at all except for the default one by this environment variable. `HF_HOME` has worked. Perhaps the recent change on file downloading by `huggingface_hub` could affect this bug.
In my testing, I could not sp... | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7200/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7200/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7199 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7199/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7199/comments | https://api.github.com/repos/huggingface/datasets/issues/7199/events | https://github.com/huggingface/datasets/pull/7199 | 2,566,788,225 | PR_kwDODunzps59pN_M | 7,199 | Add with_rank to Dataset.from_generator | {
"avatar_url": "https://avatars.githubusercontent.com/u/17828087?v=4",
"events_url": "https://api.github.com/users/muthissar/events{/privacy}",
"followers_url": "https://api.github.com/users/muthissar/followers",
"following_url": "https://api.github.com/users/muthissar/following{/other_user}",
"gists_url": "... | [] | open | false | null | [] | null | 0 | 2024-10-04T16:51:53Z | 2024-10-04T16:51:53Z | null | NONE | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7199.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7199",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7199.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7199"
} | Adds `with_rank` to `Dataset.from_generator`. As for `Dataset.map` and `Dataset.filter`, this is useful when creating cache files using multi-GPU. | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7199/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7199/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7198 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7198/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7198/comments | https://api.github.com/repos/huggingface/datasets/issues/7198/events | https://github.com/huggingface/datasets/pull/7198 | 2,566,064,849 | PR_kwDODunzps59mwgu | 7,198 | Add repeat method to datasets | {
"avatar_url": "https://avatars.githubusercontent.com/u/5719745?v=4",
"events_url": "https://api.github.com/users/alex-hh/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-hh/followers",
"following_url": "https://api.github.com/users/alex-hh/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 0 | 2024-10-04T10:45:16Z | 2024-10-04T10:49:21Z | null | CONTRIBUTOR | null | false | {
"diff_url": "https://github.com/huggingface/datasets/pull/7198.diff",
"html_url": "https://github.com/huggingface/datasets/pull/7198",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/7198.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/7198"
} | Following up on discussion in #6623 and #7198 I thought this would be pretty useful for my case so had a go at implementing.
My main motivation is to be able to call iterable_dataset.repeat(None).take(samples_per_epoch) to safely avoid timeout issues in a distributed training setting. This would provide a straightfo... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7198/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7198/timeline | null | null | true |
https://api.github.com/repos/huggingface/datasets/issues/7197 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/7197/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/7197/comments | https://api.github.com/repos/huggingface/datasets/issues/7197/events | https://github.com/huggingface/datasets/issues/7197 | 2,565,924,788 | I_kwDODunzps6Y8Oe0 | 7,197 | ConnectionError: Couldn't reach 'allenai/c4' on the Hub (ConnectionError)数据集下不下来,怎么回事 | {
"avatar_url": "https://avatars.githubusercontent.com/u/114299344?v=4",
"events_url": "https://api.github.com/users/Mrgengli/events{/privacy}",
"followers_url": "https://api.github.com/users/Mrgengli/followers",
"following_url": "https://api.github.com/users/Mrgengli/following{/other_user}",
"gists_url": "ht... | [] | open | false | null | [] | null | 1 | 2024-10-04T09:33:25Z | 2024-10-04T09:56:22Z | null | NONE | null | null | null | ### Describe the bug
from datasets import load_dataset
print("11")
traindata = load_dataset('ptb_text_only', 'penn_treebank', split='train')
print("22")
valdata = load_dataset('ptb_text_only',
'penn_treebank',
split='validation')
### Steps to reproduce the b... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/7197/reactions"
} | https://api.github.com/repos/huggingface/datasets/issues/7197/timeline | null | null | false |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 6