title stringlengths 1 290 | body stringlengths 0 228k ⌀ | html_url stringlengths 46 51 | comments list | pull_request dict | number int64 1 5.59k | is_pull_request bool 2
classes |
|---|---|---|---|---|---|---|
fix: typos in tutorial to map KILT and TriviaQA | https://github.com/huggingface/datasets/pull/803 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/803",
"html_url": "https://github.com/huggingface/datasets/pull/803",
"diff_url": "https://github.com/huggingface/datasets/pull/803.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/803.patch",
"merged_at": "2020-11-10T09:08:07"... | 803 | true | |
Add XGlue | Dataset is ready to merge. An important feature of this dataset is that for each config the train data is in English, while dev and test data are in multiple languages. Therefore, @lhoestq and I decided offline that we will give the dataset the following API, *e.g.* for
```python
load_dataset("xglue", "ner") # wo... | https://github.com/huggingface/datasets/pull/802 | [
"Really cool to add XGlue, this will be a nice addition !\r\n\r\nSplits shouldn't depend on the language. There must be configurations for each language, as we're doing for xnli, xtreme, etc.\r\nFor example for XGlue we'll have these configurations: NER.de, NER.en etc."
] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/802",
"html_url": "https://github.com/huggingface/datasets/pull/802",
"diff_url": "https://github.com/huggingface/datasets/pull/802.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/802.patch",
"merged_at": "2020-12-01T15:58:27"... | 802 | true |
How to join two datasets? | Hi,
I'm wondering if it's possible to join two (preprocessed) datasets with the same number of rows but different labels?
I'm currently trying to create paired sentences for BERT from `wikipedia/'20200501.en`, and I couldn't figure out a way to create a paired sentence using `.map()` where the second sentence is... | https://github.com/huggingface/datasets/issues/801 | [
"Hi this is also my question. thanks ",
"Hi ! Currently the only way to add new fields to a dataset is by using `.map` and picking items from the other dataset\r\n",
"Closing this one. Feel free to re-open if you have other questions about this issue.\r\n\r\nAlso linking another discussion about joining dataset... | null | 801 | false |
Update loading_metrics.rst | Minor bug | https://github.com/huggingface/datasets/pull/800 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/800",
"html_url": "https://github.com/huggingface/datasets/pull/800",
"diff_url": "https://github.com/huggingface/datasets/pull/800.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/800.patch",
"merged_at": "2020-11-11T15:28:32"... | 800 | true |
switch amazon reviews class label order | Switches the label order to be more intuitive for amazon reviews, #791. | https://github.com/huggingface/datasets/pull/799 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/799",
"html_url": "https://github.com/huggingface/datasets/pull/799",
"diff_url": "https://github.com/huggingface/datasets/pull/799.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/799.patch",
"merged_at": "2020-11-03T18:44:10"... | 799 | true |
Cannot load TREC dataset: ConnectionError | ## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label', allow_redirects=True... | https://github.com/huggingface/datasets/issues/798 | [
"Hi ! Indeed there's an issue with those links.\r\nWe should probably use the target urls of the redirections instead",
"Hi, the same issue here, could you tell me how to download it through datasets? thanks ",
"Same issue. ",
"Actually it's already fixed on the master branch since #740 \r\nI'll do the 1.1.3 ... | null | 798 | false |
Token classification labels are strings and we don't have the list of labels | Not sure if this is an issue we want to fix or not, putting it here so it's not forgotten. Right now, in token classification datasets, the labels for NER, POS and the likes are typed as `Sequence` of `strings`, which is wrong in my opinion. These should be `Sequence` of `ClassLabel` or some types that gives easy acces... | https://github.com/huggingface/datasets/issues/797 | [
"Indeed. Pinging @stefan-it here if he want to give an expert opinion :)",
"Related is https://github.com/huggingface/datasets/pull/636",
"Should definitely be a ClassLabel 👍 ",
"Already done."
] | null | 797 | false |
Descriptions of raw and processed versions of wikitext are inverted | Nothing of importance, but it looks like the descriptions of wikitext-n-v1 and wikitext-n-raw-v1 are inverted for both n=2 and n=103. I just verified by loading them and the `<unk>` tokens are present in the non-raw versions, which confirms that it's a mere inversion of the descriptions and not of the datasets themselv... | https://github.com/huggingface/datasets/issues/795 | [
"Yes indeed ! Thanks for reporting",
"Fixed by:\r\n- #3241"
] | null | 795 | false |
self.options cannot be converted to a Python object for pickling | Hi,
Currently I am trying to load csv file with customized read_options. And the latest master seems broken if we pass the ReadOptions object.
Here is a code snippet
```python
from datasets import load_dataset
from pyarrow.csv import ReadOptions
load_dataset("csv", data_files=["out.csv"], read_options=ReadOpt... | https://github.com/huggingface/datasets/issues/794 | [
"Hi ! Thanks for reporting that's a bug on master indeed.\r\nWe'll fix that soon"
] | null | 794 | false |
[Datasets] fix discofuse links | The discofuse links were changed: https://github.com/google-research-datasets/discofuse/commit/d27641016eb5b3eb2af03c7415cfbb2cbebe8558.
The old links are broken
I changed the links and created the new dataset_infos.json.
Pinging @thomwolf @lhoestq for notification. | https://github.com/huggingface/datasets/pull/793 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/793",
"html_url": "https://github.com/huggingface/datasets/pull/793",
"diff_url": "https://github.com/huggingface/datasets/pull/793.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/793.patch",
"merged_at": "2020-11-03T08:16:40"... | 793 | true |
KILT dataset: empty string in triviaqa input field | # What happened
Both train and test splits of the triviaqa dataset (part of the KILT benchmark) seem to have empty string in their input field (unlike the natural questions dataset, part of the same benchmark)
# Versions
KILT version is `1.0.0`
`datasets` version is `1.1.2`
[more here](https://gist.github.com/Pa... | https://github.com/huggingface/datasets/issues/792 | [
"Just found out about https://github.com/huggingface/datasets/blob/master/datasets/kilt_tasks/README.md\r\n(Not very clear in https://huggingface.co/datasets/kilt_tasks links to http://github.com/huggingface/datasets/datasets/kilt_tasks/README.md which is dead, closing the issue though :))"
] | null | 792 | false |
add amazon reviews | Adds the Amazon US Reviews dataset as requested in #353. Converted from [TensorFlow Datasets](https://www.tensorflow.org/datasets/catalog/amazon_us_reviews). cc @clmnt @sshleifer | https://github.com/huggingface/datasets/pull/791 | [
"@patrickvonplaten Yeah this is adapted from tfds so a lot is just how they wrote the code. Addressed your comments and also simplified the weird `AmazonUSReviewsConfig` definition. Will merge once tests pass.",
"Thanks for checking this one :) \r\nLooks good to me \r\n\r\nJust one question : is there a particula... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/791",
"html_url": "https://github.com/huggingface/datasets/pull/791",
"diff_url": "https://github.com/huggingface/datasets/pull/791.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/791.patch",
"merged_at": "2020-11-03T16:43:57"... | 791 | true |
Error running pip install -e ".[dev]" on MacOS 10.13.6: faiss/python does not exist | I was following along with https://huggingface.co/docs/datasets/share_dataset.html#adding-tests-and-metadata-to-the-dataset when I ran into this error.
```sh
git clone https://github.com/huggingface/datasets
cd datasets
virtualenv venv -p python3 --system-site-packages
source venv/bin/activate
pip install -e ".... | https://github.com/huggingface/datasets/issues/790 | [
"I saw that `faiss-cpu` 1.6.4.post2 was released recently to fix the installation on macos. It should work now",
"Closing this one.\r\nFeel free to re-open if you still have issues"
] | null | 790 | false |
dataset(ncslgr): add initial loading script | Its a small dataset, but its heavily annotated
https://www.bu.edu/asllrp/ncslgr.html

| https://github.com/huggingface/datasets/pull/789 | [
"Hi @AmitMY, sorry for leaving you hanging for a minute :) \r\n\r\nWe've developed a new pipeline for adding datasets with a few extra steps, including adding a dataset card. You can find the full process [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md)\r\n\r\nWould you be up for addin... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/789",
"html_url": "https://github.com/huggingface/datasets/pull/789",
"diff_url": "https://github.com/huggingface/datasets/pull/789.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/789.patch",
"merged_at": null
} | 789 | true |
failed to reuse cache | I packed the `load_dataset ` in a function of class, and cached data in a directory. But when I import the class and use the function, the data still have to be downloaded again. The information (Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown si... | https://github.com/huggingface/datasets/issues/788 | [] | null | 788 | false |
Adding nli_tr dataset | Hello,
In this pull request, we have implemented the necessary interface to add our recent dataset [NLI-TR](https://github.com/boun-tabi/NLI-TR). The datasets will be presented on a full paper at EMNLP 2020 this month. [[arXiv link] ](https://arxiv.org/pdf/2004.14963.pdf)
The dataset is the neural machine transl... | https://github.com/huggingface/datasets/pull/787 | [
"Thank you @lhoestq for the time you take to review our pull request. We appreciate your help.\r\n\r\nWe've made the changes you described. Hope that it is ready for being merged. Please let me know if you have any additional requests for revisions. "
] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/787",
"html_url": "https://github.com/huggingface/datasets/pull/787",
"diff_url": "https://github.com/huggingface/datasets/pull/787.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/787.patch",
"merged_at": "2020-11-12T19:06:02"... | 787 | true |
feat(dataset): multiprocessing _generate_examples | forking this out of #741, this issue is only regarding multiprocessing
I'd love if there was a dataset configuration parameter `workers`, where when it is `1` it behaves as it does right now, and when its `>1` maybe `_generate_examples` can also get the `pool` and return an iterable using the pool.
In my use case... | https://github.com/huggingface/datasets/issues/786 | [
"I agree that would be cool :)\r\nRight now the only distributed dataset builder is based on Apache Beam so you can use distributed processing frameworks like Dataflow, Spark, Flink etc. to build your dataset but it's not really well suited for single-worker parallel processing afaik",
"`_generate_examples` can n... | null | 786 | false |
feat(aslg_pc12): add dev and test data splits | For reproducibility sake, it's best if there are defined dev and test splits.
The original paper author did not define splits for the entire dataset, not for the sample loaded via this library, so I decided to define:
- 5/7th for train
- 1/7th for dev
- 1/7th for test
| https://github.com/huggingface/datasets/pull/785 | [
"Hi ! I'm not sure we should make this split decision arbitrarily on our side. Users can split it afterwards to whatever they want using `dataset.train_test_split` for example.\r\nMoreover it looks like there's already papers that use this dataset and propose their own splits ([here](http://xanthippi.ceid.upatras.g... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/785",
"html_url": "https://github.com/huggingface/datasets/pull/785",
"diff_url": "https://github.com/huggingface/datasets/pull/785.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/785.patch",
"merged_at": null
} | 785 | true |
Issue with downloading Wikipedia data for low resource language | Hi, I tried to download Sundanese and Javanese wikipedia data with the following snippet
```
jv_wiki = datasets.load_dataset('wikipedia', '20200501.jv', beam_runner='DirectRunner')
su_wiki = datasets.load_dataset('wikipedia', '20200501.su', beam_runner='DirectRunner')
```
And I get the following error for these tw... | https://github.com/huggingface/datasets/issues/784 | [
"Hello, maybe you could ty to use another date for the wikipedia dump (see the available [dates](https://dumps.wikimedia.org/jvwiki) here for `jv`) ?",
"@lhoestq\r\n\r\nI've tried `load_dataset('wikipedia', '20200501.zh', beam_runner='DirectRunner')` and got the same `FileNotFoundError` as @SamuelCahyawijaya.\r\n... | null | 784 | false |
updated links to v1.3 of quail, fixed the description | updated links to v1.3 of quail, fixed the description | https://github.com/huggingface/datasets/pull/783 | [
"we're using quail 1.3 now thanks.\r\nclosing this one"
] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/783",
"html_url": "https://github.com/huggingface/datasets/pull/783",
"diff_url": "https://github.com/huggingface/datasets/pull/783.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/783.patch",
"merged_at": null
} | 783 | true |
Fix metric deletion when attribuets are missing | When you call `del` on a metric we want to make sure that the arrow attributes are not already deleted.
I just added `if hasattr(...)` to make sure it doesn't crash | https://github.com/huggingface/datasets/pull/782 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/782",
"html_url": "https://github.com/huggingface/datasets/pull/782",
"diff_url": "https://github.com/huggingface/datasets/pull/782.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/782.patch",
"merged_at": "2020-10-30T16:47:52"... | 782 | true |
Add XNLI train set | I added the train set that was built using the translated MNLI.
Now you can load the dataset specifying one language:
```python
from datasets import load_dataset
xnli_en = load_dataset("xnli", "en")
print(xnli_en["train"][0])
# {'hypothesis': 'Product and geography are what make cream skimming work .', 'label':... | https://github.com/huggingface/datasets/pull/781 | [
"Hi! Thanks for adding the translated MNLI! Do you know what translations system / model you used when you created the datasets in the other languages?",
"According to the [paper](https://arxiv.org/pdf/1809.05053.pdf) it's the result of the work of professional translators ;)",
"Thanks for getting back to me.\n... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/781",
"html_url": "https://github.com/huggingface/datasets/pull/781",
"diff_url": "https://github.com/huggingface/datasets/pull/781.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/781.patch",
"merged_at": "2020-11-09T18:22:49"... | 781 | true |
Add ASNQ dataset | This pull request adds the ASNQ dataset. It is a dataset for answer sentence selection derived from Google Natural Questions (NQ) dataset (Kwiatkowski et al. 2019). The dataset details can be found in the paper at https://arxiv.org/abs/1911.04118
The dataset is authored by Siddhant Garg, Thuy Vu and Alessandro Mosch... | https://github.com/huggingface/datasets/pull/780 | [
"Very nice !\r\nWhat do the `sentence1` and `sentence2` correspond to exactly ?\r\nAlso maybe you could use the `ClassLabel` feature type for the `label` field (see [snli](https://github.com/huggingface/datasets/blob/master/datasets/snli/snli.py) for example)",
"> What do the `sentence1` and `sentence2` correspon... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/780",
"html_url": "https://github.com/huggingface/datasets/pull/780",
"diff_url": "https://github.com/huggingface/datasets/pull/780.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/780.patch",
"merged_at": "2020-11-10T09:26:23"... | 780 | true |
Feature/fidelity metrics from emnlp2020 evaluating and characterizing human rationales | This metric computes fidelity (Yu et al. 2019, DeYoung et al. 2019) and normalized fidelity (Carton et al. 2020). | https://github.com/huggingface/datasets/pull/779 | [
"Hi ! This looks interesting, thanks for adding it :) \r\n\r\nFor metrics there should only be two features fields: references and predictions.\r\nBoth of them can be defined as you want using nested structures if you need to.\r\nAlso I'm not sure what goes into references and what goes into predictions, could you ... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/779",
"html_url": "https://github.com/huggingface/datasets/pull/779",
"diff_url": "https://github.com/huggingface/datasets/pull/779.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/779.patch",
"merged_at": null
} | 779 | true |
Unexpected behavior when loading cached csv file? | I read a csv file from disk and forgot so specify the right delimiter. When i read the csv file again specifying the right delimiter it had no effect since it was using the cached dataset. I am not sure if this is unwanted behavior since i can always specify `download_mode="force_redownload"`. But i think it would be n... | https://github.com/huggingface/datasets/issues/778 | [
"Hi ! Thanks for reporting.\r\nThe same issue was reported in #730 (but with the encodings instead of the delimiter). It was fixed by #770 .\r\nThe fix will be available in the next release :)",
"Thanks for the prompt reply and terribly sorry for the spam! \r\nLooking forward to the new release! "
] | null | 778 | false |
Better error message for uninitialized metric | When calling `metric.compute()` without having called `metric.add` or `metric.add_batch` at least once, the error was quite cryptic. I added a better error message
Fix #729 | https://github.com/huggingface/datasets/pull/777 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/777",
"html_url": "https://github.com/huggingface/datasets/pull/777",
"diff_url": "https://github.com/huggingface/datasets/pull/777.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/777.patch",
"merged_at": "2020-10-29T15:18:23"... | 777 | true |
Allow custom split names in text dataset | The `text` dataset used to return only splits like train, test and validation. Other splits were ignored.
Now any split name is allowed.
I did the same for `json`, `pandas` and `csv`
Fix #735 | https://github.com/huggingface/datasets/pull/776 | [
"Awesome! This will make the behaviour much more intuitive for some non-standard code.\r\n\r\nThanks!"
] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/776",
"html_url": "https://github.com/huggingface/datasets/pull/776",
"diff_url": "https://github.com/huggingface/datasets/pull/776.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/776.patch",
"merged_at": "2020-10-30T13:23:52"... | 776 | true |
Properly delete metrics when a process is killed | Tests are flaky when using metrics in distributed setup.
There is because of one test that make sure that using two possibly incompatible metric computation (same exp id) either works or raises the right error.
However if the error is raised, all the processes of the metric are killed, and the open files (arrow + loc... | https://github.com/huggingface/datasets/pull/775 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/775",
"html_url": "https://github.com/huggingface/datasets/pull/775",
"diff_url": "https://github.com/huggingface/datasets/pull/775.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/775.patch",
"merged_at": "2020-10-29T14:01:19"... | 775 | true |
[ROUGE] Add description to Rouge metric | Add information about case sensitivity to ROUGE. | https://github.com/huggingface/datasets/pull/774 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/774",
"html_url": "https://github.com/huggingface/datasets/pull/774",
"diff_url": "https://github.com/huggingface/datasets/pull/774.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/774.patch",
"merged_at": "2020-10-29T17:55:48"... | 774 | true |
Adding CC-100: Monolingual Datasets from Web Crawl Data | ## Adding a Dataset
- **Name:** CC-100: Monolingual Datasets from Web Crawl Data
- **Description:** https://twitter.com/alex_conneau/status/1321507120848625665
- **Paper:** https://arxiv.org/abs/1911.02116
- **Data:** http://data.statmt.org/cc-100/
- **Motivation:** A large scale multi-lingual language modeling da... | https://github.com/huggingface/datasets/issues/773 | [
"cc @aconneau ;) ",
"These dataset files are no longer available. https://data.statmt.org/cc-100/ files provided in this link are no longer available. Can anybody fix that issue?\r\n@abhishekkrthakur @yjernite ",
"Hi ! Can you open an issue to report this problem ? This will help keep track of the fix :)",
"... | null | 773 | false |
Fix metric with cache dir | The cache_dir provided by the user was concatenated twice and therefore causing FileNotFound errors.
The tests didn't cover the case of providing `cache_dir=` for metrics because of a stupid issue (it was not using the right parameter).
I remove the double concatenation and I fixed the tests
Fix #728 | https://github.com/huggingface/datasets/pull/772 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/772",
"html_url": "https://github.com/huggingface/datasets/pull/772",
"diff_url": "https://github.com/huggingface/datasets/pull/772.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/772.patch",
"merged_at": "2020-10-29T09:34:42"... | 772 | true |
Using `Dataset.map` with `n_proc>1` print multiple progress bars | When using `Dataset.map` with `n_proc > 1`, only one of the processes should print a progress bar (to make the output readable). Right now, `n_proc` progress bars are printed. | https://github.com/huggingface/datasets/issues/771 | [
"Yes it allows to monitor the speed of each process. Currently each process takes care of one shard of the dataset.\r\n\r\nAt one point we can consider using streaming batches to a pool of processes instead of sharding the dataset in `num_proc` parts. At that point it will be easy to use only one progress bar",
"... | null | 771 | false |
Fix custom builder caching | The cache directory of a dataset didn't take into account additional parameters that the user could specify such as `features` or any parameter of the builder configuration kwargs (ex: `encoding` for the `text` dataset).
To fix that, the cache directory name now has a suffix that depends on all of them.
Fix #730
... | https://github.com/huggingface/datasets/pull/770 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/770",
"html_url": "https://github.com/huggingface/datasets/pull/770",
"diff_url": "https://github.com/huggingface/datasets/pull/770.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/770.patch",
"merged_at": "2020-10-29T09:36:01"... | 770 | true |
How to choose proper download_mode in function load_dataset? | Hi, I am a beginner to datasets and I try to use datasets to load my csv file.
my csv file looks like this
```
text,label
"Effective but too-tepid biopic",3
"If you sometimes like to go to the movies to have fun , Wasabi is a good place to start .",4
"Emerges as something rare , an issue movie that 's so hones... | https://github.com/huggingface/datasets/issues/769 | [
"`download_mode=datasets.GenerateMode.FORCE_REDOWNLOAD` should work.\r\nThis makes me think we we should rename this to DownloadMode.FORCE_REDOWNLOAD. Currently that's confusing",
"Can we just use `features=...` in `load_dataset` for this @lhoestq?",
"Indeed you should use `features` in this case. \r\n```python... | null | 769 | false |
Add a `lazy_map` method to `Dataset` and `DatasetDict` | The library is great, but it would be even more awesome with a `lazy_map` method implemented on `Dataset` and `DatasetDict`. This would apply a function on a give item but when the item is requested. Two use cases:
1. load image on the fly
2. apply a random function and get different outputs at each epoch (like dat... | https://github.com/huggingface/datasets/issues/768 | [
"This is cool! I think some aspects to think about and decide in terms of API are:\r\n- do we allow several methods (chained i guess)\r\n- how do we inspect the currently set method(s)\r\n- how do we control/reset them"
] | null | 768 | false |
Add option for named splits when using ds.train_test_split | ### Feature Request 🚀
Can we add a way to name your splits when using the `.train_test_split` function?
In almost every use case I've come across, I have a `train` and a `test` split in my `DatasetDict`, and I want to create a `validation` split. Therefore, its kinda useless to get a `test` split back from `tra... | https://github.com/huggingface/datasets/issues/767 | [
"Yes definitely we should give more flexibility to control the name of the splits outputted by `train_test_split`.\r\n\r\nRelated is the very interesting feedback from @bramvanroy on how we should improve this method: https://discuss.huggingface.co/t/how-to-split-main-dataset-into-train-dev-test-as-datasetdict/1090... | null | 767 | false |
[GEM] add DART data-to-text generation dataset | ## Adding a Dataset
- **Name:** DART
- **Description:** DART consists of 82,191 examples across different domains with each input being a semantic RDF triple set derived from data records in tables and the tree ontology of the schema, annotated with sentence descriptions that cover all facts in the triple set.
- **P... | https://github.com/huggingface/datasets/issues/766 | [
"Is this a duplicate of #924 ?",
"Yup, closing! Haven't been keeping track of the solved issues during the sprint."
] | null | 766 | false |
[GEM] Add DART data-to-text generation dataset | ## Adding a Dataset
- **Name:** DART
- **Description:** DART consists of 82,191 examples across different domains with each input being a semantic RDF triple set derived from data records in tables and the tree ontology of the schema, annotated with sentence descriptions that cover all facts in the triple set.
- **P... | https://github.com/huggingface/datasets/issues/765 | [] | null | 765 | false |
Adding Issue Template for Dataset Requests | adding .github/ISSUE_TEMPLATE/add-dataset.md | https://github.com/huggingface/datasets/pull/764 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/764",
"html_url": "https://github.com/huggingface/datasets/pull/764",
"diff_url": "https://github.com/huggingface/datasets/pull/764.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/764.patch",
"merged_at": "2020-10-27T17:25:25"... | 764 | true |
Fixed errors in bertscore related to custom baseline | [bertscore version 0.3.6 ](https://github.com/Tiiiger/bert_score) added support for custom baseline files. This update added extra argument `baseline_path` to BERTScorer class as well as some extra boolean parameters `use_custom_baseline` in functions like `get_hash(model, num_layers, idf, rescale_with_baseline, use_cu... | https://github.com/huggingface/datasets/pull/763 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/763",
"html_url": "https://github.com/huggingface/datasets/pull/763",
"diff_url": "https://github.com/huggingface/datasets/pull/763.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/763.patch",
"merged_at": "2020-10-28T17:59:25"... | 763 | true |
[GEM] Add Czech Restaurant data-to-text generation dataset | - Paper: https://www.aclweb.org/anthology/W19-8670.pdf
- Data: https://github.com/UFAL-DSG/cs_restaurant_dataset
- The dataset will likely be part of the GEM benchmark | https://github.com/huggingface/datasets/issues/762 | [] | null | 762 | false |
Downloaded datasets are not usable offline | I've been trying to use the IMDB dataset offline, but after downloading it and turning off the internet it still raises an error from the ```requests``` library trying to reach for the online dataset.
Is this the intended behavior ?
(Sorry, I wrote the the first version of this issue while still on nlp 0.3.0). | https://github.com/huggingface/datasets/issues/761 | [
"Yes currently you need an internet connection because the lib tries to check for the etag of the dataset script online to see if you don't have it locally already.\r\n\r\nIf we add a way to store the etag/hash locally after the first download, it would allow users to first download the dataset with an internet con... | null | 761 | false |
Add meta-data to the HANS dataset | The current version of the [HANS dataset](https://github.com/huggingface/datasets/blob/master/datasets/hans/hans.py) is missing the additional information provided for each example, including the sentence parses, heuristic and subcase. | https://github.com/huggingface/datasets/issues/760 | [] | null | 760 | false |
(Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | https://github.com/huggingface/datasets/issues/759 | [
"Are you running the script on a machine with an internet connection ?",
"Yes , I can browse the url through Google Chrome.",
"Does this HEAD request return 200 on your machine ?\r\n```python\r\nimport requests ... | null | 759 | false |
Process 0 very slow when using num_procs with map to tokenizer | <img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_speci... | https://github.com/huggingface/datasets/issues/758 | [
"Hi ! Thanks for reporting.\r\nIs the distribution of text length of your data evenly distributed across your dataset ? I mean, could it be because the examples in the first part of your dataset are slower to process ?\r\nAlso could how many CPUs can you use for multiprocessing ?\r\n```python\r\nimport multiprocess... | null | 758 | false |
CUDA out of memory | In your dataset ,cuda run out of memory as long as the trainer begins:
however, without changing any other element/parameter,just switch dataset to `LineByLineTextDataset`,everything becames OK.
| https://github.com/huggingface/datasets/issues/757 | [
"Could you provide more details ? What's the code you ran ?",
"```python\r\ntokenizer = FunnelTokenizer.from_pretrained('funnel-transformer/small')\r\n\r\ndef tokenize(batch):\r\n return tokenizer(batch['text'], padding='max_length', truncation=True,max_length=512)\r\n\r\ndataset = load_dataset(\"bookcorpus\",... | null | 757 | false |
Start community-provided dataset docs | Continuation of #736 with clean fork.
#### Old description
This is what I did to get the pseudo-labels updated. Not sure if it generalizes, but I figured I would write it down. It was pretty easy because all I had to do was make properly formatted directories and change URLs.
In slack @thomwolf called it a user-... | https://github.com/huggingface/datasets/pull/756 | [
"Oh, really cool @sshleifer!"
] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/756",
"html_url": "https://github.com/huggingface/datasets/pull/756",
"diff_url": "https://github.com/huggingface/datasets/pull/756.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/756.patch",
"merged_at": "2020-10-26T12:55:19"... | 756 | true |
Start community-provided dataset docs V2 | https://github.com/huggingface/datasets/pull/755 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/755",
"html_url": "https://github.com/huggingface/datasets/pull/755",
"diff_url": "https://github.com/huggingface/datasets/pull/755.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/755.patch",
"merged_at": null
} | 755 | true | |
Use full released xsum dataset | #672 Fix xsum to expand coverage and include IDs
Code based on parser from older version of `datasets/xsum/xsum.py`
@lhoestq | https://github.com/huggingface/datasets/pull/754 | [
"@lhoestq I took a shot at addressing your comments but the build scripts seem to be complaining about not being able to open dummy files. How do I resolve those errors without copying the full dataset into the dummy dir?",
"Could you check that the names of the dummy data files are right ?\r\nYou can use \r\n```... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/754",
"html_url": "https://github.com/huggingface/datasets/pull/754",
"diff_url": "https://github.com/huggingface/datasets/pull/754.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/754.patch",
"merged_at": "2020-10-26T12:56:58"... | 754 | true |
Fix doc links to viewer | It seems #733 forgot some links in the doc :) | https://github.com/huggingface/datasets/pull/753 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/753",
"html_url": "https://github.com/huggingface/datasets/pull/753",
"diff_url": "https://github.com/huggingface/datasets/pull/753.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/753.patch",
"merged_at": "2020-10-23T08:42:11"... | 753 | true |
Clicking on a metric in the search page points to datasets page giving "Missing dataset" warning | Hi! Sorry if this isn't the right place to talk about the website, I just didn't exactly where to write this.
Searching a metric in https://huggingface.co/metrics gives the right results but clicking on a metric (E.g ROUGE) points to https://huggingface.co/datasets/rouge. Clicking on a metric without searching point... | https://github.com/huggingface/datasets/issues/752 | [
"Thanks for the report, can reproduce. Will fix",
"Fixed now @ogabrielluiz "
] | null | 752 | false |
Error loading ms_marco v2.1 using load_dataset() | Code:
`dataset = load_dataset('ms_marco', 'v2.1')`
Error:
```
`---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
<ipython-input-16-34378c057212> in <module>()
9
10 # Downloading and loading a data... | https://github.com/huggingface/datasets/issues/751 | [
"There was a similar issue in #294 \r\nClearing the cache and download again the dataset did the job. Could you try to clear your cache and download the dataset again ?",
"I was able to load the dataset successfully, I'm pretty sure it's just a cache issue that you have.\r\nLet me know if clearing your cache fixe... | null | 751 | false |
load_dataset doesn't include `features` in its hash | It looks like the function `load_dataset` does not include what's passed in the `features` argument when creating a hash for a given dataset. As a result, if a user includes new features from an already downloaded dataset, those are ignored.
Example: some models on the hub have a different ordering for the labels t... | https://github.com/huggingface/datasets/issues/750 | [] | null | 750 | false |
[XGLUE] Adding new dataset | XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | https://github.com/huggingface/datasets/issues/749 | [
"Amazing! ",
"Small poll @thomwolf @yjernite @lhoestq @JetRunner @qiweizhen .\r\n\r\nAs stated in the XGLUE paper: https://arxiv.org/pdf/2004.01401.pdf , for each of the 11 down-stream tasks training data is only available in English, whereas development and test data is available in multiple different language ... | null | 749 | false |
New version of CompGuessWhat?! with refined annotations | This pull request introduces a few fixes to the annotations for VisualGenome in the CompGuessWhat?! original split. | https://github.com/huggingface/datasets/pull/748 | [
"No worries. Always happy to help and thanks for your support in fixing the issue :)"
] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/748",
"html_url": "https://github.com/huggingface/datasets/pull/748",
"diff_url": "https://github.com/huggingface/datasets/pull/748.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/748.patch",
"merged_at": "2020-10-21T08:46:19"... | 748 | true |
Add Quail question answering dataset | QuAIL is a multi-domain RC dataset featuring news, blogs, fiction and user stories. Each domain is represented by 200 texts, which gives us a 4-way data split. The texts are 300-350 word excerpts from CC-licensed texts that were hand-picked so as to make sense to human readers without larger context. Domain diversit... | https://github.com/huggingface/datasets/pull/747 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/747",
"html_url": "https://github.com/huggingface/datasets/pull/747",
"diff_url": "https://github.com/huggingface/datasets/pull/747.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/747.patch",
"merged_at": "2020-10-21T08:35:15"... | 747 | true |
dataset(ngt): add ngt dataset initial loading script | Currently only making the paths to the annotation ELAN (eaf) file and videos available.
This is the first accessible way to download this dataset, which is not manual file-by-file.
Only downloading the necessary files, the annotation files are very small, 20MB for all of them, but the video files are large, 100GB i... | https://github.com/huggingface/datasets/pull/746 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/746",
"html_url": "https://github.com/huggingface/datasets/pull/746",
"diff_url": "https://github.com/huggingface/datasets/pull/746.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/746.patch",
"merged_at": null
} | 746 | true |
Fix emotion description | Fixes the description of the emotion dataset to reflect the class names observed in the data, not the ones described in the paper.
I also took the liberty to make use of `ClassLabel` for the emotion labels. | https://github.com/huggingface/datasets/pull/745 | [
"Hello, I probably have a silly question but the labels of the emotion dataset are in the form of numbers and not string, so I can not use the function classification_report because it mixes numbers and string (prediction). How can I access the label in the form of a string and not a number? \r\nThank you in advanc... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/745",
"html_url": "https://github.com/huggingface/datasets/pull/745",
"diff_url": "https://github.com/huggingface/datasets/pull/745.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/745.patch",
"merged_at": "2020-10-21T08:38:27"... | 745 | true |
Dataset Explorer Doesn't Work for squad_es and squad_it | https://huggingface.co/nlp/viewer/?dataset=squad_es
https://huggingface.co/nlp/viewer/?dataset=squad_it
Both pages show "OSError: [Errno 28] No space left on device". | https://github.com/huggingface/datasets/issues/744 | [
"Oups wrong click.\r\nThis one is for you @srush"
] | null | 744 | false |
load_dataset for CSV files not working | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | https://github.com/huggingface/datasets/issues/743 | [
"Thank you !\r\nCould you provide a csv file that reproduces the error ?\r\nIt doesn't have to be one of your dataset. As long as it reproduces the error\r\nThat would help a lot !",
"I think another good example is the following:\r\n`\r\nfrom datasets import load_dataset\r\n`\r\n`\r\ndataset = load_dataset(\"csv... | null | 743 | false |
Add OCNLI, a new CLUE dataset | OCNLI stands for Original Chinese Natural Language Inference. It is a corpus for
Chinese Natural Language Inference, collected following closely the procedures of MNLI,
but with enhanced strategies aiming for more challenging inference pairs. We want to
emphasize we did not use hu... | https://github.com/huggingface/datasets/pull/742 | [
"Thanks :) merging it"
] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/742",
"html_url": "https://github.com/huggingface/datasets/pull/742",
"diff_url": "https://github.com/huggingface/datasets/pull/742.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/742.patch",
"merged_at": "2020-10-22T16:19:47"... | 742 | true |
Creating dataset consumes too much memory | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | https://github.com/huggingface/datasets/issues/741 | [
"Thanks for reporting.\r\nIn theory since the dataset script is just made to yield examples to write them into an arrow file, it's not supposed to create memory issues.\r\n\r\nCould you please try to run this exact same loop in a separate script to see if it's not an issue with `PIL` ?\r\nYou can just copy paste wh... | null | 741 | false |
Fix TREC urls | The old TREC urls are now redirections.
I updated the urls to the new ones, since we don't support redirections for downloads.
Fix #737 | https://github.com/huggingface/datasets/pull/740 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/740",
"html_url": "https://github.com/huggingface/datasets/pull/740",
"diff_url": "https://github.com/huggingface/datasets/pull/740.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/740.patch",
"merged_at": "2020-10-19T08:54:35"... | 740 | true |
Add wiki dpr multiset embeddings | There are two DPR encoders, one trained on Natural Questions and one trained on a multiset/hybrid dataset.
Previously only the embeddings from the encoder trained on NQ were available. I'm adding the ones from the encoder trained on the multiset/hybrid dataset.
In the configuration you can now specify `embeddings_nam... | https://github.com/huggingface/datasets/pull/739 | [
"I still have to compute the dataset_infos, and build + host the indexes",
"update: I'm computing the metadata, will update the PR soon",
"Finally all green and ready to merge :)"
] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/739",
"html_url": "https://github.com/huggingface/datasets/pull/739",
"diff_url": "https://github.com/huggingface/datasets/pull/739.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/739.patch",
"merged_at": "2020-11-26T14:02:49"... | 739 | true |
Replace seqeval code with original classification_report for simplicity | Recently, the original seqeval has enabled us to get per type scores and overall scores as a dictionary.
This PR replaces the current code with the original function(`classification_report`) to simplify it.
Also, the original code has been updated to fix #352.
- Related issue: https://github.com/chakki-works/seq... | https://github.com/huggingface/datasets/pull/738 | [
"Hello,\r\n\r\nI ran https://github.com/huggingface/transformers/blob/master/examples/token-classification/run.sh\r\n\r\nAnd received this error:\r\n```\r\n100%|██████████| 407/407 [21:37<00:00, 3.44s/it]Traceback (most recent call last):\r\n File \"run_ner.py\", line 445, in <module>\r\n main()\r\n File \"ru... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/738",
"html_url": "https://github.com/huggingface/datasets/pull/738",
"diff_url": "https://github.com/huggingface/datasets/pull/738.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/738.patch",
"merged_at": "2020-10-19T10:31:11"... | 738 | true |
Trec Dataset Connection Error | **Datasets Version:**
1.1.2
**Python Version:**
3.6/3.7
**Code:**
```python
from datasets import load_dataset
load_dataset("trec")
```
**Expected behavior:**
Download Trec dataset and load Dataset object
**Current Behavior:**
Get a connection error saying it couldn't reach http://cogcomp.org/Data/... | https://github.com/huggingface/datasets/issues/737 | [
"Thanks for reporting.\r\nThat's because the download url has changed. The old url now redirects to the new one but we don't support redirection for downloads.\r\n\r\nI'm opening a PR to update the url"
] | null | 737 | false |
Start community-provided dataset docs | This is one I did to get the pseudo-labels updated. Not sure if it generalizes, but I figured I would write it down. It was pretty easy because all I had to do was make properly formatted directories and change URLs.
+ In slack @thomwolf called it a `user-namespace` dataset, but the docs call it `community dataset`... | https://github.com/huggingface/datasets/pull/736 | [
"can you also reference the `--organization` flag like in https://github.com/huggingface/transformers/blob/master/docs/source/model_sharing.rst#upload-your-model-with-the-cli ?",
"done!",
"Not sure if the changes in `datasets/wmt_t2t/wmt_utils.py` are intentional.\r\nIf you want to add more configs to wmt, coul... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/736",
"html_url": "https://github.com/huggingface/datasets/pull/736",
"diff_url": "https://github.com/huggingface/datasets/pull/736.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/736.patch",
"merged_at": null
} | 736 | true |
Throw error when an unexpected key is used in data_files | I have found that only "train", "validation" and "test" are valid keys in the `data_files` argument. When you use any other ones, those attached files are silently ignored - leading to unexpected behaviour for the users.
So the following, unintuitively, returns only one key (namely `train`).
```python
datasets =... | https://github.com/huggingface/datasets/issues/735 | [
"Thanks for reporting !\r\nWe'll add support for other keys"
] | null | 735 | false |
Fix GLUE metric description | Small typo: the description says translation instead of prediction. | https://github.com/huggingface/datasets/pull/734 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/734",
"html_url": "https://github.com/huggingface/datasets/pull/734",
"diff_url": "https://github.com/huggingface/datasets/pull/734.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/734.patch",
"merged_at": "2020-10-15T09:27:42"... | 734 | true |
Update link to dataset viewer | Change 404 error links in quick tour to working ones | https://github.com/huggingface/datasets/pull/733 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/733",
"html_url": "https://github.com/huggingface/datasets/pull/733",
"diff_url": "https://github.com/huggingface/datasets/pull/733.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/733.patch",
"merged_at": "2020-10-14T14:07:31"... | 733 | true |
dataset(wlasl): initial loading script | takes like 9-10 hours to download all of the videos for the dataset, but it does finish :) | https://github.com/huggingface/datasets/pull/732 | [
"Followup: \r\nFrom the info in https://github.com/huggingface/datasets/pull/722, I probably should load the videos as array of frames directly into the database. \r\nThis will make the dataset generation time very long, but will make working with the dataset much easier.",
"When I run:\r\n```\r\npython datasets-... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/732",
"html_url": "https://github.com/huggingface/datasets/pull/732",
"diff_url": "https://github.com/huggingface/datasets/pull/732.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/732.patch",
"merged_at": null
} | 732 | true |
dataset(aslg_pc12): initial loading script | This contains the only current public part of this corpus.
The rest of the corpus is not yet been made public, but this sample is still being used by researchers. | https://github.com/huggingface/datasets/pull/731 | [
"Thanks @lhoestq \r\nAre there any guidelines for the dummy data?\r\nIn this particular case for example, the dataset fetches from two hardcoded URLs. \r\nDo I just `head -n 10` both files and zip them?\r\n\r\n",
"> Thanks @lhoestq\r\n> Are there any guidelines for the dummy data?\r\n> In this particular case for... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/731",
"html_url": "https://github.com/huggingface/datasets/pull/731",
"diff_url": "https://github.com/huggingface/datasets/pull/731.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/731.patch",
"merged_at": "2020-10-28T15:27:06"... | 731 | true |
Possible caching bug | The following code with `test1.txt` containing just "🤗🤗🤗":
```
dataset = datasets.load_dataset('text', data_files=['test1.txt'], split="train", encoding="latin_1")
print(dataset[0])
dataset = datasets.load_dataset('text', data_files=['test1.txt'], split="train", encoding="utf-8")
print(dataset[0])
```
produc... | https://github.com/huggingface/datasets/issues/730 | [
"Thanks for reporting. That's a bug indeed.\r\nApparently only the `data_files` parameter is taken into account right now in `DatasetBuilder._create_builder_config` but it should also be the case for `config_kwargs` (or at least the instantiated `builder_config`)",
"Hi, does this bug be fixed? when I load JSON fi... | null | 730 | false |
Better error message when one forgets to call `add_batch` before `compute` | When using metrics, if for some reason a user forgets to call `add_batch` to a metric before `compute` (with no arguments), the error message is a bit cryptic and could probably be made clearer.
## Reproducer
```python
import datasets
import torch
from datasets import Metric
class GatherMetric(Metric):
... | https://github.com/huggingface/datasets/issues/729 | [] | null | 729 | false |
Passing `cache_dir` to a metric does not work | When passing `cache_dir` to a custom metric, the folder is concatenated to itself at some point and this results in a FileNotFoundError:
## Reproducer
```python
import datasets
import torch
from datasets import Metric
class GatherMetric(Metric):
def _info(self):
return datasets.MetricInfo(
... | https://github.com/huggingface/datasets/issues/728 | [] | null | 728 | false |
Parallel downloads progress bar flickers | When there are parallel downloads using the download manager, the tqdm progress bar flickers since all the progress bars are on the same line.
To fix that we could simply specify `position=i` for i=0 to n the number of files to download when instantiating the tqdm progress bar.
Another way would be to have one "... | https://github.com/huggingface/datasets/issues/727 | [] | null | 727 | false |
"Checksums didn't match for dataset source files" error while loading openwebtext dataset | Hi,
I have encountered this problem during loading the openwebtext dataset:
```
>>> dataset = load_dataset('openwebtext')
Downloading and preparing dataset openwebtext/plain_text (download: 12.00 GiB, generated: 37.04 GiB, post-processed: Unknown size, total: 49.03 GiB) to /home/admin/.cache/huggingface/datasets/op... | https://github.com/huggingface/datasets/issues/726 | [
"Hi try, to provide more information please.\r\n\r\nExample code in a colab to reproduce the error, details on what you are trying to do and what you were expected and details on your environment (OS, PyPi packages version).",
"> Hi try, to provide more information please.\r\n> \r\n> Example code in a colab to re... | null | 726 | false |
pretty print dataset objects | Currently, if I do:
```
from datasets import load_dataset
load_dataset("wikihow", 'all', data_dir="/hf/pegasus-datasets/wikihow/")
```
I get:
```
DatasetDict({'train': Dataset(features: {'text': Value(dtype='string', id=None),
'headline': Value(dtype='string', id=None), 'title': Value(dtype='string',
id=None... | https://github.com/huggingface/datasets/pull/725 | [
"Great, as you found it useful I improved the code a bit to automate indentation in the parent class, so that the child repr doesn't need to guess the indentation level, while repr'ing nicely on its own.\r\n\r\n- do we want indent=4 or 2?\r\n- do we want `{` ... `}` or w/o?\r\n\r\ncurrently it's indent4 and w/ curl... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/725",
"html_url": "https://github.com/huggingface/datasets/pull/725",
"diff_url": "https://github.com/huggingface/datasets/pull/725.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/725.patch",
"merged_at": "2020-10-23T09:00:46"... | 725 | true |
need to redirect /nlp to /datasets and remove outdated info | It looks like the website still has all the `nlp` data, e.g.: https://huggingface.co/nlp/viewer/?dataset=wikihow&config=all
should probably redirect to: https://huggingface.co/datasets/wikihow
also for some reason the new information is slightly borked. If you look at the old one it was nicely formatted and had t... | https://github.com/huggingface/datasets/issues/724 | [
"Should be fixed now: \r\n\r\n\r\n\r\nNot sure I understand what you mean by the second part?\r\n",
"Thank you!\r\n\r\n> Not sure I understand what you mean by the second part?\r\n\r\nCompare the 2:\r\n* htt... | null | 724 | false |
Adding pseudo-labels to datasets | I recently [uploaded pseudo-labels](https://github.com/huggingface/transformers/blob/master/examples/seq2seq/precomputed_pseudo_labels.md) for CNN/DM, XSUM and WMT16-en-ro to s3, and thom mentioned I should add them to this repo.
Since pseudo-labels are just a large model's generations on an existing dataset, what is ... | https://github.com/huggingface/datasets/issues/723 | [
"Nice ! :)\r\nIt's indeed the first time we have such contributions so we'll have to figure out the appropriate way to integrate them.\r\nCould you add details on what they could be used for ?\r\n",
"They can be used as training data for a smaller model.",
"Sounds just like a regular dataset to me then, no?",
... | null | 723 | false |
datasets(RWTH-PHOENIX-Weather 2014 T): add initial loading script | This is the first sign language dataset in this repo as far as I know.
Following an old issue I opened https://github.com/huggingface/datasets/issues/302.
I added the dataset official REAMDE file, but I see it's not very standard, so it can be removed.
| https://github.com/huggingface/datasets/pull/722 | [
"This might be interesting to @kayoyin the author of https://github.com/kayoyin/transformer-slt – pinging you just in case :)",
"Thanks Amit, this is a great idea! I'm thinking of porting the SLT models from my paper here as well, having this dataset would be perfect for that :)",
"Thanks for your contribution,... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/722",
"html_url": "https://github.com/huggingface/datasets/pull/722",
"diff_url": "https://github.com/huggingface/datasets/pull/722.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/722.patch",
"merged_at": null
} | 722 | true |
feat(dl_manager): add support for ftp downloads | I am working on a new dataset (#302) and encounter a problem downloading it.
```python
# This is the official download link from https://www-i6.informatik.rwth-aachen.de/~koller/RWTH-PHOENIX-2014-T/
_URL = "ftp://wasserstoff.informatik.rwth-aachen.de/pub/rwth-phoenix/2016/phoenix-2014-T.v3.tar.gz"
dl_manager.do... | https://github.com/huggingface/datasets/issues/721 | [
"We only support http by default for downloading.\r\nIf you really need to use ftp, then feel free to use a library that allows to download through ftp in your dataset script (I see that you've started working on #722 , that's awesome !). The users will get a message to install the extra library when they load the ... | null | 721 | false |
OSError: Cannot find data file when not using the dummy dataset in RAG | ## Environment info
transformers version: 3.3.1
Platform: Linux-4.19
Python version: 3.7.7
PyTorch version (GPU?): 1.6.0
Tensorflow version (GPU?): No
Using GPU in script?: Yes
Using distributed or parallel set-up in script?: No
## To reproduce
Steps to reproduce the behaviour... | https://github.com/huggingface/datasets/issues/720 | [
"Same issue here. I will be digging further, but it looks like the [script](https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py#L132) is attempting to open a file that is not downloaded yet. \r\n\r\n```\r\n99dcbca09109e58502e6b9271d4d3f3791b43f61f3161a76b25d2775ab1a4498.lock\r\n```\r\n... | null | 720 | false |
Fix train_test_split output format | There was an issue in the `transmit_format` wrapper that returned bad formats when using train_test_split.
This was due to `column_names` being handled as a List[str] instead of Dict[str, List[str]] when the dataset transform (train_test_split) returns a DatasetDict (one set of column names per split).
This should ... | https://github.com/huggingface/datasets/pull/719 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/719",
"html_url": "https://github.com/huggingface/datasets/pull/719",
"diff_url": "https://github.com/huggingface/datasets/pull/719.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/719.patch",
"merged_at": "2020-10-07T13:38:06"... | 719 | true |
Don't use tqdm 4.50.0 | tqdm 4.50.0 introduced permission errors on windows
see [here](https://app.circleci.com/pipelines/github/huggingface/datasets/235/workflows/cfb6a39f-68eb-4802-8b17-2cd5e8ea7369/jobs/1111) for the error details.
For now I just added `<4.50.0` in the setup.py
Hopefully we can find what's wrong with this version soon | https://github.com/huggingface/datasets/pull/718 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/718",
"html_url": "https://github.com/huggingface/datasets/pull/718",
"diff_url": "https://github.com/huggingface/datasets/pull/718.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/718.patch",
"merged_at": "2020-10-06T13:49:22"... | 718 | true |
Fixes #712 Error in the Overview.ipynb notebook | Fixes #712 Error in the Overview.ipynb notebook by adding `with_details=True` parameter to `list_datasets` function in Cell 3 of **overview** notebook | https://github.com/huggingface/datasets/pull/717 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/717",
"html_url": "https://github.com/huggingface/datasets/pull/717",
"diff_url": "https://github.com/huggingface/datasets/pull/717.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/717.patch",
"merged_at": "2020-10-05T16:25:40"... | 717 | true |
Fixes #712 Attribute error in cell 3 of the overview notebook | Fixes the Attribute error in cell 3 of the overview notebook | https://github.com/huggingface/datasets/pull/716 | [
"Referencing the wrong issue # in the commit message. Closing this to fix it again."
] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/716",
"html_url": "https://github.com/huggingface/datasets/pull/716",
"diff_url": "https://github.com/huggingface/datasets/pull/716.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/716.patch",
"merged_at": null
} | 716 | true |
Use python read for text dataset | As mentioned in #622 the pandas reader used for text dataset doesn't work properly when there are \r characters in the text file.
Instead I switched to pure python using `open` and `read`.
From my benchmark on a 100MB text file, it's the same speed as the previous pandas reader. | https://github.com/huggingface/datasets/pull/715 | [
"One thing though, could we try to read the files in parallel?",
"We could but I'm not sure this would help a lot since the bottleneck is the drive IO if the files are big enough.\r\nIt could make sense for very small files.",
"Looks like windows is not a big fan of this approach\r\nI'm working on a fix",
"I ... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/715",
"html_url": "https://github.com/huggingface/datasets/pull/715",
"diff_url": "https://github.com/huggingface/datasets/pull/715.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/715.patch",
"merged_at": "2020-10-05T13:13:16"... | 715 | true |
Add the official dependabot implementation | This will keep dependencies up to date. This will require a pr label `dependencies` being created in order to function correctly. | https://github.com/huggingface/datasets/pull/714 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/714",
"html_url": "https://github.com/huggingface/datasets/pull/714",
"diff_url": "https://github.com/huggingface/datasets/pull/714.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/714.patch",
"merged_at": null
} | 714 | true |
Fix reading text files with carriage return symbols | The new pandas-based text reader isn't able to work properly with files that contain carriage return symbols (`\r`).
It fails with the following error message:
```
...
File "pandas/_libs/parsers.pyx", line 847, in pandas._libs.parsers.TextReader.read
File "pandas/_libs/parsers.pyx", line 874, in pandas._l... | https://github.com/huggingface/datasets/pull/713 | [
"Discussed in #622, fixed in #715. Closing the issue. Thanks @lhoestq, it works now! 👍 "
] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/713",
"html_url": "https://github.com/huggingface/datasets/pull/713",
"diff_url": "https://github.com/huggingface/datasets/pull/713.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/713.patch",
"merged_at": null
} | 713 | true |
Error in the notebooks/Overview.ipynb notebook | Hi,
I got the following error in **cell number 3** while exploring the **Overview.ipynb** notebook in google colab. I used the [link ](https://colab.research.google.com/github/huggingface/datasets/blob/master/notebooks/Overview.ipynb) provided in the main README file to open it in colab.
```python
# You can acc... | https://github.com/huggingface/datasets/issues/712 | [
"Do this:\r\n``` python\r\nsquad_dataset = list_datasets(with_details=True)[datasets.index('squad')]\r\npprint(squad_dataset.__dict__) # It's a simple python dataclass\r\n```",
"Thanks! This worked. I have created a PR to fix this in the notebook. "
] | null | 712 | false |
New Update bertscore.py | https://github.com/huggingface/datasets/pull/711 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/711",
"html_url": "https://github.com/huggingface/datasets/pull/711",
"diff_url": "https://github.com/huggingface/datasets/pull/711.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/711.patch",
"merged_at": "2020-10-05T16:26:51"... | 711 | true | |
fix README typos/ consistency | https://github.com/huggingface/datasets/pull/710 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/710",
"html_url": "https://github.com/huggingface/datasets/pull/710",
"diff_url": "https://github.com/huggingface/datasets/pull/710.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/710.patch",
"merged_at": "2020-10-17T09:52:45"... | 710 | true | |
How to use similarity settings other then "BM25" in Elasticsearch index ? | **QUESTION : How should we use other similarity algorithms supported by Elasticsearch other than "BM25" ?**
**ES Reference**
https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-similarity.html
**HF doc reference:**
https://huggingface.co/docs/datasets/faiss_and_ea.html
**context :**
=... | https://github.com/huggingface/datasets/issues/709 | [
"Datasets does not use elasticsearch API to define custom similarity. If you want to use a custom similarity, the best would be to run a curl request directly to your elasticsearch instance (see sample hereafter, directly from ES documentation), then you should be able to use `my_similarity` in your configuration p... | null | 709 | false |
Datasets performance slow? - 6.4x slower than in memory dataset | I've been very excited about this amazing datasets project. However, I've noticed that the performance can be substantially slower than using an in-memory dataset.
Now, this is expected I guess, due to memory mapping data using arrow files, and you don't get anything for free. But I was surprised at how much slower.... | https://github.com/huggingface/datasets/issues/708 | [
"Facing a similar issue here. My model using SQuAD dataset takes about 1h to process with in memory data and more than 2h with datasets directly.",
"And if you use in-memory-data with datasets with `load_dataset(..., keep_in_memory=True)`?",
"Thanks for the tip @thomwolf ! I did not see that flag in the docs. I... | null | 708 | false |
Requirements should specify pyarrow<1 | I was looking at the docs on [Perplexity](https://huggingface.co/transformers/perplexity.html) via GPT2. When you load datasets and try to load Wikitext, you get the error,
```
module 'pyarrow' has no attribute 'PyExtensionType'
```
I traced it back to datasets having installed PyArrow 1.0.1 but there's not pinni... | https://github.com/huggingface/datasets/issues/707 | [
"Hello @mathcass I would want to work on this issue. May I do the same? ",
"@punitaojha, certainly. Feel free to work on this. Let me know if you need any help or clarity.",
"Hello @mathcass \r\n1. I did fork the repository and clone the same on my local system. \r\n\r\n2. Then learnt about how we can publish o... | null | 707 | false |
Fix config creation for data files with NamedSplit | During config creation, we need to iterate through the data files of all the splits to compute a hash.
To make sure the hash is unique given a certain combination of files/splits, we sort the split names.
However the `NamedSplit` objects can't be passed to `sorted` and currently it raises an error: we need to sort th... | https://github.com/huggingface/datasets/pull/706 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/706",
"html_url": "https://github.com/huggingface/datasets/pull/706",
"diff_url": "https://github.com/huggingface/datasets/pull/706.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/706.patch",
"merged_at": "2020-10-05T08:14:59"... | 706 | true |
TypeError: '<' not supported between instances of 'NamedSplit' and 'NamedSplit' | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.3.1 (installed from master)
- `datasets` version: 1.0.2 (installed as a dependency from transformers)
... | https://github.com/huggingface/datasets/issues/705 | [
"Hi !\r\nThanks for reporting :) \r\nIndeed this is an issue on the `datasets` side.\r\nI'm creating a PR",
"Thanks @lhoestq !"
] | null | 705 | false |
Fix remote tests for new datasets | When adding a new dataset, the remote tests fail because they try to get the new dataset from the master branch (i.e., where the dataset doesn't exist yet)
To fix that I reverted to the use of the HF API that fetch the available datasets on S3 that is synced with the master branch | https://github.com/huggingface/datasets/pull/704 | [] | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/704",
"html_url": "https://github.com/huggingface/datasets/pull/704",
"diff_url": "https://github.com/huggingface/datasets/pull/704.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/704.patch",
"merged_at": "2020-10-02T12:12:01"... | 704 | true |
Add hotpot QA | Added the [HotpotQA](https://github.com/hotpotqa/hotpot) multi-hop question answering dataset.
| https://github.com/huggingface/datasets/pull/703 | [
"Awesome :) \r\n\r\nDon't pay attention to the RemoteDatasetTest error, I'm fixing it right now",
"You can rebase from master to fix the CI test :)",
"If we're lucky we can even include this dataset in today's release",
"Just thinking since `type` can only be `comparison` or `bridge` and `level` can only be `... | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/703",
"html_url": "https://github.com/huggingface/datasets/pull/703",
"diff_url": "https://github.com/huggingface/datasets/pull/703.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/703.patch",
"merged_at": "2020-10-02T12:54:40"... | 703 | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.