html_url
stringlengths
51
51
comments
stringlengths
67
24.7k
title
stringlengths
6
280
body
stringlengths
51
36.2k
comment_length
int64
16
1.45k
text
stringlengths
190
38.3k
embeddings
list
https://github.com/huggingface/datasets/issues/3333
``` # Dataset selection if args.dataset.endswith('.json') or args.dataset.endswith('.jsonl'): dataset_id = None # Load from local json/jsonl file dataset = datasets.load_dataset('json', data_files=args.dataset) # By default, the "json" dataset loader places all examples in the ...
load JSON files, get the errors
Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs/datasets/loading.html `dataset = ...
136
load JSON files, get the errors Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs...
[ 0.11515502631664276, -0.4231144189834595, 0.005127035081386566, 0.5085047483444214, 0.39685001969337463, 0.12313663959503174, 0.1628357172012329, 0.3834850788116455, 0.10976698994636536, -0.16288122534751892, -0.009648747742176056, 0.30283281207084656, -0.16506631672382355, 0.2532165646553...
https://github.com/huggingface/datasets/issues/3333
If your JSON has the same format as the SQuAD dataset, then you need to pass `field="data"` to `load_dataset`, since the SQuAD format is one big JSON object in which the "data" field contains the list of questions and answers. ```python dataset = datasets.load_dataset('json', data_files=args.dataset, field="data") `...
load JSON files, get the errors
Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs/datasets/loading.html `dataset = ...
54
load JSON files, get the errors Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs...
[ 0.1509886234998703, -0.40403956174850464, 0.009308818727731705, 0.4606097638607025, 0.5046643614768982, 0.10764163732528687, 0.10178831964731216, 0.3800487518310547, 0.07050098478794098, -0.08521482348442078, -0.0908840149641037, 0.3143797814846039, -0.07016940414905548, 0.2513687014579773...
https://github.com/huggingface/datasets/issues/3333
Yes, code works. but the format is not as expected. ``` dataset = datasets.load_dataset('json', data_files=args.dataset, field="data") ``` ``` python3 run.py --do_train --task qa --dataset squad --output_dir ./re_trained_model/ ``` ************ train_dataset: Dataset({ features: ['id', 'title', 'context', ...
load JSON files, get the errors
Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs/datasets/loading.html `dataset = ...
88
load JSON files, get the errors Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs...
[ 0.20611277222633362, -0.43059492111206055, 0.014948301017284393, 0.5158008337020874, 0.508405327796936, 0.1291915625333786, 0.145268976688385, 0.41619932651519775, 0.08876588940620422, -0.17168156802654266, -0.10465912520885468, 0.22780758142471313, -0.051955267786979675, 0.288565814495086...
https://github.com/huggingface/datasets/issues/3333
Ok I see, you have the paragraphs so you just need to process them to extract the questions and answers. I think you can process the SQuAD-like data this way: ```python def process_squad(articles): out = { "title": [], "context": [], "question": [], "id": [], "answers...
load JSON files, get the errors
Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs/datasets/loading.html `dataset = ...
135
load JSON files, get the errors Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs...
[ 0.27650249004364014, -0.3245532810688019, -0.004176899790763855, 0.5035704970359802, 0.49132293462753296, 0.12136730551719666, 0.1237286776304245, 0.4133344888687134, -0.07519664615392685, -0.025979898869991302, -0.13011276721954346, 0.33982381224632263, -0.05289546400308609, 0.14872220158...
https://github.com/huggingface/datasets/issues/3333
Yes, this works. But how to get the training output during training the squad by **Trainer** for example https://github.com/huggingface/transformers/blob/master/examples/pytorch/question-answering/trainer_qa.py I want the training inputs, labels, outputs for every epoch and step to produce the training dynamic grap...
load JSON files, get the errors
Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs/datasets/loading.html `dataset = ...
37
load JSON files, get the errors Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs...
[ 0.16368725895881653, -0.5511723756790161, 0.013823524117469788, 0.5805277824401855, 0.5453876852989197, 0.01550835371017456, 0.1837678998708725, 0.3460625410079956, -0.14027857780456543, -0.04441659152507782, -0.10375078022480011, 0.400506854057312, -0.08728322386741638, 0.3356803059577942...
https://github.com/huggingface/datasets/issues/3333
I think you may need to implement your own Trainer, from the `QuestionAnsweringTrainer` for example. This way you can have the flexibility of saving all the inputs/output used at each step
load JSON files, get the errors
Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs/datasets/loading.html `dataset = ...
31
load JSON files, get the errors Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs...
[ 0.11126942187547684, -0.3947232663631439, 0.0247267447412014, 0.4891624450683594, 0.523564875125885, 0.06859061121940613, 0.14182211458683014, 0.4170045852661133, 0.05095601826906204, 0.027766648679971695, -0.037160150706768036, 0.28895458579063416, -0.2010878175497055, 0.4082460403442383,...
https://github.com/huggingface/datasets/issues/3333
> does there have any function to be overwritten to do this? ok, I overwrote the compute_loss, thank you.
load JSON files, get the errors
Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs/datasets/loading.html `dataset = ...
19
load JSON files, get the errors Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs...
[ 0.08151090890169144, -0.3851131498813629, -0.003368232399225235, 0.5282000303268433, 0.47198495268821716, 0.06858609616756439, 0.053432539105415344, 0.32497647404670715, 0.10425098985433578, -0.09135232865810394, -0.05499567091464996, 0.21462978422641754, -0.0638783648610115, 0.33356195688...
https://github.com/huggingface/datasets/issues/3333
Hi, I add one field **example_id**, but I can't see it in the **comput_loss** function, how can I do this? below is the information of inputs ``` *********************** inputs: {'attention_mask': tensor([[1, 1, 1, ..., 0, 0, 0], [1, 1, 1, ..., 0, 0, 0], [1, 1, 1, ..., 0, 0, 0], ..., ...
load JSON files, get the errors
Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs/datasets/loading.html `dataset = ...
576
load JSON files, get the errors Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command `!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/` change the dateset to load json by refering to https://huggingface.co/docs...
[ 0.07343965023756027, -0.4256199896335602, -0.02554946206510067, 0.5651885867118835, 0.47440123558044434, 0.20064008235931396, 0.1329936981201172, 0.3065040409564972, 0.22051608562469482, 0.006253141909837723, 0.028649576008319855, 0.26697251200675964, 0.0389590784907341, 0.1274509876966476...
https://github.com/huggingface/datasets/issues/3331
Hi, the fix was merged and will be available in the next release of `datasets`. In the meantime, you can use it by installing `datasets` directly from master as follows: ``` pip install git+https://github.com/huggingface/datasets.git ```
AttributeError: 'CommunityDatasetModuleFactoryWithoutScript' object has no attribute 'path'
## Describe the bug I add a new question answering dataset to huggingface datasets manually. Here is the link: [luozhouyang/question-answering-datasets](https://huggingface.co/datasets/luozhouyang/question-answering-datasets) But when I load the dataset, an error raised: ```bash AttributeError: 'CommunityDatas...
35
AttributeError: 'CommunityDatasetModuleFactoryWithoutScript' object has no attribute 'path' ## Describe the bug I add a new question answering dataset to huggingface datasets manually. Here is the link: [luozhouyang/question-answering-datasets](https://huggingface.co/datasets/luozhouyang/question-answering-datasets)...
[ -0.2787339687347412, 0.07279607653617859, 0.11283328384160995, 0.41175249218940735, 0.4317402243614197, -0.05015963315963745, 0.15988604724407196, 0.053495995700359344, 0.18383140861988068, 0.17354314029216766, -0.04512549936771393, 0.5018624663352966, -0.24042364954948425, -0.001609466969...
https://github.com/huggingface/datasets/issues/3329
Hi, thanks for reporting. It would be really helpful if you could provide the actual code of the `text_numbers_to_int` function so we can reproduce the error.
Map function: Type error on iter #999
## Describe the bug Using the map function, it throws a type error on iter #999 Here is the code I am calling: ``` dataset = datasets.load_dataset('squad') dataset['validation'].map(text_numbers_to_int, input_columns=['context'], fn_kwargs={'column': 'context'}) ``` text_numbers_to_int returns the input text ...
26
Map function: Type error on iter #999 ## Describe the bug Using the map function, it throws a type error on iter #999 Here is the code I am calling: ``` dataset = datasets.load_dataset('squad') dataset['validation'].map(text_numbers_to_int, input_columns=['context'], fn_kwargs={'column': 'context'}) ``` tex...
[ -0.06956551969051361, -0.2543758451938629, -0.02940966933965683, 0.35938066244125366, 0.14766821265220642, 0.09722964465618134, 0.37812483310699463, 0.3375341296195984, 0.4425683617591858, -0.09956676512956619, 0.10787248611450195, 0.6538010835647583, 0.1616184413433075, 0.1190463677048683...
https://github.com/huggingface/datasets/issues/3329
``` def text_numbers_to_int(text, column=""): """ Convert text numbers to int. :param text: text numbers :return: int """ try: numbers = find_numbers(text) if not numbers: return text result = "" i, j = 0, 0 while i < len(text): ...
Map function: Type error on iter #999
## Describe the bug Using the map function, it throws a type error on iter #999 Here is the code I am calling: ``` dataset = datasets.load_dataset('squad') dataset['validation'].map(text_numbers_to_int, input_columns=['context'], fn_kwargs={'column': 'context'}) ``` text_numbers_to_int returns the input text ...
91
Map function: Type error on iter #999 ## Describe the bug Using the map function, it throws a type error on iter #999 Here is the code I am calling: ``` dataset = datasets.load_dataset('squad') dataset['validation'].map(text_numbers_to_int, input_columns=['context'], fn_kwargs={'column': 'context'}) ``` tex...
[ -0.10126233845949173, -0.2614864408969879, -0.04291689768433571, 0.3601318895816803, 0.1728990375995636, 0.06265251338481903, 0.3584764897823334, 0.3256571888923645, 0.5001991391181946, -0.05290915071964264, 0.05375591665506363, 0.6227622032165527, 0.13810057938098907, 0.064442478120327, ...
https://github.com/huggingface/datasets/issues/3329
Maybe this is because of the `return text` line ? I think it should return a dictionary rather than a string
Map function: Type error on iter #999
## Describe the bug Using the map function, it throws a type error on iter #999 Here is the code I am calling: ``` dataset = datasets.load_dataset('squad') dataset['validation'].map(text_numbers_to_int, input_columns=['context'], fn_kwargs={'column': 'context'}) ``` text_numbers_to_int returns the input text ...
21
Map function: Type error on iter #999 ## Describe the bug Using the map function, it throws a type error on iter #999 Here is the code I am calling: ``` dataset = datasets.load_dataset('squad') dataset['validation'].map(text_numbers_to_int, input_columns=['context'], fn_kwargs={'column': 'context'}) ``` tex...
[ -0.0686895102262497, -0.2696542739868164, -0.04229550436139107, 0.3654261529445648, 0.1748293787240982, 0.05431629717350006, 0.3326849043369293, 0.3805120885372162, 0.4761456251144409, -0.07883735001087189, 0.10804640501737595, 0.6700224280357361, 0.1724001169204712, 0.13023176789283752, ...
https://github.com/huggingface/datasets/issues/3317
Hi, `Dataset.map` allows more generic transforms compared to `Dataset.filter`, which purpose is very specific (to filter examples based on a condition). That's why I don't think we need the `desc` parameter there for consistency. #3196 has added descriptions to the `Dataset` methods that call `.map` internally, but...
Add desc parameter to Dataset filter method
**Is your feature request related to a problem? Please describe.** As I was filtering very large datasets I noticed the filter method doesn't have the desc parameter which is available in the map method. Why don't we add a desc parameter to the filter method both for consistency and it's nice to give some feedback to ...
80
Add desc parameter to Dataset filter method **Is your feature request related to a problem? Please describe.** As I was filtering very large datasets I noticed the filter method doesn't have the desc parameter which is available in the map method. Why don't we add a desc parameter to the filter method both for consi...
[ -0.16747069358825684, 0.14210620522499084, -0.1380550116300583, -0.3212191164493561, 0.1586349755525589, -0.21651627123355865, -0.00882847048342228, 0.23593062162399292, -0.16634002327919006, 0.3248022794723511, 0.24525168538093567, 0.47663283348083496, 0.007642284035682678, 0.072718940675...
https://github.com/huggingface/datasets/issues/3317
I'm personally ok with adding the `desc` parameter actually. Let's say you have different filters, it can be nice to differentiate between the different filters when they're running no ?
Add desc parameter to Dataset filter method
**Is your feature request related to a problem? Please describe.** As I was filtering very large datasets I noticed the filter method doesn't have the desc parameter which is available in the map method. Why don't we add a desc parameter to the filter method both for consistency and it's nice to give some feedback to ...
30
Add desc parameter to Dataset filter method **Is your feature request related to a problem? Please describe.** As I was filtering very large datasets I noticed the filter method doesn't have the desc parameter which is available in the map method. Why don't we add a desc parameter to the filter method both for consi...
[ -0.14401474595069885, 0.00031588971614837646, -0.18415501713752747, -0.29663074016571045, 0.15356585383415222, -0.23089368641376495, 0.0006400821730494499, 0.08762384951114655, 0.01699221134185791, 0.41041356325149536, 0.22751373052597046, 0.33309581875801086, -0.05311274901032448, 0.12192...
https://github.com/huggingface/datasets/issues/3317
@mariosasko the use case is filtering of a dataset prior to tokenization and subsequent training. As the dataset is huge it's just a matter of giving a user (model trainer) some feedback on what's going on. Otherwise, feedback is given for all steps in training preparation and not for filtering and the filtering in my ...
Add desc parameter to Dataset filter method
**Is your feature request related to a problem? Please describe.** As I was filtering very large datasets I noticed the filter method doesn't have the desc parameter which is available in the map method. Why don't we add a desc parameter to the filter method both for consistency and it's nice to give some feedback to ...
96
Add desc parameter to Dataset filter method **Is your feature request related to a problem? Please describe.** As I was filtering very large datasets I noticed the filter method doesn't have the desc parameter which is available in the map method. Why don't we add a desc parameter to the filter method both for consi...
[ -0.2420121729373932, 0.0004969239234924316, -0.12227471172809601, -0.38649386167526245, 0.20718425512313843, -0.20342174172401428, -0.028897009789943695, 0.1976790577173233, 0.00987580418586731, 0.37207964062690735, 0.3573765158653259, 0.2891172170639038, -0.13996201753616333, 0.1705902814...
https://github.com/huggingface/datasets/issues/3317
I don't have a strong opinion on that, so having `desc` as a parameter is also OK.
Add desc parameter to Dataset filter method
**Is your feature request related to a problem? Please describe.** As I was filtering very large datasets I noticed the filter method doesn't have the desc parameter which is available in the map method. Why don't we add a desc parameter to the filter method both for consistency and it's nice to give some feedback to ...
17
Add desc parameter to Dataset filter method **Is your feature request related to a problem? Please describe.** As I was filtering very large datasets I noticed the filter method doesn't have the desc parameter which is available in the map method. Why don't we add a desc parameter to the filter method both for consi...
[ -0.12875203788280487, -0.00553564727306366, -0.18855392932891846, -0.30547642707824707, 0.13591791689395905, -0.27268800139427185, 0.013256581500172615, 0.12853583693504333, 0.04026859253644943, 0.364382266998291, 0.225627601146698, 0.3220195770263672, -0.03922345116734505, 0.1355436742305...
https://github.com/huggingface/datasets/issues/3313
Hi ! You're completely right, this must be mentioned in the dataset card. If you're interesting in contributing, feel free to open a pull request to mention this in the `trivia_qa` dataset card in the "Licensing Information" section at https://github.com/huggingface/datasets/blob/master/datasets/trivia_qa/README.md
TriviaQA License Mismatch
## Describe the bug TriviaQA Webpage at http://nlp.cs.washington.edu/triviaqa/ says they do not own the copyright to the data. However, Huggingface datasets at https://huggingface.co/datasets/trivia_qa mentions that the dataset is released under Apache License Is the License Information on HuggingFace correct?
40
TriviaQA License Mismatch ## Describe the bug TriviaQA Webpage at http://nlp.cs.washington.edu/triviaqa/ says they do not own the copyright to the data. However, Huggingface datasets at https://huggingface.co/datasets/trivia_qa mentions that the dataset is released under Apache License Is the License Informatio...
[ 0.0982675701379776, -0.06615006923675537, -0.008270151913166046, 0.3446458578109741, -0.20295275747776031, 0.11159823834896088, 0.06918160617351532, 0.20625664293766022, -0.2013845592737198, -0.24562403559684753, 0.054437749087810516, 0.17352688312530518, 0.28054994344711304, 0.02633956819...
https://github.com/huggingface/datasets/issues/3310
Hi ! Are you having this issue only with this specific dataset, or it also happens with other ones like `squad` ?
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
22
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.4823269844055176, -0.09418786317110062, -0.12071999162435532, 0.09801718592643738, 0.06664156913757324, -0.07465890794992447, 0.23029311001300812, 0.08071629703044891, 0.049834832549095154, 0.24645690619945526, 0.03144010156393051, 0.6151476502418518, 0.07998727262020111, 0.089944519102...
https://github.com/huggingface/datasets/issues/3310
@lhoestq It happens also on `squad`. It successfully downloads the whole dataset and then crashes on: ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\source\event_loop.c:74: aws_thread_launch(&cleanup_thread, s_event_loop_destroy_async_thread_fn, el_group, &thread_options) == AWS_OP_SUCCES...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
61
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5945264101028442, -0.030062735080718994, -0.05127892270684242, 0.22074458003044128, 0.042004168033599854, 0.04436926543712616, 0.09532273560762405, 0.14426036179065704, 0.12220579385757446, 0.1434798538684845, -0.061634503304958344, 0.5850589871406555, 0.03757007047533989, 0.12055510282...
https://github.com/huggingface/datasets/issues/3310
I see the same error in Windows-10.0.19042 as of a few days ago: `Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\source\event_loop.c:74: aws_thread_launch(&cleanup_thread, s_event_loop_destroy_async_thread_fn, el_group, &thread_options) == AWS_OP_SUCCESS` python 3.8.12 ...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
95
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5499542951583862, -0.05198642611503601, -0.0950804352760315, 0.09246675670146942, 0.035908378660678864, -0.05519692599773407, 0.2764567732810974, 0.12071691453456879, 0.06539076566696167, 0.11750823259353638, -0.04873953387141228, 0.652445375919342, 0.03590303659439087, 0.13385176658630...
https://github.com/huggingface/datasets/issues/3310
I'm not sure what `datasets` has to do with a crash that seems related to `aws-c-io`, could it be an issue with your environment ?
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
25
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5580903887748718, -0.08660516887903214, -0.18001069128513336, 0.23315559327602386, 0.13903966546058655, -0.0578075610101223, 0.10201822221279144, 0.1604059487581253, 0.19599488377571106, 0.2191380262374878, 0.047211386263370514, 0.5035428404808044, -0.08148675411939621, 0.15243968367576...
https://github.com/huggingface/datasets/issues/3310
> I'm not sure what `datasets` has to do with a crash that seems related to `aws-c-io`, could it be an issue with your environment ? Agreed, this issue is not likely a bug in datasets, since I get the identical error without datasets installed.
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
45
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5877726674079895, -0.09856045246124268, -0.1441141664981842, 0.2184799313545227, 0.0923987627029419, -0.047946736216545105, 0.10614883899688721, 0.12261703610420227, 0.21122178435325623, 0.18959154188632965, 0.07087832689285278, 0.5784417390823364, -0.055851928889751434, 0.1429107636213...
https://github.com/huggingface/datasets/issues/3310
Will close this issue. Bug in `aws-c-io` shouldn't be in `datasets` repo. Nevertheless, it can be useful to know that it happens. Thanks @leehaust @lhoestq
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
25
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.49382513761520386, -0.04352495074272156, -0.1619391292333603, 0.11245737969875336, 0.0005887700244784355, 0.026622921228408813, 0.16308361291885376, 0.1379014551639557, 0.1356271654367447, 0.1860264092683792, 0.09343616664409637, 0.5520917773246765, 0.08048972487449646, 0.13540858030319...
https://github.com/huggingface/datasets/issues/3310
I have also had this issue since a few days, when running scripts using PyCharm in particular, but it does not seem to affect the script from running, only reporting this error at the end of the run.
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
38
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.4791858196258545, -0.14203444123268127, -0.1136762797832489, -0.002579575404524803, 0.044774919748306274, -0.06677566468715668, 0.198533833026886, 0.1818036586046219, 0.2750210762023926, 0.17014074325561523, 0.2111242562532425, 0.5673761367797852, -0.04347963631153107, 0.110732115805149...
https://github.com/huggingface/datasets/issues/3310
I also get this issue, It appears after my script has finished running. I get the following error message ``` Fatal error condition occurred in /home/conda/feedstock_root/build_artifacts/aws-c-io_1637179816120/work/source/event_loop.c:72: aws_thread_launch(&cleanup_thread, s_event_loop_destroy_async_thread_fn, el_gro...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
95
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5238193273544312, 0.012454554438591003, -0.1510106325149536, 0.05291850492358208, 0.10228817909955978, -0.056282710283994675, 0.27208277583122253, 0.16474688053131104, 0.13947555422782898, 0.21642808616161346, 0.14497891068458557, 0.6392529010772705, 0.027232304215431213, 0.267942696809...
https://github.com/huggingface/datasets/issues/3310
@CallumMcMahon Do you have a small reproducer for this problem on Linux? I can reproduce this on Windows but sadly not with linux.
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
23
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.4971722364425659, -0.2210782915353775, -0.06424611806869507, 0.17656752467155457, 0.03185417130589485, -0.1087293028831482, 0.17707014083862305, 0.037321873009204865, 0.22821740806102753, 0.2250356823205948, 0.1644737720489502, 0.6636955738067627, -0.06924133002758026, 0.127204626798629...
https://github.com/huggingface/datasets/issues/3310
Any updates on this issue? I started receiving the same error a few days ago on the amazon reviews
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
19
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.4343700706958771, -0.12208420038223267, -0.15394677221775055, 0.14816495776176453, -0.0030957888811826706, -0.006477966904640198, 0.13754001259803772, 0.12875160574913025, 0.12273895740509033, 0.16436755657196045, 0.10050942003726959, 0.5379977822303772, -0.012942798435688019, 0.1247830...
https://github.com/huggingface/datasets/issues/3310
Hi, I also ran into this issue, Windows only. It caused our massive binary to minidump left and right, very annoying. When the program is doing an exit, the destructors in the exit-handlers want to do cleanup, leading to code in event_loop.c, on line 73-ish: AWS_FATAL_ASSERT( aws_thread_launch(&cleanup...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
254
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.49875929951667786, -0.13013431429862976, -0.0736263170838356, -0.009045733138918877, 0.022727403789758682, -0.08680174499750137, 0.0005763554945588112, 0.054153814911842346, 0.16722841560840607, 0.09147817641496658, 0.04081995040178299, 0.3720354735851288, -0.13673049211502075, -0.08037...
https://github.com/huggingface/datasets/issues/3310
I also encountered the same problem, but I made an error in the multi gpu training environment on Linux, and the single gpu training environment will not make an error. i use accelerate package to do multi gpu training.
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
39
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.49629080295562744, -0.24677437543869019, -0.09241665154695511, 0.21509623527526855, 0.040648043155670166, -0.02971835434436798, 0.22802649438381195, 0.060972996056079865, 0.19507423043251038, 0.2801218032836914, 0.15151405334472656, 0.5374240875244141, 0.05272960290312767, 0.18558716773...
https://github.com/huggingface/datasets/issues/3310
> I also get this issue, It appears after my script has finished running. I get the following error message > > ``` > Fatal error condition occurred in /home/conda/feedstock_root/build_artifacts/aws-c-io_1637179816120/work/source/event_loop.c:72: aws_thread_launch(&cleanup_thread, s_event_loop_destroy_async_thread_...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
130
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5284793972969055, -0.02222740650177002, -0.1463598906993866, 0.060359422117471695, 0.09439635276794434, -0.039779871702194214, 0.23536355793476105, 0.17027060687541962, 0.12577220797538757, 0.1951903998851776, 0.15364104509353638, 0.6447405815124512, 0.021385405212640762, 0.287829130887...
https://github.com/huggingface/datasets/issues/3310
Potentially related AWS issue: https://github.com/aws/aws-sdk-cpp/issues/1809 Ran into this issue today while training a BPE tokenizer on a dataset. Train code: ```python """Train a ByteLevelBPETokenizer based on a given dataset. The dataset must be on the HF Hub. This script is adaptated from the Transform...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
384
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.36103129386901855, -0.215486079454422, -0.055434707552194595, 0.09325222671031952, 0.20296050608158112, -0.13803181052207947, 0.2029222697019577, 0.22175225615501404, -0.08248107880353928, 0.24296866357326508, 0.1661905199289322, 0.42358335852622986, -0.12692171335220337, 0.101700328290...
https://github.com/huggingface/datasets/issues/3310
There is also a discussion here https://issues.apache.org/jira/browse/ARROW-15141 where it is suggested for conda users to use an older version of aws-sdk-cpp: `aws-sdk-cpp=1.8.186`
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
22
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5172089338302612, -0.015936151146888733, -0.18255198001861572, 0.07571373134851456, -0.03214125335216522, -0.12084793299436569, 0.14777742326259613, 0.30936554074287415, -0.26536843180656433, 0.18760305643081665, -0.013480424880981445, 0.6191982626914978, 0.10232730209827423, 0.20539739...
https://github.com/huggingface/datasets/issues/3310
First of all, I’d never call a downgrade a solution, at most a (very) temporary workaround. Furthermore: This bug also happens outside pyarrow, I incorporate AWS in a standalone Windows C-program and that crashes during exit. From: Bo-Ru (Roy) Lu ***@***.***> Sent: Thursday, 15 September 2022 01:12 To: huggingfac...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
111
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.4274822473526001, -0.0425320565700531, -0.06162787228822708, 0.15320278704166412, 0.06636111438274384, -0.07815511524677277, 0.1457185298204422, 0.2517719268798828, 0.019105292856693268, 0.15186497569084167, -0.044226713478565216, 0.4903034567832947, 0.0432291142642498, 0.05354788899421...
https://github.com/huggingface/datasets/issues/3310
> First of all, I’d never call a downgrade a solution, at most a (very) temporary workaround. Very much so! It looks like an apparent fix for the underlying problem [might](https://github.com/awslabs/aws-c-io/pull/515) have landed, but it sounds like it might still be a bit of a [lift](https://github.com/aws/aws-sdk...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
97
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.4347535967826843, 0.20532816648483276, -0.10007898509502411, -0.03934679180383682, 0.06288149952888489, -0.2164609581232071, 0.2270580381155014, 0.3497106730937958, -0.4086265563964844, 0.12738889455795288, 0.03852227330207825, 0.6778660416603088, 0.08586256206035614, 0.1817566454410553...
https://github.com/huggingface/datasets/issues/3310
For pip people, I confirmed that installing the nightly version of pyarrow also solves this by: `pip install --extra-index-url https://pypi.fury.io/arrow-nightlies/ --prefer-binary --pre pyarrow --upgrade`. (See https://arrow.apache.org/docs/python/install.html#installing-nightly-packages) Any version after https://gi...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
33
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5543765425682068, -0.053331270813941956, -0.1378559172153473, 0.006221257150173187, 0.005573108792304993, -0.13947270810604095, 0.2062346190214157, 0.18193650245666504, -0.12260928750038147, 0.1315668374300003, 0.09868581593036652, 0.6705359816551208, -0.028023045510053635, -0.086093105...
https://github.com/huggingface/datasets/issues/3310
> Furthermore: This bug also happens outside pyarrow, I incorporate AWS in a standalone Windows C-program and that crashes during exit. Do you have a reproducer you could share? I'd like to test if the new versions that supposedly solve this actually do, but we don't have a way to test it...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
52
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5232229828834534, -0.028474852442741394, -0.05149788409471512, 0.13050734996795654, 0.041737914085388184, -0.16737240552902222, 0.11898911744356155, 0.017690762877464294, -0.062439728528261185, 0.18209895491600037, 0.007511008530855179, 0.6296736598014832, 0.017952289432287216, 0.044663...
https://github.com/huggingface/datasets/issues/3310
Hi, No – sorry. It is part of a massive eco-system which cannot easily be shared. But I think the problem was summarized quite clearly: Windows does not allow a CreateThread while doing ExitProcess. The cleanup that gets called as part of the exit handler code tries to start a thread, the fatal-assert on that caus...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
281
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5608280897140503, -0.09233599156141281, -0.04112622141838074, 0.12283571064472198, 0.07065027952194214, -0.007627233862876892, -0.1301504671573639, -0.03248482942581177, 0.17842446267604828, 0.009046699851751328, -0.11684393137693405, 0.3910350799560547, -0.08151011168956757, 0.07985541...
https://github.com/huggingface/datasets/issues/3310
> No – sorry. It is part of a massive eco-system which cannot easily be shared. OK, was worth a try... > The fix I applied simply removes that fatal assert, that solves the problem for me. This seems to be what https://github.com/awslabs/aws-c-io/pull/515 did upstream. > I’ll try and upgrade to the latest A...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
86
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5257659554481506, -0.134237602353096, -0.1562095284461975, -0.01119590550661087, 0.02597484365105629, -0.2224203497171402, 0.1745503842830658, 0.14611183106899261, 0.14904172718524933, 0.2245813012123108, 0.09475400298833847, 0.5475192666053772, 0.025451716035604477, 0.253539115190506, ...
https://github.com/huggingface/datasets/issues/3310
Hi, I also encountered the same problem, but I made an error on Ubuntu without using `datasets` as @Crabzmatic he wrote. At that time, I find my version of pyarrow is 9.0.0, which is different from as follow: > https://github.com/huggingface/datasets/issues/3310#issuecomment-1247390774 > Downgrading pyarrow to 6....
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
171
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.2915405333042145, -0.13059499859809875, -0.027238337323069572, 0.13220514357089996, 0.2502243220806122, -0.15269187092781067, 0.12212058901786804, 0.16002236306667328, -0.22092032432556152, 0.12881667912006378, 0.05030202120542526, 0.3853165805339813, -0.10665605962276459, 0.09900549799...
https://github.com/huggingface/datasets/issues/3310
> I get the following error message: Not sure what's going on, but that shouldn't happen, especially as we're pinning to a version that should avoid this. Can you please open an issue https://github.com/conda-forge/arrow-cpp-feedstock, including the requested output of `conda list` & `conda info`?
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
44
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.47094273567199707, 0.03983469307422638, -0.17927280068397522, 0.09311236441135406, 0.02738751843571663, -0.033343300223350525, 0.12890850007534027, 0.2111429125070572, -0.11504596471786499, 0.09166716784238815, 0.0434526726603508, 0.6520823240280151, -0.006590580567717552, 0.30770030617...
https://github.com/huggingface/datasets/issues/3310
pyarrow 10.0.1 was just released in conda-forge, which is the first release where we're building against aws-sdk-cpp 1.9.* again after more than a year. Since we cannot test the failure reported here on our infra, I'd be very grateful if someone could verify that the problem does or doesn't reappear. 🙃 ``` conda ...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
58
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.5115067362785339, 0.05841304361820221, -0.1406438648700714, 0.0534956194460392, 0.003712667152285576, -0.1854524165391922, 0.15796895325183868, 0.2026396244764328, -0.2969543933868408, 0.10708467662334442, -0.03009040653705597, 0.6872545480728149, 0.08424393832683563, 0.1138658821582794...
https://github.com/huggingface/datasets/issues/3310
> pyarrow 10.0.1 was just released in conda-forge, which is the first release where we're building against aws-sdk-cpp 1.9.* again after more than a year. Since we cannot test the failure reported here on our infra, I'd be very grateful if someone could verify that the problem does or doesn't reappear. 🙃 > > ``` >...
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
77
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.502738893032074, 0.08050340414047241, -0.11854910105466843, 0.03806963190436363, 0.009393570944666862, -0.21154716610908508, 0.13696496188640594, 0.2259255349636078, -0.2872236967086792, 0.10712645947933197, 0.029288172721862793, 0.6965424418449402, 0.09427286684513092, 0.10076929628849...
https://github.com/huggingface/datasets/issues/3310
@liuchaoqun, with `pip install pyarrow` you don't get aws-bindings, they're too complicated to package into wheels as far as I know. And even if they're packaged, at the time of the release of pyarrow 10 it would have still been pinned to aws 1.8 for the same reasons as in this issue.
Fatal error condition occurred in aws-c-io
## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou...
52
Fatal error condition occurred in aws-c-io ## Describe the bug Fatal error when using the library ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en') ``` ## Expected results No fatal errors ## Actual results ``` Fatal error condition occur...
[ -0.46732059121131897, 0.044980570673942566, -0.09802404046058655, -0.010774515569210052, 0.07762123644351959, -0.0957200899720192, 0.29814720153808594, 0.22185362875461578, -0.15474146604537964, 0.19869396090507507, -0.11724507808685303, 0.6865644454956055, -0.036471396684646606, 0.0444808...
https://github.com/huggingface/datasets/issues/3308
Hi ! Thanks for reporting :) We can easily add the metadata for `chr_en` IMO, but for mC4 it will take more time, since it requires to count the number of examples in each language
"dataset_infos.json" missing for chr_en and mc4
## Describe the bug In the repository, every dataset has its metadata in a file called`dataset_infos.json`. But, this file is missing for two datasets: `chr_en` and `mc4`. ## Steps to reproduce the bug Check [chr_en](https://github.com/huggingface/datasets/tree/master/datasets/chr_en) and [mc4](https://github.com/...
35
"dataset_infos.json" missing for chr_en and mc4 ## Describe the bug In the repository, every dataset has its metadata in a file called`dataset_infos.json`. But, this file is missing for two datasets: `chr_en` and `mc4`. ## Steps to reproduce the bug Check [chr_en](https://github.com/huggingface/datasets/tree/mas...
[ 0.11932161450386047, -0.18112710118293762, -0.02790592797100544, 0.3837454319000244, 0.21583345532417297, 0.20187528431415558, -0.054183654487133026, 0.15737920999526978, -0.3296631872653961, 0.24879047274589539, 0.0808396264910698, 0.24990975856781006, -0.000033974647521972656, 0.06384860...
https://github.com/huggingface/datasets/issues/3308
No problem. I am trying to do some analysis on the metadata of all available datasets. Is reading `metadata_infos.json` for each dataset the correct way to go? I noticed that the same information is also available as special variables inside .py file of each dataset. So, I was wondering if `metadata_infos.json` has...
"dataset_infos.json" missing for chr_en and mc4
## Describe the bug In the repository, every dataset has its metadata in a file called`dataset_infos.json`. But, this file is missing for two datasets: `chr_en` and `mc4`. ## Steps to reproduce the bug Check [chr_en](https://github.com/huggingface/datasets/tree/master/datasets/chr_en) and [mc4](https://github.com/...
55
"dataset_infos.json" missing for chr_en and mc4 ## Describe the bug In the repository, every dataset has its metadata in a file called`dataset_infos.json`. But, this file is missing for two datasets: `chr_en` and `mc4`. ## Steps to reproduce the bug Check [chr_en](https://github.com/huggingface/datasets/tree/mas...
[ 0.26209741830825806, -0.12497296184301376, -0.1153000146150589, 0.4680541753768921, 0.09236054867506027, 0.1910526603460312, 0.00189531734213233, 0.20541298389434814, -0.45939040184020996, -0.02790471911430359, -0.028120823204517365, 0.21106261014938354, -0.17272934317588806, -0.1559250652...
https://github.com/huggingface/datasets/issues/3308
The `dataset_infos.json` files have more information and are made to be used to analyze the datasets without having to run/parse the python scripts. Moreover some datasets on the Hugging face don't even have a python script, and for those ones we'll make tools to generate the JSON file automatically :)
"dataset_infos.json" missing for chr_en and mc4
## Describe the bug In the repository, every dataset has its metadata in a file called`dataset_infos.json`. But, this file is missing for two datasets: `chr_en` and `mc4`. ## Steps to reproduce the bug Check [chr_en](https://github.com/huggingface/datasets/tree/master/datasets/chr_en) and [mc4](https://github.com/...
50
"dataset_infos.json" missing for chr_en and mc4 ## Describe the bug In the repository, every dataset has its metadata in a file called`dataset_infos.json`. But, this file is missing for two datasets: `chr_en` and `mc4`. ## Steps to reproduce the bug Check [chr_en](https://github.com/huggingface/datasets/tree/mas...
[ 0.14249588549137115, -0.3361811637878418, -0.0471009835600853, 0.2993091344833374, 0.19074933230876923, 0.14611853659152985, -0.003960483707487583, 0.26328200101852417, -0.11925508081912994, 0.2591181993484497, 0.03568800538778305, 0.23330163955688477, -0.0015296675264835358, 0.19964110851...
https://github.com/huggingface/datasets/issues/3304
The issue is due to the older version of transformers and datasets. It has been resolved by upgrading their versions. ``` # upgrade transformers and datasets to latest versions !pip install --upgrade transformers !pip install --upgrade datasets ``` Regards!
Dataset object has no attribute `to_tf_dataset`
I am following HuggingFace Course. I am at Fine-tuning a model. Link: https://huggingface.co/course/chapter3/2?fw=tf I use tokenize_function and `map` as mentioned in the course to process data. `# define a tokenize function` `def Tokenize_function(example):` ` return tokenizer(example['sentence'], truncat...
39
Dataset object has no attribute `to_tf_dataset` I am following HuggingFace Course. I am at Fine-tuning a model. Link: https://huggingface.co/course/chapter3/2?fw=tf I use tokenize_function and `map` as mentioned in the course to process data. `# define a tokenize function` `def Tokenize_function(example):` ...
[ -0.22932617366313934, -0.08005622774362564, 0.07444398105144501, 0.11203740537166595, 0.6455808877944946, 0.23197706043720245, 0.11288831382989883, 0.27504679560661316, -0.12733730673789978, -0.027142837643623352, -0.04098878055810928, 0.3272250294685364, -0.3555477261543274, 0.31330031156...
https://github.com/huggingface/datasets/issues/3303
> > Input: > > ``` > tokenizer = AutoTokenizer.from_pretrained(checkpoint) > data_collator = DataCollatorWithPadding(tokenizer=tokenizer, return_tensors="tf") > ``` > > Output: > > ``` > TypeError Traceback (most recent call last) > /tmp/ipykernel_42/1563280798.py in <m...
DataCollatorWithPadding: TypeError
Hi, I am following the HuggingFace course. I am now at Fine-tuning [https://huggingface.co/course/chapter3/3?fw=tf](https://huggingface.co/course/chapter3/3?fw=tf). When I set up `DataCollatorWithPadding` as following I got an error while trying to reproduce the course code in Kaggle. This error occurs with either a ...
100
DataCollatorWithPadding: TypeError Hi, I am following the HuggingFace course. I am now at Fine-tuning [https://huggingface.co/course/chapter3/3?fw=tf](https://huggingface.co/course/chapter3/3?fw=tf). When I set up `DataCollatorWithPadding` as following I got an error while trying to reproduce the course code in Kag...
[ 0.09074695408344269, -0.40775614976882935, 0.12177512049674988, 0.27057233452796936, 0.399409681558609, -0.10754469782114029, 0.3337469696998596, 0.2486715465784073, -0.15625876188278198, 0.20497027039527893, 0.2183447927236557, 0.37737196683883667, -0.1649314910173416, 0.10045590251684189...
https://github.com/huggingface/datasets/issues/3300
Hi ! In the next version of `datasets`, your train and test splits will be correctly separated (changes from #3027) if you create a dataset repository with only your CSV files. Also it seems that you overwrite the `data_files` and `data_dir` arguments in your code, when you instantiate the AGNewsConfig objects. Thos...
❓ Dataset loading script from Hugging Face Hub
Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to the original dataset. However, in trying to do s...
133
❓ Dataset loading script from Hugging Face Hub Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to...
[ -0.10139492154121399, -0.26823151111602783, 0.04813789576292038, 0.2958104610443115, 0.005004210397601128, 0.20304089784622192, 0.31857728958129883, 0.07782408595085144, 0.6256754398345947, 0.16798248887062073, -0.2501527667045593, -0.00956464558839798, -0.08215221762657166, 0.415183752775...
https://github.com/huggingface/datasets/issues/3300
Also I think the viewer will be updated when you fix the dataset script, let me know if it doesn't
❓ Dataset loading script from Hugging Face Hub
Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to the original dataset. However, in trying to do s...
20
❓ Dataset loading script from Hugging Face Hub Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to...
[ -0.06348803639411926, -0.37727290391921997, 0.030289754271507263, 0.2885510325431824, -0.0027500446885824203, 0.20526672899723053, 0.293076753616333, 0.07063563168048859, 0.6545085906982422, 0.17458388209342957, -0.19520679116249084, -0.023192839697003365, -0.11694185435771942, 0.461490392...
https://github.com/huggingface/datasets/issues/3300
Hi @lhoestq, Thanks a lot for the super quick answer! Your suggestion solves my issue. I am now able to load the dataset properly 🚀 However, the dataviewer is not working yet. Really, thanks a lot for your help and consideration! Best, Pietro
❓ Dataset loading script from Hugging Face Hub
Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to the original dataset. However, in trying to do s...
43
❓ Dataset loading script from Hugging Face Hub Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to...
[ -0.06767001748085022, -0.35833704471588135, 0.022483933717012405, 0.2893785834312439, -0.021864136680960655, 0.17639657855033875, 0.3361324071884155, 0.05782678350806236, 0.6890068054199219, 0.17156901955604553, -0.21087436378002167, -0.0025718696415424347, -0.12061797827482224, 0.46421429...
https://github.com/huggingface/datasets/issues/3300
@lhoestq I think I am having a related problem. My call to load_dataset() looks like this: ``` datasets = load_dataset( os.path.abspath(layoutlmft.data.datasets.xfun.__file__), f"xfun.{data_args.lang}", additional_langs=data_args.additional_langs, keep_in_memory=True, ...
❓ Dataset loading script from Hugging Face Hub
Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to the original dataset. However, in trying to do s...
173
❓ Dataset loading script from Hugging Face Hub Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to...
[ -0.06870729476213455, -0.38111448287963867, 0.04665527492761612, 0.3227539360523224, 0.009962370619177818, 0.16866959631443024, 0.3243078291416168, 0.07138378173112869, 0.6673386693000793, 0.2038329839706421, -0.22035831212997437, -0.0036802180111408234, -0.06763528287410736, 0.41043007373...
https://github.com/huggingface/datasets/issues/3300
Hi ! The `gen_kwargs` dictionary is passed to `_generate_examples`, so in your case it must be defined this way: ```python def _generate_examples(self, filepath): ... ``` And here is an additional tip: you can use `os.path.join(downloaded_file, "dataset/testing_data")` instead of `f"downloaded_file}/dataset/...
❓ Dataset loading script from Hugging Face Hub
Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to the original dataset. However, in trying to do s...
64
❓ Dataset loading script from Hugging Face Hub Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to...
[ -0.04994084686040878, -0.3830171227455139, 0.040472760796546936, 0.29239383339881897, 0.014370588585734367, 0.2027336061000824, 0.2845098078250885, 0.08540505170822144, 0.6453068852424622, 0.2024911642074585, -0.18620659410953522, 0.0076824091374874115, -0.10776178538799286, 0.445158362388...
https://github.com/huggingface/datasets/issues/3300
Thanks for you quick reply @lhoestq and so sorry for my very delayed response. We have gotten around the error another way but I will try to duplicate this when I can. We may have had "filepaths" instead of "filepath" in our def of _generate_examples() and not noticed the difference. If I find a more useful answer f...
❓ Dataset loading script from Hugging Face Hub
Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to the original dataset. However, in trying to do s...
93
❓ Dataset loading script from Hugging Face Hub Hi there, I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to...
[ -0.07174861431121826, -0.35059696435928345, 0.03830921649932861, 0.32804784178733826, 0.031930916011333466, 0.19880928099155426, 0.32330235838890076, 0.10173553973436356, 0.6908875703811646, 0.21112336218357086, -0.17663797736167908, -0.01751979999244213, -0.11545631289482117, 0.4286899268...
https://github.com/huggingface/datasets/issues/3299
Hi! Not yet, would you be interested in contributing a PR? I can give you some pointers if needed.
Add option to find unique elements in nested sequences when calling `Dataset.unique`
It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that situation.~~
19
Add option to find unique elements in nested sequences when calling `Dataset.unique` It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that...
[ -0.23646774888038635, -0.4973713755607605, -0.1973291039466858, -0.019770126789808273, -0.07678455114364624, 0.1397458016872406, -0.25002816319465637, 0.2588548958301544, -0.04954852908849716, 0.17132504284381866, 0.19754531979560852, 0.30133047699928284, -0.1415896713733673, 0.22067515552...
https://github.com/huggingface/datasets/issues/3299
@mariosasko did this ever get implemented? Willing to help if you are still up for it.
Add option to find unique elements in nested sequences when calling `Dataset.unique`
It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that situation.~~
16
Add option to find unique elements in nested sequences when calling `Dataset.unique` It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that...
[ -0.2162034511566162, -0.4795309901237488, -0.19333651661872864, 0.02557390183210373, -0.09528631716966629, 0.07261691987514496, -0.09976732730865479, 0.22642782330513, 0.0050954148173332214, 0.2609366178512573, 0.22479933500289917, 0.2977757155895233, -0.13401606678962708, 0.17590796947479...
https://github.com/huggingface/datasets/issues/3299
@dcruiz01 No, but here is an example of how to do this with the existing API: ```python ds = Dataset.from_dict({"tokens": [["a", "b"], ["c", "a"], ["c", "e"]]}) def flatten_tokens(pa_table): return pa.table([pc.list_flatten(pa_table["tokens"])], ["flat_tokens"]) ds = ds.with_format("arrow") ds = ds.ma...
Add option to find unique elements in nested sequences when calling `Dataset.unique`
It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that situation.~~
63
Add option to find unique elements in nested sequences when calling `Dataset.unique` It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that...
[ -0.23226726055145264, -0.467379093170166, -0.17021586000919342, -0.013166483491659164, -0.2012559473514557, 0.201496884226799, -0.10047450661659241, 0.24046897888183594, -0.02382713183760643, 0.04097987711429596, 0.12913985550403595, 0.4734283685684204, -0.1586027443408966, 0.1997363865375...
https://github.com/huggingface/datasets/issues/3298
Hi ! Thanks for reporting We've already fixed the code that generates the preview for this dataset, we'll release the fix soon :)
Agnews dataset viewer is not working
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/ag_news Hi there, the `ag_news` dataset viewer is not working. Am I the one who added this dataset? No
23
Agnews dataset viewer is not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/ag_news Hi there, the `ag_news` dataset viewer is not working. Am I the one who added this dataset? No Hi ! Thanks for reporting We've already fixed the code that generates ...
[ -0.4043063521385193, -0.026424095034599304, 0.00036875903606414795, 0.1476445496082306, 0.04355063661932945, 0.1333726942539215, 0.3327426016330719, 0.31446176767349243, 0.06983694434165955, 0.1123041957616806, -0.1420614868402481, 0.0911887139081955, 0.0224873386323452, 0.2090034037828445...
https://github.com/huggingface/datasets/issues/3297
Hi ! Thanks for reporting. Indeed this is a current limitation of the usage we have of `dill` in `datasets`. I'd suggest you use your workaround for now until we find a way to fix this. Maybe functions that are not coming from a module not installed with pip should be dumped completely, rather than only taking their lo...
.map() cache is wrongfully reused - only happens when the mapping function is imported
## Describe the bug When `.map` is used with a mapping function that is imported, the cache is reused even if the mapping function has been modified. The reason for this is that `dill` that is used for creating the fingerprint [pickles imported functions by reference](https://stackoverflow.com/a/67851411). I guess...
61
.map() cache is wrongfully reused - only happens when the mapping function is imported ## Describe the bug When `.map` is used with a mapping function that is imported, the cache is reused even if the mapping function has been modified. The reason for this is that `dill` that is used for creating the fingerprint [p...
[ 0.10230094194412231, -0.10667542368173599, 0.023120325058698654, 0.08790399879217148, 0.1407020390033722, 0.04736454784870148, 0.39401715993881226, 0.31970518827438354, 0.2703636884689331, 0.026743009686470032, -0.29996758699417114, 0.4735357463359833, 0.22659942507743835, -0.3539209663867...
https://github.com/huggingface/datasets/issues/3297
I agree. Sounds like a solution for it would be pretty dirty, even [cloudpickle](https://stackoverflow.com/a/16891169) doesn't help in this case. In the meanwhile I think that adding a warning and the workaround somewhere in the documentation can be helpful.
.map() cache is wrongfully reused - only happens when the mapping function is imported
## Describe the bug When `.map` is used with a mapping function that is imported, the cache is reused even if the mapping function has been modified. The reason for this is that `dill` that is used for creating the fingerprint [pickles imported functions by reference](https://stackoverflow.com/a/67851411). I guess...
38
.map() cache is wrongfully reused - only happens when the mapping function is imported ## Describe the bug When `.map` is used with a mapping function that is imported, the cache is reused even if the mapping function has been modified. The reason for this is that `dill` that is used for creating the fingerprint [p...
[ 0.10230094194412231, -0.10667542368173599, 0.023120325058698654, 0.08790399879217148, 0.1407020390033722, 0.04736454784870148, 0.39401715993881226, 0.31970518827438354, 0.2703636884689331, 0.026743009686470032, -0.29996758699417114, 0.4735357463359833, 0.22659942507743835, -0.3539209663867...
https://github.com/huggingface/datasets/issues/3297
For anyone interested, I see that with `dill==0.3.6` the workaround I suggested doesn't work anymore. I opened an issue about it: https://github.com/uqfoundation/dill/issues/572.
.map() cache is wrongfully reused - only happens when the mapping function is imported
## Describe the bug When `.map` is used with a mapping function that is imported, the cache is reused even if the mapping function has been modified. The reason for this is that `dill` that is used for creating the fingerprint [pickles imported functions by reference](https://stackoverflow.com/a/67851411). I guess...
22
.map() cache is wrongfully reused - only happens when the mapping function is imported ## Describe the bug When `.map` is used with a mapping function that is imported, the cache is reused even if the mapping function has been modified. The reason for this is that `dill` that is used for creating the fingerprint [p...
[ 0.10230094194412231, -0.10667542368173599, 0.023120325058698654, 0.08790399879217148, 0.1407020390033722, 0.04736454784870148, 0.39401715993881226, 0.31970518827438354, 0.2703636884689331, 0.026743009686470032, -0.29996758699417114, 0.4735357463359833, 0.22659942507743835, -0.3539209663867...
https://github.com/huggingface/datasets/issues/3295
Hi ! Good catch and thanks for opening a PR :) I just responded in your PR
Temporary dataset_path for remote fs URIs not built properly in arrow_dataset.py::load_from_disk
## Describe the bug When trying to build a temporary dataset path from a remote URI in this block of code: https://github.com/huggingface/datasets/blob/42f6b1d18a4a1b6009b6e62d115491be16dfca22/src/datasets/arrow_dataset.py#L1038-L1042 the result is not the expected when passing an absolute path in an URI like `h...
17
Temporary dataset_path for remote fs URIs not built properly in arrow_dataset.py::load_from_disk ## Describe the bug When trying to build a temporary dataset path from a remote URI in this block of code: https://github.com/huggingface/datasets/blob/42f6b1d18a4a1b6009b6e62d115491be16dfca22/src/datasets/arrow_datas...
[ 0.03695623576641083, -0.055298224091529846, 0.023463144898414612, 0.21661940217018127, 0.23282542824745178, -0.3071340322494507, 0.2497992217540741, -0.04079064726829529, -0.12968362867832184, -0.04365313798189163, 0.13558387756347656, 0.18186824023723602, 0.05517100915312767, -0.509262800...
https://github.com/huggingface/datasets/issues/3292
Hi ! Indeed it looks like the code snippet on the Hugging face Hub doesn't show the second parameter ![image](https://user-images.githubusercontent.com/42851186/142649237-45ba55c5-1a64-4c30-8692-2c8120572f92.png) Thanks for reporting, I'm taking a look
Not able to load 'wikipedia' dataset
## Describe the bug I am following the instruction for loading the wikipedia dataset using datasets. However getting the below error. ## Steps to reproduce the bug from datasets import load_dataset dataset = load_dataset("wikipedia") ``` ## Expected results A clear and concise description of the expected res...
27
Not able to load 'wikipedia' dataset ## Describe the bug I am following the instruction for loading the wikipedia dataset using datasets. However getting the below error. ## Steps to reproduce the bug from datasets import load_dataset dataset = load_dataset("wikipedia") ``` ## Expected results A clear and ...
[ -0.07625004649162292, 0.14339643716812134, -0.05065677687525749, 0.36148715019226074, 0.15565355122089386, 0.37283116579055786, 0.3982861638069153, 0.24250027537345886, 0.18628659844398499, 0.06740741431713104, 0.11267107725143433, 0.34314632415771484, 0.08507005870342255, -0.0809759125113...
https://github.com/huggingface/datasets/issues/3285
The IEMOCAP dataset is private and available only on request. ``` To obtain the IEMOCAP data you just need to fill out an electronic release form below. ``` - [Request form](https://sail.usc.edu/iemocap/release_form.php) - [License ](https://sail.usc.edu/iemocap/Data_Release_Form_IEMOCAP.pdf) > We do not sh...
Add IEMOCAP dataset
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
80
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructio...
[ -0.3974730372428894, -0.10452389717102051, -0.16263920068740845, 0.019415024667978287, -0.05533847212791443, -0.11475442349910736, 0.580841064453125, 0.05183840170502663, 0.09897077828645706, 0.3002893328666687, -0.4795854389667511, 0.09580743312835693, -0.19673724472522736, 0.453691244125...
https://github.com/huggingface/datasets/issues/3285
Hi @dnaveenr ! We can contact the authors to see if they are interested in hosting the dataset on the Hub. In the meantime, feel free to work on a script with manual download.
Add IEMOCAP dataset
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
34
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructio...
[ -0.4055473208427429, -0.22969934344291687, -0.18075597286224365, 0.0004847794771194458, -0.07485277950763702, -0.05785910040140152, 0.5305742621421814, 0.18253889679908752, 0.16522271931171417, 0.30681148171424866, -0.3846268057823181, 0.0953107476234436, -0.273280531167984, 0.490740537643...
https://github.com/huggingface/datasets/issues/3285
Hi @mariosasko . Thanks for your response. Sure, I will mail them and find out if they're open to this. Work on a script with manual download ? This is new to me, any guidelines would be helpful here.
Add IEMOCAP dataset
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
39
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructio...
[ -0.3969154953956604, -0.09302174299955368, -0.16691569983959198, -0.0267271026968956, -0.05109994485974312, -0.06382972002029419, 0.417733371257782, 0.09901092946529388, 0.18408000469207764, 0.22578826546669006, -0.3469269573688507, 0.0741996169090271, -0.2861621379852295, 0.53105551004409...
https://github.com/huggingface/datasets/issues/3285
> Thanks for your response. Sure, I will mail them and find out if they're open to this. It's best to leave this part to us because we have to explain how login would work and (potentially) set up a custom verification for the dataset. > Work on a script with manual download ? This is new to me, any guidelines wo...
Add IEMOCAP dataset
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
100
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructio...
[ -0.19763286411762238, -0.168425515294075, -0.0636766254901886, 0.017522843554615974, 0.04931311309337616, -0.07717634737491608, 0.3879880905151367, -0.020906765013933182, 0.22262462973594666, 0.1589048206806183, -0.31429532170295715, 0.1245032474398613, -0.2589573860168457, 0.4931375384330...
https://github.com/huggingface/datasets/issues/3285
> It's best to leave this part to us because we have to explain how login would work and (potentially) set up a custom verification for the dataset. Yes. That would be perfect. Thanks. ---- Okay. Thanks for giving a reference. This is helpful. I will go through it.
Add IEMOCAP dataset
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
49
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructio...
[ -0.2882092595100403, -0.149791419506073, -0.16369423270225525, -0.007033703848719597, -0.036126140505075455, -0.11274393647909164, 0.5733914375305176, -0.07195715606212616, 0.11405666917562485, 0.27055424451828003, -0.30420419573783875, -0.015604905784130096, -0.1448671668767929, 0.4219712...
https://github.com/huggingface/datasets/issues/3285
@mariosasko has this been solved? I would like to use login and custom verification for training on my private dataset.
Add IEMOCAP dataset
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
20
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructio...
[ -0.12680019438266754, 0.11343544721603394, 0.027377448976039886, 0.15640492737293243, 0.030530400574207306, -0.10809978097677231, 0.7614241242408752, -0.1332753449678421, 0.06842092424631119, 0.2602846324443817, -0.3794521689414978, -0.043749891221523285, -0.03868071362376213, 0.4949880242...
https://github.com/huggingface/datasets/issues/3285
@mariosasko Thanks, but no. I would like to keep my HuggingFace Dataset private and train a model on it. Is this possible?
Add IEMOCAP dataset
## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructions to add a new datase...
22
Add IEMOCAP dataset ## Adding a Dataset - **Name:** IEMOCAP - **Description:** acted, multimodal and multispeaker database - **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf - **Data:** https://sail.usc.edu/iemocap/index.html - **Motivation:** Useful multimodal dataset cc @anton-l Instructio...
[ -0.19322210550308228, -0.10533154010772705, 0.041850995272397995, 0.25100648403167725, 0.07254554331302643, 0.08445356786251068, 0.6518778800964355, -0.09288522601127625, 0.02153553068637848, 0.020382996648550034, -0.61033695936203, -0.060263585299253464, -0.3142668306827545, 0.62079459428...
https://github.com/huggingface/datasets/issues/3282
Hi ! Thanks for reporting :) I think this is because the dataset is behind an access page. We can fix the dataset viewer If you also have this error when you use the `datasets` library in python, you should probably pass `use_auth_token=True` to the `load_dataset()` function to use your account to access the datase...
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py
## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download any language from the oscar-corpus/OSCAR-2109 dataset. By entering the URL in your browser I can access the file.* ...
55
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py ## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download a...
[ -0.20276513695716858, 0.1993870586156845, -0.017374660819768906, 0.3850066363811493, 0.276526540517807, 0.17231257259845734, -0.005311080254614353, 0.22693228721618652, -0.11762796342372894, 0.19206739962100983, -0.2589605450630188, -0.007093414664268494, 0.19795775413513184, -0.0506282597...
https://github.com/huggingface/datasets/issues/3282
Ah ok, I didn't realise about the login page. I'll try `use_auth_token=True` and see if that solves it. Regards!
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py
## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download any language from the oscar-corpus/OSCAR-2109 dataset. By entering the URL in your browser I can access the file.* ...
19
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py ## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download a...
[ -0.14265763759613037, 0.15587037801742554, 0.00609840452671051, 0.33921414613723755, 0.2724204659461975, 0.12594416737556458, -0.0063696205615997314, 0.19402626156806946, -0.144515261054039, 0.20942839980125427, -0.21142923831939697, -0.1045745462179184, 0.21274958550930023, 0.000354059040...
https://github.com/huggingface/datasets/issues/3282
Hi, Using `use_auth_token=True` and downloading the credentials with `huggingface-cli login` (stored in .huggingface/token) solved the issue. Should I leave the issue open until you fix the Dataset viewer issue?
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py
## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download any language from the oscar-corpus/OSCAR-2109 dataset. By entering the URL in your browser I can access the file.* ...
29
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py ## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download a...
[ -0.16486810147762299, 0.1433243751525879, 0.029134295880794525, 0.3350147604942322, 0.27384212613105774, 0.074924036860466, -0.004863359034061432, 0.17289672791957855, -0.19658657908439636, 0.16076725721359253, -0.24759411811828613, -0.06617439538240433, 0.0811842828989029, 0.0479794889688...
https://github.com/huggingface/datasets/issues/3282
Cool ! Yes let's keep this issue open until the viewer is fixed - I'll close it when this is fixed. Thanks
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py
## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download any language from the oscar-corpus/OSCAR-2109 dataset. By entering the URL in your browser I can access the file.* ...
22
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py ## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download a...
[ -0.22987359762191772, 0.2996892035007477, 0.01597607135772705, 0.3480393588542938, 0.2428966611623764, 0.0843782126903534, 0.028975071385502815, 0.21517100930213928, -0.19251836836338043, 0.15969479084014893, -0.20041826367378235, -0.04559875279664993, 0.09618162363767624, -0.0956308841705...
https://github.com/huggingface/datasets/issues/3282
The error I get when trying to load OSCAR 21.09 is this ``` ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py ``` The URL I get in the browser is this ``` https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/blob/main/OSCAR-2109.py ``` Mayb...
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py
## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download any language from the oscar-corpus/OSCAR-2109 dataset. By entering the URL in your browser I can access the file.* ...
38
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py ## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download a...
[ -0.16342952847480774, 0.2305828183889389, 0.024413950741291046, 0.3770049214363098, 0.09095495939254761, 0.030726276338100433, 0.06392227113246918, 0.22147125005722046, -0.24260686337947845, 0.2597852349281311, -0.21404442191123962, -0.1690789759159088, 0.1428036391735077, -0.0072289779782...
https://github.com/huggingface/datasets/issues/3282
> The error I get when trying to load OSCAR 21.09 is this > > ``` > ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py > ``` > > The URL I get in the browser is this > > ``` > https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/blob/main/OS...
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py
## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download any language from the oscar-corpus/OSCAR-2109 dataset. By entering the URL in your browser I can access the file.* ...
75
ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py ## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)* *The dataset library cannot download a...
[ -0.16387367248535156, 0.10318882763385773, 0.055886611342430115, 0.4317852258682251, 0.14870791137218475, 0.08593984693288803, -0.025599978864192963, 0.22207610309123993, -0.21098515391349792, 0.22742518782615662, -0.28973934054374695, -0.16319765150547028, 0.11376141011714935, 0.077996313...
https://github.com/huggingface/datasets/issues/3272
Hi ! Sure this is open for any contributor. If you're interested feel free to self-assign this issue to you by commenting `#self-assign`. Then if you have any question or if I can help, feel free to ping me. To begin with, feel free to take a look at both implementations of `iter_archive` for local downloads and for...
Make iter_archive work with ZIP files
Currently users can use `dl_manager.iter_archive` in their dataset script to iterate over all the files of a TAR archive. It would be nice if it could work with ZIP files too !
103
Make iter_archive work with ZIP files Currently users can use `dl_manager.iter_archive` in their dataset script to iterate over all the files of a TAR archive. It would be nice if it could work with ZIP files too ! Hi ! Sure this is open for any contributor. If you're interested feel free to self-assign this issue...
[ -0.5271629691123962, 0.1634650081396103, -0.08822956681251526, 0.15864095091819763, -0.0910506546497345, -0.09600627422332764, 0.13648216426372528, 0.425911009311676, -0.02668599784374237, 0.09313466399908066, -0.05150293931365013, 0.6554415822029114, -0.12108853459358215, 0.47058445215225...
https://github.com/huggingface/datasets/issues/3269
Hi @ZhaofengWu, thanks for reporting. Unfortunately, I'm not able to reproduce your bug: ```python In [1]: from datasets import load_dataset In [2]: ds = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.91MB/s] Downloading: 1.79kB [00:00, 1.79MB/s] Using custom data configuration default Downloading and p...
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
180
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
I'm getting the same error in two separate environments: ``` - `datasets` version: 1.15.1 - Platform: Linux-5.4.0-84-generic-x86_64-with-debian-bullseye-sid - Python version: 3.7.11 - PyArrow version: 6.0.0 ``` ``` - `datasets` version: 1.15.1 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.9....
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
43
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
I'm sorry, but don't get to reproduce the error in the Linux environment. @mariosasko @lhoestq can you reproduce it?
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
19
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
I also can't reproduce the error on Windows/Linux (tested both the master and the `1.15.1` version).
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
16
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
Maybe the file had issues during the download ? Could you try to delete your cache and try again ? By default the downloads cache is at `~/.cache/huggingface/datasets/downloads` Also can you check if you have a proxy that could prevent the download to succeed ? Are you able to download those files via your browser ...
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
56
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
I got the same error in a third environment (google cloud) as well. The internet for these three environments are all different so I don't think that's the reason. ``` - `datasets` version: 1.12.1 - Platform: Linux-5.11.0-1022-gcp-x86_64-with-glibc2.31 - Python version: 3.9.7 - PyArrow version: 6.0.0 ``` I delet...
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
380
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
I can run your notebook fine, but if I create one myself, it has that error: https://colab.research.google.com/drive/107GIdhrauPO6ZiFDY7G9S74in4qqI2Kx?usp=sharing. It's so funny -- it's like whenever you guys run it it's fine but whenever I run it it fails, whatever the environment is.
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
41
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
I guess it must be some connection issue: the data owner may be blocking requests coming from your country or IP range...
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
22
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
I mean, I don't think google colab sends the connection from my IP. Same applies to google cloud.
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
18
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
Hello, I am having the same error with @ZhaofengWu first with "social bias frames" dataset. As I found this report, I tried also "coqa" and it fails as well. I test this on Google Colab. ``` - `datasets` version: 1.15.1 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.12 - Py...
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
82
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
Hi, still not able to reproduce the issue with `coqa`. If you still have this issue, could you please run these additional commands ? ```python >>> import os >>> from hashlib import md5 >>> from datasets.utils import DownloadManager, DownloadConfig >>> path = DownloadManager(download_config=DownloadConfig(use_etag...
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
169
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
``` >>> import os >>> from hashlib import md5 >>> from datasets.utils import DownloadManager, DownloadConfig >>> path = DownloadManager(download_config=DownloadConfig(use_etag=False)).download("https://nlp.stanford.edu/data/coqa/coqa-dev-v1.0.json") # it returns the cached file >>> os.path.getsize(path) 222 >>>...
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
114
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
`wget https://nlp.stanford.edu/data/coqa/coqa-dev-v1.0.json` does work. So I suspect there might be some problem in `datasets`' networking code? Can you give me some snippet that simulates how `datasets` requests the resource which I can run on my end?
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
36
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
Ok This is an issue with the server that hosts the data at `https://nlp.stanford.edu/nlp/data` that randomly returns 503 (by trying several times it also happens on my side), hopefully it can be fixed soon. I'll try to reach the people in charge of hosting the data
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
46
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3269
You're right. I just opened a PR that would show this error if it happens again: ```python ConnectionError: Couldn't reach https://nlp.stanford.edu/data/coqa/coqa-dev-v1.0.json (error 503) ```
coqa NonMatchingChecksumError
``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
24
coqa NonMatchingChecksumError ``` >>> from datasets import load_dataset >>> dataset = load_dataset("coqa") Downloading: 3.82kB [00:00, 1.26MB/s] ...
[ -0.29344314336776733, -0.16965606808662415, -0.23772850632667542, 0.1443958282470703, 0.17530304193496704, -0.032203175127506256, 0.10853216052055359, 0.3469724655151367, 0.16129887104034424, 0.34507614374160767, -0.12422342598438263, 0.016303330659866333, 0.13270676136016846, 0.3179678916...
https://github.com/huggingface/datasets/issues/3268
Hi ! I think the issue comes from this [line](https://huggingface.co/datasets/liweili/c4_200m/blob/main/c4_200m.py#L87): ```python path = filepath + "/*.tsv*" ``` You can fix this by doing this instead: ```python path = os.path.join(filepath, "/*.tsv*") ``` Here is why: Locally you can append `"/*.tsv*"`...
Dataset viewer issue for 'liweili/c4_200m'
## Dataset viewer issue for '*liweili/c4_200m*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/liweili/c4_200m)* *Server Error* ``` Status code: 404 Exception: Status404Error Message: Not found. Maybe the cache is missing, or maybe the ressource does not exist. ``` ...
149
Dataset viewer issue for 'liweili/c4_200m' ## Dataset viewer issue for '*liweili/c4_200m*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/liweili/c4_200m)* *Server Error* ``` Status code: 404 Exception: Status404Error Message: Not found. Maybe the cache is missing, ...
[ -0.24548403918743134, 0.1612444967031479, -0.004789378494024277, 0.3759571313858032, 0.20064109563827515, 0.08352963626384735, 0.017746448516845703, 0.26145458221435547, -0.2173461616039276, 0.09122525155544281, -0.31345826387405396, 0.15735489130020142, 0.007984515279531479, 0.21522632241...
https://github.com/huggingface/datasets/issues/3268
hi @lhoestq ! thanks for the tip! i've updated the line of code but it's still not working. am i doing something else wrong? thank you!
Dataset viewer issue for 'liweili/c4_200m'
## Dataset viewer issue for '*liweili/c4_200m*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/liweili/c4_200m)* *Server Error* ``` Status code: 404 Exception: Status404Error Message: Not found. Maybe the cache is missing, or maybe the ressource does not exist. ``` ...
26
Dataset viewer issue for 'liweili/c4_200m' ## Dataset viewer issue for '*liweili/c4_200m*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/liweili/c4_200m)* *Server Error* ``` Status code: 404 Exception: Status404Error Message: Not found. Maybe the cache is missing, ...
[ -0.20487210154533386, 0.3397708833217621, -0.043979354202747345, 0.4539772868156433, -0.032356686890125275, 0.18522712588310242, 0.22573372721672058, 0.13273636996746063, -0.1553964763879776, 0.13121697306632996, -0.187198206782341, 0.06239966303110123, -0.07240058481693268, 0.039349466562...
https://github.com/huggingface/datasets/issues/3268
Hi ! Your dataset code is all good now :) ```python In [1]: from datasets import load_dataset In [2]: d = load_dataset("liweili/c4_200m", streaming=True) Downloading: 100%|█████████████████████████████████████████████| 2.79k/2.79k [00:00<00:00, 4.83MB/s] Using custom data configuration default In [3]: next(it...
Dataset viewer issue for 'liweili/c4_200m'
## Dataset viewer issue for '*liweili/c4_200m*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/liweili/c4_200m)* *Server Error* ``` Status code: 404 Exception: Status404Error Message: Not found. Maybe the cache is missing, or maybe the ressource does not exist. ``` ...
73
Dataset viewer issue for 'liweili/c4_200m' ## Dataset viewer issue for '*liweili/c4_200m*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/liweili/c4_200m)* *Server Error* ``` Status code: 404 Exception: Status404Error Message: Not found. Maybe the cache is missing, ...
[ -0.40076905488967896, 0.514101505279541, -0.08499690890312195, 0.39881306886672974, 0.09002918750047684, 0.13644403219223022, 0.17925551533699036, 0.3091337978839874, -0.21089105308055878, 0.03213585913181305, -0.11873474717140198, 0.07652170956134796, -0.15026770532131195, 0.1407316923141...
https://github.com/huggingface/datasets/issues/3265
Using `dataset = load_dataset("kilt_tasks", "wow", ignore_verifications=True)` may fix it, but I do not think it is a elegant solution.
Checksum error for kilt_task_wow
## Describe the bug Checksum failed when downloads kilt_tasks_wow. See error output for details. ## Steps to reproduce the bug ```python import datasets datasets.load_datasets('kilt_tasks','wow') ``` ## Expected results Download successful ## Actual results ``` Downloading and preparing dataset kilt_ta...
19
Checksum error for kilt_task_wow ## Describe the bug Checksum failed when downloads kilt_tasks_wow. See error output for details. ## Steps to reproduce the bug ```python import datasets datasets.load_datasets('kilt_tasks','wow') ``` ## Expected results Download successful ## Actual results ``` Downlo...
[ -0.012825846672058105, -0.27812182903289795, -0.09309122711420059, 0.2878222167491913, 0.3997596502304077, -0.08288006484508514, 0.23995228111743927, 0.5319927334785461, 0.3643353283405304, 0.1832445114850998, 0.04763037711381912, 0.34542781114578247, 0.06783086061477661, 0.387045383453369...
https://github.com/huggingface/datasets/issues/3265
Hi @slyviacassell, thanks for reporting. Yes, there is an issue with the checksum verification. I'm fixing it. And as you pointed out, in the meantime, you can circumvent the problem by passing `ignore_verifications=True`.
Checksum error for kilt_task_wow
## Describe the bug Checksum failed when downloads kilt_tasks_wow. See error output for details. ## Steps to reproduce the bug ```python import datasets datasets.load_datasets('kilt_tasks','wow') ``` ## Expected results Download successful ## Actual results ``` Downloading and preparing dataset kilt_ta...
33
Checksum error for kilt_task_wow ## Describe the bug Checksum failed when downloads kilt_tasks_wow. See error output for details. ## Steps to reproduce the bug ```python import datasets datasets.load_datasets('kilt_tasks','wow') ``` ## Expected results Download successful ## Actual results ``` Downlo...
[ -0.012825846672058105, -0.27812182903289795, -0.09309122711420059, 0.2878222167491913, 0.3997596502304077, -0.08288006484508514, 0.23995228111743927, 0.5319927334785461, 0.3643353283405304, 0.1832445114850998, 0.04763037711381912, 0.34542781114578247, 0.06783086061477661, 0.387045383453369...
https://github.com/huggingface/datasets/issues/3264
#take I am willing to fix this. Links can be replaced for WikiAuto Manual and jeopardy with new ones provided by authors. As for the definite_pronoun_resolution URL, a certificate error seems to be preventing a download. I have the files on my local machine. I can include them in the dataset folder as the files are...
Downloading URL change for WikiAuto Manual, jeopardy and definite_pronoun_resolution
## Describe the bug - WikiAuto Manual The original manual datasets with the following downloading URL in this [repository](https://github.com/chaojiang06/wiki-auto) was [deleted](https://github.com/chaojiang06/wiki-auto/commit/0af9b066f2b4e02726fb8a9be49283c0ad25367f) by the author. ``` https://github.com/chaoj...
60
Downloading URL change for WikiAuto Manual, jeopardy and definite_pronoun_resolution ## Describe the bug - WikiAuto Manual The original manual datasets with the following downloading URL in this [repository](https://github.com/chaojiang06/wiki-auto) was [deleted](https://github.com/chaojiang06/wiki-auto/commit/0a...
[ 0.12740889191627502, -0.1285836398601532, 0.033600613474845886, 0.09520011395215988, 0.16930705308914185, 0.0601077526807785, 0.20484685897827148, 0.21171621978282928, -0.201964870095253, 0.3956473469734192, -0.04657657817006111, 0.06932318210601807, 0.16392894089221954, -0.132487386465072...
https://github.com/huggingface/datasets/issues/3264
> #take I am willing to fix this. Links can be replaced for WikiAuto Manual and jeopardy. > > As for the definite_pronoun_resolution URL, a certificate error seems to be preventing a download. I have the files on my local machine. Anyone has opinions on whether it is preferable for me to host them somewhere (e.g. pe...
Downloading URL change for WikiAuto Manual, jeopardy and definite_pronoun_resolution
## Describe the bug - WikiAuto Manual The original manual datasets with the following downloading URL in this [repository](https://github.com/chaojiang06/wiki-auto) was [deleted](https://github.com/chaojiang06/wiki-auto/commit/0af9b066f2b4e02726fb8a9be49283c0ad25367f) by the author. ``` https://github.com/chaoj...
113
Downloading URL change for WikiAuto Manual, jeopardy and definite_pronoun_resolution ## Describe the bug - WikiAuto Manual The original manual datasets with the following downloading URL in this [repository](https://github.com/chaojiang06/wiki-auto) was [deleted](https://github.com/chaojiang06/wiki-auto/commit/0a...
[ 0.12740889191627502, -0.1285836398601532, 0.033600613474845886, 0.09520011395215988, 0.16930705308914185, 0.0601077526807785, 0.20484685897827148, 0.21171621978282928, -0.201964870095253, 0.3956473469734192, -0.04657657817006111, 0.06932318210601807, 0.16392894089221954, -0.132487386465072...
https://github.com/huggingface/datasets/issues/3261
Hi ! I think this is because `iter_archive` doesn't support ZIP files yet. See https://github.com/huggingface/datasets/issues/3272 You can navigate into the archive this way instead: ```python # in split_generators data_dir = dl_manager.download_and_extract(url) train_filepath = os.path.join(data_dir, "all-sci-f...
Scifi_TV_Shows: Having trouble getting viewer to find appropriate files
## Dataset viewer issue for '*Science Fiction TV Show Plots Corpus (Scifi_TV_Shows)*' **Link:** [link](https://huggingface.co/datasets/lara-martin/Scifi_TV_Shows) I tried adding both a script (https://huggingface.co/datasets/lara-martin/Scifi_TV_Shows/blob/main/Scifi_TV_Shows.py) and some dummy examples (https:/...
56
Scifi_TV_Shows: Having trouble getting viewer to find appropriate files ## Dataset viewer issue for '*Science Fiction TV Show Plots Corpus (Scifi_TV_Shows)*' **Link:** [link](https://huggingface.co/datasets/lara-martin/Scifi_TV_Shows) I tried adding both a script (https://huggingface.co/datasets/lara-martin/Sc...
[ -0.2578960657119751, 0.10723677277565002, 0.0246642604470253, 0.3973903954029083, 0.009912321344017982, 0.1714859902858734, -0.09496061503887177, 0.437774121761322, 0.19724228978157043, -0.037698209285736084, -0.24375015497207642, 0.06375540792942047, -0.37112361192703247, 0.24520978331565...