reactions string | labels string | performed_via_github_app string | milestone string | assignee string | html_url string | assignees string | timeline_url string | issue_field_values string | id string | repository_url string | url string | title string | issue_dependencies_summary string | created_at string | state_reason string | type string | sub_issues_summary string | author_association string | closed_by string | events_url string | locked string | closed_at string | pinned_comment string | body string | comments_url string | node_id string | active_lock_reason string | state string | comments string | pull_request string | updated_at string | labels_url string | number string | user string | draft string | is_paul_request bool |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/561/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/561 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/561/timeline | json:[] | value:690871415 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/561 | value:Made `share_dataset` more readable | value:2020-09-02T09:34:48Z | value:CONTRIBUTOR | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/561/events | value:False | value:2020-09-03T09:00:29Z | value: | value:https://api.github.com/repos/huggingface/datasets/issues/561/comments | value:MDExOlB1bGxSZXF1ZXN0NDc3Njk1NDQy | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/561", "html_url": "https://github.com/huggingface/datasets/pull/561", "diff_url": "https://github.com/huggingface/datasets/pull/561.diff", "patch_url": "https://github.com/huggingface/datasets/pull/561.patch", "merged_at": "2020-09-03T09:00:29Z"} | value:2020-09-03T09:00:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/561/labels{/name} | value:561 | json:{"login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/users/TevenL... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/560/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/560 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/560/timeline | json:[] | value:690488764 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/560 | value:Using custom DownloadConfig results in an error | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-09-01T22:23:02Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/560/events | value:False | value:2022-10-04T17:23:45Z | value:## Version / Environment
Ubuntu 18.04
Python 3.6.8
nlp 0.4.0
## Description
Loading `imdb` dataset works fine when when I don't specify any `download_config` argument. When I create a custom `DownloadConfig` object and pass it to the `nlp.load_dataset` function, this results in an error.
## How to r... | value:https://api.github.com/repos/huggingface/datasets/issues/560/comments | value:MDU6SXNzdWU2OTA0ODg3NjQ= | value:closed | value:6 | value:2022-10-04T17:23:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/560/labels{/name} | value:560 | json:{"login": "ynouri", "id": 1789921, "node_id": "MDQ6VXNlcjE3ODk5MjE=", "avatar_url": "https://avatars.githubusercontent.com/u/1789921?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ynouri", "html_url": "https://github.com/ynouri", "followers_url": "https://api.github.com/users/ynouri/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/559/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/559 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/559/timeline | json:[] | value:690411263 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/559 | value:Adding the KILT knowledge source and tasks | value:2020-09-01T20:05:13Z | value:MEMBER | json:{"login": "yjernite", "id": 10469459, "node_id": "MDQ6VXNlcjEwNDY5NDU5", "avatar_url": "https://avatars.githubusercontent.com/u/10469459?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yjernite", "html_url": "https://github.com/yjernite", "followers_url": "https://api.github.com/users/yjernite/follow... | value:https://api.github.com/repos/huggingface/datasets/issues/559/events | value:False | value:2020-09-04T18:05:47Z | value:This adds Wikipedia pre-processed for KILT, as well as the task data. Only the question IDs are provided for TriviaQA, but they can easily be mapped back with:
```
import nlp
kilt_wikipedia = nlp.load_dataset('kilt_wikipedia')
kilt_tasks = nlp.load_dataset('kilt_tasks')
triviaqa = nlp.load_dataset('trivi... | value:https://api.github.com/repos/huggingface/datasets/issues/559/comments | value:MDExOlB1bGxSZXF1ZXN0NDc3MzAzOTM2 | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/559", "html_url": "https://github.com/huggingface/datasets/pull/559", "diff_url": "https://github.com/huggingface/datasets/pull/559.diff", "patch_url": "https://github.com/huggingface/datasets/pull/559.patch", "merged_at": "2020-09-04T18:05:47Z"} | value:2020-09-04T18:05:47Z | value:https://api.github.com/repos/huggingface/datasets/issues/559/labels{/name} | value:559 | json:{"login": "yjernite", "id": 10469459, "node_id": "MDQ6VXNlcjEwNDY5NDU5", "avatar_url": "https://avatars.githubusercontent.com/u/10469459?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yjernite", "html_url": "https://github.com/yjernite", "followers_url": "https://api.github.com/users/yjernite/follow... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/558/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/558 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/558/timeline | json:[] | value:690318105 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/558 | value:Rerun pip install -e | value:2020-09-01T17:24:39Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/558/events | value:False | value:2020-09-01T17:24:50Z | value:Hopefully it fixes the github actions | value:https://api.github.com/repos/huggingface/datasets/issues/558/comments | value:MDExOlB1bGxSZXF1ZXN0NDc3MjI2ODA0 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/558", "html_url": "https://github.com/huggingface/datasets/pull/558", "diff_url": "https://github.com/huggingface/datasets/pull/558.diff", "patch_url": "https://github.com/huggingface/datasets/pull/558.patch", "merged_at": "2020-09-01T17:24:50Z"} | value:2020-09-01T17:24:51Z | value:https://api.github.com/repos/huggingface/datasets/issues/558/labels{/name} | value:558 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/557/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/557 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/557/timeline | json:[] | value:690220135 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/557 | value:Fix a few typos | value:2020-09-01T15:03:24Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/557/events | value:False | value:2020-09-02T07:39:07Z | value: | value:https://api.github.com/repos/huggingface/datasets/issues/557/comments | value:MDExOlB1bGxSZXF1ZXN0NDc3MTQ1NjAx | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/557", "html_url": "https://github.com/huggingface/datasets/pull/557", "diff_url": "https://github.com/huggingface/datasets/pull/557.diff", "patch_url": "https://github.com/huggingface/datasets/pull/557.patch", "merged_at": "2020-09-02T07:39:06Z"} | value:2020-09-02T07:39:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/557/labels{/name} | value:557 | json:{"login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-c/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/556/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/556 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/556/timeline | json:[] | value:690218423 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/556 | value:Add DailyDialog | value:2020-09-01T15:01:15Z | value:MEMBER | json:{"login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-c/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/556/events | value:False | value:2020-09-03T15:38:39Z | value:http://yanran.li/dailydialog.html
https://arxiv.org/pdf/1710.03957.pdf
| value:https://api.github.com/repos/huggingface/datasets/issues/556/comments | value:MDExOlB1bGxSZXF1ZXN0NDc3MTQ0MTky | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/556", "html_url": "https://github.com/huggingface/datasets/pull/556", "diff_url": "https://github.com/huggingface/datasets/pull/556.diff", "patch_url": "https://github.com/huggingface/datasets/pull/556.patch", "merged_at": "2020-09-03T15:38:39Z"} | value:2020-09-03T15:42:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/556/labels{/name} | value:556 | json:{"login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-c/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/555/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/555 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/555/timeline | json:[] | value:690197725 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/555 | value:Upgrade pip in benchmark github action | value:2020-09-01T14:37:26Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/555/events | value:False | value:2020-09-01T15:26:15Z | value:It looks like it fixes the `import nlp` issue we have | value:https://api.github.com/repos/huggingface/datasets/issues/555/comments | value:MDExOlB1bGxSZXF1ZXN0NDc3MTI2OTIy | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/555", "html_url": "https://github.com/huggingface/datasets/pull/555", "diff_url": "https://github.com/huggingface/datasets/pull/555.diff", "patch_url": "https://github.com/huggingface/datasets/pull/555.patch", "merged_at": "2020-09-01T15:26:15Z"} | value:2020-09-01T15:26:16Z | value:https://api.github.com/repos/huggingface/datasets/issues/555/labels{/name} | value:555 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/554/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/554 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/554/timeline | json:[] | value:690173214 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/554 | value:nlp downloads to its module path | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-09-01T14:06:14Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"login": "danieldk", "id": 49398, "node_id": "MDQ6VXNlcjQ5Mzk4", "avatar_url": "https://avatars.githubusercontent.com/u/49398?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danieldk", "html_url": "https://github.com/danieldk", "followers_url": "https://api.github.com/users/danieldk/followers", "fol... | value:https://api.github.com/repos/huggingface/datasets/issues/554/events | value:False | value:2020-09-11T06:19:24Z | value:I am trying to package `nlp` for Nix, because it is now an optional dependency for `transformers`. The problem that I encounter is that the `nlp` library downloads to the module path, which is typically not writable in most package management systems:
```>>> import nlp
>>> squad_dataset = nlp.load_dataset('sq... | value:https://api.github.com/repos/huggingface/datasets/issues/554/comments | value:MDU6SXNzdWU2OTAxNzMyMTQ= | value:closed | value:8 | value:2020-09-11T06:19:24Z | value:https://api.github.com/repos/huggingface/datasets/issues/554/labels{/name} | value:554 | json:{"login": "danieldk", "id": 49398, "node_id": "MDQ6VXNlcjQ5Mzk4", "avatar_url": "https://avatars.githubusercontent.com/u/49398?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danieldk", "html_url": "https://github.com/danieldk", "followers_url": "https://api.github.com/users/danieldk/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/553/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/553 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/553/timeline | json:[] | value:690143182 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/553 | value:[Fix GitHub Actions] test adding tmate | value:2020-09-01T13:28:03Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/553/events | value:False | value:2020-09-03T09:01:13Z | value: | value:https://api.github.com/repos/huggingface/datasets/issues/553/comments | value:MDExOlB1bGxSZXF1ZXN0NDc3MDgxNTg2 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/553", "html_url": "https://github.com/huggingface/datasets/pull/553", "diff_url": "https://github.com/huggingface/datasets/pull/553.diff", "patch_url": "https://github.com/huggingface/datasets/pull/553.patch", "merged_at": null} | value:2021-05-05T18:24:38Z | value:https://api.github.com/repos/huggingface/datasets/issues/553/labels{/name} | value:553 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/552/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/552 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/552/timeline | json:[] | value:690079429 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/552 | value:Add multiprocessing | value:2020-09-01T11:56:17Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/552/events | value:False | value:2020-09-02T10:01:25Z | value:Adding multiprocessing to `.map`
It works in 3 steps:
- shard the dataset in `num_proc` shards
- spawn one process per shard and call `map` on them
- concatenate the resulting datasets
Example of usage:
```python
from nlp import load_dataset
dataset = load_dataset("squad", split="train")
def fu... | value:https://api.github.com/repos/huggingface/datasets/issues/552/comments | value:MDExOlB1bGxSZXF1ZXN0NDc3MDI4MzMx | value:closed | value:10 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/552", "html_url": "https://github.com/huggingface/datasets/pull/552", "diff_url": "https://github.com/huggingface/datasets/pull/552.diff", "patch_url": "https://github.com/huggingface/datasets/pull/552.patch", "merged_at": "2020-09-02T10:01:25Z"} | value:2020-09-22T15:11:56Z | value:https://api.github.com/repos/huggingface/datasets/issues/552/labels{/name} | value:552 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/551/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/551 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/551/timeline | json:[] | value:690034762 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/551 | value:added HANS dataset | value:2020-09-01T10:42:02Z | value:CONTRIBUTOR | json:{"login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/users/TevenL... | value:https://api.github.com/repos/huggingface/datasets/issues/551/events | value:False | value:2020-09-01T12:17:10Z | value:Adds the [HANS](https://github.com/tommccoy1/hans) dataset to evaluate NLI systems. | value:https://api.github.com/repos/huggingface/datasets/issues/551/comments | value:MDExOlB1bGxSZXF1ZXN0NDc2OTkwNjAw | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/551", "html_url": "https://github.com/huggingface/datasets/pull/551", "diff_url": "https://github.com/huggingface/datasets/pull/551.diff", "patch_url": "https://github.com/huggingface/datasets/pull/551.patch", "merged_at": "2020-09-01T12:17:10Z"} | value:2020-09-01T12:17:10Z | value:https://api.github.com/repos/huggingface/datasets/issues/551/labels{/name} | value:551 | json:{"login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/users/TevenL... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/550/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/550 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/550/timeline | json:[] | value:689775914 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/550 | value:[BUGFIX] Solving mismatched checksum issue for the LinCE dataset (#539) | value:2020-09-01T03:27:03Z | value:CONTRIBUTOR | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/550/events | value:False | value:2020-09-03T09:06:01Z | value:Hi,
I have added the updated `dataset_infos.json` file for the LinCE benchmark. This update is to fix the mismatched checksum bug #539 for one of the datasets in the LinCE benchmark. To update the file, I run this command from the nlp root directory:
```
python nlp-cli test ./datasets/lince --save_infos --... | value:https://api.github.com/repos/huggingface/datasets/issues/550/comments | value:MDExOlB1bGxSZXF1ZXN0NDc2NzgyNDY1 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/550", "html_url": "https://github.com/huggingface/datasets/pull/550", "diff_url": "https://github.com/huggingface/datasets/pull/550.diff", "patch_url": "https://github.com/huggingface/datasets/pull/550.patch", "merged_at": "2020-09-03T09:06:01Z"} | value:2020-09-03T09:06:01Z | value:https://api.github.com/repos/huggingface/datasets/issues/550/labels{/name} | value:550 | json:{"login": "gaguilar", "id": 5833357, "node_id": "MDQ6VXNlcjU4MzMzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/5833357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaguilar", "html_url": "https://github.com/gaguilar", "followers_url": "https://api.github.com/users/gaguilar/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/549/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/549 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/549/timeline | json:[] | value:689766465 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/549 | value:Fix bleurt logging import | value:2020-09-01T03:01:25Z | value:CONTRIBUTOR | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/549/events | value:False | value:2020-09-03T09:04:20Z | value:Bleurt started throwing an error in some code we have.
This looks like the fix but...
It's also unnerving that even a prebuilt docker image with pinned versions can be working 1 day and then fail the next (especially for production systems).
Any way for us to pin your metrics code so that they are guarante... | value:https://api.github.com/repos/huggingface/datasets/issues/549/comments | value:MDExOlB1bGxSZXF1ZXN0NDc2Nzc0OTI1 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/549", "html_url": "https://github.com/huggingface/datasets/pull/549", "diff_url": "https://github.com/huggingface/datasets/pull/549.diff", "patch_url": "https://github.com/huggingface/datasets/pull/549.patch", "merged_at": null} | value:2020-09-03T18:04:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/549/labels{/name} | value:549 | json:{"login": "jbragg", "id": 2238344, "node_id": "MDQ6VXNlcjIyMzgzNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2238344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jbragg", "html_url": "https://github.com/jbragg", "followers_url": "https://api.github.com/users/jbragg/followers", "fol... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/548/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/548 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/548/timeline | json:[] | value:689285996 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/548 | value:[Breaking] Switch text loading to multi-threaded PyArrow loading | value:2020-08-31T15:15:41Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/548/events | value:False | value:2020-09-08T10:19:57Z | value:Test if we can get better performances for large-scale text datasets by using multi-threaded text file loading based on Apache Arrow multi-threaded CSV loader.
If it works ok, it would fix #546.
**Breaking change**:
The text lines now do not include final line-breaks anymore. | value:https://api.github.com/repos/huggingface/datasets/issues/548/comments | value:MDExOlB1bGxSZXF1ZXN0NDc2MzYzMjU1 | value:closed | value:5 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/548", "html_url": "https://github.com/huggingface/datasets/pull/548", "diff_url": "https://github.com/huggingface/datasets/pull/548.diff", "patch_url": "https://github.com/huggingface/datasets/pull/548.patch", "merged_at": "2020-09-08T10:19:57Z"} | value:2020-09-08T10:19:58Z | value:https://api.github.com/repos/huggingface/datasets/issues/548/labels{/name} | value:548 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/547/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/547 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/547/timeline | json:[] | value:689268589 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/547 | value:[Distributed] Making loading distributed datasets a bit safer | value:2020-08-31T14:51:34Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/547/events | value:False | value:2020-08-31T15:16:29Z | value:Add some file-locks during dataset loading | value:https://api.github.com/repos/huggingface/datasets/issues/547/comments | value:MDExOlB1bGxSZXF1ZXN0NDc2MzQ4OTk5 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/547", "html_url": "https://github.com/huggingface/datasets/pull/547", "diff_url": "https://github.com/huggingface/datasets/pull/547.diff", "patch_url": "https://github.com/huggingface/datasets/pull/547.patch", "merged_at": "2020-08-31T15:16:29Z"} | value:2020-08-31T15:16:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/547/labels{/name} | value:547 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/546/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/546 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/546/timeline | json:[] | value:689186526 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/546 | value:Very slow data loading on large dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-31T12:57:23Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/546/events | value:False | value:2020-09-08T10:19:57Z | value:I made a simple python script to check the NLP library speed, which loads 1.1 TB of textual data.
It has been 8 hours and still, it is on the loading steps.
It does work when the text dataset size is small about 1 GB, but it doesn't scale.
It also uses a single thread during the data loading step.
```
tra... | value:https://api.github.com/repos/huggingface/datasets/issues/546/comments | value:MDU6SXNzdWU2ODkxODY1MjY= | value:closed | value:28 | value:2024-01-02T20:26:24Z | value:https://api.github.com/repos/huggingface/datasets/issues/546/labels{/name} | value:546 | json:{"login": "agemagician", "id": 6087313, "node_id": "MDQ6VXNlcjYwODczMTM=", "avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agemagician", "html_url": "https://github.com/agemagician", "followers_url": "https://api.github.com/users/agemagic... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/545/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 4, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/545 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/545/timeline | json:[] | value:689138878 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/545 | value:New release coming up for this library | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-31T11:37:38Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/545/events | value:False | value:2021-01-13T10:59:04Z | value:Hi all,
A few words on the roadmap for this library.
The next release will be a big one and is planed at the end of this week.
In addition to the support for indexed datasets (useful for non-parametric models like REALM, RAG, DPR, knn-LM and many other fast dataset retrieval technics), it will:
- have sup... | value:https://api.github.com/repos/huggingface/datasets/issues/545/comments | value:MDU6SXNzdWU2ODkxMzg4Nzg= | value:closed | value:1 | value:2021-01-13T10:59:04Z | value:https://api.github.com/repos/huggingface/datasets/issues/545/labels{/name} | value:545 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/544/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/544 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/544/timeline | json:[] | value:689062519 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/544 | value:[Distributed] Fix load_dataset error when multiprocessing + add test | value:2020-08-31T09:30:10Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/544/events | value:False | value:2020-08-31T11:15:10Z | value:Fix #543 + add test | value:https://api.github.com/repos/huggingface/datasets/issues/544/comments | value:MDExOlB1bGxSZXF1ZXN0NDc2MTc4MDM2 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/544", "html_url": "https://github.com/huggingface/datasets/pull/544", "diff_url": "https://github.com/huggingface/datasets/pull/544.diff", "patch_url": "https://github.com/huggingface/datasets/pull/544.patch", "merged_at": "2020-08-31T11:15:10Z"} | value:2020-08-31T11:15:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/544/labels{/name} | value:544 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/543/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/543 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/543/timeline | json:[] | value:688644407 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/543 | value:nlp.load_dataset is not safe for multi processes when loading from local files | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-30T03:20:34Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/543/events | value:False | value:2020-08-31T11:15:10Z | value:Loading from local files, e.g., `dataset = nlp.load_dataset('csv', data_files=['file_1.csv', 'file_2.csv'])`
concurrently from multiple processes, will raise `FileExistsError` from builder's line 430, https://github.com/huggingface/nlp/blob/6655008c738cb613c522deb3bd18e35a67b2a7e5/src/nlp/builder.py#L423-L438
... | value:https://api.github.com/repos/huggingface/datasets/issues/543/comments | value:MDU6SXNzdWU2ODg2NDQ0MDc= | value:closed | value:1 | value:2020-08-31T11:15:10Z | value:https://api.github.com/repos/huggingface/datasets/issues/543/labels{/name} | value:543 | json:{"login": "luyug", "id": 55288513, "node_id": "MDQ6VXNlcjU1Mjg4NTEz", "avatar_url": "https://avatars.githubusercontent.com/u/55288513?v=4", "gravatar_id": "", "url": "https://api.github.com/users/luyug", "html_url": "https://github.com/luyug", "followers_url": "https://api.github.com/users/luyug/followers", "follo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/542/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/542 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/542/timeline | json:[] | value:688555036 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/542 | value:Add TensorFlow example | value:2020-08-29T15:39:27Z | value:CONTRIBUTOR | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/542/events | value:False | value:2020-08-31T09:49:19Z | value:Update the Quick Tour documentation in order to add the TensorFlow equivalent source code for the classification example. Now it is possible to select either the code in PyTorch or in TensorFlow in the Quick tour. | value:https://api.github.com/repos/huggingface/datasets/issues/542/comments | value:MDExOlB1bGxSZXF1ZXN0NDc1NzkyNTY0 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/542", "html_url": "https://github.com/huggingface/datasets/pull/542", "diff_url": "https://github.com/huggingface/datasets/pull/542.diff", "patch_url": "https://github.com/huggingface/datasets/pull/542.patch", "merged_at": "2020-08-31T09:49:19Z"} | value:2020-08-31T09:49:20Z | value:https://api.github.com/repos/huggingface/datasets/issues/542/labels{/name} | value:542 | json:{"login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", "following_url... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/541/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/541 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/541/timeline | json:[] | value:688521224 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/541 | value:Best practices for training tokenizers with nlp | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-29T12:06:49Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/541/events | value:False | value:2022-10-04T17:28:04Z | value:Hi, thank you for developing this library.
What do you think are the best practices for training tokenizers using `nlp`? In the document and examples, I could only find pre-trained tokenizers used. | value:https://api.github.com/repos/huggingface/datasets/issues/541/comments | value:MDU6SXNzdWU2ODg1MjEyMjQ= | value:closed | value:1 | value:2022-10-04T17:28:04Z | value:https://api.github.com/repos/huggingface/datasets/issues/541/labels{/name} | value:541 | json:{"login": "moskomule", "id": 11806234, "node_id": "MDQ6VXNlcjExODA2MjM0", "avatar_url": "https://avatars.githubusercontent.com/u/11806234?v=4", "gravatar_id": "", "url": "https://api.github.com/users/moskomule", "html_url": "https://github.com/moskomule", "followers_url": "https://api.github.com/users/moskomule/fo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/540/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/540 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/540/timeline | json:[] | value:688475884 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/540 | value:[BUGFIX] Fix Race Dataset Checksum bug | value:2020-08-29T07:00:10Z | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/540/events | value:False | value:2020-09-18T11:42:20Z | value:In #537 I noticed that there was a bug in checksum checking when I have tried to download the race dataset. The reason for this is that the current preprocessing was just considering the `high school` data and it was ignoring the `middle` one. This PR just fixes it :)
Moreover, I have added some descriptions. | value:https://api.github.com/repos/huggingface/datasets/issues/540/comments | value:MDExOlB1bGxSZXF1ZXN0NDc1NzMzNzMz | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/540", "html_url": "https://github.com/huggingface/datasets/pull/540", "diff_url": "https://github.com/huggingface/datasets/pull/540.diff", "patch_url": "https://github.com/huggingface/datasets/pull/540.patch", "merged_at": "2020-09-18T11:42:20Z"} | value:2020-09-18T11:42:20Z | value:https://api.github.com/repos/huggingface/datasets/issues/540/labels{/name} | value:540 | json:{"login": "abarbosa94", "id": 6608232, "node_id": "MDQ6VXNlcjY2MDgyMzI=", "avatar_url": "https://avatars.githubusercontent.com/u/6608232?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abarbosa94", "html_url": "https://github.com/abarbosa94", "followers_url": "https://api.github.com/users/abarbosa94/... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/539/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/539 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/539/timeline | json:[] | value:688323602 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/539 | value:[Dataset] `NonMatchingChecksumError` due to an update in the LinCE benchmark data | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-28T19:55:51Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/539/events | value:False | value:2020-09-03T16:34:01Z | value:Hi,
There is a `NonMatchingChecksumError` error for the `lid_msaea` (language identification for Modern Standard Arabic - Egyptian Arabic) dataset from the LinCE benchmark due to a minor update on that dataset.
How can I update the checksum of the library to solve this issue? The error is below and it also... | value:https://api.github.com/repos/huggingface/datasets/issues/539/comments | value:MDU6SXNzdWU2ODgzMjM2MDI= | value:closed | value:3 | value:2020-09-03T16:34:02Z | value:https://api.github.com/repos/huggingface/datasets/issues/539/labels{/name} | value:539 | json:{"login": "gaguilar", "id": 5833357, "node_id": "MDQ6VXNlcjU4MzMzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/5833357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gaguilar", "html_url": "https://github.com/gaguilar", "followers_url": "https://api.github.com/users/gaguilar/follower... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/538/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/538 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/538/timeline | json:[] | value:688015912 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/538 | value:[logging] Add centralized logging - Bump-up cache loads to warnings | value:2020-08-28T11:42:29Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/538/events | value:False | value:2020-08-31T11:42:51Z | value:Add a `nlp.logging` module to set the global logging level easily. The verbosity level also controls the tqdm bars (disabled when set higher than INFO).
You can use:
```
nlp.logging.set_verbosity(verbosity: int)
nlp.logging.set_verbosity_info()
nlp.logging.set_verbosity_warning()
nlp.logging.set_verbosity... | value:https://api.github.com/repos/huggingface/datasets/issues/538/comments | value:MDExOlB1bGxSZXF1ZXN0NDc1MzU3MjY2 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/538", "html_url": "https://github.com/huggingface/datasets/pull/538", "diff_url": "https://github.com/huggingface/datasets/pull/538.diff", "patch_url": "https://github.com/huggingface/datasets/pull/538.patch", "merged_at": "2020-08-31T11:42:50Z"} | value:2020-08-31T11:42:51Z | value:https://api.github.com/repos/huggingface/datasets/issues/538/labels{/name} | value:538 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/537/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 2067388877, "node_id": "MDU6TGFiZWwyMDY3Mzg4ODc3", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20bug", "name": "dataset bug", "color": "2edb81", "default": false, "description": "A bug in a dataset script provided in the library", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/537 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/537/timeline | json:[] | value:687614699 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/537 | value:[Dataset] RACE dataset Checksums error | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-27T23:58:16Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/537/events | value:False | value:2020-09-18T12:07:04Z | value:Hi there, I just would like to use this awesome lib to perform a dataset fine-tuning on RACE dataset. I have performed the following steps:
```
dataset = nlp.load_dataset("race")
len(dataset["train"]), len(dataset["validation"])
```
But then I got the following error:
```
----------------------------... | value:https://api.github.com/repos/huggingface/datasets/issues/537/comments | value:MDU6SXNzdWU2ODc2MTQ2OTk= | value:closed | value:9 | value:2020-09-18T12:07:04Z | value:https://api.github.com/repos/huggingface/datasets/issues/537/labels{/name} | value:537 | json:{"login": "abarbosa94", "id": 6608232, "node_id": "MDQ6VXNlcjY2MDgyMzI=", "avatar_url": "https://avatars.githubusercontent.com/u/6608232?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abarbosa94", "html_url": "https://github.com/abarbosa94", "followers_url": "https://api.github.com/users/abarbosa94/... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/536/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/536 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/536/timeline | json:[] | value:687378332 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/536 | value:Fingerprint | value:2020-08-27T16:27:09Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/536/events | value:False | value:2020-08-31T14:20:39Z | value:This PR is a continuation of #513 , in which many in-place functions were introduced or updated (cast_, flatten_) etc.
However the caching didn't handle these changes. Indeed the caching took into account only the previous cache file name of the table, and not the possible in-place transforms of the table.
To... | value:https://api.github.com/repos/huggingface/datasets/issues/536/comments | value:MDExOlB1bGxSZXF1ZXN0NDc0ODE0NzY1 | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/536", "html_url": "https://github.com/huggingface/datasets/pull/536", "diff_url": "https://github.com/huggingface/datasets/pull/536.diff", "patch_url": "https://github.com/huggingface/datasets/pull/536.patch", "merged_at": "2020-08-31T14:20:39Z"} | value:2020-08-31T14:20:40Z | value:https://api.github.com/repos/huggingface/datasets/issues/536/labels{/name} | value:536 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/535/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/535 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/535/timeline | json:[] | value:686238315 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/535 | value:Benchmarks | value:2020-08-26T11:21:26Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/535/events | value:False | value:2020-08-27T08:39:59Z | value:Adding some benchmarks with DVC/CML
To add a new tracked benchmark:
- create a new python benchmarking script in `./benchmarks/`. The script can use the utilities in `./benchmarks/utils.py` and should output a JSON file with results in `./benchmarks/results/`.
- add a new pipeline stage in [dvc.yaml](./dvc.y... | value:https://api.github.com/repos/huggingface/datasets/issues/535/comments | value:MDExOlB1bGxSZXF1ZXN0NDczODM3Njg0 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/535", "html_url": "https://github.com/huggingface/datasets/pull/535", "diff_url": "https://github.com/huggingface/datasets/pull/535.diff", "patch_url": "https://github.com/huggingface/datasets/pull/535.patch", "merged_at": "2020-08-27T08:39:59Z"} | value:2020-08-27T08:40:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/535/labels{/name} | value:535 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/534/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/534 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/534/timeline | json:[] | value:686115912 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/534 | value:`list_datasets()` is broken. | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-26T08:19:01Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "ashutoshrdwivedi", "id": 314169, "node_id": "MDQ6VXNlcjMxNDE2OQ==", "avatar_url": "https://avatars.githubusercontent.com/u/314169?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ashutoshrdwivedi", "html_url": "https://github.com/ashutoshrdwivedi", "followers_url": "https://api.github.com/u... | value:https://api.github.com/repos/huggingface/datasets/issues/534/events | value:False | value:2020-08-27T06:31:11Z | value:version = '0.4.0'
`list_datasets()` is broken. It results in the following error :
```
In [3]: nlp.list_datasets()
Out[3]: ---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
~/.virtualenvs/san-lgUCsFg_/... | value:https://api.github.com/repos/huggingface/datasets/issues/534/comments | value:MDU6SXNzdWU2ODYxMTU5MTI= | value:closed | value:3 | value:2020-08-27T06:31:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/534/labels{/name} | value:534 | json:{"login": "ashutoshrdwivedi", "id": 314169, "node_id": "MDQ6VXNlcjMxNDE2OQ==", "avatar_url": "https://avatars.githubusercontent.com/u/314169?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ashutoshrdwivedi", "html_url": "https://github.com/ashutoshrdwivedi", "followers_url": "https://api.github.com/u... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/533/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/533 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/533/timeline | json:[] | value:685585914 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/533 | value:Fix ArrayXD for pyarrow 0.17.1 by using non fixed length list arrays | value:2020-08-25T15:32:44Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/533/events | value:False | value:2020-08-26T08:02:23Z | value:It should fix the CI problems in #513 | value:https://api.github.com/repos/huggingface/datasets/issues/533/comments | value:MDExOlB1bGxSZXF1ZXN0NDczMjg4OTgx | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/533", "html_url": "https://github.com/huggingface/datasets/pull/533", "diff_url": "https://github.com/huggingface/datasets/pull/533.diff", "patch_url": "https://github.com/huggingface/datasets/pull/533.patch", "merged_at": "2020-08-26T08:02:23Z"} | value:2020-08-26T08:02:24Z | value:https://api.github.com/repos/huggingface/datasets/issues/533/labels{/name} | value:533 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/532/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/532 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/532/timeline | json:[] | value:685540614 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/532 | value:File exists error when used with TPU | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-25T14:36:38Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | value:https://api.github.com/repos/huggingface/datasets/issues/532/events | value:False | value:Hi,
I'm getting a "File exists" error when I use [text dataset](https://github.com/huggingface/nlp/tree/master/datasets/text) for pre-training a RoBERTa model using `transformers` (3.0.2) and `nlp`(0.4.0) on a VM with TPU (v3-8).
I modified [line 131 in the original `run_language_modeling.py`](https://githu... | value:https://api.github.com/repos/huggingface/datasets/issues/532/comments | value:MDU6SXNzdWU2ODU1NDA2MTQ= | value:open | value:22 | value:2026-05-21T23:27:02Z | value:https://api.github.com/repos/huggingface/datasets/issues/532/labels{/name} | value:532 | json:{"login": "go-inoue", "id": 20531705, "node_id": "MDQ6VXNlcjIwNTMxNzA1", "avatar_url": "https://avatars.githubusercontent.com/u/20531705?v=4", "gravatar_id": "", "url": "https://api.github.com/users/go-inoue", "html_url": "https://github.com/go-inoue", "followers_url": "https://api.github.com/users/go-inoue/follow... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/531/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/531 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/531/timeline | json:[] | value:685291036 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/531 | value:add concatenate_datasets to the docs | value:2020-08-25T08:40:05Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/531/events | value:False | value:2020-08-25T09:02:19Z | value: | value:https://api.github.com/repos/huggingface/datasets/issues/531/comments | value:MDExOlB1bGxSZXF1ZXN0NDczMDM4ODc4 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/531", "html_url": "https://github.com/huggingface/datasets/pull/531", "diff_url": "https://github.com/huggingface/datasets/pull/531.diff", "patch_url": "https://github.com/huggingface/datasets/pull/531.patch", "merged_at": "2020-08-25T09:02:19Z"} | value:2020-08-25T09:02:20Z | value:https://api.github.com/repos/huggingface/datasets/issues/531/labels{/name} | value:531 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/530/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/530 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/530/timeline | json:[] | value:684825612 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/530 | value:use ragged tensor by default | value:2020-08-24T17:06:15Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/530/events | value:False | value:2020-08-24T19:22:25Z | value:I think it's better if it's clear whether the returned tensor is ragged or not when the type is set to tensorflow.
Previously it was a tensor (not ragged) if numpy could stack the output (which can change depending on the batch of example you take), which make things difficult to handle, as it may sometimes retu... | value:https://api.github.com/repos/huggingface/datasets/issues/530/comments | value:MDExOlB1bGxSZXF1ZXN0NDcyNjQ5NTk2 | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/530", "html_url": "https://github.com/huggingface/datasets/pull/530", "diff_url": "https://github.com/huggingface/datasets/pull/530.diff", "patch_url": "https://github.com/huggingface/datasets/pull/530.patch", "merged_at": "2020-08-24T19:22:25Z"} | value:2021-10-22T19:38:40Z | value:https://api.github.com/repos/huggingface/datasets/issues/530/labels{/name} | value:530 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/529/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/529 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/529/timeline | json:[] | value:684797157 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/529 | value:Add MLSUM | value:2020-08-24T16:18:35Z | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/529/events | value:False | value:2020-08-26T08:04:11Z | value:Hello (again :) !),
So, I started a new branch because of a [rebase issue](https://github.com/huggingface/nlp/pull/463), sorry for the mess.
However, the command `pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_mlsum` still fails because there is no default language dataset :... | value:https://api.github.com/repos/huggingface/datasets/issues/529/comments | value:MDExOlB1bGxSZXF1ZXN0NDcyNjI2MDY4 | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/529", "html_url": "https://github.com/huggingface/datasets/pull/529", "diff_url": "https://github.com/huggingface/datasets/pull/529.diff", "patch_url": "https://github.com/huggingface/datasets/pull/529.patch", "merged_at": "2020-08-26T08:04:10Z"} | value:2020-08-26T08:04:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/529/labels{/name} | value:529 | json:{"login": "RachelKer", "id": 36986299, "node_id": "MDQ6VXNlcjM2OTg2Mjk5", "avatar_url": "https://avatars.githubusercontent.com/u/36986299?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RachelKer", "html_url": "https://github.com/RachelKer", "followers_url": "https://api.github.com/users/RachelKer/fo... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/528/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/528 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/528/timeline | json:[] | value:684673673 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/528 | value:fix missing variable names in docs | value:2020-08-24T13:31:48Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/528/events | value:False | value:2020-08-25T09:04:03Z | value:fix #524 | value:https://api.github.com/repos/huggingface/datasets/issues/528/comments | value:MDExOlB1bGxSZXF1ZXN0NDcyNTIzNDI1 | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/528", "html_url": "https://github.com/huggingface/datasets/pull/528", "diff_url": "https://github.com/huggingface/datasets/pull/528.diff", "patch_url": "https://github.com/huggingface/datasets/pull/528.patch", "merged_at": "2020-08-25T09:04:03Z"} | value:2020-08-25T09:04:04Z | value:https://api.github.com/repos/huggingface/datasets/issues/528/labels{/name} | value:528 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/527/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/527 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/527/timeline | json:[] | value:684632930 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/527 | value:Fix config used for slow test on real dataset | value:2020-08-24T12:39:34Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/527/events | value:False | value:2020-08-25T09:20:44Z | value:As noticed in #470, #474, #476, #504 , the slow test `test_load_real_dataset` couldn't run on datasets that require config parameters.
To fix that I replaced it with one test with the first config of BUILDER_CONFIGS `test_load_real_dataset`, and another test that runs all of the configs in BUILDER_CONFIGS `tes... | value:https://api.github.com/repos/huggingface/datasets/issues/527/comments | value:MDExOlB1bGxSZXF1ZXN0NDcyNDg4MzUy | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/527", "html_url": "https://github.com/huggingface/datasets/pull/527", "diff_url": "https://github.com/huggingface/datasets/pull/527.diff", "patch_url": "https://github.com/huggingface/datasets/pull/527.patch", "merged_at": "2020-08-25T09:20:44Z"} | value:2020-08-25T09:20:45Z | value:https://api.github.com/repos/huggingface/datasets/issues/527/labels{/name} | value:527 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/526/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/526 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/526/timeline | json:[] | value:684615455 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/526 | value:Returning None instead of "python" if dataset is unformatted | value:2020-08-24T12:10:35Z | value:CONTRIBUTOR | json:{"login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/users/TevenL... | value:https://api.github.com/repos/huggingface/datasets/issues/526/events | value:False | value:2020-08-24T12:50:42Z | value:Following the discussion on Slack, this small fix ensures that calling `dataset.set_format(type=dataset.format["type"])` works properly. Slightly breaking as calling `dataset.format` when the dataset is unformatted will return `None` instead of `python`. | value:https://api.github.com/repos/huggingface/datasets/issues/526/comments | value:MDExOlB1bGxSZXF1ZXN0NDcyNDczNjcw | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/526", "html_url": "https://github.com/huggingface/datasets/pull/526", "diff_url": "https://github.com/huggingface/datasets/pull/526.diff", "patch_url": "https://github.com/huggingface/datasets/pull/526.patch", "merged_at": "2020-08-24T12:50:42Z"} | value:2020-08-24T12:50:43Z | value:https://api.github.com/repos/huggingface/datasets/issues/526/labels{/name} | value:526 | json:{"login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/users/TevenL... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/525/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/525 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/525/timeline | json:[] | value:683875483 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/525 | value:wmt download speed example | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-21T23:29:06Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/525/events | value:False | value:2022-10-04T17:45:39Z | value:Continuing from the slack 1.0 roadmap thread w @lhoestq , I realized the slow downloads is only a thing sometimes. Here are a few examples, I suspect there are multiple issues. All commands were run from the same gcp us-central-1f machine.
```
import nlp
nlp.load_dataset('wmt16', 'de-en')
```
Downloads at ... | value:https://api.github.com/repos/huggingface/datasets/issues/525/comments | value:MDU6SXNzdWU2ODM4NzU0ODM= | value:closed | value:8 | value:2022-10-04T17:45:39Z | value:https://api.github.com/repos/huggingface/datasets/issues/525/labels{/name} | value:525 | json:{"login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/sshleifer/foll... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/524/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/524 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/524/timeline | json:[] | value:683686359 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/524 | value:Some docs are missing parameter names | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-21T16:47:34Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/524/events | value:False | value:2020-08-25T09:04:03Z | value:See https://huggingface.co/nlp/master/package_reference/main_classes.html#nlp.Dataset.map. I believe this is because the parameter names are enclosed in backticks in the docstrings, maybe it's an old docstring format that doesn't work with the current Sphinx version. | value:https://api.github.com/repos/huggingface/datasets/issues/524/comments | value:MDU6SXNzdWU2ODM2ODYzNTk= | value:closed | value:1 | value:2020-08-25T09:04:03Z | value:https://api.github.com/repos/huggingface/datasets/issues/524/labels{/name} | value:524 | json:{"login": "jarednielsen", "id": 4564897, "node_id": "MDQ6VXNlcjQ1NjQ4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jarednielsen", "html_url": "https://github.com/jarednielsen", "followers_url": "https://api.github.com/users/jared... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/523/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/523 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/523/timeline | json:[] | value:682573232 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/523 | value:Speed up Tokenization by optimizing cast_to_python_objects | value:2020-08-20T09:42:02Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/523/events | value:False | value:2020-08-24T08:54:14Z | value:I changed how `cast_to_python_objects` works to make it faster.
It is used to cast numpy/pytorch/tensorflow/pandas objects to python lists, and it works recursively.
To avoid iterating over possibly long lists, it first checks if the first element that is not None has to be casted.
If the first element needs... | value:https://api.github.com/repos/huggingface/datasets/issues/523/comments | value:MDExOlB1bGxSZXF1ZXN0NDcwNzkxMjA1 | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/523", "html_url": "https://github.com/huggingface/datasets/pull/523", "diff_url": "https://github.com/huggingface/datasets/pull/523.diff", "patch_url": "https://github.com/huggingface/datasets/pull/523.patch", "merged_at": "2020-08-24T08:54:14Z"} | value:2020-08-24T08:54:15Z | value:https://api.github.com/repos/huggingface/datasets/issues/523/labels{/name} | value:523 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/522/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/522 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/522/timeline | json:[] | value:682478833 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/522 | value:dictionnary typo in docs | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-20T07:11:05Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/522/events | value:False | value:2020-08-20T07:52:13Z | value:Many places dictionary is spelled dictionnary, not sure if its on purpose or not.
Fixed in this pr:
https://github.com/huggingface/nlp/pull/521 | value:https://api.github.com/repos/huggingface/datasets/issues/522/comments | value:MDU6SXNzdWU2ODI0Nzg4MzM= | value:closed | value:1 | value:2020-08-20T07:52:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/522/labels{/name} | value:522 | json:{"login": "yonigottesman", "id": 4004127, "node_id": "MDQ6VXNlcjQwMDQxMjc=", "avatar_url": "https://avatars.githubusercontent.com/u/4004127?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yonigottesman", "html_url": "https://github.com/yonigottesman", "followers_url": "https://api.github.com/users/yo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/521/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/521 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/521/timeline | json:[] | value:682477648 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/521 | value:Fix dictionnary (dictionary) typo | value:2020-08-20T07:09:02Z | value:CONTRIBUTOR | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/521/events | value:False | value:2020-08-20T07:52:04Z | value:This error happens many times I'm thinking maybe its spelled like this on purpose? | value:https://api.github.com/repos/huggingface/datasets/issues/521/comments | value:MDExOlB1bGxSZXF1ZXN0NDcwNzEyNzgz | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/521", "html_url": "https://github.com/huggingface/datasets/pull/521", "diff_url": "https://github.com/huggingface/datasets/pull/521.diff", "patch_url": "https://github.com/huggingface/datasets/pull/521.patch", "merged_at": "2020-08-20T07:52:04Z"} | value:2020-08-20T07:52:04Z | value:https://api.github.com/repos/huggingface/datasets/issues/521/labels{/name} | value:521 | json:{"login": "yonigottesman", "id": 4004127, "node_id": "MDQ6VXNlcjQwMDQxMjc=", "avatar_url": "https://avatars.githubusercontent.com/u/4004127?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yonigottesman", "html_url": "https://github.com/yonigottesman", "followers_url": "https://api.github.com/users/yo... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/520/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/520 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/520/timeline | json:[] | value:682264839 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/520 | value:Transform references for sacrebleu | value:2020-08-20T00:26:55Z | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/520/events | value:False | value:2020-08-20T09:30:53Z | value:Currently it is impossible to use sacrebleu when len(predictions) != the number of references per prediction (very uncommon), due to a strange format expected by sacrebleu. If one passes in the data to `nlp.metric.compute()` in sacrebleu format, `nlp` throws an error due to mismatching lengths between predictions... | value:https://api.github.com/repos/huggingface/datasets/issues/520/comments | value:MDExOlB1bGxSZXF1ZXN0NDcwNTI4MDE0 | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/520", "html_url": "https://github.com/huggingface/datasets/pull/520", "diff_url": "https://github.com/huggingface/datasets/pull/520.diff", "patch_url": "https://github.com/huggingface/datasets/pull/520.patch", "merged_at": "2020-08-20T09:30:53Z"} | value:2020-08-20T09:30:54Z | value:https://api.github.com/repos/huggingface/datasets/issues/520/labels{/name} | value:520 | json:{"login": "jbragg", "id": 2238344, "node_id": "MDQ6VXNlcjIyMzgzNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2238344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jbragg", "html_url": "https://github.com/jbragg", "followers_url": "https://api.github.com/users/jbragg/followers", "fol... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/519/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/519 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/519/timeline | json:[] | value:682193882 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/519 | value:[BUG] Metrics throwing new error on master since 0.4.0 | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-19T21:29:15Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "jbragg", "id": 2238344, "node_id": "MDQ6VXNlcjIyMzgzNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2238344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jbragg", "html_url": "https://github.com/jbragg", "followers_url": "https://api.github.com/users/jbragg/followers", "fol... | value:https://api.github.com/repos/huggingface/datasets/issues/519/events | value:False | value:2020-08-19T22:04:40Z | value:The following error occurs when passing in references of type `List[List[str]]` to metrics like bleu.
Wasn't happening on 0.4.0 but happening now on master.
```
File "/usr/local/lib/python3.7/site-packages/nlp/metric.py", line 226, in compute
self.add_batch(predictions=predictions, references=referenc... | value:https://api.github.com/repos/huggingface/datasets/issues/519/comments | value:MDU6SXNzdWU2ODIxOTM4ODI= | value:closed | value:2 | value:2022-06-02T16:41:01Z | value:https://api.github.com/repos/huggingface/datasets/issues/519/labels{/name} | value:519 | json:{"login": "jbragg", "id": 2238344, "node_id": "MDQ6VXNlcjIyMzgzNDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2238344?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jbragg", "html_url": "https://github.com/jbragg", "followers_url": "https://api.github.com/users/jbragg/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/518/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/518 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/518/timeline | json:[] | value:682131165 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/518 | value:[METRICS, breaking] Refactor caching behavior, pickle/cloudpickle metrics and dataset, add tests on metrics | value:2020-08-19T19:43:08Z | value:MEMBER | json:{"login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugger/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/518/events | value:False | value:2020-08-24T16:01:39Z | value:Move the acquisition of the filelock at a later stage during metrics processing so it can be pickled/cloudpickled after instantiation.
Also add some tests on pickling, concurrent but separate metric instances and concurrent and distributed metric instances.
Changes significantly the caching behavior for the... | value:https://api.github.com/repos/huggingface/datasets/issues/518/comments | value:MDExOlB1bGxSZXF1ZXN0NDcwNDE0ODE1 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/518", "html_url": "https://github.com/huggingface/datasets/pull/518", "diff_url": "https://github.com/huggingface/datasets/pull/518.diff", "patch_url": "https://github.com/huggingface/datasets/pull/518.patch", "merged_at": "2020-08-24T16:01:39Z"} | value:2020-08-24T16:01:40Z | value:https://api.github.com/repos/huggingface/datasets/issues/518/labels{/name} | value:518 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/517/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"id": 2067376369, "node_id": "MDU6TGFiZWwyMDY3Mzc2MzY5", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20request", "name": "dataset request", "color": "e99695", "default": false, "description": "Requesting to add a new dataset", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/issues/517 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/517/timeline | json:[] | value:681896944 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/517 | value:add MLDoc dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-19T14:41:59Z | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | value:https://api.github.com/repos/huggingface/datasets/issues/517/events | value:False | value:Hi,
I am recommending that someone add MLDoc, a multilingual news topic classification dataset.
- Here's a link to the Github: https://github.com/facebookresearch/MLDoc
- and the paper: http://www.lrec-conf.org/proceedings/lrec2018/pdf/658.pdf
Looks like the dataset contains news stories in multiple lan... | value:https://api.github.com/repos/huggingface/datasets/issues/517/comments | value:MDU6SXNzdWU2ODE4OTY5NDQ= | value:open | value:3 | value:2026-05-21T23:26:57Z | value:https://api.github.com/repos/huggingface/datasets/issues/517/labels{/name} | value:517 | json:{"login": "jxmorris12", "id": 13238952, "node_id": "MDQ6VXNlcjEzMjM4OTUy", "avatar_url": "https://avatars.githubusercontent.com/u/13238952?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jxmorris12", "html_url": "https://github.com/jxmorris12", "followers_url": "https://api.github.com/users/jxmorris1... | true | |||||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/516/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/516 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/516/timeline | json:[] | value:681846032 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/516 | value:[Breaking] Rename formated to formatted | value:2020-08-19T13:35:23Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/516/events | value:False | value:2020-08-20T08:41:16Z | value:`formated` is not correct but `formatted` is | value:https://api.github.com/repos/huggingface/datasets/issues/516/comments | value:MDExOlB1bGxSZXF1ZXN0NDcwMTY5NTA0 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/516", "html_url": "https://github.com/huggingface/datasets/pull/516", "diff_url": "https://github.com/huggingface/datasets/pull/516.diff", "patch_url": "https://github.com/huggingface/datasets/pull/516.patch", "merged_at": "2020-08-20T08:41:16Z"} | value:2020-08-20T08:41:17Z | value:https://api.github.com/repos/huggingface/datasets/issues/516/labels{/name} | value:516 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/515/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/515 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/515/timeline | json:[] | value:681845619 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/515 | value:Fix batched map for formatted dataset | value:2020-08-19T13:34:50Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/515/events | value:False | value:2020-08-20T20:30:42Z | value:If you had a dataset formatted as numpy for example, and tried to do a batched map, then it would crash because one of the elements from the inputs was missing for unchanged columns (ex: batch of length 999 instead of 1000).
The happened during the creation of the `pa.Table`, since columns had different lengths. | value:https://api.github.com/repos/huggingface/datasets/issues/515/comments | value:MDExOlB1bGxSZXF1ZXN0NDcwMTY5MTQ0 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/515", "html_url": "https://github.com/huggingface/datasets/pull/515", "diff_url": "https://github.com/huggingface/datasets/pull/515.diff", "patch_url": "https://github.com/huggingface/datasets/pull/515.patch", "merged_at": "2020-08-20T20:30:42Z"} | value:2020-08-20T20:30:43Z | value:https://api.github.com/repos/huggingface/datasets/issues/515/labels{/name} | value:515 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/514/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[{"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", "archived_at": null, "archived_by": null}, {"id": 4614514401, "node... | value:https://github.com/huggingface/datasets/issues/514 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/514/timeline | json:[] | value:681256348 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/514 | value:dataset.shuffle(keep_in_memory=True) is never allowed | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-18T18:47:40Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/514/events | value:False | value:2022-10-10T12:21:58Z | value:As of commit ef4aac2, the usage of the parameter `keep_in_memory=True` is never possible: `dataset.select(keep_in_memory=True)`
The commit added the lines
```python
# lines 994-996 in src/nlp/arrow_dataset.py
assert (
not keep_in_memory or cache_file_name is None
), "Please use ... | value:https://api.github.com/repos/huggingface/datasets/issues/514/comments | value:MDU6SXNzdWU2ODEyNTYzNDg= | value:closed | value:10 | value:2022-10-10T12:21:58Z | value:https://api.github.com/repos/huggingface/datasets/issues/514/labels{/name} | value:514 | json:{"login": "vegarab", "id": 24683907, "node_id": "MDQ6VXNlcjI0NjgzOTA3", "avatar_url": "https://avatars.githubusercontent.com/u/24683907?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vegarab", "html_url": "https://github.com/vegarab", "followers_url": "https://api.github.com/users/vegarab/followers"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/513/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/513 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/513/timeline | json:[] | value:681215612 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/513 | value:[speedup] Use indices mappings instead of deepcopy for all the samples reordering methods | value:2020-08-18T17:36:02Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/513/events | value:False | value:2020-08-28T08:41:50Z | value:Use an indices mapping instead of rewriting the dataset for all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`).
Added a `flatten_indices` method which copy the dataset to a new table to remove the indices mapping with tests.
All the samples re-ordering/s... | value:https://api.github.com/repos/huggingface/datasets/issues/513/comments | value:MDExOlB1bGxSZXF1ZXN0NDY5NjQxMjg1 | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/513", "html_url": "https://github.com/huggingface/datasets/pull/513", "diff_url": "https://github.com/huggingface/datasets/pull/513.diff", "patch_url": "https://github.com/huggingface/datasets/pull/513.patch", "merged_at": "2020-08-28T08:41:50Z"} | value:2020-08-28T08:41:51Z | value:https://api.github.com/repos/huggingface/datasets/issues/513/labels{/name} | value:513 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/512/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/512 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/512/timeline | json:[] | value:681137164 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/512 | value:Delete CONTRIBUTING.md | value:2020-08-18T15:33:25Z | value:NONE | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/512/events | value:False | value:2020-08-18T15:39:07Z | value: | value:https://api.github.com/repos/huggingface/datasets/issues/512/comments | value:MDExOlB1bGxSZXF1ZXN0NDY5NTc2NzE3 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/512", "html_url": "https://github.com/huggingface/datasets/pull/512", "diff_url": "https://github.com/huggingface/datasets/pull/512.diff", "patch_url": "https://github.com/huggingface/datasets/pull/512.patch", "merged_at": null} | value:2020-08-18T15:48:21Z | value:https://api.github.com/repos/huggingface/datasets/issues/512/labels{/name} | value:512 | json:{"login": "ChenZehong13", "id": 56394989, "node_id": "MDQ6VXNlcjU2Mzk0OTg5", "avatar_url": "https://avatars.githubusercontent.com/u/56394989?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ChenZehong13", "html_url": "https://github.com/ChenZehong13", "followers_url": "https://api.github.com/users/Che... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/511/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/511 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/511/timeline | json:[] | value:681055553 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/511 | value:dataset.shuffle() and select() resets format. Intended? | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-18T13:46:01Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/511/events | value:False | value:2020-09-14T08:45:38Z | value:Calling `dataset.shuffle()` or `dataset.select()` on a dataset resets its format set by `dataset.set_format()`. Is this intended or an oversight?
When working on quite large datasets that require a lot of preprocessing I find it convenient to save the processed dataset to file using `torch.save("dataset.pt")`.... | value:https://api.github.com/repos/huggingface/datasets/issues/511/comments | value:MDU6SXNzdWU2ODEwNTU1NTM= | value:closed | value:5 | value:2020-09-14T08:45:38Z | value:https://api.github.com/repos/huggingface/datasets/issues/511/labels{/name} | value:511 | json:{"login": "vegarab", "id": 24683907, "node_id": "MDQ6VXNlcjI0NjgzOTA3", "avatar_url": "https://avatars.githubusercontent.com/u/24683907?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vegarab", "html_url": "https://github.com/vegarab", "followers_url": "https://api.github.com/users/vegarab/followers"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/510/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/510 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/510/timeline | json:[] | value:680823644 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/510 | value:Version of numpy to use the library | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-18T08:59:13Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "isspek", "id": 6966175, "node_id": "MDQ6VXNlcjY5NjYxNzU=", "avatar_url": "https://avatars.githubusercontent.com/u/6966175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isspek", "html_url": "https://github.com/isspek", "followers_url": "https://api.github.com/users/isspek/followers", "fol... | value:https://api.github.com/repos/huggingface/datasets/issues/510/events | value:False | value:2020-08-19T18:35:56Z | value:Thank you so much for your excellent work! I would like to use nlp library in my project. While importing nlp, I am receiving the following error `AttributeError: module 'numpy.random' has no attribute 'Generator'` Numpy version in my project is 1.16.0. May I learn which numpy version is used for the nlp library.... | value:https://api.github.com/repos/huggingface/datasets/issues/510/comments | value:MDU6SXNzdWU2ODA4MjM2NDQ= | value:closed | value:2 | value:2020-08-19T18:35:56Z | value:https://api.github.com/repos/huggingface/datasets/issues/510/labels{/name} | value:510 | json:{"login": "isspek", "id": 6966175, "node_id": "MDQ6VXNlcjY5NjYxNzU=", "avatar_url": "https://avatars.githubusercontent.com/u/6966175?v=4", "gravatar_id": "", "url": "https://api.github.com/users/isspek", "html_url": "https://github.com/isspek", "followers_url": "https://api.github.com/users/isspek/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/509/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/509 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/509/timeline | json:[] | value:679711585 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/509 | value:Converting TensorFlow dataset example | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-16T08:05:20Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"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_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/509/events | value:False | value:2021-08-03T06:01:17Z | value:Hi,
I want to use TensorFlow datasets with this repo, I noticed you made some conversion script,
can you give a simple example of using it?
Thanks
| value:https://api.github.com/repos/huggingface/datasets/issues/509/comments | value:MDU6SXNzdWU2Nzk3MTE1ODU= | value:closed | value:2 | value:2021-08-03T06:01:18Z | value:https://api.github.com/repos/huggingface/datasets/issues/509/labels{/name} | value:509 | json:{"login": "saareliad", "id": 22762845, "node_id": "MDQ6VXNlcjIyNzYyODQ1", "avatar_url": "https://avatars.githubusercontent.com/u/22762845?v=4", "gravatar_id": "", "url": "https://api.github.com/users/saareliad", "html_url": "https://github.com/saareliad", "followers_url": "https://api.github.com/users/saareliad/fo... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/508/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/508 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/508/timeline | json:[] | value:679705734 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/508 | value:TypeError: Receiver() takes no arguments | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-16T07:18:16Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "sebastiantomac", "id": 1225851, "node_id": "MDQ6VXNlcjEyMjU4NTE=", "avatar_url": "https://avatars.githubusercontent.com/u/1225851?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sebastiantomac", "html_url": "https://github.com/sebastiantomac", "followers_url": "https://api.github.com/users... | value:https://api.github.com/repos/huggingface/datasets/issues/508/events | value:False | value:2020-09-01T14:49:03Z | value:I am trying to load a wikipedia data set
```
import nlp
from nlp import load_dataset
dataset = load_dataset("wikipedia", "20200501.en", split="train", cache_dir=data_path, beam_runner='DirectRunner')
#dataset = load_dataset('wikipedia', '20200501.sv', cache_dir=data_path, beam_runner='DirectRunner')
```... | value:https://api.github.com/repos/huggingface/datasets/issues/508/comments | value:MDU6SXNzdWU2Nzk3MDU3MzQ= | value:closed | value:5 | value:2020-09-01T14:53:33Z | value:https://api.github.com/repos/huggingface/datasets/issues/508/labels{/name} | value:508 | json:{"login": "sebastiantomac", "id": 1225851, "node_id": "MDQ6VXNlcjEyMjU4NTE=", "avatar_url": "https://avatars.githubusercontent.com/u/1225851?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sebastiantomac", "html_url": "https://github.com/sebastiantomac", "followers_url": "https://api.github.com/users... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/507/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/507 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/507/timeline | json:[] | value:679400683 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/507 | value:Errors when I use | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-14T21:03:57Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mchari", "id": 30506151, "node_id": "MDQ6VXNlcjMwNTA2MTUx", "avatar_url": "https://avatars.githubusercontent.com/u/30506151?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mchari", "html_url": "https://github.com/mchari", "followers_url": "https://api.github.com/users/mchari/followers", "f... | value:https://api.github.com/repos/huggingface/datasets/issues/507/events | value:False | value:2020-08-14T21:39:10Z | value:I tried the following example code from https://huggingface.co/deepset/roberta-base-squad2 and got errors
I am using **transformers 3.0.2** code .
from transformers.pipelines import pipeline
from transformers.modeling_auto import AutoModelForQuestionAnswering
from transformers.tokenization_auto import Au... | value:https://api.github.com/repos/huggingface/datasets/issues/507/comments | value:MDU6SXNzdWU2Nzk0MDA2ODM= | value:closed | value:1 | value:2020-08-14T21:39:10Z | value:https://api.github.com/repos/huggingface/datasets/issues/507/labels{/name} | value:507 | json:{"login": "mchari", "id": 30506151, "node_id": "MDQ6VXNlcjMwNTA2MTUx", "avatar_url": "https://avatars.githubusercontent.com/u/30506151?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mchari", "html_url": "https://github.com/mchari", "followers_url": "https://api.github.com/users/mchari/followers", "f... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/506/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/506 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/506/timeline | json:[] | value:679164788 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/506 | value:fix dataset.map for function without outputs | value:2020-08-14T13:40:22Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/506/events | value:False | value:2020-08-17T11:24:38Z | value:As noticed in #505 , giving a function that doesn't return anything in `.map` raises an error because of an unreferenced variable.
I fixed that and added tests.
Thanks @avloss for reporting | value:https://api.github.com/repos/huggingface/datasets/issues/506/comments | value:MDExOlB1bGxSZXF1ZXN0NDY3OTkwNjc2 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/506", "html_url": "https://github.com/huggingface/datasets/pull/506", "diff_url": "https://github.com/huggingface/datasets/pull/506.diff", "patch_url": "https://github.com/huggingface/datasets/pull/506.patch", "merged_at": "2020-08-17T11:24:38Z"} | value:2020-08-17T11:24:39Z | value:https://api.github.com/repos/huggingface/datasets/issues/506/labels{/name} | value:506 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/505/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/505 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/505/timeline | json:[] | value:678791400 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/505 | value:tmp_file referenced before assignment | value:2020-08-13T23:27:33Z | value:NONE | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/505/events | value:False | value:2020-08-14T13:42:46Z | value:Just learning about this library - so might've not set up all the flags correctly, but was getting this error about "tmp_file". | value:https://api.github.com/repos/huggingface/datasets/issues/505/comments | value:MDExOlB1bGxSZXF1ZXN0NDY3NjgxMjY4 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/505", "html_url": "https://github.com/huggingface/datasets/pull/505", "diff_url": "https://github.com/huggingface/datasets/pull/505.diff", "patch_url": "https://github.com/huggingface/datasets/pull/505.patch", "merged_at": null} | value:2020-08-14T13:42:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/505/labels{/name} | value:505 | json:{"login": "avloss", "id": 17853685, "node_id": "MDQ6VXNlcjE3ODUzNjg1", "avatar_url": "https://avatars.githubusercontent.com/u/17853685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avloss", "html_url": "https://github.com/avloss", "followers_url": "https://api.github.com/users/avloss/followers", "f... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/504/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/504 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/504/timeline | json:[] | value:678756211 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/504 | value:Added downloading to Hyperpartisan news detection | value:2020-08-13T21:53:46Z | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/504/events | value:False | value:2020-08-27T08:18:41Z | value:Following the discussion on Slack and #349, I've updated the hyperpartisan dataset to pull directly from Zenodo rather than manual install, which should make this dataset much more accessible. Many thanks to @johanneskiesel !
Currently doesn't pass `test_load_real_dataset` - I'm using `self.config.name` which ... | value:https://api.github.com/repos/huggingface/datasets/issues/504/comments | value:MDExOlB1bGxSZXF1ZXN0NDY3NjUxOTA5 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/504", "html_url": "https://github.com/huggingface/datasets/pull/504", "diff_url": "https://github.com/huggingface/datasets/pull/504.diff", "patch_url": "https://github.com/huggingface/datasets/pull/504.patch", "merged_at": "2020-08-27T08:18:41Z"} | value:2020-08-27T08:18:41Z | value:https://api.github.com/repos/huggingface/datasets/issues/504/labels{/name} | value:504 | json:{"login": "ghomasHudson", "id": 13795113, "node_id": "MDQ6VXNlcjEzNzk1MTEz", "avatar_url": "https://avatars.githubusercontent.com/u/13795113?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghomasHudson", "html_url": "https://github.com/ghomasHudson", "followers_url": "https://api.github.com/users/gho... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/503/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/503 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/503/timeline | json:[] | value:678726538 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/503 | value:CompGuessWhat?! 0.2.0 | value:2020-08-13T20:51:26Z | value:CONTRIBUTOR | json:{"login": "aleSuglia", "id": 1479733, "node_id": "MDQ6VXNlcjE0Nzk3MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/1479733?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aleSuglia", "html_url": "https://github.com/aleSuglia", "followers_url": "https://api.github.com/users/aleSuglia/foll... | value:https://api.github.com/repos/huggingface/datasets/issues/503/events | value:False | value:2020-10-21T06:54:29Z | value:We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | value:https://api.github.com/repos/huggingface/datasets/issues/503/comments | value:MDExOlB1bGxSZXF1ZXN0NDY3NjI3MTEw | value:closed | value:20 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/503", "html_url": "https://github.com/huggingface/datasets/pull/503", "diff_url": "https://github.com/huggingface/datasets/pull/503.diff", "patch_url": "https://github.com/huggingface/datasets/pull/503.patch", "merged_at": null} | value:2020-10-21T06:54:29Z | value:https://api.github.com/repos/huggingface/datasets/issues/503/labels{/name} | value:503 | json:{"login": "aleSuglia", "id": 1479733, "node_id": "MDQ6VXNlcjE0Nzk3MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/1479733?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aleSuglia", "html_url": "https://github.com/aleSuglia", "followers_url": "https://api.github.com/users/aleSuglia/foll... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/502/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/502 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/502/timeline | json:[] | value:678546070 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/502 | value:Fix tokenizers caching | value:2020-08-13T15:53:37Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/502/events | value:False | value:2020-08-19T13:37:18Z | value:I've found some cases where the caching didn't work properly for tokenizers:
1. if a tokenizer has a regex pattern, then the caching would be inconsistent across sessions
2. if a tokenizer has a cache attribute that changes after some calls, the the caching would not work after cache updates
3. if a tokenize... | value:https://api.github.com/repos/huggingface/datasets/issues/502/comments | value:MDExOlB1bGxSZXF1ZXN0NDY3NDc1MDg0 | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/502", "html_url": "https://github.com/huggingface/datasets/pull/502", "diff_url": "https://github.com/huggingface/datasets/pull/502.diff", "patch_url": "https://github.com/huggingface/datasets/pull/502.patch", "merged_at": "2020-08-19T13:37:17Z"} | value:2020-08-19T13:37:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/502/labels{/name} | value:502 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/501/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"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.github.com/users/lhoestq/followers"... | value:https://github.com/huggingface/datasets/issues/501 | json:[{"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.github.com/users/lhoestq/followers... | value:https://api.github.com/repos/huggingface/datasets/issues/501/timeline | json:[] | value:677952893 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/501 | value:Caching doesn't work for map (non-deterministic) | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-12T20:20:07Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "wulu473", "id": 8149933, "node_id": "MDQ6VXNlcjgxNDk5MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/8149933?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wulu473", "html_url": "https://github.com/wulu473", "followers_url": "https://api.github.com/users/wulu473/followers", ... | value:https://api.github.com/repos/huggingface/datasets/issues/501/events | value:False | value:2020-08-24T16:34:35Z | value:The caching functionality doesn't work reliably when tokenizing a dataset. Here's a small example to reproduce it.
```python
import nlp
import transformers
def main():
ds = nlp.load_dataset("reddit", split="train[:500]")
tokenizer = transformers.AutoTokenizer.from_pretrained("gpt2")
de... | value:https://api.github.com/repos/huggingface/datasets/issues/501/comments | value:MDU6SXNzdWU2Nzc5NTI4OTM= | value:closed | value:4 | value:2022-08-08T11:02:23Z | value:https://api.github.com/repos/huggingface/datasets/issues/501/labels{/name} | value:501 | json:{"login": "wulu473", "id": 8149933, "node_id": "MDQ6VXNlcjgxNDk5MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/8149933?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wulu473", "html_url": "https://github.com/wulu473", "followers_url": "https://api.github.com/users/wulu473/followers", ... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/500/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/500 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/500/timeline | json:[] | value:677841708 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/500 | value:Use hnsw in wiki_dpr | value:2020-08-12T16:58:07Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/500/events | value:False | value:2020-08-20T07:59:18Z | value:The HNSW faiss index is much faster that regular Flat index. | value:https://api.github.com/repos/huggingface/datasets/issues/500/comments | value:MDExOlB1bGxSZXF1ZXN0NDY2ODk0NTk0 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/500", "html_url": "https://github.com/huggingface/datasets/pull/500", "diff_url": "https://github.com/huggingface/datasets/pull/500.diff", "patch_url": "https://github.com/huggingface/datasets/pull/500.patch", "merged_at": "2020-08-20T07:59:18Z"} | value:2020-08-20T07:59:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/500/labels{/name} | value:500 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/499/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/499 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/499/timeline | json:[] | value:677709938 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/499 | value:Narrativeqa (with full text) | value:2020-08-12T13:49:43Z | value:CONTRIBUTOR | json:{"login": "ghomasHudson", "id": 13795113, "node_id": "MDQ6VXNlcjEzNzk1MTEz", "avatar_url": "https://avatars.githubusercontent.com/u/13795113?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghomasHudson", "html_url": "https://github.com/ghomasHudson", "followers_url": "https://api.github.com/users/gho... | value:https://api.github.com/repos/huggingface/datasets/issues/499/events | value:False | value:2020-12-09T11:21:02Z | value:Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff a... | value:https://api.github.com/repos/huggingface/datasets/issues/499/comments | value:MDExOlB1bGxSZXF1ZXN0NDY2Nzg1MjAy | value:closed | value:9 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/499", "html_url": "https://github.com/huggingface/datasets/pull/499", "diff_url": "https://github.com/huggingface/datasets/pull/499.diff", "patch_url": "https://github.com/huggingface/datasets/pull/499.patch", "merged_at": null} | value:2020-12-09T11:21:02Z | value:https://api.github.com/repos/huggingface/datasets/issues/499/labels{/name} | value:499 | json:{"login": "ghomasHudson", "id": 13795113, "node_id": "MDQ6VXNlcjEzNzk1MTEz", "avatar_url": "https://avatars.githubusercontent.com/u/13795113?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghomasHudson", "html_url": "https://github.com/ghomasHudson", "followers_url": "https://api.github.com/users/gho... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/498/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/498 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/498/timeline | json:[] | value:677597479 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/498 | value:dont use beam fs to save info for local cache dir | value:2020-08-12T11:00:00Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/498/events | value:False | value:2020-08-14T13:17:20Z | value:If the cache dir is local, then we shouldn't use beam's filesystem to save the dataset info
Fix #490
| value:https://api.github.com/repos/huggingface/datasets/issues/498/comments | value:MDExOlB1bGxSZXF1ZXN0NDY2Njg5NTcy | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/498", "html_url": "https://github.com/huggingface/datasets/pull/498", "diff_url": "https://github.com/huggingface/datasets/pull/498.diff", "patch_url": "https://github.com/huggingface/datasets/pull/498.patch", "merged_at": "2020-08-14T13:17:20Z"} | value:2020-08-14T13:17:21Z | value:https://api.github.com/repos/huggingface/datasets/issues/498/labels{/name} | value:498 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/497/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/497 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/497/timeline | json:[] | value:677057116 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/497 | value:skip header in PAWS-X | value:2020-08-11T17:26:25Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/497/events | value:False | value:2020-08-19T09:50:01Z | value:This should fix #485
I also updated the `dataset_infos.json` file that is used to verify the integrity of the generated splits (the number of examples was reduced by one).
Note that there are new fields in `dataset_infos.json` introduced in the latest release 0.4.0 corresponding to post processing info. I ... | value:https://api.github.com/repos/huggingface/datasets/issues/497/comments | value:MDExOlB1bGxSZXF1ZXN0NDY2MjQ2NDQ3 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/497", "html_url": "https://github.com/huggingface/datasets/pull/497", "diff_url": "https://github.com/huggingface/datasets/pull/497.diff", "patch_url": "https://github.com/huggingface/datasets/pull/497.patch", "merged_at": "2020-08-19T09:50:01Z"} | value:2020-08-19T09:50:02Z | value:https://api.github.com/repos/huggingface/datasets/issues/497/labels{/name} | value:497 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/496/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/496 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/496/timeline | json:[] | value:677016998 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/496 | value:fix bad type in overflow check | value:2020-08-11T16:24:58Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/496/events | value:False | value:2020-08-14T13:29:34Z | value:When writing an arrow file and inferring the features, the overflow check could fail if the first example had a `null` field.
This is because we were not using the inferred features to do this check, and we could end up with arrays that don't match because of a type mismatch (`null` vs `string` for example).
... | value:https://api.github.com/repos/huggingface/datasets/issues/496/comments | value:MDExOlB1bGxSZXF1ZXN0NDY2MjE1Mjg1 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/496", "html_url": "https://github.com/huggingface/datasets/pull/496", "diff_url": "https://github.com/huggingface/datasets/pull/496.diff", "patch_url": "https://github.com/huggingface/datasets/pull/496.patch", "merged_at": "2020-08-14T13:29:34Z"} | value:2020-08-14T13:29:35Z | value:https://api.github.com/repos/huggingface/datasets/issues/496/labels{/name} | value:496 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/495/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/495 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/495/timeline | json:[] | value:676959289 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/495 | value:stack vectors in pytorch and tensorflow | value:2020-08-11T15:12:53Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/495/events | value:False | value:2020-08-12T09:30:48Z | value:When the format of a dataset is set to pytorch or tensorflow, and if the dataset has vectors in it, they were not stacked together as tensors when calling `dataset[i:i + batch_size][column]` or `dataset[column]`.
I added support for stacked tensors for both pytorch and tensorflow.
For ragged tensors, they are... | value:https://api.github.com/repos/huggingface/datasets/issues/495/comments | value:MDExOlB1bGxSZXF1ZXN0NDY2MTY5MTA3 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/495", "html_url": "https://github.com/huggingface/datasets/pull/495", "diff_url": "https://github.com/huggingface/datasets/pull/495.diff", "patch_url": "https://github.com/huggingface/datasets/pull/495.patch", "merged_at": "2020-08-12T09:30:48Z"} | value:2020-08-12T09:30:49Z | value:https://api.github.com/repos/huggingface/datasets/issues/495/labels{/name} | value:495 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/494/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/494 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/494/timeline | json:[] | value:676886955 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/494 | value:Fix numpy stacking | value:2020-08-11T13:40:30Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/494/events | value:False | value:2020-08-11T13:49:52Z | value:When getting items using a column name as a key, numpy arrays were not stacked.
I fixed that and added some tests.
There is another issue that still needs to be fixed though: when getting items using a column name as a key, pytorch tensors are not stacked (it outputs a list of tensors). This PR should help wi... | value:https://api.github.com/repos/huggingface/datasets/issues/494/comments | value:MDExOlB1bGxSZXF1ZXN0NDY2MTExOTQz | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/494", "html_url": "https://github.com/huggingface/datasets/pull/494", "diff_url": "https://github.com/huggingface/datasets/pull/494.diff", "patch_url": "https://github.com/huggingface/datasets/pull/494.patch", "merged_at": "2020-08-11T13:49:52Z"} | value:2020-08-11T14:56:50Z | value:https://api.github.com/repos/huggingface/datasets/issues/494/labels{/name} | value:494 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/493/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/493 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/493/timeline | json:[] | value:676527351 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/493 | value:Fix wmt zh-en url | value:2020-08-11T02:14:52Z | value:CONTRIBUTOR | json:{"login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/sshleifer/foll... | value:https://api.github.com/repos/huggingface/datasets/issues/493/events | value:False | value:2020-08-11T02:22:12Z | value:I verified that
```
wget https://stuncorpusprod.blob.core.windows.net/corpusfiles/UNv1.0.en-zh.tar.gz.00
```
runs in 2 minutes. | value:https://api.github.com/repos/huggingface/datasets/issues/493/comments | value:MDExOlB1bGxSZXF1ZXN0NDY1ODIxOTA0 | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/493", "html_url": "https://github.com/huggingface/datasets/pull/493", "diff_url": "https://github.com/huggingface/datasets/pull/493.diff", "patch_url": "https://github.com/huggingface/datasets/pull/493.patch", "merged_at": null} | value:2020-08-11T02:22:28Z | value:https://api.github.com/repos/huggingface/datasets/issues/493/labels{/name} | value:493 | json:{"login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/sshleifer/foll... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/492/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/492 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/492/timeline | json:[] | value:676495064 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/492 | value:nlp.Features does not distinguish between nullable and non-nullable types in PyArrow schema | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-11T00:27:46Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "jarednielsen", "id": 4564897, "node_id": "MDQ6VXNlcjQ1NjQ4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jarednielsen", "html_url": "https://github.com/jarednielsen", "followers_url": "https://api.github.com/users/jared... | value:https://api.github.com/repos/huggingface/datasets/issues/492/events | value:False | value:2020-08-26T16:17:19Z | value:Here's the code I'm trying to run:
```python
dset_wikipedia = nlp.load_dataset("wikipedia", "20200501.en", split="train", cache_dir=args.cache_dir)
dset_wikipedia.drop(columns=["title"])
dset_wikipedia.features.pop("title")
dset_books = nlp.load_dataset("bookcorpus", split="train", cache_dir=args.cache_dir... | value:https://api.github.com/repos/huggingface/datasets/issues/492/comments | value:MDU6SXNzdWU2NzY0OTUwNjQ= | value:closed | value:7 | value:2020-08-26T16:17:19Z | value:https://api.github.com/repos/huggingface/datasets/issues/492/labels{/name} | value:492 | json:{"login": "jarednielsen", "id": 4564897, "node_id": "MDQ6VXNlcjQ1NjQ4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jarednielsen", "html_url": "https://github.com/jarednielsen", "followers_url": "https://api.github.com/users/jared... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/491/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/491 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/491/timeline | json:[] | value:676486275 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/491 | value:No 0.4.0 release on GitHub | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-10T23:59:57Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "jarednielsen", "id": 4564897, "node_id": "MDQ6VXNlcjQ1NjQ4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jarednielsen", "html_url": "https://github.com/jarednielsen", "followers_url": "https://api.github.com/users/jared... | value:https://api.github.com/repos/huggingface/datasets/issues/491/events | value:False | value:2020-08-11T16:50:07Z | value:0.4.0 was released on PyPi, but not on GitHub. This means [the documentation](https://huggingface.co/nlp/) is still displaying from 0.3.0, and that there's no tag to easily clone the 0.4.0 version of the repo. | value:https://api.github.com/repos/huggingface/datasets/issues/491/comments | value:MDU6SXNzdWU2NzY0ODYyNzU= | value:closed | value:2 | value:2020-08-11T16:50:07Z | value:https://api.github.com/repos/huggingface/datasets/issues/491/labels{/name} | value:491 | json:{"login": "jarednielsen", "id": 4564897, "node_id": "MDQ6VXNlcjQ1NjQ4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jarednielsen", "html_url": "https://github.com/jarednielsen", "followers_url": "https://api.github.com/users/jared... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/490/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/490 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/490/timeline | json:[] | value:676482242 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/490 | value:Loading preprocessed Wikipedia dataset requires apache_beam | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-10T23:46:50Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/490/events | value:False | value:2020-08-14T13:17:20Z | value:Running
`nlp.load_dataset("wikipedia", "20200501.en", split="train", dir="/tmp/wikipedia")`
gives an error if apache_beam is not installed, stemming from
https://github.com/huggingface/nlp/blob/38eb2413de54ee804b0be81781bd65ac4a748ced/src/nlp/builder.py#L981-L988
This succeeded without the dependency... | value:https://api.github.com/repos/huggingface/datasets/issues/490/comments | value:MDU6SXNzdWU2NzY0ODIyNDI= | value:closed | value:0 | value:2020-08-14T13:17:20Z | value:https://api.github.com/repos/huggingface/datasets/issues/490/labels{/name} | value:490 | json:{"login": "jarednielsen", "id": 4564897, "node_id": "MDQ6VXNlcjQ1NjQ4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jarednielsen", "html_url": "https://github.com/jarednielsen", "followers_url": "https://api.github.com/users/jared... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/489/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/489 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/489/timeline | json:[] | value:676456257 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/489 | value:ug | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-10T22:33:03Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "timothyjlaurent", "id": 2000204, "node_id": "MDQ6VXNlcjIwMDAyMDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2000204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/timothyjlaurent", "html_url": "https://github.com/timothyjlaurent", "followers_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/489/events | value:False | value:2020-08-10T22:33:40Z | value: | value:https://api.github.com/repos/huggingface/datasets/issues/489/comments | value:MDU6SXNzdWU2NzY0NTYyNTc= | value:closed | value:2 | value:2020-08-10T22:55:14Z | value:https://api.github.com/repos/huggingface/datasets/issues/489/labels{/name} | value:489 | json:{"login": "timothyjlaurent", "id": 2000204, "node_id": "MDQ6VXNlcjIwMDAyMDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2000204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/timothyjlaurent", "html_url": "https://github.com/timothyjlaurent", "followers_url": "https://api.github.com/us... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/488/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/488 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/488/timeline | json:[] | value:676299993 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/488 | value:issues with downloading datasets for wmt16 and wmt19 | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-10T17:32:51Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/488/events | value:False | value:2022-10-04T17:46:58Z | value:I have encountered multiple issues while trying to:
```
import nlp
dataset = nlp.load_dataset('wmt16', 'ru-en')
metric = nlp.load_metric('wmt16')
```
1. I had to do `pip install -e ".[dev]" ` on master, currently released nlp didn't work (sorry, didn't save the error) - I went back to the released version ... | value:https://api.github.com/repos/huggingface/datasets/issues/488/comments | value:MDU6SXNzdWU2NzYyOTk5OTM= | value:closed | value:3 | value:2022-10-04T17:46:59Z | value:https://api.github.com/repos/huggingface/datasets/issues/488/labels{/name} | value:488 | json:{"login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/followers", "f... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/487/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/487 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/487/timeline | json:[] | value:676143029 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/487 | value:Fix elasticsearch result ids returning as strings | value:2020-08-10T13:37:11Z | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/487/events | value:False | value:2020-08-31T10:42:46Z | value:I am using the latest elasticsearch binary and master of nlp. For me elasticsearch searches failed because the resultant "id_" returned for searches are strings, but our library assumes them to be integers. | value:https://api.github.com/repos/huggingface/datasets/issues/487/comments | value:MDExOlB1bGxSZXF1ZXN0NDY1NTA1NjQy | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/487", "html_url": "https://github.com/huggingface/datasets/pull/487", "diff_url": "https://github.com/huggingface/datasets/pull/487.diff", "patch_url": "https://github.com/huggingface/datasets/pull/487.patch", "merged_at": "2020-08-31T10:42:46Z"} | value:2020-08-31T10:42:46Z | value:https://api.github.com/repos/huggingface/datasets/issues/487/labels{/name} | value:487 | json:{"login": "sai-prasanna", "id": 3595526, "node_id": "MDQ6VXNlcjM1OTU1MjY=", "avatar_url": "https://avatars.githubusercontent.com/u/3595526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sai-prasanna", "html_url": "https://github.com/sai-prasanna", "followers_url": "https://api.github.com/users/sai-p... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/486/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/486 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/486/timeline | json:[] | value:675649034 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/486 | value:Bookcorpus data contains pretokenized text | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-09T06:53:24Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/486/events | value:False | value:2022-10-04T17:44:33Z | value:It seem that the bookcoprus data downloaded through the library was pretokenized with NLTK's Treebank tokenizer, which changes the text in incompatible ways to how, for instance, BERT's wordpiece tokenizer works. For example, "didn't" becomes "did" + "n't", and double quotes are changed to `` and '' for start and... | value:https://api.github.com/repos/huggingface/datasets/issues/486/comments | value:MDU6SXNzdWU2NzU2NDkwMzQ= | value:closed | value:8 | value:2022-10-04T17:44:33Z | value:https://api.github.com/repos/huggingface/datasets/issues/486/labels{/name} | value:486 | json:{"login": "orsharir", "id": 99543, "node_id": "MDQ6VXNlcjk5NTQz", "avatar_url": "https://avatars.githubusercontent.com/u/99543?v=4", "gravatar_id": "", "url": "https://api.github.com/users/orsharir", "html_url": "https://github.com/orsharir", "followers_url": "https://api.github.com/users/orsharir/followers", "fol... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/485/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/485 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/485/timeline | json:[] | value:675595393 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/485 | value:PAWS dataset first item is header | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-08T22:05:25Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/485/events | value:False | value:2020-08-19T09:50:01Z | value:```
import nlp
dataset = nlp.load_dataset('xtreme', 'PAWS-X.en')
dataset['test'][0]
```
prints the following
```
{'label': 'label', 'sentence1': 'sentence1', 'sentence2': 'sentence2'}
```
dataset['test'][0] should probably be the first item in the dataset, not just a dictionary mapping the column n... | value:https://api.github.com/repos/huggingface/datasets/issues/485/comments | value:MDU6SXNzdWU2NzU1OTUzOTM= | value:closed | value:0 | value:2020-08-19T09:50:01Z | value:https://api.github.com/repos/huggingface/datasets/issues/485/labels{/name} | value:485 | json:{"login": "jxmorris12", "id": 13238952, "node_id": "MDQ6VXNlcjEzMjM4OTUy", "avatar_url": "https://avatars.githubusercontent.com/u/13238952?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jxmorris12", "html_url": "https://github.com/jxmorris12", "followers_url": "https://api.github.com/users/jxmorris1... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/484/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/484 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/484/timeline | json:[] | value:675088983 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/484 | value:update mirror for RT dataset | value:2020-08-07T15:25:45Z | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/484/events | value:False | value:2020-08-24T13:33:37Z | value: | value:https://api.github.com/repos/huggingface/datasets/issues/484/comments | value:MDExOlB1bGxSZXF1ZXN0NDY0NjY1NTU4 | value:closed | value:4 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/484", "html_url": "https://github.com/huggingface/datasets/pull/484", "diff_url": "https://github.com/huggingface/datasets/pull/484.diff", "patch_url": "https://github.com/huggingface/datasets/pull/484.patch", "merged_at": "2020-08-24T13:33:37Z"} | value:2020-08-24T13:33:37Z | value:https://api.github.com/repos/huggingface/datasets/issues/484/labels{/name} | value:484 | json:{"login": "jxmorris12", "id": 13238952, "node_id": "MDQ6VXNlcjEzMjM4OTUy", "avatar_url": "https://avatars.githubusercontent.com/u/13238952?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jxmorris12", "html_url": "https://github.com/jxmorris12", "followers_url": "https://api.github.com/users/jxmorris1... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/483/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/483 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/483/timeline | json:[] | value:675080694 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/483 | value:rotten tomatoes movie review dataset taken down | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-07T15:12:01Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/483/events | value:False | value:2020-09-08T09:36:33Z | value:In an interesting twist of events, the individual who created the movie review seems to have left Cornell, and their webpage has been removed, along with the movie review dataset (http://www.cs.cornell.edu/people/pabo/movie-review-data/rt-polaritydata.tar.gz). It's not downloadable anymore. | value:https://api.github.com/repos/huggingface/datasets/issues/483/comments | value:MDU6SXNzdWU2NzUwODA2OTQ= | value:closed | value:3 | value:2020-09-08T09:36:34Z | value:https://api.github.com/repos/huggingface/datasets/issues/483/labels{/name} | value:483 | json:{"login": "jxmorris12", "id": 13238952, "node_id": "MDQ6VXNlcjEzMjM4OTUy", "avatar_url": "https://avatars.githubusercontent.com/u/13238952?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jxmorris12", "html_url": "https://github.com/jxmorris12", "followers_url": "https://api.github.com/users/jxmorris1... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/482/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | json:{"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.github.com/users/lhoestq/followers"... | value:https://github.com/huggingface/datasets/issues/482 | json:[{"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.github.com/users/lhoestq/followers... | value:https://api.github.com/repos/huggingface/datasets/issues/482/timeline | json:[] | value:674851147 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/482 | value:Bugs : dataset.map() is frozen on ELI5 | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-07T08:23:35Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "ratthachat", "id": 56621342, "node_id": "MDQ6VXNlcjU2NjIxMzQy", "avatar_url": "https://avatars.githubusercontent.com/u/56621342?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ratthachat", "html_url": "https://github.com/ratthachat", "followers_url": "https://api.github.com/users/ratthacha... | value:https://api.github.com/repos/huggingface/datasets/issues/482/events | value:False | value:2020-08-11T23:55:15Z | value:Hi Huggingface Team!
Thank you guys once again for this amazing repo.
I have tried to prepare ELI5 to train with T5, based on [this wonderful notebook of Suraj Patil](https://github.com/patil-suraj/exploring-T5/blob/master/T5_on_TPU.ipynb)
However, when I run `dataset.map()` on ELI5 to prepare `input_te... | value:https://api.github.com/repos/huggingface/datasets/issues/482/comments | value:MDU6SXNzdWU2NzQ4NTExNDc= | value:closed | value:8 | value:2023-04-06T09:39:59Z | value:https://api.github.com/repos/huggingface/datasets/issues/482/labels{/name} | value:482 | json:{"login": "ratthachat", "id": 56621342, "node_id": "MDQ6VXNlcjU2NjIxMzQy", "avatar_url": "https://avatars.githubusercontent.com/u/56621342?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ratthachat", "html_url": "https://github.com/ratthachat", "followers_url": "https://api.github.com/users/ratthacha... | true | |||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/481/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/481 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/481/timeline | json:[] | value:674567389 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/481 | value:Apply utf-8 encoding to all datasets | value:2020-08-06T20:02:09Z | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/481/events | value:False | value:2020-08-20T08:16:08Z | value:## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all... | value:https://api.github.com/repos/huggingface/datasets/issues/481/comments | value:MDExOlB1bGxSZXF1ZXN0NDY0MjM2MTA1 | value:closed | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/481", "html_url": "https://github.com/huggingface/datasets/pull/481", "diff_url": "https://github.com/huggingface/datasets/pull/481.diff", "patch_url": "https://github.com/huggingface/datasets/pull/481.patch", "merged_at": "2020-08-20T08:16:08Z"} | value:2020-08-20T08:16:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/481/labels{/name} | value:481 | json:{"login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/followers", "f... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/480/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/480 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/480/timeline | json:[] | value:674245959 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/480 | value:Column indexing hotfix | value:2020-08-06T11:37:05Z | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/480/events | value:False | value:2020-08-12T08:36:10Z | value:As observed for example in #469 , currently `__getitem__` does not convert the data to the dataset format when indexing by column. This is a hotfix that imitates functional 0.3.0. code. In the future it'd probably be nice to have a test there. | value:https://api.github.com/repos/huggingface/datasets/issues/480/comments | value:MDExOlB1bGxSZXF1ZXN0NDYzOTcwNjQ2 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/480", "html_url": "https://github.com/huggingface/datasets/pull/480", "diff_url": "https://github.com/huggingface/datasets/pull/480.diff", "patch_url": "https://github.com/huggingface/datasets/pull/480.patch", "merged_at": null} | value:2023-09-24T09:49:33Z | value:https://api.github.com/repos/huggingface/datasets/issues/480/labels{/name} | value:480 | json:{"login": "TevenLeScao", "id": 26709476, "node_id": "MDQ6VXNlcjI2NzA5NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TevenLeScao", "html_url": "https://github.com/TevenLeScao", "followers_url": "https://api.github.com/users/TevenL... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/479/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/479 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/479/timeline | json:[] | value:673905407 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/479 | value:add METEOR metric | value:2020-08-05T23:13:00Z | value:CONTRIBUTOR | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/479/events | value:False | value:2020-08-19T13:39:09Z | value:Added the METEOR metric. Can be used like this:
```python
import nlp
meteor = nlp.load_metric('metrics/meteor')
meteor.compute(["some string", "some string"], ["some string", "some similar string"])
# {'meteor': 0.6411637931034483}
meteor.add("some string", "some string")
meteor.add('some string", "some ... | value:https://api.github.com/repos/huggingface/datasets/issues/479/comments | value:MDExOlB1bGxSZXF1ZXN0NDYzNjkxMjA0 | value:closed | value:5 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/479", "html_url": "https://github.com/huggingface/datasets/pull/479", "diff_url": "https://github.com/huggingface/datasets/pull/479.diff", "patch_url": "https://github.com/huggingface/datasets/pull/479.patch", "merged_at": "2020-08-19T13:39:09Z"} | value:2020-08-19T13:39:09Z | value:https://api.github.com/repos/huggingface/datasets/issues/479/labels{/name} | value:479 | json:{"login": "vegarab", "id": 24683907, "node_id": "MDQ6VXNlcjI0NjgzOTA3", "avatar_url": "https://avatars.githubusercontent.com/u/24683907?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vegarab", "html_url": "https://github.com/vegarab", "followers_url": "https://api.github.com/users/vegarab/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/478/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/478 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/478/timeline | json:[] | value:673178317 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/478 | value:Export TFRecord to GCP bucket | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-05T01:08:32Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "astariul", "id": 43774355, "node_id": "MDQ6VXNlcjQzNzc0MzU1", "avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/astariul", "html_url": "https://github.com/astariul", "followers_url": "https://api.github.com/users/astariul/follow... | value:https://api.github.com/repos/huggingface/datasets/issues/478/events | value:False | value:2020-08-05T01:21:36Z | value:Previously, I was writing TFRecords manually to GCP bucket with : `with tf.io.TFRecordWriter('gs://my_bucket/x.tfrecord')`
Since `0.4.0` is out with the `export()` function, I tried it. But it seems TFRecords cannot be directly written to GCP bucket.
`dataset.export('local.tfrecord')` works fine,
but `da... | value:https://api.github.com/repos/huggingface/datasets/issues/478/comments | value:MDU6SXNzdWU2NzMxNzgzMTc= | value:closed | value:1 | value:2020-08-05T01:21:37Z | value:https://api.github.com/repos/huggingface/datasets/issues/478/labels{/name} | value:478 | json:{"login": "astariul", "id": 43774355, "node_id": "MDQ6VXNlcjQzNzc0MzU1", "avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/astariul", "html_url": "https://github.com/astariul", "followers_url": "https://api.github.com/users/astariul/follow... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/477/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/477 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/477/timeline | json:[] | value:673142143 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/477 | value:Overview.ipynb throws exceptions with nlp 0.4.0 | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-04T23:18:15Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"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_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/477/events | value:False | value:2021-08-03T06:02:15Z | value:with nlp 0.4.0, the TensorFlow example in Overview.ipynb throws the following exceptions:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-5-48907f2ad433> in <module>
----> 1 features = {x... | value:https://api.github.com/repos/huggingface/datasets/issues/477/comments | value:MDU6SXNzdWU2NzMxNDIxNDM= | value:closed | value:3 | value:2021-08-03T06:02:15Z | value:https://api.github.com/repos/huggingface/datasets/issues/477/labels{/name} | value:477 | json:{"login": "mandy-li", "id": 23109219, "node_id": "MDQ6VXNlcjIzMTA5MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23109219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mandy-li", "html_url": "https://github.com/mandy-li", "followers_url": "https://api.github.com/users/mandy-li/follow... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/476/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} | json:[{"id": 4564477500, "node_id": "LA_kwDODunzps8AAAABEBBmPA", "url": "https://api.github.com/repos/huggingface/datasets/labels/dataset%20contribution", "name": "dataset contribution", "color": "0e8a16", "default": false, "description": "Contribution to a dataset script", "archived_at": null, "archived_by": null}] | value:https://github.com/huggingface/datasets/pull/476 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/476/timeline | json:[] | value:672991854 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/476 | value:CheckList | value:2020-08-04T18:32:05Z | value:NONE | json:{"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_url": "https://api.github.com/us... | value:https://api.github.com/repos/huggingface/datasets/issues/476/events | value:False | value:2022-10-03T09:43:37Z | value:Sorry for the large pull request.
- Added checklists as datasets. I can't run `test_load_real_dataset` (see #474), but I can load the datasets successfully as shown in the example notebook
- Added a checklist wrapper | value:https://api.github.com/repos/huggingface/datasets/issues/476/comments | value:MDExOlB1bGxSZXF1ZXN0NDYyOTMyMTgx | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/476", "html_url": "https://github.com/huggingface/datasets/pull/476", "diff_url": "https://github.com/huggingface/datasets/pull/476.diff", "patch_url": "https://github.com/huggingface/datasets/pull/476.patch", "merged_at": null} | value:2022-10-03T09:43:37Z | value:https://api.github.com/repos/huggingface/datasets/issues/476/labels{/name} | value:476 | json:{"login": "marcotcr", "id": 698010, "node_id": "MDQ6VXNlcjY5ODAxMA==", "avatar_url": "https://avatars.githubusercontent.com/u/698010?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marcotcr", "html_url": "https://github.com/marcotcr", "followers_url": "https://api.github.com/users/marcotcr/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/475/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/475 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/475/timeline | json:[] | value:672884595 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/475 | value:misc. bugs and quality of life | value:2020-08-04T15:32:29Z | value:CONTRIBUTOR | json:{"login": "joeddav", "id": 9353833, "node_id": "MDQ6VXNlcjkzNTM4MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joeddav", "html_url": "https://github.com/joeddav", "followers_url": "https://api.github.com/users/joeddav/followers", ... | value:https://api.github.com/repos/huggingface/datasets/issues/475/events | value:False | value:2020-08-17T21:14:07Z | value:A few misc. bugs and QOL improvements that I've come across in using the library. Let me know if you don't like any of them and I can adjust/remove them.
1. Printing datasets without a description field throws an error when formatting the `single_line_description`. This fixes that, and also adds some formattin... | value:https://api.github.com/repos/huggingface/datasets/issues/475/comments | value:MDExOlB1bGxSZXF1ZXN0NDYyODQzMzQz | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/475", "html_url": "https://github.com/huggingface/datasets/pull/475", "diff_url": "https://github.com/huggingface/datasets/pull/475.diff", "patch_url": "https://github.com/huggingface/datasets/pull/475.patch", "merged_at": "2020-08-17T21:14:07Z"} | value:2020-08-17T21:14:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/475/labels{/name} | value:475 | json:{"login": "joeddav", "id": 9353833, "node_id": "MDQ6VXNlcjkzNTM4MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4", "gravatar_id": "", "url": "https://api.github.com/users/joeddav", "html_url": "https://github.com/joeddav", "followers_url": "https://api.github.com/users/joeddav/followers", ... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/474/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/474 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/474/timeline | json:[] | value:672407330 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/474 | value:test_load_real_dataset when config has BUILDER_CONFIGS that matter | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-03T23:46:36Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/474/events | value:False | value:2020-09-07T14:53:13Z | value:It a dataset has custom `BUILDER_CONFIGS` with non-keyword arguments (or keyword arguments with non default values), the config is not loaded during the test and causes an error.
I think the problem is that `test_load_real_dataset` calls `load_dataset` with `data_dir=temp_data_dir` ([here](https://github.com/hug... | value:https://api.github.com/repos/huggingface/datasets/issues/474/comments | value:MDU6SXNzdWU2NzI0MDczMzA= | value:closed | value:2 | value:2020-09-07T14:53:13Z | value:https://api.github.com/repos/huggingface/datasets/issues/474/labels{/name} | value:474 | json:{"login": "marcotcr", "id": 698010, "node_id": "MDQ6VXNlcjY5ODAxMA==", "avatar_url": "https://avatars.githubusercontent.com/u/698010?v=4", "gravatar_id": "", "url": "https://api.github.com/users/marcotcr", "html_url": "https://github.com/marcotcr", "followers_url": "https://api.github.com/users/marcotcr/followers"... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/473/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/473 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/473/timeline | json:[] | value:672007247 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/473 | value:add DoQA dataset (ACL 2020) | value:2020-08-03T11:26:52Z | value:CONTRIBUTOR | json:{"login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", "following_url... | value:https://api.github.com/repos/huggingface/datasets/issues/473/events | value:False | value:2020-09-03T11:44:15Z | value:add DoQA dataset (ACL 2020) http://ixa.eus/node/12931 | value:https://api.github.com/repos/huggingface/datasets/issues/473/comments | value:MDExOlB1bGxSZXF1ZXN0NDYyMTIwNzU4 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/473", "html_url": "https://github.com/huggingface/datasets/pull/473", "diff_url": "https://github.com/huggingface/datasets/pull/473.diff", "patch_url": "https://github.com/huggingface/datasets/pull/473.patch", "merged_at": "2020-09-03T11:44:14Z"} | value:2020-09-10T17:19:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/473/labels{/name} | value:473 | json:{"login": "mariamabarham", "id": 38249783, "node_id": "MDQ6VXNlcjM4MjQ5Nzgz", "avatar_url": "https://avatars.githubusercontent.com/u/38249783?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariamabarham", "html_url": "https://github.com/mariamabarham", "followers_url": "https://api.github.com/users/... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/472/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/472 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/472/timeline | json:[] | value:672000745 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/472 | value:add crd3 dataset | value:2020-08-03T11:15:02Z | value:CONTRIBUTOR | json:{"login": "mariamabarham", "id": 38249783, "node_id": "MDQ6VXNlcjM4MjQ5Nzgz", "avatar_url": "https://avatars.githubusercontent.com/u/38249783?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariamabarham", "html_url": "https://github.com/mariamabarham", "followers_url": "https://api.github.com/users/... | value:https://api.github.com/repos/huggingface/datasets/issues/472/events | value:False | value:2020-08-03T11:22:09Z | value:opening new PR for CRD3 dataset (ACL2020) to fix the circle CI problems | value:https://api.github.com/repos/huggingface/datasets/issues/472/comments | value:MDExOlB1bGxSZXF1ZXN0NDYyMTE1MjA4 | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/472", "html_url": "https://github.com/huggingface/datasets/pull/472", "diff_url": "https://github.com/huggingface/datasets/pull/472.diff", "patch_url": "https://github.com/huggingface/datasets/pull/472.patch", "merged_at": "2020-08-03T11:22:09Z"} | value:2020-08-03T11:22:10Z | value:https://api.github.com/repos/huggingface/datasets/issues/472/labels{/name} | value:472 | json:{"login": "mariamabarham", "id": 38249783, "node_id": "MDQ6VXNlcjM4MjQ5Nzgz", "avatar_url": "https://avatars.githubusercontent.com/u/38249783?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariamabarham", "html_url": "https://github.com/mariamabarham", "followers_url": "https://api.github.com/users/... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/471/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/471 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/471/timeline | json:[] | value:671996423 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/471 | value:add reuters21578 dataset | value:2020-08-03T11:07:14Z | value:CONTRIBUTOR | json:{"login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", "following_url... | value:https://api.github.com/repos/huggingface/datasets/issues/471/events | value:False | value:2020-09-03T09:58:50Z | value:new PR to add the reuters21578 dataset and fix the circle CI problems.
Fix partially:
- #353
Subsequent PR after:
- #449 | value:https://api.github.com/repos/huggingface/datasets/issues/471/comments | value:MDExOlB1bGxSZXF1ZXN0NDYyMTExNTU1 | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/471", "html_url": "https://github.com/huggingface/datasets/pull/471", "diff_url": "https://github.com/huggingface/datasets/pull/471.diff", "patch_url": "https://github.com/huggingface/datasets/pull/471.patch", "merged_at": "2020-09-03T09:58:50Z"} | value:2022-08-04T08:39:11Z | value:https://api.github.com/repos/huggingface/datasets/issues/471/labels{/name} | value:471 | json:{"login": "mariamabarham", "id": 38249783, "node_id": "MDQ6VXNlcjM4MjQ5Nzgz", "avatar_url": "https://avatars.githubusercontent.com/u/38249783?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariamabarham", "html_url": "https://github.com/mariamabarham", "followers_url": "https://api.github.com/users/... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/470/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/470 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/470/timeline | json:[] | value:671952276 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/470 | value:Adding IWSLT 2017 dataset. | value:2020-08-03T09:52:39Z | value:CONTRIBUTOR | json:{"login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/followers", "follo... | value:https://api.github.com/repos/huggingface/datasets/issues/470/events | value:False | value:2020-09-07T12:33:30Z | value:Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure ho... | value:https://api.github.com/repos/huggingface/datasets/issues/470/comments | value:MDExOlB1bGxSZXF1ZXN0NDYyMDc0MzQ0 | value:closed | value:6 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/470", "html_url": "https://github.com/huggingface/datasets/pull/470", "diff_url": "https://github.com/huggingface/datasets/pull/470.diff", "patch_url": "https://github.com/huggingface/datasets/pull/470.patch", "merged_at": "2020-09-07T12:33:30Z"} | value:2020-09-07T12:33:30Z | value:https://api.github.com/repos/huggingface/datasets/issues/470/labels{/name} | value:470 | json:{"login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/followers", "follo... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/469/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/469 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/469/timeline | json:[] | value:671876963 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/469 | value:invalid data type 'str' at _convert_outputs in arrow_dataset.py | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-03T07:48:29Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:NONE | json:{"login": "mariosasko", "id": 47462742, "node_id": "MDQ6VXNlcjQ3NDYyNzQy", "avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariosasko", "html_url": "https://github.com/mariosasko", "followers_url": "https://api.github.com/users/mariosask... | value:https://api.github.com/repos/huggingface/datasets/issues/469/events | value:False | value:2023-07-20T15:54:17Z | value:I trying to build multi label text classifier model using Transformers lib.
I'm using Transformers NLP to load the data set, while calling trainer.train() method. It throws the following error
File "C:\***\arrow_dataset.py", line 343, in _convert_outputs
v = command(v)
TypeError: new(): invalid data... | value:https://api.github.com/repos/huggingface/datasets/issues/469/comments | value:MDU6SXNzdWU2NzE4NzY5NjM= | value:closed | value:9 | value:2023-07-20T15:54:17Z | value:https://api.github.com/repos/huggingface/datasets/issues/469/labels{/name} | value:469 | json:{"login": "Murgates", "id": 30617486, "node_id": "MDQ6VXNlcjMwNjE3NDg2", "avatar_url": "https://avatars.githubusercontent.com/u/30617486?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Murgates", "html_url": "https://github.com/Murgates", "followers_url": "https://api.github.com/users/Murgates/follow... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/468/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/issues/468 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/468/timeline | json:[] | value:671622441 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/468 | value:UnicodeDecodeError while loading PAN-X task of XTREME dataset | json:{"blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0} | value:2020-08-02T14:05:10Z | value:completed | json:{"total": 0, "completed": 0, "percent_completed": 0} | value:MEMBER | json:{"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.github.com/users/lhoestq/followers"... | value:https://api.github.com/repos/huggingface/datasets/issues/468/events | value:False | value:2020-08-20T08:16:08Z | value:Hi 🤗 team!
## Description of the problem
I'm running into a `UnicodeDecodeError` while trying to load the PAN-X subset the XTREME dataset:
```
---------------------------------------------------------------------------
UnicodeDecodeError Traceback (most recent call last)
<ipyth... | value:https://api.github.com/repos/huggingface/datasets/issues/468/comments | value:MDU6SXNzdWU2NzE2MjI0NDE= | value:closed | value:5 | value:2020-08-20T08:16:08Z | value:https://api.github.com/repos/huggingface/datasets/issues/468/labels{/name} | value:468 | json:{"login": "lewtun", "id": 26859204, "node_id": "MDQ6VXNlcjI2ODU5MjA0", "avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewtun", "html_url": "https://github.com/lewtun", "followers_url": "https://api.github.com/users/lewtun/followers", "f... | true | ||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/467/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/467 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/467/timeline | json:[] | value:671580010 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/467 | value:DOCS: Fix typo | value:2020-08-02T08:59:37Z | value:CONTRIBUTOR | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/467/events | value:False | value:2020-08-02T09:18:54Z | value:Fix typo from dictionnary -> dictionary | value:https://api.github.com/repos/huggingface/datasets/issues/467/comments | value:MDExOlB1bGxSZXF1ZXN0NDYxNzgwMzUy | value:closed | value:1 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/467", "html_url": "https://github.com/huggingface/datasets/pull/467", "diff_url": "https://github.com/huggingface/datasets/pull/467.diff", "patch_url": "https://github.com/huggingface/datasets/pull/467.patch", "merged_at": "2020-08-02T09:18:54Z"} | value:2020-08-02T13:52:27Z | value:https://api.github.com/repos/huggingface/datasets/issues/467/labels{/name} | value:467 | json:{"login": "bharatr21", "id": 13381361, "node_id": "MDQ6VXNlcjEzMzgxMzYx", "avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bharatr21", "html_url": "https://github.com/bharatr21", "followers_url": "https://api.github.com/users/bharatr21/fo... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/466/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/466 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/466/timeline | json:[] | value:670766891 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/466 | value:[METRICS] Various improvements on metrics | value:2020-08-01T11:03:45Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/466/events | value:False | value:2020-08-17T15:14:59Z | value:- Disallow the use of positional arguments to avoid `predictions` vs `references` mistakes
- Allow to directly feed numpy/pytorch/tensorflow/pandas objects in metrics | value:https://api.github.com/repos/huggingface/datasets/issues/466/comments | value:MDExOlB1bGxSZXF1ZXN0NDYxMDEzOTM0 | value:closed | value:2 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/466", "html_url": "https://github.com/huggingface/datasets/pull/466", "diff_url": "https://github.com/huggingface/datasets/pull/466.diff", "patch_url": "https://github.com/huggingface/datasets/pull/466.patch", "merged_at": "2020-08-17T15:14:59Z"} | value:2020-08-17T15:15:00Z | value:https://api.github.com/repos/huggingface/datasets/issues/466/labels{/name} | value:466 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/465/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/465 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/465/timeline | json:[] | value:669889779 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/465 | value:Keep features after transform | value:2020-07-31T14:43:21Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/465/events | value:False | value:2020-07-31T18:27:32Z | value:When applying a transform like `map`, some features were lost (and inferred features were used).
It was the case for ClassLabel, Translation, etc.
To fix that, I did some modifications in the `ArrowWriter`:
- added the `update_features` parameter. When it's `True`, then the features specified by the user (... | value:https://api.github.com/repos/huggingface/datasets/issues/465/comments | value:MDExOlB1bGxSZXF1ZXN0NDYwMjEwODYw | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/465", "html_url": "https://github.com/huggingface/datasets/pull/465", "diff_url": "https://github.com/huggingface/datasets/pull/465.diff", "patch_url": "https://github.com/huggingface/datasets/pull/465.patch", "merged_at": "2020-07-31T18:27:32Z"} | value:2020-07-31T18:27:33Z | value:https://api.github.com/repos/huggingface/datasets/issues/465/labels{/name} | value:465 | json:{"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.github.com/users/lhoestq/followers"... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/464/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/464 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/464/timeline | json:[] | value:669767381 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/464 | value:Add rename, remove and cast in-place operations | value:2020-07-31T12:30:21Z | value:MEMBER | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:https://api.github.com/repos/huggingface/datasets/issues/464/events | value:False | value:2020-07-31T15:50:00Z | value:Add a bunch of in-place operation leveraging the Arrow back-end to rename and remove columns and cast to new features without using the more expensive `map` method.
These methods are added to `Dataset` as well as `DatasetDict`.
Added tests for these new methods and add the methods to the doc.
Naming foll... | value:https://api.github.com/repos/huggingface/datasets/issues/464/comments | value:MDExOlB1bGxSZXF1ZXN0NDYwMTAxNDYz | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/464", "html_url": "https://github.com/huggingface/datasets/pull/464", "diff_url": "https://github.com/huggingface/datasets/pull/464.diff", "patch_url": "https://github.com/huggingface/datasets/pull/464.patch", "merged_at": "2020-07-31T15:50:00Z"} | value:2020-07-31T15:50:02Z | value:https://api.github.com/repos/huggingface/datasets/issues/464/labels{/name} | value:464 | json:{"login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomwolf/follower... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/463/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/463 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/463/timeline | json:[] | value:669735455 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/463 | value:Add dataset/mlsum | value:2020-07-31T11:50:52Z | value:CONTRIBUTOR | json:{"login": "RachelKer", "id": 36986299, "node_id": "MDQ6VXNlcjM2OTg2Mjk5", "avatar_url": "https://avatars.githubusercontent.com/u/36986299?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RachelKer", "html_url": "https://github.com/RachelKer", "followers_url": "https://api.github.com/users/RachelKer/fo... | value:https://api.github.com/repos/huggingface/datasets/issues/463/events | value:False | value:2020-08-24T14:54:42Z | value:New pull request that should correct the previous errors.
The load_real_data stills fails because it is looking for a default dataset URL that does not exists, this does not happen when loading the dataset with load_dataset | value:https://api.github.com/repos/huggingface/datasets/issues/463/comments | value:MDExOlB1bGxSZXF1ZXN0NDYwMDcyNjQ1 | value:closed | value:3 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/463", "html_url": "https://github.com/huggingface/datasets/pull/463", "diff_url": "https://github.com/huggingface/datasets/pull/463.diff", "patch_url": "https://github.com/huggingface/datasets/pull/463.patch", "merged_at": null} | value:2020-08-24T14:54:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/463/labels{/name} | value:463 | json:{"login": "RachelKer", "id": 36986299, "node_id": "MDQ6VXNlcjM2OTg2Mjk5", "avatar_url": "https://avatars.githubusercontent.com/u/36986299?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RachelKer", "html_url": "https://github.com/RachelKer", "followers_url": "https://api.github.com/users/RachelKer/fo... | value:False | true | |||||||||
json:{"url": "https://api.github.com/repos/huggingface/datasets/issues/462/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | json:[] | value:https://github.com/huggingface/datasets/pull/462 | json:[] | value:https://api.github.com/repos/huggingface/datasets/issues/462/timeline | json:[] | value:669715547 | value:https://api.github.com/repos/huggingface/datasets | value:https://api.github.com/repos/huggingface/datasets/issues/462 | value:add DoQA (ACL 2020) dataset | value:2020-07-31T11:25:56Z | value:CONTRIBUTOR | json:{"login": "mariamabarham", "id": 38249783, "node_id": "MDQ6VXNlcjM4MjQ5Nzgz", "avatar_url": "https://avatars.githubusercontent.com/u/38249783?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariamabarham", "html_url": "https://github.com/mariamabarham", "followers_url": "https://api.github.com/users/... | value:https://api.github.com/repos/huggingface/datasets/issues/462/events | value:False | value:2020-08-03T11:28:27Z | value:adds DoQA (ACL 2020) dataset | value:https://api.github.com/repos/huggingface/datasets/issues/462/comments | value:MDExOlB1bGxSZXF1ZXN0NDYwMDU0NDgz | value:closed | value:0 | json:{"url": "https://api.github.com/repos/huggingface/datasets/pulls/462", "html_url": "https://github.com/huggingface/datasets/pull/462", "diff_url": "https://github.com/huggingface/datasets/pull/462.diff", "patch_url": "https://github.com/huggingface/datasets/pull/462.patch", "merged_at": null} | value:2023-09-24T09:48:42Z | value:https://api.github.com/repos/huggingface/datasets/issues/462/labels{/name} | value:462 | json:{"login": "mariamabarham", "id": 38249783, "node_id": "MDQ6VXNlcjM4MjQ5Nzgz", "avatar_url": "https://avatars.githubusercontent.com/u/38249783?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariamabarham", "html_url": "https://github.com/mariamabarham", "followers_url": "https://api.github.com/users/... | value:False | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.