html_url stringlengths 48 51 | title stringlengths 5 280 | comments stringlengths 63 51.8k | body stringlengths 0 36.2k ⌀ | comment_length int64 16 1.52k | text stringlengths 159 54.1k | embeddings listlengths 768 768 |
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | <s>I think this is because the tokenizer is stateful and because the order in which the splits are processed is not deterministic. Because of that, the hash of the tokenizer may change for certain splits, which causes issues with caching.
To fix this we can try making the order of the splits deterministic for map.</... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 55 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.1935841590166092,
0.2576528787612915,
0.060329560190439224,
0.14392969012260437,
0.08865352720022202,
-0.012037020176649094,
0.2372729778289795,
0.23071351647377014,
-0.1739625632762909,
-0.09237633645534515,
0.09441735595464706,
0.41973957419395447,
0.14737102389335632,
-0.498831033706... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Actually this is not because of the order of the splits, but most likely because the tokenizer used to process the second split is in a state that has been modified by the first split.
Therefore after reloading the first split from the cache, then the second split can't be reloaded since the tokenizer hasn't seen th... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 81 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.19861415028572083,
0.2466835081577301,
0.06692971289157867,
0.1183692216873169,
0.08003734052181244,
0.012468487024307251,
0.2719796895980835,
0.21437114477157593,
-0.19359126687049866,
-0.10805374383926392,
0.08862198889255524,
0.416742742061615,
0.18097466230392456,
-0.537752091884613... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Sorry didn't have the bandwidth to take care of this yet - will re-assign when I'm diving into it again ! | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 21 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.14964668452739716,
0.31472522020339966,
0.07166847586631775,
0.12905162572860718,
0.15737555921077728,
0.04769386351108551,
0.24011537432670593,
0.2392691671848297,
-0.17129309475421906,
-0.11870895326137543,
0.11492958664894104,
0.42375996708869934,
0.13289260864257812,
-0.543471634387... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I had this issue with `run_speech_recognition_ctc.py` for wa2vec2.0 fine-tuning. I made a small change and the hash for the function (which includes tokenisation) is now the same before and after pre-porocessing. With the hash being the same, the caching works as intended.
Before:
```
def prepare_dataset(batch... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 159 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.11391608417034149,
0.29470327496528625,
0.10052910447120667,
0.10078100860118866,
0.1438295543193817,
0.009961254894733429,
0.17227628827095032,
0.29016435146331787,
-0.2569062411785126,
-0.16485436260700226,
0.13269072771072388,
0.4018785357475281,
0.11924242228269577,
-0.5614117383956... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Not sure why the second one would work and not the first one - they're basically the same with respect to hashing. In both cases the function is hashed recursively, and therefore the feature_extractor and the tokenizer are hashed the same way.
With which tokenizer or feature extractor are you experiencing this behav... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 83 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.1007404625415802,
0.29389968514442444,
0.06404469907283783,
0.1311522126197815,
0.1323443502187729,
0.022840380668640137,
0.23811693489551544,
0.2275797724723816,
-0.20204666256904602,
-0.08689363300800323,
0.13989649713039398,
0.42688193917274475,
0.09699434041976929,
-0.53290379047393... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Thanks ! Hopefully this can be useful to others, and also to better understand and improve hashing/caching | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 17 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.12665757536888123,
0.2988383173942566,
0.0831264853477478,
0.17981934547424316,
0.16854311525821686,
0.06762265413999557,
0.2584798038005829,
0.2325427532196045,
-0.20233340561389923,
-0.14918704330921173,
0.13579952716827393,
0.3831775188446045,
0.13598880171775818,
-0.5483026504516602... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | `tokenizer.save_pretrained(training_args.output_dir)` produces a different tokenizer hash when loaded on restart of the script. When I was debugging before I was terminating the script prior to this command, then rerunning.
I compared the tokenizer items on the first and second runs, there are two different items:
... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 321 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.16589891910552979,
0.3236856758594513,
0.08280591666698456,
0.12946419417858124,
0.185725599527359,
0.032221630215644836,
0.29114076495170593,
0.24498701095581055,
-0.19679789245128632,
-0.09392347931861877,
0.12795336544513702,
0.3986140191555023,
0.07593562453985214,
-0.55733841657638... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Thanks for investigating ! Does that mean that `save_pretrained`() produces non-deterministic tokenizers on disk ? Or is it `from_pretrained()` which is not deterministic given the same files on disk ?
I think one way to fix this would be to make save/from_pretrained deterministic, or make the pickling of `transform... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 70 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.10411079227924347,
0.20114880800247192,
0.0622522346675396,
0.16448874771595,
0.2018711119890213,
0.07767526060342789,
0.3279968798160553,
0.10047189891338348,
-0.20836536586284637,
-0.14351268112659454,
0.08319961279630661,
0.39779675006866455,
0.03241714835166931,
-0.5989449620246887,... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Late to the party but everything should be deterministic (afaik at least).
But `Trie` is a simple class object, so afaik it's hash function is linked to its `id(self)` so basically where it's stored in memory, so super highly non deterministic. Could that be the issue ? | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 47 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.08411287516355515,
0.23371070623397827,
0.07575027644634247,
0.16677740216255188,
0.19347412884235382,
0.026867389678955078,
0.2410019338130951,
0.21442578732967377,
-0.18492089211940765,
-0.11996002495288849,
0.07489222288131714,
0.470111608505249,
0.15747763216495514,
-0.5647398233413... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | > But Trie is a simple class object, so afaik it's hash function is linked to its id(self) so basically where it's stored in memory, so super highly non deterministic. Could that be the issue ?
We're computing the hash of the pickle dump of the class so it should be fine, as long as the pickle dump is deterministic | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 60 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.05189927667379379,
0.20742100477218628,
0.09117506444454193,
0.18832483887672424,
0.22655463218688965,
0.022534362971782684,
0.2612113058567047,
0.21120989322662354,
-0.1954529881477356,
-0.13296283781528473,
0.1067902073264122,
0.44565528631210327,
0.16125671565532684,
-0.5669116377830... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I've ported wav2vec2.0 fine-tuning into Optimum-Graphcore which is where I found the issue. The majority of the script was copied from the Transformers version to keep it similar, [here is the tokenizer loading section from the source](https://github.com/huggingface/transformers/blob/f0982682bd6fd0b438dda79ec45f3a8fac8... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 116 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.08006990700960159,
0.25827646255493164,
0.10429300367832184,
0.11781193315982819,
0.13655918836593628,
-0.07179195433855057,
0.11799350380897522,
0.23306405544281006,
-0.1783328801393509,
-0.1590852290391922,
0.12981249392032623,
0.41637495160102844,
0.10382123291492462,
-0.513702929019... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Which Python version are you using ?
The trie is basically a big dict of dics, so deterministic nature depends on python version:
https://stackoverflow.com/questions/2053021/is-the-order-of-a-python-dictionary-guaranteed-over-iterations
Maybe the investigation is actually not finding the right culprit though (th... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 63 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.0993911474943161,
0.1641966700553894,
0.05952904000878334,
0.11624369025230408,
0.13546240329742432,
-0.008831031620502472,
0.20630836486816406,
0.20055995881557465,
-0.16751505434513092,
-0.0839851051568985,
0.10367290675640106,
0.48232343792915344,
0.17413388192653656,
-0.520573496818... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Similar issue found on `BartTokenizer`. You can bypass the bug by loading a fresh new tokenizer everytime.
```
dataset = dataset.map(lambda x: tokenize_func(x, BartTokenizer.from_pretrained(xxx)),
num_proc=num_proc, desc='Tokenize')
``` | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 27 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.1668781340122223,
0.3383185863494873,
0.06849202513694763,
0.13488155603408813,
0.16055886447429657,
0.025884851813316345,
0.24182690680027008,
0.23366466164588928,
-0.17249521613121033,
-0.10836011171340942,
0.09585649520158768,
0.43086203932762146,
0.13630253076553345,
-0.564856410026... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I got the same problem while using Wav2Vec2CTCTokenizer in a distributed experiment (many processes), and found that the problem was localized in the serialization (pickle dump) of the field `tokenizer.tokens_trie._tokens` (just a python set). I focussed into the set serialization and found it is not deterministic:
... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 97 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.1142747700214386,
0.3124811351299286,
0.09323938190937042,
0.12759807705879211,
0.13084101676940918,
-0.0025872960686683655,
0.20931139588356018,
0.2543277442455292,
-0.22315868735313416,
-0.14100150763988495,
0.14856231212615967,
0.48311734199523926,
0.12295309454202652,
-0.58149045705... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | OK, I assume python's set is just a hash table implementation that uses internally the hash() function. The problem is that python's hash() is not deterministic. I believe that setting the environment variable PYTHONHASHSEED to a fixed value, you can force it to be deterministic. I tried it (file `set_pickle_dump.py`):... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 139 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.18044227361679077,
0.27948740124702454,
0.06247140094637871,
0.12339384853839874,
0.16611169278621674,
0.07879500836133957,
0.2757984399795532,
0.2529336214065552,
-0.17466869950294495,
-0.0734771192073822,
0.14858844876289368,
0.4318680167198181,
0.09926311671733856,
-0.507308304309845... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Thanks for reporting. I opened a PR here to propose a fix: https://github.com/huggingface/datasets/pull/6318 and doesn't require setting `PYTHONHASHSEED`
Can you try to install `datasets` from this branch and tell me if it fixes the issue ? | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 36 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.1683933287858963,
0.27890872955322266,
0.07585208117961884,
0.1623344123363495,
0.1720113307237625,
0.0590759739279747,
0.22213894128799438,
0.25853949785232544,
-0.17556548118591309,
-0.14856202900409698,
0.08232134580612183,
0.4202488660812378,
0.16028746962547302,
-0.4802698194980621... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I patched (*) the file `datasets/utils/py_utils.py` and cache is working propperly now. Thanks!
(*): I am running my experiments inside a docker container that depends on `huggingface/transformers-pytorch-gpu:latest`, so pattched the file instead of rebuilding the container from scratch | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 38 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.15966123342514038,
0.23978778719902039,
0.10841074585914612,
0.19765757024288177,
0.19014602899551392,
0.0037380605936050415,
0.28697216510772705,
0.21497052907943726,
-0.14684142172336578,
-0.1517273634672165,
0.05328996479511261,
0.3844521939754486,
0.19240562617778778,
-0.56607335805... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I think the Trie()._tokens of PreTrainedTokenizer need to be a sorted set So that the results of `hash_bytes(dumps(tokenizer))` are consistent every time | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 22 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.12439453601837158,
0.2568768858909607,
0.06220518425107002,
0.14954796433448792,
0.18100571632385254,
0.03493114560842514,
0.23500090837478638,
0.23690678179264069,
-0.23388171195983887,
-0.11041352152824402,
0.09626323729753494,
0.4244631826877594,
0.11752798408269882,
-0.5522885918617... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I believe the issue may be linked to [tokenization_utils.py#L507](https://github.com/huggingface/transformers/blob/main/src/transformers/tokenization_utils.py#L507),specifically in the line where self.tokens_trie.add(token.content) is called. The function _update_trie appears to modify an unordered set. Consequently, t... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 81 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.13172732293605804,
0.22908514738082886,
0.10993602871894836,
0.1633952558040619,
0.1857450008392334,
0.017778359353542328,
0.2914981245994568,
0.1949392855167389,
-0.2111256867647171,
-0.162961944937706,
0.057256557047367096,
0.3851916193962097,
0.1822362244129181,
-0.5701578259468079,
... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | We did a fix that does sorting whenever we hash sets. The fix is available on `main` if you want to try it out. We'll do a new release soon :) | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 31 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.13918577134609222,
0.26307255029678345,
0.061368588358163834,
0.14221622049808502,
0.15643420815467834,
0.05836621671915054,
0.21196012198925018,
0.2768038213253021,
-0.19538503885269165,
-0.09325683116912842,
0.1077931746840477,
0.40425652265548706,
0.12266562134027481,
-0.485643237829... |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Is there a documentation chapter that discusses in which cases you should expect your dataset preprocessing to be cached. Including do's and don'ts for the preprocessing functions? I think Datasets team does amazing job at tacking this issue on their side, but it would be great to have some guidelines on the user side ... | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with ca... | 95 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tok... | [
-0.07782016694545746,
0.32464852929115295,
0.047436799854040146,
0.08195997774600983,
0.1550334393978119,
0.05664082616567612,
0.2469228059053421,
0.11230769753456116,
-0.23134464025497437,
-0.17704890668392181,
0.13072797656059265,
0.3741539418697357,
0.20596183836460114,
-0.5507641434669... |
https://github.com/huggingface/datasets/issues/3841 | Pyright reportPrivateImportUsage when `from datasets import load_dataset` | Hi!
This issue stems from `datasets` having `py.typed` defined (see https://github.com/microsoft/pyright/discussions/3764#discussioncomment-3282142) - to avoid it, we would either have to remove `py.typed` (added to be compliant with PEP-561) or export the names with `__all__`/`from .submodule import name as name`.... | ## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below... | 90 | Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected r... | [
-0.12595167756080627,
-0.28096452355384827,
0.027085736393928528,
0.2715896964073181,
0.35447072982788086,
0.10418275743722916,
0.6413933038711548,
0.19132980704307556,
0.15554393827915192,
-0.24281169474124908,
-0.1824052929878235,
0.5359148979187012,
0.04852694645524025,
0.13626104593276... |
https://github.com/huggingface/datasets/issues/3841 | Pyright reportPrivateImportUsage when `from datasets import load_dataset` | > (cc @Wauplin since huggingface_hub has the same issue.)
Hmm maybe we have the same issue but I haven't been able to reproduce something similar to `"load_dataset" is not exported from module "datasets"` message (using VSCode+Pylance -that is powered by Pyright). `huggingface_hub` contains a `py.typed` file but th... | ## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below... | 115 | Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected r... | [
-0.1734933853149414,
-0.34276628494262695,
0.05931945517659187,
0.2731611728668213,
0.253451406955719,
0.030000902712345123,
0.39011693000793457,
0.1951955109834671,
0.19493548572063446,
-0.2556235194206238,
-0.24391987919807434,
0.3783649802207947,
-0.024694625288248062,
0.201438009738922... |
https://github.com/huggingface/datasets/issues/3841 | Pyright reportPrivateImportUsage when `from datasets import load_dataset` | @Wauplin I only get the error if I use Pyright's CLI tool or the Pyright extension (not sure why, but Pylance also doesn't report this issue on my machine)
> Also the top-level [`__init__.py`](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/__init__.py) is quite different in `hfh` than `... | ## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below... | 78 | Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected r... | [
-0.08133698999881744,
-0.35310107469558716,
0.10134050250053406,
0.22338001430034637,
0.20925891399383545,
0.08671101182699203,
0.440326064825058,
0.23700042068958282,
0.2594299912452698,
-0.25011080503463745,
-0.19836176931858063,
0.3156060576438904,
0.0606292262673378,
0.2214422225952148... |
https://github.com/huggingface/datasets/issues/3841 | Pyright reportPrivateImportUsage when `from datasets import load_dataset` | @mariosasko thank for the tip. I have been able to reproduce the issue as well. I would be up for including a (huge) static `__all__` variable in the `__init__.py` (since the file is already generated automatically in `hfh`) but honestly I don't think it's worth the hassle.
I'll delete the `py.typed` file in `huggi... | ## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below... | 66 | Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected r... | [
-0.14668415486812592,
-0.3914416432380676,
0.07356637716293335,
0.20581574738025665,
0.22391638159751892,
0.0826648697257042,
0.4413280189037323,
0.19921982288360596,
0.241195946931839,
-0.21934424340724945,
-0.20732110738754272,
0.37533923983573914,
0.08785153180360794,
0.1838195323944091... |
https://github.com/huggingface/datasets/issues/3841 | Pyright reportPrivateImportUsage when `from datasets import load_dataset` | I am getting this error in google colab today:

The code runs just fine too. | ## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below... | 16 | Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected r... | [
-0.18399181962013245,
-0.12173598259687424,
0.02431582286953926,
0.2869284152984619,
0.2142294943332672,
0.07978441566228867,
0.5122380256652832,
0.08669625222682953,
0.1483663022518158,
-0.1891380399465561,
-0.0057891132310032845,
0.7045690417289734,
-0.022101208567619324,
0.1872187405824... |
https://github.com/huggingface/datasets/issues/3832 | Making Hugging Face the place to go for Graph NNs datasets | It will be indeed really great to add support to GNN datasets. Big :+1: for this initiative. | Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are some datasets worth integrating into the Hugging Face hub?
In... | 17 | Making Hugging Face the place to go for Graph NNs datasets
Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are som... | [
-0.02342330664396286,
-0.23334729671478271,
-0.10941942036151886,
-0.0523621141910553,
-0.0944150984287262,
-0.04358357563614845,
-0.0281154103577137,
0.10992112755775452,
0.3266025483608246,
0.18508870899677277,
-0.1312943398952484,
-0.08443965762853622,
-0.23202471435070038,
0.4511050879... |
https://github.com/huggingface/datasets/issues/3832 | Making Hugging Face the place to go for Graph NNs datasets | @napoles-uach identifies the [TUDatasets](https://chrsmrrs.github.io/datasets/) (A collection of benchmark datasets for graph classification and regression).
Added to the Tasks in the initial issue. | Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are some datasets worth integrating into the Hugging Face hub?
In... | 22 | Making Hugging Face the place to go for Graph NNs datasets
Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are som... | [
-0.023360934108495712,
-0.24508512020111084,
-0.09793694317340851,
-0.005754582583904266,
-0.10700181126594543,
-0.036405496299266815,
-0.02936367318034172,
0.1181742250919342,
0.32750174403190613,
0.14410167932510376,
-0.15146960318088531,
-0.10237424820661545,
-0.2231219857931137,
0.4196... |
https://github.com/huggingface/datasets/issues/3832 | Making Hugging Face the place to go for Graph NNs datasets | Great initiative! Let's keep this issue for these 3 datasets, but moving forward maybe let's create a new issue per dataset :rocket: great work @napoles-uach and @omarespejel! | Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are some datasets worth integrating into the Hugging Face hub?
In... | 27 | Making Hugging Face the place to go for Graph NNs datasets
Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are som... | [
-0.01863957941532135,
-0.2302568554878235,
-0.09310668706893921,
-0.02854739874601364,
-0.12222649157047272,
-0.06372915208339691,
0.00565197691321373,
0.11484631896018982,
0.32881733775138855,
0.16832217574119568,
-0.12983986735343933,
-0.08059696108102798,
-0.23037172853946686,
0.4487103... |
https://github.com/huggingface/datasets/issues/3831 | when using to_tf_dataset with shuffle is true, not all completed batches are made | Hi @greenned, this is expected behaviour for `to_tf_dataset`. By default, we drop the smaller 'remainder' batch during training (i.e. when `shuffle=True`). If you really want to keep that batch, you can set `drop_remainder=False` when calling `to_tf_dataset()`. | ## Describe the bug
when converting a dataset to tf_dataset by using to_tf_dataset with shuffle true, the remainder is not converted to one batch
## Steps to reproduce the bug
this is the sample code below
https://colab.research.google.com/drive/1_oRXWsR38ElO1EYF9ayFoCU7Ou1AAej4?usp=sharing
## Expected resul... | 36 | when using to_tf_dataset with shuffle is true, not all completed batches are made
## Describe the bug
when converting a dataset to tf_dataset by using to_tf_dataset with shuffle true, the remainder is not converted to one batch
## Steps to reproduce the bug
this is the sample code below
https://colab.research.g... | [
-0.21016067266464233,
-0.15655353665351868,
0.10085847973823547,
0.10950116813182831,
0.36232560873031616,
0.17205464839935303,
0.09992387890815735,
0.3753470480442047,
-0.46109557151794434,
0.425815224647522,
-0.17324486374855042,
0.3522305488586426,
0.050779227167367935,
-0.0305815115571... |
https://github.com/huggingface/datasets/issues/3830 | Got error when load cnn_dailymail dataset | Was able to reproduce the issue on Colab; full logs below.
```
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
[<ipython-input-2-39967739ba7f>](https://localhost:8080/#) in <module>()
1 import datasets
... | When using datasets.load_dataset method to load cnn_dailymail dataset, got error as below:
- windows os: FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\SourceCode\\DataScience\\HuggingFace\\Data\\downloads\\1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b\\cnn\\stories'
- google colab: NotADirec... | 201 | Got error when load cnn_dailymail dataset
When using datasets.load_dataset method to load cnn_dailymail dataset, got error as below:
- windows os: FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\SourceCode\\DataScience\\HuggingFace\\Data\\downloads\\1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da58... | [
-0.30950692296028137,
0.20986437797546387,
0.028202906250953674,
0.45269131660461426,
0.2786130905151367,
0.0300757959485054,
0.6285240650177002,
-0.01428239792585373,
0.012505583465099335,
0.29893267154693604,
-0.3006659746170044,
0.23443102836608887,
-0.4058237075805664,
0.13564987480640... |
https://github.com/huggingface/datasets/issues/3830 | Got error when load cnn_dailymail dataset | Hi @jon-tow, thanks for reporting. And hi @dynamicwebpaige, thanks for your investigation.
This issue was already reported
- #3784
and its root cause is a change in the Google Drive service. See:
- #3786
We have already fixed it. See:
- #3787
We are planning to make a patch release today (indeed, we ... | When using datasets.load_dataset method to load cnn_dailymail dataset, got error as below:
- windows os: FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\SourceCode\\DataScience\\HuggingFace\\Data\\downloads\\1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b\\cnn\\stories'
- google colab: NotADirec... | 129 | Got error when load cnn_dailymail dataset
When using datasets.load_dataset method to load cnn_dailymail dataset, got error as below:
- windows os: FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\SourceCode\\DataScience\\HuggingFace\\Data\\downloads\\1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da58... | [
-0.13006335496902466,
0.21794918179512024,
0.022833816707134247,
0.34900063276290894,
0.23288226127624512,
0.13096287846565247,
0.5199159979820251,
-0.04545607790350914,
0.01507939025759697,
0.22897329926490784,
-0.12210603058338165,
0.10922311246395111,
-0.30647826194763184,
0.33779996633... |
https://github.com/huggingface/datasets/issues/3829 | [📄 Docs] Create a `datasets` performance guide. | Hi ! Yes this is definitely something we'll explore, since optimizing processing pipelines can be challenging and because performance is key here: we want anyone to be able to play with large-scale datasets more easily.
I think we'll start by documenting the performance of the dataset transforms we provide, and then... | ## Brief Overview
Downloading, saving, and preprocessing large datasets from the `datasets` library can often result in [performance bottlenecks](https://github.com/huggingface/datasets/issues/3735). These performance snags can be challenging to identify and to debug, especially for users who are less experienced with... | 60 | [📄 Docs] Create a `datasets` performance guide.
## Brief Overview
Downloading, saving, and preprocessing large datasets from the `datasets` library can often result in [performance bottlenecks](https://github.com/huggingface/datasets/issues/3735). These performance snags can be challenging to identify and to debug,... | [
-0.32639965415000916,
-0.06727582216262817,
-0.14912505447864532,
0.07967452704906464,
0.197818785905838,
0.12434304505586624,
-0.08178813755512238,
0.45152726769447327,
-0.2909841239452362,
0.04553705453872681,
-0.04281257092952728,
0.28554582595825195,
-0.3281093239784241,
0.409905970096... |
https://github.com/huggingface/datasets/issues/3828 | The Pile's _FEATURE spec seems to be incorrect | Hi @dlwh, thanks for reporting.
Please note, that the source data files for "all" config are different from the other configurations.
The "all" config contains the official Pile data files, from https://mystic.the-eye.eu/public/AI/pile/
All data examples contain a "meta" dict with a single "pile_set_name" key:
... | ## Describe the bug
If you look at https://huggingface.co/datasets/the_pile/blob/main/the_pile.py:
For "all"
* the pile_set_name is never set for data
* there's actually an id field inside of "meta"
For subcorpora pubmed_central and hacker_news:
* the meta is specified to be a string, but it's actually a di... | 219 | The Pile's _FEATURE spec seems to be incorrect
## Describe the bug
If you look at https://huggingface.co/datasets/the_pile/blob/main/the_pile.py:
For "all"
* the pile_set_name is never set for data
* there's actually an id field inside of "meta"
For subcorpora pubmed_central and hacker_news:
* the meta is... | [
-0.02912863902747631,
-0.009011074900627136,
0.09973633289337158,
0.14502346515655518,
0.32511740922927856,
-0.014572888612747192,
0.5119668245315552,
0.2684316039085388,
-0.22053493559360504,
0.12272661924362183,
-0.11694350838661194,
0.30823931097984314,
0.2474180907011032,
0.37088325619... |
https://github.com/huggingface/datasets/issues/3823 | 500 internal server error when trying to open a dataset composed of Zarr stores | Hi @jacobbieker, thanks for reporting!
I have transferred this issue to our Hub team and they are investigating it. I keep you informed. | ## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of da... | 23 | 500 internal server error when trying to open a dataset composed of Zarr stores
## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet,... | [
-0.3984357416629791,
0.10997399687767029,
0.07565905153751373,
0.2678702473640442,
0.3084733486175537,
-0.03786580264568329,
0.3065187633037567,
0.18530090153217316,
0.18796823918819427,
0.18372386693954468,
-0.3976971507072449,
0.2528078854084015,
0.06052853912115097,
0.3931148052215576,
... |
https://github.com/huggingface/datasets/issues/3823 | 500 internal server error when trying to open a dataset composed of Zarr stores | Hi @jacobbieker, we are investigating this issue on our side and we'll see if we can fix it, but please note that your repo is considered problematic for git. Here are the results of running https://github.com/github/git-sizer on it:
```
Processing blobs: 147448
Processing trees: 27 ... | ## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of da... | 142 | 500 internal server error when trying to open a dataset composed of Zarr stores
## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet,... | [
-0.3984357416629791,
0.10997399687767029,
0.07565905153751373,
0.2678702473640442,
0.3084733486175537,
-0.03786580264568329,
0.3065187633037567,
0.18530090153217316,
0.18796823918819427,
0.18372386693954468,
-0.3976971507072449,
0.2528078854084015,
0.06052853912115097,
0.3931148052215576,
... |
https://github.com/huggingface/datasets/issues/3823 | 500 internal server error when trying to open a dataset composed of Zarr stores | Hi, thanks for getting back to me so quick! And yeah, I figured that was probably the problem. I was going to try to delete the repo, but couldn't through the website, so if that's the easiest way to solve it, I can regenerate the dataset in a different format with less tiny files, and you guys can delete the repo as i... | ## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of da... | 97 | 500 internal server error when trying to open a dataset composed of Zarr stores
## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet,... | [
-0.3984357416629791,
0.10997399687767029,
0.07565905153751373,
0.2678702473640442,
0.3084733486175537,
-0.03786580264568329,
0.3065187633037567,
0.18530090153217316,
0.18796823918819427,
0.18372386693954468,
-0.3976971507072449,
0.2528078854084015,
0.06052853912115097,
0.3931148052215576,
... |
https://github.com/huggingface/datasets/issues/3823 | 500 internal server error when trying to open a dataset composed of Zarr stores | Hi @jacobbieker,
For future use cases, our Hub team is still pondering whether to limit the maximum number of files per repo to avoid technical issues...
On the meantime, they have made a fix and your dataset is working: https://huggingface.co/datasets/openclimatefix/mrms | ## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of da... | 40 | 500 internal server error when trying to open a dataset composed of Zarr stores
## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet,... | [
-0.3984357416629791,
0.10997399687767029,
0.07565905153751373,
0.2678702473640442,
0.3084733486175537,
-0.03786580264568329,
0.3065187633037567,
0.18530090153217316,
0.18796823918819427,
0.18372386693954468,
-0.3976971507072449,
0.2528078854084015,
0.06052853912115097,
0.3931148052215576,
... |
https://github.com/huggingface/datasets/issues/3822 | Add Biwi Kinect Head Pose Database | Official dataset location : https://icu.ee.ethz.ch/research/datsets.html
In the "Biwi Kinect Head Pose Database" section, I do not find any information regarding "Downloading the dataset." . Do we mail the authors regarding this ?
I found the dataset on Kaggle : [Link](https://www.kaggle.com/kmader/biwi-kinect-head... | ## Adding a Dataset
- **Name:** Biwi Kinect Head Pose Database
- **Description:** Over 15K images of 20 people recorded with a Kinect while turning their heads around freely. For each frame, depth and rgb images are provided, together with ground in the form of the 3D location of the head and its rotation angles.
- ... | 85 | Add Biwi Kinect Head Pose Database
## Adding a Dataset
- **Name:** Biwi Kinect Head Pose Database
- **Description:** Over 15K images of 20 people recorded with a Kinect while turning their heads around freely. For each frame, depth and rgb images are provided, together with ground in the form of the 3D location of ... | [
0.09413449466228485,
0.05142126977443695,
-0.03335180506110191,
0.21059121191501617,
-0.3765190839767456,
0.40544700622558594,
0.12584327161312103,
0.1778406947851181,
0.27648061513900757,
0.15597157180309296,
-0.010699332691729069,
-0.17998413741588593,
0.10054203867912292,
0.196102052927... |
https://github.com/huggingface/datasets/issues/3820 | `pubmed_qa` checksum mismatch | Hi @jon-tow, thanks for reporting.
This issue was already reported and its root cause is a change in the Google Drive service. See:
- #3786
We have already fixed it. See:
- #3787
We are planning to make a patch release today.
In the meantime, you can get this fix by installing our library from the GitHu... | ## Describe the bug
Loading [`pubmed_qa`](https://huggingface.co/datasets/pubmed_qa) results in a mismatched checksum error.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
import datasets
try:
datasets.load_dataset("pubmed_qa", "pqa_labeled")
except Exception as e:
print(e... | 109 | `pubmed_qa` checksum mismatch
## Describe the bug
Loading [`pubmed_qa`](https://huggingface.co/datasets/pubmed_qa) results in a mismatched checksum error.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
import datasets
try:
datasets.load_dataset("pubmed_qa", "pqa_labeled")
exc... | [
-0.0026249922811985016,
0.1502344012260437,
-0.09011387825012207,
0.18270298838615417,
0.30384743213653564,
-0.052859432995319366,
0.21182644367218018,
0.33244481682777405,
0.03438430279493332,
0.1883316934108734,
-0.07668943703174591,
0.11536233872175217,
0.30355945229530334,
0.0669022053... |
https://github.com/huggingface/datasets/issues/3818 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI | Hi, thanks for reporting! We can add a `sources: datasets.Value("string")` feature to the `Features` dict in the `SARI` script to fix this. Would you be interested in submitting a PR? | **Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datasets/metric.py) does not work with [SARI](https://github.com/huggingface/datasets/blob/master/metr... | 30 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI
**Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datas... | [
-0.41885754466056824,
0.27242520451545715,
-0.009295830503106117,
-0.10950388014316559,
0.12285435944795609,
-0.07086557149887085,
0.23206757009029388,
0.21514850854873657,
-0.18371306359767914,
0.22034338116645813,
-0.2901643216609955,
0.2855445146560669,
0.13469690084457397,
0.0324129834... |
https://github.com/huggingface/datasets/issues/3818 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI | Hi Mario,
Thanks for your message. I did try to add `sources` into the `Features` dict using a script for the metric:
```
features=datasets.Features(
{
"sources": datasets.Value("string", id="sequence"),
"predictions": datasets.Value("string", ... | **Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datasets/metric.py) does not work with [SARI](https://github.com/huggingface/datasets/blob/master/metr... | 133 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI
**Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datas... | [
-0.41885754466056824,
0.27242520451545715,
-0.009295830503106117,
-0.10950388014316559,
0.12285435944795609,
-0.07086557149887085,
0.23206757009029388,
0.21514850854873657,
-0.18371306359767914,
0.22034338116645813,
-0.2901643216609955,
0.2855445146560669,
0.13469690084457397,
0.0324129834... |
https://github.com/huggingface/datasets/issues/3818 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI | The `Metric` class has been modified recently to support this use-case, but the `add_batch` + `compute` pattern still doesn't work correctly. I'll open a PR. | **Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datasets/metric.py) does not work with [SARI](https://github.com/huggingface/datasets/blob/master/metr... | 25 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI
**Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datas... | [
-0.41885754466056824,
0.27242520451545715,
-0.009295830503106117,
-0.10950388014316559,
0.12285435944795609,
-0.07086557149887085,
0.23206757009029388,
0.21514850854873657,
-0.18371306359767914,
0.22034338116645813,
-0.2901643216609955,
0.2855445146560669,
0.13469690084457397,
0.0324129834... |
https://github.com/huggingface/datasets/issues/3813 | Add MetaShift dataset | I would like to take this up and give it a shot. Any image specific - dataset guidelines to keep in mind ? Thank you. | ## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/... | 25 | Add MetaShift dataset
## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https:/... | [
-0.08063692599534988,
-0.0981549620628357,
-0.11934749782085419,
0.055312372744083405,
0.30788809061050415,
-0.1292068362236023,
0.020914487540721893,
-0.005607254803180695,
0.13249768316745758,
-0.04770669341087341,
0.08887439221143723,
-0.03326202183961868,
-0.2426597625017166,
0.2571821... |
https://github.com/huggingface/datasets/issues/3813 | Add MetaShift dataset | I've started working on adding this dataset. I require some inputs on the following :
Ref for the initial draft [here](https://github.com/dnaveenr/datasets/blob/add_metashift_dataset/datasets/metashift/metashift.py)
1. The dataset does not have a typical - train/test/val split. What do we do for the _split_generat... | ## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/... | 156 | Add MetaShift dataset
## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https:/... | [
-0.020686784759163857,
-0.16771310567855835,
-0.004767347127199173,
0.09127802401781082,
0.32281750440597534,
0.05552733689546585,
0.2001727819442749,
0.3405483365058899,
-0.02903602458536625,
0.010151810944080353,
0.0464552566409111,
0.16041426360607147,
-0.11582880467176437,
0.3556981384... |
https://github.com/huggingface/datasets/issues/3813 | Add MetaShift dataset | Hi ! Thanks for adding this dataset :) Let me answer your questions:
1. in this case you can put everything in the "train" split
2. Yes you can copy the script (provided you also include the MIT license of the code in the file header for example). Though we ideally try to not create new directories nor files when g... | ## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/... | 152 | Add MetaShift dataset
## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https:/... | [
-0.17137493193149567,
-0.08549250662326813,
-0.14299961924552917,
0.12203137576580048,
0.24328169226646423,
0.021915271878242493,
0.5056430101394653,
0.29208895564079285,
0.18030717968940735,
0.12950855493545532,
-0.12590907514095306,
0.3187865614891052,
-0.3814880847930908,
0.335936516523... |
https://github.com/huggingface/datasets/issues/3813 | Add MetaShift dataset | Great. This is helpful. Thanks @lhoestq .
Regarding Point 2, I'll try using yield instead of creating the directories and see if its feasible. selected_classes config sounds good. | ## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/... | 28 | Add MetaShift dataset
## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https:/... | [
-0.38951724767684937,
-0.050942711532115936,
-0.1791786104440689,
0.16719426214694977,
0.32360851764678955,
-0.2388731837272644,
0.24628126621246338,
0.2632826268672943,
0.11789961159229279,
0.34439578652381897,
-0.1489602029323578,
0.1883939802646637,
-0.18336334824562073,
0.2654516696929... |
https://github.com/huggingface/datasets/issues/3809 | Checksums didn't match for datasets on Google Drive | Hi @muelletm, thanks for reporting.
This issue was already reported and its root cause is a change in the Google Drive service. See:
- #3786
We have already fixed it. See:
- #3787
Until our next `datasets` library release, you can get this fix by installing our library from the GitHub master branch:
```sh... | ## Describe the bug
Datasets hosted on Google Drive do not seem to work right now.
Loading them fails with a checksum error.
## Steps to reproduce the bug
```python
from datasets import load_dataset
for dataset in ["head_qa", "yelp_review_full"]:
try:
load_dataset(dataset)
except Exception as excep... | 103 | Checksums didn't match for datasets on Google Drive
## Describe the bug
Datasets hosted on Google Drive do not seem to work right now.
Loading them fails with a checksum error.
## Steps to reproduce the bug
```python
from datasets import load_dataset
for dataset in ["head_qa", "yelp_review_full"]:
try:
... | [
-0.20049472153186798,
0.1379578709602356,
-0.09350812435150146,
0.38518136739730835,
0.1761961579322815,
0.06696239858865738,
0.286794513463974,
0.2709662616252899,
0.3133200407028198,
0.03521772474050522,
-0.2274777889251709,
-0.13300339877605438,
0.09227832406759262,
0.4749770760536194,
... |
https://github.com/huggingface/datasets/issues/3808 | Pre-Processing Cache Fails when using a Factory pattern | Ok - this is still an issue but I believe the root cause is different than I originally thought. I'm now able to get caching to work consistently with the above example as long as I fix the python hash seed `export PYTHONHASHSEED=1234` | ## Describe the bug
If you utilize a pre-processing function which is created using a factory pattern, the function hash changes on each run (even if the function is identical) and therefore the data will be reproduced each time.
## Steps to reproduce the bug
```python
def preprocess_function_factory(augmenta... | 43 | Pre-Processing Cache Fails when using a Factory pattern
## Describe the bug
If you utilize a pre-processing function which is created using a factory pattern, the function hash changes on each run (even if the function is identical) and therefore the data will be reproduced each time.
## Steps to reproduce the bu... | [
0.045696403831243515,
0.12486942112445831,
-0.07195892930030823,
0.014906898140907288,
0.19251014292240143,
-0.24582484364509583,
0.3033486008644104,
0.2505905032157898,
-0.1709432452917099,
-0.09352941811084747,
0.3817084729671478,
0.17649079859256744,
-0.05780202895402908,
0.159274026751... |
https://github.com/huggingface/datasets/issues/3808 | Pre-Processing Cache Fails when using a Factory pattern | Hi!
Yes, our hasher should work with decorators. For instance, this dummy example:
```python
def f(arg):
def f1(ex):
return {"a": ex["col1"] + arg}
return f1
```
gives the same hash across different Python sessions (`datasets.fingerprint.Hasher.hash(f("string1")` returns `"408c9059f89dbd6c"` ... | ## Describe the bug
If you utilize a pre-processing function which is created using a factory pattern, the function hash changes on each run (even if the function is identical) and therefore the data will be reproduced each time.
## Steps to reproduce the bug
```python
def preprocess_function_factory(augmenta... | 76 | Pre-Processing Cache Fails when using a Factory pattern
## Describe the bug
If you utilize a pre-processing function which is created using a factory pattern, the function hash changes on each run (even if the function is identical) and therefore the data will be reproduced each time.
## Steps to reproduce the bu... | [
-0.062061458826065063,
0.12366822361946106,
-0.09023407101631165,
0.09065394103527069,
0.15427139401435852,
-0.23903828859329224,
0.3725140690803528,
0.19262242317199707,
-0.24231000244617462,
0.10529598593711853,
0.4187676012516022,
0.14369593560695648,
-0.2627624571323395,
0.062710441648... |
https://github.com/huggingface/datasets/issues/3807 | NonMatchingChecksumError in xcopa dataset | Hi @afcruzs-ms, thanks for opening this separate issue for your problem.
The root problem in the other issue (#3792) was a change in the service of Google Drive.
But in your case, the `xcopa` dataset is not hosted on Google Drive. Therefore, the root cause should be a different one.
Let me look at it... | ## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails ... | 55 | NonMatchingChecksumError in xcopa dataset
## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be lo... | [
-0.13779978454113007,
0.15731242299079895,
-0.054185133427381516,
0.11445774137973785,
0.08197657763957977,
-0.018045108765363693,
0.17932555079460144,
0.2524213194847107,
0.20484386384487152,
0.1784926950931549,
0.17943556606769562,
0.10884596407413483,
0.2294791340827942,
0.0596826747059... |
https://github.com/huggingface/datasets/issues/3807 | NonMatchingChecksumError in xcopa dataset | @afcruzs-ms, I'm not able to reproduce the issue you reported:
```python
In [1]: from datasets import load_dataset
...: dataset = load_dataset("xcopa", "it")
Downloading builder script: 5.21kB [00:00, 2.75MB/s] ... | ## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails ... | 134 | NonMatchingChecksumError in xcopa dataset
## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be lo... | [
-0.16302789747714996,
0.019621863961219788,
-0.032544899731874466,
0.15580007433891296,
0.09577517956495285,
0.005795195698738098,
-0.05349938943982124,
0.3396126925945282,
0.16124315559864044,
0.14249184727668762,
0.07432834804058075,
0.2626977562904358,
0.24026170372962952,
-0.0465795397... |
https://github.com/huggingface/datasets/issues/3807 | NonMatchingChecksumError in xcopa dataset | unfortunately, i am having a similar problem with the irc_disentaglement dataset :/
my code:
```
from datasets import load_dataset
dataset = load_dataset("irc_disentangle", download_mode="force_redownload")
```
however, it produces the same error as @afcruzs-ms
```
[38](file:///Library/Frameworks/Python.fr... | ## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails ... | 205 | NonMatchingChecksumError in xcopa dataset
## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be lo... | [
-0.19719024002552032,
0.1392849087715149,
0.029066052287817,
0.2536725401878357,
0.087916299700737,
0.008565522730350494,
0.05496441200375557,
0.2888900935649872,
0.3888358473777771,
0.14704257249832153,
-0.014186175540089607,
0.3974843919277191,
0.2978729009628296,
-0.1480468064546585,
... |
https://github.com/huggingface/datasets/issues/3807 | NonMatchingChecksumError in xcopa dataset | Thanks @labouz for reporting: yes, better opening a new GitHub issue as you did. I'm addressing it:
- #4376 | ## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails ... | 19 | NonMatchingChecksumError in xcopa dataset
## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be lo... | [
-0.1311444491147995,
0.04470402002334595,
-0.027753664180636406,
0.1082906723022461,
0.11410778760910034,
-0.020578395575284958,
-0.017397087067365646,
0.3379517197608948,
0.18836143612861633,
0.12099512666463852,
0.12528763711452484,
0.286175936460495,
0.26265427470207214,
-0.058705098927... |
https://github.com/huggingface/datasets/issues/3804 | Text builder with custom separator line boundaries | Hi ! Interresting :)
Could you give more details on what kind of separators you would like to use instead ? | **Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line bound... | 21 | Text builder with custom separator line boundaries
**Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `spli... | [
-0.5105409026145935,
0.07090319693088531,
-0.16261449456214905,
0.1696150004863739,
-0.16342788934707642,
-0.17726576328277588,
0.5803589820861816,
0.23264862596988678,
0.036054015159606934,
0.16210466623306274,
0.08608246594667435,
0.13267262279987335,
-0.09969516098499298,
0.343182325363... |
https://github.com/huggingface/datasets/issues/3804 | Text builder with custom separator line boundaries | Ok I see, maybe there can be a `sep` parameter to allow users to specify what line/paragraph separator they'd like to use | **Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line bound... | 22 | Text builder with custom separator line boundaries
**Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `spli... | [
-0.47402480244636536,
0.032496869564056396,
-0.1551949381828308,
0.1238289326429367,
-0.16837181150913239,
-0.17843475937843323,
0.6166978478431702,
0.22916586697101593,
0.020035024732351303,
0.20535904169082642,
0.09697119146585464,
0.12548482418060303,
-0.056737661361694336,
0.3359184265... |
https://github.com/huggingface/datasets/issues/3804 | Text builder with custom separator line boundaries | Thanks for requesting this enhancement. We have recently found a somehow related issue with another dataset:
- #3704
Let me make a PR proposal. | **Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line bound... | 24 | Text builder with custom separator line boundaries
**Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `spli... | [
-0.45031315088272095,
0.0747956931591034,
-0.12883387506008148,
0.2104608565568924,
-0.10137884318828583,
-0.18994033336639404,
0.6217503547668457,
0.22347822785377502,
0.01986819878220558,
0.16700111329555511,
0.06577043980360031,
0.14347819983959198,
-0.05694928020238876,
0.3055793642997... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | Same issue with `dataset = load_dataset("dbpedia_14")`
```
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbQ2Vic1kxMmZZQ1k'] | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 16 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.364902526140213,
0.21770551800727844,
-0.1216040849685669,
0.32967209815979004,
0.1562201976776123,
-0.015408746898174286,
0.2091427892446518,
0.38488590717315674,
0.09182319045066833,
0.039235688745975494,
-0.03399178385734558,
0.07757273316383362,
0.0966651663184166,
0.196763888001441... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | I think this is a side-effect of #3787. The checksums won't match because the URLs have changed. @rafikg @Y0mingZhang, while this is fixed, maybe you can load the datasets as such:
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", ignore_verifications=True)`
`dataset = load_dataset("... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 53 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.204592764377594,
0.04998214542865753,
-0.04094046354293823,
0.3436926007270813,
0.3134644627571106,
-0.044294871389865875,
0.13198435306549072,
0.3513379693031311,
0.1909446269273758,
0.17218676209449768,
-0.08478493988513947,
0.03630847856402397,
0.20983809232711792,
0.3477250039577484... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | Hi! Installing the `datasets` package from master (`pip install git+https://github.com/huggingface/datasets.git`) and then redownloading the datasets with `download_mode` set to `force_redownload` (e.g. `dataset = load_dataset("dbpedia_14", download_mode="force_redownload")`) should fix the issue. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 29 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.38432762026786804,
0.19962087273597717,
-0.1146312803030014,
0.3184932470321655,
0.3418924808502197,
-0.054948363453149796,
0.20009776949882507,
0.47188082337379456,
0.21957077085971832,
0.13653326034545898,
-0.04182789474725723,
0.1422179639339447,
0.09030754864215851,
0.26281169056892... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | Hi @rafikg and @Y0mingZhang, thanks for reporting.
Indeed it seems that Google Drive changed their way to access their data files. We have recently handled that change:
- #3787
but it will be accessible to users only in our next release of the `datasets` version.
- Note that our latest release (version 1.18.3) ... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 117 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.28069791197776794,
0.1842430830001831,
-0.0431707426905632,
0.20635338127613068,
0.3406111001968384,
0.1340312957763672,
0.24233311414718628,
0.30143049359321594,
0.283456951379776,
0.22021852433681488,
-0.07512005418539047,
-0.11807844042778015,
0.04707159847021103,
0.40920379757881165... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @albertvillanova by running:
```
pip install git+https://github.com/huggingface/datasets#egg=datasets
data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", download_mode="force_redownload", ignore_verifications=True)
```
I had a pickle error **UnpicklingError: invalid load key, '<'** ... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 59 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.25286775827407837,
0.19000300765037537,
-0.06364215910434723,
0.31402650475502014,
0.0766310840845108,
-0.06661059707403183,
0.16284947097301483,
0.21626663208007812,
0.5342551469802856,
0.16381090879440308,
-0.06504709273576736,
0.4586711823940277,
-0.05623449385166168,
0.4272356033325... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | This issue impacts many more datasets than the ones mention in this thread. Can we post # of downloads for each dataset by day (by successes and failures)? If so, it should be obvious which ones are failing. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 38 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3122648596763611,
0.2210712730884552,
-0.0906827449798584,
0.27685654163360596,
0.22925981879234314,
-0.08869071304798126,
0.292554646730423,
0.3545774817466736,
0.18287163972854614,
0.20688636600971222,
0.13877920806407928,
-0.011159132234752178,
0.0016287853941321373,
0.17810568213462... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | I can see this problem too in xcopa, unfortunately installing the latest master (1.18.4.dev0) doesn't work, @albertvillanova .
```
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
Throws
```
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 ... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 74 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3634569048881531,
0.22175848484039307,
-0.0390358567237854,
0.15206627547740936,
0.19602477550506592,
-0.004692547023296356,
-0.016569014638662338,
0.480654239654541,
0.012492693960666656,
0.10679517686367035,
0.08602272719144821,
0.16004061698913574,
0.20923413336277008,
0.128358393907... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | Hi @rafikg, I think that is another different issue. Let me check it...
I guess maybe you are using a different Python version that the one the dataset owner used to create the pickle file... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 35 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.1837100088596344,
0.12794971466064453,
-0.09204761683940887,
0.25966957211494446,
0.25079774856567383,
-0.06871268153190613,
0.13813626766204834,
0.4400162100791931,
0.4555809795856476,
0.15205585956573486,
0.016631904989480972,
0.4371013641357422,
-0.022384364157915115,
0.2981745004653... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @kwchurch the datasets impacted for this specific issue are the ones which are hosted at Google Drive. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 17 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.2723340094089508,
0.2513688802719116,
-0.08253675699234009,
0.309296190738678,
0.15996547043323517,
0.08242493122816086,
0.3484653830528259,
0.27466991543769836,
0.17148558795452118,
0.10927171260118484,
0.049288637936115265,
-0.021548889577388763,
0.009568541310727596,
0.16901022195816... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @afcruzs-ms I think your issue is a different one, because that dataset is not hosted at Google Drive. Would you mind open another issue for that other problem, please? Thanks! :) | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 31 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3380446135997772,
0.23434951901435852,
-0.10289376974105835,
0.24889782071113586,
0.25590240955352783,
0.05222933739423752,
0.29888659715652466,
0.38554689288139343,
0.1882089525461197,
0.18515779078006744,
0.07046081125736237,
-0.06343143433332443,
0.028198227286338806,
0.2961120903491... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @albertvillanova just to let you know that I tried it locally and on colab and it is the same error | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 20 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.38737452030181885,
0.2373122274875641,
-0.08241010457277298,
0.3719084858894348,
0.22750262916088104,
-0.004979141056537628,
0.18100020289421082,
0.3520689606666565,
0.17530351877212524,
0.11249612271785736,
-0.06985584646463394,
0.08910325914621353,
0.023875314742326736,
0.245414003729... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | There are many many datasets on HugggingFace that are receiving this checksum error. Some of these datasets are very popular. There must be a way to track these errors, or to do regression testing. We don't want to catch each of these errors on each dataset, one at a time. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 50 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.02981892041862011,
-0.20396080613136292,
0.021171316504478455,
0.4256591200828552,
0.29044657945632935,
0.04316025972366333,
0.14271897077560425,
0.19865413010120392,
0.24081993103027344,
0.27925097942352295,
0.11811646074056625,
-0.10390595346689224,
-0.12981589138507843,
0.24135570228... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @rafikg I am sorry, but I can't reproduce your issue. For me it works OK for all languages. See: https://colab.research.google.com/drive/1yIcLw1it118-TYE3ZlFmV7gJcsF6UCsH?usp=sharing | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 20 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3512471616268158,
0.16597488522529602,
-0.09334598481655121,
0.2689793109893799,
0.3992983102798462,
-0.10218413174152374,
0.23095421493053436,
0.5082910656929016,
0.22223243117332458,
0.09733074903488159,
-0.022851435467600822,
0.10414732992649078,
0.11139927804470062,
0.22196610271930... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @kwchurch the PR #3787 fixes this issue (generated by a change in Google Drive service) for ALL datasets with this issue. Once we make our next library release (in a couple of days), the fix will be accessible to all users that update our library from PyPI. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 47 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.24296502768993378,
0.32840022444725037,
-0.052209384739398956,
0.20915769040584564,
0.2420460432767868,
0.04546458274126053,
0.46339666843414307,
0.3967263996601105,
0.10458017885684967,
0.16378165781497955,
0.06376023590564728,
0.0762731283903122,
0.1462748497724533,
0.2466355115175247... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | By the way, @rafikg, I discovered the URL for Spanish was wrong. I've created a PR to fix it:
- #3806 | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 21 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.2747669816017151,
0.3010276257991791,
-0.11360335350036621,
0.2822935879230499,
0.2694523334503174,
0.032837942242622375,
0.12573963403701782,
0.2994842827320099,
0.188693106174469,
0.12891101837158203,
-0.03692566603422165,
0.11755141615867615,
0.057266972959041595,
-0.0736764669418335... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | I have the same problem with "wider_face" dataset. It seems that "load_dataset" function can not download the dataset from google drive.
| ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 21 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.38702672719955444,
0.14001765847206116,
-0.06855662167072296,
0.40982121229171753,
0.1368342787027359,
0.11542943865060806,
0.3463049829006195,
0.214224174618721,
0.3116491734981537,
0.14098045229911804,
-0.057087741792201996,
-0.09075634181499481,
0.1048545092344284,
0.340881884098053,... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | still getting this issue with datasets==2.2.2 for
dataset_fever_original_dev = load_dataset('fever', "v1.0", split="labelled_dev")
(this one seems to be hosted by aws though)
update: also tried to install from source to get the latest 2.2.3.dev0, but still get the error below (and also force-redownloaded)
upda... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 331 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.2715083062648773,
0.20816722512245178,
-0.03618209436535835,
0.15410709381103516,
0.10283160209655762,
-0.0254959799349308,
0.2025122046470642,
0.3087768852710724,
0.23714512586593628,
0.013354487717151642,
-0.16942386329174042,
-0.10074295848608017,
0.1616104692220688,
0.31528100371360... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | I think this has to be fixed on the google drive side, but you also have to delete the bad stuff from your local cache. This is not a great design, but it is what it is. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 37 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.25690343976020813,
0.2726723253726959,
-0.08625070750713348,
0.30211323499679565,
0.264484167098999,
0.11480049043893814,
0.40884706377983093,
0.39511778950691223,
0.24586999416351318,
0.14959444105625153,
0.036074161529541016,
-0.007530096918344498,
0.10224349796772003,
0.2694882154464... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | We have fixed the issues with the datasets:
- wider_face: by hosting their data files on the HuggingFace Hub (CC: @HosseynGT)
- fever: by updating to their new data URLs (CC: @MoritzLaurer) | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 32 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.13674576580524445,
0.007840082049369812,
-0.0645785853266716,
0.40546882152557373,
0.14974234998226166,
-0.03516145423054695,
0.2704274356365204,
0.23103223741054535,
0.24462684988975525,
0.17758695781230927,
-0.1481398046016693,
-0.008374305441975594,
0.017795300111174583,
0.2342431992... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | This is a super-common failure mode. We really need to find a better workaround. My solution was to wait until the owner of the dataset in question did the right thing, and then I had to delete my cached versions of the datasets with the bad checksums. I don't understand why this happens. Would it be possible to ma... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 141 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.09712287038564682,
0.3189546465873718,
-0.02820192463696003,
0.22159138321876526,
0.1986926645040512,
0.08320081979036331,
0.3360256850719452,
0.24195830523967743,
0.13730596005916595,
0.1684645563364029,
0.15631264448165894,
-0.07448147237300873,
0.007777418941259384,
-0.01449128612875... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | Same for [DART dataset](https://huggingface.co/datasets/dart):
```
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://raw.githubusercontent.com/Yale-LILY/dart/master/data/v1.1.1/dart-v1.1.1-full-train.json', 'https://raw.githubusercontent.com/Yale-LILY/dart/master/data/v1.1.1/dart-v... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 17 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.2983851432800293,
0.12929564714431763,
-0.1360701322555542,
0.23197515308856964,
0.237399622797966,
-0.02615094929933548,
0.19052433967590332,
0.3863394856452942,
0.12417249381542206,
-0.026040121912956238,
-0.03466229885816574,
0.13166217505931854,
0.10376369208097458,
0.04953528940677... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | - @thesofakillers the issue with `exams` was fixed on 16 Aug by this PR:
- #4853
- @Aktsvigun the issue with `dart` has been transferred to the Hub: https://huggingface.co/datasets/dart/discussions/1
- and fixed by PR: https://huggingface.co/datasets/dart/discussions/2
- @Carol-gutianle the issue with `multi_ne... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 86 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.21696123480796814,
0.08345609903335571,
-0.15576910972595215,
0.2350684255361557,
0.38341712951660156,
-0.06602111458778381,
0.3294699788093567,
0.41948559880256653,
0.17528079450130463,
0.11724361032247543,
0.05562435835599899,
0.16826888918876648,
0.14824868738651276,
0.14849148690700... |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | auto_gptq is required for real quantization
['/home/sam/Doctorproject/OmniQuant-main/main.py', '--model', '/home/sam/Doctorproject/OmniQuant-main/PATH/TO/LLaMA/llama-7b/', '--epochs', '20', '--output_dir', '/home/sam/Doctorproject/OmniQuant-main/outdir/llama-7b-w3a16/', '--eval_ppl', '--wbits', '3', '--abits', '16', '... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 418 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3555406928062439,
0.35499897599220276,
-0.049911919981241226,
0.23800629377365112,
0.38942569494247437,
-0.02423764020204544,
0.04631569981575012,
0.5024418234825134,
0.0628199428319931,
0.08423274010419846,
-0.10946397483348846,
0.15064756572246552,
-0.019580066204071045,
0.18422649800... |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | I see two options:
1. drop the "dev" keyword since it can be considered too generic
2. improve the pattern to something more reasonable, e.g. asking for a separator before and after "dev"
```python
["*[ ._-]dev[ ._-]*", "dev[ ._-]*"]
```
I think 2. is nice. If we agree on this one we can even decide to require ... | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 67 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
0.00019801035523414612,
-0.022332601249217987,
-0.0004891827702522278,
0.03128046914935112,
0.2191145122051239,
-0.20049825310707092,
0.24112850427627563,
0.5713523626327515,
-0.2572959065437317,
-0.13796325027942657,
0.14218729734420776,
0.17518934607505798,
-0.19896861910820007,
0.218501... |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | Yes, I had something like that on mind: "dev" not being part of a word.
```
"[^a-zA-Z]dev[^a-zA-Z]" | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 17 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.08800217509269714,
0.027919262647628784,
-0.027738424018025398,
0.17703275382518768,
0.131300687789917,
-0.20753398537635803,
0.19297058880329132,
0.5046434998512268,
-0.2156713753938675,
-0.022831350564956665,
0.0592503547668457,
0.23835335671901703,
-0.02684652805328369,
0.10293265432... |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | Is there a reason why we want that regex? It feels like something that'll still be an issue for some weird case. "my_dataset_dev" doesn't match your regex, "my_dataset_validation" doesn't either ... Why not always "train" unless specified? | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 37 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.1274331957101822,
0.04633675515651703,
0.013926185667514801,
-0.06719404458999634,
0.19075576961040497,
-0.09639116376638412,
0.5693849921226501,
0.5711491107940674,
-0.2740081250667572,
-0.0007302239537239075,
0.0903313159942627,
0.058716706931591034,
-0.17910504341125488,
0.1223724111... |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | The regex is needed as part of our effort to make datasets configurable without code. In particular we define some generic dataset repository structures that users can follow
> ```
> "[^a-zA-Z]*dev[^a-zA-Z]*"
> ```
unfortunately our glob doesn't support "^":
https://github.com/fsspec/filesystem_spec/blob/3e... | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 41 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.2896316349506378,
0.1827498972415924,
0.0006292834877967834,
0.17758825421333313,
0.1653621345758438,
-0.21842288970947266,
0.20605283975601196,
0.5261222720146179,
-0.18241989612579346,
-0.007453650236129761,
-0.044632382690906525,
0.0348765067756176,
-0.05559396743774414,
0.2794863879... |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | > "my_dataset_dev" doesn't match your regex, "my_dataset_validation" doesn't either ... Why not always "train" unless specified?
And `my_dataset_dev.foo` would match the pattern, and we also have the same pattern but for the "validation" keyword so `my_dataset_validation.foo` would work too | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 39 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.22089800238609314,
0.08572669327259064,
-0.0347692035138607,
0.11357893794775009,
0.180914044380188,
-0.09965336322784424,
0.31540602445602417,
0.5672200918197632,
-0.18939277529716492,
-0.08389537036418915,
0.16459012031555176,
0.20880115032196045,
-0.12983250617980957,
0.1652333140373... |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | > The regex is needed as part of our effort to make datasets configurable without code
This feels like coding with the filename ^^' | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 24 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.25342634320259094,
0.13746654987335205,
-0.06335359066724777,
0.13250324130058289,
0.15387576818466187,
-0.11227462440729141,
0.2060326188802719,
0.5831241011619568,
-0.13597241044044495,
-0.03974711894989014,
0.01743035763502121,
0.19663359224796295,
-0.014410720206797123,
0.1911669224... |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | This is still much easier than having to write a full dataset script right ? :p | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 16 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.3309619426727295,
0.07038557529449463,
-0.10609476268291473,
0.1277536153793335,
0.19297082722187042,
-0.10530851781368256,
0.28017011284828186,
0.5553886294364929,
-0.007397536188364029,
0.10581216216087341,
0.1400858610868454,
0.26939231157302856,
0.04482506960630417,
0.22971706092357... |
https://github.com/huggingface/datasets/issues/3786 | Bug downloading Virus scan warning page from Google Drive URLs | Once the PR merged into master and until our next `datasets` library release, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, if you had previously tried to load the data and got the checksum error,... | ## Describe the bug
Recently, some issues were reported with URLs from Google Drive, where we were downloading the Virus scan warning page instead of the data file itself.
See:
- #3758
- #3773
- #3784
| 77 | Bug downloading Virus scan warning page from Google Drive URLs
## Describe the bug
Recently, some issues were reported with URLs from Google Drive, where we were downloading the Virus scan warning page instead of the data file itself.
See:
- #3758
- #3773
- #3784
Once the PR merged into master and until o... | [
-0.14111559092998505,
0.014848902821540833,
-0.0489371120929718,
0.2452070564031601,
0.20490245521068573,
0.07190003246068954,
0.11733248829841614,
0.20772551000118256,
0.3714016079902649,
0.19622553884983063,
-0.06607647985219955,
-0.15883873403072357,
0.10402505099773407,
0.3147510588169... |
https://github.com/huggingface/datasets/issues/3784 | Unable to Download CNN-Dailymail Dataset | Glad to help @albertvillanova! Just fine-tuning the PR, will comment once I am able to get it up and running 😀 | ## Describe the bug
I am unable to download the CNN-Dailymail dataset. Upon closer investigation, I realised why this was happening:
- The dataset sits in Google Drive, and both the CNN and DM datasets are large.
- Google is unable to scan the folder for viruses, **so the link which would originally download the dat... | 21 | Unable to Download CNN-Dailymail Dataset
## Describe the bug
I am unable to download the CNN-Dailymail dataset. Upon closer investigation, I realised why this was happening:
- The dataset sits in Google Drive, and both the CNN and DM datasets are large.
- Google is unable to scan the folder for viruses, **so the ... | [
-0.09047689288854599,
0.06383641064167023,
-0.06501327455043793,
0.3773006796836853,
0.24847257137298584,
0.25623515248298645,
0.30846157670021057,
0.13527406752109528,
-0.1773417890071869,
0.12619665265083313,
-0.07416261732578278,
-0.017222074791789055,
-0.29949963092803955,
0.0711789131... |
https://github.com/huggingface/datasets/issues/3778 | Not be able to download dataset - "Newsroom" | Hi @Darshan2104, thanks for reporting.
Please note that at Hugging Face we do not host the data of this dataset, but just a loading script pointing to the host of the data owners.
Apparently the data owners changed their data host server. After googling it, I found their new website at: https://lil.nlp.cornell.ed... | Hello,
I tried to download the **newsroom** dataset but it didn't work out for me. it said me to **download it manually**!
For manually, Link is also didn't work! It is sawing some ad or something!
If anybody has solved this issue please help me out or if somebody has this dataset please share your google driv... | 64 | Not be able to download dataset - "Newsroom"
Hello,
I tried to download the **newsroom** dataset but it didn't work out for me. it said me to **download it manually**!
For manually, Link is also didn't work! It is sawing some ad or something!
If anybody has solved this issue please help me out or if somebody... | [
-0.26750102639198303,
0.32212206721305847,
-0.005487628281116486,
0.20531585812568665,
0.15944582223892212,
0.2996755540370941,
0.025815974920988083,
0.31091395020484924,
0.1214270144701004,
-0.07351610064506531,
-0.08823419362306595,
-0.1992521584033966,
-0.10556188970804214,
0.2716179490... |
https://github.com/huggingface/datasets/issues/3776 | Allow download only some files from the Wikipedia dataset | Hi @jvanz, thank you for your proposal.
In fact, we are aware that it is very common the problem you mention. Because of that, we are currently working in implementing a new version of wikipedia on the Hub, with all data preprocessed (no need to use Apache Beam), from where you will be able to use `data_files` to lo... | **Is your feature request related to a problem? Please describe.**
The Wikipedia dataset can be really big. This is a problem if you want to use it locally in a laptop with the Apache Beam `DirectRunner`. Even if your laptop have a considerable amount of memory (e.g. 32gb).
**Describe the solution you'd like**
I... | 70 | Allow download only some files from the Wikipedia dataset
**Is your feature request related to a problem? Please describe.**
The Wikipedia dataset can be really big. This is a problem if you want to use it locally in a laptop with the Apache Beam `DirectRunner`. Even if your laptop have a considerable amount of memo... | [
-0.21162118017673492,
0.050485074520111084,
-0.10688233375549316,
0.3503209948539734,
-0.04531509429216385,
0.10915056616067886,
0.023389074951410294,
0.6189422607421875,
0.44180458784103394,
0.1188720092177391,
-0.09599872678518295,
0.18924197554588318,
0.054292354732751846,
-0.0541352555... |
https://github.com/huggingface/datasets/issues/3773 | Checksum mismatch for the reddit_tifu dataset | @albertvillanova Thank you for the fast response! However I am still getting the same error:
Downloading: 2.23kB [00:00, ?B/s]
Traceback (most recent call last):
File "C:\Users\Anna\PycharmProjects\summarization\main.py", line 17, in <module>
dataset = load_dataset('reddit_tifu', 'long')
File "C:\Users\A... | ## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded and cached locally.
## Actual results
File "... | 112 | Checksum mismatch for the reddit_tifu dataset
## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded an... | [
-0.26124662160873413,
0.30781984329223633,
-0.03472023829817772,
0.29327884316444397,
0.2877587080001831,
-0.01536322757601738,
0.07713275402784348,
0.4611123204231262,
0.003072153776884079,
0.04997805505990982,
-0.07861137390136719,
0.1378062516450882,
0.42363137006759644,
0.1407803446054... |
https://github.com/huggingface/datasets/issues/3773 | Checksum mismatch for the reddit_tifu dataset | Hi @anna-kay, I'm sorry I didn't clearly explain the details to you:
- the error has been fixed in our `master` branch on GitHub: https://github.com/huggingface/datasets/commit/8ae21bf6a77175dc803ce2f1b93d18b8fbf45586
- the fix will not be accessible to users in PyPI until our next release of the `datasets` library
... | ## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded and cached locally.
## Actual results
File "... | 79 | Checksum mismatch for the reddit_tifu dataset
## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded an... | [
-0.19005201756954193,
0.11285537481307983,
-0.07971759140491486,
0.19644156098365784,
0.32475709915161133,
-0.081168532371521,
0.14281511306762695,
0.43338721990585327,
-0.020615482702851295,
0.0688302218914032,
-0.06491341441869736,
0.198968306183815,
0.43937987089157104,
0.19432938098907... |
https://github.com/huggingface/datasets/issues/3769 | `dataset = dataset.map()` causes faiss index lost | Hi ! Indeed `map` is dropping the index right now, because one can create a dataset with more or fewer rows using `map` (and therefore the index might not be relevant anymore)
I guess we could check the resulting dataset length, and if the user hasn't changed the dataset size we could keep the index, what do you thi... | ## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddin... | 60 | `dataset = dataset.map()` causes faiss index lost
## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('emb... | [
-0.19114834070205688,
-0.0692242980003357,
-0.0801808312535286,
0.27046889066696167,
0.07581931352615356,
0.34000223875045776,
0.21909241378307343,
0.21293726563453674,
0.7335779666900635,
0.23962055146694183,
-0.046845391392707825,
0.46913856267929077,
0.0690716803073883,
-0.3312777280807... |
https://github.com/huggingface/datasets/issues/3769 | `dataset = dataset.map()` causes faiss index lost | doing `.add_column("x",x_data)` also removes the index. the new column might be irrelevant to the index so I don't think it should drop.
Minimal example
```python
from datasets import load_dataset
import numpy as np
data=load_dataset("ceyda/cats_vs_dogs_sample") #just a test dataset
data=data["train"]
emb... | ## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddin... | 47 | `dataset = dataset.map()` causes faiss index lost
## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('emb... | [
-0.12139679491519928,
0.015257105231285095,
-0.04456828534603119,
0.1667940318584442,
0.16001971065998077,
0.40729233622550964,
0.2641547620296478,
0.23648220300674438,
0.6856908202171326,
0.21004986763000488,
-0.20901915431022644,
0.6060695052146912,
0.20546890795230865,
-0.33045545220375... |
https://github.com/huggingface/datasets/issues/3769 | `dataset = dataset.map()` causes faiss index lost | I agree `add_column` shouldn't drop the index indeed ! Is it something you'd like to contribute ? I think it's just a matter of copying the `self._indexes` dictionary to the output dataset | ## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddin... | 32 | `dataset = dataset.map()` causes faiss index lost
## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('emb... | [
-0.16240623593330383,
-0.00607704371213913,
-0.050822287797927856,
0.19401894509792328,
0.15720155835151672,
0.3615516126155853,
0.20458418130874634,
0.23357929289340973,
0.7304725050926208,
0.21505935490131378,
-0.21325524151325226,
0.613610565662384,
0.1274133324623108,
-0.22904509305953... |
https://github.com/huggingface/datasets/issues/3763 | It's not possible download `20200501.pt` dataset | Hi @jvanz, thanks for reporting.
Please note that Wikimedia website does not longer host Wikipedia dumps for so old dates.
For a list of accessible dump dates of `pt` Wikipedia, please see: https://dumps.wikimedia.org/ptwiki/
You can load for example `20220220` `pt` Wikipedia:
```python
dataset = load_datase... | ## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
```
## Expected results
I expect t... | 49 | It's not possible download `20200501.pt` dataset
## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='Dir... | [
-0.32233506441116333,
-0.1315496265888214,
-0.09835247695446014,
0.32115858793258667,
0.25045347213745117,
0.15006598830223083,
0.04972411319613457,
0.45896250009536743,
0.09251992404460907,
0.1612987220287323,
0.10031767189502716,
0.3547097444534302,
0.017580397427082062,
0.13518834114074... |
https://github.com/huggingface/datasets/issues/3763 | It's not possible download `20200501.pt` dataset | > ```python
> dataset = load_dataset("wikipedia", language="pt", date="20220220", beam_runner="DirectRunner")
> ```
Thank you! I did not know that I can do this. I was following the example in the error message when I do not define which language dataset I'm trying to download.
I've tried something similar chan... | ## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
```
## Expected results
I expect t... | 85 | It's not possible download `20200501.pt` dataset
## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='Dir... | [
-0.32233506441116333,
-0.1315496265888214,
-0.09835247695446014,
0.32115858793258667,
0.25045347213745117,
0.15006598830223083,
0.04972411319613457,
0.45896250009536743,
0.09251992404460907,
0.1612987220287323,
0.10031767189502716,
0.3547097444534302,
0.017580397427082062,
0.13518834114074... |
https://github.com/huggingface/datasets/issues/3762 | `Dataset.class_encode` should support custom class names | Hi @Dref360, thanks a lot for your proposal.
It totally makes sense to have more flexibility when class encoding, I agree.
You could even further customize the class encoding by passing an instance of `ClassLabel` itself (instead of replicating `ClassLabel` instantiation arguments as `Dataset.class_encode_column`... | I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexing.
https://github.com/huggingface/datasets/blob/master/sr... | 62 | `Dataset.class_encode` should support custom class names
I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexi... | [
0.21428190171718597,
0.11984619498252869,
0.03736736252903938,
0.15226009488105774,
0.4958590269088745,
0.25225338339805603,
0.27032986283302307,
0.11935608088970184,
-0.00805065967142582,
0.1555159091949463,
0.09971427172422409,
0.6819631457328796,
-0.20788651704788208,
0.1502428203821182... |
https://github.com/huggingface/datasets/issues/3762 | `Dataset.class_encode` should support custom class names | Hi @Dref360! You can use [`Dataset.align_labels_with_mapping`](https://huggingface.co/docs/datasets/master/package_reference/main_classes.html#datasets.Dataset.align_labels_with_mapping) after `Dataset.class_encode_column` to assign a different mapping of labels to ids.
@albertvillanova I'd like to avoid adding more... | I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexing.
https://github.com/huggingface/datasets/blob/master/sr... | 47 | `Dataset.class_encode` should support custom class names
I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexi... | [
0.19947408139705658,
-0.01150868833065033,
0.05015478655695915,
0.10149215161800385,
0.36114442348480225,
0.2609221637248993,
0.21678824722766876,
0.025550466030836105,
0.08183914422988892,
0.11730652302503586,
0.00869697704911232,
0.6595107316970825,
-0.169237419962883,
0.1270331740379333... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.