html_url
stringlengths 47
49
| title
stringlengths 4
111
| comments
stringlengths 71
20.4k
| body
stringlengths 0
12.9k
⌀ | comment_length_in_words
int64 16
1.61k
| text
stringlengths 100
20.5k
| embedding
sequencelengths 768
768
|
---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/pull/552 | Add multiprocessing | Hi,
when I use the multiprocessing in ```.map```:
```
dataset = load_dataset("text", data_files=file_path, split="train")
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_special_tokens=True,
truncation=True, max_length=args.block_size), batched=True, num_proc=16)
dataset.set_format(type='torch', columns=['input_ids'])
```
I get the following error:
```
Traceback (most recent call last):
File "src/run.py", line 373, in <module>
main()
File "src/run.py", line 295, in main
get_dataset(data_args, tokenizer=tokenizer, cache_dir=model_args.cache_dir) if training_args.do_train else None
File "src/run.py", line 153, in get_dataset
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_special_tokens=True,
File "/root/miniconda3/envs/py3.8/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1287, in map
transformed_shards = [r.get() for r in results]
File "/root/miniconda3/envs/py3.8/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1287, in <listcomp>
transformed_shards = [r.get() for r in results]
File "/root/miniconda3/envs/py3.8/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
put(task)
File "/root/miniconda3/envs/py3.8/lib/python3.8/multiprocessing/connection.py", line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File "/root/miniconda3/envs/py3.8/lib/python3.8/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
AttributeError: Can't pickle local object 'get_dataset.<locals>.<lambda>'
```
I think you should use [pathos](https://github.com/uqfoundation/pathos) to pickle the lambda function and some others!
I change the 30 line of src/datasets/arrow_dataset.py as following:
```
# 30 line: from multiprocessing import Pool, RLock
import pathos
from pathos.multiprocessing import Pool
from multiprocessing import RLock
```
and it works! | Adding multiprocessing to `.map`
It works in 3 steps:
- shard the dataset in `num_proc` shards
- spawn one process per shard and call `map` on them
- concatenate the resulting datasets
Example of usage:
```python
from nlp import load_dataset
dataset = load_dataset("squad", split="train")
def function(x):
return {"lowered": x.lower()}
processed = d.map(
function,
input_columns=["context"],
num_proc=4,
cache_file_name="playground/tmp.arrow",
load_from_cache_file=False
)
```
Here it writes 4 files depending on the process rank:
- `playground/tmp_00000_of_00004.arrow`
- `playground/tmp_00001_of_00004.arrow`
- `playground/tmp_00002_of_00004.arrow`
- `playground/tmp_00003_of_00004.arrow`
The suffix format can be specified by the user.
If the `cache_file_name` is not specified, it writes into separated files depending on the fingerprint, as usual.
I still need to:
- write tests for this
- try to improve the logging (currently it shows 4 progress bars, but if one finishes before the others, then the following messages are written over the progress bars)
| 173 | text: Add multiprocessing
Adding multiprocessing to `.map`
It works in 3 steps:
- shard the dataset in `num_proc` shards
- spawn one process per shard and call `map` on them
- concatenate the resulting datasets
Example of usage:
```python
from nlp import load_dataset
dataset = load_dataset("squad", split="train")
def function(x):
return {"lowered": x.lower()}
processed = d.map(
function,
input_columns=["context"],
num_proc=4,
cache_file_name="playground/tmp.arrow",
load_from_cache_file=False
)
```
Here it writes 4 files depending on the process rank:
- `playground/tmp_00000_of_00004.arrow`
- `playground/tmp_00001_of_00004.arrow`
- `playground/tmp_00002_of_00004.arrow`
- `playground/tmp_00003_of_00004.arrow`
The suffix format can be specified by the user.
If the `cache_file_name` is not specified, it writes into separated files depending on the fingerprint, as usual.
I still need to:
- write tests for this
- try to improve the logging (currently it shows 4 progress bars, but if one finishes before the others, then the following messages are written over the progress bars)
Hi,
when I use the multiprocessing in ```.map```:
```
dataset = load_dataset("text", data_files=file_path, split="train")
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_special_tokens=True,
truncation=True, max_length=args.block_size), batched=True, num_proc=16)
dataset.set_format(type='torch', columns=['input_ids'])
```
I get the following error:
```
Traceback (most recent call last):
File "src/run.py", line 373, in <module>
main()
File "src/run.py", line 295, in main
get_dataset(data_args, tokenizer=tokenizer, cache_dir=model_args.cache_dir) if training_args.do_train else None
File "src/run.py", line 153, in get_dataset
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_special_tokens=True,
File "/root/miniconda3/envs/py3.8/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1287, in map
transformed_shards = [r.get() for r in results]
File "/root/miniconda3/envs/py3.8/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1287, in <listcomp>
transformed_shards = [r.get() for r in results]
File "/root/miniconda3/envs/py3.8/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
put(task)
File "/root/miniconda3/envs/py3.8/lib/python3.8/multiprocessing/connection.py", line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File "/root/miniconda3/envs/py3.8/lib/python3.8/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
AttributeError: Can't pickle local object 'get_dataset.<locals>.<lambda>'
```
I think you should use [pathos](https://github.com/uqfoundation/pathos) to pickle the lambda function and some others!
I change the 30 line of src/datasets/arrow_dataset.py as following:
```
# 30 line: from multiprocessing import Pool, RLock
import pathos
from pathos.multiprocessing import Pool
from multiprocessing import RLock
```
and it works! | [
-0.173002690076828,
-0.15789639949798584,
-0.08558212220668793,
0.06643928587436676,
-0.03630344569683075,
-0.1727033257484436,
0.387258917093277,
0.08992940187454224,
-0.18114760518074036,
0.061219025403261185,
0.13509492576122284,
0.6306585073471069,
-0.1228216364979744,
-0.11893512308597565,
0.013157392852008343,
-0.16044653952121735,
0.08578038960695267,
-0.2022290825843811,
-0.004357181489467621,
0.09973315894603729,
-0.11689303070306778,
0.29697778820991516,
-0.2875383198261261,
0.208476722240448,
-0.6720642447471619,
-0.2458682656288147,
-0.18849188089370728,
0.263065904378891,
0.035198699682950974,
-0.544238269329071,
-0.13109178841114044,
0.17965219914913177,
-0.12082882970571518,
0.5320408344268799,
-0.00010915844177361578,
-0.052813444286584854,
0.33333808183670044,
-0.0633222758769989,
0.18578755855560303,
-0.11850027740001678,
0.04183707386255264,
-0.3009794056415558,
0.18117685616016388,
-0.47995179891586304,
0.3340803384780884,
0.10095938295125961,
0.274755597114563,
-0.39821481704711914,
0.4414868950843811,
0.1546047478914261,
0.23245790600776672,
0.21246501803398132,
-0.046631913632154465,
0.16705305874347687,
-0.030712738633155823,
0.13468720018863678,
-0.04510555416345596,
-0.15400102734565735,
0.1261102706193924,
-0.12110411375761032,
-0.3397354483604431,
0.24783681333065033,
-0.17493438720703125,
0.117136150598526,
-0.24201637506484985,
0.14243361353874207,
0.29030340909957886,
-0.2511388659477234,
0.0755247175693512,
0.005772873759269714,
-0.27188393473625183,
-0.3145432472229004,
-0.1907312572002411,
-0.27519214153289795,
-0.10782235860824585,
-0.6017733216285706,
0.008454501628875732,
0.105454221367836,
-0.14570654928684235,
-0.17896196246147156,
-0.4624207019805908,
0.09578093141317368,
0.07708624005317688,
-0.08321470022201538,
0.21687516570091248,
0.40623053908348083,
-0.0062094395980238914,
0.2940206825733185,
0.10855330526828766,
0.27085381746292114,
-0.14329543709754944,
-0.026323702186346054,
0.06645563989877701,
0.12311530858278275,
-0.5486549735069275,
0.10203850269317627,
0.08129210770130157,
-0.11762285977602005,
0.0781572014093399,
0.03862888365983963,
-0.046563226729631424,
0.021708250045776367,
-0.024708786979317665,
0.17733056843280792,
0.11217233538627625,
-0.1618044674396515,
0.24605506658554077,
0.07954716682434082,
-0.008920267224311829,
-0.24473024904727936,
-0.15351271629333496,
0.06043604016304016,
0.149412140250206,
-0.38296836614608765,
0.1374707669019699,
0.2712036967277527,
-0.02588268183171749,
0.10011227428913116,
0.06544414162635803,
-0.04604874178767204,
-0.07082399725914001,
-0.3196251690387726,
0.004548871889710426,
0.2746932804584503,
0.13820943236351013,
0.13210555911064148,
-0.1953181028366089,
0.23223251104354858,
-0.23091106116771698,
-0.0028131864964962006,
-0.21012260019779205,
-0.019338861107826233,
-0.4700208604335785,
0.07932347059249878,
0.06521974503993988,
0.1535058617591858,
0.17682170867919922,
0.024758346378803253,
-0.03554258495569229,
-0.24041159451007843,
0.2212163507938385,
-0.28261229395866394,
0.31663814187049866,
0.07340098172426224,
0.14125359058380127,
0.22430740296840668,
0.0332074835896492,
-0.2593723237514496,
-0.18943029642105103,
0.1512012779712677,
-0.24873030185699463,
-0.2785130441188812,
-0.15462875366210938,
0.14882534742355347,
-0.03555520623922348,
0.22697769105434418,
-0.35057106614112854,
0.12097190320491791,
0.5071247816085815,
-0.10270476341247559,
0.04539630189538002,
-0.09991870820522308,
-0.3501093089580536,
-0.38433465361595154,
0.19757911562919617,
0.3764379620552063,
0.1274639219045639,
-0.1252395063638687,
-0.1995418667793274,
-0.07802334427833557,
0.423290491104126,
0.2726426124572754,
-0.15677598118782043,
0.29321977496147156,
-0.05964136868715286,
0.7583009004592896,
0.41835451126098633,
-0.3299624025821686,
-0.0030819717794656754,
0.267073392868042,
-0.35112518072128296,
0.02985798381268978,
0.3231313228607178,
-0.12747159600257874,
0.2912454903125763,
0.03317360207438469,
0.10465310513973236,
0.20814159512519836,
0.021372303366661072,
0.16334405541419983,
-0.22471359372138977,
0.006017809733748436,
0.08533589541912079,
0.06783674657344818,
0.028091764077544212,
-0.3210338354110718,
0.1688319742679596,
-0.1833876222372055,
0.3549084961414337,
-0.06227791681885719,
0.18967588245868683,
0.03388829901814461,
-0.19189240038394928,
-0.07836535573005676,
-0.14625272154808044,
-0.1262601912021637,
-0.1922551393508911,
0.16761243343353271,
-0.34511467814445496,
-0.1693831980228424,
-0.15630774199962616,
-0.05220845714211464,
0.24283099174499512,
-0.007628249004483223,
-0.355962872505188,
-0.4136437475681305,
0.24324700236320496,
0.21134713292121887,
-0.10823889076709747,
-0.13980434834957123,
-0.15653061866760254,
0.28621724247932434,
-0.11669906228780746,
-0.23916135728359222,
-0.21563835442066193,
0.08154884725809097,
-0.24771319329738617,
-0.3214801251888275,
-0.19496336579322815,
0.2525614798069,
0.09709097445011139,
0.06486883759498596,
-0.017987476661801338,
0.391669362783432,
0.022875769063830376,
0.14694106578826904,
0.2832103967666626,
0.008096247911453247,
0.0004710778594017029,
-0.07480138540267944,
-0.16421125829219818,
-0.1739414483308792,
-0.1254996806383133,
-0.21362420916557312,
-0.056978560984134674,
0.12106265127658844,
0.06954610347747803,
0.3657926023006439,
0.01785857230424881,
0.08239266276359558,
0.29926878213882446,
-0.19918152689933777,
0.020044391974806786,
0.0020641088485717773,
0.25563400983810425,
0.010636098682880402,
0.05004574730992317,
-0.09508274495601654,
-0.2474406659603119,
-0.008267238736152649,
0.719485878944397,
0.120112344622612,
0.06921668350696564,
-0.019340835511684418,
0.03000718355178833,
-0.18541178107261658,
0.14824368059635162,
0.09719182550907135,
0.6090821027755737,
0.17607198655605316,
0.10236478596925735,
-0.059536658227443695,
-0.20154628157615662,
-0.1364504098892212,
0.0704638808965683,
-0.06399223208427429,
0.04924507066607475,
0.39050057530403137,
0.1268463283777237,
0.10444832593202591,
-0.11473070085048676,
-0.28307294845581055,
0.2398829162120819,
-0.11492276191711426,
-0.18881122767925262,
0.17746223509311676,
-0.2784755527973175,
0.26804664731025696,
-0.19703084230422974,
0.07279375195503235,
-0.1785760372877121,
-0.23947478830814362,
-0.05364921689033508,
0.07745259255170822,
0.050240788608789444,
0.27367308735847473,
0.16399216651916504,
-0.1086866706609726,
-0.09938350319862366,
-0.1824089139699936,
0.03867776691913605,
-0.2602103352546692,
-0.15270021557807922,
0.014698021113872528,
0.33014118671417236,
0.3175475001335144,
0.3839004635810852,
0.09713337570428848,
-0.12615203857421875,
-0.23154465854167938,
0.06281191855669022,
0.10240723937749863,
-0.17185461521148682,
-0.06923163682222366,
0.02449842542409897,
-0.3250480890274048,
-0.20550355315208435,
-0.3563917279243469,
0.2657749652862549,
-0.26450297236442566,
-0.1621192991733551,
0.09907499700784683,
-0.009406927041709423,
-0.282991498708725,
-0.20956584811210632,
-0.21374210715293884,
-0.28704410791397095,
-0.383055180311203,
0.40458911657333374,
-0.07992313802242279,
0.4144213795661926,
-0.004058832302689552,
-0.09473740309476852,
0.4124212861061096,
-0.20065060257911682,
0.07949966937303543,
-0.10548979789018631,
-0.1152084469795227,
0.08492877334356308,
-0.29467713832855225,
-0.2657679319381714,
0.030328530818223953,
0.1007109135389328,
0.24259985983371735,
0.24253109097480774,
-0.19627971947193146,
0.010364917106926441,
0.027796875685453415,
-0.06840798258781433,
0.015736959874629974,
0.26444268226623535,
0.7209137678146362,
0.10804058611392975,
-0.13084782660007477,
-0.07320861518383026,
-0.2162797898054123,
0.23157700896263123,
0.05354129523038864,
0.24404168128967285,
-0.07726190239191055,
0.20220038294792175,
0.2986089885234833,
0.7085330486297607,
0.3838587701320648,
-0.19595564901828766,
0.23658011853694916,
-0.012773798778653145,
-0.04044700041413307,
-0.00472240149974823,
-0.25637444853782654,
0.15600411593914032,
-0.3769408166408539,
0.1194225400686264,
0.15436942875385284,
-0.024828892201185226,
-0.3938939571380615,
0.039291851222515106,
0.3067001402378082,
-0.4684283435344696,
-0.30377525091171265,
0.2301459163427353,
-0.07415150851011276,
0.30285704135894775,
-0.26420584321022034,
-0.20018300414085388,
-0.22130036354064941,
-0.014109094627201557,
-0.058405544608831406,
0.21942301094532013,
0.13371503353118896,
-0.18264788389205933,
-0.32371196150779724,
-0.0008587785996496677,
-0.5785160064697266,
0.44922077655792236,
0.10116920620203018,
0.13916060328483582,
-0.14854906499385834,
-0.0776989683508873,
0.1044185534119606,
-0.17482571303844452,
0.4272094964981079,
-0.30550315976142883,
-0.09938746690750122,
0.3676685392856598,
-0.086428701877594,
-0.2576093375682831,
-0.10688915848731995,
-0.23255561292171478,
0.8567211031913757,
0.43534931540489197,
0.3470606803894043,
-0.2573537528514862,
-0.26127102971076965,
0.06634807586669922,
-0.31284698843955994,
0.08755871653556824,
-0.2558016777038574,
-0.3565293252468109,
-0.03368508815765381,
-0.3694140315055847,
0.07004492729902267,
0.12726354598999023,
0.195219025015831,
-0.1705053448677063,
-0.10132475197315216,
-0.04566561430692673,
0.051184043288230896,
0.09832840412855148,
0.02489985153079033,
0.14356330037117004,
0.14618976414203644,
-0.12569378316402435,
0.10391093045473099,
0.1851940155029297,
-0.3652273714542389,
0.18751077353954315,
-0.11921057105064392,
0.3474673628807068,
0.2514982223510742,
-0.24074923992156982,
0.4009762704372406,
0.259298175573349,
0.026367299258708954,
0.15388335287570953,
-0.19230635464191437,
0.2437443882226944,
-0.15177065134048462,
0.26581788063049316,
0.5177063941955566,
0.05136694386601448,
-0.15634118020534515,
0.024459419772028923,
0.40163928270339966,
0.23864410817623138,
-0.16652268171310425,
0.5652492642402649,
-0.3981668949127197,
-0.31254759430885315,
0.3423500657081604,
0.14373621344566345,
0.8134452104568481,
-0.3455629348754883,
0.10578671097755432,
-0.1913294792175293,
0.08747540414333344,
0.1727106124162674,
-0.3241427540779114,
0.1578243374824524,
-0.27264755964279175,
0.0865682065486908,
0.06383679807186127,
-0.19370831549167633,
0.15074992179870605,
0.4281805157661438,
-0.24944941699504852,
0.15838810801506042,
0.15906202793121338,
-0.027141865342855453,
-0.050423987209796906,
0.4592529535293579,
0.40361034870147705,
-0.4353954792022705,
-0.13456302881240845,
0.10259971022605896,
0.0065904222428798676,
-0.18690770864486694,
-0.004481521435081959,
-0.09359037131071091,
0.027846958488225937,
-0.07531298696994781,
-0.29294490814208984,
0.02100297063589096,
-0.02912655472755432,
0.3261350393295288,
-0.00818861648440361,
-0.09521834552288055,
0.2020413726568222,
0.47685009241104126,
0.008237324655056,
-0.06882812082767487,
0.04789121821522713,
-0.1310698688030243,
0.10072344541549683,
0.04796360060572624,
-0.03043132834136486,
-0.199876606464386,
0.05597236379981041,
-0.15325674414634705,
-0.16100095212459564,
0.0806686282157898,
-0.06789107620716095,
-0.5648267865180969,
-0.04441092163324356,
0.47021204233169556,
0.24523933231830597,
0.09471298009157181,
0.05908643826842308,
0.22903046011924744,
-0.30699625611305237,
-0.017694028094410896,
0.14207080006599426,
0.21096296608448029,
-0.4255727529525757,
0.5716176629066467,
-0.274753212928772,
-0.21799509227275848,
0.1739245057106018,
0.11332495510578156,
-0.19343841075897217,
0.04131516069173813,
0.13467341661453247,
0.055593837052583694,
-0.06495819985866547,
-0.21084395051002502,
-0.24418330192565918,
-0.13095983862876892,
-0.0444268137216568,
-0.06739842891693115,
-0.05948098376393318,
-0.10337753593921661,
0.03035556711256504,
-0.13218609988689423,
-0.007304031401872635,
0.399766743183136,
-0.19548802077770233,
-0.2869824767112732,
-0.2904459536075592,
0.03664407134056091,
-0.4001491665840149,
0.09625140577554703,
0.14308908581733704,
0.41927438974380493,
0.16634100675582886,
0.5378191471099854,
-0.33548885583877563,
0.07941388338804245,
-0.4576288163661957,
0.343026727437973,
0.2607968747615814,
-0.34202152490615845,
-0.02668742649257183,
0.03464604169130325,
0.13301272690296173,
0.26894742250442505,
-0.4368748366832733,
-0.27772390842437744,
-0.09756039083003998,
0.11210201680660248,
0.1595974862575531,
0.09473355859518051,
0.19169709086418152,
0.08724591135978699,
-0.06388972699642181,
-0.23188993334770203,
-0.016115184873342514,
0.06497976183891296,
-0.1660454273223877,
0.1706477552652359,
0.3974461853504181,
0.17047299444675446,
-0.17565204203128815,
-0.1771155744791031,
-0.06245778501033783,
0.0696008950471878,
-0.10890327394008636,
0.25915205478668213,
0.14155423641204834,
-0.0314861536026001,
-0.11901412904262543,
-0.044336698949337006,
0.22723200917243958,
0.31859028339385986,
0.05424666032195091,
-0.1413092464208603,
-0.24340055882930756,
-0.20349198579788208,
0.3830900490283966,
0.2104184925556183,
-0.2503094971179962,
-0.00914437510073185,
0.10993767529726028,
0.20440280437469482,
0.010929051786661148,
-0.22452248632907867,
0.5190076231956482,
-0.025004059076309204,
0.13897280395030975,
0.040371209383010864,
0.30019164085388184,
0.026088878512382507,
0.00022871792316436768,
0.2751261591911316,
-0.06935404241085052,
-0.4897751808166504,
0.010676195845007896,
-0.24579903483390808,
-0.02073461189866066,
0.07289575785398483,
0.33921733498573303,
-0.21058113873004913,
0.12067200988531113,
0.2678524851799011,
0.16786491870880127,
0.5887117385864258,
0.06464660167694092,
0.06195249781012535,
0.06044314056634903,
-0.1469842493534088,
-0.06018156185746193,
0.024300135672092438,
0.023358218371868134,
0.36615338921546936,
-0.11463145911693573,
0.638655424118042,
-0.22545763850212097,
-0.2202128767967224,
-0.022704657167196274,
0.46025949716567993,
-0.12302733212709427,
-0.2150977998971939,
-0.0992291048169136,
0.07346678525209427,
-0.2763408422470093,
-0.08950574696063995,
0.0072019994258880615,
0.3259202837944031,
0.7332111597061157,
0.1539812535047531,
-0.05503720045089722,
0.0335867702960968,
-0.038412854075431824,
0.013721251860260963,
0.4230756461620331,
-0.46377548575401306,
0.24453142285346985,
0.17072226107120514,
-0.08956985175609589,
-0.11965563893318176,
0.22277654707431793,
0.499834805727005,
0.3463682234287262,
-0.38261470198631287,
0.04764422029256821,
-0.02259969711303711,
0.03339526057243347,
-0.07771201431751251,
0.2968587279319763,
0.1670115888118744,
-0.16813494265079498,
0.24118982255458832,
0.09284438192844391,
-0.19397103786468506,
-0.12113632261753082,
0.2975534200668335,
0.19755242764949799,
0.03926761820912361,
0.3605840504169464,
0.1053636223077774,
-0.2565460205078125,
0.12981534004211426,
0.0871909111738205,
-0.6720044612884521,
-0.07193604856729507,
0.5296058654785156,
-0.16924548149108887,
0.15753743052482605,
-0.25913456082344055,
0.10604317486286163,
0.016423210501670837,
0.5324620008468628,
-0.0823267251253128,
0.3373861312866211,
-0.3923191428184509,
-0.2576109766960144,
-0.6288978457450867,
0.14483152329921722,
-0.0855010598897934,
-0.013829817995429039,
-0.007553480565547943,
0.35707294940948486,
-0.15457484126091003,
0.3464052677154541,
0.1242503970861435,
-0.30850768089294434,
0.04710621386766434,
0.41502705216407776,
-0.4623534083366394,
0.19758477807044983,
-0.019735388457775116,
-0.08280394971370697,
0.21128863096237183,
-0.33321988582611084,
0.14234574139118195,
0.08412311226129532,
0.11853145807981491,
-0.036806683987379074,
-0.12740203738212585,
0.29592031240463257,
0.27278339862823486,
0.19240224361419678,
0.17029361426830292,
0.40262332558631897,
-0.2292230725288391,
0.043279148638248444,
-0.27205389738082886,
0.2619643807411194,
-0.16397090256214142,
-0.024006858468055725,
0.1395590901374817,
0.5714949369430542,
-0.26289597153663635,
0.07837378978729248,
-0.27275845408439636,
0.22478698194026947,
-0.11340222507715225,
-0.03281385079026222,
-0.0204320065677166,
-0.1026095449924469,
0.15199580788612366,
0.1706499457359314,
0.025479812175035477,
0.5544319152832031,
-0.0439039021730423,
0.34150198101997375,
-0.4433983564376831,
-0.3655675947666168,
0.22329607605934143,
-0.5667746067047119,
-0.31449568271636963,
-0.027279715985059738,
0.389387309551239,
-0.0037961453199386597,
0.22349606454372406,
-0.4949582815170288,
-0.29032444953918457,
0.2700667381286621,
0.00523059256374836,
-0.4671116769313812,
0.06950147449970245,
-0.21248628199100494,
-0.3059486150741577,
0.04358919337391853,
-0.0049714595079422,
-0.009663201868534088,
-0.1797933578491211,
-0.004858419299125671,
-0.4967281222343445
] |
https://github.com/huggingface/datasets/pull/552 | Add multiprocessing | Are you using a tokenizer ?
Did you try to set `TOKENIZERS_PARALLELISM=false` ?
Feel free to discuss it in #620 , we're discussing this issue | Adding multiprocessing to `.map`
It works in 3 steps:
- shard the dataset in `num_proc` shards
- spawn one process per shard and call `map` on them
- concatenate the resulting datasets
Example of usage:
```python
from nlp import load_dataset
dataset = load_dataset("squad", split="train")
def function(x):
return {"lowered": x.lower()}
processed = d.map(
function,
input_columns=["context"],
num_proc=4,
cache_file_name="playground/tmp.arrow",
load_from_cache_file=False
)
```
Here it writes 4 files depending on the process rank:
- `playground/tmp_00000_of_00004.arrow`
- `playground/tmp_00001_of_00004.arrow`
- `playground/tmp_00002_of_00004.arrow`
- `playground/tmp_00003_of_00004.arrow`
The suffix format can be specified by the user.
If the `cache_file_name` is not specified, it writes into separated files depending on the fingerprint, as usual.
I still need to:
- write tests for this
- try to improve the logging (currently it shows 4 progress bars, but if one finishes before the others, then the following messages are written over the progress bars)
| 25 | text: Add multiprocessing
Adding multiprocessing to `.map`
It works in 3 steps:
- shard the dataset in `num_proc` shards
- spawn one process per shard and call `map` on them
- concatenate the resulting datasets
Example of usage:
```python
from nlp import load_dataset
dataset = load_dataset("squad", split="train")
def function(x):
return {"lowered": x.lower()}
processed = d.map(
function,
input_columns=["context"],
num_proc=4,
cache_file_name="playground/tmp.arrow",
load_from_cache_file=False
)
```
Here it writes 4 files depending on the process rank:
- `playground/tmp_00000_of_00004.arrow`
- `playground/tmp_00001_of_00004.arrow`
- `playground/tmp_00002_of_00004.arrow`
- `playground/tmp_00003_of_00004.arrow`
The suffix format can be specified by the user.
If the `cache_file_name` is not specified, it writes into separated files depending on the fingerprint, as usual.
I still need to:
- write tests for this
- try to improve the logging (currently it shows 4 progress bars, but if one finishes before the others, then the following messages are written over the progress bars)
Are you using a tokenizer ?
Did you try to set `TOKENIZERS_PARALLELISM=false` ?
Feel free to discuss it in #620 , we're discussing this issue | [
-0.3006121516227722,
-0.06019693240523338,
-0.15415117144584656,
-0.027100980281829834,
-0.04754893481731415,
-0.20067757368087769,
0.34527450799942017,
0.24355480074882507,
-0.0778680071234703,
0.11267350614070892,
-0.017714207991957664,
0.7360875606536865,
-0.05060546100139618,
0.06710551679134369,
0.06784132122993469,
-0.037500396370887756,
0.07157694548368454,
-0.0077702924609184265,
-0.1847735345363617,
0.012694329023361206,
-0.0754290223121643,
0.1429920345544815,
-0.14329424500465393,
0.03878187760710716,
-0.5017087459564209,
-0.30009904503822327,
-0.2103840857744217,
0.26383471488952637,
0.05688611418008804,
-0.4149833023548126,
-0.09046348929405212,
0.32085520029067993,
-0.03984491154551506,
0.504692792892456,
-0.00010211564949713647,
-0.11924103647470474,
0.2270016074180603,
-0.043283917009830475,
0.07764887809753418,
0.01876060664653778,
-0.014265619218349457,
-0.3774571120738983,
0.21525129675865173,
-0.53587406873703,
0.22659295797348022,
0.05768981948494911,
0.3904295861721039,
-0.2690887451171875,
0.6813312768936157,
0.020410798490047455,
0.2635505497455597,
0.142848402261734,
-0.14024867117404938,
0.18508851528167725,
-0.10959390550851822,
0.09045979380607605,
-0.0193023718893528,
-0.0885983258485794,
0.13817542791366577,
-0.2518252432346344,
-0.39949172735214233,
0.1685318946838379,
-0.1354466676712036,
0.12779392302036285,
-0.1193399503827095,
0.1990276575088501,
0.42110204696655273,
-0.3433857262134552,
0.023822136223316193,
-0.022081159055233,
-0.2852107584476471,
-0.3463777005672455,
-0.17783311009407043,
-0.35096949338912964,
-0.12685264647006989,
-0.5973176956176758,
-0.15665405988693237,
0.13523143529891968,
-0.16593404114246368,
-0.17111697793006897,
-0.31497272849082947,
0.21905581653118134,
-0.03489319607615471,
-0.1474512368440628,
0.2987576723098755,
0.3510265350341797,
0.04132690653204918,
0.11002704501152039,
0.1648709774017334,
0.23343893885612488,
-0.06375999748706818,
-0.01689615473151207,
0.06853051483631134,
0.22300252318382263,
-0.5526777505874634,
-0.053870126605033875,
0.06233038008213043,
-0.11510210484266281,
0.09236843883991241,
0.11901602149009705,
0.05759411305189133,
0.17734339833259583,
0.11963330209255219,
0.1649198830127716,
0.11170342564582825,
-0.16316519677639008,
0.16326583921909332,
0.015247504226863384,
0.03743304684758186,
-0.1816605031490326,
-0.24414147436618805,
0.2333439588546753,
0.023503053933382034,
-0.2675227224826813,
0.0014575310051441193,
0.2236703336238861,
-0.22678446769714355,
0.16164055466651917,
0.1275210827589035,
-0.12498348206281662,
0.09604350477457047,
-0.22083143889904022,
-0.17480367422103882,
0.3783091604709625,
-0.015529798343777657,
0.04587820917367935,
-0.15761815011501312,
0.10260533541440964,
-0.2306128889322281,
0.04445657879114151,
-0.23837830126285553,
-0.06149468943476677,
-0.4452497959136963,
0.0384298712015152,
0.07847675681114197,
0.28216397762298584,
0.12189718335866928,
0.03598705679178238,
-0.033281803131103516,
-0.13295042514801025,
0.36300912499427795,
-0.22605645656585693,
0.20473435521125793,
-0.026555944234132767,
0.2746354341506958,
0.09026268124580383,
-0.0068627893924713135,
-0.23235347867012024,
-0.20056167244911194,
0.1725069284439087,
-0.1648438274860382,
-0.06768561154603958,
-0.06340433657169342,
0.20085382461547852,
-0.02352786995470524,
0.10842905193567276,
-0.308030903339386,
0.31324684619903564,
0.28234755992889404,
-0.004983615130186081,
-0.045002423226833344,
0.0693354532122612,
-0.3386760950088501,
-0.40171018242836,
0.22025616466999054,
0.32774561643600464,
0.03751138225197792,
-0.09182801842689514,
-0.06575510650873184,
-0.03606342151761055,
0.25858914852142334,
0.18967664241790771,
-0.13343538343906403,
0.07089338451623917,
0.09090518206357956,
0.5760251879692078,
0.49485793709754944,
-0.3152119517326355,
-0.06673029065132141,
0.27658355236053467,
-0.33228015899658203,
-0.19613733887672424,
0.24030300974845886,
0.09341753274202347,
0.41948971152305603,
0.09643474966287613,
-0.06780318915843964,
0.43309158086776733,
-0.08313218504190445,
0.2322709560394287,
-0.1637074202299118,
-0.1011156216263771,
0.08513806760311127,
0.2757842242717743,
0.04140724241733551,
-0.31354212760925293,
0.1675218939781189,
-0.23590078949928284,
0.5361469388008118,
-0.031163614243268967,
0.22642992436885834,
0.09386906772851944,
-0.11179357767105103,
0.03020492196083069,
-0.10873835533857346,
-0.18295934796333313,
-0.17892444133758545,
0.1672230064868927,
-0.33856233954429626,
-0.02060549706220627,
0.028160057961940765,
-0.10016562789678574,
0.1648363471031189,
-0.08475451916456223,
-0.2726113498210907,
-0.2873362600803375,
0.3251872658729553,
0.13596290349960327,
-0.04183723032474518,
-0.14598791301250458,
-0.2849733233451843,
0.2689642012119293,
-0.13340148329734802,
-0.1936018466949463,
-0.1795428991317749,
0.24845127761363983,
-0.2219988852739334,
-0.35960304737091064,
0.02022305130958557,
0.2003650665283203,
0.059932999312877655,
0.02122681587934494,
0.09826070070266724,
0.22018086910247803,
-0.036953121423721313,
0.15518631041049957,
0.3981226086616516,
0.0644950345158577,
0.0030665192753076553,
0.025160562247037888,
-0.07472696900367737,
-0.18275794386863708,
-0.18211519718170166,
-0.18664473295211792,
-0.15527239441871643,
0.1683376431465149,
0.019456900656223297,
0.3037346601486206,
0.10824607312679291,
-0.017596911638975143,
0.15605874359607697,
-0.20478412508964539,
0.12497886270284653,
0.10860371589660645,
0.1560959666967392,
-0.0644228607416153,
0.078982874751091,
-0.045809127390384674,
-0.10779671370983124,
0.2770964205265045,
0.6418989896774292,
0.15442468225955963,
0.08559772372245789,
-0.08450069278478622,
0.000675007700920105,
-0.08665545284748077,
0.08496996760368347,
0.24757887423038483,
0.34900352358818054,
0.28694480657577515,
0.24163897335529327,
-0.07359953969717026,
-0.27037513256073,
-0.01335923932492733,
-0.04024136811494827,
-0.10802850127220154,
0.12866218388080597,
0.31726890802383423,
0.11895274370908737,
0.0012469170615077019,
-0.26477041840553284,
-0.3507935106754303,
0.22468607127666473,
-0.03444726765155792,
0.03544594720005989,
0.06565307080745697,
-0.13688483834266663,
0.10643691569566727,
-0.12079769372940063,
0.08063270896673203,
-0.1272701472043991,
-0.19227837026119232,
-0.027438614517450333,
0.1218535304069519,
0.0471326969563961,
0.37360480427742004,
0.04971282556653023,
-0.06512050330638885,
-0.0844651386141777,
-0.04737216979265213,
0.0985523909330368,
-0.30354487895965576,
-0.07687784731388092,
0.13257534801959991,
0.2930135428905487,
0.4347008168697357,
0.3785710632801056,
0.0848589688539505,
-0.1686868965625763,
-0.04092568904161453,
0.10616160184144974,
-0.026643186807632446,
-0.1846054196357727,
0.03205947205424309,
-0.13106372952461243,
-0.08272241055965424,
-0.321713924407959,
-0.2970898151397705,
0.2124105840921402,
-0.3228187561035156,
-0.2581346929073334,
-0.08736692368984222,
0.09901678562164307,
-0.2538975179195404,
-0.2103150635957718,
-0.17620351910591125,
-0.3231029510498047,
-0.400484561920166,
0.3988953232765198,
0.07491704821586609,
0.4834688901901245,
-0.01986793801188469,
-0.08238445967435837,
0.3086320161819458,
-0.0676056295633316,
0.08594781905412674,
-0.059210170060396194,
-0.1059863269329071,
0.13506200909614563,
-0.37293070554733276,
-0.24577941000461578,
-0.09346024692058563,
-0.018778860569000244,
0.22223185002803802,
0.09551914036273956,
-0.12708666920661926,
-0.11237715929746628,
-0.07937132567167282,
-0.02773069031536579,
-0.03227037936449051,
0.2550382912158966,
0.6140648126602173,
0.10016369819641113,
-0.17140132188796997,
-0.12896643579006195,
-0.13094140589237213,
0.24592795968055725,
0.07928946614265442,
0.11255303770303726,
-0.17813757061958313,
0.24604928493499756,
0.21128171682357788,
0.5642966032028198,
0.37264731526374817,
-0.11199939250946045,
0.1843547224998474,
-0.03469177335500717,
-0.05772696062922478,
0.0340692438185215,
-0.15152589976787567,
0.2021472007036209,
-0.3475482761859894,
0.05114387720823288,
0.22286701202392578,
0.03825201094150543,
-0.4065384864807129,
0.036682285368442535,
0.28118932247161865,
-0.44821712374687195,
-0.23629455268383026,
0.2309260368347168,
-0.030855238437652588,
0.21522530913352966,
-0.251817524433136,
-0.19277429580688477,
-0.27479425072669983,
0.032817941159009933,
-0.09072822332382202,
0.05697130411863327,
0.14967966079711914,
-0.09157878905534744,
-0.3035901188850403,
0.05586652830243111,
-0.6191158294677734,
0.2602807879447937,
0.031674548983573914,
-0.07587221264839172,
-0.10636083781719208,
-0.08265295624732971,
0.05266101285815239,
-0.20763620734214783,
0.3787841796875,
-0.24544452130794525,
0.07468545436859131,
0.28651541471481323,
-0.06921778619289398,
-0.2779364585876465,
0.05844781920313835,
-0.1530153751373291,
0.4566314220428467,
0.4314591586589813,
0.22665293514728546,
-0.3192184269428253,
-0.2238152176141739,
0.033773262053728104,
-0.3271550238132477,
0.0365983285009861,
-0.24536091089248657,
-0.3757089376449585,
-0.056222330778837204,
-0.3624591529369354,
0.12695111334323883,
0.07831642031669617,
0.06873968243598938,
-0.14798979461193085,
-0.34338298439979553,
-0.039283812046051025,
0.01154923066496849,
0.1334192454814911,
0.20447781682014465,
0.16112592816352844,
0.21655268967151642,
-0.04206933453679085,
0.14987577497959137,
0.2048598974943161,
-0.3546196520328522,
0.16337010264396667,
-0.17970657348632812,
0.39402371644973755,
0.17328482866287231,
-0.23141659796237946,
0.38867852091789246,
0.2696297764778137,
0.20257137715816498,
0.21375688910484314,
-0.18609468638896942,
0.2900424003601074,
-0.2147912234067917,
0.16193032264709473,
0.36612576246261597,
0.010972087271511555,
-0.06041795387864113,
-0.08232083916664124,
0.36010080575942993,
0.08403217792510986,
-0.1615959256887436,
0.4057346284389496,
-0.40276962518692017,
-0.20854035019874573,
0.309620201587677,
0.24945491552352905,
0.7460576891899109,
-0.4076377749443054,
0.11032600700855255,
-0.15027913451194763,
-0.06199897825717926,
0.22466576099395752,
-0.2857748866081238,
0.17696113884449005,
-0.3979041874408722,
0.0021164612844586372,
0.09415330737829208,
-0.13023388385772705,
-0.017731569707393646,
0.5337134599685669,
-0.21628157794475555,
0.09920860081911087,
0.18393076956272125,
-0.08026643097400665,
-0.0964340791106224,
0.35494115948677063,
0.3657436966896057,
-0.3432481586933136,
-0.24852749705314636,
0.22198966145515442,
-0.012810252606868744,
-0.29937368631362915,
-0.03249320387840271,
-0.20649893581867218,
-0.04333300143480301,
0.10627393424510956,
-0.09847640991210938,
0.07334363460540771,
-0.0665208250284195,
0.3132364749908447,
-0.09270070493221283,
-0.11484640091657639,
0.0035798046737909317,
0.38664570450782776,
0.025935553014278412,
-0.05523599311709404,
0.10574746131896973,
-0.032340291887521744,
0.08713239431381226,
0.07754848897457123,
-0.046255942434072495,
-0.17752178013324738,
-0.010051527991890907,
-0.21333429217338562,
-0.22093719244003296,
0.031230919063091278,
0.04177606850862503,
-0.545089066028595,
-0.10092413425445557,
0.4217836856842041,
0.15081746876239777,
0.2528410255908966,
0.17206639051437378,
0.2794126868247986,
-0.34224769473075867,
-0.08354813605546951,
0.21475301682949066,
0.13677707314491272,
-0.3265664875507355,
0.6119800209999084,
-0.10054472088813782,
-0.13652485609054565,
0.11122405529022217,
0.09074479341506958,
-0.06562945991754532,
0.026578672230243683,
0.13508543372154236,
0.08426158130168915,
-0.11787143349647522,
-0.309407114982605,
-0.2951701879501343,
-0.10776735097169876,
0.0848456397652626,
-0.006306969560682774,
-0.04220002517104149,
-0.16927143931388855,
0.1712084710597992,
-0.15880168974399567,
-0.014549925923347473,
0.3501901626586914,
-0.17395639419555664,
-0.22599142789840698,
-0.3842691481113434,
0.10424148291349411,
-0.3690797984600067,
0.11823543906211853,
-0.017191573977470398,
0.3387591540813446,
0.12616677582263947,
0.6445982456207275,
-0.4052469730377197,
0.1142428070306778,
-0.5113814473152161,
0.34687021374702454,
0.1654328852891922,
-0.44191259145736694,
-0.030985048040747643,
0.10704527795314789,
0.1481640785932541,
0.30122649669647217,
-0.42641451954841614,
-0.3218921720981598,
-0.07183097302913666,
0.06438089907169342,
0.1327962577342987,
0.12355440109968185,
0.14783887565135956,
0.13998141884803772,
-0.208558589220047,
-0.2514287829399109,
-0.06480317562818527,
-0.02609492838382721,
-0.11713147163391113,
0.10976012051105499,
0.41809985041618347,
0.16927041113376617,
-0.07029734551906586,
-0.17278487980365753,
0.06795336306095123,
-0.017129771411418915,
-0.16006144881248474,
0.15920573472976685,
0.13554252684116364,
-0.039392028003931046,
0.02091091312468052,
-0.01750432699918747,
0.29539674520492554,
0.10952238738536835,
0.15911555290222168,
-0.15755990147590637,
-0.3517213463783264,
-0.11582969129085541,
0.49178096652030945,
0.22931933403015137,
-0.06621835380792618,
0.008469412103295326,
0.09527585655450821,
0.3078491687774658,
-0.08298942446708679,
-0.021991325542330742,
0.5454017519950867,
-0.08472815901041031,
0.2717616856098175,
0.08152773976325989,
0.17264196276664734,
-0.03277890011668205,
-0.043319202959537506,
0.32916024327278137,
-0.11503838747739792,
-0.5377060174942017,
0.02429681085050106,
-0.3266729712486267,
0.0697251707315445,
-0.09254302084445953,
0.3012290894985199,
-0.20500577986240387,
0.1475439965724945,
0.2835618257522583,
0.07179266214370728,
0.5286231637001038,
-0.07653388381004333,
-0.07278777658939362,
0.060734979808330536,
0.0685383677482605,
-0.18590541183948517,
0.10642082989215851,
0.08040381222963333,
0.27720677852630615,
-0.031524330377578735,
0.6987985372543335,
-0.18022900819778442,
-0.3068154752254486,
-0.08164900541305542,
0.3398168087005615,
-0.20336014032363892,
-0.1912865936756134,
-0.14296600222587585,
0.008228324353694916,
-0.23212069272994995,
-0.023890750482678413,
0.05856442451477051,
0.2304081916809082,
0.5687652826309204,
0.13344870507717133,
0.09501616656780243,
-0.026826685294508934,
-0.08709719032049179,
0.150438129901886,
0.47127699851989746,
-0.39605778455734253,
0.13341045379638672,
0.06118197366595268,
-0.10068173706531525,
-0.21567535400390625,
0.10954026132822037,
0.21615561842918396,
0.23639445006847382,
-0.4404173493385315,
0.15502099692821503,
0.01772492565214634,
0.012566661462187767,
-0.16303475201129913,
0.21601234376430511,
0.1413916051387787,
-0.1913979947566986,
0.30892297625541687,
0.15727585554122925,
-0.291692316532135,
-0.22091461718082428,
0.2193353921175003,
0.07520800828933716,
0.07884153723716736,
0.28822001814842224,
0.08814466744661331,
-0.21658381819725037,
0.056674353778362274,
0.006711535155773163,
-0.6269121766090393,
-0.08452977985143661,
0.31907036900520325,
-0.21349108219146729,
0.0940023735165596,
-0.39289388060569763,
0.14677008986473083,
-0.14424195885658264,
0.5676332116127014,
-0.14780175685882568,
0.3661448359489441,
-0.2692480981349945,
-0.3318730294704437,
-0.5598129034042358,
0.15424206852912903,
-0.06319136917591095,
0.05906789004802704,
-0.07612645626068115,
0.4385828375816345,
-0.1693267524242401,
0.33766013383865356,
0.11354964226484299,
-0.1818428486585617,
0.09071067720651627,
0.43727433681488037,
-0.6002237796783447,
0.31511375308036804,
-0.17106245458126068,
-0.038523368537425995,
0.26276496052742004,
-0.35871168971061707,
0.08366210758686066,
0.018829036504030228,
0.18091550469398499,
0.10146406292915344,
-0.077878437936306,
0.26539522409439087,
0.2911827564239502,
0.20196083188056946,
0.10598992556333542,
0.3606778383255005,
-0.24709555506706238,
0.0023755524307489395,
-0.2511683404445648,
0.2162962108850479,
-0.2711094319820404,
-0.058135293424129486,
0.19682514667510986,
0.5836769342422485,
-0.15442945063114166,
0.11511777341365814,
-0.1758415400981903,
0.15685001015663147,
-0.003512740135192871,
-0.03377437964081764,
0.09678947180509567,
-0.17824813723564148,
0.20709002017974854,
0.24696806073188782,
-0.14409086108207703,
0.4551384150981903,
-0.001207888126373291,
0.2711954116821289,
-0.3402668833732605,
-0.3551595211029053,
0.20668871700763702,
-0.4846158027648926,
-0.43554577231407166,
-0.10728702694177628,
0.34430092573165894,
0.1000308021903038,
0.18294398486614227,
-0.3177759349346161,
-0.2393624484539032,
0.12679611146450043,
0.019347848370671272,
-0.3275626301765442,
0.2408900111913681,
-0.3057386875152588,
-0.24405841529369354,
0.03781662508845329,
0.021176878362894058,
0.032953232526779175,
-0.09388431906700134,
-0.09802483022212982,
-0.5490684509277344
] |
https://github.com/huggingface/datasets/pull/550 | [BUGFIX] Solving mismatched checksum issue for the LinCE dataset (#539) | Thanks a lot for that!
The line you are mentioning is a bug indeed, do you mind fixing it at the same time? | Hi,
I have added the updated `dataset_infos.json` file for the LinCE benchmark. This update is to fix the mismatched checksum bug #539 for one of the datasets in the LinCE benchmark. To update the file, I run this command from the nlp root directory:
```
python nlp-cli test ./datasets/lince --save_infos --all_configs
```
**NOTE**: I needed to change [this line](https://github.com/huggingface/nlp/blob/master/src/nlp/commands/dummy_data.py#L8) from: `from .utils.logging import get_logger` to `from nlp.utils.logging import get_logger`, otherwise the script was not able to import `get_logger`. However, I did not include that in this PR since that could have been just my environment (and another PR could be fixing this already if it is actually an issue). | 23 | text: [BUGFIX] Solving mismatched checksum issue for the LinCE dataset (#539)
Hi,
I have added the updated `dataset_infos.json` file for the LinCE benchmark. This update is to fix the mismatched checksum bug #539 for one of the datasets in the LinCE benchmark. To update the file, I run this command from the nlp root directory:
```
python nlp-cli test ./datasets/lince --save_infos --all_configs
```
**NOTE**: I needed to change [this line](https://github.com/huggingface/nlp/blob/master/src/nlp/commands/dummy_data.py#L8) from: `from .utils.logging import get_logger` to `from nlp.utils.logging import get_logger`, otherwise the script was not able to import `get_logger`. However, I did not include that in this PR since that could have been just my environment (and another PR could be fixing this already if it is actually an issue).
Thanks a lot for that!
The line you are mentioning is a bug indeed, do you mind fixing it at the same time? | [
-0.025269806385040283,
0.22598424553871155,
-0.11524350941181183,
0.058190055191516876,
-0.09706443548202515,
-0.05756710469722748,
-0.13926145434379578,
0.4901111125946045,
0.21886005997657776,
-0.18760772049427032,
0.26572588086128235,
0.4032762944698334,
0.12664081156253815,
0.05818390101194382,
0.17644847929477692,
0.13354527950286865,
0.01517844945192337,
0.19548994302749634,
0.1929517388343811,
0.0349251925945282,
-0.23174917697906494,
0.19824032485485077,
-0.10747049003839493,
-0.1367262303829193,
-0.20611438155174255,
0.12463342398405075,
0.19026944041252136,
0.36860954761505127,
-0.017179490998387337,
-0.4601951241493225,
0.2887202799320221,
-0.057697031646966934,
-0.23046435415744781,
0.07925423979759216,
-0.0001032142317853868,
-0.12850086390972137,
0.488125205039978,
0.116666778922081,
-0.4197688400745392,
0.13891547918319702,
-0.24064740538597107,
-0.4916916787624359,
-0.02705184742808342,
-0.3311614394187927,
0.11316529661417007,
0.03346693888306618,
0.1828867495059967,
-0.0263951625674963,
0.015359699726104736,
0.18743999302387238,
0.26665517687797546,
0.31004610657691956,
0.20184649527072906,
0.15690959990024567,
0.07201699912548065,
-0.12155860662460327,
0.16144056618213654,
0.34152284264564514,
0.2690110206604004,
-0.14006368815898895,
-0.13375654816627502,
0.14641863107681274,
-0.09939960390329361,
-0.08322206139564514,
0.17070980370044708,
-0.11042492836713791,
-0.07319409400224686,
0.08656369149684906,
-0.14374539256095886,
0.18047046661376953,
-0.07267474383115768,
-0.3470192551612854,
-0.20856086909770966,
-0.23214390873908997,
-0.060901522636413574,
-0.6506251692771912,
0.41415831446647644,
0.07499346137046814,
-0.20676766335964203,
-0.1281430572271347,
0.05801248550415039,
-0.16493749618530273,
0.10089674592018127,
0.05481838434934616,
-0.059688374400138855,
0.40982359647750854,
0.015423806384205818,
0.08104171603918076,
-0.3545508086681366,
0.0884280651807785,
-0.2303740233182907,
-0.0698084607720375,
-0.27090638875961304,
-0.03024490922689438,
-0.13835877180099487,
-0.42907267808914185,
0.21317172050476074,
0.006703190505504608,
0.27091553807258606,
0.3439146876335144,
0.18748436868190765,
0.12819048762321472,
-0.1647130846977234,
0.14412707090377808,
0.1600743681192398,
0.32860448956489563,
0.13646623492240906,
0.11404162645339966,
0.31851130723953247,
0.3251905143260956,
0.043626975268125534,
0.03624448552727699,
0.3522287607192993,
-0.3427845239639282,
0.14312784373760223,
0.30815544724464417,
0.3138861656188965,
-0.3775288164615631,
-0.41585323214530945,
0.4007292687892914,
0.08482954651117325,
-0.32316985726356506,
0.03545454517006874,
0.01601404696702957,
-0.27778106927871704,
0.017101498320698738,
0.28821223974227905,
0.15740756690502167,
-0.2706737518310547,
-0.3697143495082855,
-0.21032929420471191,
0.1116064041852951,
-0.28460150957107544,
-0.17431506514549255,
0.14548657834529877,
-0.008321648463606834,
0.48957544565200806,
-0.018337829038500786,
0.09622834622859955,
-0.01700803078711033,
0.0011560916900634766,
0.11076506972312927,
0.037183284759521484,
0.18284974992275238,
0.08246995508670807,
-0.0817595049738884,
0.011364523321390152,
-0.10974650084972382,
-0.2299671471118927,
0.14458203315734863,
-0.053413234651088715,
-0.13249127566814423,
-0.25935646891593933,
0.2514902651309967,
-0.24703633785247803,
-0.14295822381973267,
0.19396017491817474,
-0.1511927992105484,
0.22376137971878052,
-0.43009108304977417,
0.24698278307914734,
-0.1267845779657364,
-0.22283777594566345,
-0.23800890147686005,
-0.030266251415014267,
-0.0783422589302063,
-0.13899031281471252,
0.06719319522380829,
-0.11322491616010666,
-0.11301286518573761,
0.3018566966056824,
0.19736969470977783,
-0.05386563763022423,
0.0112229585647583,
-0.2584480345249176,
0.4132993221282959,
0.39775213599205017,
-0.4210332930088043,
-0.43323543667793274,
0.017954617738723755,
-0.22373853623867035,
0.12409351021051407,
0.0007794201374053955,
0.11933425813913345,
0.08255953341722488,
-0.24934838712215424,
0.15105311572551727,
0.31115037202835083,
0.16541440784931183,
0.005628721788525581,
-0.4493885934352875,
-0.005945073440670967,
0.27146923542022705,
-0.10350148379802704,
-0.28801214694976807,
-0.16153907775878906,
0.14661598205566406,
0.07079673558473587,
0.37357962131500244,
0.02050604298710823,
0.06282233446836472,
0.1469091773033142,
-0.005320541560649872,
0.08507151901721954,
0.07266553491353989,
-0.06219438463449478,
-0.3255215585231781,
0.08934991806745529,
-0.36306634545326233,
0.08395054191350937,
0.12088014930486679,
-0.14427626132965088,
-0.2592093050479889,
-0.08454020321369171,
-0.017955835908651352,
-0.34101709723472595,
0.23581832647323608,
0.07659747451543808,
0.07745714485645294,
-0.09180720150470734,
-0.23242993652820587,
-0.04633227735757828,
-0.4270862340927124,
-0.027562737464904785,
-0.252121239900589,
0.29261869192123413,
-0.10586083680391312,
-0.26263049244880676,
0.21137502789497375,
0.4608324468135834,
-0.044684037566185,
0.11551959067583084,
-0.27259156107902527,
0.42451879382133484,
-0.11286497116088867,
0.10346300899982452,
0.11356328427791595,
0.25236034393310547,
0.03515217453241348,
-0.1368989199399948,
0.14876419305801392,
0.5342867374420166,
0.026129506528377533,
-0.0767895057797432,
-0.10465504974126816,
0.41102832555770874,
0.28057581186294556,
-0.09577514976263046,
-0.08400509506464005,
0.0462321937084198,
0.15786728262901306,
-0.29592281579971313,
-0.17880524694919586,
-0.1584203839302063,
0.4143294394016266,
0.14071351289749146,
0.06901036202907562,
-0.03811038285493851,
-0.33727309107780457,
0.14091138541698456,
0.5934022068977356,
0.04938492551445961,
0.18005014955997467,
0.08050791919231415,
0.08338183164596558,
-0.21446532011032104,
0.07660755515098572,
0.04427330568432808,
0.4577280282974243,
0.18925292789936066,
-0.03182617202401161,
0.19629265367984772,
-0.30946362018585205,
-0.0954330563545227,
0.21299776434898376,
0.001663997769355774,
0.10433340072631836,
0.3773691952228546,
0.21715933084487915,
-0.014691953547298908,
-0.179007887840271,
-0.16132959723472595,
-0.22703203558921814,
0.12479102611541748,
-0.336592435836792,
-0.15648972988128662,
-0.2753189504146576,
-0.35786300897598267,
-0.316872239112854,
0.021547630429267883,
-0.3540407121181488,
-0.3701956868171692,
0.1219044178724289,
-0.026074443012475967,
-0.19133605062961578,
0.09463855624198914,
-0.03403539955615997,
0.26859328150749207,
-0.07039857655763626,
0.15299329161643982,
-0.014340508729219437,
-0.03866410627961159,
-0.42314180731773376,
0.10107676684856415,
0.2692950963973999,
0.32306107878685,
0.31991803646087646,
-0.11528278142213821,
-0.04905248060822487,
-0.30740463733673096,
-0.5004711151123047,
0.033081717789173126,
-0.05312235653400421,
0.41525617241859436,
0.45805272459983826,
0.18358556926250458,
0.1574486941099167,
-0.3020487427711487,
0.12405647337436676,
-0.012821013107895851,
-0.3797925114631653,
-0.044270582497119904,
0.014268112368881702,
0.1291954219341278,
-0.21612145006656647,
-0.31951695680618286,
0.14018195867538452,
-0.3417717218399048,
0.223307803273201,
0.0858428031206131,
0.2494765967130661,
0.026115771383047104,
-0.2210778295993805,
0.24051618576049805,
-0.26031583547592163,
0.31179216504096985,
-0.22218123078346252,
-0.29184964299201965,
-0.07407689094543457,
-0.05829763412475586,
-0.32781678438186646,
-0.04512912034988403,
-0.13162651658058167,
0.22539308667182922,
-0.4047843813896179,
-0.5130359530448914,
-0.2837859094142914,
-0.09925799071788788,
0.13419948518276215,
-0.09456495940685272,
0.009744897484779358,
0.27535486221313477,
-0.16912460327148438,
-0.15036609768867493,
-0.3239687383174896,
-0.2529701888561249,
-0.04886578768491745,
0.04391571134328842,
0.3607232868671417,
-0.07311002165079117,
0.21560630202293396,
0.05282894894480705,
0.07703778892755508,
0.4777970016002655,
-0.0064071230590343475,
0.10619154572486877,
0.1390594094991684,
0.2602156400680542,
0.0824580043554306,
0.008559763431549072,
0.17353111505508423,
0.05548840016126633,
-0.053129278123378754,
0.17181354761123657,
0.005332481116056442,
-0.2010032683610916,
0.06906666606664658,
-0.30196547508239746,
-0.032470401376485825,
-0.28087711334228516,
0.058771513402462006,
0.08992280066013336,
0.026971042156219482,
0.05303627625107765,
-0.1900559365749359,
-0.1828601062297821,
-0.1673099398612976,
0.030627544969320297,
0.29181772470474243,
-0.04530418664216995,
-0.048253681510686874,
-0.6709442138671875,
-0.5690996050834656,
-0.3173118829727173,
0.2921024262905121,
-0.01535077579319477,
0.4403434693813324,
0.024574194103479385,
-0.20429474115371704,
0.054847486317157745,
-0.054142825305461884,
0.1770934760570526,
-0.3710397779941559,
0.28812143206596375,
0.2104070782661438,
0.5113064646720886,
-0.10406317561864853,
-0.1575605571269989,
-0.14357182383537292,
0.5030584931373596,
0.621417760848999,
0.05524345859885216,
-0.35756561160087585,
-0.14619655907154083,
0.32642853260040283,
0.0688571035861969,
-0.13599476218223572,
-0.2310921996831894,
-0.34804847836494446,
-0.14054882526397705,
-0.3228395879268646,
0.11509746313095093,
0.16425764560699463,
0.2896724045276642,
-0.014361435547471046,
0.07211095094680786,
0.12016800045967102,
0.14411869645118713,
0.06524337828159332,
-0.052460405975580215,
0.1993159055709839,
0.09851047396659851,
0.05738680437207222,
-0.2719098925590515,
0.2369564175605774,
-0.25935983657836914,
0.458792120218277,
0.03552808612585068,
-0.0010279566049575806,
-0.047603994607925415,
-0.019601868465542793,
0.3503965139389038,
0.2311873435974121,
0.22906048595905304,
0.054927561432123184,
0.1509924978017807,
-0.06299105286598206,
-0.1619269996881485,
-0.13909628987312317,
0.09932733327150345,
0.18605199456214905,
-0.1009044274687767,
-0.08966225385665894,
0.2814120650291443,
0.21603113412857056,
0.03945617377758026,
0.38367968797683716,
-0.3757029175758362,
-0.22791695594787598,
0.15779855847358704,
0.27192988991737366,
0.8704027533531189,
0.4507903456687927,
0.20915023982524872,
0.23010939359664917,
-0.3891361355781555,
0.2383193075656891,
0.046131037175655365,
0.0601094514131546,
-0.46246445178985596,
-0.118775874376297,
0.1212320625782013,
-0.1852237731218338,
0.156979039311409,
-0.21661104261875153,
-0.29771891236305237,
0.26137667894363403,
-0.04622429981827736,
-0.29776912927627563,
0.011760154739022255,
0.44322943687438965,
-0.42481905221939087,
-0.03392063081264496,
-0.056631989777088165,
0.1706192046403885,
-0.16675323247909546,
0.2284383773803711,
-0.0880783200263977,
-0.16061444580554962,
0.04650528356432915,
-0.3520166277885437,
-0.34696030616760254,
0.12201646715402603,
0.21204005181789398,
-0.12285184860229492,
0.39966702461242676,
0.10655596852302551,
-0.15718252956867218,
-0.1464253067970276,
0.07324573397636414,
0.30326980352401733,
-0.0021500568836927414,
0.04333541914820671,
0.2815704047679901,
0.09007708728313446,
0.5042405724525452,
0.13113057613372803,
0.4408044219017029,
-0.20313042402267456,
-0.27543848752975464,
0.04732822626829147,
-0.26576483249664307,
-0.4229866862297058,
0.0881807953119278,
-0.004699692130088806,
-0.23173002898693085,
-0.2359103262424469,
-0.18992725014686584,
0.23196890950202942,
-0.03751571476459503,
-0.3004850745201111,
0.19432775676250458,
0.26374223828315735,
-0.1130160316824913,
0.14944571256637573,
0.14602936804294586,
-0.4039134979248047,
-0.05231456831097603,
0.283740371465683,
0.14567875862121582,
0.013846125453710556,
0.44961217045783997,
0.05828915163874626,
-0.05719814449548721,
-0.25038135051727295,
-0.3161514401435852,
-0.0910923033952713,
-0.26745471358299255,
0.12914378941059113,
-0.15812289714813232,
0.10360215604305267,
-0.02601383998990059,
0.4035026729106903,
0.23967960476875305,
0.38040974736213684,
-0.04014485701918602,
-0.7886193990707397,
-0.10845907032489777,
0.08140668272972107,
-0.0809188038110733,
0.1907995641231537,
-0.17582085728645325,
0.3143802881240845,
-0.029959242790937424,
-0.24070844054222107,
-0.4232509136199951,
-0.02531096711754799,
-0.2803434133529663,
0.10347571223974228,
0.16170209646224976,
0.0811489075422287,
-0.059645529836416245,
0.12297078967094421,
0.136903777718544,
0.02853572927415371,
-0.22207705676555634,
-0.2626584768295288,
-0.021062150597572327,
0.06456059217453003,
0.08753567934036255,
-0.12112618237733841,
0.06319054961204529,
-0.1816418170928955,
0.047925300896167755,
0.14353133738040924,
-0.2937479019165039,
-0.1407996416091919,
-0.040905892848968506,
0.3005006015300751,
0.04538264870643616,
0.20859497785568237,
0.23250402510166168,
-0.06978590786457062,
-0.02501744031906128,
-0.047568827867507935,
-0.36071640253067017,
0.19140294194221497,
-0.24977023899555206,
0.12541073560714722,
0.24962535500526428,
-0.06320258229970932,
-0.3462548851966858,
0.37426522374153137,
0.11439764499664307,
0.02918810024857521,
-0.15481679141521454,
0.46787142753601074,
0.3491477072238922,
0.3794024884700775,
-0.4267488420009613,
-0.20141617953777313,
0.17076411843299866,
0.2861468493938446,
-0.3181607127189636,
0.08116837590932846,
0.28978556394577026,
0.16533496975898743,
-0.08180230110883713,
-0.04747607558965683,
0.4061639904975891,
-0.26787739992141724,
0.4245816469192505,
0.17507663369178772,
-0.0704852044582367,
-0.3682144284248352,
0.14400935173034668,
0.15448328852653503,
-0.11869139969348907,
-0.2090829461812973,
0.3546585440635681,
0.028779037296772003,
0.21851977705955505,
-0.07958768308162689,
0.26507192850112915,
0.25012877583503723,
0.1302298754453659,
0.21249400079250336,
-0.20241716504096985,
-0.20725348591804504,
0.37272167205810547,
0.311836838722229,
0.0704352855682373,
0.03897051140666008,
0.3541297912597656,
0.3082851767539978,
-0.2139693945646286,
0.28917253017425537,
-0.16780048608779907,
0.23463687300682068,
-0.23918643593788147,
0.002726166509091854,
-0.3137739896774292,
-0.047222621738910675,
0.049180954694747925,
-0.0862729549407959,
0.0063155218958854675,
0.3827682137489319,
-0.06869223713874817,
-0.028708092868328094,
-0.2305273562669754,
-0.31610268354415894,
0.07638765871524811,
-0.05400548875331879,
0.06278420984745026,
-0.20736975967884064,
0.23445944488048553,
0.04048188030719757,
-0.054286688566207886,
0.10861323773860931,
0.6318888664245605,
0.4265187382698059,
0.2636503279209137,
-0.013399321585893631,
-0.264425665140152,
-0.11662358045578003,
0.1363714188337326,
-0.11050592362880707,
0.4292316138744354,
0.19205379486083984,
-0.2773315906524658,
0.34386980533599854,
0.18361619114875793,
-0.11877884715795517,
0.20458602905273438,
0.04881618544459343,
-0.09164229035377502,
-0.04533880949020386,
0.3392110764980316,
0.20418652892112732,
0.0892576351761818,
-0.23832762241363525,
0.09564998000860214,
-0.4054912030696869,
-0.31206241250038147,
0.3216854929924011,
0.3012720048427582,
0.06682325154542923,
-0.31298574805259705,
0.18340475857257843,
-0.10404057800769806,
0.3015464246273041,
0.36775535345077515,
-0.4109601378440857,
-0.054096125066280365,
-0.3167297840118408,
-0.5586775541305542,
0.3984322249889374,
0.00464378297328949,
-0.41125017404556274,
0.13497957587242126,
0.2994924485683441,
-0.40046754479408264,
-0.07500869035720825,
0.33486026525497437,
-0.08772332966327667,
-0.10355565696954727,
-0.21313050389289856,
-0.25638648867607117,
0.0716841071844101,
0.12405744940042496,
-0.24586305022239685,
0.0745813176035881,
-0.08811323344707489,
0.1079527884721756,
0.06558386236429214,
0.1830950677394867,
-0.2171216905117035,
-0.29713529348373413,
0.18071648478507996,
0.6361242532730103,
0.28488749265670776,
0.2524954378604889,
0.3127543330192566,
-0.1562163531780243,
-0.14912863075733185,
-0.27412497997283936,
-0.02832218073308468,
-0.24816522002220154,
0.44371744990348816,
-0.24178838729858398,
0.3642519414424896,
-0.21730899810791016,
0.3149830996990204,
-0.253841757774353,
0.25178709626197815,
-0.2023155391216278,
-0.48017504811286926,
-0.1604750156402588,
0.23407801985740662,
-0.1549960821866989,
0.18407253921031952,
0.02116382122039795,
0.24680188298225403,
0.07075178623199463,
0.23099598288536072,
-0.27653825283050537,
-0.33552584052085876,
0.46111783385276794,
-0.20120923221111298,
-0.21712572872638702,
-0.03511450067162514,
0.28970181941986084,
-0.28299951553344727,
-0.14149299263954163,
-0.41575127840042114,
-0.28825533390045166,
0.31244394183158875,
0.13318796455860138,
-0.01293393224477768,
0.2600324749946594,
-0.2309519350528717,
0.0443941093981266,
0.06540939211845398,
0.3246256113052368,
0.059321898967027664,
-0.4040965437889099,
0.10668763518333435,
-0.2466634064912796
] |
https://github.com/huggingface/datasets/pull/550 | [BUGFIX] Solving mismatched checksum issue for the LinCE dataset (#539) | No worries!
I pushed right away the fix, but then I realized that the master branch already had it, so I ended up merging the master branch with lince locally and then overwriting the previous commit in origin/lince. Hopefully, this is not too messy :)
| Hi,
I have added the updated `dataset_infos.json` file for the LinCE benchmark. This update is to fix the mismatched checksum bug #539 for one of the datasets in the LinCE benchmark. To update the file, I run this command from the nlp root directory:
```
python nlp-cli test ./datasets/lince --save_infos --all_configs
```
**NOTE**: I needed to change [this line](https://github.com/huggingface/nlp/blob/master/src/nlp/commands/dummy_data.py#L8) from: `from .utils.logging import get_logger` to `from nlp.utils.logging import get_logger`, otherwise the script was not able to import `get_logger`. However, I did not include that in this PR since that could have been just my environment (and another PR could be fixing this already if it is actually an issue). | 45 | text: [BUGFIX] Solving mismatched checksum issue for the LinCE dataset (#539)
Hi,
I have added the updated `dataset_infos.json` file for the LinCE benchmark. This update is to fix the mismatched checksum bug #539 for one of the datasets in the LinCE benchmark. To update the file, I run this command from the nlp root directory:
```
python nlp-cli test ./datasets/lince --save_infos --all_configs
```
**NOTE**: I needed to change [this line](https://github.com/huggingface/nlp/blob/master/src/nlp/commands/dummy_data.py#L8) from: `from .utils.logging import get_logger` to `from nlp.utils.logging import get_logger`, otherwise the script was not able to import `get_logger`. However, I did not include that in this PR since that could have been just my environment (and another PR could be fixing this already if it is actually an issue).
No worries!
I pushed right away the fix, but then I realized that the master branch already had it, so I ended up merging the master branch with lince locally and then overwriting the previous commit in origin/lince. Hopefully, this is not too messy :)
| [
-0.042600564658641815,
0.2568886876106262,
-0.10438267886638641,
0.0817047655582428,
-0.11880525946617126,
-0.1008906289935112,
-0.20358474552631378,
0.5744068622589111,
0.1988472193479538,
-0.1612720936536789,
0.20528331398963928,
0.4193407893180847,
0.10850369930267334,
0.12301146239042282,
0.15568140149116516,
0.2187836468219757,
0.020410791039466858,
0.12778712809085846,
0.21466843783855438,
0.04447488486766815,
-0.19200335443019867,
0.22436711192131042,
-0.045732539147138596,
-0.15852397680282593,
-0.18282213807106018,
0.16385586559772491,
0.13637827336788177,
0.365864634513855,
-0.059621214866638184,
-0.43107840418815613,
0.2888573408126831,
0.01185164786875248,
-0.2275097519159317,
0.11760096251964569,
-0.00010274503438267857,
-0.0769135057926178,
0.47900068759918213,
0.11648273468017578,
-0.41707897186279297,
0.15152503550052643,
-0.19004696607589722,
-0.5139492750167847,
-0.02819409780204296,
-0.2957543730735779,
0.111393041908741,
0.02266763523221016,
0.16544930636882782,
0.0019920021295547485,
0.03676670044660568,
0.1878425031900406,
0.2655852138996124,
0.2884063124656677,
0.21816767752170563,
0.18967153131961823,
0.09481068700551987,
-0.07826687395572662,
0.1395616978406906,
0.30620166659355164,
0.26402509212493896,
-0.17309732735157013,
-0.21592015027999878,
0.11270110309123993,
-0.11568011343479156,
-0.10622519254684448,
0.12211129069328308,
-0.15418535470962524,
-0.12744948267936707,
0.14728093147277832,
-0.09766503423452377,
0.1897059977054596,
-0.11689846962690353,
-0.3146432042121887,
-0.2236582487821579,
-0.2762831747531891,
-0.12604862451553345,
-0.6391187906265259,
0.4678487181663513,
0.006278892047703266,
-0.11218050122261047,
-0.13801734149456024,
0.0628669261932373,
-0.10861602425575256,
0.15972156822681427,
0.052759282290935516,
-0.041515052318573,
0.4110887944698334,
0.0021187695674598217,
0.05198359489440918,
-0.27259111404418945,
0.037495069205760956,
-0.23888133466243744,
-0.07303331792354584,
-0.28925278782844543,
-0.04885081574320793,
-0.16466942429542542,
-0.3602238893508911,
0.35775044560432434,
-0.03491349518299103,
0.26653778553009033,
0.34120631217956543,
0.1896117478609085,
0.17759746313095093,
-0.15357792377471924,
0.10649368166923523,
0.14373014867305756,
0.35234320163726807,
0.14782753586769104,
0.06206323206424713,
0.3432796001434326,
0.42006850242614746,
0.06871569156646729,
0.07129042595624924,
0.3320668637752533,
-0.3248103857040405,
0.0756605863571167,
0.36424463987350464,
0.28986436128616333,
-0.38575562834739685,
-0.35922494530677795,
0.414284348487854,
0.1404533088207245,
-0.2962207794189453,
0.05888921767473221,
-0.045260168612003326,
-0.2572322189807892,
0.1283005177974701,
0.22090844810009003,
0.20844866335391998,
-0.30777183175086975,
-0.3593830466270447,
-0.2326887995004654,
0.06306946277618408,
-0.2661897540092468,
-0.14609482884407043,
0.23228143155574799,
0.030704952776432037,
0.5206036567687988,
-0.01643725484609604,
0.13025705516338348,
-0.04693693667650223,
-0.07269441336393356,
0.12817810475826263,
-0.06504472345113754,
0.17356690764427185,
0.04998188093304634,
-0.0664360523223877,
0.015247257426381111,
-0.10767273604869843,
-0.2045334279537201,
0.07841131836175919,
-0.0038743242621421814,
-0.21106696128845215,
-0.3060227036476135,
0.25436681509017944,
-0.3113134503364563,
-0.07636294513940811,
0.15168416500091553,
-0.07871738076210022,
0.22284945845603943,
-0.3741479218006134,
0.22600463032722473,
-0.12254618108272552,
-0.1549714207649231,
-0.2525445222854614,
0.0737801194190979,
-0.05803428590297699,
-0.14318633079528809,
0.09301434457302094,
-0.1595512181520462,
-0.054735299199819565,
0.19953656196594238,
0.17395493388175964,
-0.054355453699827194,
-0.05782657116651535,
-0.20878253877162933,
0.4031931757926941,
0.2463342845439911,
-0.49235984683036804,
-0.47812795639038086,
-0.011423503048717976,
-0.2464217096567154,
0.09466748684644699,
-0.010070472955703735,
0.07189979404211044,
0.0461508072912693,
-0.2623263895511627,
0.16721820831298828,
0.30937349796295166,
0.11111438274383545,
0.03712603449821472,
-0.461094468832016,
-0.05932311713695526,
0.20693887770175934,
-0.116018146276474,
-0.2543327510356903,
-0.24400126934051514,
0.13048812747001648,
0.050782207399606705,
0.3501903712749481,
0.01238667219877243,
0.06348112970590591,
0.12849043309688568,
0.03787653520703316,
0.1435013860464096,
0.0639113113284111,
-0.037811506539583206,
-0.3583928048610687,
0.11281725019216537,
-0.29674816131591797,
0.14302971959114075,
0.04084078222513199,
-0.16390855610370636,
-0.3030056357383728,
-0.08770625293254852,
-0.0686364471912384,
-0.40472647547721863,
0.24213922023773193,
0.09954816102981567,
0.1086013913154602,
-0.06264141947031021,
-0.2874051630496979,
-0.11127809435129166,
-0.3779689371585846,
-0.014126289635896683,
-0.25697270035743713,
0.23743624985218048,
-0.11212409287691116,
-0.31941723823547363,
0.19506773352622986,
0.486645370721817,
-0.01677953451871872,
0.04862813651561737,
-0.2691040337085724,
0.4658726751804352,
-0.2108067274093628,
0.12357938289642334,
0.15819251537322998,
0.2751675248146057,
0.044083110988140106,
-0.19803303480148315,
0.10638625174760818,
0.47042834758758545,
-0.03869002312421799,
-0.021746985614299774,
-0.14575859904289246,
0.40625840425491333,
0.2256186306476593,
-0.04143583029508591,
-0.14370623230934143,
0.046909160912036896,
0.21497277915477753,
-0.292831152677536,
-0.16528189182281494,
-0.0746237188577652,
0.3700686991214752,
0.14139431715011597,
0.03322051092982292,
-0.08683209121227264,
-0.2529882788658142,
0.21373754739761353,
0.5873051285743713,
0.026424657553434372,
0.1356780230998993,
0.053305450826883316,
0.0834209993481636,
-0.24927854537963867,
0.10498616099357605,
0.025056231766939163,
0.31694716215133667,
0.16464084386825562,
0.007634073495864868,
0.20587624609470367,
-0.3355186879634857,
-0.0658479630947113,
0.19993972778320312,
-0.023502089083194733,
0.13894519209861755,
0.3863983750343323,
0.24382121860980988,
-0.06981806457042694,
-0.22719117999076843,
-0.12700945138931274,
-0.20055274665355682,
0.16050133109092712,
-0.3249983489513397,
-0.1770932972431183,
-0.27765825390815735,
-0.27167797088623047,
-0.22635087370872498,
-0.014541293494403362,
-0.4114626944065094,
-0.4351173937320709,
0.1659553349018097,
0.07485290616750717,
-0.2080008089542389,
0.0969226062297821,
-0.03981781005859375,
0.17528855800628662,
-0.06614887714385986,
0.13567809760570526,
-0.029962360858917236,
-0.05904777720570564,
-0.38892248272895813,
0.09361831843852997,
0.2873869240283966,
0.25243276357650757,
0.27144286036491394,
-0.14861634373664856,
-0.06562463939189911,
-0.32262226939201355,
-0.5435080528259277,
0.01255464181303978,
-0.11962290108203888,
0.4599633812904358,
0.46321022510528564,
0.15514247119426727,
0.15840838849544525,
-0.3428415358066559,
0.18995703756809235,
-0.083257295191288,
-0.37651076912879944,
-0.009835489094257355,
0.021268825978040695,
0.14848189055919647,
-0.22264857590198517,
-0.31282731890678406,
0.2269514799118042,
-0.35564735531806946,
0.27917003631591797,
-0.0037750303745269775,
0.2098689079284668,
0.02996063232421875,
-0.1638299524784088,
0.2807156443595886,
-0.17633959650993347,
0.25788402557373047,
-0.2436838150024414,
-0.3028489351272583,
-0.09043490886688232,
-0.06441033631563187,
-0.2732051610946655,
-0.05489557608962059,
-0.09972283989191055,
0.26311779022216797,
-0.3674963116645813,
-0.5273758769035339,
-0.23261238634586334,
-0.15313102304935455,
0.21789082884788513,
0.002227645367383957,
-0.006690850481390953,
0.25373539328575134,
-0.13051579892635345,
-0.1595192700624466,
-0.2809070944786072,
-0.2819867730140686,
-0.02598293125629425,
0.08366861194372177,
0.3628496825695038,
-0.11615108698606491,
0.2714981436729431,
0.1281757652759552,
0.12064683437347412,
0.40571796894073486,
0.05228203162550926,
0.13777506351470947,
0.1917203813791275,
0.27886512875556946,
0.10064074397087097,
-0.01363597996532917,
0.2528967559337616,
0.057316094636917114,
-0.03941064327955246,
0.20045389235019684,
0.027602970600128174,
-0.19177618622779846,
0.05973239243030548,
-0.29092440009117126,
-0.07870982587337494,
-0.2915251553058624,
0.07876713573932648,
0.09902077168226242,
0.012483298778533936,
0.06007476523518562,
-0.21261054277420044,
-0.21590964496135712,
-0.21107548475265503,
0.05935977026820183,
0.28158268332481384,
-0.09012813121080399,
0.005073429085314274,
-0.6783568263053894,
-0.5384830832481384,
-0.34712445735931396,
0.3307829201221466,
-0.03492526710033417,
0.4269018769264221,
0.036727484315633774,
-0.2082984447479248,
0.04670720919966698,
-0.15544430911540985,
0.16536420583724976,
-0.32804617285728455,
0.33639752864837646,
0.20878461003303528,
0.45919495820999146,
-0.1068553775548935,
-0.23176293075084686,
-0.14527611434459686,
0.5030619502067566,
0.6011170744895935,
0.11344269663095474,
-0.4154834747314453,
-0.1740664690732956,
0.3027409017086029,
0.08851591497659683,
-0.09724774956703186,
-0.14197193086147308,
-0.3347029685974121,
-0.238242506980896,
-0.3437025249004364,
0.1179671436548233,
0.14531829953193665,
0.33409449458122253,
0.006632972974330187,
0.061894405633211136,
0.08165866136550903,
0.14894497394561768,
0.08405255526304245,
-0.08233170211315155,
0.1884218454360962,
0.14931397140026093,
0.0022392161190509796,
-0.21000507473945618,
0.22944672405719757,
-0.28410232067108154,
0.47988587617874146,
0.053427405655384064,
-0.0064478591084480286,
-0.06069592386484146,
0.016520529985427856,
0.2612379491329193,
0.2688782215118408,
0.19710882008075714,
0.049927107989788055,
0.20980873703956604,
-0.038758404552936554,
-0.17789633572101593,
-0.05580911040306091,
0.10005591064691544,
0.201344832777977,
-0.11023867875337601,
-0.05862901359796524,
0.23988944292068481,
0.28738951683044434,
0.026558034121990204,
0.38870492577552795,
-0.3204765319824219,
-0.1885661631822586,
0.1438867598772049,
0.2868919372558594,
0.8203911185264587,
0.37250590324401855,
0.1585138440132141,
0.23974767327308655,
-0.3596431016921997,
0.2183975875377655,
0.03107806295156479,
0.13346228003501892,
-0.39838144183158875,
-0.13280260562896729,
0.16826629638671875,
-0.09289702773094177,
0.10288049280643463,
-0.21614877879619598,
-0.22133994102478027,
0.2957794666290283,
0.00918009877204895,
-0.23297977447509766,
-0.006848454475402832,
0.438186377286911,
-0.41353970766067505,
-0.028252404183149338,
-0.059713780879974365,
0.20787814259529114,
-0.18822595477104187,
0.24097992479801178,
-0.03522934019565582,
-0.16283243894577026,
0.01851683482527733,
-0.31575894355773926,
-0.3320131301879883,
0.20692715048789978,
0.1877525895833969,
-0.07800988107919693,
0.323163777589798,
0.12122659385204315,
-0.22061878442764282,
-0.17909452319145203,
0.1167575865983963,
0.27159348130226135,
-0.0014398228377103806,
0.02947065234184265,
0.3015766441822052,
0.06344304233789444,
0.48232796788215637,
0.07809172570705414,
0.42191824316978455,
-0.1450534462928772,
-0.30858179926872253,
0.020515933632850647,
-0.19764243066310883,
-0.4343445301055908,
0.10808521509170532,
-0.07597295939922333,
-0.2482091337442398,
-0.16614526510238647,
-0.09758786857128143,
0.20845887064933777,
-0.059972044080495834,
-0.322090744972229,
0.1954287737607956,
0.22855420410633087,
-0.09083965420722961,
0.11992843449115753,
0.08753307908773422,
-0.39527222514152527,
-0.04914267733693123,
0.28189516067504883,
0.08023127913475037,
0.003589112311601639,
0.4206148087978363,
0.1415088027715683,
-0.0453096479177475,
-0.23077183961868286,
-0.3490459620952606,
-0.06315534561872482,
-0.29780662059783936,
0.143507182598114,
-0.20718684792518616,
-0.012197017669677734,
0.014925346709787846,
0.3838598430156708,
0.2778257131576538,
0.3794645071029663,
0.009557608515024185,
-0.7038091421127319,
-0.20538774132728577,
0.12455722689628601,
-0.035478126257658005,
0.18132384121418,
-0.13818563520908356,
0.3215647041797638,
-0.07845533639192581,
-0.20687182247638702,
-0.42475202679634094,
0.011351071298122406,
-0.3394269645214081,
0.06487877666950226,
0.11181266605854034,
0.05287140980362892,
0.0347529761493206,
0.07863722741603851,
0.1362823098897934,
0.00923103466629982,
-0.2164146900177002,
-0.24846631288528442,
-0.03506394475698471,
0.06504647433757782,
0.07247325778007507,
-0.10414216667413712,
0.05570589751005173,
-0.2570434808731079,
0.0919436663389206,
0.11197690665721893,
-0.2755245566368103,
-0.14658677577972412,
-0.009379304945468903,
0.23412367701530457,
-0.03263694420456886,
0.23081150650978088,
0.2515193223953247,
-0.1139252781867981,
-0.0039254650473594666,
-0.08933722972869873,
-0.33117246627807617,
0.21857520937919617,
-0.22174254059791565,
0.12300674617290497,
0.2613428831100464,
-0.04047594964504242,
-0.36261218786239624,
0.4041261076927185,
0.08585403114557266,
0.020493123680353165,
-0.2458895891904831,
0.45707011222839355,
0.39778897166252136,
0.3415451943874359,
-0.32530343532562256,
-0.23437875509262085,
0.16806310415267944,
0.2784455716609955,
-0.315921813249588,
0.13661618530750275,
0.29335400462150574,
0.1960703283548355,
-0.037894152104854584,
-0.07079622894525528,
0.38998082280158997,
-0.27287542819976807,
0.3866671919822693,
0.2614577114582062,
-0.06546218693256378,
-0.3805909752845764,
0.18008609116077423,
0.21801023185253143,
-0.12148080766201019,
-0.18180517852306366,
0.3814460039138794,
-0.09078329801559448,
0.19380837678909302,
-0.052787408232688904,
0.25559350848197937,
0.2565520405769348,
0.04758302494883537,
0.15136109292507172,
-0.12552055716514587,
-0.16695865988731384,
0.3222346603870392,
0.25942015647888184,
0.15790961682796478,
0.05222940444946289,
0.3378514051437378,
0.36750829219818115,
-0.24753157794475555,
0.22485658526420593,
-0.19069728255271912,
0.3005448877811432,
-0.2310234010219574,
-0.012300517410039902,
-0.3386843502521515,
-0.09539486467838287,
0.04211984574794769,
-0.04328513890504837,
-0.027814682573080063,
0.3596925735473633,
-0.004483245313167572,
-0.04065556079149246,
-0.22793476283550262,
-0.3897414803504944,
-0.0006710924208164215,
-0.0266709104180336,
0.11297997832298279,
-0.123695507645607,
0.2669689655303955,
0.16300679743289948,
-0.1308230608701706,
0.12202909588813782,
0.6751633286476135,
0.4043762683868408,
0.1958821713924408,
-0.05916542187333107,
-0.1703164428472519,
-0.07165148854255676,
0.14332064986228943,
-0.1698807179927826,
0.43799424171447754,
0.15564000606536865,
-0.28030645847320557,
0.33052176237106323,
0.1707245111465454,
-0.14629893004894257,
0.13284851610660553,
-0.04903543367981911,
-0.10657131671905518,
0.07465191185474396,
0.30724987387657166,
0.21055416762828827,
0.12371284514665604,
-0.20351116359233856,
0.09429088979959488,
-0.36709487438201904,
-0.3218597173690796,
0.29982560873031616,
0.3249205946922302,
0.1097852811217308,
-0.35099175572395325,
0.18482303619384766,
-0.07252223789691925,
0.27898359298706055,
0.3542092740535736,
-0.4287551939487457,
-0.018751367926597595,
-0.2957242727279663,
-0.6150667071342468,
0.4224555790424347,
-0.014702830463647842,
-0.3501312732696533,
0.11002039909362793,
0.28871622681617737,
-0.34814584255218506,
-0.10377220809459686,
0.3461917042732239,
-0.0666063204407692,
-0.08783774077892303,
-0.2201971411705017,
-0.2880394458770752,
0.11523211002349854,
0.1278051733970642,
-0.25207895040512085,
0.1285138726234436,
-0.06728930026292801,
0.07254685461521149,
0.15273262560367584,
0.17595794796943665,
-0.20005370676517487,
-0.2615869641304016,
0.1530046910047531,
0.5346837639808655,
0.23395687341690063,
0.22482460737228394,
0.21753185987472534,
-0.20430606603622437,
-0.24571283161640167,
-0.30613499879837036,
0.02026970498263836,
-0.33606258034706116,
0.4431346654891968,
-0.3162154257297516,
0.39744460582733154,
-0.2048497349023819,
0.34300845861434937,
-0.31306150555610657,
0.23748190701007843,
-0.16794905066490173,
-0.45953792333602905,
-0.208784282207489,
0.2766626477241516,
-0.14382025599479675,
0.15010765194892883,
0.03936595097184181,
0.3130393326282501,
0.068526491522789,
0.30562645196914673,
-0.30971524119377136,
-0.4115813374519348,
0.48378661274909973,
-0.2264210283756256,
-0.21355421841144562,
-0.010928962379693985,
0.2148037999868393,
-0.2291390299797058,
-0.12885254621505737,
-0.4054739773273468,
-0.26414671540260315,
0.21284478902816772,
0.1796576976776123,
-0.07287393510341644,
0.21699661016464233,
-0.2599240243434906,
0.03441956266760826,
0.06987828016281128,
0.30521535873413086,
0.13154633343219757,
-0.44769957661628723,
0.09502792358398438,
-0.22803160548210144
] |
https://github.com/huggingface/datasets/pull/549 | Fix bleurt logging import | That’s a good point that we started to discuss internally as well. We should pin the dataset en metrics code by default indeed.
Let’s update this in the coming release. | Bleurt started throwing an error in some code we have.
This looks like the fix but...
It's also unnerving that even a prebuilt docker image with pinned versions can be working 1 day and then fail the next (especially for production systems).
Any way for us to pin your metrics code so that they are guaranteed not to to change and possibly fail on repository changes?
Thanks (and also for your continued work on the lib...) | 30 | text: Fix bleurt logging import
Bleurt started throwing an error in some code we have.
This looks like the fix but...
It's also unnerving that even a prebuilt docker image with pinned versions can be working 1 day and then fail the next (especially for production systems).
Any way for us to pin your metrics code so that they are guaranteed not to to change and possibly fail on repository changes?
Thanks (and also for your continued work on the lib...)
That’s a good point that we started to discuss internally as well. We should pin the dataset en metrics code by default indeed.
Let’s update this in the coming release. | [
-0.435558944940567,
0.07854956388473511,
-0.027431540191173553,
-0.08908700942993164,
0.2141641229391098,
-0.40611904859542847,
0.3365095853805542,
-0.019163277000188828,
0.009656261652708054,
0.21461166441440582,
0.3350617587566376,
0.2520543932914734,
-0.18378211557865143,
0.3622285723686218,
0.04282897338271141,
0.46113452315330505,
-0.14325764775276184,
0.25782352685928345,
-0.08474016189575195,
-0.1430901736021042,
-0.05670003592967987,
0.10867351293563843,
-0.00002767890691757202,
-0.15562129020690918,
-0.3811571002006531,
0.4064480662345886,
0.2804863452911377,
-0.30870968103408813,
-0.2466050535440445,
-0.4422426223754883,
0.3621217906475067,
0.2561095058917999,
-0.0024654772132635117,
0.399688720703125,
-0.00011710006947396323,
-0.5446401834487915,
0.30355286598205566,
-0.15431146323680878,
-0.23776346445083618,
-0.13011814653873444,
-0.5606688261032104,
-0.5299898982048035,
0.3049796521663666,
-0.17100298404693604,
0.04803963005542755,
-0.16200141608715057,
0.01939675211906433,
-0.16898509860038757,
0.35740992426872253,
0.1932028979063034,
0.1503947526216507,
0.07978710532188416,
-0.041501931846141815,
0.25206807255744934,
0.2439691424369812,
-0.15910926461219788,
-0.1841367930173874,
0.5406808853149414,
0.13609008491039276,
0.035630002617836,
-0.11736401170492172,
0.3899593949317932,
0.10183253884315491,
0.24879194796085358,
0.3487432599067688,
0.03253287449479103,
0.24069440364837646,
-0.11356024444103241,
0.011296093463897705,
0.21171608567237854,
0.40273717045783997,
-0.26855695247650146,
-0.2818033695220947,
-0.042128413915634155,
0.25176897644996643,
-0.7273375391960144,
0.28739121556282043,
-0.2213614284992218,
0.2297021746635437,
-0.09624575078487396,
-0.13224776089191437,
-0.3764687478542328,
-0.26119405031204224,
-0.00921928882598877,
-0.20680205523967743,
0.14639541506767273,
-0.16426624357700348,
-0.10851026326417923,
-0.08237199485301971,
0.038958027958869934,
0.4634326100349426,
0.3566506505012512,
-0.2497711479663849,
-0.0939999595284462,
0.0303630493581295,
-0.13076329231262207,
-0.058736421167850494,
0.1113743931055069,
-0.12540769577026367,
0.2463744878768921,
-0.24340657889842987,
0.25280946493148804,
-0.0965387299656868,
0.30398690700531006,
0.03217689320445061,
0.4922351539134979,
0.4549068510532379,
0.32730820775032043,
0.7442069053649902,
0.2207597941160202,
-0.07162123173475266,
0.24926692247390747,
0.2320287823677063,
-0.32461825013160706,
0.3968469202518463,
0.208403080701828,
0.11876790225505829,
-0.49058955907821655,
-0.1004071831703186,
0.20812490582466125,
0.12240629643201828,
-0.27693185210227966,
0.0960572361946106,
0.10992547869682312,
-0.11500004678964615,
-0.12107434123754501,
0.17544390261173248,
-0.032065391540527344,
-0.2142263948917389,
-0.058750394731760025,
-0.15885202586650848,
-0.11506369709968567,
-0.13881780207157135,
0.16713671386241913,
-0.09336335957050323,
-0.2154478281736374,
0.5041224956512451,
-0.006689024623483419,
0.36640602350234985,
0.008013632148504257,
-0.07066162675619125,
0.16501469910144806,
-0.016089536249637604,
0.2564614415168762,
-0.2826898992061615,
-0.21580687165260315,
0.048194367438554764,
-0.5574968457221985,
-0.06243794411420822,
-0.052018702030181885,
-0.19162267446517944,
-0.13173572719097137,
-0.27389076352119446,
0.10031197965145111,
-0.465756893157959,
0.02906656265258789,
-0.14635679125785828,
0.32255077362060547,
-0.009417049586772919,
-0.047460976988077164,
0.2285335659980774,
-0.2874409556388855,
0.17796757817268372,
0.0899524986743927,
0.24048739671707153,
0.0924898236989975,
-0.13665200769901276,
-0.37169894576072693,
0.20438390970230103,
-0.13388945162296295,
0.21232479810714722,
-0.19566519558429718,
-0.028453141450881958,
-0.12609198689460754,
0.045004621148109436,
-0.26543086767196655,
0.19160151481628418,
-0.24285337328910828,
-0.296305388212204,
-0.38699081540107727,
-0.13195207715034485,
-0.3698253035545349,
-0.01403941959142685,
0.1885041743516922,
0.5069795846939087,
-0.14734649658203125,
-0.01139049232006073,
-0.10892623662948608,
0.033509910106658936,
-0.15190966427326202,
-0.3400423228740692,
-0.2900627851486206,
-0.24321489036083221,
0.09577253460884094,
0.2758147716522217,
-0.09802179783582687,
0.18377920985221863,
0.5684646368026733,
-0.3720431923866272,
-0.19761094450950623,
-0.1381777822971344,
-0.047457873821258545,
0.7175891995429993,
-0.3234228491783142,
0.15280012786388397,
-0.017882652580738068,
-0.3865352272987366,
0.13119006156921387,
-0.08420180529356003,
0.15289032459259033,
0.030706845223903656,
-0.21298521757125854,
0.002218853682279587,
0.04364703595638275,
-0.1506359726190567,
-0.16656193137168884,
0.03755518049001694,
-0.002447262406349182,
-0.5584576725959778,
0.2850211560726166,
-0.3867666721343994,
0.023259194567799568,
-0.337210476398468,
0.07562867552042007,
0.41220125555992126,
0.08433841913938522,
-0.2279379814863205,
-0.11175792664289474,
0.13115164637565613,
0.21584755182266235,
0.21603795886039734,
-0.10230309516191483,
-0.2280893325805664,
0.07752948999404907,
0.268782377243042,
0.4589748978614807,
0.2566121518611908,
0.13402915000915527,
0.3196457326412201,
0.02912731096148491,
-0.15833823382854462,
0.08019214123487473,
-0.28618544340133667,
-0.15279214084148407,
0.16454344987869263,
-0.0025794878602027893,
-0.10580721497535706,
-0.040725983679294586,
-0.20475053787231445,
-0.23702342808246613,
0.06061462312936783,
0.00909518450498581,
-0.37193089723587036,
-0.3987635374069214,
0.34192582964897156,
-0.284248411655426,
-0.010499142110347748,
-0.04107037931680679,
-0.09802696108818054,
0.1906665712594986,
0.6283041834831238,
0.30157995223999023,
0.07621406763792038,
0.20456436276435852,
0.1586797833442688,
-0.2581591308116913,
0.40152087807655334,
0.2881309390068054,
0.0931074321269989,
0.011851179413497448,
0.08823415637016296,
0.3383154273033142,
0.00995663646608591,
-0.3026961088180542,
0.05694069340825081,
-0.07621099054813385,
0.14344730973243713,
0.2520480453968048,
0.00544023560360074,
-0.1292649805545807,
-0.06596870720386505,
-0.11862887442111969,
-0.12976518273353577,
0.3212161660194397,
-0.2626021206378937,
-0.2126958668231964,
-0.26482152938842773,
0.2698826491832733,
-0.4005992114543915,
-0.15949122607707977,
-0.3141825795173645,
-0.36862412095069885,
0.2080896645784378,
0.006403576582670212,
-0.06002403050661087,
0.1976834237575531,
0.24419128894805908,
0.48433732986450195,
-0.18577535450458527,
0.05169137939810753,
-0.15397776663303375,
-0.29740628600120544,
-0.20718583464622498,
-0.03216572850942612,
-0.06073741987347603,
-0.08333771675825119,
0.3795454204082489,
-0.2201131135225296,
0.0020407363772392273,
-0.29167383909225464,
-0.917197048664093,
0.08250563591718674,
0.22192926704883575,
0.6401073932647705,
0.24363403022289276,
0.17242524027824402,
-0.16098907589912415,
0.059023842215538025,
-0.18651160597801208,
0.04949866235256195,
-0.010488951578736305,
-0.3260745108127594,
-0.26830121874809265,
0.21127618849277496,
-0.2540028989315033,
-0.27237406373023987,
-0.09368126839399338,
-0.25739219784736633,
0.13246828317642212,
0.08321183919906616,
-0.016231805086135864,
-0.18975481390953064,
0.10112776607275009,
0.33350256085395813,
-0.013567924499511719,
-0.1531883031129837,
-0.09564792364835739,
0.06574331223964691,
0.33885401487350464,
-0.21507304906845093,
-0.14367331564426422,
0.15813520550727844,
0.07712096720933914,
0.28813135623931885,
-0.19388079643249512,
-0.7705948352813721,
-0.7484489679336548,
0.3653649389743805,
-0.07343161851167679,
0.0783374235033989,
0.03601627051830292,
-0.05151544511318207,
0.2661396861076355,
-0.06548906862735748,
-0.030284937471151352,
-0.14579661190509796,
0.007330305874347687,
0.007545053958892822,
0.4673980474472046,
0.03619391471147537,
-0.07610301673412323,
0.023779738694429398,
0.6149086356163025,
0.24013200402259827,
-0.18649661540985107,
0.1172676831483841,
0.25055980682373047,
0.622994065284729,
0.12241646647453308,
-0.09996243566274643,
0.23214788734912872,
0.3097602128982544,
-0.4132955074310303,
0.14505347609519958,
0.10720206797122955,
0.13610942661762238,
-0.1854831725358963,
-0.018676698207855225,
0.3153982162475586,
-0.14353013038635254,
-0.14745795726776123,
0.005304392427206039,
-0.18723002076148987,
-0.08976846933364868,
0.08160286396741867,
0.2014651596546173,
-0.08827875554561615,
0.03663582727313042,
0.22437918186187744,
-0.04082662612199783,
0.12183943390846252,
-0.3576167821884155,
-0.33037322759628296,
-0.4249620735645294,
0.3660535216331482,
-0.326088011264801,
0.0176771841943264,
-0.16599449515342712,
0.4059811532497406,
0.02880195528268814,
-0.23457542061805725,
-0.21266894042491913,
-0.19813446700572968,
0.04863732308149338,
-0.15297183394432068,
0.07902076840400696,
-0.18578875064849854,
0.040493372827768326,
0.054364342242479324,
0.09769163280725479,
0.5861150026321411,
0.10180901736021042,
-0.4985339641571045,
0.07595853507518768,
0.23744136095046997,
0.10886875540018082,
-0.07901213318109512,
0.12610918283462524,
-0.15766401588916779,
-0.29974600672721863,
-0.07347972691059113,
-0.031496211886405945,
-0.18531034886837006,
-0.23643657565116882,
-0.06935010105371475,
-0.033596642315387726,
0.08370229601860046,
-0.04596228152513504,
-0.09775526821613312,
-0.029872126877307892,
0.016787361353635788,
0.007039967924356461,
0.04074672982096672,
0.11120592802762985,
-0.2427617609500885,
0.19514648616313934,
0.2990548014640808,
-0.6773154735565186,
-0.4456337094306946,
-0.013171032071113586,
-0.16341477632522583,
0.20330391824245453,
0.5460030436515808,
-0.08650971949100494,
0.016391582787036896,
0.11772707849740982,
0.29335394501686096,
0.14316700398921967,
0.060304392129182816,
-0.09545036405324936,
0.46579185128211975,
0.18890540301799774,
-0.24031108617782593,
0.38148170709609985,
-0.07526414841413498,
0.026472941040992737,
0.49603471159935,
0.13767682015895844,
-0.1399843692779541,
0.2168990671634674,
0.4596221446990967,
0.8772531151771545,
0.3342268466949463,
-0.11182728409767151,
-0.029170550405979156,
-0.19516046345233917,
0.49668362736701965,
0.04658721387386322,
-0.15852223336696625,
-0.30406007170677185,
0.06423374265432358,
0.019136520102620125,
-0.026156265288591385,
-0.07778651267290115,
-0.49156492948532104,
-0.33753570914268494,
0.3749980926513672,
-0.1964154988527298,
0.1091025322675705,
-0.24506030976772308,
0.1741786003112793,
-0.010704971849918365,
-0.01998244598507881,
-0.025771502405405045,
0.11723741888999939,
-0.33204323053359985,
0.33146539330482483,
-0.11465491354465485,
0.06975828111171722,
0.18257591128349304,
-0.14457646012306213,
-0.37690937519073486,
-0.24159613251686096,
0.009398305788636208,
-0.09328588843345642,
-0.057867396622896194,
-0.29076164960861206,
-0.08569712936878204,
0.256197988986969,
0.5270987153053284,
0.14672282338142395,
-0.24242988228797913,
0.1785997450351715,
-0.197755366563797,
0.07752358168363571,
0.15392056107521057,
-0.08010087162256241,
0.24212415516376495,
-0.20604383945465088,
-0.07469357550144196,
-0.2793252170085907,
0.08101179450750351,
-0.30604231357574463,
0.2582434117794037,
0.034880150109529495,
0.0013118647038936615,
0.21594606339931488,
0.20650528371334076,
0.263552725315094,
0.16216832399368286,
-0.2803228795528412,
0.11654022336006165,
0.05556880682706833,
0.14880500733852386,
0.44874486327171326,
0.15690365433692932,
-0.24698589742183685,
-0.10950376093387604,
0.3616969585418701,
-0.008527390658855438,
-0.09362684190273285,
0.008614309132099152,
0.0017016343772411346,
-0.23003828525543213,
-0.11305408179759979,
0.00454779714345932,
0.07823207229375839,
-0.20679321885108948,
-0.013651789166033268,
-0.3592968285083771,
-0.22596541047096252,
0.08298496901988983,
0.38752880692481995,
0.38320595026016235,
0.2946246266365051,
-0.03527793660759926,
-0.2719666659832001,
-0.3302227854728699,
0.2803956866264343,
-0.16540314257144928,
0.3781543970108032,
-0.008046496659517288,
-0.3389163613319397,
-0.004209311679005623,
0.3177964389324188,
-0.26371538639068604,
0.09368099272251129,
-0.3342999815940857,
0.024691004306077957,
0.43906885385513306,
0.05701505392789841,
0.3038075566291809,
0.05579287186264992,
-0.10293519496917725,
0.25332877039909363,
-0.4478948414325714,
-0.06482478976249695,
-0.2074020653963089,
0.12934313714504242,
-0.01998746022582054,
0.19489026069641113,
-0.2414109706878662,
-0.30663901567459106,
-0.0751865804195404,
-0.029851295053958893,
0.015904393047094345,
0.18956059217453003,
-0.02007221430540085,
0.08304918557405472,
-0.30209261178970337,
0.3519006073474884,
0.4223645329475403,
-0.040124185383319855,
0.27698126435279846,
0.4460409879684448,
-0.0186916571110487,
0.2059791386127472,
0.010791420005261898,
0.1275332123041153,
0.00025502839707769454,
-0.0096636563539505,
-0.05113281309604645,
0.20139041543006897,
-0.014900676906108856,
0.11439646780490875,
0.16201332211494446,
-0.012803740799427032,
0.30350103974342346,
0.1552264392375946,
-0.27856412529945374,
-0.32737040519714355,
0.2712349593639374,
0.136514812707901,
-0.07859925180673599,
-0.05104833096265793,
-0.13919879496097565,
0.23864203691482544,
-0.07179611176252365,
0.17583784461021423,
0.4005727469921112,
-0.19580458104610443,
0.42824262380599976,
0.17843368649482727,
0.21633201837539673,
-0.6178556680679321,
0.12050950527191162,
-0.558286726474762,
-0.6643771529197693,
0.2094065099954605,
0.38820624351501465,
0.21590539813041687,
0.1128140538930893,
0.06251543760299683,
-0.03659448027610779,
0.08384830504655838,
0.20159420371055603,
0.20478148758411407,
0.12138833105564117,
0.09541253745555878,
0.21572434902191162,
0.3039611279964447,
0.04046924412250519,
-0.1149727925658226,
0.386971116065979,
0.14769971370697021,
-0.1604650318622589,
0.09775496274232864,
0.004609912633895874,
0.18501144647598267,
-0.03770370036363602,
-0.0019567543640732765,
0.21724367141723633,
-0.06642726063728333,
0.398873507976532,
-0.057491235435009,
0.014139235019683838,
-0.03788800537586212,
-0.03231044113636017,
0.383090078830719,
-0.22960732877254486,
0.0005789743736386299,
-0.07847224175930023,
-0.11651182919740677,
0.23147359490394592,
-0.041373200714588165,
0.14800214767456055,
0.07930599898099899,
0.214561328291893,
0.03397991880774498,
0.613746702671051,
0.3067076802253723,
0.2926086187362671,
0.07394245266914368,
-0.2756198048591614,
0.2585669457912445,
-0.04938836023211479,
-0.10467080771923065,
0.035459499806165695,
0.09405524283647537,
-0.38486745953559875,
0.34007662534713745,
0.07307782024145126,
-0.08930757641792297,
0.3904433846473694,
0.038130681961774826,
-0.058950942009687424,
0.05738736316561699,
0.3361263573169708,
0.28454846143722534,
-0.05233822762966156,
-0.09098369628190994,
-0.20423758029937744,
-0.2578113079071045,
-0.17622925341129303,
0.03202776610851288,
-0.04392486438155174,
0.02652609348297119,
-0.2215123474597931,
0.08287449926137924,
-0.12329401075839996,
0.19925454258918762,
0.09395729750394821,
0.018484249711036682,
0.09732676297426224,
0.1270378977060318,
-0.5634238719940186,
0.2729072570800781,
0.19940651953220367,
-0.07371076941490173,
-0.13306580483913422,
0.09741121530532837,
-0.2801351845264435,
0.19024798274040222,
0.2628442049026489,
-0.14918911457061768,
0.5515826344490051,
-0.2735617160797119,
-0.4639934301376343,
0.027391908690333366,
0.34762847423553467,
-0.10850223898887634,
-0.05399161949753761,
-0.023551149293780327,
0.2489502727985382,
-0.34256085753440857,
-0.03741312026977539,
-0.07801675796508789,
0.02417498081922531,
0.2215169370174408,
0.25689592957496643,
0.6517577171325684,
0.03410160914063454,
0.3243367671966553,
0.00193723663687706,
-0.0645691379904747,
0.035667452961206436,
-0.3496554493904114,
-0.09022333472967148,
0.015919983386993408,
-0.05278901383280754,
0.15065936744213104,
0.0020631495863199234,
-0.3520086109638214,
-0.4924277365207672,
0.26155886054039,
-0.09084538370370865,
-0.14887887239456177,
0.01367265172302723,
0.05032797157764435,
0.25450271368026733,
-0.1087038666009903,
-0.04520712047815323,
0.2043057084083557,
0.06396754831075668,
0.12388530373573303,
-0.2396693229675293,
-0.2220517098903656,
0.5823459029197693,
-0.18200905621051788,
0.10371723771095276,
-0.08235574513673782,
0.3821970224380493,
0.5084813237190247,
-0.1452186405658722,
-0.6662277579307556,
-0.06438712775707245,
0.1391642540693283,
-0.028281141072511673,
-0.4318418502807617,
0.3480335474014282,
-0.03444093465805054,
0.3064182698726654,
-0.1910475194454193,
0.24451468884944916,
0.030249932780861855,
-0.24643656611442566,
-0.05830451473593712,
-0.2536219656467438
] |
https://github.com/huggingface/datasets/pull/549 | Fix bleurt logging import | Ok closed this with #567 and we are working on a more general solution to pin dataset version in #562 (should be in the coming release). | Bleurt started throwing an error in some code we have.
This looks like the fix but...
It's also unnerving that even a prebuilt docker image with pinned versions can be working 1 day and then fail the next (especially for production systems).
Any way for us to pin your metrics code so that they are guaranteed not to to change and possibly fail on repository changes?
Thanks (and also for your continued work on the lib...) | 26 | text: Fix bleurt logging import
Bleurt started throwing an error in some code we have.
This looks like the fix but...
It's also unnerving that even a prebuilt docker image with pinned versions can be working 1 day and then fail the next (especially for production systems).
Any way for us to pin your metrics code so that they are guaranteed not to to change and possibly fail on repository changes?
Thanks (and also for your continued work on the lib...)
Ok closed this with #567 and we are working on a more general solution to pin dataset version in #562 (should be in the coming release). | [
-0.4237479865550995,
0.015166670083999634,
-0.07016861438751221,
-0.0443134680390358,
0.12957939505577087,
-0.3943745493888855,
0.27900195121765137,
0.0753699392080307,
0.026539921760559082,
0.1773400604724884,
0.20823350548744202,
0.2090756893157959,
-0.21496717631816864,
0.2938758134841919,
-0.12950892746448517,
0.3428939878940582,
-0.16385915875434875,
0.2269986867904663,
-0.014172077178955078,
-0.051995668560266495,
-0.07703343033790588,
0.16423986852169037,
-0.028899002820253372,
-0.1211540549993515,
-0.3823341429233551,
0.319692462682724,
0.262191504240036,
-0.33760300278663635,
-0.3491877615451813,
-0.4288397431373596,
0.29729941487312317,
0.2492752969264984,
0.03792745992541313,
0.5961944460868835,
-0.00011960884876316413,
-0.514732301235199,
0.2247142642736435,
-0.10453207790851593,
-0.24537888169288635,
-0.1874658316373825,
-0.4225533604621887,
-0.4971016049385071,
0.2296772003173828,
-0.0020715147256851196,
0.023089036345481873,
-0.178146094083786,
-0.04339974373579025,
-0.14932221174240112,
0.49672240018844604,
0.16920189559459686,
0.16317692399024963,
0.10118137300014496,
0.028405088931322098,
0.17358268797397614,
0.2534714341163635,
-0.24491341412067413,
-0.15282349288463593,
0.6575175523757935,
0.28900545835494995,
0.1271234154701233,
-0.026050254702568054,
0.41721946001052856,
-0.006809910759329796,
0.22794798016548157,
0.2134159803390503,
-0.0705137625336647,
0.28977444767951965,
-0.10142423212528229,
0.13984382152557373,
0.17711155116558075,
0.409109890460968,
-0.22302362322807312,
-0.35702741146087646,
-0.03342396020889282,
0.13984070718288422,
-0.6977858543395996,
0.18948602676391602,
-0.32746997475624084,
0.27787092328071594,
-0.1223231703042984,
-0.1364898532629013,
-0.25901761651039124,
-0.31256893277168274,
-0.07482816278934479,
-0.26295536756515503,
0.11367018520832062,
-0.2688772976398468,
-0.02272922545671463,
-0.17258748412132263,
-0.07087081670761108,
0.45747366547584534,
0.4142509698867798,
-0.18369434773921967,
0.036681167781353,
0.08020931482315063,
-0.1649027019739151,
-0.05306955426931381,
0.04190375283360481,
-0.058055102825164795,
0.16708607971668243,
-0.2810142934322357,
0.13446152210235596,
-0.13460206985473633,
0.28536441922187805,
0.07644489407539368,
0.5112704038619995,
0.47094473242759705,
0.3771175742149353,
0.6858857870101929,
0.20517075061798096,
-0.17501652240753174,
0.23760002851486206,
0.24608798325061798,
-0.45810073614120483,
0.4554407298564911,
0.2439935803413391,
0.18760797381401062,
-0.517218828201294,
-0.17649880051612854,
0.2793043851852417,
0.03739078342914581,
-0.2121313512325287,
0.02687576413154602,
0.18166577816009521,
-0.127526193857193,
-0.015144813805818558,
0.31697195768356323,
-0.14370515942573547,
-0.2529411315917969,
-0.026983927935361862,
-0.12744489312171936,
-0.04462167248129845,
-0.08876761794090271,
0.14416348934173584,
-0.13439787924289703,
-0.18053530156612396,
0.4151788055896759,
-0.13195818662643433,
0.25431862473487854,
-0.03751847520470619,
-0.18042221665382385,
0.06512212753295898,
-0.019417136907577515,
0.2920621633529663,
-0.2712865173816681,
-0.22399118542671204,
-0.04531374201178551,
-0.5440516471862793,
-0.07424090057611465,
-0.1475459635257721,
-0.2113536298274994,
-0.04385659843683243,
-0.15712614357471466,
0.11606263369321823,
-0.4962424039840698,
0.03144339472055435,
-0.18884339928627014,
0.2755601406097412,
0.005567342042922974,
-0.08310703933238983,
0.1388142704963684,
-0.38327860832214355,
0.14166200160980225,
0.02671929821372032,
0.19549202919006348,
0.05044862627983093,
-0.14628811180591583,
-0.3266405463218689,
0.06395132094621658,
-0.0947553813457489,
0.0934707522392273,
-0.15531472861766815,
0.12682265043258667,
-0.17497655749320984,
0.08159012347459793,
-0.21412953734397888,
0.2920011281967163,
-0.2823343276977539,
-0.31621041893959045,
-0.2754814326763153,
-0.1386946439743042,
-0.3166325092315674,
-0.044040970504283905,
0.12098778784275055,
0.5564131736755371,
-0.23921817541122437,
0.07865773141384125,
-0.18839409947395325,
0.04151028394699097,
-0.2589859366416931,
-0.3812117278575897,
-0.3337986469268799,
-0.30211514234542847,
0.10297894477844238,
0.35671165585517883,
-0.13074517250061035,
0.2830487787723541,
0.5323823094367981,
-0.29482540488243103,
-0.09156058728694916,
-0.0384516641497612,
-0.056742049753665924,
0.7999641299247742,
-0.27585506439208984,
0.1568201333284378,
-0.27958551049232483,
-0.4084409177303314,
0.17358657717704773,
-0.07499367743730545,
0.014181502163410187,
0.10060273110866547,
-0.17327183485031128,
-0.15676885843276978,
0.1376178115606308,
-0.07830269634723663,
-0.1274138242006302,
0.05261317640542984,
-0.09054584801197052,
-0.41385746002197266,
0.2195480912923813,
-0.30404308438301086,
-0.1095968708395958,
-0.24885480105876923,
0.012672973796725273,
0.4979546070098877,
0.08469687402248383,
-0.20102298259735107,
-0.19622531533241272,
0.2121717631816864,
0.22824537754058838,
0.34166383743286133,
-0.16467233002185822,
-0.11351904273033142,
0.09354369342327118,
0.16225703060626984,
0.558600902557373,
0.2396501898765564,
0.18683604896068573,
0.26847606897354126,
0.12091164290904999,
-0.13722766935825348,
0.05823929235339165,
-0.2647720277309418,
-0.11066699028015137,
0.3106052577495575,
0.0732315331697464,
-0.01726563274860382,
-0.026383623480796814,
-0.23716554045677185,
-0.17521943151950836,
0.10636354982852936,
0.002216879278421402,
-0.20976732671260834,
-0.3151197135448456,
0.3836379945278168,
-0.25059571862220764,
-0.01926388032734394,
-0.11400596797466278,
-0.033952727913856506,
0.2546076476573944,
0.5534362196922302,
0.2629474699497223,
0.03717822581529617,
0.15133795142173767,
0.1268729567527771,
-0.1370704025030136,
0.27895158529281616,
0.3436248004436493,
0.051069602370262146,
0.025279544293880463,
0.01508035883307457,
0.28089505434036255,
0.008822029456496239,
-0.23807334899902344,
0.0010513141751289368,
-0.06965753436088562,
0.20584025979042053,
0.3487807512283325,
0.07721412926912308,
-0.11331654340028763,
0.0737900361418724,
-0.0466461181640625,
-0.05613189935684204,
0.2631092369556427,
-0.2405475229024887,
-0.16852866113185883,
-0.24934621155261993,
0.3560809791088104,
-0.5061072111129761,
-0.1182451918721199,
-0.3511563241481781,
-0.37656933069229126,
0.18461064994335175,
0.25475847721099854,
-0.045742545276880264,
0.11965345591306686,
0.20996539294719696,
0.4400206208229065,
-0.15333503484725952,
0.021540267392992973,
-0.13171374797821045,
-0.3377598226070404,
-0.2309361696243286,
-0.02406086027622223,
-0.011905612424015999,
-0.1932016760110855,
0.4127364754676819,
-0.1906369924545288,
-0.14810045063495636,
-0.38209232687950134,
-0.8202504515647888,
0.048222921788692474,
0.05324681103229523,
0.6727832555770874,
0.29919880628585815,
0.2210826575756073,
-0.0941985696554184,
0.14660905301570892,
-0.11376022547483444,
-0.002352016046643257,
0.0686255618929863,
-0.41991037130355835,
-0.31461262702941895,
0.23108017444610596,
-0.2177855521440506,
-0.2854441702365875,
-0.12207122892141342,
-0.21082311868667603,
0.26806873083114624,
0.08999130129814148,
0.05619049072265625,
-0.17384301126003265,
0.1647837609052658,
0.4073202610015869,
0.10566312819719315,
-0.19609493017196655,
-0.16066886484622955,
0.07105046510696411,
0.2804082930088043,
-0.2636719346046448,
-0.1622869223356247,
0.3072364330291748,
0.20961283147335052,
0.24690964818000793,
-0.1820300966501236,
-0.6570211052894592,
-0.7686533331871033,
0.33140310645103455,
-0.04356318339705467,
0.13309141993522644,
-0.053020499646663666,
0.0025636479258537292,
0.14161241054534912,
-0.06588354706764221,
-0.11657098680734634,
-0.17881561815738678,
0.0031595230102539062,
0.09756196290254593,
0.5293636918067932,
0.08427493274211884,
-0.07647411525249481,
0.024669628590345383,
0.7674160599708557,
0.17351962625980377,
-0.2830071449279785,
-0.013485163450241089,
0.24293901026248932,
0.5108880400657654,
0.09642880409955978,
-0.0027566123753786087,
0.12868240475654602,
0.22614088654518127,
-0.41514039039611816,
0.14533786475658417,
0.11662577092647552,
0.18544568121433258,
-0.277437686920166,
-0.1369698941707611,
0.2611243724822998,
-0.10552766919136047,
-0.07285907119512558,
-0.016135994344949722,
-0.14382833242416382,
-0.06206640601158142,
0.10002195090055466,
0.08231019973754883,
-0.05483277142047882,
-0.027730487287044525,
0.1757802814245224,
0.014930061995983124,
0.10964256525039673,
-0.25230056047439575,
-0.29918554425239563,
-0.42338600754737854,
0.4923895001411438,
-0.1994662880897522,
0.0013914555311203003,
-0.21426859498023987,
0.3998778164386749,
-0.03255957365036011,
-0.2416422814130783,
-0.22835548222064972,
-0.21663536131381989,
0.2697491943836212,
-0.022092048078775406,
-0.044029831886291504,
-0.27089038491249084,
0.00488865002989769,
0.01876920834183693,
0.11521317809820175,
0.4630295932292938,
0.2266605645418167,
-0.5371442437171936,
0.011824889108538628,
0.24508513510227203,
0.06630587577819824,
-0.06982839107513428,
0.15169590711593628,
-0.11388882994651794,
-0.24800607562065125,
-0.005878333002328873,
-0.09791464358568192,
-0.06929338723421097,
-0.1952873021364212,
-0.18692012131214142,
-0.016530118882656097,
0.06422943621873856,
-0.14852601289749146,
-0.004829376935958862,
-0.0007287692278623581,
0.04386075213551521,
0.0336453951895237,
0.06737510859966278,
0.19806639850139618,
-0.17871561646461487,
0.2405891865491867,
0.24344317615032196,
-0.5983154773712158,
-0.43845176696777344,
-0.012524891644716263,
-0.04692230746150017,
0.11333490908145905,
0.568185567855835,
-0.07632508873939514,
0.08218389004468918,
0.20943303406238556,
0.23088321089744568,
0.11873820424079895,
0.054577697068452835,
-0.10050293803215027,
0.4881288707256317,
0.184604674577713,
-0.11738895624876022,
0.48577195405960083,
0.011122789233922958,
-0.037794843316078186,
0.6488431692123413,
0.08487481623888016,
-0.17201465368270874,
0.23885881900787354,
0.45653828978538513,
0.9200089573860168,
0.2817250192165375,
-0.16788846254348755,
-0.004378143697977066,
-0.2729148268699646,
0.39817988872528076,
0.1596718579530716,
-0.1471491903066635,
-0.26075267791748047,
0.12551870942115784,
0.026803119108080864,
0.008588898926973343,
-0.10150998085737228,
-0.5774871706962585,
-0.35572487115859985,
0.38766393065452576,
-0.32666656374931335,
0.2172962725162506,
-0.20050005614757538,
0.06179758161306381,
-0.06795770674943924,
0.1278849095106125,
-0.12756657600402832,
0.13444484770298004,
-0.2719563841819763,
0.2752086818218231,
-0.17972663044929504,
-0.0023789526894688606,
0.06551538407802582,
-0.15859916806221008,
-0.473491907119751,
-0.27538421750068665,
-0.05916694551706314,
-0.14608773589134216,
-0.0005528032779693604,
-0.1930304765701294,
-0.08792845904827118,
0.12792956829071045,
0.4375178813934326,
-0.028117645531892776,
-0.29724690318107605,
0.23178406059741974,
-0.1999826729297638,
0.023202158510684967,
0.10558763146400452,
-0.04975903034210205,
0.2281467169523239,
-0.19872820377349854,
-0.07935282588005066,
-0.1275748312473297,
0.00976178515702486,
-0.3878440260887146,
0.16351184248924255,
0.07164397090673447,
-0.03991718590259552,
0.2298116534948349,
0.17538398504257202,
0.15575404465198517,
0.044163789600133896,
-0.2545601427555084,
0.11854425072669983,
0.03978777304291725,
0.16366176307201385,
0.3805457353591919,
0.16532044112682343,
-0.22209157049655914,
-0.0773843377828598,
0.4767236113548279,
-0.019678428769111633,
-0.08576927334070206,
0.09105078876018524,
0.059730883687734604,
-0.2506670355796814,
-0.12374573945999146,
-0.08268053084611893,
0.08492401242256165,
-0.24867859482765198,
0.1438968926668167,
-0.4696979522705078,
-0.26284733414649963,
0.13176903128623962,
0.6229636669158936,
0.38012367486953735,
0.3052324950695038,
-0.035361167043447495,
-0.35211265087127686,
-0.2671782076358795,
0.22691337764263153,
-0.25980344414711,
0.2694264054298401,
-0.07996495813131332,
-0.1885332316160202,
-0.027904121205210686,
0.32051339745521545,
-0.2525283098220825,
0.12020118534564972,
-0.3751331567764282,
0.07926569879055023,
0.4117695987224579,
0.13777539134025574,
0.3134940266609192,
0.06673680245876312,
-0.10365311056375504,
0.3912169933319092,
-0.5008714199066162,
-0.06088407710194588,
-0.23649369180202484,
0.1346006691455841,
-0.06299041956663132,
0.26803770661354065,
-0.20540818572044373,
-0.267797589302063,
-0.009478047490119934,
0.0956294909119606,
0.007564688101410866,
0.2876797914505005,
-0.014227934181690216,
-0.001247890293598175,
-0.32389435172080994,
0.3576347827911377,
0.3924133777618408,
-0.02989242970943451,
0.32403677701950073,
0.4047973155975342,
-0.014004694297909737,
0.24222978949546814,
0.06698403507471085,
0.09104472398757935,
-0.01974548026919365,
-0.11680904775857925,
-0.0529995858669281,
0.08640668541193008,
0.08937191218137741,
0.16012629866600037,
0.07985278964042664,
0.1150534600019455,
0.3614939749240875,
0.23922477662563324,
-0.23394663631916046,
-0.3375313878059387,
0.2248641550540924,
0.11288665235042572,
-0.08119028806686401,
0.01843167096376419,
-0.12633854150772095,
0.30197370052337646,
-0.11606357991695404,
0.11637518554925919,
0.32830649614334106,
-0.1657848209142685,
0.3775176405906677,
0.31520888209342957,
0.2165824919939041,
-0.6262876391410828,
0.1583767980337143,
-0.4888589084148407,
-0.522219181060791,
0.19334058463573456,
0.33925101161003113,
0.15167522430419922,
0.07143469154834747,
-0.01660957932472229,
-0.15863195061683655,
0.0903150737285614,
0.040110379457473755,
0.1692170649766922,
0.22877004742622375,
0.15630584955215454,
0.1893187165260315,
0.35681065917015076,
-0.06841591000556946,
0.00899834930896759,
0.33683156967163086,
0.2959103584289551,
-0.14587455987930298,
0.035135552287101746,
0.03298318386077881,
0.19235865771770477,
0.012702727690339088,
0.01615523174405098,
0.12297116219997406,
-0.1242716908454895,
0.25629138946533203,
-0.07795780897140503,
0.021303825080394745,
-0.00459551066160202,
0.24045033752918243,
0.37625354528427124,
-0.24075756967067719,
0.005879261530935764,
-0.21063414216041565,
-0.05261114239692688,
0.28574156761169434,
-0.13801296055316925,
0.08484649658203125,
0.11834289133548737,
0.11091966927051544,
0.10014486312866211,
0.5683656334877014,
0.329997181892395,
0.21201547980308533,
0.04149603098630905,
-0.1737080216407776,
0.13558118045330048,
-0.05068045109510422,
0.005912654101848602,
0.054288581013679504,
0.07237276434898376,
-0.4465087354183197,
0.36072877049446106,
0.07575471699237823,
-0.06427694857120514,
0.32497793436050415,
0.059009525924921036,
0.01213812455534935,
-0.015049703419208527,
0.3496672511100769,
0.14464901387691498,
-0.1198064535856247,
-0.10144808888435364,
-0.22078219056129456,
-0.18250559270381927,
-0.07477188110351562,
-0.09901751577854156,
-0.03576765954494476,
0.11315958946943283,
-0.17270874977111816,
0.08135206252336502,
-0.14257465302944183,
0.22071360051631927,
0.07987499237060547,
-0.04556120187044144,
0.0831914097070694,
0.08907535672187805,
-0.5501999855041504,
0.22176650166511536,
0.13458819687366486,
-0.003350384533405304,
-0.15919114649295807,
0.11076125502586365,
-0.28026315569877625,
0.12865282595157623,
0.3089836537837982,
-0.20365454256534576,
0.5839280486106873,
-0.22876110672950745,
-0.47916337847709656,
-0.011661380529403687,
0.37975579500198364,
-0.11255043745040894,
0.13046808540821075,
-0.11990655958652496,
0.27473077178001404,
-0.48363274335861206,
-0.05164617300033569,
-0.04933002591133118,
-0.08038511127233505,
0.2568889558315277,
0.3068163990974426,
0.6513457894325256,
0.008551514707505703,
0.30125051736831665,
-0.04143749549984932,
-0.10305096209049225,
-0.10189121961593628,
-0.2436649054288864,
-0.08404088020324707,
-0.09892960637807846,
-0.07644209265708923,
0.21131570637226105,
-0.12172821909189224,
-0.23632539808750153,
-0.45992568135261536,
0.3267245292663574,
-0.19113272428512573,
-0.18573680520057678,
-0.012084617279469967,
-0.010531826876103878,
0.1873941421508789,
-0.10234026610851288,
-0.07523752748966217,
0.21642056107521057,
0.011441901326179504,
0.12881365418434143,
-0.3351505994796753,
-0.22954997420310974,
0.6270034313201904,
-0.2886938750743866,
0.016550470143556595,
0.018150724470615387,
0.39000603556632996,
0.5861518979072571,
-0.17484000325202942,
-0.6626143455505371,
-0.07462291419506073,
0.19567133486270905,
0.11675859242677689,
-0.360021710395813,
0.27272331714630127,
-0.01465766690671444,
0.21910320222377777,
-0.16812658309936523,
0.19631431996822357,
0.08381828665733337,
-0.192972332239151,
0.03422396257519722,
-0.26840490102767944
] |
https://github.com/huggingface/datasets/pull/548 | [Breaking] Switch text loading to multi-threaded PyArrow loading | Awesome !
Also I was wondering if we should try to make the hashing of the `data_files` faster (it is used to build the cache directory of datasets like `text` or `json`). Right now it reads each file and hashes all of its data. We could simply hash the path and some metadata including the `time last modified` tag no ? Apparently we can get this tag with `os.path.getmtime(path)` | Test if we can get better performances for large-scale text datasets by using multi-threaded text file loading based on Apache Arrow multi-threaded CSV loader.
If it works ok, it would fix #546.
**Breaking change**:
The text lines now do not include final line-breaks anymore. | 69 | text: [Breaking] Switch text loading to multi-threaded PyArrow loading
Test if we can get better performances for large-scale text datasets by using multi-threaded text file loading based on Apache Arrow multi-threaded CSV loader.
If it works ok, it would fix #546.
**Breaking change**:
The text lines now do not include final line-breaks anymore.
Awesome !
Also I was wondering if we should try to make the hashing of the `data_files` faster (it is used to build the cache directory of datasets like `text` or `json`). Right now it reads each file and hashes all of its data. We could simply hash the path and some metadata including the `time last modified` tag no ? Apparently we can get this tag with `os.path.getmtime(path)` | [
-0.29285314679145813,
-0.05243212729692459,
-0.17025749385356903,
0.3867809772491455,
0.14696195721626282,
-0.1434321403503418,
0.3710131347179413,
0.5213291645050049,
0.07664711773395538,
-0.17051111161708832,
0.13853149116039276,
0.3438374102115631,
0.22118353843688965,
-0.22813595831394196,
0.04992945119738579,
-0.0448683500289917,
0.09751436114311218,
-0.05330879986286163,
-0.11490316689014435,
0.2363538295030594,
-0.13814225792884827,
0.08866684138774872,
-0.21219493448734283,
-0.2576642632484436,
-0.19457167387008667,
0.16978822648525238,
-0.05112166330218315,
0.31808018684387207,
0.023420341312885284,
-0.6621688604354858,
-0.2639849781990051,
0.2217669039964676,
-0.007987718097865582,
0.4222010672092438,
-0.00010727383778430521,
-0.04581007361412048,
0.2782498002052307,
0.04803553968667984,
-0.1047855019569397,
0.20110327005386353,
-0.21677744388580322,
-0.5091165900230408,
0.027887219563126564,
-0.3175850510597229,
0.34575119614601135,
-0.1353326141834259,
-0.15562798082828522,
-0.15680530667304993,
0.44457578659057617,
0.4126611351966858,
0.16158047318458557,
0.13833282887935638,
-0.20702029764652252,
0.10728413611650467,
0.5323466062545776,
-0.006882227957248688,
0.055357903242111206,
0.29883483052253723,
0.5532939434051514,
-0.011677161790430546,
-0.6413846015930176,
0.43724948167800903,
-0.20390135049819946,
0.14218156039714813,
0.1950870156288147,
-0.02584507316350937,
0.010321944952011108,
0.17763563990592957,
0.06651127338409424,
0.2939876616001129,
0.5399463176727295,
-0.0537383109331131,
-0.09090223163366318,
-0.3142785131931305,
-0.29709962010383606,
-0.3357803523540497,
0.2478267252445221,
0.03284214809536934,
-0.1374916434288025,
0.1357608437538147,
-0.08677764236927032,
-0.190434992313385,
-0.19992461800575256,
-0.26383650302886963,
0.10028666257858276,
-0.2542784512042999,
0.17668844759464264,
-0.07964368909597397,
0.2220747023820877,
0.04468177258968353,
0.12121933698654175,
0.052155788987874985,
-0.025610294193029404,
-0.0800430104136467,
-0.2618277668952942,
-0.026977909728884697,
-0.13661646842956543,
-0.07984895259141922,
0.19272595643997192,
-0.08045567572116852,
0.3366033732891083,
0.401307076215744,
0.14763200283050537,
0.11923811584711075,
0.04136372357606888,
0.10872726142406464,
-0.036794379353523254,
-0.2598925530910492,
0.39278340339660645,
0.013895772397518158,
-0.16668923199176788,
-0.10080813616514206,
-0.09804558753967285,
-0.5834518074989319,
0.08439904451370239,
0.20586028695106506,
-0.13743484020233154,
-0.05346495658159256,
0.044764697551727295,
0.04173310101032257,
-0.11743982136249542,
-0.3444077670574188,
0.0012099333107471466,
0.3948357403278351,
0.08521007001399994,
0.3219665288925171,
-0.07178027927875519,
0.15472975373268127,
-0.2937995493412018,
-0.3777656555175781,
-0.008633735589683056,
-0.06044347956776619,
-0.2555069029331207,
0.1006244346499443,
0.13324026763439178,
0.12019310891628265,
-0.04459511488676071,
0.12401054054498672,
-0.023229852318763733,
-0.08884678781032562,
-0.19630025327205658,
-0.11742058396339417,
-0.11638589948415756,
0.11825460195541382,
-0.22017192840576172,
-0.010335435159504414,
0.029589112848043442,
0.3209289312362671,
-0.205361008644104,
0.425548255443573,
-0.33451369404792786,
-0.5056777000427246,
0.10164225101470947,
0.22978335618972778,
-0.03475583344697952,
-0.12637460231781006,
-0.13618889451026917,
0.13675493001937866,
0.21748217940330505,
0.005680806934833527,
0.15691010653972626,
-0.03660253435373306,
-0.0891328901052475,
-0.17532815039157867,
-0.08306081593036652,
0.479572057723999,
-0.5794233679771423,
0.12676779925823212,
0.06178686395287514,
0.16932035982608795,
0.02564733475446701,
0.5715528726577759,
-0.2327294498682022,
-0.03489965945482254,
0.03022093139588833,
0.23262907564640045,
0.25306785106658936,
-0.08631177246570587,
-0.27891385555267334,
0.4662652909755707,
-0.06861740350723267,
-0.011752375401556492,
0.39530593156814575,
-0.02488633058965206,
0.061834290623664856,
-0.09583920240402222,
-0.0037585869431495667,
0.09790326654911041,
0.17439299821853638,
0.23117214441299438,
-0.5690737366676331,
-0.15760259330272675,
0.02895984798669815,
0.25642019510269165,
-0.05799063667654991,
-0.37824809551239014,
0.05491645634174347,
-0.4433535635471344,
0.28869831562042236,
-0.19885969161987305,
0.08333280682563782,
0.03528458997607231,
0.05725318193435669,
0.15776968002319336,
0.2692410945892334,
0.15264081954956055,
-0.3384058177471161,
0.21117159724235535,
0.15149013698101044,
0.033236563205718994,
-0.11129604279994965,
-0.21907688677310944,
-0.09366621822118759,
0.017865175381302834,
-0.024189624935388565,
-0.06083044037222862,
0.04441027343273163,
-0.15976844727993011,
-0.27033618092536926,
-0.09341426193714142,
-0.17965346574783325,
0.4079210162162781,
-0.1549360603094101,
0.2226705551147461,
0.102955162525177,
-0.011054771021008492,
-0.23339690268039703,
0.042186759412288666,
-0.05168804153800011,
-0.1045212522149086,
0.05540882796049118,
-0.09906018525362015,
-0.0967477411031723,
0.25135597586631775,
-0.13394048810005188,
0.43067610263824463,
0.10409218817949295,
0.1889210045337677,
0.2779354453086853,
-0.07767775654792786,
0.11449356377124786,
0.054022569209337234,
-0.07844273746013641,
-0.19795116782188416,
-0.21197369694709778,
0.37682169675827026,
-0.07975021004676819,
0.2673208713531494,
0.09702861309051514,
-0.24389243125915527,
0.09358132630586624,
-0.13517366349697113,
0.18703243136405945,
0.1237984299659729,
0.40256330370903015,
0.4654652774333954,
0.1912604719400406,
0.3079645335674286,
0.021473251283168793,
0.1787562370300293,
0.5319177508354187,
-0.09892311692237854,
-0.21913698315620422,
0.4937596321105957,
0.054745517671108246,
-0.3759831190109253,
-0.002379991114139557,
-0.11862477660179138,
0.19131553173065186,
0.2961360812187195,
-0.07154761254787445,
-0.030907316133379936,
0.3621317148208618,
-0.47989901900291443,
0.44914931058883667,
0.10208768397569656,
0.3326112926006317,
0.1096881628036499,
0.15438950061798096,
-0.01852259784936905,
-0.211500883102417,
-0.39368438720703125,
0.20120537281036377,
0.20025970041751862,
-0.3403295874595642,
0.041539013385772705,
-0.07297628372907639,
-0.19552847743034363,
-0.2847308814525604,
-0.01816941797733307,
-0.11825615167617798,
-0.14892689883708954,
0.26170411705970764,
-0.06980504095554352,
-0.3400419354438782,
0.07352110743522644,
0.14958587288856506,
0.507685124874115,
0.22277848422527313,
0.09595087170600891,
-0.5107148885726929,
-0.357543021440506,
-0.1332363486289978,
0.016175411641597748,
0.4072954058647156,
-0.05504192039370537,
-0.009637327864766121,
-0.08428936451673508,
0.03061673417687416,
-0.14373372495174408,
-0.1132093295454979,
0.06338991969823837,
-0.10956577956676483,
-0.08283817023038864,
0.029417894780635834,
0.1796424686908722,
0.07043914496898651,
-0.14610150456428528,
0.1881091594696045,
-0.12344308942556381,
-0.08836641162633896,
0.1027136892080307,
0.14561788737773895,
0.21899811923503876,
-0.0512017197906971,
-0.44472864270210266,
0.036541648209095,
-0.465114951133728,
0.5424097180366516,
-0.09303178638219833,
0.2708538770675659,
0.0015385039150714874,
0.02541215717792511,
0.02506329119205475,
-0.15573175251483917,
-0.013549555093050003,
0.11075066775083542,
-0.3983275294303894,
0.07866571843624115,
-0.0030590880196541548,
-0.26242366433143616,
-0.3309306502342224,
0.20639246702194214,
0.0178572628647089,
0.16628138720989227,
-0.434295654296875,
0.05433753505349159,
-0.13851015269756317,
0.3600848913192749,
-0.16722069680690765,
-0.2601550817489624,
0.33269351720809937,
-0.015009025111794472,
-0.2946505546569824,
-0.01039087027311325,
0.22027994692325592,
0.12435874342918396,
-0.20528718829154968,
-0.02877015620470047,
-0.0426219180226326,
0.1278384029865265,
0.25145742297172546,
0.7309092283248901,
-0.037752799689769745,
0.2677178680896759,
0.17579235136508942,
0.059760548174381256,
0.05838261917233467,
-0.00895480066537857,
-0.12502740323543549,
-0.15417249500751495,
-0.4350984990596771,
-0.12084325402975082,
0.3971174955368042,
0.013238545507192612,
-0.21002045273780823,
-0.10111518204212189,
-0.14824867248535156,
-0.3254704177379608,
-0.3819052577018738,
0.5224112272262573,
-0.1007130891084671,
-0.006053954362869263,
-0.09121651947498322,
-0.03444496914744377,
-0.18935970962047577,
-0.12059731036424637,
0.2388131469488144,
0.30824342370033264,
0.021506480872631073,
-0.3717304468154907,
-0.06735659390687943,
0.1862766146659851,
-0.48828983306884766,
0.32409337162971497,
-0.002875052858144045,
0.12125123292207718,
0.08291369676589966,
-0.40603944659233093,
0.11530104279518127,
-0.3512449860572815,
0.5880897045135498,
0.050643861293792725,
0.07421164214611053,
0.17367708683013916,
0.1778745949268341,
-0.01860666647553444,
-0.01879752427339554,
-0.21325136721134186,
0.09205932915210724,
0.6463745832443237,
0.1925911009311676,
-0.20563429594039917,
-0.15278275310993195,
0.0216599740087986,
-0.08174806088209152,
0.07769916951656342,
-0.34498658776283264,
-0.12214331328868866,
0.11421515792608261,
-0.14833493530750275,
0.14511488378047943,
0.09511414915323257,
0.10883601754903793,
-0.40334320068359375,
0.040033888071775436,
0.41816139221191406,
-0.23569226264953613,
0.04578031226992607,
-0.0601004920899868,
0.017044927924871445,
-0.3695962131023407,
0.014334198087453842,
-0.02055356279015541,
0.0036977604031562805,
0.31798824667930603,
0.3455985486507416,
0.008573150262236595,
-0.27926352620124817,
-0.23249909281730652,
0.011184404604136944,
0.3759514391422272,
0.40458622574806213,
0.0625203549861908,
0.18442972004413605,
0.11332933604717255,
0.17898134887218475,
-0.008964198641479015,
-0.13193349540233612,
0.18140025436878204,
-0.0034608435817062855,
-0.15484361350536346,
-0.1255282759666443,
0.708122968673706,
0.08128103613853455,
-0.08240941911935806,
0.2945215404033661,
-0.32157301902770996,
-0.22167259454727173,
0.37608784437179565,
0.17340946197509766,
1.0597983598709106,
-0.16309966146945953,
0.28768473863601685,
-0.001586897298693657,
-0.17396920919418335,
0.17021124064922333,
-0.7705468535423279,
0.11735109239816666,
-0.4043278098106384,
0.16331836581230164,
0.12653256952762604,
-0.04817846044898033,
0.18548280000686646,
0.13748151063919067,
-0.40547627210617065,
-0.0918411836028099,
0.32049381732940674,
0.32597190141677856,
-0.12091304361820221,
0.4037778675556183,
-0.48196226358413696,
-0.2998117506504059,
-0.12795551121234894,
0.015790071338415146,
0.0469341017305851,
-0.01787310093641281,
-0.24262931942939758,
-0.18223264813423157,
0.07883241772651672,
-0.20722170174121857,
-0.39320045709609985,
-0.2632039785385132,
-0.25808435678482056,
0.10599146783351898,
-0.13342969119548798,
-0.575154185295105,
0.12221643328666687,
0.070248082280159,
-0.06324005126953125,
-0.15464065968990326,
-0.20284217596054077,
0.4628947079181671,
0.07433439791202545,
0.20649276673793793,
0.3275834321975708,
-0.39642107486724854,
0.14615002274513245,
-0.0654323399066925,
-0.10964023321866989,
-0.24837785959243774,
-0.2348986566066742,
-0.43097972869873047,
0.15686136484146118,
0.1092415601015091,
0.17121009528636932,
-0.19719377160072327,
0.13507646322250366,
0.07673384249210358,
-0.24566061794757843,
-0.32240650057792664,
0.15798749029636383,
0.1020718365907669,
0.003879641881212592,
0.1619594395160675,
-0.12662053108215332,
-0.22037142515182495,
-0.12900757789611816,
0.2827455699443817,
0.027595773339271545,
-0.2822485566139221,
0.20577417314052582,
0.636313796043396,
-0.31409865617752075,
-0.2727982699871063,
0.16742590069770813,
0.29934588074684143,
-0.5004960298538208,
0.13554421067237854,
-0.13831199705600739,
-0.05955386161804199,
0.12655971944332123,
0.087805837392807,
-0.008767932653427124,
0.11850658059120178,
-0.07964390516281128,
-0.4228600263595581,
-0.40081989765167236,
0.2727305293083191,
-0.08697819709777832,
-0.0009593404829502106,
-0.05730205774307251,
-0.0850338339805603,
-0.00613471120595932,
0.28804436326026917,
-0.32707661390304565,
0.40776264667510986,
0.2239479124546051,
0.018749253824353218,
0.05781073495745659,
-0.29990947246551514,
0.20431400835514069,
0.04986093193292618,
0.06204987317323685,
0.3397567868232727,
-0.04140057414770126,
-0.20078212022781372,
0.1892756223678589,
0.14182887971401215,
-0.18293556571006775,
-0.14641650021076202,
0.07886034995317459,
-0.05555378645658493,
-0.04179457202553749,
-0.01850774884223938,
0.008835872635245323,
-0.020219512283802032,
-0.2831984758377075,
-0.050761688500642776,
0.061484310775995255,
0.09481973946094513,
-0.21039220690727234,
0.10991183668375015,
-0.25552329421043396,
0.5424156188964844,
0.0005161366425454617,
0.08452600985765457,
-0.14366477727890015,
-0.059351131319999695,
0.21653038263320923,
0.19047535955905914,
0.197090283036232,
0.1953403651714325,
0.3486756682395935,
-0.2159963697195053,
-0.05156446620821953,
-0.04958488792181015,
0.4228534400463104,
0.2837942838668823,
-0.1439315676689148,
-0.002317313104867935,
0.154904305934906,
0.2496005892753601,
-0.20896540582180023,
-0.13117016851902008,
0.05730666592717171,
-0.43172237277030945,
0.04649988189339638,
0.08959057182073593,
0.3537730872631073,
0.07697296142578125,
0.14999094605445862,
0.22151300311088562,
0.2655748724937439,
-0.043377138674259186,
-0.08354184031486511,
0.2821204662322998,
0.07648041844367981,
-0.20363081991672516,
0.2737792730331421,
0.24240489304065704,
0.3659435212612152,
0.40723395347595215,
-0.11752108484506607,
0.3238162696361542,
0.3977784216403961,
0.4846177101135254,
-0.16313520073890686,
-0.3157888650894165,
0.016948478296399117,
0.302103191614151,
-0.15383023023605347,
0.04753986746072769,
0.09202422201633453,
0.7108736634254456,
0.06304319202899933,
0.039475709199905396,
-0.02402416616678238,
0.04076238349080086,
-0.3264836370944977,
-0.024360232055187225,
0.007757004350423813,
-0.19951066374778748,
-0.07703868299722672,
0.1677486151456833,
-0.2723081111907959,
0.2532067596912384,
0.23988427221775055,
0.32196733355522156,
0.18184253573417664,
-0.17192217707633972,
0.07917867600917816,
-0.325063556432724,
0.4410255551338196,
-0.3745117783546448,
0.12383146584033966,
0.14553093910217285,
-0.17676350474357605,
0.3170931041240692,
0.17818383872509003,
0.5370126366615295,
0.11289124935865402,
-0.21201324462890625,
-0.02924313023686409,
-0.2960674464702606,
0.06698165833950043,
-0.04485059529542923,
0.20339980721473694,
0.3856964111328125,
0.24484597146511078,
0.13595430552959442,
0.050927311182022095,
-0.2361600697040558,
0.17481295764446259,
0.08490113914012909,
-0.22666789591312408,
-0.04172158241271973,
-0.19533619284629822,
0.3398640751838684,
-0.658281683921814,
-0.14645163714885712,
-0.23879209160804749,
-0.2877790331840515,
-0.19439969956874847,
0.35003355145454407,
-0.060721877962350845,
0.09545961022377014,
0.009161027148365974,
0.11009858548641205,
0.06823356449604034,
0.627558708190918,
0.31397518515586853,
0.10253827273845673,
-0.3232647776603699,
-0.16733318567276,
-0.5015063285827637,
-0.0789787694811821,
-0.2710769474506378,
0.44362229108810425,
0.20588478446006775,
0.2742233872413635,
0.2436354160308838,
0.2529485523700714,
0.25706127285957336,
-0.11335191875696182,
-0.05986614525318146,
0.09041140973567963,
-0.43308231234550476,
0.2578764855861664,
0.344215452671051,
-0.007745303213596344,
-0.1415833830833435,
-0.1456281542778015,
0.472145140171051,
0.049844399094581604,
0.026331469416618347,
-0.19704285264015198,
-0.058646008372306824,
0.45503103733062744,
-0.07109840214252472,
0.2928224503993988,
-0.1148398369550705,
0.085855633020401,
0.0782788097858429,
-0.11701294034719467,
-0.15042158961296082,
-0.12023711204528809,
0.13857579231262207,
0.23694607615470886,
0.26006147265434265,
0.05115124583244324,
-0.1053474098443985,
-0.12399736046791077,
-0.18960662186145782,
0.18343275785446167,
-0.4135453701019287,
-0.0628054216504097,
-0.20042051374912262,
-0.14889132976531982,
0.20733162760734558,
0.12047306448221207,
-0.20680390298366547,
0.26968830823898315,
-0.057693034410476685,
-0.18681178987026215,
-0.7897371649742126,
-0.4826013445854187,
0.3250960111618042,
-0.5125651359558105,
-0.20069681107997894,
-0.012787017971277237,
0.40111374855041504,
0.3882761001586914,
0.41823214292526245,
-0.6385341286659241,
-0.12446299195289612,
0.26289328932762146,
0.11878639459609985,
-0.37475407123565674,
0.08365979790687561,
-0.011846266686916351,
-0.0938069298863411,
-0.1812785118818283,
0.2850223779678345,
0.023036830127239227,
-0.22235047817230225,
-0.4109635055065155,
-0.3887016773223877
] |
https://github.com/huggingface/datasets/pull/540 | [BUGFIX] Fix Race Dataset Checksum bug | I'm not sure this would fix #537 .
However your point about the missing `middle` data is right and we probably want to include these data as well.
Do you think it would we worth having different configurations for this dataset for users who want to only load part of it (`high school` or `middle` or `all`) ? | In #537 I noticed that there was a bug in checksum checking when I have tried to download the race dataset. The reason for this is that the current preprocessing was just considering the `high school` data and it was ignoring the `middle` one. This PR just fixes it :)
Moreover, I have added some descriptions. | 58 | text: [BUGFIX] Fix Race Dataset Checksum bug
In #537 I noticed that there was a bug in checksum checking when I have tried to download the race dataset. The reason for this is that the current preprocessing was just considering the `high school` data and it was ignoring the `middle` one. This PR just fixes it :)
Moreover, I have added some descriptions.
I'm not sure this would fix #537 .
However your point about the missing `middle` data is right and we probably want to include these data as well.
Do you think it would we worth having different configurations for this dataset for users who want to only load part of it (`high school` or `middle` or `all`) ? | [
-0.3605602979660034,
0.02530646324157715,
-0.11914758384227753,
0.4468648433685303,
0.08022695779800415,
0.280810683965683,
0.01691526547074318,
0.5868477821350098,
0.05587131902575493,
-0.14272700250148773,
0.030180849134922028,
-0.07835166901350021,
0.36058056354522705,
0.09619445353746414,
-0.022700760513544083,
-0.13770973682403564,
-0.12171851843595505,
0.1236521303653717,
0.05009039118885994,
0.10624775290489197,
-0.2821388244628906,
-0.16808360815048218,
0.00908089429140091,
-0.037103183567523956,
-0.07513798028230667,
0.2909010052680969,
0.11352953314781189,
0.4039146304130554,
-0.07769381999969482,
-0.4838244318962097,
0.15158341825008392,
0.28814059495925903,
0.17256473004817963,
0.1530010849237442,
-0.00011274913413217291,
-0.021068233996629715,
0.35048389434814453,
-0.1053285002708435,
-0.07589699327945709,
0.225284144282341,
-0.5544618368148804,
-0.00040880776941776276,
-0.3259589374065399,
-0.11984933912754059,
-0.2397615611553192,
0.5486198663711548,
0.13950562477111816,
-0.3575004041194916,
0.32543376088142395,
-0.02595588192343712,
0.17828644812107086,
0.2527560889720917,
-0.025623075664043427,
0.17289172112941742,
0.40607526898384094,
0.0390942245721817,
-0.14085787534713745,
0.3284997344017029,
0.5931529998779297,
0.2089880406856537,
-0.15812435746192932,
0.28519827127456665,
0.10115326941013336,
0.19876262545585632,
0.16008120775222778,
-0.011481921188533306,
0.2905319035053253,
-0.2569088041782379,
0.03258361667394638,
0.45439159870147705,
0.1168011724948883,
0.13659755885601044,
-0.2868165373802185,
-0.0910433679819107,
-0.07403257489204407,
-0.8394197821617126,
0.42374685406684875,
0.250194251537323,
-0.2626398205757141,
0.15571217238903046,
-0.019313359633088112,
-0.08082015067338943,
-0.1148950532078743,
-0.03463049232959747,
-0.35536327958106995,
0.5552580952644348,
0.018908828496932983,
0.10639394819736481,
-0.34844911098480225,
0.40059685707092285,
0.33521419763565063,
-0.19703134894371033,
-0.045882027596235275,
-0.3724559247493744,
0.01844082772731781,
-0.2626562714576721,
-0.11173176020383835,
0.014461934566497803,
0.06831397861242294,
0.12329719215631485,
0.07394002377986908,
0.4973580837249756,
-0.02553049474954605,
-0.13885629177093506,
0.29076701402664185,
-0.32319268584251404,
0.1714884340763092,
0.3174911439418793,
0.4545780420303345,
0.011936342343688011,
0.17522063851356506,
0.009519154205918312,
0.013333811424672604,
-0.061862170696258545,
-0.09504400193691254,
0.29030531644821167,
0.02519560232758522,
-0.33347058296203613,
-0.29416167736053467,
0.1848854273557663,
0.3238140046596527,
-0.33218613266944885,
0.11814327538013458,
0.26086342334747314,
-0.17875826358795166,
0.05101608484983444,
-0.169488325715065,
0.048995956778526306,
-0.04760795831680298,
-0.35802438855171204,
-0.1554335206747055,
-0.04272600635886192,
-0.2946023643016815,
-0.023180989548563957,
0.15332747995853424,
-0.12802307307720184,
0.3282303214073181,
-0.07655225694179535,
-0.030931659042835236,
0.18636949360370636,
-0.10499159246683121,
-0.07786305248737335,
0.03949282690882683,
0.3255329430103302,
-0.07044330984354019,
0.09653349220752716,
0.05067196115851402,
0.2530633211135864,
-0.09532307833433151,
0.45971018075942993,
-0.19833800196647644,
-0.17652586102485657,
0.21616216003894806,
0.15803182125091553,
-0.2817603349685669,
-0.12829731404781342,
-0.1666923463344574,
0.06683363020420074,
0.36756476759910583,
-0.21677574515342712,
0.32564201951026917,
-0.15114159882068634,
-0.6462103128433228,
-0.28249672055244446,
0.09601252526044846,
0.3918253183364868,
-0.14035002887248993,
0.057423509657382965,
0.07854797691106796,
-0.15231193602085114,
0.25016021728515625,
-0.15955689549446106,
-0.17028099298477173,
-0.19339796900749207,
-0.18659085035324097,
0.07745255529880524,
0.24134868383407593,
-0.278520405292511,
-0.29112884402275085,
0.11208856850862503,
-0.07841681689023972,
0.11826152354478836,
0.09601981937885284,
0.2019437551498413,
-0.036428358405828476,
-0.10483425110578537,
0.1509322226047516,
0.15008828043937683,
-0.23670890927314758,
-0.09502891451120377,
-0.2710135579109192,
-0.13134586811065674,
0.4457818269729614,
0.2629337012767792,
0.34286388754844666,
-0.0711134746670723,
-0.13221395015716553,
-0.18798880279064178,
0.40643689036369324,
0.14681938290596008,
0.26217636466026306,
-0.11259758472442627,
-0.06688043475151062,
0.06542963534593582,
-0.09334319829940796,
-0.21645694971084595,
0.002055421471595764,
0.2959801256656647,
-0.0038360971957445145,
-0.3655107021331787,
0.18868133425712585,
-0.028962070122361183,
-0.3078906834125519,
-0.40559935569763184,
-0.07824315130710602,
-0.028925124555826187,
0.07769204676151276,
-0.017887189984321594,
0.15868599712848663,
-0.49548688530921936,
-0.31405413150787354,
0.22018085420131683,
-0.3359539210796356,
0.06444588303565979,
0.04671486094594002,
0.35923609137535095,
-0.075461246073246,
0.10349290817975998,
0.03827174752950668,
-0.01964820921421051,
0.010787684470415115,
-0.16071876883506775,
-0.056741468608379364,
0.46968874335289,
0.20589077472686768,
-0.32182562351226807,
-0.016960352659225464,
0.4339708685874939,
0.36099347472190857,
-0.1487918645143509,
-0.0066549647599458694,
0.13645625114440918,
-0.06508861482143402,
-0.07613391429185867,
-0.19627591967582703,
0.45625948905944824,
-0.17834538221359253,
0.081155925989151,
-0.003593023866415024,
0.12815798819065094,
0.17866720259189606,
-0.13419175148010254,
-0.16794545948505402,
-0.1466011106967926,
-0.07578971982002258,
0.30510663986206055,
-0.05727978050708771,
0.01895568147301674,
-0.371625155210495,
0.24884536862373352,
0.2455364316701889,
0.09867820143699646,
-0.16124185919761658,
0.09273821115493774,
-0.013068825006484985,
0.006598182022571564,
-0.03618939220905304,
0.24226652085781097,
0.5858559012413025,
0.227621391415596,
0.036610424518585205,
0.055969398468732834,
0.08433549106121063,
-0.19773662090301514,
0.26995670795440674,
0.19416728615760803,
0.05630651116371155,
0.2649573087692261,
-0.19711929559707642,
0.13057199120521545,
-0.2939295768737793,
-0.003499642014503479,
0.23337501287460327,
-0.02332187257707119,
-0.4112798571586609,
-0.228913813829422,
-0.10564126819372177,
-0.293104350566864,
-0.12211588025093079,
0.15230973064899445,
-0.20294025540351868,
-0.041373997926712036,
0.28783971071243286,
0.06591431051492691,
-0.1529935747385025,
0.14138410985469818,
-0.4352724552154541,
0.4145117998123169,
-0.09124912321567535,
0.21990664303302765,
-0.1198757141828537,
0.006989555433392525,
-0.29090723395347595,
0.1984260082244873,
0.3616030216217041,
0.005971030797809362,
0.24672727286815643,
-0.4896252453327179,
-0.306036114692688,
-0.20043247938156128,
-0.3764718770980835,
0.10184871405363083,
-0.15962417423725128,
0.3073830306529999,
0.18970312178134918,
0.44049280881881714,
-0.1098410114645958,
-0.20827992260456085,
0.2162829339504242,
0.04511193931102753,
-0.3482855260372162,
-0.12983882427215576,
0.07766520231962204,
-0.08390527963638306,
-0.08995194733142853,
-0.290741503238678,
0.12602737545967102,
-0.19531035423278809,
-0.019253835082054138,
0.1414799988269806,
0.2502328157424927,
-0.23826898634433746,
-0.0551648885011673,
-0.2045610547065735,
-0.140765979886055,
0.10401377081871033,
-0.43147045373916626,
-0.3308251202106476,
0.22288878262043,
-0.12583893537521362,
-0.39868226647377014,
-0.09927156567573547,
-0.0072923507541418076,
0.19304002821445465,
-0.047721512615680695,
-0.6374942064285278,
-0.18972156941890717,
-0.065596804022789,
0.09556418657302856,
-0.21587908267974854,
0.015202300623059273,
0.4147902727127075,
-0.17357201874256134,
-0.11210799217224121,
-0.20046639442443848,
-0.049002327024936676,
-0.20213645696640015,
0.023509016260504723,
0.5864424109458923,
-0.21292096376419067,
-0.043294645845890045,
-0.08325459063053131,
0.5650102496147156,
0.24898433685302734,
0.3859308958053589,
0.10123100131750107,
0.18322500586509705,
0.26929861307144165,
-0.1295866072177887,
0.16691352427005768,
0.15584059059619904,
-0.21085137128829956,
0.11785505712032318,
0.16262111067771912,
0.09574504941701889,
-0.04788856953382492,
-0.1567758321762085,
0.0331764854490757,
-0.028437819331884384,
-0.45225512981414795,
0.16440771520137787,
-0.24881121516227722,
0.13326045870780945,
0.07698813080787659,
-0.04553287476301193,
-0.13060925900936127,
-0.10622988641262054,
0.1120852380990982,
0.4292653203010559,
0.2736094892024994,
-0.20031851530075073,
-0.7954228520393372,
-0.3022988736629486,
-0.14916083216667175,
0.1528933346271515,
0.13741084933280945,
0.2734682857990265,
0.1012001782655716,
-0.09496063739061356,
-0.04158733785152435,
0.03183902055025101,
0.3064190745353699,
-0.421322762966156,
0.25827497243881226,
0.1363012194633484,
0.006273243576288223,
-0.20837467908859253,
-0.32274389266967773,
-0.17412805557250977,
0.06719415634870529,
0.3123127520084381,
-0.06783972680568695,
-0.5760171413421631,
-0.09940347820520401,
0.4769948720932007,
-0.27973389625549316,
-0.020185168832540512,
-0.4168555736541748,
-0.3697739243507385,
-0.030217111110687256,
-0.18429984152317047,
0.29383501410484314,
0.3803575932979584,
-0.03747076541185379,
-0.2441139817237854,
-0.04238561540842056,
0.20833726227283478,
0.060657717287540436,
0.22679929435253143,
0.09810586273670197,
0.05475344508886337,
0.4191647469997406,
0.1454901397228241,
0.027571730315685272,
0.021797098219394684,
0.29876795411109924,
0.5549940466880798,
0.09783050417900085,
0.11097445338964462,
0.4744241535663605,
-0.3688461482524872,
0.2877274751663208,
0.46562913060188293,
-0.05988636612892151,
-0.03937993198633194,
0.3571498990058899,
-0.13113467395305634,
-0.21346415579319,
0.26457491517066956,
-0.2005799263715744,
0.04873543232679367,
-0.016687747091054916,
-0.4784802496433258,
0.10812540352344513,
0.0196155346930027,
-0.21776781976222992,
0.508870005607605,
-0.17095492780208588,
-0.16366618871688843,
0.16910585761070251,
0.28447195887565613,
1.0004596710205078,
0.16510209441184998,
0.08174452930688858,
-0.18304702639579773,
-0.4429551959037781,
-0.0045273806899785995,
0.0757671445608139,
0.21107017993927002,
-0.35059335827827454,
-0.5627273321151733,
-0.07772434502840042,
-0.0935598686337471,
0.22459354996681213,
-0.07221879065036774,
0.126641646027565,
0.03130921348929405,
-0.03878616914153099,
0.12288056313991547,
-0.021439960226416588,
0.08136425912380219,
-0.24678564071655273,
0.10157743096351624,
0.09930595010519028,
0.024111855775117874,
-0.0929899513721466,
0.1779906451702118,
-0.2343214452266693,
-0.0730886459350586,
-0.31077390909194946,
-0.3670356273651123,
-0.6072332262992859,
-0.36269667744636536,
-0.390153706073761,
-0.030392196029424667,
0.05818960815668106,
0.2498813420534134,
0.24328580498695374,
0.013062026351690292,
0.29723721742630005,
0.18330921232700348,
-0.3412131071090698,
0.3001145124435425,
0.539107620716095,
0.1940550059080124,
0.3283976912498474,
-0.055747102946043015,
0.06646068394184113,
-0.21785226464271545,
-0.3225439190864563,
0.03362199291586876,
-0.284854918718338,
-0.2785600423812866,
-0.07030753046274185,
-0.008894003927707672,
0.3243904709815979,
-0.3447049558162689,
0.027683574706315994,
0.1955709159374237,
0.1480010449886322,
-0.3021927773952484,
0.12661291658878326,
0.1268530637025833,
0.23928843438625336,
0.21651232242584229,
0.15367722511291504,
-0.31261754035949707,
-0.2364511936903,
0.18730445206165314,
0.2559615969657898,
-0.23175589740276337,
0.22109158337116241,
-0.06532284617424011,
-0.05329902470111847,
-0.21357712149620056,
-0.17775613069534302,
0.10744179785251617,
-0.1410522162914276,
-0.03590753674507141,
-0.09918801486492157,
-0.125157430768013,
-0.15239626169204712,
0.32067644596099854,
0.5167226195335388,
0.09426389634609222,
0.3795754015445709,
-0.4486495554447174,
-0.31095531582832336,
0.09113698452711105,
-0.14899185299873352,
0.3235010802745819,
-0.49755656719207764,
0.20936673879623413,
-0.16283021867275238,
0.0753268375992775,
-0.31978780031204224,
-0.10707741975784302,
-0.13230116665363312,
0.2544240355491638,
-0.15435412526130676,
0.26739510893821716,
-0.22741271555423737,
-0.08265864849090576,
0.04242703318595886,
0.09284169971942902,
-0.4752003848552704,
-0.1560264229774475,
-0.08451741933822632,
0.19319522380828857,
-0.0628400444984436,
-0.5550181269645691,
0.28851404786109924,
-0.06235998496413231,
-0.13967372477054596,
0.20565907657146454,
-0.17917898297309875,
-0.04950321838259697,
-0.059741705656051636,
0.02777760848402977,
0.3344254791736603,
0.017869334667921066,
-0.2700771987438202,
0.10748642683029175,
-0.22586172819137573,
0.16820451617240906,
0.18144987523555756,
0.3638707101345062,
-0.07711818814277649,
0.01867414265871048,
0.15217110514640808,
-0.023915491998195648,
-0.0664673000574112,
0.20984306931495667,
0.2672976851463318,
-0.00418255478143692,
-0.01523786410689354,
0.3752687871456146,
0.018242083489894867,
0.5843489170074463,
-0.11922027915716171,
0.11313000321388245,
-0.27730581164360046,
0.31114327907562256,
-0.4766107499599457,
0.17947031557559967,
0.2583228349685669,
0.059296492487192154,
0.015596289187669754,
0.37024229764938354,
0.6129574775695801,
-0.11754527688026428,
0.24988067150115967,
0.1421041488647461,
0.09881657361984253,
-0.2385084480047226,
0.26587343215942383,
0.26254138350486755,
-0.2989114820957184,
-0.04968120530247688,
0.45314452052116394,
0.10998490452766418,
-0.36489588022232056,
0.008600722998380661,
0.366651326417923,
-0.04789014160633087,
0.06102120131254196,
0.3171672821044922,
-0.46614065766334534,
-0.22035300731658936,
0.34661003947257996,
0.2799164056777954,
-0.09619547426700592,
-0.08432284742593765,
0.22193022072315216,
-0.10135561972856522,
-0.15338638424873352,
-0.013543864712119102,
-0.21254107356071472,
-0.37710002064704895,
0.0065120793879032135,
-0.16031332314014435,
-0.2832433581352234,
-0.3548269271850586,
-0.05903630331158638,
0.0925079882144928,
0.0740128681063652,
0.022212814539670944,
0.4186958968639374,
0.16725629568099976,
-0.2613440752029419,
-0.22518426179885864,
0.22468158602714539,
0.09746283292770386,
0.213060662150383,
-0.4714304804801941,
0.2312314212322235,
0.20252591371536255,
-0.05221641808748245,
0.5733753442764282,
0.233154296875,
0.15083472430706024,
0.08255116641521454,
0.2278331220149994,
-0.2557217478752136,
0.13246461749076843,
0.0779065266251564,
-0.1841975897550583,
0.36458614468574524,
0.5516326427459717,
0.13893941044807434,
0.2726317048072815,
0.19169582426548004,
-0.07005588710308075,
0.25207629799842834,
-0.13005048036575317,
0.09168721735477448,
-0.3663787245750427,
0.1333673596382141,
0.30937010049819946,
-0.1941528618335724,
0.061937522143125534,
-0.09481845051050186,
0.050464361906051636,
-0.05575723201036453,
0.08085627853870392,
0.014771625399589539,
0.17209208011627197,
-0.11160541325807571,
0.07382337749004364,
0.10644516348838806,
0.28905177116394043,
0.10322640091180801,
-0.42206233739852905,
-0.5374870300292969,
-0.30782562494277954,
-0.5187221765518188,
0.07800381630659103,
0.15582691133022308,
0.15297284722328186,
0.16574054956436157,
0.4210912883281708,
0.054813843220472336,
0.23019148409366608,
0.33912569284439087,
-0.2540498673915863,
-0.15880468487739563,
0.11661956459283829,
-0.2131071388721466,
0.20025433599948883,
0.2898768186569214,
0.54461270570755,
-0.03586098551750183,
-0.11425840109586716,
0.3967962861061096,
0.269283264875412,
0.01969587802886963,
0.01785547286272049,
-0.32880157232284546,
0.4529663920402527,
0.21858298778533936,
0.39458295702934265,
0.13716982305049896,
0.44464734196662903,
-0.061435092240571976,
-0.10455729812383652,
-0.2647450268268585,
-0.06634438037872314,
-0.4031367003917694,
0.3144090473651886,
-0.035680610686540604,
0.3350597620010376,
-0.0447271391749382,
-0.19333015382289886,
-0.2547665238380432,
0.10979701578617096,
0.07304336875677109,
-0.16064657270908356,
-0.21271736919879913,
-0.023962998762726784,
-0.02269640564918518,
0.16625896096229553,
-0.013715862296521664,
-0.01133623719215393,
0.000839918851852417,
-0.15052875876426697,
-0.1738506257534027,
-0.4450949430465698,
0.3270666003227234,
0.06892164796590805,
-0.1785416454076767,
-0.3640127182006836,
0.3568805456161499,
0.22696861624717712,
0.4020470678806305,
-0.5505433678627014,
-0.2270251214504242,
0.37982892990112305,
-0.15727147459983826,
-0.19099624454975128,
0.2567099332809448,
-0.4515308737754822,
-0.1000964343547821,
-0.04915912449359894,
0.416704922914505,
-0.40464916825294495,
-0.49926361441612244,
-0.20734870433807373,
-0.4416121244430542
] |
https://github.com/huggingface/datasets/pull/540 | [BUGFIX] Fix Race Dataset Checksum bug | This has fixed #537 at least on my machine hahaha.
Nice point! I think it would totally worth it :) What the best implementation approach would you suggest?
Would it be possible to have `high school`, `middle` and `all` inside each portion of `train`, `validation` and `test`? Would this make sense? | In #537 I noticed that there was a bug in checksum checking when I have tried to download the race dataset. The reason for this is that the current preprocessing was just considering the `high school` data and it was ignoring the `middle` one. This PR just fixes it :)
Moreover, I have added some descriptions. | 51 | text: [BUGFIX] Fix Race Dataset Checksum bug
In #537 I noticed that there was a bug in checksum checking when I have tried to download the race dataset. The reason for this is that the current preprocessing was just considering the `high school` data and it was ignoring the `middle` one. This PR just fixes it :)
Moreover, I have added some descriptions.
This has fixed #537 at least on my machine hahaha.
Nice point! I think it would totally worth it :) What the best implementation approach would you suggest?
Would it be possible to have `high school`, `middle` and `all` inside each portion of `train`, `validation` and `test`? Would this make sense? | [
-0.2275766283273697,
-0.03691233694553375,
-0.0959252119064331,
0.28775256872177124,
0.07181400060653687,
0.05051092058420181,
-0.05191768333315849,
0.7024531364440918,
-0.0342840813100338,
-0.16814135015010834,
0.22780683636665344,
0.01616404391825199,
0.13412907719612122,
0.13425056636333466,
-0.02589939907193184,
-0.1304105520248413,
0.11123905330896378,
0.10410691797733307,
0.2132670283317566,
0.36929094791412354,
-0.3078073561191559,
-0.34873634576797485,
0.016448870301246643,
0.04634175822138786,
-0.15658725798130035,
0.13922889530658722,
0.007745357230305672,
0.19614127278327942,
-0.09907687455415726,
-0.4296185076236725,
0.06121842563152313,
0.25687211751937866,
0.063311867415905,
0.3881469964981079,
-0.00011897613876499236,
0.0035786256194114685,
0.1749618649482727,
0.0639888346195221,
0.11378368735313416,
0.2491931915283203,
-0.5766732096672058,
0.057988643646240234,
-0.4234203100204468,
-0.05789407342672348,
-0.03040994703769684,
0.4912836253643036,
0.10113488137722015,
-0.21057969331741333,
0.2783266305923462,
0.0497143492102623,
0.0707574263215065,
0.004415687173604965,
0.11301526427268982,
0.3322667181491852,
0.3788219690322876,
0.00918644666671753,
-0.20864157378673553,
0.17162980139255524,
0.7622897624969482,
0.019332606345415115,
-0.13311591744422913,
0.20713400840759277,
0.15212181210517883,
0.129441037774086,
0.24075618386268616,
-0.06445341557264328,
0.26993364095687866,
-0.13362795114517212,
-0.3284056484699249,
0.3821730315685272,
-0.10314243286848068,
-0.2079598307609558,
-0.4243677258491516,
-0.040911853313446045,
-0.16306491196155548,
-1.0015512704849243,
0.4227268695831299,
0.20720282196998596,
-0.22521111369132996,
0.2310773730278015,
-0.0809866413474083,
-0.03165578842163086,
-0.19400882720947266,
-0.0519644170999527,
-0.36743223667144775,
0.6531308889389038,
0.09998849779367447,
-0.09473683685064316,
0.031217224895954132,
0.2414444088935852,
0.32980459928512573,
0.02356885001063347,
0.042452964931726456,
-0.2990768551826477,
-0.06613917648792267,
-0.3561442792415619,
-0.11915317922830582,
-0.04820922762155533,
0.1673615574836731,
0.16739942133426666,
0.03320462256669998,
0.517593264579773,
0.00713497307151556,
0.07541891932487488,
0.07485704869031906,
-0.029768645763397217,
0.18368366360664368,
0.3710165321826935,
0.5702527165412903,
0.3526016175746918,
0.026524651795625687,
0.12139502912759781,
-0.12072301656007767,
-0.10598845034837723,
-0.08290620148181915,
0.4480452239513397,
-0.06648911535739899,
-0.2986353039741516,
-0.296638160943985,
0.18344904482364655,
0.10196400433778763,
-0.3681556284427643,
0.11956844478845596,
0.3885365128517151,
-0.09551474452018738,
0.21527451276779175,
-0.24843092262744904,
0.12016865611076355,
0.031868353486061096,
-0.28668534755706787,
-0.005667237099260092,
0.18687254190444946,
-0.5135564208030701,
-0.019643446430563927,
0.1014765053987503,
-0.029254760593175888,
-0.054345279932022095,
0.05539602041244507,
0.02127041667699814,
-0.17986024916172028,
-0.14689147472381592,
-0.12575778365135193,
0.24738183617591858,
0.23648382723331451,
-0.1683478206396103,
-0.19533662497997284,
-0.0472080372273922,
0.33122289180755615,
-0.11106997728347778,
0.3527871370315552,
-0.046459682285785675,
-0.19281092286109924,
0.12122216820716858,
0.08721914887428284,
-0.11107505112886429,
-0.13630282878875732,
0.08731818944215775,
0.16045336425304413,
0.4723122715950012,
-0.11470437049865723,
0.4313151240348816,
-0.011954519897699356,
-0.5691787600517273,
-0.14118646085262299,
0.2929706573486328,
0.17343057692050934,
-0.13283595442771912,
0.16293756663799286,
0.10470191389322281,
-0.0791475772857666,
0.1602235734462738,
-0.29371315240859985,
0.07200806587934494,
0.0035681799054145813,
-0.028308028355240822,
-0.13182981312274933,
0.19836559891700745,
-0.23570440709590912,
-0.33034899830818176,
-0.05587391182780266,
0.013275817036628723,
0.10559829324483871,
0.12654569745063782,
0.008623630739748478,
-0.15815697610378265,
-0.10850689560174942,
0.20940960943698883,
0.19252949953079224,
-0.2311803698539734,
0.13390734791755676,
-0.1950053721666336,
-0.03373441472649574,
0.41964638233184814,
0.2857774794101715,
0.398531973361969,
-0.18887636065483093,
-0.05102413147687912,
-0.17471089959144592,
0.2004130482673645,
0.07004289329051971,
0.13831838965415955,
-0.1436314731836319,
-0.06069008633494377,
0.022643208503723145,
-0.19837695360183716,
-0.4377470016479492,
0.0862855464220047,
0.0896875336766243,
0.07965228706598282,
-0.3382675051689148,
0.04834221303462982,
-0.0803210437297821,
-0.3424054682254791,
-0.33454862236976624,
-0.07746033370494843,
-0.11750264465808868,
0.09629891812801361,
0.1817219853401184,
-0.024237794801592827,
-0.6173713803291321,
-0.3817729949951172,
0.1485450118780136,
-0.4030357301235199,
0.19664452970027924,
0.10478927195072174,
0.15360288321971893,
-0.010213365778326988,
0.0021259384229779243,
-0.2641797363758087,
0.26948118209838867,
-0.0717797502875328,
-0.09588652104139328,
-0.03338969126343727,
0.4363364577293396,
0.12769509851932526,
-0.3184072971343994,
-0.052181705832481384,
0.5323160886764526,
0.36763274669647217,
-0.20415665209293365,
-0.27786460518836975,
-0.03302991762757301,
-0.16308674216270447,
0.04660224914550781,
-0.2553795874118805,
0.5004734396934509,
-0.2138052135705948,
0.060692038387060165,
-0.054861605167388916,
-0.02505112998187542,
-0.04289479926228523,
-0.20687387883663177,
-0.1212519183754921,
0.08257143199443817,
-0.058469850569963455,
0.2628293037414551,
-0.12123425304889679,
0.08683303743600845,
-0.33255910873413086,
0.08356620371341705,
0.4262063801288605,
0.061510998755693436,
0.06149671971797943,
0.03893209993839264,
0.20910409092903137,
0.08075606822967529,
-0.22194653749465942,
0.25654494762420654,
0.24790364503860474,
0.05569843575358391,
-0.0071934424340724945,
0.1380239725112915,
0.0034489338286221027,
0.0031429510563611984,
0.08700712025165558,
0.2630699872970581,
0.0782383382320404,
0.14964659512043,
-0.12666980922222137,
0.123502716422081,
-0.05325298756361008,
0.004553757607936859,
0.27097180485725403,
-0.091108039021492,
-0.4339211881160736,
-0.044014640152454376,
-0.16511327028274536,
-0.19345805048942566,
-0.34129926562309265,
0.17334741353988647,
-0.2855012118816376,
0.02018165774643421,
0.2379675805568695,
-0.008812449872493744,
-0.25178301334381104,
0.20123736560344696,
-0.37928342819213867,
0.4774603843688965,
-0.1552058756351471,
0.07257383316755295,
0.1065637618303299,
-0.01890392042696476,
-0.0727105438709259,
0.10105395317077637,
0.5320819020271301,
-0.009396625682711601,
0.49022185802459717,
-0.2762796878814697,
-0.4235943555831909,
-0.026242690160870552,
-0.40919870138168335,
0.05976494774222374,
-0.19328545033931732,
0.3341636061668396,
0.1233564093708992,
0.3274487555027008,
-0.347368061542511,
-0.3907073140144348,
-0.011691609397530556,
0.008601633831858635,
-0.4252031445503235,
-0.07391056418418884,
0.1683420091867447,
0.1480562835931778,
-0.11354441940784454,
-0.319664865732193,
0.11872611194849014,
-0.35715019702911377,
0.0254257433116436,
-0.2935386896133423,
0.2809682786464691,
-0.33422085642814636,
-0.20473238825798035,
-0.15026697516441345,
-0.19734631478786469,
0.28350186347961426,
-0.06343690305948257,
-0.13901692628860474,
0.06861182302236557,
-0.01674838177859783,
-0.20086906850337982,
-0.18726152181625366,
-0.08256762474775314,
-0.024626556783914566,
-0.022194208577275276,
-0.3524268865585327,
-0.20934134721755981,
-0.11041586101055145,
0.07237058877944946,
0.0057186707854270935,
0.010892678052186966,
0.2547917366027832,
-0.2229669839143753,
-0.06281968951225281,
-0.2603936791419983,
-0.01597430929541588,
-0.12978258728981018,
-0.058231860399246216,
0.474084734916687,
0.09055019915103912,
-0.06924005597829819,
0.24403396248817444,
0.4712443947792053,
0.2568494379520416,
0.24128226935863495,
0.022676944732666016,
0.28643324971199036,
-0.03785312548279762,
0.14725902676582336,
-0.044083379209041595,
0.1972236931324005,
-0.11100700497627258,
0.10543431341648102,
0.1379384994506836,
0.014206180348992348,
0.10536767542362213,
-0.03364904224872589,
0.15737763047218323,
-0.07467596977949142,
-0.3378477394580841,
0.29322102665901184,
-0.5241266489028931,
0.27529874444007874,
-0.18952873349189758,
-0.12137831002473831,
0.21066194772720337,
0.02921649068593979,
0.14528261125087738,
0.43878841400146484,
0.09591571986675262,
-0.10107780247926712,
-0.7620554566383362,
-0.3974544405937195,
0.040982674807310104,
0.18997906148433685,
0.39294394850730896,
0.2951934337615967,
0.05604049935936928,
-0.2080080211162567,
-0.18085788190364838,
-0.07212821394205093,
0.23603412508964539,
-0.30961310863494873,
0.1465466171503067,
0.2209898680448532,
-0.07395613193511963,
0.13455872237682343,
-0.16134293377399445,
-0.25929200649261475,
0.03848056122660637,
0.2392118275165558,
0.1309531033039093,
-0.5854191184043884,
0.025079384446144104,
0.4515463411808014,
-0.33999520540237427,
0.08873313665390015,
-0.16223499178886414,
-0.31800881028175354,
-0.11454113572835922,
-0.05274420231580734,
0.6308533549308777,
0.5026472806930542,
0.06800159811973572,
-0.2900952100753784,
-0.0636686235666275,
0.20892103016376495,
0.20994848012924194,
0.2381371259689331,
0.1517007201910019,
0.08990904688835144,
0.2364947646856308,
0.07207503914833069,
-0.0070047527551651,
0.08189018815755844,
0.44671759009361267,
0.3488611578941345,
-0.15301351249217987,
-0.08073966205120087,
0.3921359181404114,
-0.28157663345336914,
0.5676429867744446,
0.3542563319206238,
0.06744437664747238,
0.1897169053554535,
0.2930537760257721,
-0.19591037929058075,
-0.22796925902366638,
0.28265976905822754,
-0.11347751319408417,
0.07752691954374313,
-0.0488562248647213,
-0.4186873733997345,
0.04943428188562393,
0.285953164100647,
-0.16860944032669067,
0.49152714014053345,
-0.15862415730953217,
-0.2794099450111389,
0.06232113391160965,
0.32197242975234985,
1.1625733375549316,
0.040643587708473206,
0.01529008150100708,
-0.2334853708744049,
-0.37673652172088623,
-0.05831305682659149,
-0.19136019051074982,
0.2979268431663513,
-0.47793346643447876,
-0.7057270407676697,
-0.07781846821308136,
-0.11870239675045013,
0.20030617713928223,
-0.10528312623500824,
-0.2929912805557251,
0.17486992478370667,
0.049704596400260925,
0.0803305059671402,
0.14632467925548553,
-0.08710572868585587,
-0.239525705575943,
0.030367106199264526,
-0.12064938247203827,
-0.03222496807575226,
-0.19538791477680206,
-0.08756723999977112,
-0.3704357147216797,
-0.08004177361726761,
-0.19376187026500702,
-0.15765663981437683,
-0.47768908739089966,
-0.44953182339668274,
-0.34767624735832214,
-0.1780242621898651,
0.1721193790435791,
0.3275764584541321,
0.19864818453788757,
-0.11007919907569885,
0.4948490858078003,
0.19790378212928772,
-0.04842077195644379,
0.23430605232715607,
0.6450666785240173,
0.4183266758918762,
0.32471174001693726,
-0.1881316751241684,
0.27187028527259827,
-0.1309276670217514,
-0.2906835377216339,
-0.05473173409700394,
-0.2149544358253479,
-0.4404018521308899,
0.11105477809906006,
-0.09458313882350922,
0.326518177986145,
-0.20371299982070923,
0.28118646144866943,
0.2088065892457962,
0.25516000390052795,
-0.4419138431549072,
0.10438895225524902,
0.04647412523627281,
0.02053753100335598,
0.21169796586036682,
0.08021137863397598,
-0.35792896151542664,
-0.0075132884085178375,
-0.2748212218284607,
-0.1594943106174469,
-0.2962591350078583,
0.013057731091976166,
0.13605688512325287,
-0.10007531940937042,
-0.23225271701812744,
-0.03436431661248207,
0.17188230156898499,
-0.07428985834121704,
0.07894307374954224,
-0.2457563579082489,
-0.4540000557899475,
-0.13746848702430725,
0.42491811513900757,
0.44823503494262695,
0.16067226231098175,
0.32994508743286133,
-0.4155069589614868,
-0.26401540637016296,
0.28582483530044556,
-0.08349612355232239,
0.4608670473098755,
-0.38019314408302307,
0.2629280686378479,
-0.2634829580783844,
0.08473480492830276,
-0.26469433307647705,
-0.26042628288269043,
-0.2376040667295456,
0.22395190596580505,
-0.2508552670478821,
0.1475415825843811,
-0.26705026626586914,
0.06593766808509827,
-0.029936982318758965,
0.4608840346336365,
-0.1915813535451889,
-0.1161765456199646,
-0.13420578837394714,
0.18301144242286682,
-0.16163018345832825,
-0.493694007396698,
0.2246357649564743,
0.061453938484191895,
-0.1473401039838791,
0.051621753722429276,
-0.1091245710849762,
-0.1964837908744812,
0.05603200942277908,
0.2206524759531021,
0.2635860741138458,
0.2673202157020569,
-0.04400072246789932,
-0.1688380241394043,
0.019065402448177338,
0.14680083096027374,
0.15721867978572845,
0.3548663258552551,
0.05960869416594505,
-0.009626567363739014,
0.1672183722257614,
0.15187722444534302,
0.07894212752580643,
0.23602795600891113,
0.11333619058132172,
0.07299148291349411,
-0.09892413765192032,
0.3622080087661743,
0.04842819273471832,
0.634162187576294,
-0.20309069752693176,
0.2933991849422455,
-0.17678755521774292,
0.2865595817565918,
-0.29047131538391113,
0.1915614753961563,
0.23743939399719238,
-0.1798045039176941,
-0.11029605567455292,
0.3975891172885895,
0.5176693201065063,
-0.046533454209566116,
0.08106157183647156,
0.16242626309394836,
-0.046828463673591614,
-0.27479732036590576,
0.2817787826061249,
0.5477579236030579,
-0.25312820076942444,
-0.16257382929325104,
0.3247067928314209,
-0.028854522854089737,
-0.21218708157539368,
0.07910330593585968,
0.5030879974365234,
0.0029262658208608627,
0.03754815086722374,
0.2523117959499359,
-0.33427324891090393,
0.03514540567994118,
0.37094640731811523,
0.27708426117897034,
-0.009630344808101654,
-0.07841428369283676,
0.25316542387008667,
0.018260352313518524,
-0.08025118708610535,
-0.14110729098320007,
-0.05316682904958725,
-0.22275318205356598,
0.04702926427125931,
-0.16480477154254913,
-0.3438292145729065,
-0.3006775379180908,
-0.19589048624038696,
0.07057306170463562,
0.22859244048595428,
0.13356143236160278,
0.5525573492050171,
0.2778061032295227,
-0.14663860201835632,
-0.26376694440841675,
0.16362854838371277,
0.277197003364563,
0.48132622241973877,
-0.5719587206840515,
0.18840332329273224,
0.30858713388442993,
-0.07971915602684021,
0.550278902053833,
0.22383049130439758,
0.0522579699754715,
-0.07930557429790497,
-0.07293982803821564,
-0.16046226024627686,
-0.31266579031944275,
0.12477751076221466,
-0.20513425767421722,
0.23766787350177765,
0.4224923849105835,
0.23732708394527435,
0.1578994244337082,
0.06319911777973175,
-0.03758176788687706,
0.29608991742134094,
-0.19908367097377777,
0.22292813658714294,
-0.3681568503379822,
0.2363661825656891,
0.4818381071090698,
-0.0881597250699997,
0.1286574900150299,
0.010466992855072021,
0.1040264442563057,
-0.11197124421596527,
0.21350179612636566,
-0.10859161615371704,
0.0782277062535286,
-0.022328533232212067,
0.02706952765583992,
0.43904852867126465,
0.3254062235355377,
0.16356956958770752,
-0.36901089549064636,
-0.38848647475242615,
-0.3196829855442047,
-0.40520328283309937,
-0.012039177119731903,
0.41257235407829285,
0.2232336699962616,
0.1532858908176422,
0.18794487416744232,
-0.008302092552185059,
0.12179794162511826,
0.3044703006744385,
-0.4372902512550354,
-0.0027724439278244972,
0.18933409452438354,
-0.2793847322463989,
0.2453291267156601,
0.37181681394577026,
0.30083560943603516,
0.09744854271411896,
-0.13545846939086914,
0.1656908541917801,
0.36641472578048706,
-0.07580330222845078,
0.11742213368415833,
-0.4800698459148407,
0.530586838722229,
0.16996647417545319,
0.2818688154220581,
0.0828152596950531,
0.5020161867141724,
-0.1645130217075348,
-0.1398923248052597,
-0.18258270621299744,
0.008121121674776077,
-0.5751050710678101,
0.23650255799293518,
-0.13848155736923218,
0.4726134240627289,
-0.04255174100399017,
-0.09317983686923981,
-0.32354098558425903,
0.02027413621544838,
0.09071202576160431,
-0.33885717391967773,
-0.2365826517343521,
-0.1314621865749359,
0.0766054019331932,
0.021925516426563263,
0.06844858825206757,
0.047198403626680374,
0.0007503777742385864,
-0.028885096311569214,
-0.15630750358104706,
-0.44279953837394714,
0.062229007482528687,
0.14519892632961273,
-0.2901800870895386,
-0.3965839147567749,
0.227508082985878,
0.18329252302646637,
0.29324427247047424,
-0.7109774351119995,
-0.42869338393211365,
0.2015783190727234,
-0.07936302572488785,
-0.2840920090675354,
0.30467161536216736,
-0.304595410823822,
-0.0847490131855011,
-0.1309146136045456,
0.46270495653152466,
-0.44595247507095337,
-0.3408682644367218,
-0.2364833801984787,
-0.4103665351867676
] |
https://github.com/huggingface/datasets/pull/540 | [BUGFIX] Fix Race Dataset Checksum bug | I think we could have one dataset configuration for `high school`, one for `middle` and one for `all`.
You just need to add
```python
BUILDER_CONFIGS = [
nlp.BuilderConfig(
name="high school",
description="insert description here",
),
nlp.BuilderConfig(
name="middle",
description="insert description here",
),
nlp.BuilderConfig(
name="all",
description="insert description here",
),
]
```
as a class attribute for the `Race` class.
Then in `generate_examples` you can check the value of `self.config.name` and choose which files to include when generating examples.
You can check [mlsum](https://github.com/huggingface/nlp/blob/master/datasets/mlsum/mlsum.py) for example if you want to see how it done in general, it's a dataset that has five configurations, and each config has train/val/test splits. | In #537 I noticed that there was a bug in checksum checking when I have tried to download the race dataset. The reason for this is that the current preprocessing was just considering the `high school` data and it was ignoring the `middle` one. This PR just fixes it :)
Moreover, I have added some descriptions. | 104 | text: [BUGFIX] Fix Race Dataset Checksum bug
In #537 I noticed that there was a bug in checksum checking when I have tried to download the race dataset. The reason for this is that the current preprocessing was just considering the `high school` data and it was ignoring the `middle` one. This PR just fixes it :)
Moreover, I have added some descriptions.
I think we could have one dataset configuration for `high school`, one for `middle` and one for `all`.
You just need to add
```python
BUILDER_CONFIGS = [
nlp.BuilderConfig(
name="high school",
description="insert description here",
),
nlp.BuilderConfig(
name="middle",
description="insert description here",
),
nlp.BuilderConfig(
name="all",
description="insert description here",
),
]
```
as a class attribute for the `Race` class.
Then in `generate_examples` you can check the value of `self.config.name` and choose which files to include when generating examples.
You can check [mlsum](https://github.com/huggingface/nlp/blob/master/datasets/mlsum/mlsum.py) for example if you want to see how it done in general, it's a dataset that has five configurations, and each config has train/val/test splits. | [
-0.2637491822242737,
0.20686718821525574,
0.02164546400308609,
0.38711971044540405,
0.058031968772411346,
0.0374574139714241,
-0.015008334070444107,
0.6376743316650391,
0.03360382840037346,
-0.2097616046667099,
0.21439866721630096,
0.3438853323459625,
0.15381981432437897,
0.21683867275714874,
0.24167771637439728,
-0.2250421941280365,
-0.13996607065200806,
0.034834884107112885,
0.025252338498830795,
0.147354394197464,
-0.24808549880981445,
0.05808347463607788,
-0.012142971158027649,
0.05203733220696449,
-0.234010249376297,
0.09733650833368301,
-0.03852581977844238,
0.3541484773159027,
-0.1950991004705429,
-0.5755525827407837,
0.22764326632022858,
0.19308409094810486,
0.09032992273569107,
0.181735098361969,
-0.00010888806718867272,
-0.0397404208779335,
0.3910715579986572,
-0.024063844233751297,
-0.1708991974592209,
-0.07413338124752045,
-0.26584792137145996,
-0.14071407914161682,
-0.08478540927171707,
-0.17776884138584137,
-0.02290373668074608,
0.4352893531322479,
0.18016643822193146,
0.15071932971477509,
0.3455416262149811,
0.14285053312778473,
0.20375457406044006,
0.4507206678390503,
0.14637498557567596,
0.1443844586610794,
0.25717031955718994,
0.07170885801315308,
-0.10149089246988297,
0.2348652184009552,
0.2961501181125641,
-0.18103080987930298,
-0.09707633405923843,
0.16082023084163666,
0.11932346224784851,
0.07894325256347656,
0.05072261765599251,
0.09405648708343506,
0.24585267901420593,
-0.14554978907108307,
-0.1954297423362732,
0.5072978734970093,
-0.2220609486103058,
-0.1605958640575409,
-0.1859641671180725,
-0.3020992875099182,
-0.03390078246593475,
-0.9150511622428894,
0.48651713132858276,
0.3375682532787323,
-0.4046838581562042,
0.011270644143223763,
-0.1775815784931183,
0.0687454417347908,
-0.0866614431142807,
0.0954311415553093,
-0.035603348165750504,
0.6400301456451416,
0.03398418799042702,
0.062490079551935196,
-0.13388344645500183,
0.2210487723350525,
0.04082319140434265,
-0.16049236059188843,
-0.1068502813577652,
-0.08076906204223633,
-0.1919652670621872,
-0.48309969902038574,
0.06493347883224487,
-0.007107339799404144,
0.2810059189796448,
0.07865508645772934,
0.09767702966928482,
0.2643510103225708,
-0.18040716648101807,
0.09123806655406952,
0.20696116983890533,
0.053317841142416,
0.10197190940380096,
0.2912032902240753,
0.3757074475288391,
0.30238619446754456,
0.003582227975130081,
0.17009702324867249,
-0.012609458528459072,
-0.23120030760765076,
-0.16433647274971008,
0.16158324480056763,
0.037517718970775604,
-0.34575265645980835,
-0.2837299704551697,
0.15011195838451385,
0.04152000695466995,
-0.1986161321401596,
0.25243356823921204,
0.3448985517024994,
-0.29636624455451965,
-0.20292654633522034,
-0.10068830847740173,
0.2702385485172272,
-0.19705338776111603,
-0.275531530380249,
-0.15754292905330658,
0.08310633897781372,
-0.36547836661338806,
-0.13053768873214722,
0.2734306752681732,
0.159208282828331,
0.42911964654922485,
0.005755557678639889,
-0.14557285606861115,
-0.006713353097438812,
0.17607618868350983,
-0.06065495312213898,
-0.04913417249917984,
0.17589959502220154,
0.04301299527287483,
0.08732865750789642,
0.003622785210609436,
0.027029700577259064,
-0.2020200490951538,
0.08442462980747223,
-0.1323419213294983,
-0.02944839745759964,
-0.014797953888773918,
0.1922287940979004,
-0.24205224215984344,
-0.11044606566429138,
0.06534474343061447,
0.1788611114025116,
0.42983418703079224,
-0.20238836109638214,
0.18911662697792053,
-0.027639176696538925,
-0.5555567145347595,
-0.257845401763916,
0.24805527925491333,
0.2935170531272888,
0.23544999957084656,
-0.033394526690244675,
-0.030862033367156982,
-0.055188026279211044,
0.18530383706092834,
-0.10055306553840637,
-0.15966880321502686,
-0.06245032697916031,
-0.24687041342258453,
0.20569182932376862,
0.47457677125930786,
-0.22622725367546082,
-0.1961582750082016,
0.06986397504806519,
-0.12337757647037506,
0.046885132789611816,
-0.06941171735525131,
0.04682439938187599,
-0.10710921883583069,
-0.15233373641967773,
0.11551034450531006,
0.6401054859161377,
-0.21371783316135406,
0.06376559287309647,
-0.2755962312221527,
-0.1245385929942131,
0.3737078309059143,
-0.03311242163181305,
-0.03852405026555061,
-0.07388388365507126,
-0.207404226064682,
0.1229659840464592,
0.30463412404060364,
0.03175374120473862,
0.10312797874212265,
-0.08465517312288284,
-0.07262903451919556,
-0.13151435554027557,
-0.10623461753129959,
-0.3323948085308075,
-0.2093810737133026,
0.2488999366760254,
-0.29054003953933716,
0.0030061155557632446,
0.0930589810013771,
-0.09529195725917816,
-0.3400132954120636,
-0.23291471600532532,
-0.0881415456533432,
-0.2518593370914459,
0.2338750958442688,
0.01822495460510254,
0.29081472754478455,
-0.24990618228912354,
-0.1605871319770813,
0.19369924068450928,
-0.4318336844444275,
0.13269317150115967,
-0.2468784898519516,
0.35587581992149353,
-0.04379795491695404,
-0.22189269959926605,
0.07037544995546341,
0.24494919180870056,
0.07029461115598679,
-0.02503228932619095,
-0.2604856491088867,
0.43935152888298035,
0.0122019462287426,
-0.16336442530155182,
-0.0012057647109031677,
0.2779976427555084,
0.21984858810901642,
-0.18529903888702393,
-0.10141638666391373,
0.161451056599617,
-0.15416115522384644,
0.016669102013111115,
-0.2530069947242737,
0.5102724432945251,
-0.08699600398540497,
0.02820633351802826,
0.18523414433002472,
0.21821624040603638,
0.2579617202281952,
-0.28528109192848206,
-0.062322452664375305,
-0.06214161589741707,
0.09639747440814972,
0.3168320953845978,
-0.1447831690311432,
0.035539016127586365,
-0.4610782265663147,
0.15716013312339783,
0.519235372543335,
0.0274052694439888,
0.1073685735464096,
0.08335989713668823,
-0.02049059420824051,
0.0031413305550813675,
0.087694451212883,
0.4426099359989166,
0.4556877017021179,
0.10288761556148529,
0.22421413660049438,
0.1606243997812271,
-0.46827176213264465,
-0.11503168195486069,
0.247325599193573,
0.04535293206572533,
0.14595326781272888,
0.1592007279396057,
0.03962952271103859,
0.04877874627709389,
-0.34269365668296814,
0.020968448370695114,
0.16550131142139435,
0.1405155062675476,
-0.3905048072338104,
0.03393860161304474,
-0.18356433510780334,
-0.32168424129486084,
-0.46286827325820923,
0.0437687486410141,
-0.42178478837013245,
-0.1414427012205124,
0.2767883539199829,
0.18403461575508118,
-0.11330324411392212,
0.18043167889118195,
-0.19710828363895416,
0.07795237004756927,
-0.03196727856993675,
0.19699521362781525,
0.12140019237995148,
-0.022657005116343498,
-0.3034225404262543,
0.14218996465206146,
0.4954131245613098,
0.4000292122364044,
0.3561762273311615,
-0.1942259669303894,
-0.3649051785469055,
-0.007474901154637337,
-0.43353602290153503,
0.15435832738876343,
-0.16758586466312408,
0.5380735397338867,
0.2919732928276062,
0.2892149090766907,
-0.19748234748840332,
-0.3137446939945221,
0.2651542127132416,
-0.14020249247550964,
-0.38655683398246765,
0.09679780155420303,
0.1536322832107544,
0.06721748411655426,
-0.287868469953537,
-0.29879119992256165,
0.03337458521127701,
-0.3145515024662018,
0.014886345714330673,
0.13210393488407135,
0.3714885115623474,
0.12107345461845398,
-0.09913560748100281,
0.12358309328556061,
-0.33345451951026917,
0.21196936070919037,
-0.14327237010002136,
-0.25137782096862793,
0.15349343419075012,
-0.21441790461540222,
-0.38786205649375916,
-0.2401193380355835,
-0.32780689001083374,
0.2569950520992279,
-0.2423616200685501,
-0.3606258034706116,
-0.19796058535575867,
-0.22466111183166504,
0.03845255449414253,
0.040130551904439926,
0.12408361583948135,
0.40800681710243225,
-0.16955691576004028,
-0.062243133783340454,
-0.3280608057975769,
0.08612902462482452,
0.08236232399940491,
0.13271313905715942,
0.6236993074417114,
-0.10963011533021927,
0.07185063511133194,
0.08260929584503174,
0.3598005771636963,
0.4904656410217285,
0.08308805525302887,
0.2513362467288971,
0.1214631125330925,
0.048619091510772705,
0.10865233838558197,
0.0699726939201355,
0.09532149881124496,
-0.10760298371315002,
0.14166700839996338,
0.18875548243522644,
0.10553339868783951,
-0.0866013616323471,
-0.03601331263780594,
0.07476851344108582,
-0.1378045231103897,
-0.5169376134872437,
0.21209822595119476,
-0.2210407555103302,
0.14653152227401733,
-0.005420694127678871,
-0.15339815616607666,
-0.12079140543937683,
-0.16653195023536682,
0.0499543696641922,
0.3644564747810364,
-0.06942995637655258,
-0.15124335885047913,
-0.8322828412055969,
-0.44254404306411743,
-0.23442459106445312,
0.018897227942943573,
0.10038262605667114,
0.3455129861831665,
0.07693725824356079,
-0.11439124494791031,
-0.011900395154953003,
-0.121893011033535,
0.32100698351860046,
-0.486025869846344,
0.26163238286972046,
0.22959129512310028,
0.10160304605960846,
-0.25356876850128174,
-0.131663978099823,
-0.4386422336101532,
0.18459898233413696,
0.3191905617713928,
0.03983696177601814,
-0.6780295968055725,
-0.1532207876443863,
0.5631864070892334,
-0.18074150383472443,
-0.048767585307359695,
-0.2020987719297409,
-0.3886496126651764,
-0.18345513939857483,
-0.29710426926612854,
0.2689782977104187,
0.2701258659362793,
0.2161756157875061,
-0.3846745193004608,
-0.048994261771440506,
0.049227360635995865,
0.14295989274978638,
0.18590301275253296,
0.26159459352493286,
0.18978342413902283,
0.3355313837528229,
0.1461053192615509,
-0.12595106661319733,
0.10728181898593903,
-0.1308894157409668,
0.47038373351097107,
0.13307441771030426,
0.15180803835391998,
0.1396956443786621,
-0.004329620394855738,
0.34571897983551025,
0.3658496141433716,
0.06373611837625504,
0.11741253733634949,
0.2028174251317978,
-0.18457160890102386,
-0.1299683153629303,
0.30421680212020874,
0.1276712864637375,
0.08178280293941498,
0.0216327216476202,
-0.41709503531455994,
0.33859139680862427,
0.007630661129951477,
-0.1482962667942047,
0.3397756814956665,
-0.3945859670639038,
-0.15834854543209076,
0.2876635789871216,
0.22520893812179565,
0.906229555606842,
0.18969924747943878,
0.0749959871172905,
0.18543753027915955,
-0.31957632303237915,
0.3007020354270935,
0.16522833704948425,
0.210250124335289,
-0.49764683842658997,
-0.36058947443962097,
0.15673667192459106,
-0.1692236363887787,
0.19257721304893494,
-0.0012549720704555511,
-0.1852111667394638,
0.16271477937698364,
0.17628605663776398,
0.12772570550441742,
0.03819936141371727,
0.3132239580154419,
-0.22131624817848206,
-0.13429519534111023,
-0.41397833824157715,
0.0902419462800026,
-0.15230336785316467,
0.11981351673603058,
-0.12447002530097961,
-0.25669169425964355,
-0.0842631608247757,
-0.3199748992919922,
-0.30490952730178833,
-0.03114532306790352,
-0.32840535044670105,
-0.1706327497959137,
0.3494890332221985,
0.24904312193393707,
0.1628592610359192,
0.11726737022399902,
0.33776015043258667,
0.2972409427165985,
-0.20974580943584442,
0.2159091979265213,
0.26365897059440613,
0.17669633030891418,
0.3044050633907318,
-0.04325862228870392,
0.35029709339141846,
-0.15038029849529266,
-0.385303258895874,
0.03196912631392479,
-0.003265043720602989,
-0.22337022423744202,
0.22300642728805542,
-0.29426056146621704,
0.15479347109794617,
-0.20939114689826965,
-0.005286685191094875,
0.07549963146448135,
0.07035070657730103,
-0.3740175664424896,
0.20376862585544586,
0.11353881657123566,
-0.21006916463375092,
0.13349604606628418,
0.15052546560764313,
-0.22160522639751434,
-0.10585702955722809,
0.12365321069955826,
0.08343711495399475,
-0.008568303659558296,
0.29534634947776794,
0.19299989938735962,
0.20850396156311035,
-0.22263893485069275,
-0.13674913346767426,
-0.06836728006601334,
-0.27777910232543945,
0.06792166829109192,
-0.02379809319972992,
-0.16590681672096252,
-0.03745937719941139,
0.43040964007377625,
0.2252303659915924,
0.27337780594825745,
0.2122252732515335,
-0.49636852741241455,
-0.31574004888534546,
0.1535605490207672,
-0.07749626040458679,
0.2896095812320709,
-0.4088515341281891,
0.4018983244895935,
-0.16168703138828278,
0.21030406653881073,
-0.37686142325401306,
-0.1525505781173706,
-0.47129952907562256,
0.280853271484375,
-0.069744773209095,
0.1381569802761078,
-0.07200193405151367,
0.05704878643155098,
0.048582956194877625,
0.08425512909889221,
-0.35604336857795715,
-0.22531288862228394,
-0.2237284928560257,
0.08469484001398087,
-0.030986003577709198,
-0.374391108751297,
0.27950000762939453,
0.015692144632339478,
-0.08495405316352844,
0.08039659261703491,
-0.1192479282617569,
-0.4941132366657257,
-0.09246255457401276,
0.3131450116634369,
0.24628697335720062,
0.10213115811347961,
-0.08096545934677124,
-0.12995228171348572,
-0.19569414854049683,
0.06459785252809525,
0.04100102186203003,
0.22801326215267181,
-0.10421082377433777,
0.039052292704582214,
0.053771160542964935,
-0.0801689401268959,
-0.3905171751976013,
0.1787245273590088,
0.12448995560407639,
-0.05784464627504349,
-0.24516990780830383,
0.18831801414489746,
0.179029643535614,
0.40001198649406433,
-0.06686847656965256,
0.13563652336597443,
0.0658501461148262,
0.2977965772151947,
-0.3653317391872406,
0.3249380588531494,
0.4028388559818268,
-0.08998153358697891,
0.16300895810127258,
0.38423633575439453,
0.4826701581478119,
-0.0804222896695137,
0.028546929359436035,
0.1065644845366478,
-0.06033460423350334,
-0.17028653621673584,
0.3073219060897827,
0.5215051174163818,
-0.18245334923267365,
-0.09839461743831635,
0.3382817208766937,
-0.16369543969631195,
0.008982852101325989,
-0.02137742191553116,
0.3599543273448944,
0.199305921792984,
-0.16729998588562012,
0.1358633041381836,
-0.017291374504566193,
-0.06864713877439499,
0.10240784287452698,
0.24004337191581726,
0.07994871586561203,
0.10127916932106018,
0.02425675466656685,
0.24068379402160645,
-0.30832961201667786,
-0.10416445136070251,
-0.3828294277191162,
0.03581094369292259,
-0.07228996604681015,
-0.28665396571159363,
-0.6095054745674133,
-0.19351504743099213,
-0.18503928184509277,
0.020384494215250015,
0.032861705869436264,
0.19010038673877716,
0.26890966296195984,
0.050071123987436295,
-0.24112902581691742,
-0.46738648414611816,
0.21441549062728882,
0.23148125410079956,
0.09927303344011307,
-0.38207894563674927,
0.4076090157032013,
0.10116450488567352,
-0.0516233965754509,
0.032702550292015076,
0.38954299688339233,
0.18017052114009857,
0.18000571429729462,
-0.109953373670578,
-0.26875245571136475,
0.01599751226603985,
0.14199969172477722,
-0.21040061116218567,
0.29963451623916626,
0.4462057054042816,
-0.014172591269016266,
0.3020084798336029,
0.1700126975774765,
-0.14560888707637787,
0.03680999577045441,
-0.09431688487529755,
-0.06737492978572845,
-0.17407242953777313,
0.3446672558784485,
0.278506875038147,
0.045594774186611176,
-0.12936930358409882,
-0.13465571403503418,
-0.31884121894836426,
-0.11073829233646393,
0.24512633681297302,
0.12270078808069229,
0.14279583096504211,
-0.3118356764316559,
0.10565769672393799,
-0.0008858833461999893,
0.5644350647926331,
0.13014386594295502,
-0.32731589674949646,
-0.37094205617904663,
-0.3774113059043884,
-0.7398227453231812,
0.05520421266555786,
-0.04249447211623192,
-0.04893099516630173,
0.182772696018219,
0.37423110008239746,
-0.33911457657814026,
0.1449732482433319,
0.09481733292341232,
-0.08298421651124954,
-0.05869261175394058,
0.1382933259010315,
-0.2835102379322052,
-0.0007962547242641449,
0.057898759841918945,
0.23481228947639465,
0.031875595450401306,
-0.150919109582901,
0.15752549469470978,
-0.008114522323012352,
-0.04388602823019028,
0.14964927732944489,
-0.19238807260990143,
0.25187525153160095,
0.27506303787231445,
0.12004360556602478,
0.208453968167305,
0.3729141354560852,
-0.11521674692630768,
-0.20128405094146729,
-0.36737266182899475,
-0.08267919719219208,
-0.4211764633655548,
0.23657944798469543,
-0.22932064533233643,
0.6039929389953613,
-0.021623551845550537,
0.2492237538099289,
-0.31439900398254395,
0.10611475259065628,
0.22566090524196625,
-0.49786797165870667,
-0.11430719494819641,
0.13672277331352234,
-0.0451086200773716,
0.24680966138839722,
0.09269744902849197,
0.2010258138179779,
-0.0766778439283371,
0.10424094647169113,
-0.26116031408309937,
-0.5930110812187195,
0.31035324931144714,
-0.24660922586917877,
-0.24850884079933167,
-0.341330885887146,
0.23007197678089142,
0.02435675635933876,
0.09255500137805939,
-0.5107248425483704,
-0.2011604756116867,
0.16269834339618683,
-0.035752929747104645,
-0.10320056974887848,
0.37800323963165283,
-0.16531608998775482,
-0.008030831813812256,
-0.0015180297195911407,
0.2565850019454956,
-0.1910516619682312,
-0.3884725868701935,
0.10545165836811066,
-0.3360065817832947
] |
https://github.com/huggingface/datasets/pull/540 | [BUGFIX] Fix Race Dataset Checksum bug | Hi @lhoestq sorry for the delay in addressing your comments. Thanks for your assistance :)
You were correct as well, as I was using the script without the `datasets/race/dataset_infos.json` file, it did not verify the checksum. I already fix it as well :)
I managed to get everything running smoothly by now. Please let me know if you think that I could improve my solution | In #537 I noticed that there was a bug in checksum checking when I have tried to download the race dataset. The reason for this is that the current preprocessing was just considering the `high school` data and it was ignoring the `middle` one. This PR just fixes it :)
Moreover, I have added some descriptions. | 65 | text: [BUGFIX] Fix Race Dataset Checksum bug
In #537 I noticed that there was a bug in checksum checking when I have tried to download the race dataset. The reason for this is that the current preprocessing was just considering the `high school` data and it was ignoring the `middle` one. This PR just fixes it :)
Moreover, I have added some descriptions.
Hi @lhoestq sorry for the delay in addressing your comments. Thanks for your assistance :)
You were correct as well, as I was using the script without the `datasets/race/dataset_infos.json` file, it did not verify the checksum. I already fix it as well :)
I managed to get everything running smoothly by now. Please let me know if you think that I could improve my solution | [
-0.4685434103012085,
0.12764401733875275,
-0.14699307084083557,
0.2500704526901245,
0.1725110113620758,
-0.030158638954162598,
0.044635333120822906,
0.6808710098266602,
0.14589670300483704,
-0.14860402047634125,
0.2898523509502411,
0.21076764166355133,
0.45053237676620483,
0.26211586594581604,
-0.11770190298557281,
-0.00683167576789856,
-0.09276363998651505,
-0.04529404640197754,
-0.06254801154136658,
0.08086615800857544,
-0.36875030398368835,
-0.11755217611789703,
-0.014398843050003052,
-0.02797761559486389,
-0.07378501445055008,
0.12448793649673462,
0.22228321433067322,
0.3974236249923706,
-0.18318472802639008,
-0.3805922269821167,
0.0861688181757927,
0.15978148579597473,
0.02530664950609207,
0.4681743085384369,
-0.00010062781802844256,
-0.017198871821165085,
0.5327553749084473,
0.09355855733156204,
-0.1314801573753357,
0.14036303758621216,
-0.4644114673137665,
0.14503994584083557,
-0.29078343510627747,
-0.1576107144355774,
-0.12760770320892334,
0.28556564450263977,
0.049710437655448914,
-0.35143452882766724,
0.291462779045105,
0.1463213562965393,
0.3162359297275543,
0.23703503608703613,
0.1702551692724228,
0.1352262794971466,
0.3384418487548828,
0.04658333957195282,
-0.011077601462602615,
0.15139342844486237,
0.3869977593421936,
-0.004411127883940935,
-0.11016840487718582,
0.27592116594314575,
-0.03763723000884056,
0.029677923768758774,
0.11074258387088776,
-0.05947919934988022,
0.15438736975193024,
-0.12034615874290466,
0.1098453551530838,
0.20837432146072388,
0.13586170971393585,
-0.26945629715919495,
-0.2712113559246063,
0.1899535357952118,
-0.1561703085899353,
-0.7508335709571838,
0.4390445053577423,
0.17048223316669464,
-0.17371562123298645,
0.051206644624471664,
-0.11572032421827316,
0.03430123254656792,
-0.12040171027183533,
-0.09302544593811035,
-0.07093530893325806,
0.550931453704834,
0.005379025358706713,
0.044467076659202576,
-0.233509823679924,
0.13964754343032837,
0.22331666946411133,
-0.16342084109783173,
-0.19258922338485718,
-0.13944293558597565,
-0.15906457602977753,
-0.30033814907073975,
0.019956983625888824,
-0.06600119918584824,
0.2221599519252777,
0.16828858852386475,
0.04164227470755577,
0.4556407630443573,
-0.17319659888744354,
-0.0022235065698623657,
0.16555921733379364,
0.04918467625975609,
0.11769977957010269,
0.204454705119133,
0.48355722427368164,
0.31645163893699646,
-0.026971891522407532,
0.08615496754646301,
0.06865812093019485,
-0.2936883866786957,
0.004873514175415039,
0.3550049960613251,
0.11293388903141022,
-0.4060658812522888,
-0.30133190751075745,
0.32778245210647583,
0.19744941592216492,
-0.26317426562309265,
0.1599770337343216,
0.41251683235168457,
-0.22213071584701538,
-0.07624422758817673,
0.022947322577238083,
0.1626310646533966,
-0.13416236639022827,
-0.2626793086528778,
-0.2041306346654892,
0.23621433973312378,
-0.19831736385822296,
-0.16455230116844177,
0.18706387281417847,
0.03843023255467415,
0.2183319628238678,
0.0008708229288458824,
-0.06537929177284241,
-0.024327650666236877,
0.10613642632961273,
-0.08243530988693237,
0.06799961626529694,
0.2274761199951172,
0.09448826313018799,
0.0623079389333725,
0.04049636051058769,
0.1430264115333557,
0.02211405336856842,
0.22143197059631348,
-0.23613139986991882,
0.006957393139600754,
-0.014886384829878807,
0.3079119324684143,
-0.09582765400409698,
-0.06241066753864288,
0.0183732733130455,
-0.1327759474515915,
0.3588560223579407,
-0.26682260632514954,
0.27591943740844727,
-0.04988992214202881,
-0.4854666292667389,
-0.24160055816173553,
0.13971978425979614,
0.28852909803390503,
-0.1629929393529892,
0.242506206035614,
-0.09591741859912872,
-0.17222361266613007,
0.10358863323926926,
-0.10200400650501251,
-0.018148984760046005,
-0.1524345874786377,
-0.15174070000648499,
0.14083750545978546,
0.039144113659858704,
-0.3754640817642212,
-0.34331268072128296,
0.07760077714920044,
-0.19414840638637543,
-0.026141896843910217,
-0.017523005604743958,
0.07109834998846054,
0.0027897399850189686,
-0.16653642058372498,
0.09798130393028259,
0.364362895488739,
-0.06300486624240875,
0.11418061703443527,
-0.35833606123924255,
-0.12693503499031067,
0.17314676940441132,
0.28069794178009033,
0.14286817610263824,
-0.23392987251281738,
0.09379062056541443,
-0.26899150013923645,
0.2112846076488495,
0.060725655406713486,
0.14346173405647278,
0.0919121503829956,
0.06071560084819794,
-0.051722005009651184,
-0.009695268236100674,
-0.24855712056159973,
-0.12923413515090942,
0.13388243317604065,
-0.08463502675294876,
-0.13141261041164398,
-0.10437269508838654,
-0.08247581869363785,
-0.3591712713241577,
-0.1341474950313568,
-0.12618312239646912,
0.11624620854854584,
0.28331995010375977,
0.06311798840761185,
0.2140984684228897,
-0.19436421990394592,
-0.2444678544998169,
0.1846749186515808,
-0.2781405448913574,
0.0542890764772892,
-0.1627521812915802,
0.27215951681137085,
-0.11382166296243668,
-0.1847373992204666,
0.10116703808307648,
-0.008707001805305481,
0.10497460514307022,
-0.09693016856908798,
-0.15267342329025269,
0.5451457500457764,
0.11712604016065598,
-0.18325959146022797,
0.17247191071510315,
0.3607633709907532,
0.1718742698431015,
-0.1822863072156906,
-0.0629798099398613,
0.18161310255527496,
0.007713194936513901,
0.011834457516670227,
-0.16631600260734558,
0.46589916944503784,
-0.27947476506233215,
-0.042441822588443756,
0.06059189885854721,
0.04009537398815155,
0.28137344121932983,
-0.21906746923923492,
-0.028410986065864563,
-0.06693613529205322,
0.026044223457574844,
0.27144384384155273,
-0.25390058755874634,
-0.12316873669624329,
-0.17256376147270203,
0.2530621588230133,
0.40571168065071106,
-0.03900836035609245,
0.13532260060310364,
0.001457206904888153,
0.02037231996655464,
0.1042022779583931,
-0.02350039593875408,
0.3796076476573944,
0.3547138571739197,
0.09625829756259918,
0.014268193393945694,
0.1063840389251709,
-0.01458067912608385,
-0.09245621412992477,
0.18726107478141785,
-0.04486386477947235,
0.14736884832382202,
0.276439905166626,
-0.07017474621534348,
-0.034770332276821136,
-0.2792733609676361,
-0.05115559697151184,
0.1515272557735443,
0.1592015027999878,
-0.3744909465312958,
-0.08626481890678406,
-0.17629532516002655,
-0.04102965444326401,
-0.14078037440776825,
0.07004080712795258,
-0.22469711303710938,
-0.13127845525741577,
0.23174232244491577,
0.22562026977539062,
-0.26597172021865845,
0.18523457646369934,
-0.14430755376815796,
0.1632000058889389,
0.2217283397912979,
0.06387552618980408,
-0.09408333897590637,
-0.12431921064853668,
-0.03716975450515747,
0.20268051326274872,
0.4812060296535492,
0.12807118892669678,
0.2894352972507477,
-0.39033785462379456,
-0.24136456847190857,
-0.17070965468883514,
-0.3080446720123291,
0.050043679773807526,
-0.15703625977039337,
0.3787637948989868,
0.1453067809343338,
0.5022179484367371,
-0.1122850775718689,
-0.14318829774856567,
0.16663877665996552,
-0.163347527384758,
-0.45161545276641846,
0.10293159633874893,
0.10921367257833481,
-0.1388283669948578,
-0.29151660203933716,
-0.2604011595249176,
0.14103421568870544,
-0.20675286650657654,
-0.022345542907714844,
0.10469625890254974,
0.20298776030540466,
-0.2933323383331299,
0.15147356688976288,
-0.05137338116765022,
-0.11427874863147736,
0.12921872735023499,
-0.3034728467464447,
-0.30455389618873596,
0.26288437843322754,
-0.12206296622753143,
-0.494564026594162,
-0.012260373681783676,
-0.006748439744114876,
0.18836189806461334,
-0.21960735321044922,
-0.45007914304733276,
-0.14971160888671875,
-0.1289328783750534,
0.12648643553256989,
-0.06790954619646072,
0.07770220190286636,
0.3958840072154999,
-0.030076956376433372,
-0.22265967726707458,
-0.33790603280067444,
0.015146799385547638,
-0.09954481571912766,
-0.13083407282829285,
0.505828320980072,
-0.1620652675628662,
0.25187066197395325,
0.01677222177386284,
0.22268809378147125,
0.1631694883108139,
-0.015158284455537796,
0.15354880690574646,
0.13491907715797424,
0.21118049323558807,
-0.05757208913564682,
0.01081233099102974,
0.002312459284439683,
-0.23689469695091248,
0.0005613397806882858,
0.1532467156648636,
-0.11296611279249191,
-0.02022857777774334,
-0.2491287887096405,
-0.027170373126864433,
-0.24713623523712158,
-0.36424463987350464,
0.033741556107997894,
-0.1347690373659134,
0.08547437191009521,
0.11633510887622833,
0.05653253197669983,
-0.08566810190677643,
-0.15493828058242798,
0.22832468152046204,
0.36739593744277954,
0.07442197948694229,
-0.2998528480529785,
-0.7243611216545105,
-0.33076605200767517,
-0.09391648322343826,
0.3804170489311218,
0.021765589714050293,
0.2961787283420563,
0.016201060265302658,
-0.09851331263780594,
-0.07924504578113556,
-0.32213979959487915,
0.3068881630897522,
-0.4944992661476135,
0.49579721689224243,
0.11657251417636871,
0.047686077654361725,
-0.046851590275764465,
-0.15677353739738464,
-0.39536961913108826,
0.11321242153644562,
0.16380654275417328,
0.05201355367898941,
-0.6116536855697632,
0.041776642203330994,
0.3913015127182007,
-0.3296504020690918,
0.00813787430524826,
-0.27673065662384033,
-0.42088767886161804,
-0.2583846151828766,
-0.3600618243217468,
0.2874892055988312,
0.25723588466644287,
0.07955391705036163,
-0.41647765040397644,
-0.09576340019702911,
0.1341024935245514,
0.08510259538888931,
0.1977800726890564,
0.13575996458530426,
0.1571621596813202,
0.29695016145706177,
0.15262629091739655,
-0.10657843947410583,
0.07194756716489792,
0.37504079937934875,
0.4633437395095825,
0.28769904375076294,
0.02114565670490265,
0.18156608939170837,
-0.22723263502120972,
0.25031381845474243,
0.22889821231365204,
-0.036993153393268585,
-0.00008514523506164551,
0.33497124910354614,
-0.10137131810188293,
-0.06635922193527222,
0.011735459789633751,
0.039539579302072525,
0.15509968996047974,
0.009067275561392307,
-0.29851117730140686,
0.059174008667469025,
-0.006491282023489475,
-0.09161007404327393,
0.32610851526260376,
-0.38205695152282715,
-0.043449029326438904,
0.24304594099521637,
0.21310487389564514,
0.9118521213531494,
0.13369035720825195,
-0.16876929998397827,
-0.07418716698884964,
-0.4996195435523987,
-0.1018860936164856,
-0.014354821294546127,
0.2317901849746704,
-0.5544695258140564,
-0.523751437664032,
0.07416529953479767,
-0.048957906663417816,
0.17955879867076874,
0.02964780107140541,
-0.1550169587135315,
0.008312122896313667,
-0.043060578405857086,
0.1207696944475174,
-0.061456575989723206,
0.26645106077194214,
-0.1410643756389618,
0.07083326578140259,
0.001779293641448021,
0.22511392831802368,
-0.13964508473873138,
0.10930287837982178,
-0.20465615391731262,
-0.23185916244983673,
-0.16926540434360504,
-0.42073601484298706,
-0.2926907241344452,
-0.01849796064198017,
-0.1406460851430893,
-0.082193523645401,
0.08675700426101685,
0.31556999683380127,
0.10190978646278381,
-0.0401642881333828,
0.39509350061416626,
0.38717663288116455,
-0.20891214907169342,
0.3022346794605255,
0.44072288274765015,
0.16782602667808533,
0.28149738907814026,
0.007426301948726177,
0.22300110757350922,
-0.12836550176143646,
-0.4825419783592224,
0.08841091394424438,
-0.09940142929553986,
-0.26387909054756165,
0.12202554941177368,
-0.18877892196178436,
0.14282771944999695,
-0.29680541157722473,
0.03756922855973244,
0.008908718824386597,
-0.08298526704311371,
-0.259088397026062,
0.28506094217300415,
-0.0015817508101463318,
0.03363661468029022,
0.17244288325309753,
0.32421860098838806,
-0.31589245796203613,
-0.1477467566728592,
0.45546069741249084,
0.02761141210794449,
-0.07919612526893616,
0.19063667953014374,
0.31146591901779175,
-0.039925575256347656,
-0.37335216999053955,
-0.24471509456634521,
0.19026300311088562,
-0.20967835187911987,
0.024720780551433563,
-0.07367733120918274,
-0.11518296599388123,
-0.061223577708005905,
0.2311469465494156,
0.15436933934688568,
0.24154844880104065,
0.24957461655139923,
-0.5668723583221436,
-0.2701759338378906,
0.13815800845623016,
-0.03119685873389244,
0.24697521328926086,
-0.2804020643234253,
0.13794927299022675,
-0.23244847357273102,
0.01967739313840866,
-0.4734460413455963,
-0.1230957880616188,
-0.2286856323480606,
0.10316932946443558,
-0.07508587092161179,
0.04820084571838379,
-0.009796510450541973,
-0.04455992206931114,
0.22729739546775818,
0.20933693647384644,
-0.3212827742099762,
-0.30929672718048096,
0.010367363691329956,
0.09161371737718582,
-0.1492866575717926,
-0.3056321144104004,
0.06215347722172737,
-0.21703755855560303,
-0.2058338224887848,
0.16555966436862946,
-0.11560375988483429,
-0.22299188375473022,
-0.11221995949745178,
0.10269695520401001,
0.26915034651756287,
0.13291019201278687,
-0.03971904516220093,
-0.12399306893348694,
-0.19979220628738403,
0.2491893619298935,
-0.11240695416927338,
0.18247324228286743,
-0.09608074277639389,
0.022395126521587372,
0.14204168319702148,
0.024028610438108444,
-0.015552163124084473,
0.2853241264820099,
0.40193474292755127,
-0.14839360117912292,
-0.18115699291229248,
0.23045095801353455,
0.24893289804458618,
0.4502771198749542,
-0.3062490224838257,
0.01214013434946537,
-0.2165471315383911,
0.44031092524528503,
-0.4373694360256195,
0.15260815620422363,
0.26915639638900757,
-0.0036822911351919174,
0.06783947348594666,
0.1920056939125061,
0.31218260526657104,
-0.10513787716627121,
0.2546023726463318,
0.29202497005462646,
0.2483687400817871,
-0.21569663286209106,
0.1164352297782898,
0.23850664496421814,
-0.26290208101272583,
-0.19522832334041595,
0.393187552690506,
-0.06741486489772797,
-0.24018320441246033,
0.2454456239938736,
0.32473310828208923,
-0.008070820942521095,
-0.057267360389232635,
0.21663661301136017,
-0.38746580481529236,
-0.1272953748703003,
0.26572853326797485,
0.28118857741355896,
-0.021429389715194702,
-0.02982008457183838,
0.18633641302585602,
-0.01151268184185028,
-0.1354442536830902,
0.07371426373720169,
-0.48359954357147217,
-0.13881689310073853,
-0.12901398539543152,
-0.07665117084980011,
-0.521294116973877,
-0.19745415449142456,
-0.09397982060909271,
-0.000007681548595428467,
0.1212468296289444,
0.44441211223602295,
0.3126167953014374,
0.09462106972932816,
-0.22437803447246552,
-0.17880982160568237,
0.1805400252342224,
0.027298858389258385,
0.16504627466201782,
-0.366016149520874,
0.36512112617492676,
0.2832506000995636,
0.08768463134765625,
0.2747741639614105,
0.19161614775657654,
0.23815806210041046,
0.26998287439346313,
-0.1405794620513916,
-0.1753842830657959,
-0.1266014575958252,
-0.02625984512269497,
-0.10119201242923737,
0.4809696674346924,
0.32540905475616455,
0.030438847839832306,
0.30384308099746704,
0.32951417565345764,
-0.19851160049438477,
0.10819540917873383,
-0.03328786417841911,
0.16191543638706207,
0.0646132379770279,
0.016002453863620758,
0.24874532222747803,
-0.05474988743662834,
-0.26827871799468994,
-0.13501471281051636,
-0.19856113195419312,
-0.17911972105503082,
0.09723438322544098,
0.04388536512851715,
0.1513674557209015,
-0.3821367621421814,
0.15036390721797943,
0.04155755788087845,
0.5038512945175171,
0.12241405248641968,
-0.3814558684825897,
-0.26590049266815186,
-0.3666180372238159,
-0.5473049879074097,
0.20274558663368225,
0.11185301840305328,
0.03625427186489105,
-0.06379358470439911,
0.35319632291793823,
-0.0667567327618599,
0.09587054699659348,
0.47407639026641846,
-0.3386847674846649,
-0.1471879780292511,
0.20822477340698242,
-0.3137766122817993,
0.2120872586965561,
0.11318433284759521,
0.23630571365356445,
0.12585775554180145,
-0.25504642724990845,
0.28905415534973145,
0.07891146838665009,
0.1763698160648346,
0.014810988679528236,
-0.3113452196121216,
0.22371476888656616,
0.029403094202280045,
0.4386047124862671,
0.09995773434638977,
0.4130699932575226,
-0.20142579078674316,
-0.14314186573028564,
-0.21857598423957825,
-0.0012631569989025593,
-0.2685628831386566,
0.4788869321346283,
-0.020485110580921173,
0.4007209837436676,
0.18757177889347076,
-0.06521715223789215,
-0.22764447331428528,
0.19302910566329956,
-0.030917467549443245,
-0.3740399181842804,
-0.2544842064380646,
0.010715745389461517,
0.020008616149425507,
0.09256967157125473,
-0.14480595290660858,
-0.08304775506258011,
0.03006000444293022,
0.14577716588974,
-0.3011683523654938,
-0.6163707971572876,
0.39619266986846924,
0.013706955127418041,
-0.33101022243499756,
-0.2573583424091339,
0.22709941864013672,
-0.08696242421865463,
0.006812711246311665,
-0.337153822183609,
0.08292073756456375,
0.0716070830821991,
0.04261026158928871,
-0.14921347796916962,
0.24632374942302704,
-0.4038236141204834,
0.022798355668783188,
-0.01752140372991562,
0.3464559316635132,
-0.1213759258389473,
-0.19188109040260315,
-0.06870286166667938,
-0.178562194108963
] |
https://github.com/huggingface/datasets/pull/536 | Fingerprint | I changed the way I implemented fingerprint updates to use decorator functions.
I also added a new attribute called `_inplace_history` that stores the in-place history of transforms (like cast_, rename_columns, etc.). This history is useful to replay the changes that were done in-place when unpickling a dataset that is memory mapped from a file.
Let me know what you think @thomwolf | This PR is a continuation of #513 , in which many in-place functions were introduced or updated (cast_, flatten_) etc.
However the caching didn't handle these changes. Indeed the caching took into account only the previous cache file name of the table, and not the possible in-place transforms of the table.
To fix that, I added the concept of dataset fingerprint, that is updated after each transform (in place or not), and stored inside the table metadata.
When a dataset is created, an initial fingerprint is computed. If the dataset is memory-mapped, then the fingerprint generator doesn't read the table and only looks at the filename. However if the table is in-memory, then the fingerprint generator reads the content of the table using a batched non-crypto hashing.
I added a utility class to compute hashes of arbitrary python objects in `fingerprint.py` : `Hasher`. The API is close to standard hashing tools (`.update`, `.hexdigest`). It also supports custom hashing functions depending on object types using a registry like pickle. I added a custom hashing function to hash a `pa.Table` in a batched way, and also for `nlp.DatasetInfo` to leverage its json serialization feature.
Note about this PR:
This is a draft PR because #513 needs to be merged first.
The diff that is shown is for branches fingerprint -> indices (and not master, for now) | 61 | text: Fingerprint
This PR is a continuation of #513 , in which many in-place functions were introduced or updated (cast_, flatten_) etc.
However the caching didn't handle these changes. Indeed the caching took into account only the previous cache file name of the table, and not the possible in-place transforms of the table.
To fix that, I added the concept of dataset fingerprint, that is updated after each transform (in place or not), and stored inside the table metadata.
When a dataset is created, an initial fingerprint is computed. If the dataset is memory-mapped, then the fingerprint generator doesn't read the table and only looks at the filename. However if the table is in-memory, then the fingerprint generator reads the content of the table using a batched non-crypto hashing.
I added a utility class to compute hashes of arbitrary python objects in `fingerprint.py` : `Hasher`. The API is close to standard hashing tools (`.update`, `.hexdigest`). It also supports custom hashing functions depending on object types using a registry like pickle. I added a custom hashing function to hash a `pa.Table` in a batched way, and also for `nlp.DatasetInfo` to leverage its json serialization feature.
Note about this PR:
This is a draft PR because #513 needs to be merged first.
The diff that is shown is for branches fingerprint -> indices (and not master, for now)
I changed the way I implemented fingerprint updates to use decorator functions.
I also added a new attribute called `_inplace_history` that stores the in-place history of transforms (like cast_, rename_columns, etc.). This history is useful to replay the changes that were done in-place when unpickling a dataset that is memory mapped from a file.
Let me know what you think @thomwolf | [
-0.0633954107761383,
0.17266130447387695,
-0.09741681814193726,
-0.12103378772735596,
-0.06603008508682251,
-0.14349299669265747,
0.0967770665884018,
0.57371985912323,
-0.08853578567504883,
-0.016142114996910095,
0.12605531513690948,
0.46377068758010864,
-0.06717400997877121,
0.06597033888101578,
0.49662861227989197,
0.22039204835891724,
0.15405668318271637,
0.2541390061378479,
-0.3199632167816162,
0.1619841754436493,
-0.35218876600265503,
-0.11499986052513123,
0.04840187728404999,
0.014222018420696259,
-0.10722673684358597,
-0.08065786212682724,
-0.3879443109035492,
-0.021420374512672424,
-0.27747297286987305,
-0.46040114760398865,
-0.10734830796718597,
0.3336065709590912,
-0.07601922750473022,
0.09379789233207703,
-0.00010293132800143212,
0.01197408139705658,
0.058664899319410324,
-0.10492147505283356,
-0.04315891116857529,
0.16126815974712372,
-0.25792229175567627,
-0.352653443813324,
-0.1919207125902176,
-0.3479260802268982,
0.07343099266290665,
-0.10267473757266998,
0.13779360055923462,
0.18408609926700592,
0.106463722884655,
0.08250202983617783,
0.276708722114563,
-0.18355777859687805,
-0.10127721726894379,
0.08216200768947601,
0.34841519594192505,
0.3274170160293579,
-0.14771665632724762,
-0.18974362313747406,
0.20747748017311096,
-0.43420758843421936,
-0.1217958852648735,
0.42759692668914795,
-0.27091071009635925,
-0.1585274338722229,
0.392142653465271,
-0.02358456328511238,
0.2167665958404541,
0.17117394506931305,
0.14040082693099976,
0.25191229581832886,
-0.030149996280670166,
-0.6193757057189941,
-0.27251434326171875,
-0.32207798957824707,
-0.14371471107006073,
-0.2730315029621124,
0.1319001019001007,
-0.17288538813591003,
0.04164106771349907,
-0.005932312458753586,
-0.38430631160736084,
0.10320942103862762,
0.1351262778043747,
-0.3265003561973572,
-0.029816675931215286,
0.18235448002815247,
0.09719227254390717,
-0.020620010793209076,
0.15535128116607666,
-0.09934444725513458,
0.0747130885720253,
0.06887182593345642,
-0.09557566046714783,
-0.035880304872989655,
0.11274656653404236,
-0.13537243008613586,
0.4839502274990082,
0.3766328692436218,
0.20507332682609558,
0.30246132612228394,
0.44727081060409546,
0.2521040439605713,
-0.021721551194787025,
0.07233603298664093,
-0.08009840548038483,
0.19481095671653748,
-0.18525123596191406,
0.15797197818756104,
0.09616696834564209,
-0.07565781474113464,
-0.1519552618265152,
0.143364816904068,
0.12403464317321777,
0.007607707753777504,
0.2794065773487091,
0.040636781603097916,
0.034429896622896194,
-0.08568771183490753,
0.033861421048641205,
0.021337494254112244,
0.08326258510351181,
-0.03697975352406502,
0.10284315049648285,
0.3614451289176941,
0.07042847573757172,
0.05753275007009506,
0.0467221662402153,
-0.21100136637687683,
-0.23185354471206665,
0.1865541934967041,
-0.18975383043289185,
0.009155046194791794,
-0.3626147210597992,
0.23585456609725952,
0.23730270564556122,
0.1558350771665573,
0.03987748920917511,
-0.03868731111288071,
0.16777510941028595,
0.0825977772474289,
0.1437368243932724,
-0.1852736920118332,
0.6737013459205627,
0.21401460468769073,
-0.17112843692302704,
-0.3734462261199951,
-0.019948404282331467,
-0.10686736553907394,
-0.41218310594558716,
0.27107667922973633,
0.019920241087675095,
-0.22466272115707397,
0.2383347898721695,
0.29407548904418945,
-0.32037264108657837,
-0.20080137252807617,
0.040240682661533356,
0.1385432332754135,
0.19333913922309875,
-0.43809807300567627,
0.3096039295196533,
-0.08805885165929794,
-0.2091234028339386,
-0.26986604928970337,
0.2125789374113083,
0.25189298391342163,
-0.09674270451068878,
-0.08591380715370178,
0.08229517936706543,
0.06172855570912361,
-0.1522306203842163,
-0.1690250039100647,
-0.00044037585030309856,
0.09480402618646622,
-0.1657906025648117,
0.21559856832027435,
-0.06045197695493698,
-0.3569239675998688,
-0.38412436842918396,
-0.005455967970192432,
0.021395698189735413,
-0.12982715666294098,
0.24401065707206726,
0.12905803322792053,
0.16241787374019623,
-0.3358384966850281,
-0.11751019954681396,
-0.1198071837425232,
-0.12034872174263,
0.17653600871562958,
-0.31547480821609497,
-0.22926443815231323,
0.34260183572769165,
0.12596197426319122,
0.042608484625816345,
0.014677077531814575,
0.007231913506984711,
-0.3006651997566223,
0.21141549944877625,
-0.06709085404872894,
0.15943105518817902,
0.07311643660068512,
0.353758841753006,
0.18682292103767395,
0.20620302855968475,
-0.08601653575897217,
-0.012204565107822418,
0.1034788265824318,
-0.13597628474235535,
-0.03478900343179703,
-0.4578462839126587,
-0.40213543176651,
0.2996310889720917,
0.009822692722082138,
-0.07967914640903473,
-0.19479992985725403,
0.20965136587619781,
0.14301954209804535,
0.18998488783836365,
-0.16853123903274536,
-0.21326342225074768,
-0.03698612004518509,
0.01780298911035061,
-0.1130838692188263,
-0.2306743711233139,
-0.14244423806667328,
-0.04247774928808212,
-0.14242900907993317,
-0.09965518116950989,
0.48076295852661133,
0.13282990455627441,
-0.017835810780525208,
0.14035096764564514,
0.28867748379707336,
0.010008344426751137,
0.08771753311157227,
-0.011775374412536621,
0.7893840074539185,
0.15482032299041748,
-0.2563786208629608,
0.22094973921775818,
-0.3582402169704437,
0.11408910155296326,
0.056864455342292786,
-0.195011705160141,
0.6739000678062439,
-0.12362554669380188,
-0.06225154548883438,
0.06243814527988434,
-0.278714656829834,
0.05882079899311066,
-0.16283932328224182,
-0.12105945497751236,
-0.17033842206001282,
-0.18983060121536255,
0.2624271512031555,
0.2093569040298462,
0.16737033426761627,
-0.03086484968662262,
0.377745121717453,
0.3066035509109497,
-0.08095036447048187,
0.181317999958992,
0.2097252905368805,
0.14591175317764282,
-0.34440210461616516,
0.038854341953992844,
0.04683436080813408,
0.31027382612228394,
0.22870859503746033,
-0.027994338423013687,
0.21741917729377747,
-0.023103561252355576,
-0.027828987687826157,
0.2441655993461609,
0.056175556033849716,
-0.37474489212036133,
0.10927653312683105,
0.11548281461000443,
0.07976037263870239,
-0.28164640069007874,
-0.10545894503593445,
0.16437691450119019,
0.23182420432567596,
-0.17270450294017792,
0.14034828543663025,
-0.40386077761650085,
-0.34783005714416504,
-0.0029293587431311607,
-0.1421978771686554,
-0.00003420189023017883,
-0.2443343847990036,
0.20205962657928467,
-0.016460854560136795,
-0.3243739902973175,
0.27698808908462524,
-0.30858609080314636,
0.33904755115509033,
-0.30745989084243774,
-0.16153329610824585,
-0.373828262090683,
-0.31617477536201477,
0.23477020859718323,
0.15691933035850525,
0.082025907933712,
0.1490524262189865,
0.4529913067817688,
-0.0229865163564682,
0.1989751160144806,
-0.5233213901519775,
-0.5781397819519043,
0.04942929744720459,
-0.3797568082809448,
-0.3070143759250641,
0.3629017770290375,
-0.15994612872600555,
-0.11374298483133316,
-0.10832130163908005,
0.00681254081428051,
-0.664747416973114,
-0.228775292634964,
-0.056404635310173035,
-0.12736378610134125,
-0.005283980164676905,
-0.15011943876743317,
-0.008587837219238281,
-0.11993513256311417,
-0.2521441876888275,
0.5269407033920288,
0.23057229816913605,
0.22574856877326965,
0.1234416663646698,
-0.26836785674095154,
-0.024782322347164154,
-0.10487838089466095,
0.18577785789966583,
-0.2288580983877182,
-0.4409038722515106,
-0.030059341341257095,
-0.22140581905841827,
0.09480474889278412,
-0.12540830671787262,
0.03185436129570007,
0.009841587394475937,
0.11798915266990662,
-0.2824062407016754,
-0.4701182246208191,
-0.046141743659973145,
0.3947141170501709,
0.1297481656074524,
0.021876515820622444,
0.6234877109527588,
0.3383941650390625,
-0.26107820868492126,
-0.21013370156288147,
-0.13321144878864288,
-0.0914042666554451,
0.06723890453577042,
0.020682379603385925,
0.0653914362192154,
0.10768058151006699,
0.14949604868888855,
0.28994542360305786,
0.11166323721408844,
-0.19819976389408112,
0.295939564704895,
-0.07254651188850403,
0.30754730105400085,
-0.2534053325653076,
0.1797361969947815,
-0.07265762239694595,
-0.015098482370376587,
-0.035884685814380646,
0.1250419020652771,
0.00011772848665714264,
-0.1423387974500656,
0.03147459030151367,
0.028796441853046417,
-0.36982855200767517,
-0.2813747823238373,
0.29507988691329956,
-0.24217692017555237,
0.12881681323051453,
0.18484140932559967,
0.018062278628349304,
-0.34133121371269226,
-0.06945337355136871,
0.14829042553901672,
0.012575723230838776,
0.11982659250497818,
-0.17173050343990326,
-0.2292797714471817,
-0.08798633515834808,
-0.25643548369407654,
0.21875569224357605,
0.3274844288825989,
0.2032223790884018,
-0.042687200009822845,
-0.6439735293388367,
0.06256091594696045,
-0.11029249429702759,
0.314642995595932,
-0.3154242932796478,
0.18403840065002441,
0.18458597362041473,
-0.4573158323764801,
0.315459668636322,
0.03741305693984032,
0.1439749002456665,
0.21359887719154358,
-0.01726546883583069,
0.17082518339157104,
-0.11381179094314575,
-0.07487064599990845,
0.06470295041799545,
0.02247275784611702,
0.14727568626403809,
0.05949241295456886,
-0.03728731721639633,
-0.37409576773643494,
-0.13619688153266907,
0.13419844210147858,
0.1787436455488205,
-0.33033281564712524,
0.1427711397409439,
0.15529213845729828,
-0.2100246399641037,
-0.11444060504436493,
0.031556278467178345,
0.13881270587444305,
0.050470877438783646,
-0.1864742934703827,
0.23423689603805542,
0.10526774078607559,
0.15562540292739868,
0.31677570939064026,
0.41182249784469604,
-0.42865613102912903,
0.07177683711051941,
-0.00012879632413387299,
0.05632946267724037,
-0.05449613183736801,
0.43543362617492676,
0.2866760790348053,
0.17934992909431458,
0.14406533539295197,
0.029338296502828598,
-0.48555988073349,
-0.3741411566734314,
-0.2566309869289398,
0.01947282999753952,
-0.26674655079841614,
-0.5483324527740479,
0.5121803879737854,
0.2347169667482376,
-0.38693684339523315,
0.3816050589084625,
-0.10632337629795074,
-0.35432398319244385,
0.5243363976478577,
0.29200151562690735,
1.3032429218292236,
0.11522074043750763,
0.3514072895050049,
-0.0705646350979805,
0.07517591118812561,
-0.040362413972616196,
-0.33083754777908325,
0.002759071998298168,
-0.40227293968200684,
-0.4881912171840668,
-0.09472964704036713,
-0.07698007673025131,
-0.01111631840467453,
-0.17655061185359955,
-0.24898871779441833,
0.07363267987966537,
0.22987143695354462,
0.1892189085483551,
0.05160316079854965,
-0.10657557845115662,
-0.1642463207244873,
-0.16481316089630127,
-0.011235037818551064,
0.19597123563289642,
0.23634427785873413,
-0.3162035048007965,
-0.05273212864995003,
-0.0665212944149971,
-0.045155659317970276,
0.09578576683998108,
-0.010081596672534943,
-0.09971415996551514,
-0.24328255653381348,
0.23524188995361328,
0.040813885629177094,
0.018161937594413757,
-0.3051040768623352,
0.04931154102087021,
0.0650719627737999,
0.07700538635253906,
-0.11976361274719238,
0.38995838165283203,
0.42197009921073914,
0.44719284772872925,
0.06942729651927948,
-0.2120986431837082,
0.38798850774765015,
0.0528225377202034,
-0.048447586596012115,
-0.22539034485816956,
-0.18260996043682098,
-0.3352784514427185,
-0.314164936542511,
0.03433029726147652,
-0.024018965661525726,
-0.05069035664200783,
0.17911206185817719,
0.00438661128282547,
-0.19265279173851013,
-0.28016477823257446,
0.24139447510242462,
0.1719537079334259,
-0.12185690551996231,
0.48083755373954773,
-0.008815571665763855,
-0.31745976209640503,
-0.04569058492779732,
0.4810427725315094,
-0.08393864333629608,
0.22190013527870178,
0.045070309191942215,
-0.06992202252149582,
-0.2667527198791504,
-0.28005844354629517,
0.09608077257871628,
0.04407111927866936,
-0.06218554079532623,
0.02112226001918316,
-0.12952758371829987,
-0.13044707477092743,
0.45751523971557617,
0.34572428464889526,
0.18245771527290344,
0.016950704157352448,
-0.2712538242340088,
-0.014989729970693588,
-0.16877469420433044,
0.21882657706737518,
-0.004273798316717148,
0.33243876695632935,
0.0966097041964531,
0.2643595039844513,
-0.05555446445941925,
0.1128251850605011,
-0.47017356753349304,
-0.02695651724934578,
-0.21158945560455322,
0.2649673819541931,
0.023589350283145905,
-0.022523634135723114,
-0.1868797391653061,
-0.20633050799369812,
0.1540752798318863,
0.5159212350845337,
-0.1595688760280609,
-0.3145313262939453,
0.03158643841743469,
0.12057116627693176,
-0.050282806158065796,
0.16629907488822937,
-0.3406367599964142,
0.04988694190979004,
-0.13364985585212708,
-0.07339589297771454,
0.06876999139785767,
0.008350387215614319,
0.000964924693107605,
0.1233174204826355,
-0.04264814034104347,
-0.07475150376558304,
0.15708564221858978,
-0.03833560645580292,
-0.15799425542354584,
0.0332493782043457,
-0.10667118430137634,
0.10222416371107101,
-0.5422605872154236,
-0.016179963946342468,
0.1974983662366867,
0.4423954486846924,
0.043059125542640686,
-0.21729028224945068,
0.3196052312850952,
0.3451775312423706,
0.004660934209823608,
0.2601187527179718,
0.2412184476852417,
0.1400301456451416,
-0.15915341675281525,
-0.36582255363464355,
0.38568466901779175,
0.3441721796989441,
-0.2020074874162674,
-0.03277011960744858,
-0.18770477175712585,
-0.0052726129069924355,
0.09935589134693146,
0.3582175076007843,
0.41283780336380005,
-0.09153226017951965,
-0.1911713033914566,
-0.024607202038168907,
0.4248092770576477,
-0.6713787913322449,
-0.05227881669998169,
0.34129369258880615,
-0.08069863170385361,
0.023019488900899887,
0.42703887820243835,
0.5182117819786072,
0.17174676060676575,
0.6216509938240051,
0.062042683362960815,
0.6384304165840149,
-0.0006691180169582367,
0.1839207261800766,
0.022709306329488754,
-0.019193056970834732,
0.17635318636894226,
0.2453577220439911,
-0.12885253131389618,
0.04119537025690079,
0.14267587661743164,
0.3538576066493988,
-0.007983614690601826,
0.062406025826931,
-0.08651988953351974,
0.3884689211845398,
0.0427045114338398,
-0.15292686223983765,
-0.2176014930009842,
-0.10132955014705658,
-0.2418171912431717,
-0.10629422962665558,
-0.018191326409578323,
0.1283768117427826,
0.5175216794013977,
0.18689805269241333,
0.21365998685359955,
-0.24110712110996246,
0.15229029953479767,
-0.33877724409103394,
0.626654326915741,
-0.4296495318412781,
-0.06229916960000992,
0.20358863472938538,
-0.2833555340766907,
0.10090522468090057,
0.12130656093358994,
0.45663225650787354,
-0.09854491055011749,
-0.12932351231575012,
0.22336171567440033,
-0.4030436873435974,
0.10542605817317963,
-0.2764783203601837,
0.37715795636177063,
0.1729983687400818,
-0.04887169227004051,
0.06060579791665077,
0.2140159010887146,
-0.14359524846076965,
-0.003289654850959778,
0.168134868144989,
0.175882026553154,
0.07296030223369598,
0.492942214012146,
0.3404340445995331,
-0.3417355716228485,
0.18863113224506378,
0.22900360822677612,
-0.2087790071964264,
-0.06858578324317932,
0.28710484504699707,
-0.11492665857076645,
0.08783043175935745,
0.026507649570703506,
0.13458497822284698,
0.23083744943141937,
0.2892840802669525,
0.31174981594085693,
-0.19957098364830017,
-0.11723732203245163,
-0.15474776923656464,
-0.3809405267238617,
-0.004666551947593689,
0.06810459494590759,
-0.2947610318660736,
0.21351508796215057,
0.015742721036076546,
0.1332581490278244,
-0.09654925763607025,
-0.1608634740114212,
0.18779177963733673,
-0.006039305590093136,
0.2350582331418991,
-0.17297698557376862,
0.32670581340789795,
-0.26365232467651367,
0.11410465836524963,
0.06914233416318893,
-0.2962973415851593,
-0.03871889039874077,
0.16947975754737854,
0.2436704933643341,
-0.3833625316619873,
-0.08967912197113037,
0.07191447913646698,
0.34384334087371826,
0.48548319935798645,
0.08621121197938919,
0.1062321811914444,
-0.1867474615573883,
0.07223756611347198,
-0.008137907832860947,
-0.05825089290738106,
-0.2753143012523651,
0.24278020858764648,
-0.06018010899424553,
-0.17058247327804565,
-0.008151904679834843,
-0.2025340050458908,
-0.05064518749713898,
0.03963933140039444,
-0.18867681920528412,
0.14505219459533691,
-0.44775649905204773,
0.01715594343841076,
-0.11143148690462112,
0.05953783914446831,
-0.11916691064834595,
0.41827884316444397,
0.1924985647201538,
0.15022681653499603,
-0.36888861656188965,
-0.37897247076034546,
0.25409170985221863,
-0.22814208269119263,
-0.15550507605075836,
0.14221711456775665,
0.3157985806465149,
-0.11619044095277786,
-0.11648472398519516,
-0.5364062786102295,
-0.0262649804353714,
0.14519476890563965,
0.029920686036348343,
-0.35312098264694214,
0.1711806058883667,
-0.17817285656929016,
0.04395540431141853,
-0.2659168243408203,
0.007028162479400635,
-0.021964818239212036,
-0.0706915557384491,
-0.13767994940280914,
-0.28750455379486084
] |
https://github.com/huggingface/datasets/pull/530 | use ragged tensor by default | Yes I agree. Maybe something that lets specify different format depending on the column ? Especially to better control dtype and shape (and ragged for tf)
Oh and I forgot: this one should also fix the second issue found in #477 for the next release | I think it's better if it's clear whether the returned tensor is ragged or not when the type is set to tensorflow.
Previously it was a tensor (not ragged) if numpy could stack the output (which can change depending on the batch of example you take), which make things difficult to handle, as it may sometimes return a ragged tensor and sometimes not.
Therefore I reverted this behavior to always return a ragged tensor as we used to do. | 45 | text: use ragged tensor by default
I think it's better if it's clear whether the returned tensor is ragged or not when the type is set to tensorflow.
Previously it was a tensor (not ragged) if numpy could stack the output (which can change depending on the batch of example you take), which make things difficult to handle, as it may sometimes return a ragged tensor and sometimes not.
Therefore I reverted this behavior to always return a ragged tensor as we used to do.
Yes I agree. Maybe something that lets specify different format depending on the column ? Especially to better control dtype and shape (and ragged for tf)
Oh and I forgot: this one should also fix the second issue found in #477 for the next release | [
-0.05408560857176781,
-0.45059359073638916,
-0.094773069024086,
-0.06876851618289948,
0.25794005393981934,
-0.1581052839756012,
0.4796622097492218,
0.5647876858711243,
-0.0441252738237381,
0.2698960304260254,
0.15060165524482727,
0.42987310886383057,
0.09864964336156845,
-0.11960867792367935,
-0.13771459460258484,
-0.3428802788257599,
-0.12597870826721191,
0.18842598795890808,
-0.032995812594890594,
-0.22162802517414093,
-0.35186144709587097,
0.048152364790439606,
-0.0461198091506958,
0.1316991001367569,
-0.14207030832767487,
-0.03382023423910141,
0.3528665006160736,
-0.07186391204595566,
-0.40859994292259216,
-0.1774352490901947,
0.20631004869937897,
-0.14813458919525146,
0.0020655859261751175,
0.1266622096300125,
-0.0000999828553176485,
0.03545067459344864,
0.3828274607658386,
0.06386001408100128,
0.34761476516723633,
0.11127675324678421,
0.3661184310913086,
-0.4922913908958435,
0.13980704545974731,
-0.32649531960487366,
-0.14896899461746216,
-0.12828190624713898,
0.042678073048591614,
0.18168418109416962,
0.2910684645175934,
0.34074342250823975,
0.2918386459350586,
0.36301088333129883,
0.068341463804245,
0.03137381002306938,
-0.08067100495100021,
-0.01461329311132431,
-0.32892078161239624,
0.11419516801834106,
0.06716706603765488,
-0.0013568084686994553,
0.03999197483062744,
0.2879458963871002,
0.010709540918469429,
0.24511095881462097,
0.11796988546848297,
0.24229717254638672,
0.4141407310962677,
-0.1915365308523178,
-0.25767117738723755,
0.5245059132575989,
0.13667960464954376,
0.21926254034042358,
0.039909861981868744,
-0.12378279864788055,
0.010816563852131367,
-0.4166839122772217,
0.17026326060295105,
0.11749893426895142,
-0.09074236452579498,
0.07522431015968323,
0.06337804347276688,
0.38556748628616333,
-0.3192141056060791,
0.2617155909538269,
-0.5258796215057373,
-0.1768534779548645,
-0.01179752591997385,
-0.07377410680055618,
0.03491368144750595,
0.04987303167581558,
0.012347625568509102,
0.21368423104286194,
0.049747269600629807,
-0.09587928652763367,
0.08751152455806732,
-0.3070826530456543,
0.07156912982463837,
-0.3817722797393799,
0.057185396552085876,
-0.3584212064743042,
0.0517314150929451,
0.16590756177902222,
-0.38498392701148987,
0.09375356137752533,
-0.05809314176440239,
0.09958995878696442,
-0.12429457157850266,
0.19833418726921082,
0.32587212324142456,
0.13939476013183594,
0.34469538927078247,
-0.06790243834257126,
0.2960149645805359,
-0.25335758924484253,
-0.04936191812157631,
0.04057588055729866,
0.3042412996292114,
0.06553320586681366,
-0.30288490653038025,
0.01056654378771782,
0.06794555485248566,
0.01735853962600231,
-0.07277724891901016,
0.151533305644989,
-0.24242964386940002,
0.14784517884254456,
0.1599588394165039,
0.11983735114336014,
-0.09927631169557571,
-0.12717178463935852,
-0.2486821860074997,
-0.07738228142261505,
-0.17595019936561584,
-0.20237907767295837,
0.03937211260199547,
0.11638815701007843,
-0.05313880741596222,
0.38184741139411926,
0.03742334619164467,
0.022782623767852783,
-0.07937921583652496,
-0.09456275403499603,
0.2963370978832245,
0.17352502048015594,
-0.31731221079826355,
-0.05632453411817551,
0.3269432485103607,
0.13056112825870514,
-0.22613060474395752,
0.21571800112724304,
-0.3837275207042694,
-0.40354156494140625,
-0.3934117257595062,
0.30855923891067505,
0.12801887094974518,
0.05183093994855881,
0.3867117762565613,
0.10109005868434906,
0.11133980751037598,
0.12983570992946625,
0.16783258318901062,
-0.2810016870498657,
-0.2779659032821655,
-0.1901831179857254,
-0.08263176679611206,
-0.08995026350021362,
-0.17828558385372162,
0.01173313707113266,
-0.12061882019042969,
0.014091973192989826,
0.4551941752433777,
0.43728870153427124,
-0.08680464327335358,
-0.04460970312356949,
0.035095296800136566,
0.16476501524448395,
0.3610648214817047,
0.05272557958960533,
-0.1160321831703186,
0.08250881731510162,
0.004533141851425171,
0.23081685602664948,
0.048169124871492386,
-0.10667898505926132,
0.22507014870643616,
0.024965539574623108,
0.32254865765571594,
0.16290141642093658,
-0.030507272109389305,
0.07889649271965027,
-0.42919033765792847,
-0.12222393602132797,
0.11187642812728882,
0.06675200164318085,
0.15319618582725525,
0.06865741312503815,
-0.3677888810634613,
-0.23839731514453888,
0.3313046991825104,
0.0439080111682415,
-0.3514348864555359,
-0.4500501751899719,
0.3163715600967407,
0.015856124460697174,
-0.015144357457756996,
0.04437161237001419,
-0.1308286190032959,
0.06958741694688797,
-0.1379014253616333,
0.27538037300109863,
0.22456006705760956,
-0.16114197671413422,
-0.06874121725559235,
-0.2125067412853241,
0.1590268313884735,
0.08654945343732834,
0.28302109241485596,
-0.34188106656074524,
-0.44826260209083557,
0.05075259879231453,
-0.14870242774486542,
0.15949226915836334,
-0.6611354351043701,
0.13259771466255188,
0.15556949377059937,
-0.11078210175037384,
-0.06746599823236465,
-0.030612953007221222,
-0.09532183408737183,
0.27523407340049744,
-0.01827547699213028,
-0.006766517646610737,
0.026022568345069885,
0.21895954012870789,
-0.10012245923280716,
-0.16425885260105133,
-0.6430513858795166,
0.3589230179786682,
0.2525365948677063,
0.23478248715400696,
0.014955423772335052,
0.1343105584383011,
-0.2852490544319153,
-0.09107670933008194,
-0.1796526312828064,
0.37194371223449707,
0.06362736970186234,
-0.09989152103662491,
-0.2979731559753418,
0.03157173842191696,
0.006485020741820335,
-0.05931065231561661,
-0.27034759521484375,
-0.19102329015731812,
0.019325125962495804,
0.058375533670186996,
-0.32330960035324097,
-0.13957500457763672,
-0.49216312170028687,
0.08987973630428314,
0.48540547490119934,
-0.04840601980686188,
0.1950538158416748,
0.33682435750961304,
0.21140235662460327,
-0.02849213406443596,
-0.2816775441169739,
-0.0024087950587272644,
0.24689459800720215,
0.16123555600643158,
-0.043865498155355453,
-0.025023652240633965,
-0.38690832257270813,
-0.38304153084754944,
0.1462218314409256,
-0.0077031999826431274,
-0.06667887419462204,
0.13550680875778198,
0.053934767842292786,
-0.007473244331777096,
-0.1802041232585907,
0.45518866181373596,
-0.14631405472755432,
0.1636655181646347,
-0.2536861300468445,
-0.2169729471206665,
-0.14674732089042664,
-0.2679389417171478,
-0.15537209808826447,
0.02146008610725403,
0.10852327942848206,
-0.23043905198574066,
0.09550876170396805,
0.003126826137304306,
-0.28379955887794495,
0.10612852871417999,
0.44277000427246094,
0.5575026869773865,
0.1719183772802353,
0.318817138671875,
-0.2571162283420563,
0.03303259611129761,
-0.1493324637413025,
0.22629481554031372,
-0.24613499641418457,
-0.2920290529727936,
0.11542243510484695,
-0.1574203073978424,
-0.11383333057165146,
-0.07258353382349014,
-0.4291646182537079,
-0.005123179405927658,
-0.07054149359464645,
0.13469769060611725,
0.3121645450592041,
0.5296532511711121,
0.1451110541820526,
-0.029623795300722122,
0.20973297953605652,
-0.0980895608663559,
0.033667877316474915,
0.08424998819828033,
-0.17790165543556213,
0.13237756490707397,
-0.23133808374404907,
-0.3464309871196747,
0.09317316114902496,
-0.47381049394607544,
0.23498298227787018,
-0.19693343341350555,
0.2257310301065445,
0.3653407096862793,
0.005941019393503666,
-0.08179986476898193,
0.026682192459702492,
0.2348143607378006,
-0.3431366980075836,
-0.13844047486782074,
0.41551050543785095,
-0.1834777444601059,
-0.35566720366477966,
-0.09359598159790039,
0.16830459237098694,
0.03818759322166443,
-0.03771687671542168,
-0.22076816856861115,
-0.30537480115890503,
-0.13550511002540588,
0.33988597989082336,
-0.009180508553981781,
-0.2198687344789505,
0.2524927854537964,
-0.1593584418296814,
-0.2631430923938751,
-0.019932031631469727,
0.09671169519424438,
0.041798267513513565,
0.3081822395324707,
0.0976066142320633,
0.017477119341492653,
0.23737284541130066,
0.10658852756023407,
0.12261989712715149,
0.1694350391626358,
-0.41831523180007935,
-0.1510172337293625,
0.14727932214736938,
0.20741647481918335,
0.012590646743774414,
-0.03448392078280449,
0.14366504549980164,
0.17648091912269592,
0.20376446843147278,
0.08386440575122833,
-0.11982964724302292,
-0.32104694843292236,
0.13429614901542664,
0.2515413761138916,
-0.05378973111510277,
-0.1812838912010193,
0.3971978724002838,
0.11119334399700165,
0.06629299372434616,
0.045099612325429916,
0.1581757366657257,
-0.10208401083946228,
-0.09556736052036285,
0.26315033435821533,
0.4254719018936157,
0.11302497982978821,
-0.07752283662557602,
-0.09057172387838364,
-0.25506842136383057,
-0.26468831300735474,
0.09253234416246414,
0.023138131946325302,
0.15754581987857819,
-0.03844471275806427,
-0.24562478065490723,
0.0030260607600212097,
0.36020755767822266,
0.5906768441200256,
-0.15585605800151825,
-0.4013264775276184,
0.14024114608764648,
0.14013969898223877,
-0.3460223972797394,
-0.23628684878349304,
-0.19488459825515747,
-0.12277489900588989,
0.2271391600370407,
0.1733340322971344,
-0.13635757565498352,
-0.09446113556623459,
0.4561622142791748,
-0.12389347702264786,
-0.14048035442829132,
-0.21055498719215393,
-0.1581369787454605,
-0.1614726334810257,
0.36238953471183777,
-0.002286486327648163,
0.19209204614162445,
-0.0023808814585208893,
-0.268187940120697,
-0.2634665071964264,
-0.07858734577894211,
-0.01740163192152977,
-0.028552576899528503,
-0.04250913858413696,
0.2729324996471405,
-0.13712064921855927,
-0.14145973324775696,
0.11230216920375824,
0.16220657527446747,
-0.09047380834817886,
-0.16378368437290192,
-0.36489319801330566,
0.004398167133331299,
-0.05142359435558319,
-0.1980808675289154,
-0.237054705619812,
0.21865710616111755,
-0.053842585533857346,
-0.10742414742708206,
-0.4131244421005249,
0.2244414985179901,
-0.2518942058086395,
0.3231525421142578,
0.43662935495376587,
0.10731206834316254,
0.1996772289276123,
-0.38047951459884644,
0.3709934949874878,
0.010371331125497818,
-0.015247970819473267,
0.702374279499054,
-0.24071453511714935,
-0.1620146930217743,
0.1876169890165329,
0.3633839190006256,
0.6926662921905518,
-0.05372251570224762,
-0.044974129647016525,
0.4680868983268738,
0.08978831768035889,
0.330397367477417,
-0.677421510219574,
0.17408712208271027,
-0.09158224612474442,
-0.24379174411296844,
-0.02567121759057045,
0.06498484313488007,
0.035686373710632324,
-0.30486804246902466,
-0.3197980523109436,
-0.24337242543697357,
0.036778733134269714,
0.15174423158168793,
0.06352092325687408,
0.07069806009531021,
0.07409462332725525,
-0.19438321888446808,
0.11881398409605026,
0.1746450960636139,
-0.07292509078979492,
0.11226074397563934,
-0.11442746222019196,
-0.05871943384408951,
0.1837884932756424,
-0.12658995389938354,
-0.2252301722764969,
-0.3501948416233063,
-0.055521026253700256,
0.12604978680610657,
0.4213443100452423,
-0.12548449635505676,
0.09026512503623962,
0.14434485137462616,
0.39254921674728394,
0.04678530618548393,
-0.13651660084724426,
-0.005772989243268967,
0.3083781898021698,
0.038616716861724854,
0.02084026299417019,
-0.06578094512224197,
0.4064388871192932,
-0.09632538259029388,
-0.016456827521324158,
-0.053700320422649384,
0.04398398846387863,
0.11707533895969391,
-0.48396193981170654,
-0.11543755233287811,
0.007362447679042816,
-0.2994881272315979,
-0.016398433595895767,
-0.07145825028419495,
-0.010821795091032982,
-0.054359856992959976,
0.289770245552063,
0.009186085313558578,
-0.037284184247255325,
0.2848884165287018,
0.14585117995738983,
-0.3382487893104553,
-0.06386899948120117,
-0.07148421555757523,
0.26973092555999756,
-0.1285778284072876,
-0.06230635941028595,
0.06405474245548248,
-0.24585354328155518,
-0.25616654753685,
-0.015979092568159103,
0.33836886286735535,
-0.09770464152097702,
0.18888819217681885,
-0.0942072793841362,
-0.1237960159778595,
-0.06050025671720505,
0.25651589035987854,
0.0601968914270401,
0.3480055630207062,
-0.26953431963920593,
-0.004633404314517975,
-0.01971934176981449,
0.07846492528915405,
-0.061232659965753555,
0.3952994644641876,
-0.1884629726409912,
0.23029403388500214,
0.11585892736911774,
-0.09200143814086914,
-0.44796866178512573,
-0.019715512171387672,
0.2243635654449463,
0.027475684881210327,
-0.08728434890508652,
0.02645150013267994,
0.11758644133806229,
-0.05102090165019035,
0.15076279640197754,
0.34752511978149414,
-0.17707614600658417,
-0.3419634699821472,
-0.10954011976718903,
0.06485673040151596,
-0.18138408660888672,
-0.14351806044578552,
0.21336238086223602,
0.049780674278736115,
-0.2327742874622345,
0.0011916770599782467,
0.060134317725896835,
-0.12881334125995636,
-0.10177344083786011,
0.3579276204109192,
0.11270950734615326,
0.2874862551689148,
0.22261552512645721,
-0.03088303655385971,
-0.032446518540382385,
0.32228410243988037,
-0.015605133026838303,
-0.06323669850826263,
-0.10027369856834412,
-0.0025133714079856873,
0.09711721539497375,
0.15897829830646515,
-0.17981930077075958,
0.12404292076826096,
0.21803641319274902,
0.039265647530555725,
-0.04429072141647339,
-0.2763606011867523,
-0.021094229072332382,
0.021569829434156418,
-0.4698368012905121,
-0.252432644367218,
0.004135481547564268,
0.429120272397995,
-0.14069344103336334,
0.0662577673792839,
-0.2932620346546173,
0.23256494104862213,
0.25951090455055237,
0.14003032445907593,
0.02496650442481041,
0.1508501023054123,
-0.059258073568344116,
0.18992987275123596,
0.035798080265522,
-0.5494393110275269,
0.290263295173645,
0.2687225937843323,
-0.14603881537914276,
-0.11261595785617828,
0.1744166612625122,
-0.15556840598583221,
-0.09141328185796738,
0.0495593324303627,
0.4509566128253937,
-0.00853467546403408,
0.09260257333517075,
-0.009193096309900284,
0.023766152560710907,
0.0702623724937439,
-0.1102997362613678,
0.435222327709198,
-0.42378729581832886,
0.29113641381263733,
0.2985760569572449,
-0.019326679408550262,
-0.09423241764307022,
-0.19376786053180695,
-0.1806785613298416,
-0.16090117394924164,
-0.2094484567642212,
0.11867180466651917,
-0.40281179547309875,
-0.06246263533830643,
0.01675376296043396,
-0.2242441475391388,
0.047046102583408356,
0.24046553671360016,
0.1242855042219162,
0.12130895256996155,
-0.08809122443199158,
0.3233294188976288,
-0.1161666139960289,
-0.15189310908317566,
0.47946321964263916,
-0.14311404526233673,
-0.12240513414144516,
0.0899127796292305,
-0.08167523145675659,
-0.09813399612903595,
0.1985839158296585,
0.28564566373825073,
0.31842175126075745,
0.06757207214832306,
0.002026660367846489,
-0.060558903962373734,
-0.16377025842666626,
0.10709957778453827,
0.11345452815294266,
0.3484794497489929,
0.08509212732315063,
-0.013652559369802475,
0.2863166034221649,
-0.2765754759311676,
0.3269859552383423,
-0.353280633687973,
0.278142511844635,
-0.12560416758060455,
0.5326657891273499,
0.3175773620605469,
-0.3888648450374603,
-0.07954290509223938,
-0.12345819920301437,
-0.0867294892668724,
0.15636874735355377,
0.34742408990859985,
0.08614418655633926,
0.07839037477970123,
-0.039692215621471405,
0.16001638770103455,
0.0940144956111908,
0.43144747614860535,
-0.05976215377449989,
0.0024752765893936157,
-0.1825552135705948,
-0.22244247794151306,
0.060183972120285034,
0.15882965922355652,
-0.13780082762241364,
0.09658403694629669,
0.19498100876808167,
0.17316412925720215,
0.0727635994553566,
0.05767234414815903,
0.16330686211585999,
-0.48149794340133667,
0.038430627435445786,
-0.07164691388607025,
-0.24295446276664734,
-0.052363257855176926,
0.104167640209198,
-0.22573186457157135,
0.02314881607890129,
-0.10374164581298828,
0.22763840854167938,
-0.08298324793577194,
0.2540123760700226,
-0.23373769223690033,
0.324624627828598,
0.17217473685741425,
0.5227386951446533,
-0.089516282081604,
0.29046469926834106,
-0.1419430375099182,
-0.022455252707004547,
-0.2077655792236328,
0.027022674679756165,
-0.05031438544392586,
-0.2540418207645416,
0.28030553460121155,
-0.07915544509887695,
0.31574976444244385,
0.15016289055347443,
-0.3912547826766968,
-0.3290700614452362,
0.06223779916763306,
-0.03836580365896225,
-0.36554327607154846,
-0.24575664103031158,
0.14602015912532806,
0.23998302221298218,
-0.21619367599487305,
0.031459417194128036,
0.4217138886451721,
0.24667152762413025,
-0.0210745707154274,
-0.16161739826202393,
-0.6215714812278748,
0.47411808371543884,
-0.20429907739162445,
-0.16279950737953186,
-0.08255372196435928,
0.247641459107399,
-0.053332649171352386,
0.3758664131164551,
-0.7672568559646606,
-0.3219854533672333,
0.20222224295139313,
-0.1067364439368248,
-0.41297799348831177,
0.2265983372926712,
0.36565375328063965,
-0.06812439858913422,
-0.1823796182870865,
0.207048237323761,
0.3036220371723175,
-0.2113867998123169,
-0.02102244272828102,
-0.33337920904159546
] |
https://github.com/huggingface/datasets/pull/529 | Add MLSUM | Could you test to run the test using the changes in #527 and let me know if it fixes the issue ? If so I'll merge it and we'll be good to go :) | Hello (again :) !),
So, I started a new branch because of a [rebase issue](https://github.com/huggingface/nlp/pull/463), sorry for the mess.
However, the command `pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_mlsum` still fails because there is no default language dataset : the script throws an error as a specific config language is necessary.
I think that setting a default language would be a bad workaround for this so I kept it as it is. Putting all the train files across languages together would also be a bad idea because of the size.
Thanks for your help,
Rachel
| 34 | text: Add MLSUM
Hello (again :) !),
So, I started a new branch because of a [rebase issue](https://github.com/huggingface/nlp/pull/463), sorry for the mess.
However, the command `pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_mlsum` still fails because there is no default language dataset : the script throws an error as a specific config language is necessary.
I think that setting a default language would be a bad workaround for this so I kept it as it is. Putting all the train files across languages together would also be a bad idea because of the size.
Thanks for your help,
Rachel
Could you test to run the test using the changes in #527 and let me know if it fixes the issue ? If so I'll merge it and we'll be good to go :) | [
-0.10457708686590195,
-0.1294894516468048,
0.026350807398557663,
-0.2572368383407593,
0.3179616332054138,
0.17047983407974243,
0.3222017288208008,
0.25134724378585815,
-0.14776766300201416,
0.04009360074996948,
0.20177163183689117,
0.22722455859184265,
-0.27234524488449097,
0.08518333733081818,
0.35257065296173096,
0.03173182159662247,
0.002623729407787323,
0.10737108439207077,
0.12842638790607452,
-0.18635797500610352,
-0.12591834366321564,
0.22698365151882172,
0.02754991501569748,
-0.32958871126174927,
-0.5001044273376465,
0.48986682295799255,
-0.17319628596305847,
0.2759152054786682,
0.10141148418188095,
-0.47985124588012695,
0.3493404984474182,
0.20582571625709534,
0.1517532914876938,
0.2915163040161133,
-0.00011975948291365057,
-0.14079806208610535,
0.3584616780281067,
-0.3488271236419678,
-0.4145854413509369,
-0.5196700096130371,
0.3752175569534302,
-0.2635251581668854,
0.20965896546840668,
-0.18389743566513062,
-0.33827123045921326,
-0.018789242953062057,
0.12150852382183075,
-0.32520419359207153,
-0.016345933079719543,
0.4709143340587616,
0.1747102439403534,
0.04201677814126015,
-0.2755800187587738,
-0.22083155810832977,
0.013727091252803802,
0.16735489666461945,
0.02143935300409794,
0.595857560634613,
0.3684285581111908,
-0.17224428057670593,
0.15432606637477875,
-0.17746880650520325,
0.07240280508995056,
-0.22854946553707123,
-0.08796771615743637,
-0.013016403652727604,
0.2187853455543518,
-0.13963192701339722,
0.019848668947815895,
0.2754790484905243,
0.5129197239875793,
-0.42401477694511414,
-0.06282813102006912,
0.02824680507183075,
0.2192733734846115,
-0.27999866008758545,
0.1488933563232422,
0.015249732881784439,
-0.2238006591796875,
0.08906303346157074,
-0.09579019248485565,
-0.37991753220558167,
0.053397953510284424,
0.37176305055618286,
-0.06644502282142639,
0.2677791714668274,
0.09621020406484604,
0.1205996572971344,
0.10247954726219177,
0.2857106924057007,
-0.19131386280059814,
0.25356525182724,
-0.10092732310295105,
0.18607772886753082,
-0.10938286781311035,
-0.24644887447357178,
0.14384739100933075,
-0.19220003485679626,
0.1571815013885498,
0.07735863327980042,
-0.14757385849952698,
0.061766330152750015,
-0.03356089070439339,
0.22857943177223206,
-0.2355838119983673,
0.16285333037376404,
0.40789562463760376,
-0.07935469597578049,
0.16209155321121216,
-0.041445039212703705,
0.0222894586622715,
0.10568420588970184,
-0.1156652644276619,
-0.20032064616680145,
-0.015829995274543762,
0.23267820477485657,
0.2019624412059784,
-0.3520556688308716,
0.10450343042612076,
0.13871994614601135,
-0.10458329319953918,
-0.18991248309612274,
-0.11890257149934769,
0.31803059577941895,
0.17335698008537292,
0.27142709493637085,
0.008306574076414108,
0.5567405819892883,
-0.2058354616165161,
-0.12087864428758621,
-0.1443973183631897,
0.11865849792957306,
-0.4264836013317108,
0.13104692101478577,
0.41981032490730286,
-0.013583719730377197,
0.3714243173599243,
0.12737788259983063,
0.1009635478258133,
0.012086853384971619,
-0.17201820015907288,
-0.10698401927947998,
0.013708621263504028,
0.12227088212966919,
-0.008128616958856583,
0.1967214047908783,
0.2610325813293457,
-0.22701404988765717,
-0.3259653151035309,
0.35982683300971985,
-0.2993715703487396,
-0.4470856785774231,
-0.21539635956287384,
0.14401701092720032,
-0.19402183592319489,
-0.26757797598838806,
-0.2610783576965332,
0.46119770407676697,
0.008040830492973328,
-0.1285378783941269,
0.12505516409873962,
-0.31989580392837524,
-0.027830854058265686,
-0.0930989682674408,
0.2537071704864502,
0.38565564155578613,
-0.34417110681533813,
-0.13421019911766052,
-0.09253865480422974,
-0.07234004139900208,
0.30272969603538513,
-0.14344625174999237,
-0.3899623155593872,
-0.04912766069173813,
-0.2134830355644226,
0.33543503284454346,
0.2694101631641388,
-0.20088717341423035,
-0.013644123449921608,
-0.09488682448863983,
-0.2696387767791748,
-0.04561832919716835,
0.02357839047908783,
-0.07177017629146576,
-0.02258402481675148,
-0.06878934800624847,
0.11281467974185944,
0.41239476203918457,
-0.07197345793247223,
0.0024340879172086716,
-0.3677605092525482,
-0.2635975182056427,
0.362204372882843,
0.39895719289779663,
0.06456061452627182,
-0.05451773852109909,
0.20142072439193726,
0.28286147117614746,
0.4878704249858856,
-0.14610616862773895,
-0.14732511341571808,
0.21688735485076904,
0.5505056977272034,
-0.10544489324092865,
0.08777912706136703,
-0.1928481161594391,
-0.3577059805393219,
0.2218959927558899,
0.2628345191478729,
0.627859890460968,
0.13302960991859436,
-0.1447145640850067,
-0.32380324602127075,
-0.3081428110599518,
-0.1837015599012375,
-0.2811994254589081,
0.037569694221019745,
0.3457900881767273,
-0.19258980453014374,
0.11476422846317291,
-0.2852064371109009,
-0.3493221700191498,
-0.25399577617645264,
-0.12959054112434387,
0.013123825192451477,
0.28665822744369507,
-0.07700756192207336,
-0.12059660255908966,
-0.1394621580839157,
0.2287064492702484,
0.06019764766097069,
-0.29992929100990295,
-0.3036653399467468,
0.2104705274105072,
-0.006713322829455137,
0.13357436656951904,
0.09740743041038513,
0.037260159850120544,
0.053983405232429504,
-0.3206711709499359,
-0.12844763696193695,
0.07277851551771164,
-0.09214935451745987,
-0.07550163567066193,
0.11349469423294067,
0.26948124170303345,
0.2622051537036896,
-0.047828592360019684,
-0.026652229949831963,
-0.11123797297477722,
0.39278677105903625,
-0.10976991057395935,
-0.005778636783361435,
-0.19720952212810516,
0.2992534041404724,
0.1524394005537033,
0.13323312997817993,
-0.007846610620617867,
-0.10163920372724533,
0.0707564428448677,
0.5045252442359924,
-0.08427193760871887,
-0.0014065057039260864,
0.2263687551021576,
-0.10055933147668839,
-0.04314643517136574,
0.08370601385831833,
-0.09940468519926071,
0.6404460668563843,
0.12664805352687836,
0.1509064882993698,
0.20754383504390717,
-0.14509283006191254,
-0.2703706920146942,
0.18093198537826538,
-0.32124972343444824,
0.3227846920490265,
0.22005635499954224,
0.2568000853061676,
-0.19015154242515564,
-0.5618329048156738,
-0.06777283549308777,
0.22450414299964905,
0.3501793146133423,
-0.1718405932188034,
0.05514286458492279,
-0.21072587370872498,
0.0636800155043602,
-0.35211262106895447,
-0.2511327862739563,
-0.4181784391403198,
-0.23750926554203033,
0.038364920765161514,
0.044110991060733795,
0.024735532701015472,
0.2545734643936157,
0.04298603907227516,
0.1851050704717636,
-0.2586197853088379,
-0.6584702134132385,
0.014250479638576508,
-0.32054972648620605,
-0.44479283690452576,
0.04720235988497734,
0.2860526740550995,
-0.17154647409915924,
0.20792469382286072,
-0.2696634531021118,
-0.3581138849258423,
0.20860642194747925,
-0.48465317487716675,
-0.017477907240390778,
0.08576485514640808,
0.2624138295650482,
0.0024433881044387817,
0.2220430076122284,
0.12681017816066742,
-0.13436973094940186,
0.3691759705543518,
-0.2098066508769989,
-0.052541814744472504,
0.1464328169822693,
0.08815959095954895,
-0.012654909864068031,
-0.30072537064552307,
-0.7220579385757446,
-0.4574505388736725,
-0.11074674129486084,
-0.17038817703723907,
-0.0323123037815094,
0.12084036320447922,
0.2382771223783493,
0.052083324640989304,
0.03965714946389198,
-0.10838876664638519,
0.2816139757633209,
-0.1972905546426773,
-0.027379970997571945,
-0.10115528106689453,
-0.059421271085739136,
-0.37123754620552063,
-0.007088698446750641,
-0.175375297665596,
0.1324215531349182,
0.03283483535051346,
-0.38293325901031494,
-0.47067657113075256,
0.11761481314897537,
0.07839018106460571,
-0.017061755061149597,
0.032743655145168304,
0.26283612847328186,
-0.016437064856290817,
0.047920867800712585,
-0.07227839529514313,
-0.07243942469358444,
0.09392114728689194,
0.4451581835746765,
0.23269566893577576,
-0.10654521733522415,
0.3068154752254486,
-0.12590719759464264,
0.32107916474342346,
0.09975719451904297,
-0.11609546840190887,
0.3496520221233368,
-0.28399375081062317,
0.42010587453842163,
-0.17410898208618164,
-0.2884141802787781,
0.2527438998222351,
0.09394857287406921,
-0.09258460998535156,
0.29328688979148865,
-0.13184911012649536,
-0.3620615601539612,
-0.07463524490594864,
0.12400442361831665,
-0.10514906048774719,
-0.21790523827075958,
0.4135625958442688,
-0.34793758392333984,
0.11027757078409195,
-0.020271236076951027,
-0.20133063197135925,
-0.01982533186674118,
-0.13455089926719666,
0.02401578426361084,
0.6042561531066895,
-0.26572683453559875,
0.21697039902210236,
-0.39772388339042664,
-0.22117412090301514,
-0.3502601683139801,
0.07368965446949005,
0.08532233536243439,
0.7597580552101135,
-0.2408764511346817,
0.013049442321062088,
-0.06939008831977844,
-0.06444224715232849,
0.36415886878967285,
-0.41235896944999695,
-0.07052922993898392,
0.3547753691673279,
-0.023285888135433197,
-0.020526394248008728,
-0.1990867704153061,
-0.21329165995121002,
0.246563121676445,
0.2876620888710022,
0.43379560112953186,
-0.24915486574172974,
-0.1703665405511856,
0.05207407474517822,
0.4705135226249695,
0.0026680193841457367,
-0.07981909066438675,
-0.30565983057022095,
-0.3170180320739746,
-0.28452086448669434,
0.0995887815952301,
-0.14418160915374756,
0.4466295838356018,
-0.23707163333892822,
0.2158506065607071,
0.13894449174404144,
-0.12386859208345413,
0.268318235874176,
0.1628452092409134,
0.24047186970710754,
0.11706025898456573,
-0.07550022006034851,
-0.15363258123397827,
0.07006394863128662,
0.235613152384758,
0.5216185450553894,
-0.2207382321357727,
0.14530892670154572,
0.12851549685001373,
-0.12695325911045074,
0.7141358852386475,
0.44098472595214844,
0.04969564452767372,
0.24507665634155273,
-0.17285357415676117,
-0.1741844266653061,
-0.22048626840114594,
0.2894509732723236,
0.14724908769130707,
0.25485852360725403,
-0.24911007285118103,
-0.4296281039714813,
0.13335058093070984,
-0.04867958277463913,
0.15192759037017822,
0.1666681170463562,
-0.20540620386600494,
-0.42584970593452454,
0.3957880139350891,
-0.22202789783477783,
1.0809882879257202,
0.014635555446147919,
0.3812633454799652,
0.21379181742668152,
0.36920326948165894,
0.17509065568447113,
-0.21166466176509857,
0.07233382761478424,
-0.4818965196609497,
0.04875028505921364,
0.07952761650085449,
-0.1518847942352295,
0.2233961820602417,
0.1660996675491333,
-0.08175806701183319,
0.1412801444530487,
0.019155308604240417,
0.4821555018424988,
0.3272210657596588,
0.30938661098480225,
-0.036171771585941315,
0.009549790993332863,
-0.2527308166027069,
0.05876155197620392,
-0.0005185641348361969,
0.2461526244878769,
-0.1340050846338272,
-0.05895949900150299,
-0.18470318615436554,
-0.23884700238704681,
-0.2687947154045105,
0.18546196818351746,
-0.173818901181221,
-0.10724210739135742,
-0.07957224547863007,
-0.19506317377090454,
0.25555354356765747,
-0.202993243932724,
0.3093305230140686,
0.30138838291168213,
-0.21910852193832397,
-0.03486957028508186,
0.10622996091842651,
0.06406058371067047,
0.37848910689353943,
-0.10887744277715683,
0.4272775948047638,
-0.12334150075912476,
-0.45494210720062256,
0.16172990202903748,
-0.08373939990997314,
-0.1124563217163086,
-0.017647922039031982,
-0.2522915005683899,
0.1750444769859314,
-0.10138104110956192,
-0.5383107662200928,
0.16042815148830414,
0.03561988100409508,
-0.16660261154174805,
0.0985291600227356,
0.044015057384967804,
-0.37354281544685364,
0.018153361976146698,
0.0882902443408966,
-0.26903659105300903,
-0.14043961465358734,
0.10873261839151382,
0.15598875284194946,
-0.21847476065158844,
0.45205456018447876,
0.06278689205646515,
0.10703159868717194,
-0.19220563769340515,
-0.08714485168457031,
0.2924870550632477,
-0.40458986163139343,
-0.07282847911119461,
0.14396356046199799,
-0.25162839889526367,
0.11527353525161743,
-0.008069436997175217,
0.12734591960906982,
0.11622592806816101,
-0.02947637066245079,
-0.5113908052444458,
-0.3373153805732727,
0.06292203068733215,
-0.016340315341949463,
0.2455158531665802,
0.05839644372463226,
0.43553322553634644,
0.02019752748310566,
0.08534564822912216,
-0.29199832677841187,
0.0749065950512886,
-0.08754795789718628,
0.4013969302177429,
-0.20878565311431885,
-0.06786393374204636,
0.1714472472667694,
-0.17470529675483704,
0.08811963349580765,
-0.09198120981454849,
-0.11680340766906738,
-0.18858647346496582,
-0.10673312842845917,
0.19593794643878937,
0.32574066519737244,
-0.01969154365360737,
0.18859055638313293,
-0.3259257674217224,
0.041100479662418365,
-0.12376655638217926,
0.03506293147802353,
-0.1333787888288498,
-0.1833336502313614,
0.39935845136642456,
0.6008492112159729,
-0.006085403263568878,
-0.15709049999713898,
-0.043946437537670135,
-0.07760405540466309,
0.04519530013203621,
-0.0015678773634135723,
0.19896505773067474,
-0.09006879478693008,
0.13302938640117645,
-0.10163057595491409,
0.1473819762468338,
-0.06605561077594757,
0.3410855829715729,
-0.14875289797782898,
-0.2018882781267166,
0.12581586837768555,
-0.14662708342075348,
0.3575294315814972,
0.25467997789382935,
-0.31406164169311523,
0.11263974010944366,
0.3955487608909607,
0.10498972982168198,
-0.423218697309494,
0.1459682136774063,
0.4612736999988556,
-0.15664799511432648,
0.14513692259788513,
0.4100068509578705,
0.47640904784202576,
-0.04085344076156616,
0.21513371169567108,
-0.05670374631881714,
-0.1176290512084961,
0.004914123564958572,
0.23927488923072815,
0.23689588904380798,
-0.11456361413002014,
0.17083141207695007,
0.13421177864074707,
-0.03711487725377083,
-0.10878347605466843,
0.2655790150165558,
-0.00948583334684372,
0.3978727459907532,
0.08284130692481995,
-0.25985491275787354,
-0.06788931041955948,
-0.26458850502967834,
0.6285993456840515,
0.11288513243198395,
0.32553955912590027,
-0.08027755469083786,
0.07105140388011932,
0.6559121012687683,
-0.21351346373558044,
-0.2961632013320923,
0.05319160223007202,
-0.011008255183696747,
-0.21727275848388672,
-0.038855671882629395,
0.10259918868541718,
-0.008318208158016205,
-0.3815092146396637,
-0.07287708669900894,
-0.2722316086292267,
-0.044956594705581665,
-0.24589204788208008,
0.15450860559940338,
-0.27179813385009766,
-0.31415820121765137,
-0.043579623103141785,
0.12038151919841766,
-0.07378015667200089,
-0.06122947484254837,
0.3535589575767517,
0.0003970488905906677,
-0.1489088088274002,
0.02867623046040535,
0.04708980768918991,
0.21966147422790527,
0.3678663671016693,
0.014566381461918354,
-0.09179329872131348,
0.028157606720924377,
0.23294122517108917,
0.12184739112854004,
0.005355698987841606,
0.42800891399383545,
-0.05751846358180046,
0.11511959135532379,
0.1448676586151123,
-0.08501411229372025,
0.12274987995624542,
0.2898886203765869,
-0.4907127618789673,
-0.03374377638101578,
0.4920361042022705,
0.3433564603328705,
0.050823792815208435,
-0.3386494219303131,
0.24153214693069458,
-0.34349900484085083,
-0.10747183114290237,
0.6428536176681519,
0.38048622012138367,
0.10817477852106094,
-0.19462358951568604,
0.07352083176374435,
0.23247183859348297,
0.17713209986686707,
0.16179706156253815,
0.012440308928489685,
-0.33690145611763,
-0.21544137597084045,
-0.8147187829017639,
0.2345564067363739,
-0.013907238841056824,
-0.05446043983101845,
0.18093450367450714,
-0.15024074912071228,
0.612668514251709,
0.05827703699469566,
-0.134215846657753,
0.5435371398925781,
0.15039564669132233,
-0.26420503854751587,
-0.29304713010787964,
-0.17318299412727356,
-0.3244616985321045,
0.10864606499671936,
-0.14165592193603516,
-0.2699214220046997,
0.03687255084514618,
-0.12135615199804306,
0.008412148803472519,
-0.36737728118896484,
-0.13645178079605103,
0.22957080602645874,
0.24632032215595245,
0.05254951864480972,
-0.12364588677883148,
0.644310712814331,
-0.09906277805566788,
-0.001405760645866394,
-0.10852295160293579,
-0.19830690324306488,
-0.23262210190296173,
0.1770123541355133,
-0.13510461151599884,
0.20903834700584412,
-0.12175396084785461,
-0.1392190009355545,
-0.42459970712661743,
0.15690878033638,
-0.015897536650300026,
-0.4140353500843048,
-0.18937020003795624,
0.18016976118087769,
0.016223765909671783,
0.04638277366757393,
0.020856589078903198,
0.449834406375885,
-0.12269774079322815,
0.33081191778182983,
-0.30670037865638733,
-0.19932812452316284,
0.5809704065322876,
0.01902608945965767,
-0.35767292976379395,
-0.2274271845817566,
0.17291487753391266,
-0.12268521636724472,
0.12287374585866928,
-0.4211972951889038,
-0.036937206983566284,
0.21084843575954437,
0.07564686983823776,
-0.18203985691070557,
0.5769774317741394,
-0.03831716254353523,
0.06701578199863434,
-0.06235085800290108,
0.19973912835121155,
0.02391832508146763,
0.060808636248111725,
-0.2254307121038437,
-0.2937919497489929
] |
https://github.com/huggingface/datasets/pull/528 | fix missing variable names in docs | The problem came from `default: ` that is rendered differently and hides the parameter names. I changed `default: ...` to `defaults to ...` | fix #524 | 23 | text: fix missing variable names in docs
fix #524
The problem came from `default: ` that is rendered differently and hides the parameter names. I changed `default: ...` to `defaults to ...` | [
-0.05156630277633667,
-0.13803578913211823,
-0.12504874169826508,
-0.10254409909248352,
0.3009902834892273,
-0.2133096158504486,
0.21102097630500793,
0.39688563346862793,
-0.012132327072322369,
0.4090888500213623,
0.27326124906539917,
0.39724403619766235,
0.1025206595659256,
0.04653293639421463,
0.03685537725687027,
-0.1595553308725357,
-0.05204830318689346,
0.1960480511188507,
0.06343179196119308,
-0.06216411665081978,
-0.27018171548843384,
0.24536125361919403,
-0.055149562656879425,
0.037850555032491684,
-0.10852904617786407,
0.1483178585767746,
0.1160181313753128,
0.1907518208026886,
-0.17228294909000397,
-0.26675063371658325,
-0.2711681127548218,
0.06637754291296005,
-0.11641297489404678,
-0.03390830010175705,
-0.00009233639138983563,
0.015422724187374115,
0.2333715558052063,
-0.13452517986297607,
-0.21222545206546783,
0.20611444115638733,
-0.2643566131591797,
-0.04217391461133957,
0.21258483827114105,
-0.18441055715084076,
0.0210464745759964,
0.014273714274168015,
-0.0848115086555481,
-0.15496602654457092,
-0.02109256386756897,
0.305624395608902,
0.415816068649292,
0.1727883368730545,
-0.1325410008430481,
-0.13932573795318604,
0.204255610704422,
-0.07035379111766815,
-0.14737285673618317,
-0.16161184012889862,
0.20511281490325928,
-0.053945958614349365,
-0.06239975243806839,
0.35579806566238403,
0.10461905598640442,
-0.006243890151381493,
0.051087092608213425,
-0.10472533106803894,
0.3063220977783203,
0.0010960586369037628,
0.2515450716018677,
-0.056942105293273926,
0.3479160666465759,
-0.16272693872451782,
0.07240744680166245,
0.07401467114686966,
-0.08663253486156464,
-0.07533815503120422,
0.26480987668037415,
-0.1761908382177353,
0.07259771227836609,
-0.057319093495607376,
0.02904912456870079,
-0.1966467946767807,
-0.036636531352996826,
0.1180465891957283,
0.20906531810760498,
-0.009663283824920654,
-0.07330457866191864,
-0.16787296533584595,
-0.08970797061920166,
-0.18835200369358063,
0.08438107371330261,
-0.034105781465768814,
-0.19376012682914734,
0.01679510809481144,
0.2205274999141693,
0.1169927567243576,
0.2795369029045105,
-0.026636436581611633,
0.11491783708333969,
-0.016162291169166565,
0.22216276824474335,
0.25555419921875,
0.13702648878097534,
0.18959510326385498,
-0.06441442668437958,
0.04447322338819504,
0.3807658553123474,
0.04374898597598076,
0.29344892501831055,
0.2419576197862625,
0.06163981929421425,
-0.13177230954170227,
-0.006154350005090237,
-0.29938769340515137,
-0.11765505373477936,
0.156659334897995,
0.33970528841018677,
-0.21350419521331787,
-0.007376404479146004,
0.1747591346502304,
-0.02364254929125309,
-0.04220008850097656,
0.020525246858596802,
0.3978227376937866,
0.04587569087743759,
0.15737515687942505,
0.2906920313835144,
-0.06472572684288025,
-0.3300231397151947,
-0.13077367842197418,
-0.42363524436950684,
0.005748417228460312,
-0.24493838846683502,
0.07036300003528595,
0.15621738135814667,
0.20507211983203888,
0.42140448093414307,
0.10180532932281494,
0.26785701513290405,
-0.1361575871706009,
0.01543627493083477,
0.3017197549343109,
0.0843392014503479,
0.0654253363609314,
0.1666359156370163,
0.040095098316669464,
0.11271063983440399,
-0.09544219821691513,
0.17600920796394348,
0.04694191366434097,
-0.2332538366317749,
-0.07047856599092484,
-0.21600393950939178,
0.42934876680374146,
0.14835722744464874,
0.13893136382102966,
0.27803507447242737,
0.026673633605241776,
0.029991067945957184,
-0.08199423551559448,
-0.07654603570699692,
-0.042234867811203,
0.19869500398635864,
-0.16023734211921692,
0.13677126169204712,
0.1969427615404129,
-0.07067457586526871,
-0.1292450875043869,
0.14562711119651794,
-0.0019895005971193314,
0.13312624394893646,
-0.18262162804603577,
-0.20838329195976257,
-0.06146258860826492,
-0.11767043173313141,
0.1870007961988449,
0.14357633888721466,
-0.33181145787239075,
0.04118714481592178,
0.1432543694972992,
0.2089853137731552,
-0.32702967524528503,
-0.0332014337182045,
-0.46504485607147217,
0.19909776747226715,
0.07255273312330246,
0.14947807788848877,
-0.1152040958404541,
-0.03384345769882202,
0.28784608840942383,
-0.4596391022205353,
0.10881930589675903,
-0.4463529586791992,
-0.15147720277309418,
0.11294758319854736,
0.09429986774921417,
0.04544292017817497,
0.0011162329465150833,
0.20347988605499268,
-0.272318035364151,
0.034463826566934586,
0.36024540662765503,
0.2830076515674591,
0.01626795157790184,
0.19540171325206757,
0.07758551836013794,
-0.29326313734054565,
-0.13947798311710358,
0.11964146792888641,
0.07349509000778198,
0.15511064231395721,
0.025299977511167526,
-0.17954283952713013,
-0.14965178072452545,
-0.04926621541380882,
0.05222213268280029,
0.3735615909099579,
0.4033185541629791,
-0.2876621186733246,
-0.04632851853966713,
-0.19009517133235931,
-0.31271296739578247,
-0.273598313331604,
-0.07846012711524963,
0.08865684270858765,
-0.10071532428264618,
-0.257552832365036,
-0.16401846706867218,
0.24071839451789856,
-0.12257937341928482,
0.2440212368965149,
0.17390552163124084,
-0.18344959616661072,
0.4085369110107422,
0.04569493979215622,
-0.05639134347438812,
0.06988068670034409,
0.2755396366119385,
0.052872128784656525,
-0.1538238525390625,
0.057440824806690216,
0.07440297305583954,
0.08425315469503403,
-0.031885627657175064,
-0.17645737528800964,
0.11432886123657227,
0.002730049192905426,
0.12565205991268158,
0.07298962026834488,
-0.047122422605752945,
0.3136487305164337,
-0.158785879611969,
-0.091482974588871,
-0.48442092537879944,
0.10041846334934235,
0.13388757407665253,
0.22655804455280304,
-0.2411637157201767,
-0.2626776397228241,
0.17534604668617249,
0.12150517106056213,
0.17561671137809753,
0.11349184066057205,
-0.14822202920913696,
0.04637151211500168,
0.019855331629514694,
-0.16534966230392456,
0.07464486360549927,
0.14216037094593048,
0.3524531424045563,
-0.0942448079586029,
-0.1198016032576561,
-0.0950804278254509,
-0.22004243731498718,
0.2415546476840973,
0.08695478737354279,
-0.11925207823514938,
0.4007253646850586,
-0.02442026697099209,
-0.3506271243095398,
-0.3568470776081085,
0.031563084572553635,
0.11462315171957016,
0.058349862694740295,
-0.4196644127368927,
-0.04882696270942688,
-0.19680200517177582,
-0.170328289270401,
0.18436041474342346,
-0.09172277897596359,
0.1212628185749054,
-0.30100202560424805,
0.25364333391189575,
-0.06989742815494537,
-0.5162506103515625,
0.42633071541786194,
-0.013927825726568699,
0.2881429195404053,
0.10278724133968353,
0.3174925744533539,
-0.328382670879364,
-0.1057485044002533,
-0.1261182427406311,
0.22683179378509521,
-0.10491366684436798,
-0.27353596687316895,
0.21317997574806213,
-0.1829218715429306,
0.14333045482635498,
-0.3122933804988861,
-0.41269218921661377,
0.26507338881492615,
0.18405410647392273,
0.3360930383205414,
0.24301892518997192,
0.1345292627811432,
0.07127334177494049,
-0.16600269079208374,
0.31516242027282715,
-0.15472498536109924,
-0.0732450783252716,
-0.17311358451843262,
0.06096867099404335,
-0.28695443272590637,
-0.4472711384296417,
-0.3818780481815338,
0.39761874079704285,
-0.34687963128089905,
-0.2774733304977417,
0.08292461931705475,
0.0848865881562233,
0.23491939902305603,
0.08611921966075897,
-0.11002395302057266,
-0.013477258384227753,
0.2074746936559677,
-0.2108686864376068,
-0.2007930427789688,
0.27038198709487915,
-0.4429757595062256,
-0.2242705374956131,
-0.007381286472082138,
-0.02198381908237934,
0.19388575851917267,
-0.04274263232946396,
-0.026519089937210083,
-0.13779081404209137,
0.07327670603990555,
-0.09133537113666534,
0.001962970942258835,
0.09094082564115524,
0.10229416191577911,
0.21656419336795807,
-0.3170284628868103,
-0.6162938475608826,
-0.36816471815109253,
0.0217839777469635,
0.04807639867067337,
0.37234926223754883,
-0.2448551058769226,
0.09079673886299133,
-0.20570556819438934,
0.4659882187843323,
-0.33103224635124207,
0.07621865719556808,
0.3129963278770447,
-0.15275904536247253,
0.3705824911594391,
0.06400955468416214,
-0.109737329185009,
-0.07581472396850586,
0.12664873898029327,
0.06898156553506851,
0.4132513999938965,
0.04007868468761444,
-0.3078109323978424,
-0.095578134059906,
0.020406797528266907,
-0.2344324290752411,
-0.3024919331073761,
0.008348665200173855,
0.14439895749092102,
0.2047063708305359,
0.22493135929107666,
0.23306334018707275,
-0.18773837387561798,
0.1209048256278038,
0.21163873374462128,
0.1855977177619934,
0.0033084750175476074,
-0.15719537436962128,
-0.18615996837615967,
0.19683441519737244,
-0.13930532336235046,
0.10029791295528412,
-0.05320284143090248,
0.11794506758451462,
-0.07910861819982529,
-0.3873186707496643,
-0.11430315673351288,
-0.09716982394456863,
0.21385177969932556,
-0.17549443244934082,
-0.07115920633077621,
0.3906269073486328,
-0.05334100127220154,
0.09456662833690643,
-0.2277512550354004,
-0.27046704292297363,
0.22715695202350616,
0.13095344603061676,
0.1716996729373932,
-0.2483670711517334,
-0.13717591762542725,
0.11211320757865906,
-0.3342666029930115,
-0.2655281722545624,
0.054974380880594254,
-0.1653377115726471,
-0.18533042073249817,
-0.19613297283649445,
-0.14775431156158447,
-0.10653509199619293,
0.10891753435134888,
0.035294316709041595,
0.001592203974723816,
0.17637118697166443,
-0.20134833455085754,
-0.02578200399875641,
0.23864777386188507,
0.3634813725948334,
-0.17081435024738312,
0.11279994249343872,
-0.047873057425022125,
0.30739715695381165,
0.2567497193813324,
-0.009342100471258163,
-0.2988356053829193,
-0.08235117793083191,
0.2011023759841919,
-0.2849732041358948,
0.2780308723449707,
0.17090384662151337,
-0.10905659198760986,
-0.03249914199113846,
-0.10605056583881378,
0.2070649266242981,
0.16227875649929047,
0.2601986229419708,
0.258103609085083,
-0.16888432204723358,
0.1226455345749855,
-0.1387776881456375,
0.1435193121433258,
-0.12217099964618683,
-0.1673511266708374,
0.4193570017814636,
0.09263307601213455,
-0.24527175724506378,
-0.05766569450497627,
0.2192882001399994,
0.7548328042030334,
0.3379250764846802,
-0.14944815635681152,
0.10556801408529282,
-0.32241594791412354,
-0.07256259024143219,
0.025987856090068817,
0.13981667160987854,
-0.439217746257782,
0.11069373786449432,
0.26834768056869507,
0.028842631727457047,
0.008968647569417953,
-0.13439470529556274,
-0.25050467252731323,
-0.05904257670044899,
-0.13423722982406616,
0.10770360380411148,
0.06194424629211426,
-0.042910460382699966,
0.06209108233451843,
-0.1208355575799942,
0.18126003444194794,
0.30776047706604004,
-0.059437260031700134,
-0.18083380162715912,
-0.28428220748901367,
-0.08705262094736099,
0.2524694800376892,
-0.3461682200431824,
0.09511321783065796,
0.17910072207450867,
-0.22688303887844086,
-0.04179411754012108,
-0.0012039393186569214,
0.07020936906337738,
-0.23922938108444214,
0.04720228537917137,
0.012009553611278534,
0.13405674695968628,
-0.21576330065727234,
0.43561676144599915,
0.08264980465173721,
-0.004885154776275158,
-0.2548675239086151,
0.2914750277996063,
0.02002972923219204,
-0.1796720325946808,
-0.09480726718902588,
-0.09751399606466293,
-0.09365831315517426,
-0.08906590938568115,
-0.5690659880638123,
0.004927590489387512,
0.09322959184646606,
-0.30310314893722534,
0.15497437119483948,
0.010770946741104126,
-0.09612204134464264,
-0.3902958631515503,
0.3784405589103699,
-0.11545176804065704,
0.04176772013306618,
0.2937827706336975,
0.35754498839378357,
-0.04275868088006973,
-0.040339697152376175,
0.13791964948177338,
0.008828278630971909,
-0.09701687097549438,
0.03962444141507149,
-0.0018107779324054718,
-0.35776734352111816,
-0.432795912027359,
-0.137169748544693,
-0.11220274865627289,
-0.13061003386974335,
0.3501431941986084,
0.01941794902086258,
-0.28740599751472473,
0.23009169101715088,
0.2560015916824341,
-0.1924382746219635,
0.0001638159155845642,
-0.09190711379051208,
0.07612882554531097,
-0.09966149181127548,
0.10289658606052399,
-0.24985070526599884,
0.2920956015586853,
-0.02219787798821926,
0.016456367447972298,
-0.03155554458498955,
-0.03697528690099716,
-0.5447036623954773,
-0.07584153115749359,
-0.14632229506969452,
0.13991579413414001,
-0.06801963597536087,
-0.020005367696285248,
0.20774264633655548,
-0.012855385430157185,
0.3193584382534027,
-0.009197540581226349,
-0.029932234436273575,
-0.42259106040000916,
-0.1755845993757248,
0.053527697920799255,
-0.09470754116773605,
0.001229307148605585,
0.04979332908987999,
0.16237936913967133,
-0.12288916110992432,
-0.07937883585691452,
0.1265587955713272,
0.04823266714811325,
-0.05902208387851715,
0.24819709360599518,
-0.05734940245747566,
0.008286107331514359,
0.36961668729782104,
0.03222135081887245,
0.2888748049736023,
0.3602936863899231,
-0.20052827894687653,
-0.08788298070430756,
-0.3139454424381256,
-0.2449880987405777,
0.43677985668182373,
0.03508296608924866,
-0.0922553688287735,
0.37296438217163086,
0.11735621839761734,
-0.08337070047855377,
-0.1264325976371765,
0.04231317341327667,
-0.005110933445394039,
0.14099672436714172,
-0.3431514501571655,
0.09742465615272522,
-0.09156166017055511,
0.48144081234931946,
-0.21350623667240143,
-0.21812984347343445,
-0.09913976490497589,
-0.14587877690792084,
0.26389795541763306,
-0.08930718153715134,
-0.03538329154253006,
-0.5547049045562744,
0.363772451877594,
0.18195801973342896,
0.10940206795930862,
-0.19696013629436493,
-0.20373085141181946,
0.27859434485435486,
-0.20914332568645477,
0.020776890218257904,
0.17872729897499084,
0.13028161227703094,
0.11281981319189072,
0.37543559074401855,
0.17718511819839478,
-0.04821629077196121,
0.21346664428710938,
0.03858344256877899,
0.035725485533475876,
-0.021840900182724,
0.13714899122714996,
-0.07157339155673981,
0.0783662497997284,
0.17379313707351685,
0.1226990818977356,
-0.1410483717918396,
0.25962409377098083,
0.04325386881828308,
-0.2128913700580597,
-0.02032754197716713,
-0.24810251593589783,
-0.11975614726543427,
-0.45466113090515137,
-0.08887456357479095,
-0.009197220206260681,
0.05486506596207619,
0.10629430413246155,
0.2099497765302658,
0.06394316256046295,
-0.03634481877088547,
0.04729001596570015,
0.06428233534097672,
-0.02218913659453392,
0.018867429345846176,
0.15858031809329987,
-0.18373827636241913,
0.2093333601951599,
0.033970609307289124,
-0.0909411758184433,
-0.011115625500679016,
0.19629275798797607,
0.2509419322013855,
0.27256274223327637,
0.06592394411563873,
-0.27100175619125366,
0.07275855541229248,
-0.05512746796011925,
-0.04250194504857063,
0.10812424123287201,
0.2950490713119507,
0.10734999179840088,
0.14430111646652222,
0.327254980802536,
-0.3741118907928467,
-0.070267453789711,
-0.038847800344228745,
-0.18428568542003632,
0.4537767171859741,
-0.1857893168926239,
0.1648242324590683,
0.05038528889417648,
-0.15812794864177704,
-0.1781812310218811,
-0.46330899000167847,
-0.28639286756515503,
0.27933046221733093,
0.13836707174777985,
0.10407453030347824,
-0.1870744526386261,
0.20342765748500824,
0.21817708015441895,
0.29918918013572693,
-0.08584094047546387,
-0.2258220911026001,
-0.03133907914161682,
-0.29239779710769653,
-0.04753938317298889,
0.21913641691207886,
0.07317187637090683,
-0.044926755130290985,
-0.05029268562793732,
0.19310247898101807,
0.1915455162525177,
-0.21967457234859467,
0.25734108686447144,
-0.1940384805202484,
0.15531286597251892,
-0.018412239849567413,
-0.43146392703056335,
0.0377112552523613,
0.11507481336593628,
-0.07843904942274094,
0.30419278144836426,
-0.12601974606513977,
-0.0015890225768089294,
-0.0320746973156929,
0.36514872312545776,
-0.22960852086544037,
-0.12152229249477386,
0.18153603374958038,
0.3154867887496948,
0.21146950125694275,
-0.04168374836444855,
0.25599876046180725,
-0.423024445772171,
-0.1390610635280609,
0.08161723613739014,
-0.18829455971717834,
0.015150393359363079,
0.09193660318851471,
0.12506337463855743,
-0.1417519748210907,
0.14349447190761566,
-0.14220213890075684,
-0.2242305725812912,
0.2520502805709839,
0.0008857399225234985,
0.19830307364463806,
-0.23239707946777344,
0.20498868823051453,
0.1378496289253235,
-0.0176595039665699,
-0.1972866952419281,
0.06554624438285828,
-0.1811751425266266,
-0.0583425909280777,
-0.29490554332733154,
-0.5044678449630737,
0.6051170825958252,
0.017826765775680542,
-0.2506021559238434,
-0.18575386703014374,
0.32767874002456665,
0.12634044885635376,
0.08048924803733826,
-0.39412951469421387,
-0.049749817699193954,
0.11110104620456696,
-0.05976256728172302,
-0.3118760883808136,
0.30390501022338867,
-0.03975313529372215,
0.09916312992572784,
0.1065673977136612,
0.07676036655902863,
0.41603463888168335,
0.026905490085482597,
-0.14801688492298126,
-0.13905462622642517
] |
https://github.com/huggingface/datasets/pull/521 | Fix dictionnary (dictionary) typo | Hahah thanks Yonatan. It was not on purpose, we are just not very good at spelling :) | This error happens many times I'm thinking maybe its spelled like this on purpose? | 17 | text: Fix dictionnary (dictionary) typo
This error happens many times I'm thinking maybe its spelled like this on purpose?
Hahah thanks Yonatan. It was not on purpose, we are just not very good at spelling :) | [
0.31618887186050415,
-0.4381970763206482,
-0.3104179799556732,
-0.11413626372814178,
0.16223245859146118,
-0.15441925823688507,
-0.07250131666660309,
0.16523100435733795,
-0.17731410264968872,
-0.04567892849445343,
0.30145740509033203,
0.021353576332330704,
0.11706869304180145,
0.0343962088227272,
-0.22551608085632324,
0.03529155254364014,
-0.0077165961265563965,
0.07913019508123398,
-0.24635669589042664,
0.012392759323120117,
-0.27341675758361816,
0.11766144633293152,
-0.17458811402320862,
0.16575512290000916,
-0.18587817251682281,
0.07389549911022186,
-0.0077345240861177444,
0.07104028761386871,
-0.23057064414024353,
-0.22393463551998138,
-0.044008683413267136,
0.24688883125782013,
-0.3501890003681183,
0.14596591889858246,
-0.00009444435272598639,
-0.2174241691827774,
0.34037894010543823,
-0.19134493172168732,
-0.11255297064781189,
0.1594121754169464,
-0.1906842589378357,
-0.13892167806625366,
-0.05730060487985611,
-0.2186838686466217,
-0.09280070662498474,
0.1753242313861847,
0.016179146245121956,
-0.1497143805027008,
0.11270030587911606,
0.22859573364257812,
0.4291924834251404,
-0.4311792850494385,
0.0965728759765625,
-0.1389278918504715,
0.1381424367427826,
-0.11529234051704407,
-0.13907648622989655,
-0.06903229653835297,
0.04329796880483627,
-0.2306789606809616,
0.207027867436409,
0.24334324896335602,
-0.19435739517211914,
0.15469999611377716,
0.09627488255500793,
-0.19939114153385162,
0.1329701989889145,
-0.0010560862720012665,
-0.09044145792722702,
0.04855045676231384,
0.3186189532279968,
-0.2915416657924652,
0.023082515224814415,
0.21649444103240967,
0.029870085418224335,
-0.17976848781108856,
0.32335740327835083,
-0.030752630904316902,
0.03480660915374756,
0.046611275523900986,
0.26577138900756836,
-0.18292182683944702,
0.07370765507221222,
0.14061282575130463,
0.03330310434103012,
0.2862759828567505,
-0.15566283464431763,
-0.04218043386936188,
-0.040075596421957016,
-0.05872034281492233,
-0.21410228312015533,
0.3013201057910919,
-0.009227819740772247,
-0.2209777683019638,
0.08173617720603943,
-0.051284633576869965,
0.11172103136777878,
0.07882075756788254,
-0.057271987199783325,
-0.13529008626937866,
0.08227131515741348,
0.05766839534044266,
0.062213826924562454,
-0.033990539610385895,
0.3923432230949402,
-0.1850452721118927,
0.4147814214229584,
0.18445426225662231,
0.042833756655454636,
0.24184300005435944,
0.08494913578033447,
0.12004925310611725,
0.28806251287460327,
-0.29559841752052307,
-0.19373728334903717,
0.17700105905532837,
0.14038409292697906,
0.026624683290719986,
-0.09490635246038437,
0.14229823648929596,
-0.29976508021354675,
-0.0014076586812734604,
-0.3135431110858917,
0.2671777307987213,
-0.020218081772327423,
0.26640185713768005,
0.09461776912212372,
-0.10960894823074341,
-0.036771319806575775,
-0.17773772776126862,
-0.18288089334964752,
0.32078659534454346,
0.0007229112088680267,
-0.11455536633729935,
-0.33860865235328674,
0.24278120696544647,
0.018505146726965904,
0.07148409634828568,
0.045175570994615555,
-0.2830227315425873,
-0.16610147058963776,
-0.01612372323870659,
-0.2393626570701599,
0.3140062987804413,
0.008373107761144638,
0.10935807973146439,
0.19357392191886902,
-0.15390491485595703,
0.11586124449968338,
0.28138116002082825,
0.1060282289981842,
-0.04115418344736099,
-0.35576972365379333,
0.412136971950531,
0.14634793996810913,
-0.0263737291097641,
0.25167664885520935,
-0.15736934542655945,
0.40597397089004517,
-0.06491872668266296,
0.2932674288749695,
0.01607290841639042,
0.05379950627684593,
-0.12821336090564728,
-0.325991153717041,
-0.03512941300868988,
-0.23262947797775269,
0.10909020900726318,
-0.12213856726884842,
0.001039259135723114,
0.39848771691322327,
0.26607099175453186,
0.26229459047317505,
0.20456892251968384,
-0.12039288133382797,
-0.14131741225719452,
0.1791805475950241,
-0.23279084265232086,
-0.18533536791801453,
-0.3082270622253418,
-0.23049402236938477,
-0.055224742740392685,
0.07562308758497238,
-0.11462511867284775,
-0.08302843570709229,
0.1584210842847824,
0.36288735270500183,
-0.05565987527370453,
0.14828656613826752,
-0.014319565147161484,
-0.4680059850215912,
0.16009843349456787,
0.02321402169764042,
-0.1285858452320099,
-0.18661609292030334,
-0.09766679257154465,
0.04221390187740326,
0.07213954627513885,
0.07221825420856476,
0.06983625888824463,
-0.10785211622714996,
0.150408536195755,
0.4214394986629486,
0.35268664360046387,
0.40962108969688416,
0.07015237212181091,
-0.040626876056194305,
-0.24197843670845032,
0.08254750072956085,
0.10971391201019287,
-0.046563565731048584,
-0.15738460421562195,
-0.1276213526725769,
-0.20210938155651093,
-0.22813044488430023,
-0.041713815182447433,
0.43103063106536865,
0.14231762290000916,
0.04979647323489189,
0.11310464143753052,
-0.22048723697662354,
0.07067468762397766,
-0.15199241042137146,
0.035952214151620865,
0.0846441388130188,
-0.22272169589996338,
-0.36846044659614563,
0.14249473810195923,
-0.22390292584896088,
0.12773725390434265,
0.06372228264808655,
0.18824097514152527,
-0.1277151107788086,
0.24058833718299866,
-0.05852812901139259,
-0.1590721160173416,
-0.18978360295295715,
-0.02948792278766632,
-0.03786933422088623,
-0.34887024760246277,
-0.10858630388975143,
0.1876535266637802,
0.12386007606983185,
-0.20772439241409302,
0.12252172827720642,
0.005640007555484772,
0.11847427487373352,
-0.025244012475013733,
-0.09833328425884247,
0.2175091952085495,
0.382459431886673,
0.11749325692653656,
0.005968835204839706,
-0.5307455658912659,
0.32174965739250183,
-0.12562061846256256,
-0.07657082378864288,
-0.1281435340642929,
0.22900009155273438,
-0.03456779569387436,
0.23647767305374146,
0.052423980087041855,
0.38424158096313477,
0.05806681141257286,
0.28670254349708557,
0.06640739738941193,
-0.2761389911174774,
0.1981055587530136,
0.013997778296470642,
0.06429531425237656,
-0.21468472480773926,
0.08385872840881348,
0.05770294740796089,
-0.2234344184398651,
0.1915929764509201,
0.1087254211306572,
0.1955774873495102,
0.10836991667747498,
-0.036788295954465866,
0.07972963154315948,
-0.13290679454803467,
-0.06765177845954895,
0.08627261966466904,
0.27785518765449524,
-0.10873754322528839,
-0.1912575364112854,
-0.08497442305088043,
-0.24856168031692505,
0.12043938040733337,
-0.1720426231622696,
-0.0012478604912757874,
-0.31115609407424927,
0.303261935710907,
-0.035821255296468735,
-0.32647189497947693,
-0.10742976516485214,
0.33018115162849426,
0.1354541778564453,
0.1609683334827423,
0.270656943321228,
-0.036850251257419586,
-0.2402130514383316,
0.05234623700380325,
0.25013017654418945,
-0.14623506367206573,
-0.22869309782981873,
0.3206290602684021,
-0.4194929301738739,
-0.2853156328201294,
-0.40281522274017334,
-0.20543172955513,
0.1099165827035904,
-0.1149975061416626,
-0.13212673366069794,
0.41705527901649475,
0.11227960884571075,
0.06898848712444305,
0.013339136727154255,
0.25589150190353394,
0.24852001667022705,
-0.07160453498363495,
0.16082017123699188,
0.10463759303092957,
0.1461687833070755,
-0.2628380060195923,
-0.231080561876297,
0.036326825618743896,
-0.24377532303333282,
0.1198030412197113,
-0.12337994575500488,
0.12078553438186646,
0.07456560432910919,
-0.20943108201026917,
0.1259947568178177,
-0.18661266565322876,
0.1749132126569748,
-0.20591212809085846,
0.3553043007850647,
-0.06567585468292236,
-0.13857857882976532,
-0.03157484903931618,
-0.17413853108882904,
-0.015342782251536846,
0.038171201944351196,
-0.4968792200088501,
-0.2649320363998413,
-0.19692564010620117,
-0.1353263556957245,
-0.17636829614639282,
-0.16628043353557587,
-0.16051225364208221,
0.4112760126590729,
-0.004675071220844984,
-0.2879960238933563,
-0.13314101099967957,
-0.13715893030166626,
0.0605817511677742,
0.3058930039405823,
0.42497798800468445,
-0.1036582961678505,
0.3769991397857666,
0.1854909360408783,
0.24977877736091614,
0.08706289529800415,
0.3340502083301544,
0.28037863969802856,
-0.10601232200860977,
0.15989083051681519,
-0.0252566859126091,
-0.05590932071208954,
0.029643358662724495,
-0.2013963758945465,
-0.22233135998249054,
0.13164843618869781,
-0.20022302865982056,
0.07782098650932312,
-0.2128535360097885,
0.022188812494277954,
-0.1103891059756279,
-0.0829886868596077,
-0.12420544028282166,
-0.36561694741249084,
-0.28698763251304626,
0.07031501829624176,
-0.11650677025318146,
0.34894102811813354,
0.14025351405143738,
0.08654619753360748,
0.02315070480108261,
-0.1629038155078888,
-0.17098861932754517,
-0.15447302162647247,
-0.2840215861797333,
0.08099314570426941,
0.1775304079055786,
0.06572923064231873,
0.2102004885673523,
-0.036867305636405945,
-0.19494196772575378,
0.030948437750339508,
-0.14496053755283356,
0.4960314631462097,
-0.31722891330718994,
-0.07794205844402313,
0.13561324775218964,
0.2104165256023407,
-0.00398557074368,
-0.2202349603176117,
-0.43292492628097534,
0.39299118518829346,
0.27089473605155945,
-0.15652866661548615,
-0.09387639164924622,
0.1620844453573227,
0.0051164161413908005,
-0.27463510632514954,
-0.027591940015554428,
-0.34629935026168823,
-0.309175044298172,
-0.18189609050750732,
-0.41646695137023926,
0.029030054807662964,
0.4665772318840027,
-0.09626377373933792,
-0.016940874978899956,
-0.1351761668920517,
0.4577636420726776,
0.04430679976940155,
-0.05253949761390686,
-0.2681379020214081,
0.08158885687589645,
-0.041355639696121216,
-0.12423576414585114,
0.017800617963075638,
-0.04004664719104767,
-0.09001518785953522,
0.2817104160785675,
0.03581900894641876,
-0.29591280221939087,
-0.054832085967063904,
-0.23833809792995453,
0.23664668202400208,
-0.04928794503211975,
0.2466880828142166,
0.08950920403003693,
-0.13832569122314453,
0.44717055559158325,
0.21583658456802368,
-0.2784128189086914,
0.40631017088890076,
-0.05025133490562439,
-0.04237808287143707,
-0.10476921498775482,
0.10850012302398682,
-0.002208506688475609,
0.08509933948516846,
0.1907278597354889,
0.383664608001709,
-0.021701209247112274,
0.048730798065662384,
0.09869102388620377,
0.722538948059082,
-0.017149075865745544,
0.061997268348932266,
-0.10553205758333206,
-0.08980133384466171,
0.47639721632003784,
-0.04318714141845703,
0.16058781743049622,
-0.3090732991695404,
0.15577182173728943,
0.09356959164142609,
0.09904080629348755,
-0.026010125875473022,
-0.2285110503435135,
-0.4897620379924774,
0.3549148738384247,
-0.6001992225646973,
0.2184247076511383,
0.17347906529903412,
-0.18194809556007385,
0.0908898413181305,
-0.011242222040891647,
0.20636214315891266,
0.2854195535182953,
-0.04590538144111633,
0.19674062728881836,
-0.19101721048355103,
0.14772357046604156,
0.17422114312648773,
-0.15194426476955414,
-0.5046296715736389,
0.049341849982738495,
-0.15202729403972626,
0.011940417811274529,
0.0676441639661789,
0.20929370820522308,
-0.14861701428890228,
0.22513484954833984,
0.1960843801498413,
0.2098916918039322,
-0.07945858687162399,
-0.035668518394231796,
0.5018808841705322,
-0.019368208944797516,
0.130430668592453,
0.16091112792491913,
0.08499735593795776,
-0.32020747661590576,
-0.1720147728919983,
0.11969710886478424,
-0.15335921943187714,
-0.07968330383300781,
-0.21346059441566467,
0.1883924901485443,
0.07056429982185364,
0.04125574976205826,
-0.1425725221633911,
0.12387339770793915,
-0.15938816964626312,
-0.27602556347846985,
0.3495660424232483,
-0.0477483868598938,
-0.15947207808494568,
0.07739244401454926,
0.013461094349622726,
-0.3402882218360901,
0.1121688187122345,
0.013806410133838654,
0.06750719249248505,
-0.22843480110168457,
0.16367362439632416,
0.15112735331058502,
-0.35548752546310425,
-0.34416595101356506,
-0.11656549572944641,
-0.4603846073150635,
-0.06737677752971649,
0.18759313225746155,
-0.11458234488964081,
-0.2160576730966568,
0.07348484545946121,
0.14800086617469788,
0.01353796198964119,
0.32876962423324585,
-0.35706228017807007,
-0.1435239315032959,
-0.10379863530397415,
0.09446339309215546,
-0.21082790195941925,
-0.1713031381368637,
0.03536242991685867,
0.09795098006725311,
0.2784707546234131,
0.12414126843214035,
-0.478915274143219,
-0.15296964347362518,
-0.1714724898338318,
0.06348739564418793,
-0.009192455559968948,
-0.10824013501405716,
-0.323529988527298,
0.19248363375663757,
0.40053826570510864,
0.29577529430389404,
0.03482905030250549,
-0.44242608547210693,
0.19904229044914246,
0.059554360806941986,
0.10779870301485062,
0.27423423528671265,
0.21507766842842102,
-0.15313437581062317,
-0.0528327040374279,
0.22586514055728912,
-0.23562289774417877,
0.15495476126670837,
0.09402967244386673,
0.27531951665878296,
0.11138900369405746,
-0.051670730113983154,
0.10883504152297974,
-0.16342684626579285,
-0.011157520115375519,
0.015223711729049683,
-0.38740187883377075,
0.062445834279060364,
-0.10802573710680008,
-0.08938005566596985,
0.1543782651424408,
-0.06996128708124161,
-0.02890310436487198,
0.1929023563861847,
0.0013700276613235474,
-0.38248389959335327,
0.17472578585147858,
0.06974732875823975,
0.13291169703006744,
0.2234800010919571,
-0.48396047949790955,
-0.20820358395576477,
0.007309530861675739,
0.466795951128006,
-0.28762805461883545,
0.024985404685139656,
-0.07943975925445557,
0.22020785510540009,
0.028633777052164078,
0.2352224588394165,
-0.07526008039712906,
-0.34849682450294495,
0.2775671184062958,
0.1263728141784668,
-0.340827614068985,
-0.32225924730300903,
0.028968684375286102,
-0.0383099727332592,
-0.2371666580438614,
-0.11914192140102386,
-0.002751445397734642,
-0.3560978174209595,
0.12377677112817764,
0.5913838744163513,
0.14075106382369995,
-0.006354643031954765,
0.3093222677707672,
-0.03212558850646019,
0.253598690032959,
0.17859894037246704,
0.36065852642059326,
0.2973443865776062,
-0.10478733479976654,
0.13690891861915588,
0.14354483783245087,
0.010242447257041931,
-0.07253272086381912,
0.19132737815380096,
-0.3159373104572296,
-0.1277533769607544,
-0.1692688763141632,
0.1753232479095459,
0.25898876786231995,
0.029644913971424103,
0.02842572331428528,
-0.17766466736793518,
-0.019034121185541153,
0.12981626391410828,
0.21655677258968353,
-0.04291968047618866,
-0.009992048144340515,
-0.22482366859912872,
0.11714531481266022,
-0.11143382638692856,
0.36187535524368286,
-0.37263867259025574,
0.26547712087631226,
0.3422872722148895,
-0.11631891131401062,
-0.14327526092529297,
0.2898409068584442,
0.4473836123943329,
0.5275164842605591,
-0.2532006502151489,
0.0551028847694397,
-0.17694732546806335,
-0.17998364567756653,
0.11973640322685242,
0.1783531904220581,
0.25837165117263794,
-0.24167530238628387,
0.09227772057056427,
0.292531818151474,
-0.3235698640346527,
0.11160291731357574,
0.3273100256919861,
0.45753684639930725,
0.0569792278110981,
-0.08109254390001297,
-0.13090097904205322,
0.04088012874126434,
-0.1674850881099701,
0.26290175318717957,
-0.6488603949546814,
-0.3836401104927063,
0.18963411450386047,
-0.11536373198032379,
-0.06616556644439697,
-0.04940338805317879,
0.1951240748167038,
0.14474014937877655,
0.40330085158348083,
0.1028214618563652,
0.20674863457679749,
0.08445536345243454,
-0.12829697132110596,
-0.15436699986457825,
0.25683721899986267,
-0.15355564653873444,
0.19958360493183136,
-0.07050195336341858,
0.08700478821992874,
0.058555252850055695,
0.047048572450876236,
0.399921715259552,
0.06495589017868042,
-0.2982741892337799,
0.016189731657505035,
-0.19657455384731293,
-0.058008138090372086,
0.24851509928703308,
-0.13301482796669006,
0.1774207353591919,
-0.1697404980659485,
0.16715161502361298,
-0.079042449593544,
0.19996628165245056,
-0.00057247094810009,
0.10689592361450195,
0.30111175775527954,
0.21707473695278168,
-0.14852291345596313,
0.0724346861243248,
0.31655094027519226,
-0.14546436071395874,
-0.17217768728733063,
0.1485353410243988,
-0.19745923578739166,
-0.17445625364780426,
0.3467237055301666,
0.13854166865348816,
-0.13429155945777893,
0.041583918035030365,
0.03805529698729515,
0.09161887317895889,
0.29618707299232483,
0.17039279639720917,
0.20278196036815643,
-0.5403514504432678,
0.012040741741657257,
0.36078089475631714,
0.062454670667648315,
-0.30357852578163147,
-0.16790708899497986,
0.008961178362369537,
0.03380308300256729,
-0.3141496777534485,
-0.5488129258155823,
0.5146878957748413,
0.39584964513778687,
-0.3979109525680542,
0.051885541528463364,
0.34049755334854126,
0.20221953094005585,
-0.03751405328512192,
-0.3242434561252594,
-0.2485434114933014,
0.13873566687107086,
0.20781725645065308,
-0.34014666080474854,
0.10532587766647339,
-0.1658955216407776,
0.011715460568666458,
-0.018736612051725388,
0.1647312194108963,
0.05370185524225235,
-0.09003004431724548,
0.054012615233659744,
-0.3672882318496704
] |
https://github.com/huggingface/datasets/pull/520 | Transform references for sacrebleu | I think I agree @lhoestq so I pushed a change.
Thanks for your work on the library! | Currently it is impossible to use sacrebleu when len(predictions) != the number of references per prediction (very uncommon), due to a strange format expected by sacrebleu. If one passes in the data to `nlp.metric.compute()` in sacrebleu format, `nlp` throws an error due to mismatching lengths between predictions and references. If one uses a more standard format where predictions and references are lists of the same length, sacrebleu throws an error.
This PR transforms reference data in a more standard format into the [unusual format](https://github.com/mjpost/sacreBLEU#using-sacrebleu-from-python) expected by sacrebleu. | 17 | text: Transform references for sacrebleu
Currently it is impossible to use sacrebleu when len(predictions) != the number of references per prediction (very uncommon), due to a strange format expected by sacrebleu. If one passes in the data to `nlp.metric.compute()` in sacrebleu format, `nlp` throws an error due to mismatching lengths between predictions and references. If one uses a more standard format where predictions and references are lists of the same length, sacrebleu throws an error.
This PR transforms reference data in a more standard format into the [unusual format](https://github.com/mjpost/sacreBLEU#using-sacrebleu-from-python) expected by sacrebleu.
I think I agree @lhoestq so I pushed a change.
Thanks for your work on the library! | [
-0.07798850536346436,
0.01601375639438629,
-0.08161446452140808,
-0.20870192348957062,
0.3853917717933655,
-0.24249234795570374,
-0.06876368820667267,
0.37774550914764404,
-0.2672121524810791,
0.2950236201286316,
0.1337079554796219,
0.43095505237579346,
-0.12353269010782242,
-0.14120936393737793,
0.0403328537940979,
-0.4598052203655243,
0.013783827424049377,
0.2820773124694824,
0.38389140367507935,
-0.007930565625429153,
-0.3794025480747223,
0.23118650913238525,
-0.3134632110595703,
-0.0012056902050971985,
-0.11972565948963165,
0.138067364692688,
0.060734428465366364,
-0.0232035294175148,
-0.29866594076156616,
-0.45278456807136536,
-0.032392628490924835,
0.08085055649280548,
-0.20712019503116608,
-0.054484181106090546,
-0.00010715829557739198,
-0.03934274613857269,
0.2708672881126404,
-0.27740541100502014,
-0.1047663539648056,
-0.4754842519760132,
0.09535697847604752,
-0.2475147843360901,
0.10630791634321213,
-0.32483354210853577,
-0.31172794103622437,
-0.12864062190055847,
0.1569029688835144,
0.0648486465215683,
0.15365134179592133,
0.3270247280597687,
0.3081929087638855,
0.3439328968524933,
0.029031213372945786,
-0.2530406415462494,
0.2577221095561981,
-0.12588883936405182,
-0.13694453239440918,
0.23144613206386566,
0.03377910703420639,
0.13290679454803467,
-0.014237441122531891,
0.24462787806987762,
-0.10507676750421524,
0.10491558909416199,
0.3352189362049103,
-0.2767181992530823,
-0.17133831977844238,
-0.16740010678768158,
-0.010170523077249527,
0.05490819364786148,
0.27054715156555176,
-0.30790993571281433,
-0.10479354858398438,
0.2251259982585907,
0.11732478439807892,
-0.27965158224105835,
-0.10609102994203568,
0.15988770127296448,
-0.0730549544095993,
-0.08309280872344971,
-0.2219904661178589,
0.09362582862377167,
-0.0471881702542305,
-0.05470415949821472,
0.1452033519744873,
0.205163836479187,
-0.0713249072432518,
0.0647946298122406,
0.3168327212333679,
0.012105995789170265,
-0.3856479227542877,
0.28535011410713196,
-0.01773827150464058,
-0.18176329135894775,
-0.011351075023412704,
-0.2005881816148758,
-0.16271021962165833,
-0.1821962296962738,
0.12761524319648743,
0.2382885217666626,
0.26939719915390015,
0.0720834881067276,
0.03464478626847267,
0.055575426667928696,
-0.0612914152443409,
0.37433698773384094,
-0.019673600792884827,
-0.006307514850050211,
0.05687396228313446,
0.24591350555419922,
0.14877653121948242,
-0.04151094704866409,
0.25906142592430115,
-0.39410513639450073,
-0.12025661766529083,
0.07311729341745377,
0.12163425981998444,
-0.2098046839237213,
-0.31530845165252686,
-0.1978786289691925,
0.11127284914255142,
0.04120207205414772,
0.07263507694005966,
0.26179414987564087,
-0.1496385931968689,
0.2420533299446106,
0.12646484375,
-0.021335378289222717,
-0.17103639245033264,
-0.20720364153385162,
-0.2101522535085678,
0.1777040958404541,
-0.4838128089904785,
-0.20520417392253876,
-0.025266345590353012,
0.02500959485769272,
0.3291168510913849,
-0.10250504314899445,
0.44249624013900757,
-0.26010996103286743,
0.017055289819836617,
-0.0585288479924202,
0.3537713289260864,
0.12197339534759521,
-0.31822678446769714,
-0.1273707151412964,
0.1901206225156784,
-0.512205958366394,
-0.26455527544021606,
0.12091042846441269,
-0.5179401636123657,
-0.19874680042266846,
0.12625877559185028,
0.2633432447910309,
-0.11105513572692871,
-0.011803604662418365,
0.024662397801876068,
0.22982828319072723,
0.03355304151773453,
-0.10456085205078125,
0.21333496272563934,
-0.11145228147506714,
-0.1569894254207611,
-0.22888541221618652,
0.16945259273052216,
0.1501137763261795,
-0.06138959154486656,
0.09030982851982117,
0.4095229208469391,
-0.1672552078962326,
0.37699007987976074,
0.2888082265853882,
-0.0689641535282135,
-0.04662802070379257,
-0.05455854535102844,
0.055414050817489624,
0.6087491512298584,
-0.2205689400434494,
-0.23891469836235046,
0.14249731600284576,
0.07958270609378815,
-0.4345242977142334,
0.005130015313625336,
0.21711523830890656,
0.3241303265094757,
-0.06439241766929626,
0.10225391387939453,
-0.07776797562837601,
0.09787788987159729,
-0.0006415210664272308,
-0.3172186315059662,
-0.235209658741951,
0.023288827389478683,
-0.14292293787002563,
0.011101968586444855,
0.46337586641311646,
-0.027062654495239258,
0.9125446677207947,
0.28318941593170166,
-0.11745746433734894,
0.01265537366271019,
0.1365169733762741,
0.24200771749019623,
-0.32868218421936035,
0.20459023118019104,
-0.2674030065536499,
0.4067593812942505,
-0.11906895786523819,
-0.22966526448726654,
0.2010544240474701,
0.3565916419029236,
-0.17802728712558746,
-0.478793740272522,
0.017914937809109688,
0.17629827558994293,
-0.0369601733982563,
0.2551494836807251,
-0.18360647559165955,
0.1564978063106537,
0.17711128294467926,
-0.018979255110025406,
-0.28872570395469666,
-0.2977614998817444,
-0.045125238597393036,
-0.4241228699684143,
0.11324341595172882,
-0.14091543853282928,
-0.1079011857509613,
0.2650063931941986,
0.4358651340007782,
0.3411686420440674,
0.002143070101737976,
-0.06707514077425003,
0.332285076379776,
0.1565960943698883,
0.08386899530887604,
-0.29096949100494385,
0.32162824273109436,
0.2259598672389984,
-0.3997614085674286,
0.03605147451162338,
0.31944572925567627,
0.12702304124832153,
-0.01633182168006897,
-0.0903419628739357,
0.25178879499435425,
-0.059002604335546494,
0.15506091713905334,
0.05176082253456116,
0.17789208889007568,
0.20037074387073517,
-0.10590566694736481,
-0.30916354060173035,
-0.19762533903121948,
0.05182800069451332,
-0.04845971241593361,
-0.0675286203622818,
-0.04728422313928604,
-0.39538583159446716,
-0.01867545396089554,
0.2807912230491638,
0.030690006911754608,
-0.13625070452690125,
0.3569428622722626,
0.0597156286239624,
-0.17333579063415527,
-0.15419217944145203,
0.20071034133434296,
0.28179630637168884,
0.19165034592151642,
0.23241302371025085,
0.15948286652565002,
-0.14669600129127502,
-0.40148597955703735,
0.17351597547531128,
0.14972294867038727,
-0.18346457183361053,
-0.09528682380914688,
0.19489914178848267,
0.021222729235887527,
-0.22538888454437256,
-0.16691406071186066,
-0.17773555219173431,
0.1991407424211502,
0.009298376739025116,
0.35383012890815735,
-0.17151719331741333,
-0.14086207747459412,
-0.35049358010292053,
-0.04140869155526161,
0.12171599268913269,
-0.19313764572143555,
0.19763147830963135,
0.1484326720237732,
-0.003993695601820946,
0.16653315722942352,
0.2397659420967102,
0.20545890927314758,
-0.025195477530360222,
0.037707649171352386,
-0.15539497137069702,
-0.007745666895061731,
0.044667068868875504,
0.1660604178905487,
-0.1420608013868332,
0.09356224536895752,
0.17574448883533478,
-0.1467011570930481,
-0.18714028596878052,
-0.4807037115097046,
-0.45178699493408203,
0.06300937384366989,
0.06693059206008911,
0.19214853644371033,
0.4431537687778473,
-0.34270375967025757,
0.013963483273983002,
-0.16198515892028809,
0.11115305870771408,
-0.14722177386283875,
-0.01337683480232954,
0.2701818645000458,
-0.45321300625801086,
-0.12396097928285599,
-0.36775413155555725,
-0.39205771684646606,
0.1596529185771942,
-0.42357757687568665,
0.25848308205604553,
0.28382405638694763,
0.09343595057725906,
0.07809223979711533,
0.2392934113740921,
0.08306325227022171,
0.30592283606529236,
-0.07346094399690628,
-0.10617754608392715,
0.057464178651571274,
0.25343945622444153,
-0.2717334032058716,
-0.47513285279273987,
-0.013587608933448792,
-0.069564588367939,
0.23383048176765442,
0.05786801874637604,
-0.28918859362602234,
-0.5266895294189453,
0.00033573247492313385,
-0.3964085876941681,
0.10502608120441437,
-0.05675718933343887,
0.031181462109088898,
-0.044764406979084015,
-0.3998417258262634,
0.005385894328355789,
-0.08036284148693085,
0.19981369376182556,
0.06261200457811356,
0.3219403922557831,
0.03352804854512215,
-0.18378636240959167,
0.36917564272880554,
0.41611427068710327,
0.5203754305839539,
-0.24596519768238068,
0.06367984414100647,
0.06485624611377716,
0.13832421600818634,
-0.10182271152734756,
0.05623538792133331,
0.21515542268753052,
-0.13983085751533508,
-0.09073731303215027,
0.24591882526874542,
-0.10761506855487823,
-0.30962440371513367,
-0.01833944581449032,
-0.16366955637931824,
0.18627861142158508,
-0.14181436598300934,
0.08213014900684357,
-0.03569645434617996,
0.12926256656646729,
0.13887053728103638,
-0.10280393064022064,
0.06220198795199394,
-0.17844828963279724,
-0.04734184220433235,
0.12722955644130707,
-0.1520463228225708,
0.1534728705883026,
-0.14295166730880737,
0.0024512421805411577,
-0.5105393528938293,
0.23060384392738342,
-0.1306334137916565,
0.27878662943840027,
0.0017143860459327698,
0.0018124468624591827,
0.11864833533763885,
-0.16242793202400208,
0.30354079604148865,
0.04726424813270569,
-0.06786686182022095,
0.14856910705566406,
0.23571288585662842,
-0.14286790788173676,
0.1274919956922531,
-0.19077834486961365,
0.23562701046466827,
0.39185917377471924,
0.20725181698799133,
-0.09977462142705917,
-0.12843909859657288,
0.317435622215271,
0.09389183670282364,
-0.16796395182609558,
-0.10880637168884277,
-0.42023611068725586,
-0.4951035976409912,
-0.16038179397583008,
0.2390197217464447,
0.27653270959854126,
-0.05308668687939644,
-0.13969607651233673,
0.0537487231194973,
-0.1261725276708603,
-0.10810738056898117,
0.13165028393268585,
-0.023595474660396576,
0.2182733118534088,
-0.09199658036231995,
-0.11783996224403381,
-0.0995432585477829,
0.1602790504693985,
0.13840603828430176,
0.1415248066186905,
-0.18572798371315002,
-0.08723345398902893,
0.07926134765148163,
0.15706214308738708,
0.21021872758865356,
0.23197481036186218,
-0.13197098672389984,
0.16318067908287048,
0.04528345167636871,
0.25685155391693115,
-0.3477367162704468,
0.1968652307987213,
-0.04516403377056122,
-0.14880479872226715,
-0.033340685069561005,
-0.27325138449668884,
0.39671197533607483,
0.09079861640930176,
-0.08404413610696793,
-0.16553190350532532,
0.0913420096039772,
-0.12789908051490784,
0.45597410202026367,
0.40535062551498413,
1.1211366653442383,
-0.1184040904045105,
0.009453818202018738,
0.12124882638454437,
-0.2196250557899475,
0.5704723596572876,
-0.407612681388855,
0.31391245126724243,
-0.37942829728126526,
-0.20735958218574524,
0.07478353381156921,
-0.06942905485630035,
0.058804698288440704,
-0.06856811046600342,
-0.6877087950706482,
0.351321280002594,
-0.04300792142748833,
-0.5489963889122009,
-0.03629099577665329,
0.18216823041439056,
0.10356155782938004,
-0.12323804199695587,
-0.13675518333911896,
0.20433272421360016,
-0.08743570744991302,
0.06506472080945969,
0.01366439275443554,
-0.19134044647216797,
0.1934056580066681,
-0.2373807281255722,
-0.07213766872882843,
0.12435073405504227,
-0.08577542752027512,
-0.04383675754070282,
0.19938451051712036,
-0.06022590398788452,
0.3201543390750885,
0.44149062037467957,
0.5937351584434509,
0.21062959730625153,
-0.2273416519165039,
0.1140902042388916,
-0.09204398840665817,
-0.2009391039609909,
-0.09972672909498215,
0.13152238726615906,
0.3633517622947693,
-0.3031827509403229,
-0.10448694974184036,
-0.005298718810081482,
-0.018451552838087082,
-0.05730647221207619,
0.0484275221824646,
0.1978130340576172,
0.14126721024513245,
-0.12132644653320312,
-0.05238433554768562,
0.1320563703775406,
-0.48830080032348633,
-0.24411439895629883,
0.19024372100830078,
-0.0024188458919525146,
-0.22929011285305023,
0.3349435031414032,
0.22640420496463776,
-0.29030296206474304,
0.12880176305770874,
0.18774530291557312,
0.26934996247291565,
-0.1717958301305771,
0.16003751754760742,
-0.3437531292438507,
-0.15759001672267914,
-0.2970423400402069,
-0.4642980098724365,
-0.4732636511325836,
-0.4140833616256714,
0.455617755651474,
-0.14068637788295746,
0.20876289904117584,
0.1882157325744629,
0.5930159687995911,
0.09992937743663788,
0.17329010367393494,
-0.22424422204494476,
0.0007725954055786133,
-0.3443630635738373,
0.010752268135547638,
-0.30965134501457214,
0.2233964055776596,
-0.08603845536708832,
0.3993675410747528,
0.2333315908908844,
0.23154762387275696,
-0.4068520665168762,
0.15793569386005402,
-0.6999348402023315,
0.2932277023792267,
-0.0074858590960502625,
-0.18501228094100952,
-0.20892861485481262,
0.19423428177833557,
0.0011884216219186783,
0.3499978184700012,
-0.45996689796447754,
-0.23351529240608215,
-0.24003340303897858,
0.09011456370353699,
0.08638240396976471,
0.0309090968221426,
-0.17042550444602966,
0.11833366751670837,
-0.13256417214870453,
0.012570193037390709,
-0.10565921664237976,
0.19995620846748352,
0.05073701590299606,
0.2792466878890991,
-0.15504685044288635,
0.18849846720695496,
0.27567362785339355,
-0.0873640924692154,
0.20411905646324158,
0.3157934546470642,
-0.04477938637137413,
0.16246798634529114,
-0.14090096950531006,
-0.13590028882026672,
-0.3040964603424072,
0.18206100165843964,
0.21756690740585327,
0.059947505593299866,
0.11659896373748779,
0.06499163061380386,
-0.04969096556305885,
0.02520749904215336,
0.15032170712947845,
0.08663025498390198,
-0.04115454852581024,
-0.27855005860328674,
0.18580222129821777,
0.21743080019950867,
-0.4723281264305115,
-0.2360602170228958,
-0.2131636142730713,
0.2545677721500397,
0.09150056540966034,
0.21486049890518188,
0.7668637633323669,
-0.10999724268913269,
0.14085431396961212,
0.02592291310429573,
0.08166838437318802,
-0.5320684313774109,
0.08813655376434326,
-0.3591215908527374,
0.11295989155769348,
0.008844010531902313,
0.1627848893404007,
0.05727314203977585,
0.21982881426811218,
0.25023287534713745,
0.03456658497452736,
0.7742949724197388,
0.20456647872924805,
0.15095479786396027,
-0.04426967352628708,
0.28702276945114136,
0.15723352134227753,
0.2563900351524353,
-0.035948798060417175,
0.2802926301956177,
-0.04389524459838867,
0.3115761876106262,
0.04470382258296013,
-0.010110370814800262,
0.007184034213423729,
-0.06719498336315155,
-0.007742211222648621,
-0.22331637144088745,
0.050055310130119324,
-0.0845387727022171,
-0.20052051544189453,
-0.214420884847641,
0.11031882464885712,
0.2751395106315613,
0.5657484531402588,
-0.16572602093219757,
0.15738871693611145,
0.0516449436545372,
0.0068362560123205185,
0.1408689320087433,
0.21766647696495056,
-0.3881542980670929,
-0.06480640918016434,
-0.011210538446903229,
-0.05064878612756729,
0.2587569057941437,
0.29811397194862366,
0.3656383454799652,
0.2976110279560089,
0.09385137259960175,
-0.28889843821525574,
-0.25263115763664246,
-0.025077572092413902,
0.014635775238275528,
0.32421061396598816,
0.49960392713546753,
-0.31845152378082275,
0.24599160254001617,
0.15489134192466736,
-0.1808149218559265,
0.5004377961158752,
0.00026974454522132874,
0.06434743106365204,
-0.2629757821559906,
0.5214996337890625,
0.31595391035079956,
-0.1962461769580841,
-0.3126652240753174,
0.019198842346668243,
-0.427449494600296,
0.15763121843338013,
0.24364858865737915,
-0.33897000551223755,
0.15194666385650635,
-0.11279129981994629,
0.1371532678604126,
0.23685599863529205,
0.23378945887088776,
0.01698986068367958,
0.10425683856010437,
-0.14788809418678284,
-0.24071654677391052,
-0.23373645544052124,
0.19730103015899658,
0.1825818121433258,
0.32727187871932983,
0.1945376992225647,
0.3018321096897125,
-0.22343087196350098,
0.15620523691177368,
-0.2928754687309265,
-0.2174655646085739,
-0.27528902888298035,
-0.09577536582946777,
-0.23549021780490875,
0.12158158421516418,
-0.3177494406700134,
-0.06368870288133621,
0.09463783353567123,
-0.2742834985256195,
-0.03999556228518486,
-0.21266694366931915,
0.1446877419948578,
-0.2865014672279358,
0.09578517079353333,
0.19246666133403778,
0.55354905128479,
0.20488621294498444,
0.24091897904872894,
-0.020988255739212036,
-0.10230029374361038,
-0.15115046501159668,
0.006903890520334244,
0.03304421529173851,
-0.16563554108142853,
-0.08772950619459152,
0.19051483273506165,
0.17282502353191376,
-0.2618273198604584,
0.30461975932121277,
-0.1433706134557724,
0.25165504217147827,
0.21842731535434723,
-0.20358391106128693,
-0.3471687436103821,
0.224923238158226,
-0.18906927108764648,
0.1338575929403305,
0.12927575409412384,
0.39463067054748535,
0.12834540009498596,
0.128729909658432,
-0.2980842888355255,
-0.367531418800354,
0.5034932494163513,
0.02097361907362938,
-0.2632284462451935,
0.0790582224726677,
0.27501246333122253,
0.09696581959724426,
0.018360311165452003,
-0.8909101486206055,
-0.0943392664194107,
0.2285488247871399,
0.04694999009370804,
-0.12319910526275635,
0.17342621088027954,
-0.3949839472770691,
-0.07862699031829834,
-0.2725987434387207,
0.19902122020721436,
0.15278315544128418,
-0.16957350075244904,
0.04994021728634834,
-0.4700798988342285
] |
https://github.com/huggingface/datasets/pull/513 | [speedup] Use indices mappings instead of deepcopy for all the samples reordering methods | Ok I fixed `concatenate_datasets` and added tests
Feel free to merge if it's good for you @thomwolf | Use an indices mapping instead of rewriting the dataset for all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`).
Added a `flatten_indices` method which copy the dataset to a new table to remove the indices mapping with tests.
All the samples re-ordering/selection methods should be a lot faster. The downside is that iterating on very large batch of the dataset might be a little slower when we have changed the order of the samples since with in these case we use `pyarrow.Table.take` instead of `pyarrow.Table.slice`. There is no free lunch but the speed of iterating over the dataset is rarely the bottleneck.
*Backward breaking change*: the `cache_file_name` argument in all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`) is now called `indices_cache_file_name` on purpose to make it explicit to the user that this caching file is used for caching the indices mapping and not the dataset itself. | 17 | text: [speedup] Use indices mappings instead of deepcopy for all the samples reordering methods
Use an indices mapping instead of rewriting the dataset for all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`).
Added a `flatten_indices` method which copy the dataset to a new table to remove the indices mapping with tests.
All the samples re-ordering/selection methods should be a lot faster. The downside is that iterating on very large batch of the dataset might be a little slower when we have changed the order of the samples since with in these case we use `pyarrow.Table.take` instead of `pyarrow.Table.slice`. There is no free lunch but the speed of iterating over the dataset is rarely the bottleneck.
*Backward breaking change*: the `cache_file_name` argument in all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`) is now called `indices_cache_file_name` on purpose to make it explicit to the user that this caching file is used for caching the indices mapping and not the dataset itself.
Ok I fixed `concatenate_datasets` and added tests
Feel free to merge if it's good for you @thomwolf | [
-0.3668834865093231,
0.21025815606117249,
-0.1813449263572693,
-0.11851289868354797,
-0.09491448104381561,
0.1329805552959442,
0.08058363199234009,
0.6281894445419312,
-0.23458121716976166,
0.16471906006336212,
-0.12415561825037003,
0.4908313453197479,
0.17223389446735382,
0.09007780253887177,
-0.034204404801130295,
0.01346631720662117,
-0.01866728812456131,
0.20230379700660706,
-0.12437774240970612,
-0.0252755805850029,
-0.25630366802215576,
-0.1361701786518097,
-0.23574863374233246,
-0.1687602549791336,
-0.12416981160640717,
-0.047951966524124146,
-0.15106968581676483,
0.11492723971605301,
-0.13860774040222168,
-0.4957138001918793,
-0.07790760695934296,
0.44151365756988525,
-0.06189848110079765,
0.21635544300079346,
-0.0001017578033497557,
-0.07415834069252014,
0.1985119730234146,
-0.0378442108631134,
-0.2309492528438568,
0.3051120638847351,
-0.152199387550354,
-0.23251040279865265,
-0.0753948763012886,
-0.2571459412574768,
-0.10908254981040955,
-0.2678163945674896,
-0.10662558674812317,
-0.13740947842597961,
0.02797083556652069,
0.15791893005371094,
0.28833499550819397,
0.1796085387468338,
-0.1829519271850586,
-0.16961237788200378,
0.3101201355457306,
-0.17700277268886566,
-0.0985027551651001,
0.041120000183582306,
0.3960111439228058,
-0.04634641855955124,
-0.18763625621795654,
0.2291782796382904,
-0.2070060670375824,
0.060346346348524094,
-0.05286145210266113,
-0.0313325859606266,
0.13070783019065857,
-0.041777826845645905,
0.02390255779027939,
0.11223000288009644,
0.27508828043937683,
-0.094036765396595,
-0.21155904233455658,
-0.11210165917873383,
-0.17556187510490417,
-0.5251081585884094,
0.11073154211044312,
-0.10533731430768967,
-0.025187306106090546,
-0.022588182240724564,
-0.20356065034866333,
0.12286929786205292,
0.027669019997119904,
-0.03951996564865112,
0.17474070191383362,
0.21260413527488708,
0.2891646921634674,
-0.05065173655748367,
0.44521963596343994,
-0.13346964120864868,
0.36562982201576233,
-0.1086530089378357,
-0.02957872673869133,
-0.1470024287700653,
-0.42858245968818665,
-0.2713698148727417,
0.08806260675191879,
-0.17054954171180725,
0.25283417105674744,
0.15132775902748108,
0.07282214611768723,
0.38071104884147644,
0.45838674902915955,
-0.08842553943395615,
-0.05794544890522957,
0.4007924795150757,
-0.09811090677976608,
0.21679161489009857,
0.21735550463199615,
-0.004627749789506197,
-0.049786947667598724,
0.1924712061882019,
0.06627816706895828,
-0.48077186942100525,
0.08902402222156525,
0.05245714262127876,
-0.3752972483634949,
-0.15001344680786133,
-0.12768322229385376,
-0.29123690724372864,
-0.1754315197467804,
-0.2352384775876999,
0.08215256780385971,
0.47391176223754883,
-0.12441079318523407,
-0.10095574706792831,
-0.14575597643852234,
0.0008463654667139053,
-0.40252885222435,
-0.030913446098566055,
-0.2949689030647278,
-0.009792119264602661,
-0.2501106262207031,
0.23014666140079498,
0.2422242909669876,
-0.07044188678264618,
0.047826267778873444,
0.0678563266992569,
0.31700384616851807,
0.32502973079681396,
0.13573570549488068,
0.07845337688922882,
0.3161856234073639,
0.2093590646982193,
0.00713551789522171,
-0.19479164481163025,
-0.0004516690969467163,
0.08877988159656525,
-0.3543930947780609,
0.30984219908714294,
-0.28245410323143005,
-0.4360412061214447,
0.15682856738567352,
0.3111242353916168,
-0.1954759806394577,
-0.14674124121665955,
-0.009365588426589966,
0.28379693627357483,
0.10669182986021042,
-0.19038671255111694,
-0.05486682802438736,
-0.04149647802114487,
0.08146156370639801,
-0.2569502890110016,
0.2610715627670288,
0.0883077085018158,
-0.09152573347091675,
0.082159623503685,
-0.005051223561167717,
0.2735753655433655,
0.3669513761997223,
0.30929937958717346,
-0.26865971088409424,
-0.05688975006341934,
-0.23737716674804688,
0.4280714988708496,
0.27867209911346436,
-0.015701280906796455,
-0.40985673666000366,
-0.0022198595106601715,
0.00027627497911453247,
-0.08006341755390167,
0.30790024995803833,
-0.016137979924678802,
0.279401034116745,
-0.00910369772464037,
0.1859208643436432,
0.15271036326885223,
-0.03088401071727276,
0.22864797711372375,
-0.5285965800285339,
-0.253342866897583,
0.3624911308288574,
0.19316184520721436,
-0.12559592723846436,
-0.1328447163105011,
-0.11571606248617172,
-0.4919282793998718,
0.1821506917476654,
-0.3459027111530304,
-0.13159328699111938,
0.03993436321616173,
0.1471605747938156,
-0.20719493925571442,
0.1491801142692566,
0.2107042670249939,
-0.012702248990535736,
0.32351407408714294,
-0.20101556181907654,
0.2096318006515503,
0.0028458908200263977,
-0.23839081823825836,
-0.07112762331962585,
-0.1898813396692276,
-0.26872962713241577,
-0.16301068663597107,
0.2692731022834778,
0.03335873782634735,
0.2994678020477295,
-0.2232300490140915,
-0.016780421137809753,
-0.024979611858725548,
-0.1350567787885666,
-0.19504691660404205,
-0.15436264872550964,
0.10041982680559158,
-0.12540559470653534,
-0.18850140273571014,
0.09842362999916077,
0.05921648442745209,
0.1001489907503128,
-0.09476497024297714,
-0.08450761437416077,
0.22785019874572754,
-0.04668193310499191,
0.01866082102060318,
0.19047895073890686,
0.26571905612945557,
-0.0319695919752121,
-0.25812292098999023,
0.158033549785614,
-0.03510645031929016,
-0.192182719707489,
-0.07499492168426514,
-0.1555928885936737,
0.573919415473938,
-0.26777124404907227,
0.20368681848049164,
0.04238222539424896,
-0.15851514041423798,
0.11035114526748657,
-0.1057736724615097,
-0.013112340122461319,
0.09554629027843475,
0.21854940056800842,
0.17427456378936768,
0.21755461394786835,
0.2403273731470108,
-0.0013018995523452759,
0.2955326437950134,
0.4057791531085968,
-0.0583779513835907,
-0.22273090481758118,
0.2671017348766327,
0.03956257179379463,
-0.2884208858013153,
0.07832439243793488,
-0.058626748621463776,
0.4076644778251648,
0.4681863486766815,
0.22132019698619843,
-0.14669010043144226,
-0.0320003442466259,
-0.13499459624290466,
0.3388139009475708,
-0.027588047087192535,
0.12480950355529785,
0.06740259379148483,
0.18835118412971497,
-0.09839554876089096,
-0.38322681188583374,
0.011338833719491959,
0.1533890962600708,
0.341431200504303,
-0.18840287625789642,
-0.029531408101320267,
-0.20126454532146454,
-0.2099660038948059,
0.24042905867099762,
-0.15392939746379852,
0.09890033304691315,
-0.285246878862381,
0.2560725808143616,
0.0429699644446373,
-0.2337888926267624,
0.31680071353912354,
0.25458744168281555,
0.34962522983551025,
0.09065473079681396,
-0.278856098651886,
-0.25567400455474854,
-0.15843796730041504,
-0.10689038783311844,
0.20986497402191162,
0.18290196359157562,
0.22561004757881165,
0.33374014496803284,
-0.0710936114192009,
-0.13447201251983643,
-0.027139650657773018,
-0.22915306687355042,
-0.1325923353433609,
-0.15559226274490356,
0.00290491059422493,
0.13100974261760712,
0.12320689111948013,
-0.15919795632362366,
-0.30653372406959534,
0.1955115795135498,
-0.13502250611782074,
-0.20619787275791168,
0.10342995077371597,
0.016584521159529686,
0.04453064501285553,
-0.06628202646970749,
-0.522626519203186,
-0.15105114877223969,
-0.42165282368659973,
0.11003127694129944,
-0.11189641058444977,
0.1667899191379547,
0.0595395527780056,
0.1571301966905594,
-0.016321325674653053,
0.0004918556660413742,
0.030553007498383522,
-0.2808523178100586,
-0.37309080362319946,
0.203819140791893,
-0.14064106345176697,
-0.2809138894081116,
-0.3532821834087372,
-0.12041003257036209,
0.005095496773719788,
0.04836122319102287,
-0.1678345948457718,
-0.10959181189537048,
-0.18713782727718353,
0.3889731466770172,
0.08315800130367279,
0.02710692211985588,
0.4031790494918823,
0.1800711452960968,
-0.3134278953075409,
0.059147149324417114,
-0.16396881639957428,
0.09440735727548599,
0.1783106029033661,
0.1475827395915985,
-0.16779020428657532,
0.0704474225640297,
0.04890071973204613,
0.6620495319366455,
0.2937054932117462,
0.01218598335981369,
0.1596573293209076,
0.0015241988003253937,
0.11369960010051727,
-0.2612827718257904,
-0.11169200390577316,
-0.11980292201042175,
-0.09432262182235718,
-0.044561561197042465,
0.16649329662322998,
-0.18032151460647583,
-0.3348762094974518,
0.015647485852241516,
0.16571994125843048,
0.06453380733728409,
-0.21539534628391266,
0.3417036533355713,
-0.12623892724514008,
0.012704290449619293,
0.14818145334720612,
0.011123865842819214,
-0.3503566384315491,
-0.021628286689519882,
0.06165842339396477,
-0.1403425931930542,
-0.015887387096881866,
-0.32020750641822815,
-0.29010581970214844,
-0.09884950518608093,
-0.6286835670471191,
0.3193850517272949,
0.19093908369541168,
0.11267666518688202,
0.181024432182312,
-0.4415183961391449,
0.06893967092037201,
-0.19617195427417755,
0.5592952966690063,
-0.16576141119003296,
-0.27667200565338135,
0.4142666757106781,
-0.13924068212509155,
-0.050632644444704056,
-0.1147785633802414,
-0.1337282657623291,
0.041102029383182526,
-0.08265943825244904,
0.21974579989910126,
-0.28607431054115295,
-0.2624284029006958,
0.2731974124908447,
0.19735939800739288,
0.07656097412109375,
-0.11839013546705246,
-0.2862151265144348,
-0.34395286440849304,
-0.0968763455748558,
0.18729299306869507,
-0.07685023546218872,
0.13089747726917267,
-0.3424585163593292,
-0.0518990121781826,
0.03640854358673096,
-0.12273241579532623,
0.08898736536502838,
0.1661401093006134,
0.40706878900527954,
-0.009476501494646072,
0.36624056100845337,
0.09898127615451813,
-0.03546397387981415,
0.4003475308418274,
0.3505823612213135,
-0.35047051310539246,
0.190407395362854,
-0.005784386768937111,
0.10363075882196426,
0.3043665289878845,
0.2881903350353241,
0.09573844075202942,
0.18796825408935547,
-0.29740792512893677,
0.33134597539901733,
-0.2593190670013428,
-0.024985861033201218,
0.16178268194198608,
0.020872190594673157,
-0.12246494740247726,
-0.3206690549850464,
0.5310773849487305,
0.15346230566501617,
-0.14319969713687897,
0.4149872362613678,
-0.08577345311641693,
-0.08769607543945312,
0.45789265632629395,
0.2505899667739868,
0.9668381214141846,
-0.16418051719665527,
0.21395079791545868,
0.17301133275032043,
0.1960858553647995,
0.08573766052722931,
-0.19435952603816986,
0.2705305814743042,
-0.14317794144153595,
-0.5333990454673767,
0.22800211608409882,
-0.215590700507164,
-0.06364453583955765,
-0.030985452234745026,
-0.4917182922363281,
0.17820659279823303,
-0.06589557975530624,
-0.09998847544193268,
-0.10423403978347778,
0.09019225835800171,
0.13281381130218506,
-0.18546615540981293,
0.034840717911720276,
0.20405904948711395,
0.12590792775154114,
-0.19334308803081512,
0.1441892683506012,
-0.138618603348732,
-0.23053570091724396,
-0.031776994466781616,
-0.14130820333957672,
-0.051729656755924225,
-0.13186539709568024,
0.24555939435958862,
-0.2917972803115845,
-0.13036088645458221,
-0.10339006781578064,
-0.08164146542549133,
-0.05594554543495178,
-0.0621560700237751,
0.0127112353220582,
0.19266365468502045,
0.40581926703453064,
0.2668757140636444,
0.18565137684345245,
-0.23734106123447418,
0.23143348097801208,
-0.13503390550613403,
-0.21843406558036804,
0.09623328596353531,
-0.06556237488985062,
-0.5085169672966003,
-0.10142039507627487,
0.03465255722403526,
0.07828692346811295,
-0.21386617422103882,
-0.0031731592025607824,
0.24909859895706177,
-0.26306477189064026,
-0.2820921838283539,
0.25035277009010315,
0.16820770502090454,
-0.22988726198673248,
0.6122035980224609,
0.13961751759052277,
-0.32817304134368896,
-0.235421821475029,
0.2777636647224426,
0.18211835622787476,
0.18472306430339813,
0.24243669211864471,
-0.11638279259204865,
-0.23180125653743744,
-0.29238685965538025,
-0.04736866056919098,
0.24240434169769287,
-0.14376237988471985,
0.22735713422298431,
-0.23102079331874847,
-0.09295731782913208,
0.12031584233045578,
0.24745066463947296,
0.150427907705307,
0.1724276840686798,
-0.21641497313976288,
0.18635010719299316,
-0.16506361961364746,
0.1515277475118637,
0.1069348007440567,
0.44377565383911133,
-0.28788477182388306,
0.08792924880981445,
-0.2849824130535126,
0.28638675808906555,
-0.47051358222961426,
-0.11432690918445587,
-0.38762301206588745,
0.12904280424118042,
-0.16568182408809662,
-0.18961837887763977,
0.11398642510175705,
0.016727972775697708,
0.2688754200935364,
0.22946864366531372,
-0.23721881210803986,
-0.4180503785610199,
0.21014375984668732,
0.024350449442863464,
-0.1819339394569397,
-0.04493094980716705,
0.06763289868831635,
0.032780200242996216,
-0.2705319821834564,
-0.09876860678195953,
-0.043714165687561035,
-0.19392764568328857,
-0.12899181246757507,
0.06929313391447067,
0.4061300754547119,
-0.43577584624290466,
0.15149885416030884,
0.07132194936275482,
-0.023899555206298828,
0.046685244888067245,
-0.12089229375123978,
0.11156706511974335,
-0.359548419713974,
-0.24233943223953247,
0.2763233780860901,
0.13499930500984192,
0.09699609875679016,
-0.09360270947217941,
0.17901203036308289,
-0.08057038486003876,
-0.22896157205104828,
-0.10095332562923431,
0.30900681018829346,
0.43005606532096863,
0.021710485219955444,
-0.14044839143753052,
0.24794518947601318,
0.35475659370422363,
-0.32225242257118225,
-0.21006397902965546,
-0.06793393194675446,
-0.0016407696530222893,
0.25938037037849426,
0.06225733831524849,
0.30835312604904175,
0.24358445405960083,
0.19514009356498718,
0.08237435668706894,
0.20760518312454224,
0.057653848081827164,
0.12480464577674866,
0.15800954401493073,
0.0023006759583950043,
-0.18059754371643066,
0.273601770401001,
0.025684047490358353,
0.13998518884181976,
-0.03343673050403595,
-0.07683151215314865,
0.7036396265029907,
0.04031839221715927,
0.33867567777633667,
-0.30822765827178955,
-0.07859029620885849,
0.3057510256767273,
0.3818380832672119,
0.095244862139225,
0.10151006281375885,
0.27317583560943604,
0.5325120091438293,
-0.17925813794136047,
-0.2879849076271057,
-0.06996960192918777,
0.14764216542243958,
-0.07539792358875275,
-0.12872107326984406,
0.12171638011932373,
-0.206533744931221,
-0.17142952978610992,
0.018445201218128204,
-0.02478613331913948,
0.10359959304332733,
0.3821692168712616,
0.07035017013549805,
0.24456937611103058,
-0.12765748798847198,
-0.04633813351392746,
-0.022110749036073685,
0.40805351734161377,
-0.1808099001646042,
-0.0733836218714714,
0.2848125100135803,
-0.20231518149375916,
0.06882940232753754,
0.4174506962299347,
0.49541375041007996,
0.10311277955770493,
-0.26737943291664124,
-0.052714183926582336,
-0.21151095628738403,
0.0020872168242931366,
-0.011133851483464241,
-0.002539791166782379,
0.10709380358457565,
-0.4302167594432831,
0.16072261333465576,
0.21579521894454956,
-0.3103524446487427,
-0.09328927099704742,
0.05833413824439049,
0.029559465125203133,
-0.06487388163805008,
-0.16274750232696533,
0.43906912207603455,
-0.19470998644828796,
0.06231427937746048,
-0.056460969150066376,
-0.19039055705070496,
0.1026528999209404,
0.29954010248184204,
-0.3298589289188385,
-0.04151012748479843,
0.14549733698368073,
0.16850650310516357,
-0.03958726301789284,
0.813625693321228,
0.11516496539115906,
0.2349800169467926,
-0.4412685036659241,
-0.2825269401073456,
-0.355169415473938,
-0.015222884714603424,
-0.17957495152950287,
0.20598101615905762,
0.3261044919490814,
0.40140607953071594,
0.14760737121105194,
0.04341712221503258,
0.11769465357065201,
-0.025334611535072327,
-0.016108235344290733,
0.18610839545726776,
-0.5039477944374084,
0.1776735782623291,
-0.041797325015068054,
-0.07883821427822113,
0.014933332800865173,
-0.38038313388824463,
0.277901828289032,
-0.023465067148208618,
0.25622454285621643,
-0.0724143460392952,
0.0343034565448761,
0.5283798575401306,
0.3841419517993927,
0.257673442363739,
0.009185084141790867,
0.25237762928009033,
-0.08648765087127686,
0.07421234995126724,
0.006652705371379852,
-0.14079388976097107,
-0.14451898634433746,
-0.09288596361875534,
0.1654094159603119,
-0.11492785066366196,
-0.04048601910471916,
-0.1452414095401764,
-0.13436152040958405,
0.1779325157403946,
0.023019209504127502,
-0.19590871036052704,
-0.1504441350698471,
0.044469550251960754,
0.3465449810028076,
0.15366080403327942,
-0.16876320540905,
0.2833254337310791,
0.022294562309980392,
0.06853974610567093,
-0.4269433617591858,
-0.2913334369659424,
0.42144298553466797,
-0.09625723212957382,
-0.03209317475557327,
-0.037424102425575256,
0.11320092529058456,
0.10240871459245682,
0.22689080238342285,
-0.18822458386421204,
-0.16592074930667877,
0.19677090644836426,
0.01815120130777359,
-0.28199028968811035,
0.5066561698913574,
0.08966195583343506,
0.035797830671072006,
-0.214116171002388,
0.30577021837234497,
0.028001077473163605,
-0.10317296534776688,
-0.37579190731048584,
-0.4076273441314697
] |
https://github.com/huggingface/datasets/pull/513 | [speedup] Use indices mappings instead of deepcopy for all the samples reordering methods | Warning from pytorch that we should maybe consider at some point @lhoestq:
```
/__w/nlp/nlp/src/nlp/arrow_dataset.py:648: UserWarning: The given NumPy array is not writeable,
and PyTorch does not support non-writeable tensors. This means you can write to the underlying
(supposedly non-writeable) NumPy array using the tensor. You may want to copy the array to
protect its data or make it writeable before converting it to a tensor. This type of warning will be
suppressed for the rest of this program.
(Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:141.)
532
return torch.tensor(x, **format_kwargs)
``` | Use an indices mapping instead of rewriting the dataset for all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`).
Added a `flatten_indices` method which copy the dataset to a new table to remove the indices mapping with tests.
All the samples re-ordering/selection methods should be a lot faster. The downside is that iterating on very large batch of the dataset might be a little slower when we have changed the order of the samples since with in these case we use `pyarrow.Table.take` instead of `pyarrow.Table.slice`. There is no free lunch but the speed of iterating over the dataset is rarely the bottleneck.
*Backward breaking change*: the `cache_file_name` argument in all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`) is now called `indices_cache_file_name` on purpose to make it explicit to the user that this caching file is used for caching the indices mapping and not the dataset itself. | 87 | text: [speedup] Use indices mappings instead of deepcopy for all the samples reordering methods
Use an indices mapping instead of rewriting the dataset for all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`).
Added a `flatten_indices` method which copy the dataset to a new table to remove the indices mapping with tests.
All the samples re-ordering/selection methods should be a lot faster. The downside is that iterating on very large batch of the dataset might be a little slower when we have changed the order of the samples since with in these case we use `pyarrow.Table.take` instead of `pyarrow.Table.slice`. There is no free lunch but the speed of iterating over the dataset is rarely the bottleneck.
*Backward breaking change*: the `cache_file_name` argument in all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`) is now called `indices_cache_file_name` on purpose to make it explicit to the user that this caching file is used for caching the indices mapping and not the dataset itself.
Warning from pytorch that we should maybe consider at some point @lhoestq:
```
/__w/nlp/nlp/src/nlp/arrow_dataset.py:648: UserWarning: The given NumPy array is not writeable,
and PyTorch does not support non-writeable tensors. This means you can write to the underlying
(supposedly non-writeable) NumPy array using the tensor. You may want to copy the array to
protect its data or make it writeable before converting it to a tensor. This type of warning will be
suppressed for the rest of this program.
(Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:141.)
532
return torch.tensor(x, **format_kwargs)
``` | [
-0.10416924953460693,
0.010105833411216736,
-0.18051733076572418,
-0.09638489782810211,
-0.13357612490653992,
0.02879127860069275,
0.09371695667505264,
0.6033268570899963,
-0.10015387833118439,
0.07899589836597443,
-0.16758739948272705,
0.6864058375358582,
-0.05724222958087921,
-0.2119632065296173,
0.05196784809231758,
-0.19808875024318695,
-0.2048732042312622,
0.2644314467906952,
-0.10561975836753845,
-0.20183609426021576,
-0.25590598583221436,
-0.16955909132957458,
-0.18915259838104248,
-0.029807403683662415,
-0.1626439392566681,
-0.20688869059085846,
-0.04225695878267288,
0.07162199914455414,
-0.15958914160728455,
-0.42640185356140137,
-0.0002858322113752365,
0.15522103011608124,
-0.09025116264820099,
0.21385866403579712,
-0.00010045009548775852,
-0.035897452384233475,
0.18859554827213287,
-0.033768653869628906,
-0.2137271761894226,
0.1049138754606247,
0.26009514927864075,
-0.4262144863605499,
-0.01680574379861355,
-0.437419593334198,
0.012193616479635239,
-0.27461162209510803,
0.009278086945414543,
-0.13098563253879547,
0.2446260005235672,
0.2569247782230377,
0.28296929597854614,
0.29923975467681885,
-0.12664635479450226,
0.1368420124053955,
0.2357608675956726,
-0.07250995934009552,
-0.12138713151216507,
0.06443280726671219,
0.2209949791431427,
0.0064256638288497925,
-0.2333386242389679,
0.42631691694259644,
-0.28890642523765564,
0.13233964145183563,
0.10380055010318756,
-0.10293186455965042,
0.07664397358894348,
-0.10998591780662537,
-0.19831502437591553,
0.25275877118110657,
0.046951957046985626,
-0.1665804088115692,
-0.20200622081756592,
-0.24071365594863892,
-0.07018960267305374,
-0.46913042664527893,
0.0839058980345726,
0.01890345849096775,
-0.16726428270339966,
-0.20958998799324036,
-0.06345237046480179,
0.12580692768096924,
-0.08508402109146118,
0.1534022092819214,
0.2641230821609497,
0.2274266630411148,
0.22540663182735443,
0.026462018489837646,
0.4378359019756317,
-0.09310375154018402,
0.38061365485191345,
-0.03402835130691528,
0.23291023075580597,
-0.0041153086349368095,
-0.31176888942718506,
-0.30927714705467224,
-0.017903335392475128,
-0.43443563580513,
-0.008981484919786453,
-0.03152037411928177,
0.4006572663784027,
0.35810211300849915,
0.2942483425140381,
-0.0025419630110263824,
-0.1698276847600937,
0.30802619457244873,
-0.10361187905073166,
0.17662370204925537,
0.09280461072921753,
-0.06595029681921005,
0.13325509428977966,
0.19133487343788147,
0.09196936339139938,
-0.5583832263946533,
0.05580880865454674,
0.12605568766593933,
-0.24328435957431793,
0.03381052985787392,
-0.13366463780403137,
-0.37441739439964294,
-0.25311869382858276,
-0.11061487346887589,
0.14980219304561615,
0.3572157621383667,
-0.1443849802017212,
0.01110248826444149,
0.06643502414226532,
-0.060280442237854004,
-0.3586958348751068,
0.07948306947946548,
-0.2340797781944275,
0.10011199116706848,
-0.23558129370212555,
0.16097387671470642,
0.2819577157497406,
0.12412808835506439,
0.10393860191106796,
-0.02925519272685051,
0.3643971085548401,
0.24310952425003052,
0.198709174990654,
0.0019193114712834358,
0.39299702644348145,
0.15287606418132782,
-0.20004209876060486,
-0.12208321690559387,
-0.007389020174741745,
0.34603703022003174,
-0.42703935503959656,
0.28272169828414917,
-0.31531164050102234,
-0.39051440358161926,
0.12027197331190109,
0.26990973949432373,
-0.03481330722570419,
-0.03900744765996933,
0.09056106209754944,
0.062033623456954956,
0.18100014328956604,
-0.11809062957763672,
0.10129623115062714,
-0.1693953424692154,
-0.12805794179439545,
-0.28973567485809326,
0.17800413072109222,
-0.03458574414253235,
0.06935557723045349,
-0.07774276286363602,
-0.001604568213224411,
0.3155324459075928,
0.3632413148880005,
0.4473206102848053,
-0.26205646991729736,
-0.18399500846862793,
-0.0421474352478981,
0.3771234154701233,
0.5358701944351196,
0.0168074369430542,
-0.4458155035972595,
-0.07682014256715775,
-0.033509306609630585,
-0.13629144430160522,
0.1047128289937973,
0.24139317870140076,
0.22838106751441956,
-0.01963585987687111,
0.17687472701072693,
0.25324302911758423,
0.08834829181432724,
0.1725212037563324,
-0.5050426125526428,
-0.28465113043785095,
0.391088604927063,
0.21312081813812256,
-0.0976669192314148,
-0.32053178548812866,
-0.24859070777893066,
-0.2748050391674042,
0.16188326478004456,
-0.2640484869480133,
-0.10393118113279343,
0.06476821005344391,
-0.013533886522054672,
-0.1523166447877884,
0.11901478469371796,
0.05680246651172638,
-0.11028861254453659,
0.2588527798652649,
-0.33578401803970337,
0.22819234430789948,
-0.126195028424263,
-0.12178447097539902,
-0.0025555212050676346,
-0.10272280871868134,
-0.175315722823143,
-0.018660899251699448,
0.2756349444389343,
-0.11134110391139984,
0.24520373344421387,
-0.16426856815814972,
-0.0897667333483696,
-0.05316460132598877,
-0.3292887806892395,
-0.14488716423511505,
-0.25331684947013855,
0.12726262211799622,
-0.15643109381198883,
-0.220844104886055,
0.007248938083648682,
0.23417037725448608,
0.08873248845338821,
-0.0789356455206871,
-0.13944458961486816,
0.13996559381484985,
-0.1812770813703537,
-0.08443444967269897,
-0.15020564198493958,
0.20204707980155945,
0.06854262202978134,
-0.3589516282081604,
0.3136747479438782,
0.20414143800735474,
-0.10560627281665802,
-0.057926714420318604,
0.03545607998967171,
0.598383367061615,
-0.2758142352104187,
0.19030806422233582,
-0.06389793753623962,
-0.07471346855163574,
-0.12403345108032227,
-0.04272518306970596,
-0.09963768720626831,
0.15721409022808075,
0.3366784155368805,
0.03943466395139694,
0.09414118528366089,
0.13088390231132507,
-0.09654965996742249,
0.17548036575317383,
0.4287071228027344,
-0.06017134711146355,
-0.11053215712308884,
0.30463719367980957,
0.00438273698091507,
-0.23589399456977844,
0.062012434005737305,
-0.15191400051116943,
0.21772825717926025,
0.3225850462913513,
0.212302565574646,
-0.14459006488323212,
-0.13484126329421997,
-0.20583809912204742,
0.19553646445274353,
0.04522738605737686,
0.25739067792892456,
-0.0057606324553489685,
0.16224411129951477,
-0.014170248992741108,
-0.3010266125202179,
0.01696818694472313,
0.03413476049900055,
0.34302476048469543,
-0.010437171906232834,
0.09877368807792664,
-0.04812915623188019,
-0.14881622791290283,
0.023515015840530396,
-0.10591908544301987,
0.03247189149260521,
-0.18098217248916626,
0.19064608216285706,
0.0548306405544281,
-0.18312732875347137,
0.34533560276031494,
0.221363827586174,
0.20813684165477753,
0.1618444323539734,
-0.21618251502513885,
-0.28380417823791504,
-0.09349851310253143,
-0.05264393240213394,
0.19037920236587524,
0.058217160403728485,
0.28436702489852905,
0.24485526978969574,
0.037346698343753815,
-0.15712374448776245,
0.09555085748434067,
-0.16972437500953674,
-0.140073761343956,
-0.10310991108417511,
-0.14422573149204254,
0.07801377773284912,
0.06113540753722191,
-0.22970333695411682,
-0.3443444073200226,
0.18768925964832306,
-0.3527822196483612,
-0.11740659922361374,
0.16833192110061646,
0.0234414953738451,
0.1514684110879898,
-0.06659454107284546,
-0.46302881836891174,
-0.30034080147743225,
-0.4133961796760559,
0.30204254388809204,
-0.06904220581054688,
0.3869667649269104,
0.09206825494766235,
0.1529712677001953,
0.21833254396915436,
0.03490434214472771,
0.15575040876865387,
-0.10678267478942871,
-0.04581593722105026,
0.32174941897392273,
-0.11031801253557205,
-0.33344587683677673,
-0.4536612927913666,
-0.2005036324262619,
0.07145195454359055,
0.07685259729623795,
-0.2707914113998413,
-0.014763081446290016,
-0.26373574137687683,
0.290367990732193,
-0.06166248023509979,
-0.07962669432163239,
0.44407373666763306,
0.1258745640516281,
-0.26385071873664856,
0.12805750966072083,
-0.034276802092790604,
-0.06648693233728409,
0.27612823247909546,
0.021081097424030304,
-0.09626029431819916,
0.11712182313203812,
0.19678442180156708,
0.7536148428916931,
0.21813806891441345,
-0.2578558325767517,
0.024320483207702637,
0.10152935981750488,
-0.018600698560476303,
-0.11842802911996841,
-0.25816524028778076,
-0.0065518151968717575,
-0.11346188187599182,
0.036988839507102966,
-0.019594497978687286,
-0.28081846237182617,
-0.4642709195613861,
0.11615550518035889,
0.05267193540930748,
0.09158893674612045,
-0.25297820568084717,
0.5328514575958252,
-0.1345078945159912,
0.03489932045340538,
0.037796881049871445,
0.05836118012666702,
-0.4312751889228821,
-0.13175234198570251,
0.07016488909721375,
-0.1843433827161789,
0.141413152217865,
-0.19365112483501434,
-0.33500608801841736,
-0.2050286829471588,
-0.6486168503761292,
0.3144707679748535,
0.1854998618364334,
0.25852397084236145,
0.24737988412380219,
-0.2882850170135498,
0.1864449679851532,
-0.14414720237255096,
0.36837661266326904,
-0.0023413877934217453,
-0.2583974003791809,
0.3292717933654785,
-0.03234019875526428,
-0.4306531548500061,
0.10824118554592133,
-0.1972350925207138,
0.16298764944076538,
0.07225076854228973,
0.18080875277519226,
-0.18526868522167206,
-0.31505292654037476,
0.2590961456298828,
0.190452441573143,
0.06122610345482826,
-0.054178040474653244,
-0.26990339159965515,
-0.3532595932483673,
-0.14232613146305084,
0.19897443056106567,
0.01256936602294445,
0.12735667824745178,
-0.1893056035041809,
0.0007434189319610596,
-0.034611232578754425,
0.03742343932390213,
0.05404961109161377,
0.04248227924108505,
0.18409934639930725,
0.13820922374725342,
0.1299894154071808,
0.1848289966583252,
0.07851831614971161,
0.14910513162612915,
0.11660639196634293,
-0.3070735037326813,
0.24515719711780548,
-0.017919469624757767,
0.3573310673236847,
0.1905847191810608,
0.3471614122390747,
0.2174709588289261,
0.13606317341327667,
-0.26591727137565613,
0.2578381896018982,
-0.1657288372516632,
0.07904224842786789,
0.13168922066688538,
-0.012399569153785706,
0.00299552408978343,
-0.40759003162384033,
0.6243003606796265,
0.12589725852012634,
-0.07512738555669785,
0.49550825357437134,
-0.09619064629077911,
0.024988288059830666,
0.3815953731536865,
0.48216512799263,
0.9926655292510986,
-0.22053007781505585,
0.2974267303943634,
0.3205004334449768,
0.09639199078083038,
0.23322433233261108,
-0.1324930340051651,
0.35896730422973633,
-0.15614855289459229,
-0.3370893597602844,
0.18188808858394623,
-0.2288275957107544,
-0.17658266425132751,
-0.03631702810525894,
-0.22894619405269623,
0.0850256159901619,
0.0637756735086441,
-0.27067315578460693,
-0.08037552237510681,
0.16417372226715088,
0.08130501210689545,
-0.3907199203968048,
0.200801283121109,
0.20646533370018005,
-0.042905740439891815,
-0.020093582570552826,
0.1915472447872162,
-0.14876917004585266,
-0.12667450308799744,
-0.03745632991194725,
-0.09696229547262192,
-0.043528325855731964,
-0.3887500464916229,
0.35639429092407227,
-0.20226474106311798,
-0.34850412607192993,
0.11781282722949982,
0.046440329402685165,
-0.05079647898674011,
-0.14896629750728607,
0.09937900304794312,
0.02772907167673111,
0.34217390418052673,
0.04330764710903168,
0.09770161658525467,
-0.17723308503627777,
0.26924651861190796,
-0.17162546515464783,
-0.19558696448802948,
0.08181096613407135,
0.030124608427286148,
-0.3976917862892151,
-0.03309662640094757,
0.17833775281906128,
0.023553185164928436,
-0.1286112368106842,
-0.08121335506439209,
0.22411426901817322,
-0.47221922874450684,
-0.15023252367973328,
0.2559903562068939,
0.15902629494667053,
-0.2315765619277954,
0.3751860558986664,
0.09412147104740143,
-0.35383111238479614,
-0.02756102755665779,
0.2337915599346161,
0.2777778208255768,
0.13317042589187622,
0.43434351682662964,
-0.09912228584289551,
-0.26824432611465454,
-0.3141044080257416,
-0.05269123241305351,
0.2094191163778305,
-0.3337269425392151,
0.2153695970773697,
-0.1402289718389511,
-0.045798175036907196,
-0.053366538137197495,
0.14623093605041504,
0.057932451367378235,
0.28717342019081116,
-0.3073500692844391,
0.22370174527168274,
-0.3420976996421814,
0.20673348009586334,
0.15595589578151703,
0.38402339816093445,
-0.29794543981552124,
0.08320233225822449,
-0.23490165174007416,
0.27399876713752747,
-0.46676185727119446,
0.04283259063959122,
-0.2088632732629776,
0.1687079668045044,
-0.13366609811782837,
-0.20973870158195496,
0.03607998788356781,
0.06499995291233063,
0.22020046412944794,
0.3377419710159302,
-0.3252370059490204,
-0.39811399579048157,
0.135080024600029,
0.03097452223300934,
-0.12853926420211792,
-0.22483792901039124,
-0.060632992535829544,
-0.0783369243144989,
-0.25700077414512634,
-0.11458980292081833,
-0.18002237379550934,
-0.06349107623100281,
-0.12999211251735687,
0.3418525457382202,
0.16095776855945587,
-0.19163557887077332,
0.19917412102222443,
0.08100554347038269,
-0.16401776671409607,
0.08741836994886398,
-0.12649385631084442,
0.21104688942432404,
-0.06379131972789764,
-0.1368979811668396,
0.009910402819514275,
0.036072615534067154,
-0.06415601074695587,
-0.07185407727956772,
0.14946036040782928,
-0.1447112262248993,
-0.2505650818347931,
-0.26966235041618347,
0.1532343626022339,
0.33884739875793457,
0.01365501806139946,
-0.2786348760128021,
0.2119673192501068,
0.32002362608909607,
-0.28601908683776855,
-0.02093144878745079,
-0.0982070118188858,
0.008100209757685661,
0.3125024437904358,
0.07357214391231537,
0.1748553216457367,
0.31003886461257935,
0.16764713823795319,
0.06904254853725433,
0.011155668646097183,
-0.2294384092092514,
0.20325671136379242,
0.283601313829422,
0.03161725774407387,
-0.32761403918266296,
0.336417555809021,
0.024601569399237633,
0.3674861490726471,
-0.10541924834251404,
-0.005847536027431488,
0.834401547908783,
0.14115452766418457,
0.29051199555397034,
-0.17791146039962769,
0.05242830887436867,
-0.04725022241473198,
0.32635220885276794,
0.043499480932950974,
0.21924984455108643,
0.18410995602607727,
0.4904949963092804,
-0.22688496112823486,
-0.2723933160305023,
0.017918983474373817,
0.16948923468589783,
-0.10914681106805801,
-0.055034950375556946,
-0.13471436500549316,
-0.13017398118972778,
-0.2063489556312561,
-0.058363743126392365,
-0.05107295140624046,
0.059781890362501144,
0.2818533182144165,
0.1918715387582779,
0.07803883403539658,
0.03563636541366577,
0.06712338328361511,
0.10030069947242737,
0.4031803011894226,
-0.10594501346349716,
-0.10427550226449966,
0.2536126971244812,
-0.095931276679039,
-0.19031618535518646,
0.21919085085391998,
0.2925117313861847,
0.08871231973171234,
-0.5372440814971924,
0.18673032522201538,
-0.1593751311302185,
-0.11659751087427139,
0.09656062722206116,
0.07409971952438354,
0.2262151837348938,
-0.33912163972854614,
0.10649099946022034,
0.19834169745445251,
-0.33515363931655884,
-0.07587376236915588,
0.019360151141881943,
0.05413331463932991,
0.1031615138053894,
0.15114067494869232,
0.2747753858566284,
-0.2860238254070282,
-0.04230475425720215,
-0.11316245049238205,
-0.1899321973323822,
0.014114731922745705,
0.308883935213089,
-0.29541075229644775,
-0.05700675770640373,
0.06129438802599907,
0.15976130962371826,
-0.09917943179607391,
0.8776476979255676,
0.10368303954601288,
0.29710546135902405,
-0.30508577823638916,
-0.09980425238609314,
-0.26628565788269043,
-0.05061066895723343,
-0.2296575903892517,
0.07573863863945007,
0.29377779364585876,
0.30289989709854126,
0.09716717153787613,
0.09230786561965942,
-0.04954497516155243,
-0.02528379298746586,
0.0675935447216034,
0.0995866134762764,
-0.3859613537788391,
0.2124975472688675,
-0.07062117755413055,
0.05869922786951065,
0.12775401771068573,
-0.44725853204727173,
0.035428889095783234,
-0.0905015766620636,
0.22122442722320557,
-0.22574980556964874,
0.03800681233406067,
0.26637884974479675,
0.5988175868988037,
0.2632507085800171,
0.03573112189769745,
0.12086585909128189,
-0.044723331928253174,
-0.0694492757320404,
0.05464715510606766,
-0.01851610466837883,
-0.1512855887413025,
-0.015045762062072754,
0.284593790769577,
0.17227745056152344,
0.014762064442038536,
-0.14279736578464508,
-0.234268918633461,
0.23868180811405182,
-0.12007465213537216,
-0.3722062408924103,
-0.029767829924821854,
0.13270814716815948,
0.16889548301696777,
0.2759905159473419,
-0.1993463635444641,
0.25898614525794983,
0.16711384057998657,
0.04516545683145523,
-0.5115529298782349,
-0.2668907940387726,
0.650198221206665,
-0.13340136408805847,
-0.09152127802371979,
0.015255375765264034,
0.1405867040157318,
0.19437773525714874,
0.38786542415618896,
-0.4342411160469055,
-0.16223306953907013,
0.17760345339775085,
0.030873188748955727,
-0.23963229358196259,
0.33172157406806946,
0.0752134770154953,
-0.10816478729248047,
-0.2494492381811142,
0.3955463767051697,
0.0005865059792995453,
-0.0934295728802681,
-0.3700318932533264,
-0.5167741179466248
] |
https://github.com/huggingface/datasets/pull/513 | [speedup] Use indices mappings instead of deepcopy for all the samples reordering methods | > Warning from pytorch that we should maybe consider at some point @lhoestq:
>
> ```
> /__w/nlp/nlp/src/nlp/arrow_dataset.py:648: UserWarning: The given NumPy array is not writeable,
> and PyTorch does not support non-writeable tensors. This means you can write to the underlying
> (supposedly non-writeable) NumPy array using the tensor. You may want to copy the array to
> protect its data or make it writeable before converting it to a tensor. This type of warning will be
> suppressed for the rest of this program.
> (Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:141.)
> 532
> return torch.tensor(x, **format_kwargs)
> ```
Not sure why we have that, it's probably linked to zero copy from arrow to numpy | Use an indices mapping instead of rewriting the dataset for all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`).
Added a `flatten_indices` method which copy the dataset to a new table to remove the indices mapping with tests.
All the samples re-ordering/selection methods should be a lot faster. The downside is that iterating on very large batch of the dataset might be a little slower when we have changed the order of the samples since with in these case we use `pyarrow.Table.take` instead of `pyarrow.Table.slice`. There is no free lunch but the speed of iterating over the dataset is rarely the bottleneck.
*Backward breaking change*: the `cache_file_name` argument in all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`) is now called `indices_cache_file_name` on purpose to make it explicit to the user that this caching file is used for caching the indices mapping and not the dataset itself. | 115 | text: [speedup] Use indices mappings instead of deepcopy for all the samples reordering methods
Use an indices mapping instead of rewriting the dataset for all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`).
Added a `flatten_indices` method which copy the dataset to a new table to remove the indices mapping with tests.
All the samples re-ordering/selection methods should be a lot faster. The downside is that iterating on very large batch of the dataset might be a little slower when we have changed the order of the samples since with in these case we use `pyarrow.Table.take` instead of `pyarrow.Table.slice`. There is no free lunch but the speed of iterating over the dataset is rarely the bottleneck.
*Backward breaking change*: the `cache_file_name` argument in all the samples re-ordering/selection methods (`select`, `sort`, `shuffle`, `shard`, `train_test_split`) is now called `indices_cache_file_name` on purpose to make it explicit to the user that this caching file is used for caching the indices mapping and not the dataset itself.
> Warning from pytorch that we should maybe consider at some point @lhoestq:
>
> ```
> /__w/nlp/nlp/src/nlp/arrow_dataset.py:648: UserWarning: The given NumPy array is not writeable,
> and PyTorch does not support non-writeable tensors. This means you can write to the underlying
> (supposedly non-writeable) NumPy array using the tensor. You may want to copy the array to
> protect its data or make it writeable before converting it to a tensor. This type of warning will be
> suppressed for the rest of this program.
> (Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:141.)
> 532
> return torch.tensor(x, **format_kwargs)
> ```
Not sure why we have that, it's probably linked to zero copy from arrow to numpy | [
-0.08180879801511765,
0.035790860652923584,
-0.16655245423316956,
-0.08284346759319305,
-0.11177648603916168,
0.03418845683336258,
0.09612239897251129,
0.5929071307182312,
-0.09028691053390503,
0.08730261027812958,
-0.1323409229516983,
0.7097628712654114,
-0.08861778676509857,
-0.25617164373397827,
0.03735319525003433,
-0.19283980131149292,
-0.17271429300308228,
0.24830186367034912,
-0.10288910567760468,
-0.20519191026687622,
-0.235732764005661,
-0.16380050778388977,
-0.2035292237997055,
0.000361420214176178,
-0.17301861941814423,
-0.20285126566886902,
-0.020655805245041847,
0.05832785367965698,
-0.1858094483613968,
-0.47225746512413025,
-0.012356696650385857,
0.10807625949382782,
-0.12826724350452423,
0.17199650406837463,
-0.00010166457650484517,
-0.0018248409032821655,
0.24178926646709442,
-0.020282983779907227,
-0.2343747317790985,
0.1058242991566658,
0.2486737072467804,
-0.45275184512138367,
0.04378276318311691,
-0.4375276565551758,
0.0629662573337555,
-0.3190758526325226,
0.01605241745710373,
-0.14106330275535583,
0.2675721347332001,
0.2547604441642761,
0.27695125341415405,
0.3215281069278717,
-0.1003437414765358,
0.13333486020565033,
0.24367791414260864,
-0.09017206728458405,
-0.14459189772605896,
0.08519431948661804,
0.2081880420446396,
0.03887639939785004,
-0.2678402364253998,
0.42719566822052,
-0.2766847610473633,
0.12385675311088562,
0.1082611232995987,
-0.11217036843299866,
0.07813628762960434,
-0.1319359987974167,
-0.20792752504348755,
0.2670798599720001,
0.10138832032680511,
-0.15285441279411316,
-0.1838456243276596,
-0.23380276560783386,
-0.06341105699539185,
-0.4516558349132538,
0.09586535394191742,
0.024264290928840637,
-0.16974039375782013,
-0.20295387506484985,
-0.06441718339920044,
0.13264814019203186,
-0.09310206770896912,
0.1520259976387024,
0.3139500617980957,
0.2225414365530014,
0.19398654997348785,
0.03313807398080826,
0.43610846996307373,
-0.04763922840356827,
0.4132906198501587,
-0.0017664525657892227,
0.1628388613462448,
-0.0027087219059467316,
-0.3208937346935272,
-0.2961149215698242,
-0.02001883089542389,
-0.4278548061847687,
0.0010978952050209045,
0.02456923946738243,
0.4352237284183502,
0.35598188638687134,
0.300152987241745,
-0.017933636903762817,
-0.14685150980949402,
0.29800254106521606,
-0.07459231466054916,
0.1945647895336151,
0.06320080161094666,
-0.089634470641613,
0.1731335073709488,
0.16598406434059143,
0.09948892146348953,
-0.5853032469749451,
0.07523013651371002,
0.1237097904086113,
-0.22402773797512054,
0.008105073124170303,
-0.13976310193538666,
-0.36134475469589233,
-0.26363125443458557,
-0.1314862221479416,
0.12302502244710922,
0.3714042901992798,
-0.09130513668060303,
-0.0004029907286167145,
0.054353564977645874,
-0.048770688474178314,
-0.33944836258888245,
0.08151925355195999,
-0.22838358581066132,
0.07381834089756012,
-0.2596198320388794,
0.15838293731212616,
0.2539234459400177,
0.15653882920742035,
0.13860873878002167,
-0.029828034341335297,
0.3416517376899719,
0.2271360456943512,
0.2220849245786667,
-0.0005713421851396561,
0.4411787688732147,
0.18390178680419922,
-0.2190736085176468,
-0.08113431930541992,
0.004281681030988693,
0.37166547775268555,
-0.42258307337760925,
0.31368258595466614,
-0.33352822065353394,
-0.40949365496635437,
0.10441437363624573,
0.2574005126953125,
-0.03183327615261078,
-0.05801386386156082,
0.0891459733247757,
0.03231628239154816,
0.1703796684741974,
-0.12423904240131378,
0.1843279004096985,
-0.16876833140850067,
-0.08488186448812485,
-0.2898966670036316,
0.15191686153411865,
-0.01585330069065094,
0.051482949405908585,
-0.07346289604902267,
-0.04974238947033882,
0.2965465188026428,
0.3524055480957031,
0.476836621761322,
-0.3043455183506012,
-0.17982560396194458,
-0.050462186336517334,
0.3718723654747009,
0.5902075171470642,
0.025181900709867477,
-0.4534924030303955,
-0.05674378573894501,
-0.057376135140657425,
-0.14001157879829407,
0.10248155146837234,
0.24270999431610107,
0.22210992872714996,
-0.014050289988517761,
0.14163321256637573,
0.18796467781066895,
0.09941136091947556,
0.15999722480773926,
-0.5111446976661682,
-0.287075012922287,
0.3556375503540039,
0.16702674329280853,
-0.12891831994056702,
-0.3113749921321869,
-0.20867154002189636,
-0.29892808198928833,
0.1754242181777954,
-0.2457858920097351,
-0.08579794317483902,
0.08865994215011597,
-0.013481426984071732,
-0.1717304289340973,
0.11845872551202774,
0.10530116409063339,
-0.12197849899530411,
0.2565932273864746,
-0.339968204498291,
0.225126713514328,
-0.14623890817165375,
-0.09464430809020996,
0.0071939826011657715,
-0.0890299379825592,
-0.2011236697435379,
-0.05089857801795006,
0.2468946874141693,
-0.15374740958213806,
0.23138165473937988,
-0.16371546685695648,
-0.10182659327983856,
-0.05300360172986984,
-0.36134687066078186,
-0.13483750820159912,
-0.23817165195941925,
0.1083870530128479,
-0.16365697979927063,
-0.20053158700466156,
-0.04118722677230835,
0.19759225845336914,
0.07133448123931885,
-0.0471181757748127,
-0.17774713039398193,
0.16509190201759338,
-0.1853828728199005,
-0.0760374665260315,
-0.17472994327545166,
0.2105473279953003,
0.06343311816453934,
-0.43788403272628784,
0.3678802251815796,
0.20986254513263702,
-0.10629107058048248,
-0.050243500620126724,
0.03638177365064621,
0.5666669607162476,
-0.2892271876335144,
0.2027721405029297,
-0.0866059735417366,
-0.07142428308725357,
-0.12107907235622406,
-0.029609328135848045,
-0.12236721068620682,
0.128003790974617,
0.31719136238098145,
0.06204485520720482,
0.14326395094394684,
0.12416484951972961,
-0.08261295408010483,
0.17047077417373657,
0.4337291717529297,
-0.03764626011252403,
-0.1027093455195427,
0.30282264947891235,
-0.02995886653661728,
-0.27382203936576843,
0.09896237403154373,
-0.11407113075256348,
0.230768620967865,
0.31698843836784363,
0.20607002079486847,
-0.15438352525234222,
-0.1521206647157669,
-0.23632770776748657,
0.22140860557556152,
0.03458266705274582,
0.3074168860912323,
-0.0024501457810401917,
0.14477874338626862,
0.008215511217713356,
-0.3105643391609192,
0.026862140744924545,
0.02482711710035801,
0.3044065237045288,
-0.020585961639881134,
0.09578495472669601,
-0.05577196180820465,
-0.13666582107543945,
-0.013561178930103779,
-0.11728890985250473,
0.028271393850445747,
-0.19946643710136414,
0.17328977584838867,
0.017687590792775154,
-0.21836510300636292,
0.33443737030029297,
0.17342497408390045,
0.19239506125450134,
0.15993359684944153,
-0.19351117312908173,
-0.31288766860961914,
-0.1437750905752182,
-0.06116579473018646,
0.17845256626605988,
0.03950696066021919,
0.30029913783073425,
0.2332851141691208,
0.06235938519239426,
-0.15085245668888092,
0.05083440989255905,
-0.18482987582683563,
-0.12727303802967072,
-0.09470383822917938,
-0.15199659764766693,
0.063566654920578,
0.04893597960472107,
-0.23261594772338867,
-0.3413204252719879,
0.1493159532546997,
-0.34832093119621277,
-0.14333781599998474,
0.15956462919712067,
0.007517959922552109,
0.15396122634410858,
-0.07567285001277924,
-0.47232696413993835,
-0.3155633509159088,
-0.4445054829120636,
0.31028205156326294,
-0.07305432856082916,
0.387215793132782,
0.13611331582069397,
0.19799473881721497,
0.23638282716274261,
0.004347005859017372,
0.1679658144712448,
-0.09068445861339569,
-0.01499602198600769,
0.3322772681713104,
-0.12657757103443146,
-0.3233945965766907,
-0.4230627715587616,
-0.17963863909244537,
0.06737662106752396,
0.07322108000516891,
-0.30749815702438354,
0.008495285175740719,
-0.28077182173728943,
0.2843627333641052,
-0.0734599307179451,
-0.08076905459165573,
0.4668784439563751,
0.14590442180633545,
-0.2654701769351959,
0.10874230414628983,
-0.0040137916803359985,
-0.0696270540356636,
0.24531513452529907,
0.04587551951408386,
-0.10020896047353745,
0.12330181896686554,
0.17628717422485352,
0.7892585396766663,
0.21140103042125702,
-0.2389019876718521,
0.052892304956912994,
0.11328068375587463,
0.04105793684720993,
-0.15050992369651794,
-0.22692182660102844,
-0.014891236089169979,
-0.12033417820930481,
0.04306679219007492,
-0.05282755196094513,
-0.28401443362236023,
-0.48188304901123047,
0.15328183770179749,
0.04443647339940071,
0.10580181330442429,
-0.2536733150482178,
0.532686173915863,
-0.1521771252155304,
0.02172357589006424,
0.015305906534194946,
0.07061966508626938,
-0.39686620235443115,
-0.12104898691177368,
0.09491035342216492,
-0.17661447823047638,
0.1501178741455078,
-0.18022561073303223,
-0.3399948179721832,
-0.18814592063426971,
-0.6466677784919739,
0.2961522340774536,
0.1690463274717331,
0.27566686272621155,
0.24762161076068878,
-0.3252113163471222,
0.2018912434577942,
-0.1131492555141449,
0.32841646671295166,
0.006810296326875687,
-0.28373515605926514,
0.3195836842060089,
0.02194184809923172,
-0.42774641513824463,
0.09811671078205109,
-0.20070791244506836,
0.21872839331626892,
0.055566996335983276,
0.15052133798599243,
-0.1828867793083191,
-0.3185649812221527,
0.246646910905838,
0.1755586862564087,
0.05376831069588661,
0.00489394273608923,
-0.2620687782764435,
-0.3154065012931824,
-0.14716434478759766,
0.202974334359169,
0.04133809357881546,
0.10349559038877487,
-0.21680423617362976,
0.011705994606018066,
-0.03640254586935043,
0.04989153891801834,
-0.015192911028862,
0.03468775376677513,
0.22655805945396423,
0.10525111854076385,
0.10182888805866241,
0.18141262233257294,
0.11097531020641327,
0.14610406756401062,
0.16462959349155426,
-0.2980635166168213,
0.23041968047618866,
-0.00905829668045044,
0.3428829610347748,
0.1759277582168579,
0.3801444172859192,
0.22528690099716187,
0.1572982370853424,
-0.2528238594532013,
0.21480602025985718,
-0.11478326469659805,
0.06902235001325607,
0.10913395136594772,
-0.02310248091816902,
0.029211172834038734,
-0.35637372732162476,
0.6349596977233887,
0.13895872235298157,
-0.09378368407487869,
0.5272797346115112,
-0.0539536327123642,
0.018678776919841766,
0.4014238715171814,
0.5093235969543457,
0.9894924163818359,
-0.1804068386554718,
0.3343832194805145,
0.3068709671497345,
0.07520833611488342,
0.2537689805030823,
-0.09186995029449463,
0.3269541263580322,
-0.14153125882148743,
-0.3388536870479584,
0.19789353013038635,
-0.2494831383228302,
-0.1676252782344818,
-0.033845528960227966,
-0.2318105846643448,
0.10271719843149185,
0.06418536603450775,
-0.2858785390853882,
-0.07934653759002686,
0.13190515339374542,
0.07299838960170746,
-0.37106847763061523,
0.23159359395503998,
0.18826226890087128,
-0.015817731618881226,
-0.025713186711072922,
0.17113050818443298,
-0.17873123288154602,
-0.13941527903079987,
-0.05571768432855606,
-0.09494432806968689,
-0.02049345336854458,
-0.4234177768230438,
0.3638048768043518,
-0.18050283193588257,
-0.3580802083015442,
0.15663661062717438,
0.028872519731521606,
-0.03744875639677048,
-0.16409166157245636,
0.07042045146226883,
0.028783364221453667,
0.374864399433136,
0.0065176887437701225,
0.10044050961732864,
-0.16872277855873108,
0.27852293848991394,
-0.15360140800476074,
-0.19442448019981384,
0.10187094658613205,
-0.027533993124961853,
-0.42758822441101074,
-0.013993456959724426,
0.19950789213180542,
-0.008647151291370392,
-0.1242099180817604,
-0.11709730327129364,
0.23184385895729065,
-0.4889431297779083,
-0.14208786189556122,
0.24067716300487518,
0.15460383892059326,
-0.19790396094322205,
0.33056122064590454,
0.09824402630329132,
-0.3809467852115631,
-0.006803575903177261,
0.20741809904575348,
0.25487297773361206,
0.10649965703487396,
0.46130675077438354,
-0.1281462460756302,
-0.24728786945343018,
-0.305412232875824,
-0.056998491287231445,
0.2247467190027237,
-0.4118776321411133,
0.22157756984233856,
-0.1469070017337799,
-0.05745880305767059,
-0.03929869085550308,
0.1485833078622818,
0.0967538058757782,
0.350944459438324,
-0.3571120500564575,
0.21919864416122437,
-0.3544875383377075,
0.2687976360321045,
0.11646799743175507,
0.3905752897262573,
-0.3371986746788025,
0.03175762668251991,
-0.21064315736293793,
0.2294420450925827,
-0.4523927569389343,
0.04494956135749817,
-0.20310769975185394,
0.17723412811756134,
-0.11916778981685638,
-0.2020912766456604,
0.057954851537942886,
0.05926422402262688,
0.19010254740715027,
0.32499760389328003,
-0.338575154542923,
-0.37547415494918823,
0.15724998712539673,
0.047381699085235596,
-0.11059770733118057,
-0.24565966427326202,
-0.08976075053215027,
-0.1065431758761406,
-0.212363138794899,
-0.1047646701335907,
-0.1806112676858902,
-0.06886520236730576,
-0.14194048941135406,
0.3238380253314972,
0.17187300324440002,
-0.16926223039627075,
0.15069527924060822,
0.11071913689374924,
-0.175420343875885,
0.11006178706884384,
-0.1571069210767746,
0.2053954154253006,
-0.0548720508813858,
-0.1478271335363388,
0.0006590326083824039,
0.037423595786094666,
-0.05210740864276886,
-0.05852106213569641,
0.13668249547481537,
-0.11069729924201965,
-0.25596746802330017,
-0.30637866258621216,
0.12008513510227203,
0.32658395171165466,
0.0029184247832745314,
-0.3116673231124878,
0.20337074995040894,
0.30250197649002075,
-0.2603546380996704,
-0.05151272937655449,
-0.14747406542301178,
0.005629528779536486,
0.2951802909374237,
0.056161269545555115,
0.21363884210586548,
0.2992594838142395,
0.2008647322654724,
0.09217986464500427,
-0.016743142157793045,
-0.2430398017168045,
0.19837301969528198,
0.28150129318237305,
0.015338029712438583,
-0.3237606883049011,
0.3752119243144989,
-0.00417695939540863,
0.4042814075946808,
-0.12587274610996246,
-0.03835277259349823,
0.8329640030860901,
0.19289439916610718,
0.2746933102607727,
-0.19694796204566956,
0.06308922171592712,
-0.03834684565663338,
0.3119361102581024,
0.04747256264090538,
0.23528459668159485,
0.19379822909832,
0.4791227877140045,
-0.18795065581798553,
-0.27491262555122375,
0.026339897885918617,
0.17098408937454224,
-0.1135145053267479,
-0.06398188322782516,
-0.1431945413351059,
-0.11290847510099411,
-0.23733240365982056,
-0.060676757246255875,
-0.07117536664009094,
0.07965990900993347,
0.31988874077796936,
0.19087618589401245,
0.034719668328762054,
0.028793994337320328,
0.08741049468517303,
0.1448606252670288,
0.38803666830062866,
-0.11627364158630371,
-0.0845537781715393,
0.21750088036060333,
-0.12002111971378326,
-0.18204624950885773,
0.2721230089664459,
0.3210046589374542,
0.12726566195487976,
-0.4970742464065552,
0.17467504739761353,
-0.08397462964057922,
-0.13353995978832245,
0.11861681938171387,
0.08035503327846527,
0.24329575896263123,
-0.36399605870246887,
0.07423649728298187,
0.1819715052843094,
-0.32623353600502014,
-0.04262809827923775,
0.006294600665569305,
0.08516716957092285,
0.1061730682849884,
0.15941224992275238,
0.27690833806991577,
-0.33126500248908997,
-0.03163899481296539,
-0.07730383425951004,
-0.21821582317352295,
0.027691222727298737,
0.33772897720336914,
-0.3124835789203644,
-0.07446164637804031,
0.012248627841472626,
0.15375474095344543,
-0.09530334174633026,
0.9125550389289856,
0.14561039209365845,
0.31161078810691833,
-0.3316362202167511,
-0.09475644677877426,
-0.2810813784599304,
-0.03343962877988815,
-0.2341536283493042,
0.09695076942443848,
0.29992225766181946,
0.30707991123199463,
0.09942884743213654,
0.0905957818031311,
-0.001173645257949829,
0.004106343723833561,
0.07730857282876968,
0.11339389532804489,
-0.40780219435691833,
0.23622187972068787,
-0.007762253284454346,
0.07290807366371155,
0.12093353271484375,
-0.46888282895088196,
0.05022026225924492,
-0.07549802213907242,
0.20060628652572632,
-0.20678524672985077,
0.0297679603099823,
0.2949431240558624,
0.633979082107544,
0.29821333289146423,
0.041680317372083664,
0.11467079073190689,
-0.04197779297828674,
-0.09370725601911545,
0.022549372166395187,
-0.08039151132106781,
-0.140229269862175,
-0.0010080486536026,
0.29818448424339294,
0.18084290623664856,
-0.0027633216232061386,
-0.13477584719657898,
-0.2356157898902893,
0.21145078539848328,
-0.16007640957832336,
-0.3583754301071167,
-0.04066774994134903,
0.1413373351097107,
0.13657259941101074,
0.2613942325115204,
-0.1846543699502945,
0.23812347650527954,
0.18565723299980164,
0.03806091845035553,
-0.5076423287391663,
-0.2766000032424927,
0.6425642967224121,
-0.14236436784267426,
-0.043072182685136795,
0.03857427090406418,
0.16044513881206512,
0.222415953874588,
0.35932835936546326,
-0.4640355110168457,
-0.1775437295436859,
0.18041622638702393,
0.03918641060590744,
-0.2699125111103058,
0.2982275187969208,
0.08592027425765991,
-0.09665681421756744,
-0.24432368576526642,
0.4645855128765106,
0.0013364125043153763,
-0.09761422127485275,
-0.36579281091690063,
-0.5182797312736511
] |
https://github.com/huggingface/datasets/pull/505 | tmp_file referenced before assignment | Thanks for reporting the issue ! I'm creating a new PR to fix it and add tests.
(I'm doing a new PR because I know there's some other place where it needs to be fixed) | Just learning about this library - so might've not set up all the flags correctly, but was getting this error about "tmp_file". | 35 | text: tmp_file referenced before assignment
Just learning about this library - so might've not set up all the flags correctly, but was getting this error about "tmp_file".
Thanks for reporting the issue ! I'm creating a new PR to fix it and add tests.
(I'm doing a new PR because I know there's some other place where it needs to be fixed) | [
-0.16260871291160583,
-0.2295512855052948,
-0.13758966326713562,
-0.06317856907844543,
0.3416707515716553,
-0.02289031445980072,
0.24822863936424255,
0.33397650718688965,
-0.2538456618785858,
0.3360413908958435,
0.2128167450428009,
0.19078655540943146,
-0.15714678168296814,
-0.06877385824918747,
-0.021803610026836395,
-0.03574194014072418,
-0.038887299597263336,
0.2041875720024109,
-0.07274220883846283,
0.0419815331697464,
-0.15477728843688965,
0.35026517510414124,
-0.12336834520101547,
0.1997767686843872,
-0.2070285528898239,
0.0002533961087465286,
0.11730557680130005,
0.19965016841888428,
-0.14694710075855255,
-0.1538921296596527,
0.006161833181977272,
-0.018107324838638306,
-0.30475980043411255,
0.1967683583498001,
-0.00009028711065184325,
-0.08012302219867706,
0.27162718772888184,
-0.1343746781349182,
-0.025965014472603798,
-0.0016336888074874878,
0.21255412697792053,
0.05418485403060913,
0.09219318628311157,
-0.2510496973991394,
-0.16961050033569336,
0.04356630519032478,
0.27663397789001465,
-0.17610439658164978,
-0.08209691941738129,
0.2983870208263397,
0.4315384328365326,
0.3016483187675476,
0.034672852605581284,
-0.37057891488075256,
0.4385245144367218,
-0.30336564779281616,
-0.18633422255516052,
0.03335057199001312,
0.3737724721431732,
-0.15228447318077087,
-0.05740181356668472,
0.2050810307264328,
0.06793510913848877,
0.06752432882785797,
0.33866527676582336,
-0.10528302192687988,
0.3343510627746582,
0.18500001728534698,
-0.013139382004737854,
0.07696767151355743,
0.5562314391136169,
-0.3049854338169098,
0.0954914391040802,
0.10845891386270523,
-0.18455177545547485,
-0.02676980011165142,
0.19293177127838135,
-0.03187365084886551,
0.06205439195036888,
0.012251609936356544,
0.32176685333251953,
0.06014799699187279,
-0.18893525004386902,
0.04918607324361801,
0.1176137924194336,
0.0919332206249237,
-0.1867370903491974,
0.04287790507078171,
0.30097493529319763,
0.04645288735628128,
-0.07754438370466232,
0.33143356442451477,
-0.22295382618904114,
0.30558428168296814,
0.139820396900177,
0.06376978009939194,
0.21489286422729492,
-0.0884270891547203,
0.16597077250480652,
0.04935445636510849,
0.0954534113407135,
0.0033175013959407806,
-0.12596194446086884,
0.25596052408218384,
0.26998773217201233,
0.11473119258880615,
-0.15946635603904724,
0.12345486134290695,
0.16481737792491913,
-0.048142969608306885,
-0.04287324845790863,
-0.16251152753829956,
0.09794291853904724,
-0.48392534255981445,
-0.15536914765834808,
0.11083263158798218,
0.026415236294269562,
-0.2097630649805069,
-0.08781354129314423,
-0.0728553831577301,
0.05963019281625748,
0.054587800055742264,
-0.1789664626121521,
0.2312655746936798,
0.161465123295784,
-0.03144353628158569,
0.28383731842041016,
-0.10787592828273773,
-0.28590744733810425,
0.16025248169898987,
-0.24755890667438507,
0.4107653498649597,
-0.5186973214149475,
-0.2789587378501892,
-0.028706025332212448,
0.08732888102531433,
0.26311755180358887,
-0.22374260425567627,
0.320747435092926,
0.04479130357503891,
0.19392971694469452,
0.1844058632850647,
0.08610887080430984,
0.3125080168247223,
-0.11475759744644165,
0.2504442632198334,
-0.022417526692152023,
0.07296724617481232,
-0.17839285731315613,
0.1841656118631363,
-0.2004401981830597,
-0.18726201355457306,
-0.1404225081205368,
0.34584495425224304,
-0.02554013766348362,
0.002506997436285019,
0.2833513021469116,
-0.10272487998008728,
0.22093316912651062,
-0.3628716468811035,
-0.0682913288474083,
-0.10441292822360992,
-0.11312602460384369,
-0.1605403572320938,
-0.028393322601914406,
0.19791364669799805,
-0.25165802240371704,
0.19563615322113037,
-0.13654278218746185,
-0.3640308380126953,
0.10368117690086365,
0.24021252989768982,
-0.09152131527662277,
0.15761399269104004,
-0.3154708743095398,
0.16523593664169312,
0.16086147725582123,
-0.4010736346244812,
0.057770222425460815,
0.0641963854432106,
-0.29452380537986755,
-0.37219172716140747,
-0.1585272252559662,
0.2605506181716919,
-0.3276437819004059,
-0.24265754222869873,
0.10014517605304718,
0.030018720775842667,
0.036173753440380096,
0.15232935547828674,
-0.39813679456710815,
0.09935452789068222,
0.06977285444736481,
-0.022816123440861702,
-0.05630932375788689,
0.028958730399608612,
-0.09615322202444077,
0.3242518901824951,
0.08909537643194199,
-0.11935082077980042,
-0.07874304801225662,
0.10707589983940125,
0.3670783042907715,
0.2430206835269928,
0.014704594388604164,
-0.005517233163118362,
0.28474509716033936,
-0.025966282933950424,
0.013657905161380768,
0.2719915509223938,
0.2752844989299774,
-0.01984107494354248,
0.0016817115247249603,
-0.006231867708265781,
0.14192156493663788,
-0.1825997233390808,
0.33916565775871277,
0.21387238800525665,
-0.040012177079916,
0.037504781037569046,
-0.15197783708572388,
-0.1126236841082573,
-0.2203451246023178,
-0.04976357892155647,
-0.18272626399993896,
-0.3511437475681305,
-0.40860888361930847,
0.01921410858631134,
0.13732698559761047,
0.003269776701927185,
-0.0598749965429306,
0.053914472460746765,
-0.08496596664190292,
0.454478919506073,
0.14723242819309235,
-0.14340680837631226,
-0.07796537131071091,
0.3166641592979431,
0.02877754345536232,
-0.3225627541542053,
-0.08958829939365387,
0.12020449340343475,
0.02861887216567993,
-0.03851861134171486,
0.22042137384414673,
0.10999861359596252,
-0.07245896756649017,
-0.24952521920204163,
0.22284255921840668,
-0.15781860053539276,
0.16688457131385803,
-0.023810239508748055,
0.07394111901521683,
-0.09413664788007736,
0.34378886222839355,
0.2580699026584625,
-0.05395134538412094,
-0.10787776112556458,
-0.21651411056518555,
-0.1340349018573761,
0.4456394612789154,
-0.008428040891885757,
-0.017244480550289154,
-0.07663402706384659,
0.12378928065299988,
0.06829803436994553,
-0.1276502013206482,
0.008216921240091324,
0.26833611726760864,
0.21142150461673737,
0.06013768911361694,
-0.09071371704339981,
-0.3468734920024872,
-0.3113178014755249,
0.13495464622974396,
-0.10837514698505402,
-0.08046755194664001,
0.16796091198921204,
-0.14425164461135864,
-0.0887506827712059,
-0.267033189535141,
-0.009023401886224747,
-0.11661813408136368,
0.23880800604820251,
-0.36345627903938293,
-0.1463678926229477,
-0.09473120421171188,
-0.20365434885025024,
0.14708341658115387,
0.05516114458441734,
0.22218571603298187,
-0.3363319933414459,
0.3606448769569397,
0.13848969340324402,
-0.3001282513141632,
0.1528216153383255,
0.07986870408058167,
0.12673352658748627,
0.11393409967422485,
0.01428051758557558,
-0.0064875781536102295,
-0.40503132343292236,
-0.201173335313797,
0.2699132561683655,
0.16094131767749786,
-0.09463569521903992,
0.4022297263145447,
-0.1998578906059265,
0.03283008560538292,
-0.11489266902208328,
-0.552253246307373,
0.018418103456497192,
-0.11800359189510345,
0.24398525059223175,
0.39643797278404236,
0.24511118233203888,
0.10951972007751465,
-0.3034718632698059,
0.1375504434108734,
-0.47374022006988525,
-0.23706355690956116,
-0.029505573213100433,
0.02339751087129116,
-0.23506370186805725,
-0.6817436814308167,
-0.4325326979160309,
0.2776438295841217,
-0.49187418818473816,
0.30346009135246277,
0.12711888551712036,
0.0409894660115242,
0.3904007077217102,
-0.03597535938024521,
0.17390039563179016,
-0.13752232491970062,
0.28702452778816223,
-0.2631511390209198,
-0.22362513840198517,
0.39473193883895874,
-0.3131459057331085,
-0.6175376772880554,
0.09720820188522339,
0.1009259819984436,
0.1817748248577118,
-0.18319150805473328,
-0.25871992111206055,
-0.34668606519699097,
0.2602201998233795,
-0.2095271497964859,
-0.11291031539440155,
0.07655856758356094,
-0.09893505275249481,
0.02504078671336174,
-0.4172838628292084,
-0.441082239151001,
-0.07649719715118408,
0.25434762239456177,
-0.18680354952812195,
0.2458057403564453,
-0.16642609238624573,
-0.08596543222665787,
-0.097847118973732,
0.3293662369251251,
-0.3249174952507019,
-0.0696704089641571,
0.24855002760887146,
-0.17749489843845367,
0.23455362021923065,
-0.006166599690914154,
0.0010896176099777222,
0.09160611778497696,
0.12203608453273773,
-0.20397056639194489,
0.3000047504901886,
-0.0512356236577034,
-0.14808179438114166,
-0.2551785707473755,
0.33024096488952637,
-0.1287095546722412,
-0.22186914086341858,
0.039542049169540405,
0.16462847590446472,
-0.007593676447868347,
0.08151336014270782,
-0.1540507972240448,
-0.1564420610666275,
-0.05758679285645485,
0.29381683468818665,
0.2200014889240265,
-0.041071392595767975,
-0.0688139796257019,
-0.19368600845336914,
-0.16326722502708435,
-0.017478182911872864,
0.033190034329891205,
-0.07851240038871765,
-0.05198811739683151,
-0.30734363198280334,
-0.35239720344543457,
0.047663744539022446,
-0.2135709971189499,
0.5071494579315186,
-0.013403533026576042,
0.038456812500953674,
0.35038691759109497,
0.14205826818943024,
-0.044991523027420044,
-0.14603272080421448,
-0.3261065185070038,
0.07809272408485413,
0.0751732885837555,
0.16218923032283783,
-0.24547460675239563,
0.041274383664131165,
0.056818924844264984,
-0.21723578870296478,
-0.054104067385196686,
0.04153468459844589,
-0.40973764657974243,
-0.3307865858078003,
-0.311715692281723,
-0.24428701400756836,
0.3015812933444977,
0.014704428613185883,
0.14288854598999023,
-0.04850054159760475,
0.18397638201713562,
0.05079507827758789,
0.1159781888127327,
0.010060116648674011,
0.26453331112861633,
-0.14383266866207123,
0.12569072842597961,
-0.12756608426570892,
0.047255195677280426,
0.07482670247554779,
0.09853211045265198,
-0.27440083026885986,
0.3589007258415222,
0.3083760142326355,
-0.10420243442058563,
0.2949434816837311,
0.024348251521587372,
-0.03367573767900467,
-0.06741940230131149,
-0.3715503215789795,
0.14270669221878052,
-0.0687178447842598,
0.30855414271354675,
0.23141911625862122,
-0.19022038578987122,
0.08342911303043365,
-0.3612695038318634,
0.19415047764778137,
0.09257322549819946,
-0.020054243505001068,
0.5454223155975342,
-0.07051078975200653,
-0.0682818591594696,
-0.09635967761278152,
0.2482190728187561,
0.9214636087417603,
-0.10027715563774109,
-0.02880435809493065,
0.1549360752105713,
-0.24860410392284393,
0.40744590759277344,
-0.40109217166900635,
0.22684450447559357,
-0.521937906742096,
-0.1265598088502884,
0.16109739243984222,
-0.11387719959020615,
-0.05254571884870529,
-0.056869588792324066,
-0.27086442708969116,
-0.24682894349098206,
0.05948382616043091,
0.061966635286808014,
-0.21187087893486023,
0.18089845776557922,
0.09292609244585037,
0.002717631869018078,
-0.12989959120750427,
0.3180024325847626,
0.07001153379678726,
0.10374969244003296,
-0.21540188789367676,
-0.15035167336463928,
0.06029508635401726,
-0.11103963106870651,
-0.05330250412225723,
-0.014829560182988644,
-0.21779532730579376,
0.11233163625001907,
0.07349513471126556,
0.17929048836231232,
0.12774403393268585,
0.05874454975128174,
0.15742388367652893,
0.15598151087760925,
-0.13309913873672485,
0.28232768177986145,
-0.02718432992696762,
-0.16171374917030334,
-0.03903171792626381,
0.37068310379981995,
0.355956107378006,
-0.30976220965385437,
0.05315961688756943,
0.07993052899837494,
-0.15169157087802887,
-0.14972840249538422,
-0.2576897442340851,
-0.12354905903339386,
0.10465489327907562,
-0.14147378504276276,
-0.05768940970301628,
0.2524161636829376,
-0.08871594816446304,
0.08227823674678802,
0.32931017875671387,
0.08374663442373276,
-0.32701575756073,
0.04695359990000725,
0.1518971472978592,
-0.30039840936660767,
0.1796567291021347,
0.28282031416893005,
-0.10694887489080429,
0.1421470046043396,
0.030973026528954506,
0.14838561415672302,
-0.14094054698944092,
-0.3762885332107544,
-0.28770267963409424,
0.03191625326871872,
-0.2509753704071045,
0.20864693820476532,
0.19826212525367737,
-0.2722727060317993,
0.19907869398593903,
0.49506399035453796,
0.09035179764032364,
-0.026615366339683533,
-0.20291855931282043,
-0.0774683803319931,
-0.4615933895111084,
0.08430849760770798,
-0.20586544275283813,
0.3521990478038788,
-0.05190543830394745,
0.4255872368812561,
0.25973594188690186,
-0.0965513288974762,
-0.5125391483306885,
-0.05425650626420975,
-0.24450166523456573,
0.2808291018009186,
0.025446103885769844,
-0.12059695273637772,
0.17835359275341034,
0.190917506814003,
0.30093812942504883,
0.28954029083251953,
-0.46844151616096497,
-0.3532189428806305,
-0.05212544649839401,
0.09614147990942001,
0.018813375383615494,
0.033238813281059265,
0.23663151264190674,
-0.1404559165239334,
-0.22575020790100098,
0.12801796197891235,
0.0374089851975441,
-0.1363893747329712,
-0.14098958671092987,
0.23113422095775604,
0.009417243301868439,
0.06718829274177551,
0.22917361557483673,
-0.0949772447347641,
0.11463434994220734,
0.21995534002780914,
-0.03064010478556156,
-0.17060406506061554,
-0.17960265278816223,
-0.2634265422821045,
0.14624448120594025,
0.16382038593292236,
0.08099495619535446,
0.1943751871585846,
0.02377123013138771,
0.060551974922418594,
-0.03302200511097908,
-0.13646090030670166,
0.21213223040103912,
0.07667340338230133,
-0.21861416101455688,
-0.10098067671060562,
-0.006095267832279205,
0.35411760210990906,
-0.23457366228103638,
0.09097907692193985,
-0.01904962956905365,
-0.2937789857387543,
-0.03214891999959946,
-0.07724019140005112,
0.037039581686258316,
0.07601384818553925,
0.2022014707326889,
0.11480418592691422,
0.08611763268709183,
-0.24836866557598114,
-0.13188160955905914,
0.32388925552368164,
-0.45544853806495667,
0.0033537596464157104,
-0.07075995206832886,
-0.09075205028057098,
0.16781598329544067,
0.5711000561714172,
0.10615228861570358,
0.30016443133354187,
0.02323828637599945,
-0.04342297092080116,
-0.20098397135734558,
-0.09207697212696075,
0.3461662530899048,
0.3135914206504822,
0.2877535820007324,
0.28699439764022827,
0.15492448210716248,
0.5459321141242981,
-0.2739481031894684,
0.16517314314842224,
-0.10539717227220535,
0.030006028711795807,
-0.22158357501029968,
-0.10714977979660034,
-0.17768780887126923,
-0.01370450109243393,
-0.09696751832962036,
-0.013444438576698303,
0.17465966939926147,
0.4194214344024658,
0.19144172966480255,
0.12074753642082214,
0.08352556824684143,
0.06018044054508209,
-0.12368787080049515,
-0.11888094991445541,
0.23055210709571838,
-0.16369038820266724,
0.2510017156600952,
-0.01277218759059906,
0.10772357136011124,
0.2782527506351471,
0.03541502356529236,
0.3019087016582489,
0.2753407955169678,
-0.10050040483474731,
-0.21846340596675873,
-0.2345856875181198,
0.11100634932518005,
0.05491970479488373,
0.23166558146476746,
0.28097379207611084,
0.28801819682121277,
0.3589358627796173,
0.18491628766059875,
-0.29061996936798096,
0.0912150889635086,
0.21787525713443756,
-0.0506339929997921,
0.050096768885850906,
-0.03899390250444412,
-0.10721999406814575,
-0.21026021242141724,
-0.28793758153915405,
0.08495266735553741,
-0.45836594700813293,
-0.08652371168136597,
0.10094229876995087,
-0.14774462580680847,
0.10625164210796356,
-0.06403306126594543,
0.2197325974702835,
0.26919472217559814,
0.4959384500980377,
0.15509003400802612,
0.03533278778195381,
-0.10263621062040329,
-0.3728320598602295,
-0.5309907793998718,
0.5293403267860413,
0.11570435762405396,
0.06579919904470444,
-0.25126954913139343,
-0.0949452817440033,
0.1320795714855194,
-0.016997087746858597,
0.22492972016334534,
-0.15080136060714722,
0.031040452420711517,
0.03724529594182968,
-0.2515579164028168,
-0.07134786248207092,
-0.11408713459968567,
-0.17489799857139587,
0.11452789604663849,
-0.03811018168926239,
-0.3239392042160034,
-0.278707355260849,
0.3659781217575073,
-0.15908007323741913,
-0.1715841144323349,
0.12308309972286224,
0.3325915038585663,
0.4054703116416931,
-0.0804174467921257,
0.3917515277862549,
-0.02556667849421501,
-0.13733911514282227,
0.040061112493276596,
-0.13624949753284454,
0.0024606501683592796,
-0.1563493013381958,
0.1661638468503952,
-0.07171091437339783,
0.13468965888023376,
0.06664066761732101,
-0.2930063307285309,
0.21680381894111633,
0.07509297877550125,
0.37759628891944885,
-0.4940899908542633,
0.0549972802400589,
0.09359990805387497,
0.00432023499161005,
-0.04914949834346771,
0.13897481560707092,
0.049283597618341446,
0.05532396584749222,
-0.4849012494087219,
-0.3632851839065552,
0.7221862077713013,
-0.29697978496551514,
-0.16162648797035217,
0.2166886031627655,
0.13508659601211548,
-0.13326150178909302,
0.016637565568089485,
-0.7043924927711487,
0.1073160395026207,
0.15176886320114136,
0.10217451304197311,
-0.42052310705184937,
0.24298478662967682,
-0.05032891035079956,
-0.03753720223903656,
0.07256963849067688,
0.08559029549360275,
0.1458090990781784,
0.048087239265441895,
0.06138614937663078,
-0.07855422794818878
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | I don't see any significant change in the dataset script (except the version value update), can you check that again please ? | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 22 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
I don't see any significant change in the dataset script (except the version value update), can you check that again please ? | [
-0.3423229157924652,
0.042344748973846436,
-0.13587696850299835,
-0.18522976338863373,
-0.024493981152772903,
-0.04216780513525009,
0.2850569784641266,
0.332338809967041,
-0.2614661753177643,
-0.04416738450527191,
0.3492395579814911,
0.22759392857551575,
-0.07649291306734085,
0.0797715112566948,
0.11752006411552429,
0.23000730574131012,
0.2906494736671448,
0.11405441164970398,
-0.25455552339553833,
-0.08424192667007446,
-0.47279733419418335,
0.17975206673145294,
-0.26106566190719604,
0.05541565269231796,
-0.28820329904556274,
0.010109767317771912,
-0.2339562326669693,
0.3118840157985687,
-0.17247992753982544,
-0.5536895394325256,
0.2667880058288574,
0.515049159526825,
-0.10561507940292358,
0.33992207050323486,
-0.0001096261985367164,
-0.23877552151679993,
0.5705891847610474,
-0.11710944026708603,
-0.4486396908760071,
0.00039665400981903076,
0.12693139910697937,
-0.3513878881931305,
-0.06556445360183716,
-0.11575485020875931,
-0.018147623166441917,
-0.3145103454589844,
0.006138427183032036,
-0.13550996780395508,
0.0946744754910469,
0.11307922005653381,
0.24401916563510895,
0.10403557121753693,
0.14535635709762573,
-0.22688987851142883,
0.23952001333236694,
0.30854636430740356,
0.07244867831468582,
0.1620832234621048,
0.4580942392349243,
-0.0023509282618761063,
0.35245293378829956,
0.3952896296977997,
-0.23504354059696198,
-0.04536370560526848,
0.08942700922489166,
-0.0072053344920277596,
0.20972967147827148,
-0.2924617528915405,
0.3722420930862427,
0.0317365899682045,
0.6331232786178589,
-0.4424497187137604,
-0.2573623061180115,
-0.04159106686711311,
-0.13376809656620026,
-0.444593220949173,
-0.01142585277557373,
0.0908082127571106,
-0.01644119806587696,
0.031902335584163666,
-0.050430409610271454,
0.018144074827432632,
-0.05855964496731758,
-0.042600251734256744,
0.02420869469642639,
0.3373536765575409,
-0.04348483309149742,
0.16093596816062927,
-0.24620918929576874,
-0.03160003572702408,
0.10307025909423828,
0.05271017551422119,
-0.46159717440605164,
0.14156953990459442,
-0.046247515827417374,
-0.26567506790161133,
0.07883191853761673,
-0.059340156614780426,
0.13653168082237244,
0.024402987211942673,
-0.10217935591936111,
0.15417075157165527,
0.11368685215711594,
0.057278916239738464,
0.13419444859027863,
-0.05961427837610245,
0.28043341636657715,
0.21629919111728668,
0.18040776252746582,
0.035231247544288635,
0.16463197767734528,
-0.034511081874370575,
0.05191568285226822,
-0.1559331864118576,
0.35834625363349915,
0.18730759620666504,
0.6765374541282654,
-0.22134989500045776,
-0.1214280053973198,
0.037955183535814285,
0.07300429046154022,
-0.31292885541915894,
-0.274768203496933,
0.3135582506656647,
-0.08153077960014343,
0.036194898188114166,
0.0959889143705368,
0.1635493040084839,
0.06374534219503403,
-0.2077624797821045,
-0.27703434228897095,
-0.024419676512479782,
0.03290339931845665,
-0.0637001320719719,
0.0681447982788086,
0.09563043713569641,
0.07423115521669388,
0.11501700431108475,
-0.24428321421146393,
-0.07737861573696136,
0.3266776204109192,
-0.05240869149565697,
0.39057913422584534,
0.42442214488983154,
-0.2639558017253876,
0.16333933174610138,
0.20436924695968628,
-0.021096576005220413,
-0.1970006227493286,
0.5565999746322632,
-0.32775530219078064,
-0.29411619901657104,
-0.09207066148519516,
0.20383362472057343,
0.04583122581243515,
-0.08709448575973511,
-0.005126893520355225,
0.3382622301578522,
0.08245456218719482,
-0.32380443811416626,
0.25409117341041565,
-0.14970803260803223,
-0.16342048346996307,
-0.33656880259513855,
0.0635552853345871,
0.4267204999923706,
-0.7728403806686401,
0.1733822077512741,
0.09329383820295334,
-0.07532387971878052,
0.10082497447729111,
0.0003033876419067383,
-0.08985418826341629,
-0.2863255441188812,
-0.059293895959854126,
-0.18827977776527405,
0.28394633531570435,
-0.1581394523382187,
0.09855207800865173,
-0.01385935116559267,
0.18546868860721588,
-0.14473238587379456,
0.2069602906703949,
-0.08456065505743027,
-0.08568139374256134,
-0.14700573682785034,
-0.4229896366596222,
-0.4538610577583313,
-0.0711369663476944,
-0.047265924513339996,
-0.1504535675048828,
-0.18743428587913513,
0.47035372257232666,
-0.05118091031908989,
0.13789188861846924,
0.008899800479412079,
0.09889968484640121,
-0.3107331395149231,
0.4385436475276947,
-0.059937845915555954,
-0.012041827663779259,
0.15978489816188812,
0.4860757291316986,
0.04982241988182068,
0.2121722549200058,
0.16881367564201355,
-0.14743071794509888,
0.13182449340820312,
-0.15583352744579315,
0.19997470080852509,
-0.043642640113830566,
-0.24863038957118988,
-0.09406664222478867,
-0.0524614118039608,
0.10666152089834213,
-0.3441500663757324,
0.11531198024749756,
0.07492897659540176,
0.15757839381694794,
0.08374838531017303,
-0.23698173463344574,
0.4247051775455475,
0.04429783672094345,
0.02522924914956093,
-0.27486124634742737,
0.005882631987333298,
-0.01391870342195034,
-0.2559017837047577,
-0.1693975180387497,
0.14555591344833374,
0.049349576234817505,
-0.2379712462425232,
-0.168355792760849,
0.46317681670188904,
0.17559537291526794,
0.04686054214835167,
-0.016998209059238434,
0.07823105901479721,
-0.006969805806875229,
0.054986078292131424,
0.554823100566864,
0.06869520246982574,
0.11625105887651443,
0.00810115784406662,
-0.10089730471372604,
0.36903131008148193,
0.05467427521944046,
-0.08673714846372604,
0.014556832611560822,
-0.2944068908691406,
0.1215914785861969,
-0.022022726014256477,
-0.1347564458847046,
-0.004738401621580124,
-0.3462163209915161,
0.0871657133102417,
0.34662601351737976,
-0.01344260759651661,
-0.31707245111465454,
0.33332327008247375,
0.386089026927948,
-0.3284012973308563,
-0.11275003105401993,
0.08517816662788391,
-0.34645143151283264,
-0.37049463391304016,
-0.07221457362174988,
0.14937661588191986,
0.24794448912143707,
0.17738460004329681,
-0.15388058125972748,
0.2570643723011017,
0.07789231836795807,
-0.08756186813116074,
0.3055255115032196,
-0.011248171329498291,
-0.1783607453107834,
-0.054382823407649994,
-0.028644444420933723,
0.07338600605726242,
-0.10553175210952759,
0.26786231994628906,
0.015327902510762215,
0.37191706895828247,
-0.3147066533565521,
-0.017560308799147606,
-0.04112453758716583,
-0.2338065803050995,
-0.09008262306451797,
0.04504409804940224,
-0.3354468047618866,
-0.21571433544158936,
0.00206565298140049,
0.11946280300617218,
0.03558099642395973,
0.23771779239177704,
0.03856852278113365,
0.14770697057247162,
-0.05940445512533188,
0.13796542584896088,
-0.16881130635738373,
-0.14437571167945862,
-0.19137504696846008,
0.0984819233417511,
-0.17659683525562286,
0.3201127350330353,
0.2572394609451294,
-0.41918566823005676,
0.05894603580236435,
-0.2202480584383011,
-0.38102319836616516,
-0.02337154746055603,
-0.24904416501522064,
0.10323437303304672,
0.3125675320625305,
0.0386158786714077,
0.09034837782382965,
0.10051558166742325,
0.06618291139602661,
-0.46689245104789734,
-0.13724614679813385,
-0.12679174542427063,
-0.2591360807418823,
-0.15914762020111084,
-0.20535331964492798,
-0.4380042254924774,
-0.4612308442592621,
-0.04991799592971802,
0.10046403110027313,
0.23664845526218414,
0.23253889381885529,
0.4652825891971588,
0.10537867993116379,
-0.06024261936545372,
-0.12547998130321503,
-0.12900356948375702,
-0.38517507910728455,
-0.46635034680366516,
0.09873151034116745,
0.03263864666223526,
-0.1298394650220871,
0.25152134895324707,
0.09666215628385544,
0.02511776052415371,
-0.2287229746580124,
0.029198788106441498,
-0.3161415755748749,
0.0007715579122304916,
0.21489903330802917,
0.17074304819107056,
-0.01863289065659046,
0.6366212368011475,
0.006238905247300863,
-0.1844450831413269,
-0.15579481422901154,
-0.4555339515209198,
-0.11475036293268204,
0.18671178817749023,
0.15904751420021057,
-0.035706765949726105,
0.33861181139945984,
-0.3104718029499054,
0.3852319121360779,
-0.020864693447947502,
-0.2323884218931198,
0.04584307223558426,
-0.22332680225372314,
0.566935658454895,
-0.10796952992677689,
-0.20865310728549957,
-0.06051885709166527,
0.03922216594219208,
-0.1358942687511444,
0.06453140079975128,
-0.041571713984012604,
-0.10111057758331299,
-0.02055737003684044,
-0.0769062340259552,
-0.3475610017776489,
-0.055116333067417145,
-0.00998343713581562,
0.13277488946914673,
0.11645083874464035,
0.1276828944683075,
0.04731561988592148,
-0.42816096544265747,
-0.09116040915250778,
-0.23457930982112885,
0.3694760203361511,
0.147649347782135,
-0.06861896812915802,
-0.3622422516345978,
0.3979305624961853,
-0.3679571747779846,
0.6104626655578613,
-0.1110190600156784,
0.11560124903917313,
0.08994896709918976,
-0.3835628926753998,
-0.04851174354553223,
-0.15454943478107452,
0.2674214839935303,
-0.38446173071861267,
-0.08598053455352783,
0.398713618516922,
0.07568295300006866,
-0.14699538052082062,
-0.40115636587142944,
-0.32438862323760986,
0.2060098499059677,
0.44590702652931213,
0.24428486824035645,
0.03743547946214676,
-0.4278104901313782,
0.3734917640686035,
0.24034075438976288,
-0.0756777822971344,
0.004745551384985447,
-0.4954404830932617,
-0.2290107011795044,
-0.09324385225772858,
0.09870646893978119,
-0.18161426484584808,
-0.20174680650234222,
-0.3586445748806,
-0.13368017971515656,
0.23746928572654724,
-0.023894449695944786,
0.06573113799095154,
0.17040961980819702,
0.37154462933540344,
0.03060838393867016,
-0.04309782758355141,
-0.06707208603620529,
0.3157552480697632,
0.3444119989871979,
0.21163137257099152,
0.10579754412174225,
-0.005997747182846069,
-0.0487804040312767,
-0.24412740767002106,
0.43602046370506287,
0.274360716342926,
-0.15121956169605255,
0.20679977536201477,
-0.053507156670093536,
0.20019173622131348,
-0.352914959192276,
-0.26197001338005066,
0.4755713641643524,
0.09759552776813507,
-0.39345720410346985,
-0.4610069990158081,
0.14549602568149567,
0.1439542919397354,
-0.28886133432388306,
0.10237181186676025,
-0.3723897337913513,
-0.08597021549940109,
0.10237549245357513,
0.08745906502008438,
0.8767102360725403,
0.023401208221912384,
0.06491611152887344,
0.058687884360551834,
-0.019458971917629242,
0.47122275829315186,
-0.026671340689063072,
0.05042167380452156,
-0.6297271847724915,
-0.21530546247959137,
-0.08374959975481033,
0.02515951171517372,
0.5522748231887817,
-0.08305498957633972,
-0.5238098502159119,
0.2674678564071655,
-0.24486295878887177,
0.00196138396859169,
-0.056392550468444824,
0.14227083325386047,
-0.06169213354587555,
0.31458449363708496,
0.4082889258861542,
0.21753659844398499,
0.06495937705039978,
0.11373649537563324,
0.03300273045897484,
-0.08766138553619385,
-0.1794423907995224,
-0.40369701385498047,
-0.33896809816360474,
-0.03560462221503258,
-0.20747055113315582,
-0.18589943647384644,
0.19804783165454865,
-0.24779586493968964,
-0.10663346946239471,
-0.2826557457447052,
0.574900209903717,
0.15848799049854279,
0.04551418870687485,
0.09700257331132889,
-0.08329427987337112,
0.2738841474056244,
0.09924080967903137,
0.09601560235023499,
0.2334810197353363,
0.012337889522314072,
-0.4704945683479309,
-0.01433611661195755,
-0.13587646186351776,
-0.21969856321811676,
-0.3503534495830536,
-0.2491118162870407,
-0.12297952175140381,
-0.3156363070011139,
-0.09650756418704987,
0.09501595050096512,
-0.073488749563694,
-0.14101117849349976,
0.19250014424324036,
0.10927051305770874,
-0.09508628398180008,
0.3360634744167328,
-0.11124278604984283,
-0.541540265083313,
-0.18774744868278503,
0.23335233330726624,
-0.013518020510673523,
0.020232003182172775,
0.38053008913993835,
-0.04345506802201271,
0.18903028964996338,
-0.3867074251174927,
-0.11730960756540298,
0.271483451128006,
-0.32607120275497437,
-0.010639837943017483,
0.3677544593811035,
0.22045846283435822,
0.27619612216949463,
0.15771426260471344,
0.0052594467997550964,
0.5192636251449585,
-0.3490515649318695,
-0.0973060131072998,
-0.4527876675128937,
0.015590831637382507,
0.32971641421318054,
0.24771550297737122,
-0.03371396288275719,
-0.15868206322193146,
0.3981839120388031,
0.00817040540277958,
-0.40956008434295654,
0.03193936496973038,
0.2875581383705139,
0.0069776661694049835,
0.3218129873275757,
-0.0032529421150684357,
-0.05176599696278572,
-0.2523214519023895,
0.19639016687870026,
-0.19640858471393585,
-0.3278551995754242,
-0.23011514544487,
-0.04028206318616867,
0.14919652044773102,
-0.21469074487686157,
-0.14268800616264343,
-0.15537434816360474,
0.009366828948259354,
-0.11677989363670349,
0.10116913169622421,
0.041040029376745224,
0.16340747475624084,
-0.11293905973434448,
0.4009750187397003,
-0.07108882069587708,
0.09016469120979309,
0.052608340978622437,
-0.061746492981910706,
-0.006050616502761841,
0.12885230779647827,
-0.23703010380268097,
0.24487152695655823,
0.05437196418642998,
-0.06979042291641235,
0.022474829107522964,
0.1257857382297516,
-0.3307705521583557,
0.06218671053647995,
0.09721039980649948,
-0.16303332149982452,
0.17411208152770996,
0.030528372153639793,
0.38437438011169434,
0.42025819420814514,
-0.006084034685045481,
-0.25223061442375183,
0.24493181705474854,
0.23910410702228546,
-0.39145898818969727,
0.04444288834929466,
0.05274178460240364,
0.08564165234565735,
-0.07122999429702759,
0.2073579877614975,
0.5664460062980652,
0.2270786166191101,
0.4412304162979126,
0.10478999465703964,
0.6308823823928833,
-0.2109319269657135,
0.3127288222312927,
0.38207828998565674,
-0.05135490000247955,
0.07861878722906113,
0.2060984969139099,
0.22469286620616913,
-0.14121505618095398,
0.19984161853790283,
0.11122371256351471,
0.23282457888126373,
0.31102079153060913,
-0.05329127982258797,
-0.23804181814193726,
-0.1771414875984192,
0.27950701117515564,
0.2986813187599182,
-0.27196404337882996,
0.037660568952560425,
0.24741904437541962,
0.4133045971393585,
-0.20582173764705658,
-0.061216000467538834,
-0.31508538126945496,
0.07812368869781494,
-0.01775740087032318,
-0.20960715413093567,
0.011862117797136307,
-0.15480701625347137,
-0.2959514260292053,
-0.2584575414657593,
-0.07152622938156128,
0.12787990272045135,
0.3028678894042969,
-0.2557713985443115,
-0.2676800489425659,
-0.0703970342874527,
-0.0659077912569046,
-0.35482659935951233,
0.15432333946228027,
0.07315975427627563,
0.111585833132267,
0.24173054099082947,
0.06548872590065002,
0.3434736132621765,
0.5154092311859131,
0.7732199430465698,
0.4260706901550293,
-0.13236311078071594,
0.2244032919406891,
-0.2376876026391983,
-0.19001416862010956,
0.13186265528202057,
0.2117592990398407,
0.019864171743392944,
-0.29631975293159485,
-0.06589312851428986,
0.22665011882781982,
-0.06523827463388443,
0.3594026267528534,
0.023050352931022644,
-0.01977352425456047,
-0.15308862924575806,
0.48921895027160645,
0.12014523148536682,
-0.19400647282600403,
-0.25900572538375854,
0.22571414709091187,
-0.3509521484375,
-0.14280205965042114,
0.5751356482505798,
0.1813543736934662,
0.03681916743516922,
-0.18372532725334167,
0.13100534677505493,
0.00969234760850668,
0.46760353446006775,
0.19214320182800293,
0.17372915148735046,
0.028301946818828583,
-0.06176098436117172,
-0.5875165462493896,
0.07852475345134735,
-0.07759147882461548,
-0.15860587358474731,
-0.09691262990236282,
-0.1148303672671318,
0.1296350508928299,
-0.054012469947338104,
0.44843560457229614,
-0.152680903673172,
-0.004763894714415073,
-0.1317863017320633,
-0.31767818331718445,
0.3887065052986145,
-0.0744754821062088,
0.24589356780052185,
0.0725121796131134,
-0.1091950535774231,
0.08271805942058563,
-0.022305721417069435,
0.026944585144519806,
-0.25701725482940674,
0.10923029482364655,
0.2141985446214676,
0.18128736317157745,
0.34935262799263,
0.055180519819259644,
0.4299618899822235,
-0.08196419477462769,
0.008414437994360924,
-0.2443065345287323,
-0.06327956914901733,
-0.18318451941013336,
0.5811066031455994,
0.19988031685352325,
0.09419398754835129,
0.09580127894878387,
-0.43315812945365906,
-0.03505105525255203,
0.20905332267284393,
-0.1566717028617859,
-0.033086590468883514,
-0.2740548849105835,
0.21375200152397156,
0.17881426215171814,
-0.15559400618076324,
0.08349861949682236,
-0.16432678699493408,
0.09279010444879532,
0.14475223422050476,
-0.37462133169174194,
-0.1128712072968483,
0.4542408287525177,
0.045820873230695724,
-0.23665335774421692,
-0.5564476847648621,
0.3044472932815552,
-0.03892991691827774,
0.09623566269874573,
-0.369162917137146,
0.18241077661514282,
0.41687512397766113,
0.24430498480796814,
-0.032533347606658936,
0.35067397356033325,
-0.2092805653810501,
-0.04629874601960182,
-0.006118025630712509,
0.396563321352005,
-0.03864095360040665,
-0.07119105011224747,
-0.2840481400489807,
-0.20701098442077637
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | Hi @aleSuglia , can you check that all the changes you wanted to do are in the dataset script ? | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 20 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
Hi @aleSuglia , can you check that all the changes you wanted to do are in the dataset script ? | [
-0.2625477910041809,
-0.005349405109882355,
-0.17844197154045105,
-0.2522876262664795,
0.1837242990732193,
0.026278525590896606,
0.32492440938949585,
0.38332846760749817,
-0.13570059835910797,
0.1858651041984558,
0.24551425874233246,
0.16854102909564972,
0.04977830871939659,
0.14962612092494965,
0.10905881971120834,
0.17086488008499146,
0.07674091309309006,
0.32932770252227783,
-0.24643388390541077,
0.003332771360874176,
-0.39788827300071716,
0.13664814829826355,
-0.13280537724494934,
0.06503290683031082,
-0.3149547278881073,
-0.1315923035144806,
-0.059649862349033356,
0.3274758458137512,
-0.2221260815858841,
-0.4994756579399109,
0.18667973577976227,
0.34565311670303345,
-0.25955134630203247,
0.181924968957901,
-0.00009655004396336153,
-0.16150915622711182,
0.3664082884788513,
-0.09373650699853897,
-0.46944525837898254,
0.03413865715265274,
0.027467504143714905,
-0.33199650049209595,
-0.005782341118901968,
-0.18129780888557434,
-0.12266126275062561,
-0.29186952114105225,
0.010514268651604652,
-0.12647011876106262,
0.18054161965847015,
0.25727492570877075,
0.3738248348236084,
0.13888351619243622,
0.08822478353977203,
-0.3490533232688904,
0.2411181926727295,
0.15428051352500916,
-0.023666206747293472,
0.13766054809093475,
0.27961623668670654,
-0.09250504523515701,
0.24512982368469238,
0.40416714549064636,
-0.15932965278625488,
0.026894185692071915,
0.02994028851389885,
0.00031775515526533127,
0.28320497274398804,
-0.26846420764923096,
0.2621935307979584,
0.05201555788516998,
0.4623236358165741,
-0.3819596469402313,
-0.14678950607776642,
-0.15909549593925476,
-0.04274853691458702,
-0.4723402261734009,
-0.08144461363554001,
0.20228859782218933,
-0.10489693284034729,
0.10790760815143585,
0.03932754695415497,
0.09046797454357147,
-0.07195070385932922,
-0.07034294307231903,
0.09294474124908447,
0.15658068656921387,
-0.03585582226514816,
0.059669096022844315,
-0.05846571549773216,
-0.026501774787902832,
0.029076796025037766,
0.15817579627037048,
-0.3877207636833191,
0.1035345196723938,
-0.07520115375518799,
-0.21749217808246613,
0.05837618559598923,
-0.11518821865320206,
0.2116764485836029,
0.1176077276468277,
-0.031206287443637848,
0.11627789586782455,
0.20612137019634247,
0.12605020403862,
-0.01670103147625923,
-0.004957540426403284,
0.1230485662817955,
0.1882341504096985,
0.12949363887310028,
0.09380388259887695,
0.098361536860466,
-0.08183607459068298,
0.07627514004707336,
-0.20029295980930328,
0.2632230520248413,
0.28212329745292664,
0.4780241847038269,
-0.10588601231575012,
-0.20801246166229248,
-0.08643248677253723,
0.18256458640098572,
-0.02921668067574501,
-0.17237643897533417,
0.29680967330932617,
-0.03736986964941025,
-0.1141970232129097,
0.10859274864196777,
0.27545493841171265,
-0.04644133150577545,
-0.07055932283401489,
-0.3573688268661499,
0.029543643817305565,
0.0029856786131858826,
-0.08801782876253128,
0.17495320737361908,
0.1565251648426056,
0.22579002380371094,
0.1987929344177246,
-0.19302679598331451,
-0.07972730696201324,
0.3356879949569702,
0.014820639044046402,
0.17176827788352966,
0.3972422182559967,
-0.04704049974679947,
0.07479263097047806,
0.2789044678211212,
-0.01767989993095398,
-0.123318612575531,
0.3284112215042114,
-0.2844216227531433,
-0.32813581824302673,
-0.1109912246465683,
0.37965577840805054,
0.14393171668052673,
-0.08951929211616516,
0.06159026175737381,
0.20787860453128815,
0.04962334409356117,
-0.19958581030368805,
0.0851542055606842,
-0.08785519003868103,
-0.020516298711299896,
-0.3092905282974243,
0.134480282664299,
0.3998110294342041,
-0.5338975787162781,
0.105649933218956,
0.0563678964972496,
-0.1560937911272049,
0.21111732721328735,
0.03419366478919983,
-0.11387751996517181,
-0.16659262776374817,
-0.13177041709423065,
-0.08935665339231491,
0.26918065547943115,
-0.019215214997529984,
-0.014010334387421608,
-0.09963124990463257,
-0.09051181375980377,
-0.18239948153495789,
0.2467626929283142,
-0.0559144951403141,
-0.10709909349679947,
0.0021899081766605377,
-0.29218629002571106,
-0.1597825288772583,
-0.06407461315393448,
0.04371446371078491,
-0.19033576548099518,
-0.1846589297056198,
0.3757222294807434,
0.011867258697748184,
0.08172794431447983,
0.11193891614675522,
0.09689890593290329,
-0.31538158655166626,
0.3550448715686798,
-0.230106383562088,
0.051086023449897766,
0.1069754958152771,
0.45965898036956787,
-0.014779850840568542,
0.16644898056983948,
0.09339987486600876,
-0.10306338220834732,
0.07164167612791061,
-0.21809867024421692,
0.3272120952606201,
-0.0588698536157608,
-0.33711427450180054,
-0.28206679224967957,
-0.07636050879955292,
0.01818849891424179,
-0.26071080565452576,
0.3052114248275757,
0.06620388478040695,
0.13227713108062744,
0.03176230564713478,
-0.08386120945215225,
0.27043646574020386,
-0.05066033452749252,
0.06359883397817612,
-0.22130215167999268,
-0.04143122211098671,
-0.09296925365924835,
-0.21603672206401825,
-0.04065088927745819,
0.14324438571929932,
0.13697341084480286,
-0.1424049735069275,
-0.16643458604812622,
0.4089035093784332,
0.17428794503211975,
0.06157315522432327,
0.015782911330461502,
0.0359678715467453,
-0.03671514242887497,
-0.020118065178394318,
0.39890027046203613,
0.1320059448480606,
0.15377995371818542,
0.013034060597419739,
-0.06576041132211685,
0.39058077335357666,
0.07333290576934814,
-0.1655259132385254,
0.08589617908000946,
-0.10793334245681763,
0.2508641481399536,
-0.13452015817165375,
-0.022226236760616302,
-0.17969253659248352,
-0.23022626340389252,
0.03593742474913597,
0.18338832259178162,
-0.11247844994068146,
-0.29579073190689087,
0.28822070360183716,
0.24548792839050293,
-0.18368829786777496,
0.058766428381204605,
0.06113266199827194,
-0.20089024305343628,
-0.3102971017360687,
-0.0962037667632103,
0.15936583280563354,
0.16696836054325104,
0.2862473428249359,
-0.08751817047595978,
0.1975516676902771,
0.034390054643154144,
-0.18608038127422333,
0.32755327224731445,
0.034391146153211594,
-0.07155131548643112,
-0.00955192744731903,
0.05557147040963173,
-0.13483677804470062,
-0.25426673889160156,
0.1825074851512909,
-0.07482348382472992,
0.2799912095069885,
-0.26315560936927795,
-0.046475548297166824,
-0.1654379963874817,
-0.2765052020549774,
-0.08571263402700424,
0.014760887250304222,
-0.1614585816860199,
-0.20014363527297974,
0.20549674332141876,
0.042810454964637756,
-0.24401402473449707,
0.24028904736042023,
-0.012946792878210545,
0.22112976014614105,
0.08116306364536285,
0.18689309060573578,
-0.18465279042720795,
-0.1548302322626114,
-0.051124654710292816,
0.25978437066078186,
-0.22118890285491943,
0.3245036005973816,
0.3629573881626129,
-0.3044406771659851,
0.09291686862707138,
-0.20428194105625153,
-0.2796877920627594,
-0.018347136676311493,
-0.25429767370224,
0.20037095248699188,
0.29852360486984253,
0.14383730292320251,
0.05996890366077423,
-0.07049717009067535,
0.13871417939662933,
-0.44228649139404297,
-0.15248268842697144,
-0.027623172849416733,
-0.23140738904476166,
-0.11558578163385391,
-0.25166085362434387,
-0.4143320620059967,
-0.4766712486743927,
-0.17111894488334656,
0.08256242424249649,
0.26081329584121704,
0.27632784843444824,
0.4287945628166199,
0.22884723544120789,
-0.08321540057659149,
-0.03448488935828209,
-0.007487863302230835,
-0.37845373153686523,
-0.4278186857700348,
0.11228307336568832,
-0.18436186015605927,
-0.2037634700536728,
0.09812624752521515,
-0.07361693680286407,
0.07772135734558105,
-0.1920149028301239,
-0.03913884237408638,
-0.3814241290092468,
-0.05499638617038727,
0.21272191405296326,
0.1441187560558319,
-0.06220889091491699,
0.5412344336509705,
0.08243263512849808,
-0.35990574955940247,
-0.22975102066993713,
-0.354165643453598,
-0.05190449208021164,
0.07602647691965103,
0.04048430919647217,
-0.19964978098869324,
0.2519877254962921,
-0.31921079754829407,
0.3980143666267395,
-0.028064237907528877,
-0.08852604031562805,
0.19233252108097076,
-0.1968742161989212,
0.46667805314064026,
-0.1946081519126892,
-0.29822856187820435,
-0.06748433411121368,
0.06968062371015549,
-0.0491875484585762,
0.1370198130607605,
-0.07968378812074661,
-0.10947805643081665,
0.031355224549770355,
-0.028557561337947845,
-0.3411848545074463,
-0.13026626408100128,
-0.02405557595193386,
0.19506767392158508,
0.11636846512556076,
0.08880804479122162,
0.01104205846786499,
-0.45190632343292236,
-0.05580144375562668,
-0.17477387189865112,
0.331438273191452,
0.09502004832029343,
-0.0534420907497406,
-0.33990147709846497,
0.3034742772579193,
-0.339030921459198,
0.4268105626106262,
-0.07875282317399979,
0.02505747601389885,
0.011778052896261215,
-0.3012913167476654,
-0.0069502294063568115,
-0.07198131084442139,
0.29686689376831055,
-0.268623948097229,
-0.10338175296783447,
0.29642295837402344,
0.1630435734987259,
-0.11801425367593765,
-0.18269363045692444,
-0.2823192775249481,
0.14693216979503632,
0.42166566848754883,
0.20015254616737366,
-0.09491949528455734,
-0.28580552339553833,
0.31014472246170044,
0.30479058623313904,
-0.1317533552646637,
0.06235354766249657,
-0.2769969403743744,
-0.4230222702026367,
-0.3235851228237152,
0.17718802392482758,
-0.033570196479558945,
0.046977829188108444,
-0.23618018627166748,
-0.21915502846240997,
0.13520576059818268,
0.02635214850306511,
0.04038936272263527,
0.10353773832321167,
0.3304750323295593,
0.06169275566935539,
0.03545656427741051,
-0.0818406194448471,
0.26157450675964355,
0.2963668406009674,
0.31534865498542786,
0.09370072185993195,
0.04960915446281433,
-0.1061311885714531,
-0.2235950380563736,
0.36124539375305176,
0.22782421112060547,
-0.11220651865005493,
0.2889162302017212,
-0.07608529925346375,
0.26161330938339233,
-0.31494006514549255,
-0.011668815277516842,
0.25865238904953003,
0.016041889786720276,
-0.23616258800029755,
-0.4081417918205261,
0.07943207025527954,
-0.007341628894209862,
-0.17980405688285828,
0.09048177301883698,
-0.30698543787002563,
-0.13989871740341187,
0.19589334726333618,
0.0907752737402916,
0.8864116072654724,
0.026293788105249405,
-0.023913320153951645,
0.19737526774406433,
0.0373101606965065,
0.34483814239501953,
-0.07956035435199738,
0.12532517313957214,
-0.5554071664810181,
-0.23256610333919525,
0.029698597267270088,
-0.052129290997982025,
0.41874226927757263,
0.01027991995215416,
-0.34397566318511963,
0.16189752519130707,
-0.1605778932571411,
-0.0235145203769207,
-0.09732341021299362,
0.1794990748167038,
-0.11745289713144302,
0.036855168640613556,
0.237575963139534,
0.36020487546920776,
0.053208887577056885,
0.028775624930858612,
0.0534634068608284,
-0.07753849774599075,
-0.10145759582519531,
-0.3186025619506836,
-0.12003611773252487,
0.010571885854005814,
-0.24328473210334778,
-0.07020165771245956,
0.02907080389559269,
-0.2581002712249756,
-0.20320993661880493,
-0.2555060088634491,
0.383914589881897,
0.3108869194984436,
-0.015309644863009453,
0.1545291244983673,
-0.010472051799297333,
0.06335421651601791,
-0.06837228685617447,
0.18539094924926758,
0.20738303661346436,
-0.07401087135076523,
-0.444510817527771,
-0.03560155630111694,
-0.08926534652709961,
-0.20671452581882477,
-0.2878262996673584,
-0.3308221697807312,
-0.07125337421894073,
-0.37384217977523804,
-0.13497048616409302,
-0.015135906636714935,
-0.09339955449104309,
-0.3948889374732971,
0.3180603086948395,
0.14605426788330078,
-0.11377307772636414,
0.19368219375610352,
-0.0203794427216053,
-0.45726490020751953,
-0.23018808662891388,
0.14970481395721436,
0.10721058398485184,
0.03010530024766922,
0.4977036714553833,
-0.048804476857185364,
0.025586426258087158,
-0.5093936324119568,
-0.2641602158546448,
0.12138929963111877,
-0.44107237458229065,
0.20060154795646667,
0.2960202395915985,
0.02346867322921753,
0.14917577803134918,
0.11794691532850266,
0.07976025342941284,
0.4066891670227051,
-0.24287785589694977,
-0.23554979264736176,
-0.44957324862480164,
-0.10142235457897186,
0.2182571440935135,
0.29487016797065735,
0.019249621778726578,
0.010565686970949173,
0.13651567697525024,
0.1054961159825325,
-0.553483247756958,
0.07937533408403397,
0.07977083325386047,
0.12942248582839966,
0.17414028942584991,
-0.16397306323051453,
-0.012951848097145557,
-0.07818561792373657,
0.33636710047721863,
-0.13090181350708008,
-0.2618168294429779,
-0.40771204233169556,
-0.09936483204364777,
0.09367233514785767,
-0.16438573598861694,
-0.22091521322727203,
-0.058907873928546906,
0.029315318912267685,
-0.21362265944480896,
0.035746678709983826,
0.08356219530105591,
-0.021418534219264984,
-0.09531976282596588,
0.3448190689086914,
0.007706552743911743,
-0.022355996072292328,
0.13705796003341675,
-0.12977035343647003,
-0.016005143523216248,
0.03969870135188103,
-0.2802501916885376,
0.07232257723808289,
-0.11883796751499176,
-0.11658425629138947,
0.1641557365655899,
0.10670840740203857,
-0.04880639910697937,
0.09132644534111023,
0.11564323306083679,
-0.03906693309545517,
0.0033116377890110016,
0.10887721180915833,
0.2956159710884094,
0.1726861149072647,
-0.08934672921895981,
-0.0011928398162126541,
0.31100520491600037,
0.3911513090133667,
-0.4200504720211029,
0.04751920700073242,
0.08654531836509705,
-0.005829901434481144,
0.12633919715881348,
0.15461066365242004,
0.43844401836395264,
0.06895250082015991,
0.29813843965530396,
0.06371533125638962,
0.4505796432495117,
-0.14266592264175415,
0.12774428725242615,
0.41262757778167725,
-0.1579057276248932,
-0.07501272857189178,
0.20216010510921478,
0.2218007892370224,
-0.02245364338159561,
0.08910626173019409,
-0.0358903631567955,
0.30081868171691895,
0.19234174489974976,
-0.18716713786125183,
-0.11711511760950089,
-0.23782266676425934,
0.3144013583660126,
0.2112477719783783,
-0.10715819895267487,
-0.024138204753398895,
0.24137522280216217,
0.3938155770301819,
-0.1768917441368103,
0.0008643933106213808,
-0.25603601336479187,
0.17994548380374908,
-0.23954609036445618,
-0.17474906146526337,
-0.060505833476781845,
-0.13962818682193756,
-0.20312027633190155,
-0.24366340041160583,
-0.002502523362636566,
0.04055723547935486,
0.15050725638866425,
-0.2778446674346924,
-0.20278160274028778,
-0.08834685385227203,
-0.0195620134472847,
-0.1524563431739807,
0.08929585665464401,
-0.010434988886117935,
-0.010728662833571434,
0.29248547554016113,
0.06237419322133064,
0.19124245643615723,
0.4314686954021454,
0.6550126075744629,
0.3328925669193268,
-0.09474663436412811,
0.1435471475124359,
-0.09709151089191437,
-0.2074006050825119,
-0.03715980425477028,
0.283139705657959,
0.0988781675696373,
-0.13674579560756683,
0.12150192260742188,
0.3521110415458679,
-0.26527106761932373,
0.12062966823577881,
0.09582507610321045,
-0.07772541046142578,
-0.055452290922403336,
0.32939010858535767,
0.2390136420726776,
-0.2703162133693695,
-0.23970535397529602,
0.10739199817180634,
-0.3028266429901123,
-0.09388412535190582,
0.5536398887634277,
0.06200171634554863,
0.10776243358850479,
-0.2596316337585449,
0.1975715160369873,
-0.038878101855516434,
0.5011863112449646,
0.09164945781230927,
0.1623210310935974,
-0.08606316149234772,
-0.073330819606781,
-0.4989902675151825,
0.16875256597995758,
-0.18245454132556915,
-0.19175122678279877,
-0.0511137917637825,
-0.10186123847961426,
0.1780151128768921,
-0.04953138530254364,
0.2763478457927704,
-0.009596467018127441,
0.029246237128973007,
-0.08773179352283478,
-0.328887403011322,
0.29643481969833374,
0.018399778753519058,
0.08677657693624496,
0.17851246893405914,
-0.20854675769805908,
0.07203154265880585,
-0.002858023624867201,
0.2514971196651459,
-0.17877089977264404,
0.14441744983196259,
0.1678541898727417,
0.09650063514709473,
0.40124255418777466,
0.12187596410512924,
0.41671857237815857,
-0.2624942660331726,
0.03004271350800991,
-0.16747212409973145,
-0.16118331253528595,
-0.22065621614456177,
0.33948442339897156,
0.31612852215766907,
0.1578565239906311,
0.21492010354995728,
-0.34444352984428406,
-0.08637571334838867,
0.21893790364265442,
0.050357840955257416,
-0.009361840784549713,
-0.1665320098400116,
0.3435405194759369,
0.03238946199417114,
-0.15365459024906158,
0.14338350296020508,
-0.1247711107134819,
0.028560837730765343,
0.06547407805919647,
-0.26741188764572144,
-0.35247936844825745,
0.47740504145622253,
0.11539610475301743,
-0.2891305088996887,
-0.38755282759666443,
0.3523028492927551,
0.0004950687289237976,
0.08876978605985641,
-0.36595577001571655,
0.2785320580005646,
0.3268257677555084,
0.1328297257423401,
-0.01739508844912052,
0.36312049627304077,
-0.18902260065078735,
-0.024564743041992188,
0.04982045665383339,
0.3573335111141205,
0.12967582046985626,
-0.015965810045599937,
-0.200751394033432,
-0.2745004892349243
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | Hey sorry but I'm in the middle of a conference deadline. I'll let you know asap! | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 16 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
Hey sorry but I'm in the middle of a conference deadline. I'll let you know asap! | [
-0.2752227485179901,
-0.0739687830209732,
-0.20942626893520355,
-0.17383727431297302,
0.1404750794172287,
-0.0756223276257515,
0.34511640667915344,
0.4255554676055908,
-0.11986337602138519,
0.1481073945760727,
0.22548747062683105,
0.16161976754665375,
-0.02785992994904518,
0.17326734960079193,
0.07544150948524475,
0.0974125862121582,
0.16781388223171234,
0.20950846374034882,
-0.1313982754945755,
-0.07369811087846756,
-0.37096625566482544,
0.25318774580955505,
-0.09065277129411697,
0.13878369331359863,
-0.2838957607746124,
0.0004533417522907257,
-0.0397760234773159,
0.3072982132434845,
-0.3124842047691345,
-0.47122758626937866,
0.2124141901731491,
0.2325829267501831,
-0.2738899290561676,
0.1775045394897461,
-0.00009288206638302654,
-0.1103021502494812,
0.4597366452217102,
-0.07503597438335419,
-0.4646294414997101,
0.04673030972480774,
0.07526472210884094,
-0.3374059498310089,
0.014417260885238647,
-0.04506240040063858,
-0.17930790781974792,
-0.20580962300300598,
0.09696631133556366,
-0.07071583718061447,
0.1297062635421753,
0.15042176842689514,
0.3906891942024231,
0.17514149844646454,
0.04227791354060173,
-0.42602068185806274,
0.2623811662197113,
0.158686101436615,
-0.1310351938009262,
0.0661361888051033,
0.38621172308921814,
-0.06908045709133148,
0.11986993253231049,
0.3872047960758209,
-0.1585959792137146,
0.02472226694226265,
-0.005723446607589722,
-0.061200305819511414,
0.27017509937286377,
-0.21527042984962463,
0.20604857802391052,
0.1649700254201889,
0.45152607560157776,
-0.2963961958885193,
-0.10803785920143127,
-0.1295921802520752,
-0.07694736123085022,
-0.4374304413795471,
-0.09290475398302078,
0.2630055248737335,
-0.12138627469539642,
0.10181961953639984,
0.037282269448041916,
0.15216092765331268,
-0.08350883424282074,
-0.0820157527923584,
0.03126987814903259,
0.20341545343399048,
-0.08930584043264389,
-0.01261179894208908,
-0.00941663607954979,
-0.030237749218940735,
-0.03373657912015915,
0.16427180171012878,
-0.39718812704086304,
0.08365391939878464,
-0.1274995654821396,
-0.19586971402168274,
0.11113683879375458,
-0.10885830968618393,
0.2545430064201355,
0.057063933461904526,
-0.05969827622175217,
0.11125374585390091,
0.22063755989074707,
0.10672025382518768,
0.012831633910536766,
-0.09490907192230225,
0.14071865379810333,
0.12343346327543259,
0.18128672242164612,
0.021965226158499718,
0.21986186504364014,
-0.04920276254415512,
0.03855099529027939,
-0.18707206845283508,
0.09536825120449066,
0.1353149712085724,
0.342487096786499,
-0.13042816519737244,
-0.2926611304283142,
-0.06293801963329315,
0.16404297947883606,
0.009454535320401192,
-0.1978924721479416,
0.35727497935295105,
-0.030326392501592636,
-0.05509869009256363,
0.09260484576225281,
0.2379034012556076,
-0.010658180341124535,
-0.15309329330921173,
-0.38426896929740906,
0.030122913420200348,
-0.035862453281879425,
-0.10651803016662598,
0.16646458208560944,
0.20184120535850525,
0.183235302567482,
0.1535245031118393,
-0.02199096977710724,
0.048296838998794556,
0.32718929648399353,
0.020459914579987526,
0.17031043767929077,
0.4655441641807556,
-0.03328006714582443,
0.04953983426094055,
0.21741020679473877,
-0.026117784902453423,
-0.14539438486099243,
0.2714759111404419,
-0.2946540415287018,
-0.30228570103645325,
-0.16973887383937836,
0.41042450070381165,
0.09436638653278351,
-0.07901299744844437,
0.14493197202682495,
0.26498621702194214,
0.003123141825199127,
-0.19588333368301392,
0.11837426573038101,
-0.03538352996110916,
-0.015759658068418503,
-0.33393460512161255,
0.09784360975027084,
0.3172626197338104,
-0.5005318522453308,
0.04076068103313446,
0.02615128457546234,
-0.22006671130657196,
0.21181032061576843,
0.2023385465145111,
-0.10784374922513962,
-0.21076568961143494,
-0.13267791271209717,
-0.003010295331478119,
0.24713033437728882,
-0.029130658134818077,
0.07400225102901459,
-0.0598297044634819,
-0.07535498589277267,
-0.24467220902442932,
0.2512495219707489,
-0.007776650134474039,
-0.12413303554058075,
0.032166797667741776,
-0.14240583777427673,
-0.07392159104347229,
-0.058147504925727844,
0.025761688128113747,
-0.21858297288417816,
-0.21962885558605194,
0.39711809158325195,
0.12898105382919312,
0.01145525649189949,
-0.06286964565515518,
0.04517974331974983,
-0.2799472212791443,
0.4038536846637726,
-0.2061355710029602,
-0.002099123317748308,
0.08527599275112152,
0.4484418034553528,
-0.0012757182121276855,
0.1977919042110443,
0.13747131824493408,
-0.0016831010580062866,
0.03172503411769867,
-0.18296055495738983,
0.37661150097846985,
-0.01893497258424759,
-0.2768479585647583,
-0.23439311981201172,
0.004755990579724312,
0.0676448792219162,
-0.2582198679447174,
0.3212178349494934,
-0.007411479949951172,
0.10540901124477386,
0.1053975522518158,
-0.09624917060136795,
0.28600195050239563,
-0.12841805815696716,
0.025682341307401657,
-0.20184794068336487,
-0.0828619971871376,
-0.10807537287473679,
-0.08903971314430237,
-0.0015603341162204742,
0.025327961891889572,
0.09636694192886353,
-0.15809115767478943,
0.02598385512828827,
0.35005903244018555,
0.18690800666809082,
0.07680261880159378,
0.020821822807192802,
0.11990164965391159,
0.035565830767154694,
-0.03738034889101982,
0.3674631118774414,
0.13143324851989746,
0.16002513468265533,
-0.022410593926906586,
-0.04025194048881531,
0.3878171443939209,
0.16953934729099274,
-0.2116016447544098,
0.0670793429017067,
-0.03193119913339615,
0.3829951882362366,
-0.10630130022764206,
-0.07117262482643127,
-0.08470309525728226,
-0.046610187739133835,
0.055656399577856064,
0.10818344354629517,
-0.1359557956457138,
-0.3885074555873871,
0.3190039396286011,
0.29120534658432007,
-0.24934357404708862,
0.13121570646762848,
0.13399851322174072,
-0.2377067506313324,
-0.27105003595352173,
-0.06136283278465271,
0.14320293068885803,
0.09751912951469421,
0.2792060971260071,
-0.09756837785243988,
0.07617910206317902,
-0.06206139922142029,
-0.28689542412757874,
0.37693923711776733,
-0.0032818540930747986,
-0.1316392719745636,
0.030637379735708237,
0.029769157990813255,
-0.19793666899204254,
-0.31843098998069763,
0.22404709458351135,
-0.08557064831256866,
0.190777987241745,
-0.23525585234165192,
-0.066731296479702,
-0.10203300416469574,
-0.2656446695327759,
0.039594072848558426,
-0.02202095091342926,
-0.19379253685474396,
-0.26001468300819397,
0.30720722675323486,
0.10839778184890747,
-0.29565146565437317,
0.21782563626766205,
-0.09264031052589417,
0.3499969244003296,
0.11915838718414307,
0.2396029382944107,
-0.19045104086399078,
-0.24337752163410187,
-0.060277119278907776,
0.3127462565898895,
-0.25606995820999146,
0.22157451510429382,
0.350529283285141,
-0.36925259232521057,
0.08516626805067062,
-0.209870383143425,
-0.31855136156082153,
0.06522253900766373,
-0.20024164021015167,
0.1451169103384018,
0.3534986972808838,
0.09367810934782028,
0.06154089421033859,
-0.12431465834379196,
0.12865018844604492,
-0.5202898979187012,
-0.18253178894519806,
0.030329588800668716,
-0.25625836849212646,
-0.19936886429786682,
-0.3445771038532257,
-0.32017484307289124,
-0.43682748079299927,
-0.1290673315525055,
0.17426276206970215,
0.23229645192623138,
0.22614555060863495,
0.45171645283699036,
0.23629778623580933,
-0.01890551671385765,
-0.06231695041060448,
-0.12669065594673157,
-0.47859907150268555,
-0.447655588388443,
0.17810258269309998,
-0.21674782037734985,
-0.2308662086725235,
-0.010795529931783676,
-0.10740794241428375,
0.019878314808011055,
-0.21046645939350128,
-0.11920580267906189,
-0.37669435143470764,
0.0030169468373060226,
0.23030954599380493,
0.19764344394207,
-0.07367798686027527,
0.4520496129989624,
0.06661023199558258,
-0.3955068290233612,
-0.25670409202575684,
-0.26436883211135864,
-0.03717810660600662,
0.08837442845106125,
0.11343731731176376,
-0.24559882283210754,
0.13301751017570496,
-0.1529446244239807,
0.43573564291000366,
-0.09973174333572388,
0.011250872164964676,
0.13775840401649475,
-0.15742012858390808,
0.5189571976661682,
-0.11922914534807205,
-0.16682496666908264,
-0.016176315024495125,
0.03770885616540909,
-0.10679539293050766,
0.1976897418498993,
-0.005192575976252556,
-0.23295533657073975,
0.011912669986486435,
0.026906948536634445,
-0.224888414144516,
-0.10798829793930054,
0.02898417040705681,
0.29048383235931396,
0.06368609517812729,
0.11532536149024963,
0.03185658156871796,
-0.3789825439453125,
-0.11423607915639877,
-0.10948427021503448,
0.2475031465291977,
0.08712084591388702,
-0.050693582743406296,
-0.25864869356155396,
0.3182334899902344,
-0.3486565947532654,
0.3596343994140625,
-0.05591777339577675,
0.042673323303461075,
-0.04462756961584091,
-0.316167950630188,
-0.03354695439338684,
-0.11311392486095428,
0.2393224537372589,
-0.2390335351228714,
-0.0634070336818695,
0.36949074268341064,
0.15644755959510803,
-0.09801387786865234,
-0.1715051531791687,
-0.3709084689617157,
0.1198149099946022,
0.4229239225387573,
0.17696285247802734,
-0.06864083558320999,
-0.282148152589798,
0.2887795865535736,
0.2707749009132385,
-0.1316751390695572,
0.07368285953998566,
-0.27505260705947876,
-0.410907506942749,
-0.26942533254623413,
0.17645661532878876,
0.0858282595872879,
-0.028506087139248848,
-0.2320488691329956,
-0.21927019953727722,
0.198521226644516,
0.07231945544481277,
0.09960933029651642,
0.1446315348148346,
0.2546488046646118,
-0.05685172230005264,
0.015894368290901184,
-0.07338368892669678,
0.22031359374523163,
0.1684541255235672,
0.25107693672180176,
0.1388425976037979,
0.039233751595020294,
-0.06048472970724106,
-0.23758719861507416,
0.36455264687538147,
0.26961761713027954,
-0.11769456416368484,
0.2528989613056183,
-0.1410730928182602,
0.21382218599319458,
-0.3022410273551941,
-0.08157982677221298,
0.26267382502555847,
-0.0669558122754097,
-0.154496431350708,
-0.35664108395576477,
0.04581440985202789,
-0.04065604507923126,
-0.21579861640930176,
0.13146191835403442,
-0.25984227657318115,
-0.07197961211204529,
0.1463271975517273,
0.05207735672593117,
0.937855064868927,
0.10489212721586227,
0.04762595146894455,
0.23987546563148499,
0.024662964046001434,
0.32993242144584656,
-0.14315152168273926,
0.23686915636062622,
-0.5446367263793945,
-0.19145376980304718,
0.029985861852765083,
-0.05127931758761406,
0.35059481859207153,
-0.0035673528909683228,
-0.2784876525402069,
0.13398317992687225,
-0.1350948065519333,
-0.007287018001079559,
-0.04496488720178604,
0.1416713148355484,
-0.09846818447113037,
0.06146714463829994,
0.2708013355731964,
0.38282832503318787,
0.11788077652454376,
-0.02791057899594307,
0.019834004342556,
-0.11671309173107147,
-0.051336873322725296,
-0.32288825511932373,
-0.2162354290485382,
0.10418836027383804,
-0.162190780043602,
0.05918994918465614,
0.07454268634319305,
-0.21686308085918427,
-0.2779266834259033,
-0.28554657101631165,
0.26949405670166016,
0.25419187545776367,
-0.07959765195846558,
0.2432943880558014,
-0.029372893273830414,
-0.011279895901679993,
-0.07490278035402298,
0.21870729327201843,
0.24639573693275452,
-0.1542780101299286,
-0.3360406160354614,
0.006513722240924835,
-0.1145145446062088,
-0.26059505343437195,
-0.2932499945163727,
-0.21158866584300995,
-0.09568163752555847,
-0.31121349334716797,
-0.09629166126251221,
-0.01503627747297287,
-0.1488659828901291,
-0.3212309777736664,
0.32240957021713257,
0.27126023173332214,
-0.09934236854314804,
0.10882909595966339,
0.06634580343961716,
-0.4034372568130493,
-0.23997493088245392,
0.15503309667110443,
0.15443624556064606,
0.0154440738260746,
0.33577656745910645,
0.035548921674489975,
-0.044380564242601395,
-0.49457547068595886,
-0.20940107107162476,
0.12233708053827286,
-0.4477940797805786,
0.24716538190841675,
0.25005367398262024,
-0.09162092208862305,
0.14313524961471558,
0.16137896478176117,
0.10086004436016083,
0.32144227623939514,
-0.2982942759990692,
-0.29696881771087646,
-0.35846787691116333,
-0.031139761209487915,
0.08237497508525848,
0.20738787949085236,
0.006064984947443008,
0.047609101980924606,
0.15640348196029663,
-0.025036422535777092,
-0.5637646913528442,
0.048103854060173035,
0.053718820214271545,
0.02470160461962223,
0.10808498412370682,
-0.23886951804161072,
0.0966208204627037,
-0.10510513186454773,
0.3421418368816376,
-0.13055174052715302,
-0.3365030586719513,
-0.4073292016983032,
-0.14332331717014313,
0.10299618542194366,
-0.16671982407569885,
-0.16912822425365448,
0.04204834625124931,
-0.014184393920004368,
-0.26987436413764954,
0.11221081018447876,
0.08417943120002747,
0.068178690969944,
-0.0783955305814743,
0.32377439737319946,
-0.02455027773976326,
0.08471222966909409,
0.14632199704647064,
-0.11997649073600769,
0.06726174801588058,
0.18809111416339874,
-0.2728205919265747,
0.04267873242497444,
-0.08714649826288223,
-0.0945470854640007,
0.26580291986465454,
0.1415010392665863,
-0.05601520836353302,
0.04911908507347107,
0.17136266827583313,
-0.016433335840702057,
-0.10066952556371689,
0.06945943087339401,
0.31944891810417175,
0.19396525621414185,
-0.1395079493522644,
-0.04148060828447342,
0.26531341671943665,
0.39010921120643616,
-0.4486340284347534,
-0.07586976140737534,
-0.013522502034902573,
0.1214001476764679,
0.0677398145198822,
0.14550255239009857,
0.45254918932914734,
0.010319255292415619,
0.3585786819458008,
0.07028435170650482,
0.42299774289131165,
-0.18821987509727478,
0.0840553492307663,
0.3692813217639923,
-0.210008442401886,
-0.04544531926512718,
0.16949430108070374,
0.15316753089427948,
0.08889223635196686,
0.11162668466567993,
-0.027167201042175293,
0.239197239279747,
0.22178009152412415,
-0.16511744260787964,
-0.06861879676580429,
-0.059146299958229065,
0.2742874026298523,
0.2347228229045868,
-0.1659601330757141,
0.056868795305490494,
0.2133537232875824,
0.36110374331474304,
-0.2942131459712982,
0.11485228687524796,
-0.393526554107666,
0.10666008293628693,
-0.2337077260017395,
-0.1825791746377945,
0.06051969528198242,
-0.15882602334022522,
-0.3115711212158203,
-0.20451511442661285,
0.004833843559026718,
0.0743810385465622,
0.2590407729148865,
-0.24067814648151398,
-0.047816067934036255,
-0.057520538568496704,
-0.0763120949268341,
-0.09098169952630997,
0.17923729121685028,
-0.060376740992069244,
-0.001079687848687172,
0.31360167264938354,
0.01462249830365181,
0.1613454967737198,
0.4532712399959564,
0.6750587821006775,
0.24443814158439636,
-0.20941688120365143,
0.06717714667320251,
-0.17801760137081146,
-0.15180917084217072,
-0.08441442251205444,
0.33663222193717957,
0.23062901198863983,
-0.11460436880588531,
0.1893584430217743,
0.3502182066440582,
-0.267065167427063,
0.160338893532753,
0.16369090974330902,
-0.08305951952934265,
-0.06623904407024384,
0.31522616744041443,
0.10638941824436188,
-0.2760807275772095,
-0.25550612807273865,
0.1552465856075287,
-0.34664681553840637,
-0.11408782750368118,
0.4570678174495697,
0.07693744450807571,
0.0601121187210083,
-0.3012847900390625,
0.20583704113960266,
-0.011277243494987488,
0.5561816692352295,
0.052957773208618164,
0.14680173993110657,
0.01065366342663765,
-0.1067700982093811,
-0.45893317461013794,
0.22485095262527466,
-0.25771093368530273,
-0.0683603584766388,
-0.10708735138177872,
0.01500643603503704,
0.3122786581516266,
0.07512018084526062,
0.1991976648569107,
0.06458413600921631,
-0.06302345544099808,
-0.18835654854774475,
-0.32226142287254333,
0.3465555012226105,
0.07229926437139511,
0.08423901349306107,
0.15713462233543396,
-0.18432289361953735,
0.0630447268486023,
-0.11967816948890686,
0.27321919798851013,
-0.15856756269931793,
0.060407862067222595,
0.17598815262317657,
0.08863268792629242,
0.3640033006668091,
0.10063289850950241,
0.3366985023021698,
-0.2883334457874298,
-0.11469601839780807,
-0.11523336172103882,
-0.189161017537117,
-0.10851042717695236,
0.311704158782959,
0.29464566707611084,
0.07902853935956955,
0.186322420835495,
-0.3384687900543213,
-0.009342263452708721,
0.2964220345020294,
-0.007371634244918823,
-0.04989461600780487,
-0.24718815088272095,
0.38721516728401184,
-0.040777355432510376,
-0.20078910887241364,
-0.03194538876414299,
-0.12751159071922302,
0.0077632516622543335,
-0.06433878093957901,
-0.1603156328201294,
-0.4781886339187622,
0.4307260513305664,
-0.000674830749630928,
-0.27200889587402344,
-0.3771452307701111,
0.25757864117622375,
0.12121656537055969,
0.18946745991706848,
-0.39292585849761963,
0.31293243169784546,
0.21526341140270233,
0.18081676959991455,
-0.023732909932732582,
0.27049240469932556,
-0.14700821042060852,
-0.08876371383666992,
-0.07899633049964905,
0.40115886926651,
0.13287794589996338,
-0.11526293307542801,
-0.14618365466594696,
-0.2866634130477905
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | I finally managed to find some time to complete this. The only weird thing about this release is that I had to run the tests with the ignore checksum flag. Could it be because the Dropbox link doesn't change but the file does? Sorry didn't have the time to check the code to see what's happening behind the scenes.
| We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 59 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
I finally managed to find some time to complete this. The only weird thing about this release is that I had to run the tests with the ignore checksum flag. Could it be because the Dropbox link doesn't change but the file does? Sorry didn't have the time to check the code to see what's happening behind the scenes.
| [
-0.11193546652793884,
0.43338334560394287,
-0.1026458591222763,
-0.15207788348197937,
-0.12703894078731537,
-0.0421280711889267,
0.25625789165496826,
0.5817530751228333,
0.05671744421124458,
0.09014372527599335,
0.3238586187362671,
0.3457079827785492,
-0.2616354823112488,
0.36809009313583374,
0.20021168887615204,
0.22808942198753357,
0.3078431487083435,
0.1979941427707672,
-0.2509253919124603,
-0.15681195259094238,
-0.21068982779979706,
0.22785553336143494,
-0.3428959250450134,
-0.05352582037448883,
-0.2155412882566452,
-0.1827991008758545,
-0.12362062931060791,
0.4237384796142578,
-0.5843311548233032,
-0.38556650280952454,
0.07515931874513626,
0.40372762084007263,
-0.29008743166923523,
0.39525970816612244,
-0.00011196839477634057,
-0.1481156349182129,
0.5636798739433289,
-0.16373521089553833,
-0.7385818362236023,
-0.23257513344287872,
-0.042525507509708405,
-0.2931949496269226,
-0.13216224312782288,
-0.08126069605350494,
0.0375962033867836,
-0.13934050500392914,
-0.0018023718148469925,
-0.00034280866384506226,
0.06847251951694489,
0.22007079422473907,
0.19946004450321198,
0.38782837986946106,
0.05720183625817299,
-0.1794780045747757,
0.30797097086906433,
0.16648533940315247,
-0.11633418500423431,
0.4904114902019501,
0.396332323551178,
0.04062642157077789,
0.25198042392730713,
0.2944975793361664,
-0.09071188420057297,
-0.12329834699630737,
-0.02473577857017517,
0.036975305527448654,
0.07501325756311417,
-0.3988107144832611,
0.1781313419342041,
0.20569229125976562,
0.5189346671104431,
-0.19940921664237976,
-0.24930745363235474,
-0.1467302441596985,
-0.09374581277370453,
-0.22792471945285797,
0.25371506810188293,
0.24071501195430756,
-0.09877167642116547,
0.13503497838974,
0.023016178980469704,
0.12012308090925217,
-0.007778741419315338,
-0.09700907766819,
0.10065256059169769,
0.3088313043117523,
-0.12615954875946045,
0.00007021427154541016,
0.14244158565998077,
0.12303728610277176,
0.17070581018924713,
-0.17872795462608337,
-0.43049898743629456,
0.038742486387491226,
0.26963579654693604,
-0.3597697615623474,
0.006537191569805145,
-0.08130743354558945,
0.3662184476852417,
0.2628529369831085,
-0.16579310595989227,
-0.01837221160531044,
0.09093254804611206,
-0.12451513856649399,
0.07875578850507736,
0.22935229539871216,
0.19996501505374908,
-0.07885903865098953,
0.20187035202980042,
0.37208291888237,
0.15303155779838562,
-0.022864215075969696,
-0.12365112453699112,
0.08812128007411957,
-0.09772378206253052,
0.0050766561180353165,
0.5916844606399536,
-0.27001336216926575,
-0.08867444097995758,
-0.08434069901704788,
0.05837276577949524,
-0.17554259300231934,
-0.1885109394788742,
0.24928191304206848,
-0.10528470575809479,
-0.0771438255906105,
-0.0010332725942134857,
0.16734255850315094,
-0.15918651223182678,
-0.06990102678537369,
-0.2651044726371765,
0.16706976294517517,
-0.009263560175895691,
0.053018733859062195,
0.08687819540500641,
0.09065945446491241,
0.195426806807518,
0.17560039460659027,
0.04889148473739624,
-0.21222461760044098,
0.37775883078575134,
0.1041191965341568,
0.13159117102622986,
0.35663220286369324,
-0.2979576885700226,
0.228890061378479,
0.042778417468070984,
-0.5766580700874329,
-0.13476336002349854,
0.3427715599536896,
-0.21706673502922058,
-0.2883463203907013,
0.04323440045118332,
0.1755637526512146,
-0.19122524559497833,
-0.09326411783695221,
0.1033567488193512,
0.12499856948852539,
-0.17755475640296936,
-0.23136569559574127,
0.20377613604068756,
0.025354284793138504,
0.2919860780239105,
-0.21305029094219208,
0.07007089257240295,
0.4731179475784302,
-0.5418062210083008,
0.17634116113185883,
-0.03360565006732941,
0.0033585429191589355,
0.22118988633155823,
-0.16059519350528717,
-0.0032916427589952946,
-0.12503919005393982,
-0.22672304511070251,
-0.2065848559141159,
0.1727249175310135,
-0.2445301115512848,
-0.08161699026823044,
0.08497500419616699,
-0.26922082901000977,
0.03143857419490814,
0.295838326215744,
-0.11372578144073486,
-0.05313408747315407,
-0.1926305741071701,
-0.3802526593208313,
-0.40694260597229004,
0.024552414193749428,
-0.0378110446035862,
-0.3015832304954529,
-0.24739477038383484,
0.48579251766204834,
-0.1779363453388214,
-0.09456874430179596,
0.1408042162656784,
0.09939983487129211,
0.1348111927509308,
0.5286676287651062,
-0.03648148104548454,
0.013262399472296238,
-0.09159570932388306,
0.6153979897499084,
-0.23180897533893585,
-0.0359603576362133,
0.22499531507492065,
-0.05198369920253754,
0.20804724097251892,
-0.06489681452512741,
0.2513594627380371,
-0.055782243609428406,
-0.11278512328863144,
-0.33599504828453064,
-0.037459105253219604,
0.0769069716334343,
-0.5688825845718384,
0.11437249183654785,
0.14594629406929016,
0.17793245613574982,
0.3251088857650757,
-0.2156027853488922,
0.1141396164894104,
-0.11172670125961304,
-0.006804252043366432,
-0.21276967227458954,
0.22216784954071045,
-0.13500745594501495,
-0.09896138310432434,
-0.134048730134964,
0.036969948559999466,
-0.07523571699857712,
-0.4156811535358429,
-0.07230906933546066,
0.4246998727321625,
0.1871340423822403,
-0.20376946032047272,
0.3272034823894501,
0.23338854312896729,
0.016210094094276428,
0.03712287172675133,
0.42787083983421326,
0.2932477295398712,
0.030323822051286697,
0.0635358914732933,
-0.19279396533966064,
0.7731338739395142,
-0.08974829316139221,
-0.2568643093109131,
0.0814904272556305,
-0.14707286655902863,
0.1365870237350464,
-0.10431106388568878,
-0.3112961947917938,
-0.04176155850291252,
-0.3273540437221527,
-0.3048339784145355,
0.6131137609481812,
-0.035566531121730804,
-0.29032695293426514,
0.16606514155864716,
0.44650277495384216,
-0.3506610095500946,
-0.16643089056015015,
-0.01966501772403717,
-0.1055566743016243,
-0.37448760867118835,
-0.1310783177614212,
0.45201346278190613,
0.45133650302886963,
0.08242277055978775,
0.11820858716964722,
0.23120909929275513,
0.0869482010602951,
-0.2274383306503296,
0.3735053837299347,
-0.2073080688714981,
-0.23344072699546814,
-0.01713741570711136,
-0.06392596662044525,
-0.029544051736593246,
-0.21718698740005493,
0.3382419943809509,
0.034690722823143005,
0.21401557326316833,
-0.21464665234088898,
0.025436846539378166,
-0.10824884474277496,
-0.25732100009918213,
-0.25543704628944397,
-0.0012622587382793427,
-0.3351733088493347,
-0.20035810768604279,
0.18589822947978973,
0.22949393093585968,
-0.07397061586380005,
0.11736118048429489,
-0.1568971574306488,
0.4901149272918701,
-0.034417882561683655,
0.2497052550315857,
-0.23444248735904694,
0.19878993928432465,
-0.025415562093257904,
0.10179702937602997,
0.0900060385465622,
0.24437513947486877,
0.24197469651699066,
-0.3518272638320923,
-0.1675003468990326,
-0.3057786822319031,
-0.5698180198669434,
-0.013749487698078156,
-0.20680706202983856,
0.3101229965686798,
0.2075924277305603,
0.19857218861579895,
0.266262948513031,
-0.1762138307094574,
-0.02874455228447914,
-0.5830734372138977,
-0.39039158821105957,
-0.1549237221479416,
-0.18529434502124786,
-0.1213289126753807,
-0.24114617705345154,
-0.3783964514732361,
-0.280419260263443,
-0.07742785662412643,
0.17305299639701843,
0.10221298038959503,
0.06944252550601959,
0.5773245692253113,
0.098731130361557,
0.09771613031625748,
-0.026128357276320457,
-0.21025097370147705,
-0.24008513987064362,
-0.6294010877609253,
0.12228870391845703,
-0.09897390007972717,
-0.3761225640773773,
0.13172338902950287,
-0.01410325150936842,
-0.19224655628204346,
-0.633987307548523,
-0.13531458377838135,
-0.5168219804763794,
-0.031021831557154655,
0.1778697669506073,
0.2192297726869583,
-0.26271894574165344,
0.5152116417884827,
-0.031306345015764236,
-0.15514223277568817,
-0.33565622568130493,
-0.29851898550987244,
0.003972336649894714,
0.3044343590736389,
0.29670363664627075,
-0.08469066023826599,
-0.04821622371673584,
-0.08676120638847351,
0.33583301305770874,
0.2409725785255432,
0.056599412113428116,
-0.05338189750909805,
-0.11501315981149673,
0.622929573059082,
-0.24778524041175842,
-0.22588875889778137,
-0.10144402831792831,
0.021150976419448853,
-0.12877948582172394,
0.2356100082397461,
-0.02384110540151596,
-0.2564936876296997,
-0.0028552189469337463,
0.06878642737865448,
-0.2661329507827759,
0.0008733347058296204,
0.001064470037817955,
-0.028434939682483673,
-0.2104870080947876,
0.14802992343902588,
-0.0030596330761909485,
-0.19914035499095917,
-0.21221253275871277,
-0.1318456083536148,
0.4509301781654358,
0.27465009689331055,
0.10861038416624069,
-0.298644095659256,
0.20501451194286346,
-0.18628725409507751,
0.22185997664928436,
-0.013353847898542881,
0.022207459434866905,
0.10393847525119781,
-0.473996102809906,
0.08911800384521484,
-0.2298954874277115,
0.41724467277526855,
-0.13174572587013245,
0.1854919046163559,
0.34870675206184387,
0.11226499080657959,
0.08008412271738052,
-0.32584133744239807,
-0.46750134229660034,
-0.009900083765387535,
0.35907596349716187,
0.28666266798973083,
-0.003884442150592804,
-0.43382519483566284,
0.3445974290370941,
0.2672213613986969,
0.026606809347867966,
0.2370556890964508,
-0.33616042137145996,
-0.4192664325237274,
-0.15075799822807312,
0.13259200751781464,
-0.17662516236305237,
-0.1240842267870903,
-0.6986915469169617,
-0.2299545407295227,
0.46171072125434875,
0.07451613247394562,
-0.10902827978134155,
-0.0034668641164898872,
0.3567059636116028,
0.08683332055807114,
0.14854390919208527,
0.057772405445575714,
0.3994753062725067,
0.5246325135231018,
0.21715177595615387,
0.06497273594141006,
0.34919002652168274,
-0.017396174371242523,
-0.28067657351493835,
0.19894960522651672,
0.603317141532898,
-0.25054794549942017,
0.16783586144447327,
-0.06657055020332336,
0.10114991664886475,
-0.22617879509925842,
-0.08487081527709961,
0.5473095774650574,
0.07846970111131668,
-0.17954176664352417,
-0.2453484833240509,
-0.0702730044722557,
-0.26777616143226624,
-0.3696431517601013,
0.3303039073944092,
-0.16194352507591248,
0.08050928264856339,
0.19134166836738586,
-0.20704099535942078,
1.010116457939148,
0.23360349237918854,
0.21700817346572876,
0.15258342027664185,
-0.15801697969436646,
0.20039334893226624,
0.039714276790618896,
0.20152141153812408,
-0.48946118354797363,
-0.4636663794517517,
0.004930669441819191,
-0.09926499426364899,
0.40625929832458496,
-0.027097448706626892,
-0.3008362948894501,
0.04921918734908104,
-0.08909820020198822,
0.05194851756095886,
0.05088979750871658,
0.18993404507637024,
-0.07312899082899094,
0.464053213596344,
0.29346248507499695,
0.1672532707452774,
0.2219584435224533,
0.14981700479984283,
0.06579673290252686,
-0.22504068911075592,
-0.3276606798171997,
-0.4085197448730469,
-0.1119571402668953,
0.04679006338119507,
0.06718233972787857,
-0.06950141489505768,
0.26806989312171936,
-0.1206541657447815,
-0.34252670407295227,
-0.05700163170695305,
0.25532811880111694,
0.3152036666870117,
-0.06133192777633667,
0.03880549967288971,
-0.09643999487161636,
0.2259131222963333,
0.20587028563022614,
0.07540658116340637,
0.2698521316051483,
-0.16478058695793152,
-0.3246752917766571,
-0.2815273106098175,
-0.3407022953033447,
-0.30011099576950073,
-0.06286508589982986,
-0.11908629536628723,
-0.348632276058197,
-0.13565927743911743,
0.04874946177005768,
0.11205662041902542,
-0.20740218460559845,
-0.39302968978881836,
0.16708970069885254,
0.009738154709339142,
-0.25886815786361694,
0.09700906276702881,
-0.05212930217385292,
-0.5660867691040039,
-0.19846594333648682,
0.2526935338973999,
-0.11261429637670517,
0.33573925495147705,
0.42627763748168945,
-0.26968836784362793,
0.14674745500087738,
-0.29628127813339233,
0.32550081610679626,
0.06193633750081062,
-0.2224089801311493,
0.2817727029323578,
-0.07750855386257172,
0.04995012283325195,
0.10489388555288315,
0.4950771629810333,
0.37225306034088135,
0.37414783239364624,
-0.35767990350723267,
-0.24518482387065887,
-0.17947620153427124,
0.007780544459819794,
0.28398486971855164,
0.16212545335292816,
-0.3836617171764374,
0.1363886445760727,
0.28010615706443787,
-0.053490206599235535,
-0.3756275177001953,
0.22835198044776917,
0.041532471776008606,
-0.048951223492622375,
0.19424723088741302,
-0.08075550943613052,
0.37326744198799133,
-0.17989064753055573,
0.15719090402126312,
-0.41689103841781616,
-0.2924557328224182,
-0.18516460061073303,
-0.13136793673038483,
0.14506420493125916,
-0.16545650362968445,
-0.03631995618343353,
0.13532090187072754,
-0.05817811191082001,
-0.12071599066257477,
0.1653829663991928,
0.13907231390476227,
-0.20097753405570984,
0.022021040320396423,
0.1507158726453781,
0.24777303636074066,
0.17092542350292206,
-0.017687853425741196,
-0.004517722874879837,
-0.0704767107963562,
0.2238001525402069,
-0.11095105856657028,
0.16144782304763794,
0.06305953115224838,
-0.12160961329936981,
0.19348718225955963,
0.13966700434684753,
-0.3576611876487732,
0.19943135976791382,
0.3038620352745056,
-0.08605484664440155,
-0.028772713616490364,
0.029262056574225426,
0.5164563655853271,
0.38031765818595886,
-0.01984146609902382,
-0.06965556740760803,
0.18208527565002441,
0.13489773869514465,
-0.21686691045761108,
-0.1333315521478653,
-0.06515276432037354,
0.0017698220908641815,
-0.1160561740398407,
0.20519286394119263,
0.463025838136673,
0.047334179282188416,
0.26431554555892944,
0.059554778039455414,
0.6090866327285767,
0.14237333834171295,
0.2007835954427719,
0.3791140019893646,
-0.3154650330543518,
0.12160186469554901,
0.1030561625957489,
-0.04892900958657265,
-0.24256965517997742,
-0.03685709834098816,
0.2353488802909851,
0.12593451142311096,
0.12185657769441605,
0.17345349490642548,
-0.36590200662612915,
-0.05076776072382927,
0.39448946714401245,
0.12283596396446228,
-0.09135293960571289,
-0.060280852019786835,
0.16455036401748657,
0.2098320722579956,
-0.3588911294937134,
-0.03078341856598854,
-0.3182166814804077,
0.0714971125125885,
0.042439039796590805,
-0.21707354485988617,
-0.05066947266459465,
-0.40729501843452454,
-0.12329062819480896,
-0.09562638401985168,
0.1438438892364502,
0.24558931589126587,
0.2858295738697052,
-0.10047340393066406,
-0.1330898106098175,
-0.07567056268453598,
-0.14586913585662842,
-0.16485556960105896,
0.14921486377716064,
-0.20667022466659546,
0.25685733556747437,
0.2725292444229126,
0.23696352541446686,
0.26674675941467285,
0.35171571373939514,
0.5666628479957581,
0.2234916090965271,
-0.059651222079992294,
0.022629566490650177,
-0.07347461581230164,
-0.19012056291103363,
0.04162612557411194,
0.4385417103767395,
0.3191959857940674,
-0.22861088812351227,
0.04727531597018242,
0.1711380034685135,
-0.10052520036697388,
0.28240862488746643,
0.08176065236330032,
-0.2092350274324417,
-0.17027688026428223,
0.4595794975757599,
0.1652744859457016,
-0.12467962503433228,
-0.3796330988407135,
0.16310781240463257,
-0.2568376958370209,
0.11350518465042114,
0.27529969811439514,
-0.10516934841871262,
0.08249758929014206,
0.015332101844251156,
0.12820957601070404,
0.15320256352424622,
0.41017454862594604,
-0.03574390336871147,
0.15611672401428223,
0.06319033354520798,
-0.35728883743286133,
-0.45367854833602905,
0.230878084897995,
-0.013751700520515442,
0.046613745391368866,
-0.2400868982076645,
-0.021576309576630592,
0.22394463419914246,
-0.1010400652885437,
0.2990637421607971,
-0.023485127836465836,
-0.03630944713950157,
-0.2220747470855713,
-0.3845042586326599,
0.33288687467575073,
0.03289828822016716,
0.15141092240810394,
-0.17665202915668488,
-0.09517525136470795,
0.13839766383171082,
0.042761825025081635,
-0.0018343105912208557,
0.26034343242645264,
0.2051953673362732,
0.04119851812720299,
0.029094377532601357,
0.2830595374107361,
0.10711652785539627,
0.5975779294967651,
-0.1367024928331375,
-0.30639639496803284,
-0.1742551326751709,
0.06747132539749146,
-0.18731671571731567,
0.3201167583465576,
0.0753152072429657,
0.28036898374557495,
0.1604641228914261,
-0.3528435230255127,
-0.12021343410015106,
0.43046438694000244,
0.10071508586406708,
-0.11457497626543045,
-0.38925209641456604,
0.07106133550405502,
-0.10948699712753296,
-0.17331823706626892,
0.26173335313796997,
-0.021767809987068176,
-0.15267284214496613,
-0.0031167492270469666,
-0.21939000487327576,
-0.21663101017475128,
0.5423555374145508,
-0.03406180441379547,
-0.23929175734519958,
-0.22020578384399414,
0.3342147171497345,
-0.46790480613708496,
-0.14225991070270538,
-0.08614304661750793,
0.11596750468015671,
0.23870441317558289,
0.0899369865655899,
-0.16131851077079773,
0.30360350012779236,
-0.18608152866363525,
0.013478610664606094,
0.07068468630313873,
0.569448709487915,
0.09305776655673981,
-0.0957542359828949,
-0.10423225164413452,
-0.16449710726737976
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | Yes if the file changed, then the checksum verification won't pass as it expects to see the checksum of the old file.
The checksum is computed by hashing the complete file.
You can update the checksum by doing
```
nlp-cli test ./datasets/compguesswhat --save_infos --all_configs
``` | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 45 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
Yes if the file changed, then the checksum verification won't pass as it expects to see the checksum of the old file.
The checksum is computed by hashing the complete file.
You can update the checksum by doing
```
nlp-cli test ./datasets/compguesswhat --save_infos --all_configs
``` | [
-0.05682717263698578,
0.2800504267215729,
-0.034913770854473114,
-0.16310031712055206,
-0.052172571420669556,
-0.1417022943496704,
0.1251375824213028,
0.4986804723739624,
0.030876271426677704,
0.0009079352021217346,
0.3380463719367981,
0.1786632537841797,
0.23014949262142181,
-0.13033320009708405,
0.21046611666679382,
0.37826260924339294,
0.21099531650543213,
0.22803524136543274,
-0.23116278648376465,
-0.153500497341156,
-0.17229273915290833,
0.07653042674064636,
-0.21057704091072083,
-0.05448029935359955,
-0.1697959005832672,
0.03329913318157196,
-0.15514416992664337,
0.3894479274749756,
-0.3151356875896454,
-0.42181846499443054,
0.34729596972465515,
0.34462398290634155,
-0.15359273552894592,
0.1943625956773758,
-0.00010657490929588675,
0.014014579355716705,
0.4941490888595581,
-0.16185635328292847,
-0.4796662926673889,
0.10228836536407471,
-0.2036990225315094,
-0.4686906933784485,
-0.24049772322177887,
-0.2785511016845703,
0.15266373753547668,
-0.0013121264055371284,
0.13000650703907013,
0.16810041666030884,
0.08786362409591675,
0.24629420042037964,
0.20481756329536438,
0.2563874423503876,
0.05650726333260536,
0.038128625601530075,
0.08561327308416367,
-0.1440432369709015,
0.20951645076274872,
0.38303276896476746,
0.1779833734035492,
-0.22133192420005798,
0.04165594279766083,
0.22041769325733185,
-0.06064492464065552,
-0.22518962621688843,
0.06796455383300781,
-0.14025023579597473,
0.37583693861961365,
0.17749767005443573,
-0.018590986728668213,
0.15377014875411987,
-0.09363781660795212,
-0.36147671937942505,
-0.32409003376960754,
-0.06945274025201797,
-0.13106678426265717,
-0.48291298747062683,
0.2765296995639801,
0.16634847223758698,
-0.04539234936237335,
-0.15942128002643585,
-0.17186559736728668,
-0.0010511488653719425,
0.035195186734199524,
-0.1182028204202652,
0.03338603675365448,
0.3409396708011627,
0.11822037398815155,
0.09082838147878647,
0.04806852340698242,
0.06943060457706451,
-0.27228328585624695,
-0.0015231091529130936,
-0.5366411805152893,
0.22909162938594818,
-0.24327225983142853,
-0.37421637773513794,
0.05048316717147827,
0.27334675192832947,
0.2948283553123474,
0.2005009800195694,
0.07481027394533157,
0.2234402894973755,
-0.2030872404575348,
0.18315735459327698,
0.09144516289234161,
0.12178587913513184,
0.234688401222229,
0.08140453696250916,
0.16218596696853638,
0.31135451793670654,
-0.21554897725582123,
-0.0943235531449318,
0.19574151933193207,
-0.16934795677661896,
0.2975625991821289,
0.18450403213500977,
0.23468266427516937,
-0.33835628628730774,
0.06124191731214523,
0.10961665213108063,
0.18702241778373718,
-0.19624914228916168,
0.21417713165283203,
0.2563890814781189,
-0.02886931598186493,
-0.026939988136291504,
-0.1024705022573471,
0.024793602526187897,
-0.11078833788633347,
-0.17370671033859253,
-0.24217411875724792,
-0.0894903838634491,
-0.22003775835037231,
-0.0641995444893837,
0.1862206757068634,
0.09565873444080353,
0.2939694821834564,
-0.02413562312722206,
-0.052220091223716736,
-0.08042614907026291,
0.13375118374824524,
-0.011221024207770824,
0.3298754096031189,
0.2722146809101105,
-0.24662724137306213,
-0.02461988851428032,
0.09339575469493866,
-0.23832029104232788,
-0.13639786839485168,
0.21706604957580566,
-0.3731056749820709,
-0.0858892947435379,
0.22486121952533722,
0.21436266601085663,
-0.279732882976532,
-0.10443603992462158,
0.3436298072338104,
-0.2890011966228485,
0.19298771023750305,
-0.6945546269416809,
0.2837725877761841,
-0.18208050727844238,
-0.15027865767478943,
-0.0486040897667408,
-0.13550131022930145,
0.12582841515541077,
-0.3449312746524811,
0.11671194434165955,
0.22202497720718384,
-0.2615920305252075,
0.011973120272159576,
0.23827247321605682,
-0.04748144745826721,
-0.3057282269001007,
-0.12408202141523361,
-0.016573399305343628,
0.4634872376918793,
-0.1188708245754242,
-0.28933364152908325,
0.005374446045607328,
0.10583524405956268,
-0.005334075540304184,
0.161067932844162,
-0.08225087821483612,
-0.2723197042942047,
-0.46138742566108704,
-0.44365164637565613,
-0.10217881947755814,
0.05988039821386337,
0.17503702640533447,
-0.3831097483634949,
0.08118867129087448,
0.4484429359436035,
-0.3015301823616028,
-0.09717555344104767,
0.0361846499145031,
0.10518813878297806,
0.1524985134601593,
0.592317521572113,
-0.2014455497264862,
0.0012399754486978054,
-0.015982717275619507,
0.5338898301124573,
-0.30445796251296997,
0.32233718037605286,
0.018705174326896667,
0.157817542552948,
0.28631535172462463,
-0.48393329977989197,
0.1285051554441452,
0.12305556982755661,
-0.21075524389743805,
-0.13546885550022125,
-0.17054849863052368,
-0.005447108298540115,
-0.14809851348400116,
0.16782256960868835,
0.297210156917572,
0.2760160565376282,
0.02218395099043846,
-0.10169529914855957,
0.2659483551979065,
-0.5227974653244019,
-0.05918688327074051,
-0.11056743562221527,
0.018121277913451195,
-0.10374922305345535,
-0.2152514010667801,
-0.1443457305431366,
0.20757752656936646,
0.04291967302560806,
-0.11565442383289337,
-0.18998977541923523,
0.5079705715179443,
0.1099666878581047,
-0.012112632393836975,
0.13249701261520386,
0.06445331871509552,
-0.044821321964263916,
-0.09384045004844666,
0.32924211025238037,
0.1595713496208191,
0.03264255076646805,
0.0857669934630394,
-0.05425378680229187,
0.391574501991272,
-0.049592915922403336,
-0.19953599572181702,
0.33486407995224,
-0.2417692095041275,
0.35604429244995117,
-0.3123420476913452,
-0.20723795890808105,
-0.06441473960876465,
-0.13736017048358917,
0.10723787546157837,
0.0018376447260379791,
0.05214443430304527,
-0.1018395721912384,
0.0031215548515319824,
0.6710191965103149,
-0.08245451748371124,
-0.15767556428909302,
0.06319454312324524,
0.04603888839483261,
-0.29967159032821655,
-0.02277347259223461,
0.38341131806373596,
0.33703500032424927,
0.056398648768663406,
0.04635050892829895,
0.2459750920534134,
-0.2659500539302826,
-0.15044906735420227,
0.07595767080783844,
-0.1375681757926941,
0.007128667552024126,
0.13382038474082947,
0.01143345795571804,
0.005242086946964264,
-0.15884345769882202,
0.37769779562950134,
0.1830727756023407,
0.21119627356529236,
-0.23048818111419678,
0.14842787384986877,
-0.3225351870059967,
-0.46118074655532837,
-0.31801146268844604,
0.03286748379468918,
-0.48420250415802,
-0.23460997641086578,
0.17986008524894714,
-0.022078420966863632,
0.017268680036067963,
0.10662584006786346,
-0.33329081535339355,
0.1711122989654541,
0.11329196393489838,
-0.0905090719461441,
-0.12588566541671753,
-0.14789016544818878,
-0.1707001030445099,
0.061613667756319046,
0.37258443236351013,
0.3847140073776245,
0.27274224162101746,
0.007446957752108574,
-0.10390066355466843,
-0.22463442385196686,
-0.3811206519603729,
-0.04224270582199097,
-0.2470456212759018,
0.21647454798221588,
0.20756639540195465,
0.10339675843715668,
0.11608345806598663,
0.030685774981975555,
0.11217229813337326,
-0.3837280869483948,
-0.4269406497478485,
0.29344671964645386,
-0.01875433325767517,
-0.13991904258728027,
-0.39736318588256836,
-0.12867453694343567,
-0.06417456269264221,
0.014230038970708847,
0.12686875462532043,
0.3353954255580902,
0.2832827568054199,
0.5088148713111877,
-0.11548567563295364,
-0.03221604600548744,
-0.28407660126686096,
0.2020186334848404,
-0.19571314752101898,
-0.4806113839149475,
-0.014951404184103012,
-0.015593364834785461,
-0.2887266278266907,
-0.006108827888965607,
-0.005378199741244316,
0.20973245799541473,
-0.09728604555130005,
-0.11938977986574173,
-0.3555212616920471,
0.005034193396568298,
0.05031966790556908,
0.24252517521381378,
-0.18942959606647491,
0.4367637038230896,
-0.2456447184085846,
-0.15875059366226196,
-0.33526167273521423,
-0.17708344757556915,
0.13046665489673615,
0.15829682350158691,
0.5432636141777039,
-0.06744180619716644,
0.014480352401733398,
0.03183567151427269,
0.13334092497825623,
0.24682721495628357,
-0.13171888887882233,
0.3229788839817047,
0.0771886333823204,
0.49787089228630066,
-0.07262704521417618,
-0.13236194849014282,
0.12312393635511398,
0.14364910125732422,
-0.05836363881826401,
0.038520440459251404,
-0.13893792033195496,
-0.2145524024963379,
0.03082241863012314,
-0.267162024974823,
-0.2111600637435913,
-0.22765161097049713,
0.053435131907463074,
-0.07555171102285385,
0.20178323984146118,
0.18964284658432007,
-0.1559758484363556,
-0.2786952555179596,
-0.2798110246658325,
-0.08532124757766724,
0.5403081178665161,
0.018082208931446075,
0.018670611083507538,
-0.4490486681461334,
-0.0003733816556632519,
0.08511929214000702,
0.2731166183948517,
0.03886672481894493,
0.4832803010940552,
0.14093658328056335,
-0.37357205152511597,
-0.05692301690578461,
-0.2976387143135071,
0.04645618796348572,
-0.35781094431877136,
0.2996947169303894,
0.35444724559783936,
0.4038715660572052,
0.11736013740301132,
-0.2675464451313019,
-0.31731632351875305,
-0.007554523181170225,
0.7998191714286804,
0.22670088708400726,
-0.08494844287633896,
-0.2952530086040497,
0.152177095413208,
0.3629850149154663,
-0.15964291989803314,
0.0338287428021431,
-0.5058905482292175,
-0.03701281547546387,
-0.17424406111240387,
0.0793684870004654,
-0.21455515921115875,
-0.0632738322019577,
-0.29992663860321045,
0.1543610841035843,
0.113250233232975,
0.02503363788127899,
0.0820021703839302,
0.12416514754295349,
0.2042352557182312,
0.018008718267083168,
-0.04195449501276016,
-0.4970391094684601,
0.340676873922348,
-0.16066747903823853,
0.23606984317302704,
0.15471933782100677,
0.3127375841140747,
-0.21591854095458984,
-0.06675998121500015,
0.38804006576538086,
0.25352632999420166,
-0.04709774628281593,
0.20097042620182037,
0.09170731157064438,
-0.03316035866737366,
-0.11233329027891159,
-0.2438955008983612,
0.0905691608786583,
0.10347314924001694,
-0.2794186770915985,
-0.07869395613670349,
-0.014117181301116943,
-0.10423475503921509,
-0.0992431715130806,
0.024819334968924522,
-0.23159955441951752,
-0.12551333010196686,
0.1404658854007721,
0.0963774025440216,
0.7768294811248779,
0.08015167713165283,
-0.05930251255631447,
-0.02701457217335701,
0.12996631860733032,
0.4171654284000397,
-0.04761587828397751,
0.06364358961582184,
-0.5636500120162964,
-0.4089810848236084,
-0.01133548654615879,
-0.13441140949726105,
0.47898805141448975,
-0.13390974700450897,
-0.4030892252922058,
0.3139616549015045,
0.3937067985534668,
-0.22693312168121338,
0.0948275551199913,
0.4582522511482239,
-0.36562883853912354,
0.2244565635919571,
0.0997614711523056,
0.21385139226913452,
0.11797796934843063,
0.053568094968795776,
0.00941728800535202,
-0.20089733600616455,
-0.08275575935840607,
-0.3629301190376282,
-0.18637815117835999,
0.15812909603118896,
0.24246186017990112,
-0.24392889440059662,
0.4135794937610626,
-0.056899625808000565,
-0.21191616356372833,
-0.17006731033325195,
0.42997366189956665,
0.44626545906066895,
0.001103455200791359,
0.22145076096057892,
-0.06764204055070877,
0.13218970596790314,
0.10950688272714615,
0.12203279137611389,
0.6772958040237427,
-0.15270401537418365,
-0.4621536433696747,
-0.21421176195144653,
-0.20224280655384064,
-0.4746072292327881,
0.03289236128330231,
-0.05533358454704285,
-0.25065934658050537,
-0.039166174829006195,
-0.21702516078948975,
-0.03807885944843292,
-0.28423652052879333,
-0.12213361263275146,
0.22814419865608215,
0.12130720913410187,
-0.26990899443626404,
0.20680823922157288,
0.1032637357711792,
-0.3933503329753876,
0.016728278249502182,
0.18085958063602448,
-0.0655297189950943,
0.0007794275879859924,
0.40710359811782837,
-0.2706248164176941,
0.116081103682518,
-0.32576775550842285,
-0.35586071014404297,
-0.16871649026870728,
-0.1680687963962555,
-0.16603152453899384,
0.2611204981803894,
0.16029788553714752,
0.15803027153015137,
0.19333359599113464,
0.1719767153263092,
0.49885255098342896,
-0.23500026762485504,
-0.4987565577030182,
-0.2518713176250458,
-0.13510549068450928,
0.1754581779241562,
0.21912799775600433,
-0.08593914657831192,
0.16496625542640686,
0.15628671646118164,
0.1298532485961914,
-0.40485894680023193,
0.1386999636888504,
-0.15043634176254272,
0.25192561745643616,
0.1166883334517479,
-0.04850265383720398,
-0.1711859107017517,
-0.22367379069328308,
0.2155705839395523,
0.1176934763789177,
-0.14938385784626007,
-0.2913510203361511,
-0.016006581485271454,
0.09399520605802536,
0.14528775215148926,
-0.037582673132419586,
-0.05045276880264282,
0.0037688836455345154,
0.029128672555088997,
0.10102648288011551,
-0.23935629427433014,
-0.302400678396225,
-0.14606979489326477,
0.49353474378585815,
0.21025235950946808,
0.20780593156814575,
0.22024236619472504,
-0.10966791212558746,
-0.3445310890674591,
-0.0015397146344184875,
-0.19078963994979858,
0.1702122688293457,
-0.24728448688983917,
0.084230437874794,
0.020588310435414314,
0.15702638030052185,
-0.30358201265335083,
0.09497977793216705,
0.1642059087753296,
-0.000982861965894699,
-0.026790419593453407,
-0.09095757454633713,
0.41646817326545715,
0.39688482880592346,
-0.11230860650539398,
-0.12335095554590225,
0.48220571875572205,
0.18485434353351593,
-0.4179357886314392,
0.1631564050912857,
0.3268798589706421,
0.028447262942790985,
-0.03083381988108158,
0.14911018311977386,
0.44072452187538147,
-0.291775643825531,
0.5690904259681702,
0.04733499139547348,
0.03254972770810127,
-0.40416961908340454,
0.09989196062088013,
0.3732466995716095,
0.03446356579661369,
-0.05981016531586647,
0.18699772655963898,
-0.28889474272727966,
-0.15830188989639282,
-0.019238755106925964,
-0.07284010201692581,
0.20517493784427643,
-0.007181692868471146,
0.07029855251312256,
-0.32840269804000854,
-0.17738232016563416,
0.2512566149234772,
0.29538244009017944,
-0.07299631834030151,
0.09650668501853943,
0.10646139085292816,
0.6772422790527344,
-0.04997871071100235,
0.14180345833301544,
-0.4684217572212219,
0.29422321915626526,
-0.06468071788549423,
-0.10642766952514648,
-0.39483746886253357,
-0.13528919219970703,
-0.08125185966491699,
-0.12092503905296326,
0.10116642713546753,
0.3441988229751587,
-0.025057226419448853,
0.12096328288316727,
-0.2629545331001282,
-0.08283088356256485,
-0.11592865735292435,
-0.23366421461105347,
0.02632731944322586,
-0.1564425826072693,
0.1778021901845932,
0.19835081696510315,
0.17010292410850525,
0.2885131239891052,
0.2955939769744873,
0.3870115876197815,
0.4384317994117737,
0.2027822881937027,
0.13490822911262512,
-0.06252214312553406,
0.002701548859477043,
-0.010454102419316769,
0.49413415789604187,
0.24535372853279114,
-0.11089834570884705,
0.197017103433609,
0.19112104177474976,
-0.11300375312566757,
0.05638715997338295,
-0.13424740731716156,
-0.15103483200073242,
-0.06951095163822174,
0.7118117213249207,
0.44509977102279663,
-0.041551679372787476,
-0.4051665663719177,
0.16557350754737854,
-0.4523981511592865,
0.05324702337384224,
0.23602363467216492,
0.22263303399085999,
0.24686270952224731,
-0.24879968166351318,
0.13232623040676117,
0.015343870036303997,
0.45441266894340515,
0.21636918187141418,
-0.036460332572460175,
-0.029684122651815414,
-0.37096476554870605,
-0.8026354312896729,
0.21164849400520325,
-0.11214859783649445,
-0.04351683333516121,
-0.22495505213737488,
0.12251164019107819,
-0.02771589905023575,
-0.03397396206855774,
0.27414989471435547,
-0.18306484818458557,
-0.06449472159147263,
-0.1808583289384842,
-0.2908075153827667,
0.2051066905260086,
-0.0866239070892334,
-0.10398785769939423,
-0.0438358411192894,
-0.21099501848220825,
0.06737162917852402,
0.0742708146572113,
0.1716679334640503,
0.2874682545661926,
0.01697036623954773,
-0.05105222016572952,
0.38812342286109924,
0.21494868397712708,
0.11474493145942688,
0.6419299840927124,
-0.04546131566166878,
-0.03691576421260834,
-0.20659014582633972,
0.10054502636194229,
-0.28500089049339294,
0.2781220078468323,
-0.14128361642360687,
0.28616344928741455,
0.11419099569320679,
0.011846963316202164,
-0.10339681804180145,
0.28877460956573486,
-0.19091038405895233,
-0.4520342946052551,
-0.11584710329771042,
0.009578119963407516,
0.10908990353345871,
-0.006496045272797346,
0.06288440525531769,
0.006219144910573959,
0.07897933572530746,
0.21741914749145508,
-0.39077359437942505,
-0.10510412603616714,
0.4525591731071472,
-0.02295488491654396,
-0.11009500920772552,
-0.17491918802261353,
0.4205172061920166,
-0.4089433252811432,
-0.186125710606575,
-0.5869706869125366,
0.06097959727048874,
0.3191279172897339,
0.19505798816680908,
0.0019062794744968414,
0.11933739483356476,
-0.20469340682029724,
0.22494803369045258,
-0.06512928009033203,
0.20756793022155762,
0.012026960030198097,
-0.22984763979911804,
-0.11203013360500336,
-0.024911504238843918
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | Hi :)
I think what's left to do is
1- rebase from master, since we changed the name of the library
2- update the metadata file of the dataset using the command
```
datasets-cli test ./datasets/compguesswhat --save_infos --all_configs --ignore_verifications
```
This command should update the checksum of the dropbox file | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 50 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
Hi :)
I think what's left to do is
1- rebase from master, since we changed the name of the library
2- update the metadata file of the dataset using the command
```
datasets-cli test ./datasets/compguesswhat --save_infos --all_configs --ignore_verifications
```
This command should update the checksum of the dropbox file | [
-0.26598599553108215,
0.4637523889541626,
-0.02960650436580181,
-0.04135144501924515,
-0.061410002410411835,
0.11400871723890305,
0.1865384876728058,
0.5505276918411255,
-0.011404233984649181,
0.03750891238451004,
0.10703007876873016,
0.4094955027103424,
-0.09001379460096359,
0.33272671699523926,
0.11403918266296387,
0.2992675304412842,
0.02541317790746689,
0.23141175508499146,
-0.4606461226940155,
-0.07546442747116089,
-0.029358375817537308,
0.08571280539035797,
-0.0967683494091034,
-0.15625245869159698,
-0.06179454177618027,
-0.2685767412185669,
-0.02352023310959339,
0.4813641607761383,
-0.45156458020210266,
-0.26591265201568604,
0.26408663392066956,
0.4899164140224457,
-0.07648900151252747,
0.2827194631099701,
-0.00010682817810447887,
-0.01352720707654953,
0.3104657530784607,
-0.2901020050048828,
-0.5435589551925659,
-0.3425448536872864,
-0.21153110265731812,
-0.2798301875591278,
-0.13022945821285248,
-0.2779667377471924,
0.0522371381521225,
-0.03048074245452881,
-0.0572112575173378,
0.00621601939201355,
0.1623224914073944,
0.3047279119491577,
0.2355651557445526,
0.37932947278022766,
0.17512615025043488,
-0.11128754913806915,
0.1582026481628418,
0.2066241055727005,
0.12005522102117538,
0.635246217250824,
0.23682522773742676,
0.061671361327171326,
0.20223063230514526,
0.30747634172439575,
-0.10886771976947784,
-0.21712347865104675,
0.07303658127784729,
-0.16705334186553955,
0.11871427297592163,
-0.17612311244010925,
0.13350442051887512,
0.1403772532939911,
0.552975058555603,
-0.4426487684249878,
-0.33954763412475586,
-0.0964471846818924,
-0.06654568761587143,
-0.2768162786960602,
0.14983737468719482,
0.19843392074108124,
0.08298105001449585,
0.037963610142469406,
0.08282918483018875,
-0.05939516797661781,
0.02514006942510605,
-0.048546336591243744,
0.052592843770980835,
0.4078707993030548,
0.09422238171100616,
-0.06258933991193771,
0.2372998148202896,
-0.07810589671134949,
0.21760410070419312,
0.07622034847736359,
-0.41563281416893005,
-0.04010571911931038,
0.011182527989149094,
-0.4566725492477417,
-0.06990658491849899,
0.0036939680576324463,
0.4259181022644043,
0.37793636322021484,
0.011773915961384773,
0.1630176603794098,
-0.19389495253562927,
0.08898210525512695,
0.03329500928521156,
0.2860270142555237,
0.2839677631855011,
-0.011004945263266563,
0.28170618414878845,
0.6185814142227173,
0.006231430917978287,
-0.05300120264291763,
-0.19581736624240875,
0.07727745920419693,
-0.018267318606376648,
0.21681669354438782,
0.44441914558410645,
-0.29226675629615784,
-0.09258166700601578,
0.03208397701382637,
0.13788896799087524,
-0.1993798464536667,
0.1282590925693512,
0.22177177667617798,
-0.12770788371562958,
0.10440271347761154,
0.04317082464694977,
0.08058071881532669,
-0.0470304936170578,
-0.3489759564399719,
-0.1649795025587082,
0.19690455496311188,
-0.023194575682282448,
-0.023784605786204338,
0.198577418923378,
-0.20315279066562653,
0.3433087468147278,
0.01760966330766678,
0.06750336289405823,
-0.08268751204013824,
0.33463454246520996,
0.13559409976005554,
0.04511108249425888,
0.34503069519996643,
-0.165906623005867,
0.042519353330135345,
0.30086326599121094,
-0.4910029172897339,
-0.21627113223075867,
0.1989312469959259,
-0.2898746430873871,
-0.23715969920158386,
-0.3010607361793518,
0.19807565212249756,
-0.12764175236225128,
-0.0851864218711853,
-0.10594389587640762,
-0.029499348253011703,
0.03580017387866974,
-0.31319257616996765,
0.15091851353645325,
-0.025019068270921707,
0.3174769878387451,
-0.19404295086860657,
0.19877928495407104,
0.3548851013183594,
-0.7073054909706116,
0.3496425747871399,
-0.22745759785175323,
-0.060973163694143295,
0.024648815393447876,
-0.08982168138027191,
-0.09814577549695969,
-0.11294165998697281,
-0.1737636774778366,
-0.19332778453826904,
0.20942088961601257,
-0.2772767245769501,
-0.20287294685840607,
-0.19769753515720367,
-0.05459621921181679,
-0.029326273128390312,
0.07825896143913269,
-0.07054978609085083,
0.013948995620012283,
-0.20469121634960175,
-0.3836933374404907,
-0.15845513343811035,
0.04171077907085419,
-0.025109486654400826,
-0.212107852101326,
-0.3117257356643677,
0.40878385305404663,
-0.1350594460964203,
0.11371196806430817,
0.1755915880203247,
0.1847345530986786,
0.27877572178840637,
0.29671230912208557,
-0.11418218910694122,
-0.01545642875134945,
0.11629712581634521,
0.6001235842704773,
-0.11047090590000153,
-0.04920278117060661,
0.04905392974615097,
-0.07096906751394272,
0.2145388424396515,
-0.009810775518417358,
0.23272891342639923,
-0.1044095903635025,
-0.27148693799972534,
-0.22015368938446045,
-0.0705963745713234,
0.10453160107135773,
-0.20061585307121277,
0.2224498987197876,
0.19885718822479248,
0.05715281143784523,
0.008172255009412766,
-0.17105220258235931,
0.1466197371482849,
-0.1869615763425827,
0.15093137323856354,
-0.3175473213195801,
0.1936744749546051,
-0.23218508064746857,
-0.13318488001823425,
0.0767424926161766,
0.012187253683805466,
-0.06389563530683517,
-0.24705350399017334,
-0.23456966876983643,
0.5433142185211182,
0.056643303483724594,
-0.2595515847206116,
0.2671310305595398,
0.1798955351114273,
-0.03532416373491287,
-0.10810474306344986,
0.37315595149993896,
0.1693517416715622,
0.009210911579430103,
0.18842199444770813,
-0.27323731780052185,
0.4557020664215088,
-0.00865214318037033,
-0.29988357424736023,
0.11283335089683533,
-0.07361112534999847,
0.22988057136535645,
-0.17470261454582214,
-0.23607294261455536,
-0.1698974072933197,
-0.27437299489974976,
-0.4131585955619812,
0.4932827353477478,
-0.006516283378005028,
-0.2463495135307312,
0.10649953782558441,
0.42496272921562195,
-0.26279690861701965,
-0.00829043984413147,
-0.012948770076036453,
-0.019327722489833832,
-0.25663504004478455,
0.06017421931028366,
0.3814399838447571,
0.2033182978630066,
0.1593906134366989,
0.045965246856212616,
0.12193547934293747,
0.07943862676620483,
0.007429048418998718,
0.22688037157058716,
-0.1409253031015396,
-0.10812264680862427,
-0.0105380117893219,
0.14635571837425232,
-0.09147854149341583,
-0.2798711955547333,
0.24242830276489258,
0.0578928217291832,
0.32494035363197327,
-0.12576261162757874,
0.031042562797665596,
-0.2337791919708252,
-0.3340359926223755,
-0.02501528710126877,
-0.17437423765659332,
-0.570223867893219,
-0.1355401873588562,
0.024525225162506104,
0.293535053730011,
0.006872791796922684,
0.24810026586055756,
-0.09139902889728546,
0.1990962028503418,
0.098382368683815,
0.030426254495978355,
-0.18968763947486877,
0.04841842129826546,
-0.04556843638420105,
0.09444616734981537,
0.3348618447780609,
0.33101221919059753,
0.35134953260421753,
-0.21968477964401245,
-0.09475281834602356,
-0.3467617928981781,
-0.4548204839229584,
-0.11858692765235901,
-0.1574811339378357,
0.33970123529434204,
0.28960052132606506,
0.27617621421813965,
0.13714148104190826,
-0.2687188982963562,
-0.013973369263112545,
-0.3134291470050812,
-0.18758612871170044,
-0.13681532442569733,
-0.21202179789543152,
-0.09774356335401535,
-0.21132396161556244,
-0.19934067130088806,
-0.40772703289985657,
-0.2099493145942688,
0.014563031494617462,
0.12061905860900879,
0.20795363187789917,
0.5411258935928345,
0.0034924354404211044,
-0.09888790547847748,
0.0015373746864497662,
-0.03903382271528244,
-0.28928783535957336,
-0.7345120906829834,
0.22188825905323029,
-0.08982272446155548,
-0.29685571789741516,
0.17460162937641144,
-0.06344817578792572,
0.19375388324260712,
-0.5152860283851624,
-0.09335428476333618,
-0.4808303117752075,
-0.04637157917022705,
0.2505848705768585,
0.17863067984580994,
-0.04151643067598343,
0.49819889664649963,
0.02366420440375805,
-0.10448409616947174,
-0.2168641984462738,
-0.40757474303245544,
0.009554259479045868,
0.27101296186447144,
0.4822610318660736,
-0.026773251593112946,
0.027743395417928696,
-0.06923038512468338,
0.32998090982437134,
0.10382537543773651,
-0.1957421451807022,
0.2609425187110901,
0.014139705337584019,
0.6330268979072571,
-0.10367829352617264,
-0.37685343623161316,
-0.12953338027000427,
0.03162182867527008,
-0.15137088298797607,
0.1032145768404007,
-0.13184085488319397,
-0.03387705236673355,
-0.10014505684375763,
-0.08513304591178894,
-0.382089763879776,
-0.24046792089939117,
0.010509115643799305,
-0.16551217436790466,
-0.057432182133197784,
0.1198534220457077,
-0.003366127610206604,
-0.3742140233516693,
-0.16033408045768738,
0.042896613478660583,
0.5538153052330017,
-0.025624476373195648,
0.11921130120754242,
-0.2607489824295044,
0.04889696091413498,
-0.08009309321641922,
0.25579404830932617,
-0.08336742222309113,
0.1570611447095871,
0.1347934454679489,
-0.18497708439826965,
-0.11172831058502197,
-0.3180754482746124,
0.19636325538158417,
-0.2810981869697571,
0.12760770320892334,
0.2698442339897156,
0.18568189442157745,
0.2405102401971817,
-0.35748326778411865,
-0.2149256020784378,
-0.01914379559457302,
0.4172327518463135,
0.2808142900466919,
-0.23706945776939392,
-0.24752196669578552,
0.25427332520484924,
0.3130730390548706,
-0.12798239290714264,
0.22988395392894745,
-0.2643829882144928,
-0.4977073073387146,
-0.30716222524642944,
0.13820478320121765,
-0.2804284393787384,
-0.06603481620550156,
-0.2214670479297638,
0.038579147309064865,
0.30687329173088074,
0.03943047672510147,
0.15292201936244965,
0.10629256069660187,
0.41053131222724915,
0.2623582184314728,
0.14422135055065155,
-0.15926244854927063,
0.3145063519477844,
0.5372996926307678,
0.41624730825424194,
0.13691292703151703,
0.28389614820480347,
-0.2677533030509949,
-0.031223714351654053,
0.24152830243110657,
0.22766345739364624,
-0.21275924146175385,
0.17322030663490295,
0.11494860798120499,
0.1376512348651886,
-0.15552449226379395,
0.07708393037319183,
0.15181218087673187,
0.025791995227336884,
-0.3528427481651306,
-0.327943354845047,
0.07881274074316025,
-0.0980437695980072,
-0.16717451810836792,
0.1496494561433792,
-0.28830206394195557,
-0.09037284553050995,
0.1480293869972229,
0.17633064091205597,
0.9055652618408203,
-0.03346036374568939,
0.018097277730703354,
0.006629234179854393,
-0.033612411469221115,
0.3615332543849945,
-0.12564867734909058,
-0.03750680759549141,
-0.5444272756576538,
-0.6214642524719238,
-0.03113112971186638,
-0.05977350100874901,
0.303338885307312,
-0.2071305364370346,
-0.38418060541152954,
0.21539944410324097,
-0.11517269909381866,
-0.05815097317099571,
0.09329604357481003,
0.2937241196632385,
-0.25395527482032776,
0.07102464884519577,
0.26229894161224365,
0.27091556787490845,
-0.09576046466827393,
0.0012443214654922485,
0.01010560616850853,
-0.1667810082435608,
-0.13003908097743988,
-0.41710078716278076,
-0.2563960552215576,
0.05773655325174332,
-0.1273859292268753,
-0.12557952105998993,
0.05687318742275238,
-0.07178227603435516,
-0.1709463894367218,
-0.24294927716255188,
0.2593589127063751,
0.5889886617660522,
0.0406351238489151,
0.13341589272022247,
-0.11287874728441238,
0.09429849684238434,
0.004494519904255867,
0.16677749156951904,
0.463115930557251,
-0.0022507905960083008,
-0.2538861334323883,
-0.2574758231639862,
-0.11568158119916916,
-0.22440294921398163,
-0.03616873919963837,
-0.31163662672042847,
-0.26223480701446533,
-0.17801254987716675,
-0.06618202477693558,
-0.0034342631697654724,
-0.0643940195441246,
-0.31167206168174744,
0.20981700718402863,
0.027863677591085434,
-0.2906700670719147,
0.10844887048006058,
-0.05330229178071022,
-0.23753629624843597,
-0.028997138142585754,
0.3215750753879547,
-0.04243319481611252,
0.14073412120342255,
0.22305826842784882,
-0.08320317417383194,
0.16161538660526276,
-0.3344425559043884,
0.09460275620222092,
-0.09127599745988846,
-0.026341687887907028,
0.1951296031475067,
-0.04209989681839943,
-0.00548844039440155,
0.0022732247598469257,
0.40915799140930176,
0.4609676003456116,
0.38784047961235046,
-0.14806945621967316,
-0.3264026343822479,
-0.5087441802024841,
0.10280970484018326,
0.3098979592323303,
0.256115585565567,
-0.23442959785461426,
0.054797351360321045,
-0.026369474828243256,
0.11832304298877716,
-0.4258006513118744,
0.13595916330814362,
-0.20081967115402222,
0.06745961308479309,
0.21432797610759735,
-0.04072580486536026,
0.14536240696907043,
-0.3004823625087738,
0.19179394841194153,
-0.22720609605312347,
-0.10075762122869492,
-0.23572856187820435,
-0.10661695897579193,
0.11645089089870453,
0.012043601833283901,
-0.04042491316795349,
0.2777304947376251,
-0.1062096655368805,
-0.11962972581386566,
-0.00031701475381851196,
-0.10872142016887665,
-0.23032617568969727,
-0.05917099118232727,
0.3176656663417816,
0.04783139377832413,
0.10201272368431091,
-0.02531035616993904,
-0.15737132728099823,
0.04419718310236931,
0.08292461931705475,
-0.1839286834001541,
0.2976929247379303,
-0.14991028606891632,
-0.1635304093360901,
0.06895526498556137,
0.1539260745048523,
-0.20827455818653107,
0.20793607831001282,
0.21836093068122864,
-0.06164885312318802,
-0.18627895414829254,
0.1793770045042038,
0.5880388021469116,
0.3189132809638977,
0.04766785353422165,
0.04716520011425018,
0.45530539751052856,
0.19668197631835938,
-0.4153296649456024,
0.04924694448709488,
0.07808265835046768,
-0.011318930424749851,
-0.011503856629133224,
0.09930513054132462,
0.37555697560310364,
-0.06864739209413528,
0.04960285499691963,
0.061468079686164856,
0.5785191655158997,
0.1811143308877945,
0.2237929105758667,
0.4734387695789337,
-0.3464830219745636,
-0.1390964835882187,
0.1856880933046341,
-0.05486665293574333,
0.01596803218126297,
0.1308692991733551,
-0.06223834306001663,
0.3636353313922882,
0.07419221848249435,
-0.014745820313692093,
-0.2287631332874298,
-0.1827106922864914,
0.5164176821708679,
0.14650379121303558,
0.26795727014541626,
0.01997426152229309,
0.09946408867835999,
0.4150058925151825,
-0.18831074237823486,
-0.20842930674552917,
-0.1989397406578064,
0.27415305376052856,
-0.09720278531312943,
0.02028651535511017,
-0.32010921835899353,
-0.2757306694984436,
-0.1290206015110016,
-0.029415441676974297,
0.11338552832603455,
0.09566394239664078,
0.24689841270446777,
0.02536330744624138,
-0.20344989001750946,
-0.1691005378961563,
-0.2472342848777771,
-0.05895887315273285,
-0.09580015391111374,
-0.21834394335746765,
0.2846430242061615,
0.4914833903312683,
0.0018323436379432678,
0.07920961081981659,
0.27527928352355957,
0.4752427935600281,
0.1970815509557724,
0.14398610591888428,
0.24893654882907867,
-0.10352733731269836,
-0.14904646575450897,
-0.019469300284981728,
0.1595141887664795,
0.17573662102222443,
-0.014401596039533615,
0.08844570815563202,
0.24196240305900574,
-0.1826113909482956,
0.15539000928401947,
-0.18043608963489532,
-0.33041080832481384,
0.031311795115470886,
0.20216040313243866,
0.4599185883998871,
-0.10862980782985687,
-0.3650740385055542,
-0.06310839205980301,
-0.25581640005111694,
0.07838135957717896,
0.38553833961486816,
0.2616528272628784,
0.10365378111600876,
-0.14433914422988892,
0.15084372460842133,
0.14149416983127594,
0.3980402648448944,
0.21563935279846191,
-0.02011079341173172,
0.04649033397436142,
-0.3522491455078125,
-0.6846311092376709,
0.11046168953180313,
-0.06712906062602997,
-0.10097537934780121,
-0.10673750191926956,
-0.14010517299175262,
0.2762942910194397,
-0.06999465078115463,
0.33381086587905884,
0.0636427253484726,
-0.019122257828712463,
-0.12093387544155121,
-0.2946854829788208,
0.09077732264995575,
-0.04637519270181656,
-0.0069230590015649796,
-0.023573821410536766,
-0.15855439007282257,
-0.06530724465847015,
0.06558271497488022,
0.10196366161108017,
0.05722619965672493,
0.155557781457901,
0.06678567826747894,
-0.10209955275058746,
0.3154694736003876,
0.0663786381483078,
0.6116795539855957,
-0.22387132048606873,
-0.1381724625825882,
-0.10098439455032349,
0.0974932387471199,
-0.44353827834129333,
0.3159075975418091,
0.16851162910461426,
0.4667455554008484,
0.1745510846376419,
-0.2775633931159973,
-0.42755869030952454,
0.4401303827762604,
0.027280151844024658,
-0.21965961158275604,
-0.48540499806404114,
0.15643419325351715,
0.03422050178050995,
-0.2230817675590515,
0.2309701293706894,
0.07194911688566208,
-0.09296362102031708,
0.21769477427005768,
-0.4050806164741516,
-0.2510963976383209,
0.5653220415115356,
-0.015414274297654629,
-0.23778454959392548,
-0.3213370144367218,
0.2753811478614807,
-0.39284923672676086,
-0.1404343545436859,
-0.1952061951160431,
0.1879447102546692,
0.20426277816295624,
-0.01515461876988411,
-0.21449415385723114,
0.2466399073600769,
-0.027584783732891083,
0.23421011865139008,
0.008818946778774261,
0.381892591714859,
0.22885751724243164,
-0.2821023464202881,
-0.1607934534549713,
-0.11580201983451843
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | @lhoestq not sure why the quality check doesn't pass. Unfortunately CircleCI doesn't show the actual error. If I run `black` on my machine it works just fine. Ideas? | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 28 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
@lhoestq not sure why the quality check doesn't pass. Unfortunately CircleCI doesn't show the actual error. If I run `black` on my machine it works just fine. Ideas? | [
-0.29655107855796814,
-0.2557695209980011,
-0.04317817836999893,
0.03505811467766762,
-0.041201114654541016,
-0.08335749059915543,
0.4333351254463196,
0.34905245900154114,
-0.23567554354667664,
0.23033447563648224,
0.44309213757514954,
-0.00026959064416587353,
0.12281772494316101,
0.3076880872249603,
-0.2520858943462372,
0.19354471564292908,
0.11478964239358902,
0.16296283900737762,
0.07787363231182098,
0.011598579585552216,
-0.3230127692222595,
0.24660047888755798,
-0.28097403049468994,
-0.06098020076751709,
-0.37171152234077454,
-0.05794622749090195,
-0.02008647471666336,
0.1309967339038849,
-0.3761846721172333,
-0.2490120381116867,
0.08441238850355148,
0.2684463560581207,
-0.43884560465812683,
0.4029143750667572,
-0.00011824237299151719,
-0.15234160423278809,
0.5751057267189026,
-0.06322275847196579,
-0.1568848341703415,
-0.14407171308994293,
0.258928120136261,
-0.11965452134609222,
-0.19326895475387573,
-0.08481552451848984,
-0.07832229882478714,
0.32881492376327515,
-0.24386481940746307,
-0.020167112350463867,
0.29091721773147583,
0.31341323256492615,
0.1319468915462494,
0.392419695854187,
0.15280930697917938,
-0.04119773954153061,
-0.17611756920814514,
0.2224556803703308,
-0.08033771067857742,
0.2144097536802292,
0.2269039750099182,
0.2624426484107971,
0.4309353828430176,
0.35534027218818665,
-0.13405819237232208,
0.08131140470504761,
-0.045005932450294495,
-0.19720089435577393,
0.2641598880290985,
-0.0583827868103981,
0.21362406015396118,
0.23903071880340576,
0.2652857005596161,
-0.2019016444683075,
-0.3060998022556305,
0.27762511372566223,
-0.11180214583873749,
-0.5714256167411804,
0.37331417202949524,
0.15830156207084656,
-0.36534857749938965,
0.14614246785640717,
-0.2348630279302597,
0.11436330527067184,
-0.27599188685417175,
-0.18691663444042206,
0.035680241882801056,
0.1872197985649109,
0.07294481992721558,
0.1578167825937271,
-0.045819636434316635,
0.19341227412223816,
0.12519793212413788,
0.1907898187637329,
-0.29038676619529724,
0.13729223608970642,
-0.17753055691719055,
-0.279835045337677,
0.1152019128203392,
0.20523101091384888,
0.2384612262248993,
0.20708365738391876,
-0.21341124176979065,
0.16150152683258057,
0.366198867559433,
0.3639537990093231,
-0.016190532594919205,
-0.10574810206890106,
0.02837473526597023,
0.18370650708675385,
0.2385479211807251,
0.024955149739980698,
0.07388283312320709,
-0.05776212364435196,
0.1544865220785141,
-0.29269877076148987,
0.27875280380249023,
0.25108131766319275,
0.41748344898223877,
-0.5074071288108826,
-0.5477448105812073,
0.11253223568201065,
-0.01196461170911789,
-0.22383864223957062,
0.07354199141263962,
0.48551636934280396,
-0.05337071418762207,
-0.017267510294914246,
0.15214000642299652,
0.42339926958084106,
-0.06862976402044296,
-0.1456698477268219,
-0.13960488140583038,
-0.0895775705575943,
0.05457166209816933,
0.02148166298866272,
0.2474588304758072,
0.20806384086608887,
0.061385348439216614,
0.07122999429702759,
0.014391958713531494,
-0.329341322183609,
0.3633743226528168,
-0.16251535713672638,
0.4638617932796478,
0.5379759073257446,
-0.26366376876831055,
-0.014261306263506413,
0.3409823477268219,
0.0817641168832779,
-0.01156560331583023,
0.3624226450920105,
-0.2574216425418854,
-0.09383576363325119,
-0.14345012605190277,
0.11119646579027176,
0.04665154218673706,
-0.048988066613674164,
0.31595930457115173,
-0.12232545018196106,
0.2337365448474884,
-0.41049855947494507,
0.04169544577598572,
0.0320986807346344,
-0.16635572910308838,
-0.13901259005069733,
0.10664626210927963,
0.38518041372299194,
-0.6405038833618164,
0.04771990329027176,
-0.13789112865924835,
0.038191743195056915,
0.4167521297931671,
0.36555057764053345,
0.13509267568588257,
-0.2346358597278595,
-0.26159533858299255,
-0.29671794176101685,
0.19700483977794647,
-0.14652496576309204,
-0.06121321767568588,
0.1362258642911911,
-0.07045112550258636,
-0.0991995558142662,
0.24501067399978638,
-0.12017908692359924,
-0.2590324878692627,
-0.179982528090477,
-0.18465888500213623,
-0.274588406085968,
-0.1579846888780594,
-0.20447960495948792,
-0.3222774863243103,
0.18371953070163727,
0.752643346786499,
-0.32892337441444397,
0.09536226093769073,
0.09735570847988129,
-0.1272379457950592,
-0.6141723990440369,
0.31401222944259644,
0.0041857510805130005,
-0.24607737362384796,
-0.17587712407112122,
0.6832063794136047,
-0.26240110397338867,
0.12300404906272888,
0.29367074370384216,
0.3193144202232361,
0.12799900770187378,
-0.4766485393047333,
0.28095752000808716,
-0.16942177712917328,
-0.18424773216247559,
-0.3765466511249542,
0.061468347907066345,
-0.04525383934378624,
-0.17731425166130066,
0.05270218104124069,
0.23339836299419403,
-0.008303625509142876,
0.07102251052856445,
-0.15664266049861908,
0.25902047753334045,
-0.2897223234176636,
-0.05038855969905853,
0.2393828183412552,
-0.1098063737154007,
-0.3035944700241089,
-0.20478497445583344,
-0.21820464730262756,
0.03198425471782684,
0.21590423583984375,
0.07530514895915985,
-0.23405441641807556,
0.3933236598968506,
0.07110316306352615,
-0.2853841781616211,
-0.20647728443145752,
-0.11422331631183624,
0.12764392793178558,
-0.42212381958961487,
-0.03274393081665039,
0.38990700244903564,
0.09924482554197311,
-0.03699081763625145,
-0.08095517009496689,
0.3455583453178406,
0.1610395461320877,
0.018693633377552032,
-0.14067292213439941,
-0.09388818591833115,
0.2928234338760376,
0.10767979919910431,
0.004763627424836159,
-0.041594646871089935,
0.13944344222545624,
-0.013565611094236374,
0.2504373788833618,
-0.1222883015871048,
-0.14117726683616638,
0.08857063949108124,
0.2820878028869629,
-0.09518629312515259,
0.04730537161231041,
-0.0782986655831337,
0.49762222170829773,
-0.25683656334877014,
0.21216259896755219,
0.09393134713172913,
0.13922515511512756,
0.08012065291404724,
-0.3234008848667145,
0.2352125495672226,
-0.37423452734947205,
-0.09359931200742722,
0.07992252707481384,
-0.08086130023002625,
-0.2271871566772461,
0.2681190073490143,
-0.3221953511238098,
0.03772459551692009,
-0.2761327624320984,
0.07680460810661316,
0.08125700801610947,
0.1669071614742279,
-0.42103371024131775,
0.026819327846169472,
0.028121354058384895,
0.07800263911485672,
0.019336622208356857,
0.30038130283355713,
-0.4305931627750397,
-0.2002381980419159,
0.19216175377368927,
0.06265965104103088,
-0.062458284199237823,
0.22649748623371124,
-0.03838682919740677,
0.29597845673561096,
0.03842930495738983,
-0.2590102553367615,
-0.2973583936691284,
-0.22523930668830872,
-0.048427924513816833,
0.03480648621916771,
0.10939230024814606,
0.28199338912963867,
0.37314486503601074,
-0.47051429748535156,
0.26405131816864014,
0.17800594866275787,
-0.3738056421279907,
-0.11924950778484344,
-0.25314027070999146,
0.3388108015060425,
0.05807067081332207,
0.23396140336990356,
-0.16737981140613556,
0.06919651478528976,
0.29238566756248474,
-0.5047986507415771,
-0.2715771794319153,
0.25617557764053345,
-0.1247488483786583,
-0.2539392411708832,
-0.26767945289611816,
-0.16439256072044373,
-0.2511191666126251,
-0.16070733964443207,
-0.2447509616613388,
-0.02367093414068222,
0.09965655952692032,
0.3701142966747284,
0.2810952365398407,
0.01952526718378067,
0.405636191368103,
0.24880340695381165,
-0.35833847522735596,
-0.603175163269043,
0.09181907773017883,
-0.023797282949090004,
-0.2395821362733841,
0.199654221534729,
0.2977961301803589,
0.3984474241733551,
-0.2274044007062912,
-0.149357408285141,
-0.065503790974617,
0.03249610215425491,
0.24716857075691223,
0.2371847927570343,
-0.08173590153455734,
0.6047425270080566,
-0.07375693321228027,
-0.0712491050362587,
-0.3245318531990051,
-0.2686448097229004,
-0.045062847435474396,
-0.1523764431476593,
0.3949773907661438,
-0.08072718232870102,
0.47502031922340393,
-0.15370646119117737,
0.31078994274139404,
0.049511779099702835,
0.03532322123646736,
0.39582470059394836,
0.08141928911209106,
0.7701734304428101,
-0.28224876523017883,
-0.27987200021743774,
0.03554879501461983,
0.12047415226697922,
-0.34284037351608276,
-0.1216764748096466,
-0.10806472599506378,
-0.2578132748603821,
-0.3231440484523773,
0.12454995512962341,
-0.4095500707626343,
-0.08410489559173584,
-0.10886934399604797,
0.024577029049396515,
0.17301911115646362,
0.0451543889939785,
0.28280118107795715,
-0.06885819137096405,
-0.027281349524855614,
0.15232905745506287,
0.303927481174469,
0.3322809636592865,
-0.1070987656712532,
-0.3180946409702301,
-0.2940084636211395,
-0.18131577968597412,
0.3238597512245178,
0.18709176778793335,
0.5003207325935364,
-0.33959469199180603,
-0.21607357263565063,
0.012435995042324066,
-0.17365851998329163,
0.25204914808273315,
-0.5142806172370911,
0.11200063675642014,
0.5130740404129028,
0.312391996383667,
0.03744091838598251,
-0.16942499577999115,
-0.18786439299583435,
-0.12083358317613602,
-0.0018777959048748016,
0.1475469470024109,
-0.2161412090063095,
-0.016234537586569786,
0.1313595175743103,
0.42723652720451355,
-0.17874930799007416,
0.04971325397491455,
-0.7098395824432373,
-0.31954219937324524,
-0.33449292182922363,
0.27721038460731506,
0.19136489927768707,
0.24247893691062927,
-0.29783952236175537,
0.12096551060676575,
0.18480660021305084,
-0.12888401746749878,
0.07970408350229263,
0.297788143157959,
0.3364170491695404,
-0.22096464037895203,
-0.12970729172229767,
-0.06876011937856674,
0.002575937658548355,
-0.13383685052394867,
0.4537162184715271,
0.006499664857983589,
0.035339709371328354,
-0.08337100595235825,
-0.15052944421768188,
0.30025872588157654,
0.19261257350444794,
-0.11805156618356705,
-0.20441654324531555,
0.03675272688269615,
-0.06413862109184265,
-0.14482179284095764,
0.010640043765306473,
0.14289137721061707,
0.07980652153491974,
-0.3849858045578003,
0.021346302703022957,
-0.05146598070859909,
0.05919761583209038,
-0.0707329660654068,
0.35567769408226013,
0.0719391256570816,
0.16855241358280182,
0.18301799893379211,
0.2933878004550934,
0.9959110021591187,
-0.09013743698596954,
-0.20754599571228027,
-0.09557528793811798,
-0.08152227848768234,
-0.14267796277999878,
0.1631098836660385,
-0.006103292107582092,
-0.39039531350135803,
-0.13242973387241364,
-0.015457365661859512,
-0.035636577755212784,
0.41888535022735596,
-0.18017517030239105,
-0.5411073565483093,
-0.025119690224528313,
-0.20827215909957886,
-0.08726160228252411,
0.19853225350379944,
-0.026314115151762962,
-0.2034587860107422,
0.34003713726997375,
0.26855722069740295,
0.18859338760375977,
0.26552414894104004,
0.181177020072937,
-0.21019136905670166,
0.1293744444847107,
-0.007307395339012146,
-0.6181083917617798,
-0.42393767833709717,
-0.08246813714504242,
-0.2725740671157837,
-0.08857479691505432,
0.10976284742355347,
-0.36221224069595337,
-0.21904805302619934,
-0.2823812961578369,
0.46456384658813477,
0.498066782951355,
-0.1450677067041397,
0.12331978976726532,
-0.013173066079616547,
0.08739028871059418,
0.16202618181705475,
0.15140196681022644,
0.2434653341770172,
-0.11250630021095276,
-0.499204158782959,
0.21614664793014526,
-0.20264120399951935,
-0.5132812857627869,
-0.07440409809350967,
-0.15612906217575073,
-0.13640044629573822,
-0.1296870857477188,
0.10507053136825562,
-0.30067014694213867,
-0.01860850304365158,
-0.300582617521286,
0.11967410147190094,
0.2661847174167633,
-0.32651904225349426,
0.23528233170509338,
-0.07821090519428253,
-0.38376694917678833,
-0.11337743699550629,
0.0039956048130989075,
-0.19745153188705444,
-0.00286899134516716,
0.19936862587928772,
-0.08659116923809052,
0.09386228024959564,
-0.30446046590805054,
0.02981778234243393,
0.023993652313947678,
-0.42627546191215515,
0.20867666602134705,
0.1707671582698822,
-0.182553231716156,
-0.01682543009519577,
0.562738835811615,
0.0854528397321701,
0.4062574803829193,
-0.059812527149915695,
-0.3326151371002197,
-0.4776613116264343,
-0.10327860713005066,
0.2686590254306793,
0.3037010431289673,
0.015927370637655258,
0.05426895245909691,
0.28120115399360657,
-0.11962218582630157,
-0.3000894784927368,
-0.29973921179771423,
-0.12459413707256317,
-0.025606684386730194,
-0.13949771225452423,
-0.005857054144144058,
0.114808589220047,
0.0008816411718726158,
0.10505758225917816,
0.03831614553928375,
-0.021055497229099274,
-0.1371767371892929,
-0.025675851851701736,
0.14826194941997528,
0.08551296591758728,
-0.16507382690906525,
-0.0022627608850598335,
0.07683415710926056,
-0.04639936611056328,
0.1637597233057022,
-0.010759617201983929,
-0.17361965775489807,
-0.2501862049102783,
0.21530267596244812,
-0.1700340062379837,
0.1625135987997055,
-0.21512657403945923,
-0.28882861137390137,
0.027725327759981155,
0.2272362858057022,
-0.17599403858184814,
-0.05342750996351242,
0.1788826435804367,
-0.05431782826781273,
0.18773457407951355,
0.14513012766838074,
-0.10486122965812683,
0.012707246467471123,
0.08827778697013855,
-0.21426840126514435,
0.16793349385261536,
-0.2155979424715042,
0.4317137897014618,
0.34644076228141785,
0.10096687823534012,
0.01883087120950222,
0.4264732301235199,
0.18660296499729156,
-0.34873348474502563,
0.2114708572626114,
-0.2210475206375122,
0.12503263354301453,
0.05624126270413399,
0.21729342639446259,
0.10462087392807007,
-0.2350654900074005,
0.45596152544021606,
0.08844304829835892,
0.39353668689727783,
-0.3560571074485779,
-0.04633418470621109,
0.371835321187973,
-0.2841671407222748,
0.20910407602787018,
0.20381449162960052,
-0.08959808945655823,
-0.17443278431892395,
-0.16781197488307953,
-0.021687641739845276,
0.15195512771606445,
-0.15896883606910706,
0.12253677845001221,
-0.3069000244140625,
-0.05758967995643616,
0.2862691581249237,
-0.19858410954475403,
-0.061551809310913086,
0.1461333930492401,
0.10988368093967438,
-0.015632987022399902,
-0.4115235209465027,
-0.3610425889492035,
-0.3108457326889038,
-0.05022676661610603,
-0.2187858521938324,
-0.05719192326068878,
-0.3776254951953888,
-0.053397346287965775,
-0.15975350141525269,
-0.1806311160326004,
0.3556150496006012,
0.34511101245880127,
0.07393558323383331,
-0.0009637102484703064,
-0.22151054441928864,
-0.10312942415475845,
-0.3816300928592682,
-0.14756366610527039,
0.21341422200202942,
-0.15943552553653717,
0.2789466381072998,
0.34358277916908264,
0.033459581434726715,
0.30504515767097473,
0.28106915950775146,
0.6863226294517517,
0.2962503135204315,
-0.06220255419611931,
0.0616314560174942,
-0.6115821003913879,
-0.03657744079828262,
-0.08111505210399628,
0.6259750127792358,
0.18740129470825195,
-0.2490520030260086,
0.13152766227722168,
0.07116261124610901,
-0.09071336686611176,
0.5266645550727844,
-0.012037981301546097,
0.20426011085510254,
-0.11410970985889435,
0.3984687030315399,
-0.13845232129096985,
-0.22876662015914917,
-0.5676124095916748,
0.062307294458150864,
-0.178348571062088,
0.079523965716362,
0.17656871676445007,
-0.10852113366127014,
-0.12129566073417664,
-0.2651148736476898,
0.08470509201288223,
0.08580474555492401,
0.47522494196891785,
0.49770212173461914,
0.3729831576347351,
-0.22181126475334167,
0.011969968676567078,
-0.4785277843475342,
0.1728385090827942,
-0.057526182383298874,
0.182797372341156,
-0.09102677553892136,
0.06450783461332321,
-0.04894482344388962,
0.2478179931640625,
0.5075327754020691,
0.06823951005935669,
0.04680262506008148,
-0.027323514223098755,
-0.1251741498708725,
0.2561325430870056,
0.08281538635492325,
-0.1441534161567688,
0.03900434821844101,
-0.316928505897522,
0.143539160490036,
-0.2340998500585556,
0.09065841883420944,
0.022675976157188416,
-0.30618613958358765,
0.11576513946056366,
0.2484767585992813,
0.34251588582992554,
0.39685899019241333,
0.7026444673538208,
0.014800183475017548,
-0.030126072466373444,
-0.15311479568481445,
0.023292994126677513,
-0.17982986569404602,
0.23841172456741333,
0.4120820462703705,
0.3781774938106537,
0.2611493468284607,
-0.16655535995960236,
0.012138256803154945,
0.5559225678443909,
0.02293800562620163,
-0.2979407012462616,
-0.11740220338106155,
0.2840491235256195,
-0.14338195323944092,
-0.17133580148220062,
-0.13073046505451202,
-0.20589160919189453,
0.1288101226091385,
0.30565521121025085,
-0.377876877784729,
-0.21519768238067627,
0.5306078195571899,
-0.04461812227964401,
-0.19739346206188202,
-0.4534831941127777,
0.29886847734451294,
-0.223137766122818,
0.04750198870897293,
-0.47326409816741943,
-0.0731075257062912,
0.054431404918432236,
0.3738558292388916,
-0.11135482788085938,
0.3388536274433136,
0.031157391145825386,
0.06336809694766998,
0.0856250524520874,
0.6607106924057007,
-0.0731566920876503,
0.07410074770450592,
0.06715385615825653,
-0.005051020532846451
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | Your version of `black` might be outdated, or you run using `black` instead of `make style` since it reformatted 100+ files.
Could you try to update black, then `make style` ? | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 31 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
Your version of `black` might be outdated, or you run using `black` instead of `make style` since it reformatted 100+ files.
Could you try to update black, then `make style` ? | [
-0.3699222505092621,
-0.1365184485912323,
-0.11551786959171295,
-0.07412461936473846,
0.2663409113883972,
0.03952103108167648,
0.31885194778442383,
0.5691656470298767,
-0.1337118297815323,
0.2727118134498596,
0.26283207535743713,
0.23464617133140564,
0.07963746041059494,
0.1275338977575302,
-0.016405679285526276,
0.23241981863975525,
-0.0005100667476654053,
0.43181708455085754,
-0.1974126398563385,
-0.08510929346084595,
-0.2719298303127289,
0.14939026534557343,
-0.025918398052453995,
0.20194250345230103,
-0.336921364068985,
-0.02115206979215145,
-0.04366442188620567,
0.4048331081867218,
-0.2730948030948639,
-0.33327898383140564,
0.08569169789552689,
0.17394202947616577,
-0.3164959251880646,
0.331728994846344,
-0.00009350944310426712,
-0.25014322996139526,
0.4035109877586365,
-0.05414062738418579,
-0.304638534784317,
-0.1295842081308365,
0.0604291707277298,
-0.2775768041610718,
0.027093559503555298,
-0.06309442222118378,
-0.1897813379764557,
-0.2888908386230469,
-0.010226821526885033,
0.048918865621089935,
0.26699793338775635,
0.10307599604129791,
0.39122530817985535,
0.14936701953411102,
0.07720476388931274,
-0.3029545545578003,
0.2988836169242859,
0.0975867286324501,
-0.11959764361381531,
0.1919727921485901,
0.3840159475803375,
-0.12081421911716461,
0.2474372386932373,
0.45933258533477783,
-0.0747273862361908,
0.07336923480033875,
0.15580357611179352,
-0.09640069305896759,
0.3140753507614136,
-0.138098806142807,
0.10983921587467194,
0.24922096729278564,
0.2829674482345581,
-0.16549637913703918,
-0.08241217583417892,
-0.035389237105846405,
-0.04107184708118439,
-0.4782349467277527,
-0.08057015389204025,
0.233990877866745,
-0.1728575974702835,
0.05680648237466812,
-0.014497329480946064,
0.0744873583316803,
-0.005869179964065552,
-0.016553625464439392,
0.2116253674030304,
0.19481052458286285,
-0.11065681278705597,
0.030522651970386505,
0.15387476980686188,
-0.09452436864376068,
-0.05135929584503174,
0.11415226012468338,
-0.44034406542778015,
0.042669545859098434,
-0.03288707509636879,
-0.009891025722026825,
0.2667577564716339,
-0.07243166118860245,
0.26408058404922485,
0.015142437070608139,
0.10899604856967926,
0.20599618554115295,
0.17702716588974,
0.2450680136680603,
-0.02106528729200363,
-0.04744163155555725,
0.04909602925181389,
0.07313373684883118,
0.22592417895793915,
0.012865709140896797,
0.06017294153571129,
-0.15705013275146484,
0.03298409283161163,
-0.37504634261131287,
0.28204840421676636,
0.2642032206058502,
0.38433098793029785,
-0.2868780493736267,
-0.3253614008426666,
-0.07814774662256241,
0.154328852891922,
0.0298002902418375,
-0.21740931272506714,
0.290754109621048,
0.04591960087418556,
-0.22359764575958252,
0.24053652584552765,
0.2923175096511841,
-0.1758561134338379,
-0.03228643909096718,
-0.3655999004840851,
-0.07779404520988464,
-0.17728866636753082,
-0.041150860488414764,
0.08648239076137543,
0.031200308352708817,
0.10723559558391571,
0.2647896707057953,
-0.14135068655014038,
-0.16094496846199036,
0.3772827088832855,
0.08496962487697601,
0.0787905603647232,
0.26756107807159424,
-0.28511664271354675,
0.12962323427200317,
0.3237006962299347,
-0.0415797233581543,
-0.03072909265756607,
0.19817692041397095,
-0.25516456365585327,
-0.33879441022872925,
-0.20350883901119232,
0.3663003146648407,
0.17754623293876648,
0.18029582500457764,
0.04698299989104271,
0.0790657103061676,
0.10998818278312683,
-0.2037910521030426,
-0.027278177440166473,
-0.22774268686771393,
-0.009949613362550735,
-0.27908697724342346,
0.13353554904460907,
0.508247971534729,
-0.501862108707428,
0.02761242538690567,
0.08014287799596786,
-0.17814329266548157,
0.2162848562002182,
0.17394720017910004,
-0.10460668802261353,
-0.24162578582763672,
-0.24107274413108826,
-0.13408224284648895,
0.25283682346343994,
-0.020298955962061882,
0.009212364442646503,
0.06321283429861069,
-0.18147847056388855,
-0.25921955704689026,
0.20821475982666016,
-0.07600627094507217,
-0.23511263728141785,
-0.0069747245870530605,
-0.17240846157073975,
-0.06884783506393433,
-0.06864481419324875,
0.07615064084529877,
-0.2395821511745453,
-0.18236075341701508,
0.32547348737716675,
-0.04592046141624451,
-0.07560507953166962,
-0.06114991754293442,
0.035049550235271454,
-0.3483527898788452,
0.4807594418525696,
-0.2982752025127411,
-0.03145086020231247,
0.07510155439376831,
0.4498906135559082,
0.0645170584321022,
0.025858135893940926,
0.02199552208185196,
0.095187246799469,
0.06129811704158783,
-0.17493247985839844,
0.2919987440109253,
-0.13595254719257355,
-0.23264184594154358,
-0.24434629082679749,
-0.17563576996326447,
-0.11821731925010681,
-0.2541182339191437,
0.30902090668678284,
0.11114992946386337,
-0.07442967593669891,
-0.06596866250038147,
0.08516106009483337,
0.20047777891159058,
-0.10778190940618515,
0.05229353904724121,
-0.18017679452896118,
0.0005953367799520493,
-0.1837032437324524,
-0.2855842113494873,
0.12460565567016602,
0.06746722757816315,
0.214613139629364,
-0.15171848237514496,
-0.26037904620170593,
0.34463125467300415,
0.055174894630908966,
0.07045063376426697,
-0.05302269011735916,
-0.04283061623573303,
-0.04699188470840454,
-0.10632020980119705,
0.16932672262191772,
0.21980562806129456,
0.05057884007692337,
-0.13191263377666473,
0.03651847690343857,
0.2472102791070938,
0.07975859940052032,
-0.1321147382259369,
-0.09397098422050476,
-0.07181152701377869,
0.2678956091403961,
-0.0010664351284503937,
0.0643884539604187,
-0.23420748114585876,
-0.10156714916229248,
0.12914088368415833,
0.12513762712478638,
-0.11447569727897644,
-0.1806117445230484,
0.1879616528749466,
0.3101768493652344,
-0.04058295860886574,
0.17691989243030548,
-0.04771536588668823,
-0.08611219376325607,
-0.22884178161621094,
0.014323966577649117,
0.1048925518989563,
0.21747633814811707,
0.2528570294380188,
-0.26801976561546326,
0.1657274067401886,
-0.07098285108804703,
-0.22986173629760742,
0.17783865332603455,
0.036907296627759933,
0.11091086268424988,
-0.017580799758434296,
-0.043367113918066025,
-0.1574813276529312,
-0.3964502811431885,
0.05852252617478371,
-0.09762732684612274,
0.2006051391363144,
-0.15348832309246063,
0.05800864100456238,
-0.23063087463378906,
-0.12928789854049683,
-0.07962911576032639,
-0.0006318334490060806,
-0.24087560176849365,
-0.10061090439558029,
0.1817731410264969,
0.08652026206254959,
-0.3219350278377533,
0.2719481587409973,
0.06956595182418823,
0.14505639672279358,
0.15638631582260132,
0.27588847279548645,
-0.25867199897766113,
-0.2740691602230072,
-0.06314884126186371,
0.22288799285888672,
-0.14033684134483337,
0.37162891030311584,
0.38740935921669006,
-0.4050637483596802,
0.18514667451381683,
-0.19539205729961395,
-0.31879955530166626,
-0.06301933526992798,
-0.24910394847393036,
0.2427251935005188,
0.29015153646469116,
0.1723877638578415,
-0.0036651194095611572,
-0.14795421063899994,
0.35389769077301025,
-0.5038102865219116,
-0.11222375929355621,
0.04012778401374817,
-0.1556759476661682,
-0.21239864826202393,
-0.2795306146144867,
-0.2061029076576233,
-0.35757407546043396,
-0.38085708022117615,
0.05373756214976311,
0.2498280555009842,
0.15565870702266693,
0.335554838180542,
0.3549158573150635,
-0.041968170553445816,
-0.033303700387477875,
0.16660423576831818,
-0.3843785524368286,
-0.2831119894981384,
0.13709962368011475,
-0.25009652972221375,
-0.22961996495723724,
0.13475856184959412,
0.07098428159952164,
0.0245992299169302,
-0.19894364476203918,
-0.1776120960712433,
-0.297461599111557,
-0.012024475261569023,
0.16094790399074554,
0.16571736335754395,
-0.045656152069568634,
0.37895819544792175,
0.19195355474948883,
-0.3314373195171356,
-0.25432392954826355,
-0.3535851240158081,
-0.115028016269207,
-0.11856245249509811,
0.18452394008636475,
-0.22727814316749573,
0.24626988172531128,
-0.2824559807777405,
0.29931962490081787,
-0.061472613364458084,
-0.06423009932041168,
0.197319895029068,
0.07848960161209106,
0.5870742201805115,
-0.22767391800880432,
-0.2985081970691681,
0.02278093993663788,
0.10394790768623352,
0.05434151738882065,
0.1607680767774582,
0.02080010063946247,
-0.12993603944778442,
-0.07889923453330994,
-0.059737347066402435,
-0.23528039455413818,
-0.24068014323711395,
0.021259058266878128,
0.30145028233528137,
0.041052576154470444,
0.11990968883037567,
0.12988394498825073,
-0.3655567169189453,
-0.097576804459095,
-0.08347208797931671,
0.2627234160900116,
0.08411069959402084,
-0.018820323050022125,
-0.1922098845243454,
0.1625247448682785,
-0.13881435990333557,
0.38855546712875366,
0.010319550521671772,
-0.009569973684847355,
-0.03244803845882416,
-0.18757936358451843,
-0.03010164201259613,
-0.008491797372698784,
0.22827890515327454,
-0.13026268780231476,
-0.004992958158254623,
0.4201069176197052,
0.07768838107585907,
-0.1572585552930832,
-0.23260049521923065,
-0.33602774143218994,
0.07808361947536469,
0.40055155754089355,
0.24649390578269958,
-0.308029443025589,
-0.23138460516929626,
0.16711851954460144,
0.44116201996803284,
-0.14432696998119354,
0.020786847919225693,
-0.29591912031173706,
-0.3293097913265228,
-0.30143895745277405,
0.22341379523277283,
-0.053056515753269196,
0.1287914216518402,
-0.2582162618637085,
-0.22016561031341553,
0.10151997953653336,
-0.04288019239902496,
0.04355861246585846,
0.16295279562473297,
0.4480164349079132,
-0.012026062235236168,
0.0047822147607803345,
-0.012491133064031601,
0.17483657598495483,
0.26545071601867676,
0.3356684446334839,
-0.037265319377183914,
0.07329912483692169,
-0.05750558525323868,
-0.20858721435070038,
0.21544823050498962,
0.28755122423171997,
-0.07421684265136719,
0.11684519052505493,
-0.08128765225410461,
0.25308018922805786,
-0.1729106605052948,
0.039173781871795654,
0.3303941786289215,
0.12234706431627274,
-0.1213211938738823,
-0.39280965924263,
0.010707780718803406,
-0.017509382218122482,
-0.2090916633605957,
0.1857418715953827,
-0.269256055355072,
0.03411169722676277,
0.2542962431907654,
0.0661565363407135,
0.9689626097679138,
-0.06218468397855759,
0.03440365195274353,
0.051102906465530396,
0.001975826919078827,
0.28157442808151245,
0.20288850367069244,
0.10681600123643875,
-0.5505871176719666,
-0.42249318957328796,
0.1665056049823761,
-0.08198723942041397,
0.3728525936603546,
0.08491675555706024,
-0.2358844131231308,
0.05931418761610985,
-0.1247817724943161,
0.0367426797747612,
-0.06545154005289078,
0.05100894719362259,
-0.04381339251995087,
0.01710645668208599,
0.06782896816730499,
0.3581554591655731,
0.06943599879741669,
0.08277878165245056,
-0.062230102717876434,
-0.13321469724178314,
0.07389196753501892,
-0.3195127248764038,
-0.11973942816257477,
0.02414613589644432,
-0.24241119623184204,
0.18427911400794983,
-0.042367804795503616,
-0.33249640464782715,
-0.208852618932724,
-0.20228123664855957,
0.15221120417118073,
0.534988284111023,
-0.0651877373456955,
0.21428419649600983,
0.10366272181272507,
-0.10161371529102325,
-0.11078904569149017,
0.28544262051582336,
0.26132428646087646,
-0.08180265873670578,
-0.4388122260570526,
0.05024456977844238,
-0.022154316306114197,
-0.2337304949760437,
-0.25709816813468933,
-0.15268537402153015,
-0.1151617020368576,
-0.23129691183567047,
-0.19139701128005981,
-0.0819455236196518,
-0.08083286881446838,
-0.45228928327560425,
0.320245623588562,
0.3505021929740906,
-0.2149045616388321,
0.15334579348564148,
0.13380545377731323,
-0.3790844976902008,
-0.18393634259700775,
0.06055666506290436,
0.056029245257377625,
0.034801237285137177,
0.31650787591934204,
0.059834618121385574,
-0.040281496942043304,
-0.4361020028591156,
-0.19706615805625916,
0.12750588357448578,
-0.4133118689060211,
0.2628953456878662,
0.2949068248271942,
-0.12160097062587738,
0.1137811616063118,
0.18912342190742493,
0.1415245234966278,
0.23850518465042114,
-0.05895590782165527,
-0.2550963759422302,
-0.4228366017341614,
-0.07873348891735077,
0.19563402235507965,
0.2458428591489792,
0.07199840247631073,
-0.03169507533311844,
0.09433099627494812,
0.2114524096250534,
-0.5439664125442505,
0.026627004146575928,
-0.019421350210905075,
0.09897677600383759,
0.056721508502960205,
-0.18222880363464355,
0.12701928615570068,
-0.04788962006568909,
0.29045370221138,
0.12047536671161652,
-0.3212204575538635,
-0.39880895614624023,
-0.15876109898090363,
0.06840696185827255,
-0.09358515590429306,
-0.14191165566444397,
0.07477620244026184,
-0.09826000779867172,
-0.029861796647310257,
-0.059459999203681946,
0.12142857909202576,
-0.00698668509721756,
-0.0848647952079773,
0.11446277797222137,
0.015099216252565384,
-0.05780293792486191,
0.1497403234243393,
-0.06984151154756546,
-0.007310464978218079,
0.19732141494750977,
-0.2703474164009094,
-0.0968746691942215,
-0.059201743453741074,
-0.10274484753608704,
0.19468587636947632,
0.023051470518112183,
-0.07807756960391998,
0.17539077997207642,
0.12974467873573303,
-0.10903114080429077,
0.04585997387766838,
-0.033077288419008255,
0.419890820980072,
0.25544148683547974,
-0.07537098228931427,
0.03919707238674164,
0.3438653349876404,
0.40171018242836,
-0.3953438103199005,
-0.009069317951798439,
-0.03865639492869377,
0.02758907899260521,
0.14322060346603394,
0.1735439896583557,
0.20397529006004333,
-0.14655716717243195,
0.11629840731620789,
0.09237846732139587,
0.27990320324897766,
-0.13207504153251648,
-0.022758815437555313,
0.3999518156051636,
-0.2436208426952362,
-0.10299114882946014,
0.4130540192127228,
0.20443086326122284,
-0.04199378937482834,
0.16161081194877625,
0.04863375797867775,
0.1303914487361908,
0.05554972589015961,
-0.19723045825958252,
-0.2728274464607239,
-0.24088126420974731,
0.20663508772850037,
0.20503324270248413,
-0.005226112902164459,
0.06269039213657379,
0.11500687152147293,
0.3684430420398712,
-0.3006708323955536,
-0.04832707718014717,
-0.13785764575004578,
0.12350624799728394,
-0.2469979226589203,
-0.10779277980327606,
0.048914261162281036,
-0.04987807944417,
-0.12971732020378113,
-0.14787036180496216,
-0.0011994317173957825,
0.0705186203122139,
0.1142091453075409,
-0.09153333306312561,
-0.0213003009557724,
-0.0822259709239006,
-0.13318264484405518,
-0.17999055981636047,
0.12869267165660858,
-0.1406843662261963,
0.07648838311433792,
0.2223343551158905,
0.12600044906139374,
0.21155555546283722,
0.29464980959892273,
0.68069988489151,
0.35841286182403564,
-0.09626936912536621,
0.049662526696920395,
-0.28088197112083435,
-0.06455937027931213,
-0.1395140141248703,
0.31299883127212524,
0.18456879258155823,
-0.11822457611560822,
0.21863745152950287,
0.31921613216400146,
-0.3517020046710968,
0.1245335191488266,
0.08467487245798111,
0.03388523310422897,
0.03268411010503769,
0.265866219997406,
-0.0017202533781528473,
-0.37571054697036743,
-0.43732908368110657,
0.05273868888616562,
-0.30709460377693176,
0.06002573296427727,
0.49904242157936096,
0.0657864660024643,
0.07663881033658981,
-0.37578538060188293,
0.21008889377117157,
-0.0013579558581113815,
0.391616553068161,
0.09269683063030243,
0.20539778470993042,
-0.10101968795061111,
-0.09889525920152664,
-0.6091923117637634,
0.24340200424194336,
-0.2554763853549957,
-0.10479920357465744,
-0.07479850202798843,
-0.03855398669838905,
0.16750921308994293,
0.015520540997385979,
0.3682551085948944,
0.0589471198618412,
0.06593220680952072,
-0.18842634558677673,
-0.40514248609542847,
0.21737980842590332,
-0.03765984624624252,
-0.061339884996414185,
0.28249895572662354,
-0.2981371581554413,
0.044629231095314026,
-0.1836865097284317,
0.3348018229007721,
-0.14771801233291626,
0.09872947633266449,
-0.016511280089616776,
0.1814529448747635,
0.4061909019947052,
0.10314591974020004,
0.41848400235176086,
-0.14467474818229675,
-0.13778305053710938,
-0.0830380767583847,
-0.2632877826690674,
-0.053458187729120255,
0.42560410499572754,
0.33066725730895996,
0.2950524687767029,
0.18086989223957062,
-0.2658175528049469,
-0.19657760858535767,
0.4375247657299042,
-0.014192920178174973,
-0.15746812522411346,
-0.106287382543087,
0.36619269847869873,
-0.0818527564406395,
-0.21218055486679077,
0.12348267436027527,
0.0007094182074069977,
-0.06169406324625015,
-0.042278312146663666,
-0.18828085064888,
-0.4833630919456482,
0.5212441682815552,
0.08512947708368301,
-0.3374147117137909,
-0.34099963307380676,
0.3419031798839569,
0.04601544514298439,
0.0319216288626194,
-0.3177059292793274,
0.30258268117904663,
0.12073586136102676,
0.2140592634677887,
-0.1865951269865036,
0.2635646462440491,
-0.27727583050727844,
-0.08685082197189331,
0.06035618111491203,
0.3514679968357086,
0.19218209385871887,
-0.046111252158880234,
-0.06270110607147217,
-0.19568154215812683
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | It still doesn't look right in terms of line-length.
Are you running `black` or `make style` ? | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 17 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
It still doesn't look right in terms of line-length.
Are you running `black` or `make style` ? | [
-0.32317468523979187,
-0.1300847828388214,
-0.17677636444568634,
-0.04378000646829605,
0.22488702833652496,
-0.14509019255638123,
0.45610466599464417,
0.321821928024292,
-0.23535074293613434,
0.15797960758209229,
0.6704728007316589,
0.03683188557624817,
0.17360177636146545,
0.12925811111927032,
0.04889807105064392,
-0.003034483641386032,
0.008575357496738434,
0.3592432737350464,
-0.12400922179222107,
-0.05849866941571236,
-0.10857801139354706,
0.19990813732147217,
-0.14865663647651672,
-0.008832298219203949,
-0.37409257888793945,
-0.09251151233911514,
-0.2165513038635254,
0.13525722920894623,
-0.27506551146507263,
-0.1506478190422058,
0.12894681096076965,
0.1979723423719406,
-0.348270058631897,
0.3072434961795807,
-0.0001027735706884414,
-0.462638258934021,
0.21307379007339478,
-0.0630841925740242,
-0.14302854239940643,
-0.03132113814353943,
0.07808319479227066,
-0.44988641142845154,
0.11897830665111542,
-0.17020103335380554,
-0.11791163682937622,
-0.0380699448287487,
-0.21841004490852356,
-0.07463353872299194,
0.10044904798269272,
0.2867572009563446,
0.33762621879577637,
-0.00016758032143115997,
0.011199135333299637,
-0.25488215684890747,
0.1273573338985443,
0.19018509984016418,
-0.07939538359642029,
0.12667347490787506,
0.20378664135932922,
0.22300098836421967,
0.4185691475868225,
0.3864762783050537,
-0.10587739199399948,
0.0297158882021904,
0.10203956067562103,
-0.19159691035747528,
0.23609185218811035,
0.012718239799141884,
0.1792565882205963,
0.43165791034698486,
0.35776829719543457,
-0.2807213366031647,
0.0764802098274231,
-0.12401925772428513,
0.11497949808835983,
-0.4394232928752899,
-0.1730957329273224,
0.22304119169712067,
-0.1133354902267456,
0.02057591639459133,
-0.40921750664711,
-0.017007751390337944,
-0.10592901706695557,
-0.0956743061542511,
-0.047100361436605453,
0.18200963735580444,
0.01921560801565647,
0.03385103493928909,
-0.11724330484867096,
-0.08207393437623978,
0.028645392507314682,
0.1774318367242813,
-0.42538946866989136,
0.027678832411766052,
0.1069881021976471,
0.08101949095726013,
0.05031859502196312,
-0.056984685361385345,
0.30460238456726074,
0.048011984676122665,
0.05911121889948845,
0.028898464515805244,
0.24972009658813477,
-0.01808653026819229,
-0.09859248995780945,
0.02095763385295868,
0.27339664101600647,
0.030271735042333603,
-0.07651829719543457,
0.005405273754149675,
0.2486439347267151,
-0.27041536569595337,
-0.018292861059308052,
-0.3809393346309662,
0.2207447737455368,
0.1819579303264618,
0.3773675560951233,
-0.26458486914634705,
-0.19532708823680878,
-0.05677645653486252,
0.020913444459438324,
-0.14088031649589539,
-0.06631206721067429,
0.26370978355407715,
-0.12386157363653183,
-0.004701558500528336,
0.3080443739891052,
0.09071190655231476,
-0.057830289006233215,
-0.12273108959197998,
-0.3391326069831848,
-0.11129407584667206,
-0.10862928628921509,
-0.10687651485204697,
-0.005124583840370178,
0.08357144892215729,
0.10654070228338242,
0.16432802379131317,
-0.1392211765050888,
-0.26278549432754517,
0.08370336145162582,
0.12266968190670013,
0.21639426052570343,
0.20094770193099976,
-0.27318066358566284,
-0.03655892610549927,
0.23764623701572418,
-0.1053038239479065,
-0.14245562255382538,
0.30895522236824036,
-0.33240604400634766,
-0.2154240757226944,
-0.1690642237663269,
0.31724831461906433,
0.04405641555786133,
0.11637825518846512,
0.255991131067276,
0.06851695477962494,
0.2934543490409851,
-0.14988332986831665,
0.36081743240356445,
-0.26656585931777954,
0.10114936530590057,
-0.20690803229808807,
0.2670823931694031,
0.25156110525131226,
-0.6806885600090027,
-0.0047312527894973755,
-0.024981951341032982,
-0.006293728947639465,
0.5501285791397095,
0.32965928316116333,
0.280577152967453,
-0.08500929921865463,
-0.18800917267799377,
-0.013191722333431244,
0.5399888753890991,
0.10901553928852081,
-0.01302933506667614,
0.3174843192100525,
-0.0661398246884346,
-0.3178592324256897,
0.19985684752464294,
-0.23946085572242737,
0.005801676772534847,
0.22072160243988037,
-0.17409759759902954,
-0.21619251370429993,
-0.07108661532402039,
0.07861457765102386,
-0.43001753091812134,
-0.026747748255729675,
0.3554275631904602,
-0.13476742804050446,
-0.21555180847644806,
-0.19962486624717712,
-0.05825044959783554,
-0.31280186772346497,
0.697857677936554,
-0.08179548382759094,
-0.09163114428520203,
-0.012358177453279495,
0.5161019563674927,
0.05088616907596588,
0.03047577291727066,
0.15049630403518677,
0.06100219488143921,
-0.1573074460029602,
-0.035661615431308746,
0.3443239629268646,
-0.039295345544815063,
-0.3189185857772827,
-0.2761940360069275,
-0.0010759085416793823,
-0.015233483165502548,
-0.2673514187335968,
0.20063945651054382,
-0.16780242323875427,
-0.07014218717813492,
-0.05678235739469528,
0.30233249068260193,
0.1883631944656372,
-0.10978832840919495,
-0.03994468227028847,
-0.2316785305738449,
0.17414887249469757,
-0.11809136718511581,
-0.1387137621641159,
0.0013093017041683197,
0.28377074003219604,
0.27691394090652466,
0.05599340423941612,
-0.20063266158103943,
0.48776280879974365,
0.1386346071958542,
-0.0830441266298294,
-0.17190319299697876,
-0.029138460755348206,
0.11672566831111908,
-0.12786199152469635,
0.4890989661216736,
0.04170902073383331,
-0.09930732846260071,
-0.10987836122512817,
-0.23006826639175415,
0.19412335753440857,
0.0328267365694046,
0.21694213151931763,
-0.016266565769910812,
-0.09019874781370163,
0.1466192603111267,
0.038085732609033585,
-0.11376025527715683,
-0.08941555768251419,
-0.027899514883756638,
0.16357602179050446,
0.12889738380908966,
0.010408703237771988,
-0.18146219849586487,
0.34079602360725403,
0.5354276895523071,
-0.1114284098148346,
0.12368117272853851,
0.0661996454000473,
-0.11803331226110458,
-0.2609647512435913,
0.09681100398302078,
-0.06261415034532547,
-0.11364242434501648,
0.33462995290756226,
-0.10330219566822052,
0.10005296021699905,
-0.09336014091968536,
-0.40088561177253723,
0.2056158185005188,
0.09338553249835968,
-0.01842012070119381,
-0.06673084199428558,
-0.11035116016864777,
-0.1835368573665619,
-0.20304450392723083,
0.04877060279250145,
-0.4045684337615967,
0.301573246717453,
-0.2702964246273041,
0.13660560548305511,
-0.16903215646743774,
-0.13396945595741272,
-0.14007316529750824,
-0.2474924772977829,
-0.3585628271102905,
-0.24575254321098328,
-0.012259729206562042,
-0.13942134380340576,
-0.19001710414886475,
0.20568835735321045,
0.19809477031230927,
0.24087975919246674,
0.24289922416210175,
0.16251160204410553,
-0.18063853681087494,
-0.06018446758389473,
-0.08177274465560913,
0.18586865067481995,
-0.37983301281929016,
0.4473739564418793,
0.3065856993198395,
-0.3032969534397125,
0.23554740846157074,
-0.05912481248378754,
-0.409602552652359,
-0.022947899997234344,
-0.13239642977714539,
0.15985877811908722,
0.39831191301345825,
0.3406987190246582,
0.04881010204553604,
0.009694661013782024,
0.215177983045578,
-0.29159292578697205,
-0.01386983972042799,
0.046428658068180084,
-0.2870492935180664,
-0.2948700487613678,
-0.22358696162700653,
-0.09854068607091904,
-0.35071074962615967,
-0.22833991050720215,
0.21936120092868805,
0.34675008058547974,
0.2457476258277893,
0.2283361256122589,
0.4219951033592224,
-0.07267460227012634,
0.11833494156599045,
0.12225612998008728,
-0.28809523582458496,
-0.33265936374664307,
0.03160117194056511,
-0.13747814297676086,
-0.083168163895607,
0.15178854763507843,
0.12859943509101868,
0.05668899789452553,
-0.17751361429691315,
-0.16381150484085083,
-0.14790083467960358,
-0.13368164002895355,
0.24540367722511292,
0.32634609937667847,
0.0687011331319809,
0.5220902562141418,
0.006443991791456938,
-0.130081906914711,
-0.0921802669763565,
-0.23210763931274414,
0.0576329380273819,
-0.14851126074790955,
0.21796122193336487,
-0.1623353362083435,
0.39613962173461914,
-0.2103346437215805,
0.21601615846157074,
0.24875962734222412,
-0.01858355477452278,
-0.06946344673633575,
-0.22737303376197815,
0.4327199161052704,
-0.2311578094959259,
-0.2160477340221405,
0.0574386864900589,
0.2099379450082779,
-0.07170414924621582,
0.20007777214050293,
0.11959617584943771,
0.06457705050706863,
0.15436917543411255,
0.003656107932329178,
-0.2927597165107727,
-0.17378096282482147,
-0.03481786698102951,
0.19029046595096588,
0.00340067595243454,
-0.020434685051441193,
0.215964674949646,
-0.319943904876709,
-0.09883355349302292,
-0.2732282280921936,
0.23700810968875885,
-0.02513488382101059,
0.001964519266039133,
-0.22088418900966644,
0.15508949756622314,
-0.3638586401939392,
0.342818945646286,
0.08504563570022583,
-0.016260799020528793,
0.010644111782312393,
-0.30829107761383057,
0.00795484334230423,
-0.03615130856633186,
0.4146280884742737,
-0.003631630912423134,
-0.23176069557666779,
0.27197203040122986,
0.33660203218460083,
-0.17795687913894653,
-0.08165794610977173,
-0.062230780720710754,
-0.03084939904510975,
0.6747032999992371,
-0.049446672201156616,
-0.15511921048164368,
-0.023983409628272057,
0.27214306592941284,
0.21307885646820068,
-0.23958301544189453,
0.0022245896980166435,
-0.1909722089767456,
-0.2320953905582428,
0.008280230686068535,
0.014834128320217133,
-0.031218769028782845,
0.23308955132961273,
-0.24547195434570312,
-0.4582040309906006,
0.32984238862991333,
-0.2661643326282501,
0.0958145260810852,
0.04135531559586525,
0.5080601572990417,
-0.29817306995391846,
-0.022666728124022484,
-0.006719622761011124,
0.17007675766944885,
0.11571350693702698,
0.38936886191368103,
-0.21600443124771118,
0.10843633115291595,
-0.03709189221262932,
-0.544538676738739,
0.5715833306312561,
0.37917643785476685,
-0.04347693920135498,
0.03175494074821472,
-0.11173290014266968,
0.5779174566268921,
-0.2351299226284027,
-0.040611203759908676,
0.2069043517112732,
0.13840124011039734,
-0.19608904421329498,
-0.4458504021167755,
-0.06572400778532028,
-0.010580996051430702,
-0.060604527592659,
0.16700026392936707,
-0.36858659982681274,
-0.0713881403207779,
-0.0025848113000392914,
0.019978515803813934,
1.0333195924758911,
0.07311638444662094,
0.006762146949768066,
0.14674648642539978,
0.08704951405525208,
0.33325788378715515,
0.01761593669652939,
-0.14948421716690063,
-0.601752758026123,
-0.16903990507125854,
0.08114500343799591,
-0.06321429461240768,
0.3768821358680725,
0.0610039196908474,
-0.251725435256958,
0.054179638624191284,
-0.12085725367069244,
-0.2809021770954132,
-0.09078503400087357,
0.1729488968849182,
0.008785506710410118,
0.0732075646519661,
0.13389596343040466,
0.28346550464630127,
-0.029703758656978607,
-0.05494457855820656,
-0.04532920569181442,
0.11310089379549026,
-0.0526944138109684,
-0.41315406560897827,
-0.4207673668861389,
0.03472471609711647,
-0.25989866256713867,
-0.12486007809638977,
0.04859520494937897,
-0.41169124841690063,
-0.1784580945968628,
-0.32501763105392456,
0.1411885917186737,
0.6843189597129822,
-0.17404231429100037,
0.3326207399368286,
0.024047687649726868,
-0.10166241228580475,
0.002007568720728159,
0.41687196493148804,
0.0794592872262001,
-0.16984176635742188,
-0.46669062972068787,
-0.26342886686325073,
-0.038476936519145966,
-0.18983419239521027,
-0.2644267976284027,
-0.32477957010269165,
0.07401536405086517,
-0.38064122200012207,
-0.1628960520029068,
-0.02215328812599182,
0.19776813685894012,
-0.29614129662513733,
0.21576018631458282,
0.2907280921936035,
-0.03383883088827133,
0.011638447642326355,
0.27053576707839966,
-0.3088430166244507,
-0.2549106478691101,
-0.08136934787034988,
0.0488291010260582,
0.06848327070474625,
0.260958194732666,
0.32284247875213623,
-0.06346923112869263,
-0.4343422055244446,
0.03029584139585495,
0.36807525157928467,
-0.5080718994140625,
-0.09872734546661377,
0.11213097721338272,
0.028989523649215698,
0.08919721096754074,
0.3564580976963043,
0.202876478433609,
0.29429566860198975,
-0.2297534942626953,
-0.225143700838089,
-0.3744198679924011,
-0.1987985223531723,
0.26783356070518494,
0.31055402755737305,
-0.0020108073949813843,
0.04124294966459274,
0.2523092031478882,
0.13507528603076935,
-0.4498872756958008,
-0.010668259114027023,
0.2758519649505615,
-0.06147465109825134,
0.11434490978717804,
-0.2768554985523224,
0.1497676819562912,
-0.23247821629047394,
0.2058628350496292,
-0.046907417476177216,
-0.17380459606647491,
-0.3503721356391907,
-0.14084027707576752,
0.055469781160354614,
-0.046119846403598785,
-0.29608988761901855,
-0.052542731165885925,
0.04725424200296402,
-0.2169397473335266,
-0.07283823937177658,
0.049643125385046005,
-0.02053726650774479,
0.014030508697032928,
0.268455445766449,
0.058477725833654404,
0.044130269438028336,
-0.08561071753501892,
-0.09673886001110077,
0.07327614724636078,
0.3031100630760193,
-0.08946074545383453,
0.10669885575771332,
-0.0986061692237854,
-0.06321539729833603,
0.11719013005495071,
0.2553650140762329,
-0.06509099900722504,
0.12618812918663025,
0.14351752400398254,
-0.013745799660682678,
0.13463295996189117,
-0.07777523994445801,
0.3290514647960663,
0.15171337127685547,
-0.02931038662791252,
0.07397864013910294,
0.1615673303604126,
0.39453110098838806,
-0.3430080711841583,
0.05337455868721008,
-0.14121116697788239,
0.13604126870632172,
0.06195714697241783,
0.22575020790100098,
0.1342596411705017,
-0.010143108665943146,
0.04220957309007645,
0.12024898082017899,
0.5027895569801331,
-0.19013257324695587,
-0.05787831172347069,
0.37003985047340393,
-0.20696517825126648,
0.05029639974236488,
0.35191625356674194,
0.19548751413822174,
-0.08238738030195236,
0.09093017876148224,
0.06266359984874725,
0.18798759579658508,
0.19634303450584412,
-0.17577193677425385,
-0.281279981136322,
-0.055291373282670975,
0.1254192292690277,
0.059330277144908905,
-0.14274701476097107,
-0.03963319957256317,
0.28825458884239197,
0.2934599220752716,
-0.028002209961414337,
-0.10202973335981369,
-0.15017485618591309,
0.025765571743249893,
-0.07668153196573257,
-0.12298406660556793,
-0.20026518404483795,
-0.08992698043584824,
-0.2446879744529724,
-0.359835684299469,
0.020632019266486168,
0.04356694221496582,
0.07180807739496231,
-0.10816402733325958,
0.05112241581082344,
-0.10233786702156067,
-0.08028824627399445,
-0.4495162069797516,
0.22730779647827148,
-0.11576876044273376,
0.1332487016916275,
0.20733818411827087,
0.1366051882505417,
0.1611364483833313,
0.1928393840789795,
0.66745924949646,
0.2489379495382309,
0.16046789288520813,
-0.18672974407672882,
-0.34374797344207764,
-0.1475393921136856,
-0.040232062339782715,
0.2422926276922226,
0.25337857007980347,
-0.00870494544506073,
0.013365278020501137,
0.28735634684562683,
-0.21881094574928284,
0.4527965188026428,
0.08929867297410965,
-0.08053320646286011,
-0.1069452166557312,
0.4647912085056305,
-0.12408135831356049,
-0.5176795721054077,
-0.5043293237686157,
0.014895588159561157,
-0.31628870964050293,
-0.08608317375183105,
0.3897416293621063,
-0.19104236364364624,
-0.01850445754826069,
-0.31002724170684814,
0.15446580946445465,
-0.04678397253155708,
0.3104577660560608,
0.3163593113422394,
0.4076180160045624,
-0.0037682605907320976,
-0.1333264261484146,
-0.36886513233184814,
0.024162299931049347,
-0.3602129817008972,
-0.07900255173444748,
0.11413748562335968,
0.040087081491947174,
0.17033962905406952,
-0.05342698097229004,
0.320981502532959,
0.14605483412742615,
-0.16073958575725555,
-0.32778647541999817,
-0.2884107828140259,
0.22273240983486176,
0.0951872244477272,
-0.035094864666461945,
0.13811545073986053,
-0.06906095147132874,
0.15920984745025635,
-0.24796931445598602,
0.16809847950935364,
-0.161345973610878,
0.21684172749519348,
0.18959969282150269,
0.20234797894954681,
0.11217403411865234,
0.1881438046693802,
0.42028653621673584,
-0.08429894596338272,
-0.009138372726738453,
-0.03983287885785103,
0.03842511400580406,
0.1621493250131607,
0.661638081073761,
0.2844412326812744,
0.3095475733280182,
0.22241677343845367,
-0.42194902896881104,
-0.036587443202733994,
0.4436020255088806,
0.051344119012355804,
-0.23785164952278137,
-0.16093310713768005,
0.2679400146007538,
-0.08232839405536652,
-0.23157042264938354,
0.09892039000988007,
-0.25246062874794006,
-0.058750078082084656,
-0.10464630275964737,
0.10405351221561432,
-0.33918270468711853,
0.34101924300193787,
0.1911269724369049,
-0.18460191786289215,
-0.4763936996459961,
0.2616236209869385,
0.17913204431533813,
0.1656922996044159,
-0.5595203638076782,
0.04680904000997543,
0.3215324282646179,
0.17448052763938904,
-0.1338762640953064,
0.3391565978527069,
-0.41095125675201416,
0.020538154989480972,
0.010809652507305145,
0.5548302531242371,
0.013900898396968842,
-0.13688808679580688,
-0.16057997941970825,
-0.3322807550430298
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | I'm running `make style`. This is the output of the command:
```
black --line-length 119 --target-version py36 tests src benchmarks datasets metrics
All done! ✨ 🍰 ✨
250 files left unchanged.
isort tests src benchmarks datasets metrics
``` | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 38 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
I'm running `make style`. This is the output of the command:
```
black --line-length 119 --target-version py36 tests src benchmarks datasets metrics
All done! ✨ 🍰 ✨
250 files left unchanged.
isort tests src benchmarks datasets metrics
``` | [
-0.35490235686302185,
-0.22279125452041626,
-0.14888983964920044,
-0.07370758056640625,
0.20174559950828552,
0.12152018398046494,
0.3137056827545166,
0.4621761441230774,
-0.1807565540075302,
0.16893702745437622,
0.1933315098285675,
-0.02910245954990387,
-0.09284423291683197,
-0.00930420309305191,
0.15138062834739685,
0.18131676316261292,
-0.157705157995224,
0.34323903918266296,
-0.04425698518753052,
-0.027342118322849274,
-0.39003756642341614,
0.18078002333641052,
0.0015271902084350586,
0.20352967083454132,
-0.39194005727767944,
-0.12818846106529236,
-0.02848886512219906,
0.2600153386592865,
-0.4657130837440491,
-0.4731246531009674,
0.10415726900100708,
0.27004632353782654,
-0.40068572759628296,
0.18485528230667114,
-0.0001119272128562443,
-0.1960628181695938,
0.4722623825073242,
-0.17694300413131714,
-0.4022527039051056,
-0.10130836069583893,
0.12219054251909256,
-0.1297662854194641,
0.029767263680696487,
-0.21699240803718567,
0.0695844292640686,
-0.3162520229816437,
-0.021553782746195793,
-0.14908428490161896,
0.10045309364795685,
0.3434971272945404,
0.2363172322511673,
0.03674371540546417,
0.027927163988351822,
-0.32791823148727417,
0.3732133209705353,
0.1258256733417511,
-0.02780354768037796,
0.12507696449756622,
0.18002361059188843,
0.2873191237449646,
0.34441784024238586,
0.3517659902572632,
-0.1887744516134262,
0.18630863726139069,
-0.04524616152048111,
-0.09373973309993744,
0.3066960275173187,
-0.0876581072807312,
0.3122888207435608,
0.22260642051696777,
0.47337839007377625,
-0.264951229095459,
0.026989828795194626,
0.022973835468292236,
0.01071623433381319,
-0.46544215083122253,
-0.162660151720047,
0.22001279890537262,
-0.24730321764945984,
0.047748662531375885,
-0.27513962984085083,
0.06693465262651443,
-0.10785524547100067,
-0.023819468915462494,
0.13935601711273193,
0.3899697959423065,
-0.13447953760623932,
0.1621149778366089,
0.07266894727945328,
0.1156514585018158,
-0.07841302454471588,
-0.05395417660474777,
-0.4218577742576599,
0.00951363705098629,
0.30041465163230896,
0.11039680242538452,
0.3054940104484558,
-0.16119438409805298,
0.3291509747505188,
0.060382865369319916,
-0.138714998960495,
-0.0022892244160175323,
0.3046656548976898,
0.161073699593544,
-0.3158804774284363,
0.19587454199790955,
0.3470384180545807,
0.0848676785826683,
-0.029293887317180634,
0.08594996482133865,
0.15057440102100372,
-0.07597154378890991,
0.16215957701206207,
-0.40118375420570374,
0.2783500552177429,
0.3178832232952118,
0.492026150226593,
-0.01935022696852684,
-0.48564767837524414,
0.16121086478233337,
0.2436981499195099,
-0.25173327326774597,
-0.22589658200740814,
0.23728704452514648,
0.025908108800649643,
-0.15836679935455322,
0.2271736115217209,
0.14960598945617676,
-0.1619752049446106,
-0.0029627298936247826,
-0.2880946397781372,
-0.0014163274317979813,
-0.16158998012542725,
-0.05648743361234665,
-0.036579959094524384,
0.23927868902683258,
0.023156195878982544,
0.09621667116880417,
0.06374126672744751,
-0.34211400151252747,
0.41900718212127686,
-0.02283427305519581,
0.5589361190795898,
0.28176021575927734,
-0.41359710693359375,
0.28164005279541016,
0.3867177367210388,
-0.30967825651168823,
-0.19303229451179504,
0.29353851079940796,
-0.20313459634780884,
-0.306733638048172,
0.058056049048900604,
0.2932150363922119,
0.06141160428524017,
0.14302128553390503,
0.1286303848028183,
0.23495697975158691,
0.2068169116973877,
-0.16391701996326447,
0.42682239413261414,
-0.23769430816173553,
-0.09112510085105896,
-0.22913618385791779,
0.2560178339481354,
0.549237847328186,
-0.6037827134132385,
-0.1140686571598053,
0.05810800567269325,
-0.12582281231880188,
0.2655656635761261,
0.018571464344859123,
0.1781727373600006,
0.08718021959066391,
-0.31157729029655457,
-0.3277963399887085,
0.5278986692428589,
-0.25517743825912476,
-0.026758810505270958,
0.03338504955172539,
-0.226876363158226,
-0.32275938987731934,
0.506234347820282,
-0.24847601354122162,
0.23465320467948914,
0.14131878316402435,
-0.19734132289886475,
-0.44675832986831665,
-0.12579089403152466,
-0.18497633934020996,
-0.2344079613685608,
-0.02845357172191143,
0.09990748763084412,
-0.1745096743106842,
0.07420210540294647,
-0.214776873588562,
-0.01699569821357727,
-0.21639271080493927,
0.3699970841407776,
-0.08713951706886292,
-0.03847227990627289,
-0.0674271434545517,
0.4153062403202057,
0.00648818165063858,
0.06244897097349167,
-0.10135998576879501,
-0.006194248795509338,
0.09533611685037613,
0.0008861236274242401,
0.21591748297214508,
-0.0018315613269805908,
-0.32707738876342773,
-0.37958964705467224,
0.006824137642979622,
-0.13116443157196045,
-0.3840491771697998,
0.14675450325012207,
0.09650518000125885,
-0.144317626953125,
-0.02167378179728985,
0.04835766181349754,
-0.008197451010346413,
-0.036550093442201614,
0.039671316742897034,
-0.20946280658245087,
-0.10114049166440964,
-0.047662459313869476,
-0.1808367371559143,
-0.1059090793132782,
0.1732906550168991,
-0.04767947643995285,
-0.13081060349941254,
-0.1658698320388794,
0.4180467128753662,
0.36569032073020935,
-0.03534527122974396,
0.05271057039499283,
-0.12336637079715729,
-0.06988105177879333,
-0.3776403069496155,
0.11961469799280167,
0.2544649541378021,
-0.019191503524780273,
-0.044882915914058685,
-0.1780092716217041,
0.2445765733718872,
0.014594456180930138,
0.13405852019786835,
-0.08658505231142044,
-0.23009105026721954,
0.021957172080874443,
0.07483363151550293,
-0.10829107463359833,
-0.23644956946372986,
-0.08662621676921844,
0.1284898966550827,
0.3365645706653595,
0.011247839778661728,
0.2027522623538971,
0.28539854288101196,
0.5690872669219971,
-0.10495948791503906,
0.02817106619477272,
0.06908241659402847,
-0.1371690034866333,
-0.26208001375198364,
-0.08171147108078003,
0.08852231502532959,
0.17817813158035278,
0.2797972559928894,
-0.04735032841563225,
-0.004139866679906845,
-0.04002415016293526,
-0.25322601199150085,
0.15533609688282013,
0.17260636389255524,
-0.11716766655445099,
0.07196101546287537,
-0.12007782608270645,
-0.1723417341709137,
-0.24452248215675354,
0.0031410865485668182,
-0.08862661570310593,
0.12739185988903046,
-0.3638957142829895,
0.17868474125862122,
0.004391854628920555,
0.09262018650770187,
-0.16696201264858246,
-0.029797013849020004,
-0.23132890462875366,
-0.19950518012046814,
0.020084578543901443,
-0.06456676125526428,
-0.0679200142621994,
0.19343096017837524,
0.14472918212413788,
0.33540773391723633,
0.18660417199134827,
-0.13714121282100677,
-0.1119600385427475,
-0.15824384987354279,
0.0432463213801384,
0.10753299295902252,
-0.276080459356308,
0.3555702865123749,
0.5477535724639893,
-0.5383868217468262,
0.1213257759809494,
-0.16933192312717438,
-0.37422311305999756,
0.049147509038448334,
-0.10544297099113464,
0.17286796867847443,
0.4701114296913147,
0.09021053463220596,
0.11402200162410736,
-0.0519738607108593,
0.32039251923561096,
-0.3133825361728668,
-0.07105189561843872,
-0.021971823647618294,
-0.35792943835258484,
-0.12045708298683167,
-0.16761696338653564,
-0.32332298159599304,
-0.2172538787126541,
-0.2827453017234802,
0.18579788506031036,
0.26355859637260437,
0.1792912483215332,
0.22820420563220978,
0.19551746547222137,
0.0773119330406189,
-0.064674012362957,
0.11206065118312836,
-0.33163586258888245,
-0.3133585751056671,
-0.09165999293327332,
-0.166799396276474,
0.1134650707244873,
0.11335410177707672,
0.09153284132480621,
0.1387273371219635,
-0.328479528427124,
-0.1017579734325409,
-0.2756660282611847,
-0.07899615168571472,
0.39820897579193115,
0.16570141911506653,
0.07445966452360153,
0.6253987550735474,
0.08732245117425919,
-0.24375298619270325,
-0.18723303079605103,
-0.2603748142719269,
0.004883341491222382,
-0.23724067211151123,
0.0708671361207962,
-0.31326255202293396,
0.22829419374465942,
-0.17510250210762024,
0.5861638188362122,
0.2150660902261734,
-0.12493568658828735,
-0.08245949447154999,
-0.1285618245601654,
0.6158238053321838,
-0.3142798840999603,
-0.2491137683391571,
0.22344402968883514,
0.135903462767601,
-0.18103653192520142,
0.19597479701042175,
0.054336026310920715,
0.13400502502918243,
0.07184313982725143,
0.289272665977478,
-0.23729825019836426,
-0.008357517421245575,
0.009708675555884838,
0.3204030394554138,
0.04138895869255066,
0.007464468479156494,
0.028912916779518127,
-0.3970915973186493,
-0.05888579040765762,
-0.17305392026901245,
0.42235130071640015,
0.15622097253799438,
0.0020344543736428022,
-0.45474615693092346,
0.20702983438968658,
-0.08178622275590897,
0.5949040651321411,
0.2478122115135193,
-0.1013389304280281,
-0.13892927765846252,
-0.255913645029068,
0.0633508712053299,
-0.1098015159368515,
0.20113471150398254,
-0.04562227427959442,
0.004841320216655731,
0.36055463552474976,
0.3201311528682709,
-0.21438327431678772,
-0.140287846326828,
-0.28841355443000793,
0.03943635895848274,
0.5968343615531921,
0.12948602437973022,
-0.27374958992004395,
-0.13208076357841492,
0.3150097131729126,
0.3737177550792694,
-0.19380418956279755,
0.009743454866111279,
-0.5651875138282776,
-0.3412263095378876,
-0.04651361703872681,
0.1992405354976654,
-0.043638892471790314,
0.0005089789628982544,
-0.24234411120414734,
-0.34483301639556885,
0.30851686000823975,
-0.29726019501686096,
0.024522751569747925,
-0.07005222886800766,
0.39967912435531616,
-0.01694577932357788,
-0.1699284166097641,
-0.01771124079823494,
-0.05102181434631348,
0.07711876183748245,
0.3487817943096161,
-0.3283325433731079,
-0.023748308420181274,
0.04760771244764328,
-0.23922598361968994,
0.349748432636261,
0.3277740478515625,
-0.2111579328775406,
-0.07243318110704422,
-0.10794863104820251,
0.3898129463195801,
-0.3969120979309082,
0.11883412301540375,
0.5120855569839478,
0.17792586982250214,
-0.18270742893218994,
-0.37561312317848206,
0.0604846328496933,
0.019085340201854706,
-0.2272413969039917,
0.403122216463089,
-0.07405310869216919,
-0.041328318417072296,
-0.0004753805696964264,
0.1709108203649521,
0.9721139073371887,
-0.15759269893169403,
0.1265299916267395,
0.038631390780210495,
0.08656477928161621,
0.44782233238220215,
0.18850690126419067,
0.10000042617321014,
-0.4365111291408539,
-0.3352738916873932,
0.008382575586438179,
-0.17166869342327118,
0.3899177014827728,
0.013789024204015732,
-0.23432108759880066,
-0.03683939948678017,
-0.22290970385074615,
0.09031075239181519,
0.17420823872089386,
0.04650338739156723,
-0.27040940523147583,
0.15445196628570557,
0.2891269028186798,
0.21015575528144836,
-0.015070050954818726,
0.021672409027814865,
-0.04713205620646477,
0.2168290913105011,
-0.052841585129499435,
-0.39843904972076416,
-0.26627886295318604,
-0.16904881596565247,
-0.2813835144042969,
0.00033940374851226807,
0.10391546785831451,
-0.40147507190704346,
-0.3304618000984192,
-0.22991806268692017,
0.4336116313934326,
0.4639138877391815,
0.019009817391633987,
0.16661952435970306,
-0.02975284308195114,
0.033978771418333054,
0.06931720674037933,
0.17404912412166595,
0.28873372077941895,
0.01989644765853882,
-0.39892876148223877,
0.052159521728754044,
-0.00637539429590106,
-0.25035762786865234,
-0.193352609872818,
-0.15306681394577026,
-0.03729814291000366,
-0.4167194962501526,
-0.1814558058977127,
-0.2814622223377228,
-0.1474136859178543,
-0.28493690490722656,
0.1366986632347107,
0.2516833543777466,
-0.3627658486366272,
0.07454012334346771,
0.03722710534930229,
-0.6483949422836304,
-0.14439089596271515,
-0.045429863035678864,
-0.05048312991857529,
0.2027694433927536,
0.21435223519802094,
0.03287314996123314,
-0.04615863040089607,
-0.40239012241363525,
0.11251645535230637,
0.16288788616657257,
-0.6223801374435425,
0.22279894351959229,
0.3169086277484894,
0.041451796889305115,
0.0471201092004776,
0.2895068824291229,
0.15668126940727234,
0.4154397249221802,
-0.27879559993743896,
-0.20445460081100464,
-0.3046533167362213,
-0.05446186661720276,
0.028039006516337395,
0.29275086522102356,
0.12548574805259705,
-0.00007270835340023041,
0.20835313200950623,
0.17657211422920227,
-0.4271334409713745,
-0.05668560415506363,
0.18755586445331573,
0.06152309849858284,
0.419020414352417,
-0.22675463557243347,
0.060056813061237335,
-0.08643680810928345,
0.19669215381145477,
-0.05523455888032913,
-0.39637309312820435,
-0.3255493640899658,
-0.13580498099327087,
0.1436697542667389,
-0.23924100399017334,
-0.0013706735335290432,
0.037888552993535995,
0.09284843504428864,
-0.022049136459827423,
-0.10481525212526321,
0.2035827785730362,
0.10349052399396896,
-0.09407913684844971,
0.22415786981582642,
-0.3833567500114441,
-0.0017700791358947754,
0.02921624481678009,
0.010421885177493095,
-0.020606957376003265,
0.3406156599521637,
-0.10582175105810165,
0.1048690527677536,
0.007678225636482239,
-0.11875871568918228,
-0.06117328256368637,
0.2630271315574646,
0.041793253272771835,
0.11353932321071625,
0.05592569708824158,
-0.21433626115322113,
0.15578867495059967,
-0.01669485867023468,
0.5336246490478516,
0.23847994208335876,
-0.009261849336326122,
-0.09152474254369736,
0.10584139078855515,
0.2548635005950928,
-0.19314195215702057,
-0.08199143409729004,
-0.18661963939666748,
0.09290936589241028,
0.1597573161125183,
0.3809083104133606,
0.21381604671478271,
-0.10798953473567963,
0.40485864877700806,
0.06125238537788391,
0.36964741349220276,
-0.08073882013559341,
0.06058752164244652,
0.4059417247772217,
-0.15436744689941406,
0.13724491000175476,
0.39004233479499817,
0.18186946213245392,
-0.0383017435669899,
-0.07118883728981018,
0.24569395184516907,
0.3936653137207031,
0.020888589322566986,
-0.08089055120944977,
-0.13598692417144775,
-0.19599635899066925,
0.23487839102745056,
-0.06129078567028046,
-0.12613146007061005,
0.1668178141117096,
0.1487543284893036,
0.4785161018371582,
-0.27265995740890503,
0.03378071263432503,
-0.10688678920269012,
-0.08207327127456665,
0.004161415621638298,
-0.14043983817100525,
0.07627299427986145,
-0.1396724283695221,
-0.22136105597019196,
-0.21337711811065674,
0.08783934265375137,
0.17162129282951355,
0.18240731954574585,
-0.1318773329257965,
-0.03522808849811554,
-0.014418970793485641,
-0.3036348223686218,
-0.30051928758621216,
-0.0018072724342346191,
-0.2534981966018677,
0.2231881469488144,
0.3331337571144104,
0.2214580774307251,
0.1992170363664627,
0.3562445044517517,
0.6230581998825073,
0.19514182209968567,
-0.20941230654716492,
-0.0026125749573111534,
-0.47025132179260254,
-0.14706648886203766,
-0.11600832641124725,
0.15900303423404694,
0.22258926928043365,
-0.44348639249801636,
0.11452041566371918,
0.29482150077819824,
-0.23103374242782593,
0.14644744992256165,
0.17217005789279938,
-0.2757489085197449,
-0.07256773114204407,
0.4081176519393921,
-0.030917823314666748,
-0.2650769054889679,
-0.49009624123573303,
0.23813596367835999,
-0.44631022214889526,
-0.10418320447206497,
0.4944324791431427,
-0.18161514401435852,
0.04026884213089943,
-0.19483834505081177,
0.13646239042282104,
-0.13399174809455872,
0.260171115398407,
0.15532520413398743,
0.33533790707588196,
-0.10169760882854462,
-0.03106100484728813,
-0.4932495653629303,
0.25397413969039917,
-0.11648029088973999,
-0.4320482313632965,
-0.041696786880493164,
-0.04534183442592621,
0.07773410528898239,
0.06101192533969879,
0.4651678800582886,
0.0012806067243218422,
0.28323453664779663,
-0.24817511439323425,
-0.14798757433891296,
0.26758548617362976,
-0.21275676786899567,
0.04960288852453232,
-0.024912770837545395,
-0.41912364959716797,
0.10817693173885345,
-0.2975165843963623,
0.120784230530262,
-0.20773646235466003,
0.06061360239982605,
0.17610889673233032,
0.2719194293022156,
0.21895742416381836,
0.16271261870861053,
0.6486473083496094,
-0.1869342029094696,
0.03385596722364426,
0.015319854021072388,
0.06540042161941528,
0.11817456781864166,
0.5167351961135864,
0.305804580450058,
0.4324612319469452,
-0.014436770230531693,
-0.32878151535987854,
-0.15191340446472168,
0.5660870671272278,
0.24070416390895844,
-0.2890511453151703,
-0.2169608622789383,
0.24745070934295654,
-0.3637944459915161,
-0.15371465682983398,
0.3994867205619812,
0.1285611391067505,
0.12979894876480103,
-0.09392984211444855,
-0.06098118796944618,
-0.39102688431739807,
0.47007519006729126,
0.03816085308790207,
-0.45449742674827576,
-0.33516475558280945,
0.49128663539886475,
0.2541455030441284,
-0.021075302734971046,
-0.23424944281578064,
0.0915345773100853,
0.40239596366882324,
0.2579370439052582,
-0.3538151979446411,
0.2299419790506363,
-0.2208477407693863,
0.032185811549425125,
-0.008800480514764786,
0.3753810226917267,
0.19657430052757263,
-0.005081597715616226,
-0.18089279532432556,
-0.42167598009109497
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | Weird I have the same output without file changes with black `20.8b1` and isort `5.6.4` using `make style` too | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 19 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
Weird I have the same output without file changes with black `20.8b1` and isort `5.6.4` using `make style` too | [
-0.27692028880119324,
-0.13916970789432526,
-0.10827088356018066,
-0.07155169546604156,
0.2630653381347656,
-0.14509540796279907,
0.38099393248558044,
0.5239134430885315,
-0.2498268485069275,
0.39697492122650146,
0.04410220682621002,
0.10856237262487411,
0.09507595002651215,
0.0070136357098817825,
0.07698045670986176,
0.1875675469636917,
-0.010626345872879028,
0.402831107378006,
-0.14275763928890228,
-0.3082190752029419,
-0.2337053418159485,
0.19465313851833344,
0.018487215042114258,
0.2327945977449417,
-0.43843919038772583,
0.10697309672832489,
-0.017207235097885132,
0.14633576571941376,
-0.3886755704879761,
-0.2789563238620758,
0.06107965111732483,
0.2659566104412079,
-0.408895879983902,
0.10849235951900482,
-0.00011013177572749555,
-0.11225853860378265,
0.409803569316864,
-0.181062713265419,
-0.3191882073879242,
-0.15963561832904816,
0.2661976218223572,
-0.1535348743200302,
0.08193248510360718,
-0.0950407087802887,
-0.0003169737756252289,
-0.3417031466960907,
0.06803307682275772,
0.060719169676303864,
0.11676651984453201,
0.20295844972133636,
0.2374303787946701,
-0.0032462365925312042,
0.007240302860736847,
-0.19587543606758118,
0.5601624250411987,
0.1433328092098236,
0.00757673941552639,
0.08601784706115723,
0.38119417428970337,
0.2459820806980133,
0.3592146337032318,
0.49092745780944824,
-0.33011284470558167,
-0.0009047091007232666,
-0.12576720118522644,
0.11623814702033997,
0.4002907872200012,
-0.23833075165748596,
0.3325282335281372,
0.24934372305870056,
0.410576730966568,
-0.11855631321668625,
0.047258079051971436,
0.02575141191482544,
-0.03358900174498558,
-0.3622111976146698,
-0.02332596480846405,
0.30047938227653503,
-0.13193188607692719,
0.08633789420127869,
-0.16315162181854248,
0.20280219614505768,
-0.02162226289510727,
-0.04090685397386551,
0.09516578912734985,
0.28147295117378235,
-0.12618227303028107,
0.17511774599552155,
-0.2418845146894455,
0.08517983555793762,
-0.14938445389270782,
-0.16502392292022705,
-0.5017861127853394,
-0.029640331864356995,
0.30899539589881897,
0.07820393145084381,
0.05405162274837494,
-0.15027326345443726,
0.01510932669043541,
-0.039606332778930664,
-0.0451728031039238,
0.055456940084695816,
0.08984114974737167,
0.20685520768165588,
-0.2077798694372177,
-0.08148311078548431,
0.3922082185745239,
0.1731526106595993,
0.011069148778915405,
-0.08125806599855423,
0.1550053060054779,
-0.09853420406579971,
0.255541056394577,
-0.20263762772083282,
0.2127056121826172,
0.15528938174247742,
0.5297890901565552,
-0.1827983409166336,
-0.340954452753067,
-0.07256161421537399,
-0.0012884624302387238,
-0.12412408739328384,
-0.45014816522598267,
0.11807039380073547,
-0.015006626024842262,
-0.13752591609954834,
0.3525770306587219,
0.1253989040851593,
0.0014659836888313293,
-0.09329245239496231,
-0.25814318656921387,
-0.019385691732168198,
-0.046139542013406754,
0.019259514287114143,
-0.06678542494773865,
0.1491357535123825,
0.017896730452775955,
0.5352362990379333,
-0.15012331306934357,
-0.22857695817947388,
0.3227842152118683,
0.028906039893627167,
0.5481559634208679,
0.34098803997039795,
-0.38874492049217224,
0.3624005615711212,
0.3310982286930084,
-0.24679645895957947,
-0.06341122835874557,
0.45707717537879944,
-0.12678149342536926,
-0.15907059609889984,
-0.1721722036600113,
0.273822158575058,
0.1654215008020401,
0.12374411523342133,
0.272146612405777,
0.14639391005039215,
0.05983615294098854,
-0.23362025618553162,
0.3103010952472687,
-0.1659286767244339,
-0.13890820741653442,
-0.07945864647626877,
-0.013487722724676132,
0.2994735836982727,
-0.6073562502861023,
-0.09783588349819183,
0.09657564759254456,
-0.18138249218463898,
0.2948325276374817,
-0.03181753680109978,
0.19416546821594238,
-0.11694271117448807,
-0.2937849164009094,
-0.37742745876312256,
0.40844717621803284,
-0.24928613007068634,
0.018147433176636696,
0.14125408232212067,
-0.030145078897476196,
-0.21725353598594666,
0.46423766016960144,
-0.15128706395626068,
0.07983700186014175,
0.17445316910743713,
-0.2625131905078888,
-0.5600358843803406,
0.03967265039682388,
-0.09960543364286423,
-0.15583571791648865,
-0.039132773876190186,
0.026800384745001793,
-0.21982036530971527,
-0.013562675565481186,
-0.1041688546538353,
-0.008645124733448029,
-0.2505439221858978,
0.6325327157974243,
-0.11711971461772919,
-0.05787312984466553,
-0.14768101274967194,
0.6154043674468994,
0.004550501704216003,
0.03954678028821945,
-0.012373976409435272,
0.14598384499549866,
0.16311046481132507,
-0.15902315080165863,
0.4041956663131714,
-0.12783624231815338,
-0.26269838213920593,
-0.2583824098110199,
-0.24951717257499695,
-0.1075984537601471,
-0.5141176581382751,
0.1584218144416809,
0.13891386985778809,
-0.16059157252311707,
0.1610720008611679,
0.16661575436592102,
0.17393681406974792,
0.07721664756536484,
-0.028737064450979233,
-0.16054382920265198,
0.07240284979343414,
0.011892946437001228,
-0.26408088207244873,
-0.18219450116157532,
0.017584308981895447,
0.004915684461593628,
-0.06455326080322266,
-0.20515313744544983,
0.26775676012039185,
0.11134146898984909,
0.01874644309282303,
-0.230042964220047,
-0.22687511146068573,
-0.10729340463876724,
-0.014793679118156433,
0.11935538798570633,
0.18212078511714935,
0.06617549061775208,
-0.08891013264656067,
0.032605480402708054,
0.26193755865097046,
0.06472542881965637,
0.06954405456781387,
-0.17519345879554749,
-0.18865402042865753,
-0.10804161429405212,
0.04634958878159523,
0.0693015307188034,
-0.34317246079444885,
-0.32677873969078064,
0.19619004428386688,
0.404377281665802,
0.08609995990991592,
0.07774190604686737,
0.4120827317237854,
0.7097220420837402,
-0.14401206374168396,
-0.06412478536367416,
-0.0900610014796257,
-0.06653737276792526,
-0.2120395004749298,
-0.036189861595630646,
0.09716483950614929,
0.09271775931119919,
0.20319747924804688,
-0.27277716994285583,
0.3054967224597931,
0.022123534232378006,
-0.26888933777809143,
0.41164430975914,
0.026969466358423233,
-0.09658745676279068,
0.12201007455587387,
-0.15288066864013672,
-0.06642061471939087,
-0.30353620648384094,
0.021280206739902496,
-0.15573789179325104,
0.04952448979020119,
-0.19221997261047363,
0.0033427849411964417,
-0.1706678569316864,
-0.05405285581946373,
-0.2655433714389801,
0.06858261674642563,
-0.36886316537857056,
-0.25951215624809265,
0.09627474844455719,
0.0418156273663044,
-0.09195852279663086,
0.21358609199523926,
0.341717004776001,
-0.0785386711359024,
0.06891628354787827,
0.09339112043380737,
-0.21312877535820007,
-0.08012949675321579,
-0.22130745649337769,
0.15075135231018066,
-0.36021149158477783,
0.26487866044044495,
0.2540627121925354,
-0.8005275726318359,
-0.006308453157544136,
-0.2360389232635498,
-0.36072295904159546,
0.05340574309229851,
-0.15943144261837006,
0.07032591849565506,
0.4019969701766968,
-0.04968695342540741,
0.07560165226459503,
-0.0029866714030504227,
0.24842461943626404,
-0.3545682728290558,
-0.228080615401268,
-0.13831034302711487,
-0.3751428723335266,
-0.03002120554447174,
-0.23403304815292358,
-0.2977047562599182,
-0.29690900444984436,
-0.25867563486099243,
0.19200348854064941,
0.10408176481723785,
0.17511709034442902,
0.3084804117679596,
0.04451523721218109,
-0.05297892913222313,
-0.14600034058094025,
0.1119520366191864,
-0.2982258200645447,
-0.2636116147041321,
-0.09718047082424164,
-0.018470315262675285,
0.04706038907170296,
0.19179876148700714,
0.1980205923318863,
-0.031806331127882004,
-0.261225163936615,
-0.22777040302753448,
-0.3343781530857086,
-0.1048700362443924,
0.2786230146884918,
0.2153051495552063,
0.142290398478508,
0.4597758650779724,
0.21899256110191345,
-0.23697854578495026,
-0.2089364230632782,
-0.32104337215423584,
-0.018038660287857056,
-0.30963820219039917,
-0.03525611013174057,
-0.2773771584033966,
0.16243913769721985,
-0.21225856244564056,
0.4371609687805176,
0.10042069852352142,
-0.06997592747211456,
-0.07307146489620209,
0.028391949832439423,
0.7056097984313965,
-0.4381134808063507,
-0.15185002982616425,
0.03141053020954132,
0.18163180351257324,
-0.07731840014457703,
0.20945720374584198,
-0.15536516904830933,
0.23484167456626892,
0.011650178581476212,
0.036191899329423904,
-0.202021986246109,
-0.13359828293323517,
0.004292571917176247,
0.3253462612628937,
-0.10792041569948196,
0.1542285531759262,
0.11883649975061417,
-0.13032175600528717,
-0.18979865312576294,
-0.19093680381774902,
0.4299219250679016,
0.3635457456111908,
0.0971367210149765,
-0.34375908970832825,
0.28413745760917664,
-0.10044010728597641,
0.5272727608680725,
0.2618500888347626,
-0.1787208467721939,
-0.008858773857355118,
-0.23982572555541992,
0.17276161909103394,
0.2073504626750946,
0.13102038204669952,
-0.03504377603530884,
0.05018939822912216,
0.47814854979515076,
0.017304107546806335,
-0.23754394054412842,
-0.4520924389362335,
-0.42866602540016174,
-0.003982003312557936,
0.5982173085212708,
0.21084657311439514,
-0.1239585354924202,
-0.3400517702102661,
0.2914291322231293,
0.4152579605579376,
-0.1821252554655075,
-0.05882209539413452,
-0.44325411319732666,
-0.07982438802719116,
-0.0858779326081276,
-0.059488631784915924,
-0.14136292040348053,
-0.04547271132469177,
-0.5977182388305664,
-0.34088993072509766,
0.2275705188512802,
0.01797455921769142,
0.04733174294233322,
0.00859212689101696,
0.4304690659046173,
-0.028145166113972664,
-0.11908683180809021,
-0.16012664139270782,
0.33303436636924744,
0.03857719153165817,
0.22197338938713074,
-0.31029173731803894,
-0.007373355329036713,
0.05392956733703613,
-0.4322371482849121,
0.21363604068756104,
0.47737425565719604,
0.08290056884288788,
0.15135163068771362,
-0.1430322229862213,
0.21391351521015167,
-0.24104073643684387,
-0.04525623470544815,
0.4930012822151184,
0.22433128952980042,
-0.10760462284088135,
-0.404886394739151,
0.153047576546669,
0.11005763709545135,
-0.2759783864021301,
0.23981253802776337,
-0.12089970707893372,
-0.008144641295075417,
-0.05589614808559418,
0.03401078283786774,
0.7908980846405029,
0.006653454154729843,
0.2350379079580307,
-0.026385542005300522,
-0.08587648719549179,
0.46541497111320496,
0.39623600244522095,
0.10457751154899597,
-0.6015490293502808,
-0.41580674052238464,
0.005860315635800362,
-0.04524674639105797,
0.2984553575515747,
0.07219323515892029,
-0.27147459983825684,
0.12148844450712204,
-0.11491622030735016,
0.06539717316627502,
0.24921093881130219,
-0.14179006218910217,
-0.09768461436033249,
0.3195902109146118,
0.24406327307224274,
0.13759389519691467,
-0.005336124449968338,
0.17096665501594543,
0.017115890979766846,
-0.06013429909944534,
-0.09258535504341125,
-0.32542139291763306,
-0.21781891584396362,
-0.06954251229763031,
-0.1490180790424347,
0.16976605355739594,
0.13461652398109436,
-0.36516261100769043,
-0.40988078713417053,
-0.22927957773208618,
0.38980400562286377,
0.4144396185874939,
0.21056127548217773,
0.13887818157672882,
0.055914752185344696,
0.2288295179605484,
-0.034482408314943314,
0.2150120735168457,
0.323148250579834,
-0.021656764671206474,
-0.6275522112846375,
-0.06235044449567795,
-0.1930711269378662,
-0.18575136363506317,
-0.31346744298934937,
-0.09403197467327118,
-0.0590318888425827,
-0.2785669267177582,
-0.0914294421672821,
-0.1851898431777954,
0.024271950125694275,
-0.30119195580482483,
0.10136137902736664,
0.12497379630804062,
-0.21179547905921936,
0.06440942734479904,
0.08523624390363693,
-0.7732999324798584,
-0.1281631886959076,
-0.022013239562511444,
0.045557595789432526,
0.1438537836074829,
0.33762282133102417,
-0.1949133425951004,
0.0932413786649704,
-0.2752029597759247,
0.14510086178779602,
0.07772594690322876,
-0.6100987792015076,
0.22414787113666534,
0.2438206821680069,
0.16405628621578217,
0.013402925804257393,
0.2657037675380707,
0.051619309931993484,
0.39049991965293884,
-0.26376447081565857,
-0.18616479635238647,
-0.2404175102710724,
-0.1500452309846878,
0.0637253075838089,
0.214639812707901,
0.19029152393341064,
-0.06824047863483429,
0.24084007740020752,
-0.10837225615978241,
-0.3985895812511444,
0.05169229209423065,
0.45189958810806274,
0.10053005069494247,
0.3158295452594757,
-0.17430207133293152,
-0.025198088958859444,
-0.13447017967700958,
0.1526898443698883,
-0.05646611005067825,
-0.44355958700180054,
-0.24298545718193054,
-0.2913253605365753,
0.13976658880710602,
-0.20206868648529053,
-0.005694731138646603,
0.03759436309337616,
0.14195682108402252,
0.1335146278142929,
-0.07435600459575653,
0.32990697026252747,
0.21774330735206604,
0.006252847611904144,
0.35616806149482727,
-0.47188159823417664,
0.05106484144926071,
-0.09781129658222198,
-0.059928685426712036,
-0.0999336838722229,
0.27718138694763184,
-0.13898417353630066,
0.09493370354175568,
-0.014085703529417515,
-0.1142980083823204,
0.10061991959810257,
-0.03231595456600189,
-0.2696935534477234,
0.16099604964256287,
0.03884262591600418,
-0.1105005145072937,
0.14380702376365662,
-0.13180480897426605,
0.3350909948348999,
0.2979609966278076,
-0.01780395209789276,
-0.38159406185150146,
0.16039389371871948,
0.2861599922180176,
-0.29180148243904114,
0.04592317342758179,
-0.007255610078573227,
0.1398596614599228,
0.06408362090587616,
0.3063727915287018,
0.33780089020729065,
-0.3604010045528412,
0.4931154251098633,
0.17374777793884277,
0.2565627098083496,
-0.16687597334384918,
0.22072555124759674,
0.4880179464817047,
-0.08257865905761719,
0.18192239105701447,
0.3374267518520355,
0.1811882108449936,
-0.25653013586997986,
0.111641526222229,
0.18848884105682373,
0.2103797197341919,
-0.02616790682077408,
-0.23907920718193054,
0.019976943731307983,
-0.08316828310489655,
0.27009931206703186,
0.06262942403554916,
-0.25012269616127014,
0.13307368755340576,
0.319524884223938,
0.13773217797279358,
-0.32306718826293945,
-0.006862264592200518,
-0.10167716443538666,
-0.1071004718542099,
-0.10015939921140671,
-0.12424881756305695,
0.20855741202831268,
-0.11381277441978455,
-0.17207789421081543,
-0.11938855051994324,
0.02940461039543152,
0.32446402311325073,
0.19865986704826355,
-0.06101760268211365,
-0.14947129786014557,
-0.09302976727485657,
-0.420852929353714,
-0.24360042810440063,
0.15905475616455078,
-0.06996934115886688,
0.12037520855665207,
0.2992725372314453,
0.2265862673521042,
0.41301795840263367,
0.45026695728302,
0.6808547377586365,
0.35816600918769836,
0.0062652574852108955,
0.02865033969283104,
-0.31238991022109985,
-0.13469235599040985,
-0.06048794090747833,
0.15638704597949982,
0.20122496783733368,
-0.38845348358154297,
0.02049798145890236,
0.18582865595817566,
-0.18381185829639435,
0.22956062853336334,
0.17769625782966614,
0.010835656896233559,
-0.04977209493517876,
0.37991398572921753,
0.029204292222857475,
-0.18578040599822998,
-0.4160013198852539,
0.31959739327430725,
-0.25283902883529663,
-0.013133364729583263,
0.49703249335289,
0.1267659217119217,
0.058562807738780975,
-0.2499624639749527,
0.12851528823375702,
-0.03386187553405762,
0.06861492246389389,
0.20148232579231262,
0.09828175604343414,
0.14007405936717987,
0.14127808809280396,
-0.41053032875061035,
0.33163169026374817,
0.048395443707704544,
-0.1315317153930664,
-0.2285543978214264,
-0.12534382939338684,
0.09126400202512741,
-0.007879573851823807,
0.5338862538337708,
-0.12262143194675446,
0.03827054053544998,
-0.2042560577392578,
-0.367369145154953,
0.23499754071235657,
0.07763001322746277,
-0.006386060267686844,
0.03727278858423233,
-0.3603794574737549,
0.11181718111038208,
-0.27266091108322144,
0.24030190706253052,
-0.25582993030548096,
0.15359854698181152,
0.14900964498519897,
0.20721444487571716,
0.2922220230102539,
0.4065586030483246,
0.4319418668746948,
-0.19835713505744934,
-0.1660439372062683,
0.09259312599897385,
0.021289467811584473,
-0.005628091748803854,
0.6415748596191406,
0.34247368574142456,
0.3839688003063202,
0.18722672760486603,
-0.3293400704860687,
-0.02855594828724861,
0.6063523292541504,
0.022372931241989136,
-0.18880949914455414,
-0.1794438362121582,
0.19211317598819733,
-0.13749796152114868,
-0.18202659487724304,
0.16245412826538086,
0.03033733181655407,
0.0709199383854866,
-0.20406009256839752,
-0.2171047031879425,
-0.485509991645813,
0.4412217438220978,
0.04087333008646965,
-0.4781765639781952,
-0.4823738634586334,
0.19023734331130981,
0.09354197233915329,
0.14991633594036102,
-0.2509119510650635,
0.20482388138771057,
0.4250626266002655,
0.0028940141201019287,
-0.1363421380519867,
0.1348303258419037,
-0.12005393207073212,
0.052086200565099716,
0.038558680564165115,
0.28352370858192444,
0.24695318937301636,
-0.21152649819850922,
-0.2061663568019867,
-0.49338871240615845
] |
https://github.com/huggingface/datasets/pull/503 | CompGuessWhat?! 0.2.0 | I think that's because black doesn't revert the changes you first did with the old version.
Could you open a new PR with only the ComGuessWhat files updated ? Hopefully now that black is up to date it should work directly (and to avoid 100+ files changes) | We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset. | 47 | text: CompGuessWhat?! 0.2.0
We updated some metadata information associated with the dataset. In addition, we've updated the `create_dummy_data.py` script to generate data samples for the dataset.
I think that's because black doesn't revert the changes you first did with the old version.
Could you open a new PR with only the ComGuessWhat files updated ? Hopefully now that black is up to date it should work directly (and to avoid 100+ files changes) | [
-0.5211007595062256,
-0.17526324093341827,
-0.03239929676055908,
-0.1856309473514557,
0.08375649154186249,
-0.07843316346406937,
0.2206861674785614,
0.4375849664211273,
-0.18000902235507965,
0.1276310384273529,
0.09729858487844467,
0.3008299767971039,
0.14861208200454712,
0.19341468811035156,
-0.08332852274179459,
0.26965683698654175,
0.002149544656276703,
0.5028558373451233,
-0.347656786441803,
-0.059025827795267105,
-0.37276357412338257,
0.13380631804466248,
-0.2580021023750305,
0.2534855902194977,
-0.25752806663513184,
0.04049157723784447,
-0.1736002266407013,
0.4499921202659607,
-0.28848591446876526,
-0.2635984718799591,
0.25134894251823425,
0.2931738793849945,
-0.09152547270059586,
0.44477856159210205,
-0.00009854357631411403,
-0.2579236626625061,
0.3455883264541626,
-0.08217053860425949,
-0.16527050733566284,
-0.306151807308197,
-0.01649910770356655,
-0.17064066231250763,
0.07392179220914841,
-0.01824551820755005,
-0.2440071403980255,
-0.3025871217250824,
-0.03288162499666214,
0.12363097071647644,
0.24069221317768097,
0.09970549494028091,
0.31788262724876404,
0.2587607502937317,
0.22261260449886322,
-0.3325831890106201,
0.19787319004535675,
0.05239815264940262,
-0.17148931324481964,
0.18510429561138153,
0.4331798255443573,
-0.17411568760871887,
0.25154465436935425,
0.3384421169757843,
0.035824015736579895,
0.05245005711913109,
0.30056750774383545,
-0.07670214772224426,
0.5373057723045349,
-0.04179369658231735,
0.14420680701732635,
0.24140655994415283,
0.21761366724967957,
-0.11775528639554977,
-0.07561247795820236,
0.10831170529127121,
-0.1825496107339859,
-0.5767371654510498,
0.014944959431886673,
0.17447438836097717,
-0.11583690345287323,
0.15202617645263672,
-0.15420569479465485,
0.03828560933470726,
-0.03971836715936661,
0.014650296419858932,
0.027149632573127747,
0.5137783288955688,
-0.03171573206782341,
0.095423623919487,
0.24616120755672455,
-0.07000550627708435,
0.2388288974761963,
0.1678829938173294,
-0.35207390785217285,
-0.04121716320514679,
-0.1572861224412918,
0.008327335119247437,
0.25044524669647217,
0.18034689128398895,
0.1497211456298828,
-0.0001475512981414795,
0.08392461389303207,
0.3624601662158966,
0.06815837323665619,
0.2108757197856903,
0.055575866252183914,
-0.08148542046546936,
0.10343952476978302,
0.24446769058704376,
0.3627641201019287,
0.23021294176578522,
-0.019027050584554672,
-0.13922029733657837,
-0.007798503618687391,
-0.19216758012771606,
0.09930779039859772,
0.1578255593776703,
0.49311399459838867,
-0.5282140374183655,
-0.2570221722126007,
-0.14006276428699493,
0.07206085324287415,
0.10559483617544174,
-0.1862436830997467,
0.37750065326690674,
0.0591360442340374,
-0.07724351435899734,
0.3648359775543213,
0.16123588383197784,
-0.210628479719162,
0.14856061339378357,
-0.2730700969696045,
-0.31336912512779236,
-0.32000452280044556,
-0.07302094250917435,
-0.030241163447499275,
0.01765347644686699,
0.2067619413137436,
0.21636022627353668,
-0.2309214025735855,
0.002889864146709442,
0.2944292724132538,
0.08862608671188354,
0.1719597727060318,
0.2328808307647705,
-0.3645702600479126,
-0.012377929873764515,
0.16982851922512054,
-0.1704489290714264,
-0.07969510555267334,
0.23345082998275757,
-0.20464149117469788,
-0.3052749037742615,
-0.23206482827663422,
0.2997273802757263,
0.16109897196292877,
0.1459220051765442,
0.13629525899887085,
0.1460312455892563,
-0.1301117241382599,
-0.4560098946094513,
-0.10192758589982986,
-0.37397485971450806,
-0.08964354544878006,
-0.15188930928707123,
0.16387353837490082,
0.246240496635437,
-0.6483462452888489,
0.13541756570339203,
0.2963210642337799,
-0.20715905725955963,
0.15295134484767914,
0.024132855236530304,
-0.16698671877384186,
-0.5236697196960449,
-0.26791030168533325,
-0.20299693942070007,
0.018631719052791595,
-0.05701347440481186,
0.01846380904316902,
-0.07574327290058136,
-0.10535474866628647,
-0.20383386313915253,
0.09586910903453827,
0.03942473977804184,
-0.40316417813301086,
-0.1707036942243576,
-0.23465663194656372,
-0.008919725194573402,
-0.08078461140394211,
0.04303513467311859,
-0.2551555931568146,
-0.18858087062835693,
0.3052314519882202,
-0.1560787856578827,
0.027734778821468353,
0.05847214162349701,
0.08394909650087357,
-0.02818608283996582,
0.5890058875083923,
-0.24239733815193176,
-0.07472473382949829,
0.08225694298744202,
0.47881823778152466,
-0.058605313301086426,
0.012531884014606476,
-0.06399142742156982,
0.13146798312664032,
0.04899222403764725,
-0.19420292973518372,
0.359285831451416,
0.07643952965736389,
-0.1573065221309662,
-0.19973361492156982,
-0.15031448006629944,
-0.08800667524337769,
-0.4062017500400543,
0.22382065653800964,
0.31902387738227844,
0.03248137980699539,
-0.22378411889076233,
0.04939425364136696,
0.2387787252664566,
-0.03525518625974655,
0.05825089290738106,
-0.19960305094718933,
-0.04005241394042969,
-0.2940460741519928,
-0.31277036666870117,
0.08606916666030884,
0.10839128494262695,
0.2676585018634796,
-0.17384789884090424,
-0.20301499962806702,
0.3927054703235626,
-0.1370472013950348,
0.01920861005783081,
-0.03854919224977493,
-0.0503891259431839,
0.07558165490627289,
-0.012759428471326828,
0.1732969433069229,
0.33186519145965576,
0.11525839567184448,
-0.07338056713342667,
-0.04500165581703186,
0.300136923789978,
0.059830211102962494,
-0.09204526990652084,
0.04252739995718002,
-0.03683740645647049,
0.1867891252040863,
-0.14459174871444702,
0.03564242273569107,
-0.088592529296875,
-0.12126989662647247,
0.09685775637626648,
0.0167258158326149,
-0.1539495587348938,
-0.2884843349456787,
0.22126981616020203,
0.3499252498149872,
0.046719055622816086,
0.07271531224250793,
-0.20486614108085632,
-0.23158961534500122,
-0.18547961115837097,
0.2842475175857544,
0.19711171090602875,
0.2784774899482727,
0.27856555581092834,
-0.11831416189670563,
0.2544766664505005,
-0.20652826130390167,
-0.16247032582759857,
0.15172716975212097,
-0.08593037724494934,
0.17581665515899658,
-0.14753371477127075,
0.07370840013027191,
-0.14454036951065063,
-0.23618587851524353,
0.16734789311885834,
-0.0532691553235054,
0.06280446797609329,
-0.1295640766620636,
-0.023867817595601082,
-0.47797268629074097,
-0.08554233610630035,
-0.11294378340244293,
0.0851144939661026,
-0.10911166667938232,
-0.13763509690761566,
0.13167360424995422,
0.16970890760421753,
-0.23622731864452362,
0.36548489332199097,
-0.01855781301856041,
-0.003764122724533081,
-0.013422654941678047,
0.2946086823940277,
-0.2494439333677292,
-0.27231642603874207,
-0.21427378058433533,
0.17632515728473663,
-0.14319244027137756,
0.3598633110523224,
0.28501060605049133,
-0.398076593875885,
0.01069645956158638,
-0.1620020568370819,
-0.5332232713699341,
-0.02494090050458908,
-0.2378643900156021,
0.2605907917022705,
0.25356391072273254,
0.1001107394695282,
-0.04810089245438576,
-0.18293066322803497,
0.44121426343917847,
-0.6788377165794373,
-0.2105041742324829,
-0.05311878025531769,
-0.09489838033914566,
-0.21509680151939392,
-0.29509714245796204,
-0.21742358803749084,
-0.31480473279953003,
-0.4004894495010376,
0.10362395644187927,
0.34856122732162476,
0.045346975326538086,
0.2075076848268509,
0.31004148721694946,
-0.06412771344184875,
-0.10474950075149536,
0.05716080218553543,
-0.3120690584182739,
-0.1734352707862854,
0.16645006835460663,
-0.1596972644329071,
-0.34191134572029114,
0.2612193822860718,
0.2379700392484665,
0.001225348562002182,
-0.13422587513923645,
-0.1823543906211853,
-0.4710589051246643,
0.08920476585626602,
0.29009896516799927,
0.2939528226852417,
-0.010681172832846642,
0.5127077102661133,
0.18407893180847168,
-0.2735544443130493,
-0.1430802345275879,
-0.7189223766326904,
-0.20200830698013306,
-0.08697186410427094,
0.4332108199596405,
-0.06583607196807861,
0.20229771733283997,
-0.253357470035553,
0.2694977819919586,
-0.14690634608268738,
-0.16582125425338745,
0.1132546216249466,
0.03812475502490997,
0.5666438937187195,
-0.2460261583328247,
-0.24081763625144958,
0.0792713388800621,
-0.014843612909317017,
0.12559157609939575,
0.1612684726715088,
0.02571840211749077,
-0.2805822193622589,
-0.27075809240341187,
-0.18189875781536102,
-0.28545498847961426,
-0.19161134958267212,
-0.11906766891479492,
0.22962290048599243,
0.0025736019015312195,
0.18948884308338165,
0.19683095812797546,
-0.292042076587677,
-0.17290988564491272,
-0.053550802171230316,
0.1898961365222931,
-0.05451279133558273,
0.06856682896614075,
-0.19665008783340454,
0.3098528981208801,
-0.13866141438484192,
0.5810790657997131,
-0.22014492750167847,
-0.034636691212654114,
0.06698106229305267,
-0.2290354073047638,
-0.07406985759735107,
-0.14168787002563477,
0.06530280411243439,
-0.08112044632434845,
-0.02198062837123871,
0.41519346833229065,
-0.08505351841449738,
-0.0832538977265358,
-0.38207387924194336,
-0.3306801915168762,
0.08276434242725372,
0.3601512014865875,
0.16467280685901642,
-0.29689645767211914,
-0.223433718085289,
0.3049781322479248,
0.3533920645713806,
0.038364049047231674,
0.14547820389270782,
-0.27615416049957275,
-0.2715628743171692,
-0.3786303699016571,
0.1432207226753235,
-0.2478899508714676,
-0.0508759431540966,
-0.3762117326259613,
-0.16220927238464355,
0.03965180367231369,
-0.02513626404106617,
0.065791554749012,
0.3216409683227539,
0.42952296137809753,
-0.12973281741142273,
0.0012420862913131714,
-0.0015146546065807343,
0.3123832046985626,
0.2972833216190338,
0.3886445462703705,
0.10085602104663849,
-0.14852222800254822,
0.055107876658439636,
-0.19217178225517273,
0.20719578862190247,
0.3706395626068115,
-0.09465113282203674,
0.05759883299469948,
0.10754124075174332,
0.15398629009723663,
-0.09166476875543594,
-0.019225703552365303,
0.3084375560283661,
0.2806023955345154,
-0.09138210862874985,
-0.2882201671600342,
-0.07423996180295944,
-0.05145847797393799,
-0.23363319039344788,
-0.1373213827610016,
-0.22868670523166656,
0.04652644693851471,
0.25783127546310425,
0.03248956426978111,
1.0034575462341309,
-0.06640258431434631,
-0.00541866198182106,
-0.04837494343519211,
-0.10686089843511581,
0.43817031383514404,
0.2818640470504761,
0.1296723186969757,
-0.44495904445648193,
-0.32647719979286194,
0.10802944004535675,
-0.06857924908399582,
0.3677597641944885,
-0.020794644951820374,
-0.2912733554840088,
0.26882582902908325,
0.15012791752815247,
0.10156204551458359,
0.0712541937828064,
-0.007467873394489288,
0.07110704481601715,
0.10400322079658508,
-0.04190332442522049,
0.3192766010761261,
0.12259212136268616,
0.08194322884082794,
-0.042149513959884644,
-0.17881415784358978,
-0.019574888050556183,
-0.34119391441345215,
-0.16391491889953613,
0.10901439934968948,
-0.2842898666858673,
-0.012189347296953201,
0.012118780985474586,
-0.304709255695343,
-0.14158180356025696,
-0.049680840224027634,
0.280290812253952,
0.4679342210292816,
-0.1387108713388443,
0.19616401195526123,
0.05566273629665375,
-0.11618614196777344,
-0.07110760360956192,
0.1806073635816574,
0.3279806077480316,
-0.1277483105659485,
-0.36420005559921265,
0.11006371676921844,
-0.02658066898584366,
-0.3389197587966919,
-0.3068557381629944,
-0.05708736181259155,
-0.009926818311214447,
0.03920082375407219,
-0.07149893045425415,
0.03725646063685417,
-0.024071503430604935,
-0.4997747838497162,
0.2779647707939148,
0.17101700603961945,
-0.2767440974712372,
0.18032854795455933,
0.19932018220424652,
-0.313556432723999,
-0.16250430047512054,
0.0944196954369545,
-0.02437048777937889,
-0.021296190097928047,
0.38680917024612427,
0.09889188408851624,
0.07584580779075623,
-0.29523685574531555,
-0.3320370614528656,
0.19714488089084625,
-0.30908140540122986,
0.21824020147323608,
0.20735740661621094,
-0.2750994563102722,
0.2555370330810547,
0.40278729796409607,
0.1840035766363144,
0.13736726343631744,
-0.08499816060066223,
-0.10660944879055023,
-0.4650159478187561,
-0.04927395284175873,
0.09808628261089325,
0.2341378778219223,
0.13763007521629333,
0.15900765359401703,
0.04874059557914734,
0.12694241106510162,
-0.4915541708469391,
0.0873149037361145,
-0.18737000226974487,
0.2012430876493454,
-0.09536471217870712,
-0.12947702407836914,
-0.05030054226517677,
-0.1120014637708664,
0.20709753036499023,
0.20829738676548004,
-0.3313089907169342,
-0.2815885543823242,
-0.21879717707633972,
0.09927646815776825,
-0.0407700315117836,
-0.1249464824795723,
-0.027271725237369537,
-0.14044234156608582,
0.0749116986989975,
0.003146058414131403,
0.11184455454349518,
-0.0035803504288196564,
-0.04012523591518402,
-0.008488720282912254,
0.22330032289028168,
-0.029883749783039093,
0.17545156180858612,
-0.0866943746805191,
0.06744310259819031,
0.19244490563869476,
-0.3468552827835083,
0.00788913294672966,
-0.17107897996902466,
-0.04094062000513077,
0.3129785656929016,
0.004186183214187622,
-0.026317574083805084,
0.3229316771030426,
0.27499428391456604,
-0.0925997644662857,
0.030079517513513565,
-0.1503271460533142,
0.5213122367858887,
0.348777711391449,
0.08774252235889435,
0.00957157090306282,
0.3282289206981659,
0.306657999753952,
-0.5283211469650269,
0.1639796644449234,
0.14524687826633453,
0.0005363151431083679,
0.14618255198001862,
0.11347344517707825,
0.2483399510383606,
-0.1122221052646637,
0.22051328420639038,
0.18637797236442566,
0.20599398016929626,
-0.28187811374664307,
-0.07616779208183289,
0.26751959323883057,
-0.2954627573490143,
0.00769241526722908,
0.5110769271850586,
0.2025662511587143,
-0.1007685586810112,
0.13091623783111572,
-0.11718802899122238,
0.03155308961868286,
0.05678105354309082,
0.07808580994606018,
-0.11689940840005875,
-0.16727860271930695,
0.22915765643119812,
0.11336001753807068,
0.14688962697982788,
0.02776225656270981,
0.1666056215763092,
0.3034777343273163,
-0.4253487288951874,
-0.1091093122959137,
-0.17559807002544403,
0.21900053322315216,
-0.20113664865493774,
-0.1736878752708435,
-0.09028994292020798,
-0.1843944489955902,
-0.06695236265659332,
-0.1367770880460739,
-0.05816846713423729,
0.1613207757472992,
0.289229154586792,
-0.1631944477558136,
-0.08455608785152435,
-0.1679724007844925,
-0.21743911504745483,
-0.290355384349823,
0.17308834195137024,
-0.02591337263584137,
0.16221372783184052,
0.14875809848308563,
0.1518351435661316,
0.33476489782333374,
0.4393659234046936,
0.6334872245788574,
0.41414329409599304,
-0.16493868827819824,
0.17689301073551178,
-0.12191571295261383,
-0.09845604747533798,
-0.15857316553592682,
0.33774036169052124,
0.3473477065563202,
-0.059237945824861526,
0.17704403400421143,
0.2545342743396759,
-0.2702564299106598,
0.3158591687679291,
-0.19314835965633392,
0.13385379314422607,
-0.04901989549398422,
0.13943102955818176,
0.08952070772647858,
-0.3779669404029846,
-0.26301488280296326,
0.03351098671555519,
-0.07114964723587036,
0.23808994889259338,
0.325539767742157,
0.043456654995679855,
0.138153076171875,
-0.3152998685836792,
0.18961313366889954,
0.09418950974941254,
0.24804091453552246,
0.18747788667678833,
0.21629548072814941,
-0.13315452635288239,
-0.04969072714447975,
-0.6520025134086609,
0.2752401530742645,
-0.1108701080083847,
-0.13470475375652313,
-0.18898944556713104,
-0.049030642956495285,
0.4090522229671478,
0.07962997257709503,
0.32313650846481323,
-0.10318029671907425,
0.10964922606945038,
-0.1405782848596573,
-0.396961510181427,
0.17523039877414703,
0.11079700291156769,
-0.12438143789768219,
0.3262311816215515,
-0.3123869001865387,
0.021263301372528076,
0.01832941547036171,
0.23588120937347412,
-0.07375979423522949,
0.16233095526695251,
0.07646800577640533,
0.1759621948003769,
0.3512803614139557,
0.24815379083156586,
0.3966202437877655,
-0.1205940917134285,
-0.04184754937887192,
-0.2568705379962921,
-0.2492591291666031,
-0.26169344782829285,
0.24950239062309265,
0.14896683394908905,
0.23723453283309937,
0.13116556406021118,
-0.23672203719615936,
-0.21791280806064606,
0.34360337257385254,
-0.041419751942157745,
-0.06085684150457382,
-0.07392945885658264,
0.3615148067474365,
-0.07965510338544846,
-0.20243079960346222,
0.17391712963581085,
0.1331491321325302,
-0.08855755627155304,
-0.09244448691606522,
-0.26873308420181274,
-0.4116779565811157,
0.5179085731506348,
0.2404632270336151,
-0.15956434607505798,
-0.2846386730670929,
0.20054306089878082,
0.029716432094573975,
-0.0420624241232872,
-0.47298336029052734,
0.20907658338546753,
0.04751969873905182,
0.10467369109392166,
-0.14339584112167358,
0.17737461626529694,
-0.27427276968955994,
-0.1038128137588501,
-0.027954021468758583,
0.2804062068462372,
0.24817803502082825,
-0.12182819098234177,
-0.1683902144432068,
-0.04909307137131691
] |
https://github.com/huggingface/datasets/pull/499 | Narrativeqa (with full text) | I took a look at the dummy data creation for this dataset.
Maybe it didn't work on your side might be because `master.zip` and `narrativeqa_full_text.zip` are supposed to be directories and not acutal zip files in the dummy data folder.
I managed to make it work with this `dummy_data.zip` file:
https://drive.google.com/file/d/1G9ZHAjelazNApbFI0ep2dnSAWklXgGMd/view?usp=sharing | Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious). | 51 | text: Narrativeqa (with full text)
Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious).
I took a look at the dummy data creation for this dataset.
Maybe it didn't work on your side might be because `master.zip` and `narrativeqa_full_text.zip` are supposed to be directories and not acutal zip files in the dummy data folder.
I managed to make it work with this `dummy_data.zip` file:
https://drive.google.com/file/d/1G9ZHAjelazNApbFI0ep2dnSAWklXgGMd/view?usp=sharing | [
-0.1576082706451416,
0.09083041548728943,
-0.11899399757385254,
0.18413527309894562,
-0.026937738060951233,
0.005620718002319336,
0.19488637149333954,
0.18560393154621124,
-0.2638702392578125,
0.09873349964618683,
0.048133715987205505,
0.0007443838403560221,
0.2755507528781891,
0.5357785224914551,
-0.06765378266572952,
0.11276742815971375,
-0.0025813281536102295,
-0.0023922324180603027,
0.04825631529092789,
0.00865490734577179,
-0.14240533113479614,
0.4095199704170227,
-0.23768097162246704,
-0.21453295648097992,
-0.27401140332221985,
0.01689198426902294,
-0.24419313669204712,
0.2373460829257965,
-0.18375127017498016,
-0.13882918655872345,
0.02803177200257778,
0.2144276648759842,
0.07294697314500809,
0.4639570415019989,
-0.00009884523751679808,
-0.1987518072128296,
0.1983179897069931,
-0.29999950528144836,
-0.2968612611293793,
-0.11027662456035614,
0.13736900687217712,
-0.17933784425258636,
-0.12760387361049652,
0.003080502152442932,
-0.19450974464416504,
-0.2983154356479645,
0.1351533681154251,
-0.055178023874759674,
0.19893023371696472,
0.2580602765083313,
0.28585758805274963,
-0.12682044506072998,
0.07031705975532532,
-0.08936150372028351,
0.004502296447753906,
0.1657148003578186,
-0.2242661863565445,
0.2192910611629486,
0.4189356863498688,
-0.10819733887910843,
0.02020304650068283,
0.30501291155815125,
0.11813418567180634,
-0.047787342220544815,
0.0174914188683033,
0.20293602347373962,
0.024007055908441544,
-0.17003752291202545,
0.25009703636169434,
0.34632742404937744,
0.7192459106445312,
-0.31631723046302795,
-0.24492184817790985,
-0.041025176644325256,
-0.09312181919813156,
-0.28900662064552307,
0.2907577157020569,
0.3548262119293213,
-0.10161487758159637,
0.1450652778148651,
0.16713880002498627,
0.14427141845226288,
-0.15930011868476868,
0.09070125222206116,
-0.3457602262496948,
0.1203802227973938,
-0.09359201788902283,
-0.2703111171722412,
0.020608574151992798,
-0.22792138159275055,
0.15577158331871033,
-0.19056469202041626,
-0.22259369492530823,
0.02279914729297161,
-0.005098309367895126,
-0.1541626751422882,
-0.01731511950492859,
-0.014606811106204987,
0.11696089059114456,
-0.27559179067611694,
0.08583950251340866,
0.18073177337646484,
-0.08631715923547745,
0.1134512722492218,
0.1761402040719986,
0.16403216123580933,
0.16208979487419128,
0.18674181401729584,
0.032331518828868866,
0.19834451377391815,
0.1402532309293747,
-0.23561769723892212,
-0.14091786742210388,
-0.08338802307844162,
-0.5074002146720886,
0.09535200893878937,
0.1812002807855606,
-0.38834628462791443,
-0.2750520408153534,
0.053833309561014175,
-0.10399395227432251,
0.04253017157316208,
-0.27458223700523376,
0.32888200879096985,
0.049446772783994675,
0.1310671865940094,
0.07993771880865097,
0.19710774719715118,
-0.25405025482177734,
-0.12914733588695526,
-0.1630641520023346,
-0.013982776552438736,
-0.09907150268554688,
-0.13609515130519867,
0.31456324458122253,
0.27957066893577576,
0.13611428439617157,
-0.019668327644467354,
0.189353808760643,
0.31773054599761963,
0.30232036113739014,
-0.2489570528268814,
0.042976874858140945,
0.032061778008937836,
0.030142899602651596,
0.019414128735661507,
0.03893383964896202,
-0.0835244208574295,
-0.15569043159484863,
0.1321241408586502,
-0.04633183032274246,
-0.014441467821598053,
-0.2092863917350769,
0.31070446968078613,
0.053506024181842804,
-0.029988467693328857,
0.4082692265510559,
0.5680087208747864,
0.18800771236419678,
-0.04389446601271629,
-0.06557052582502365,
0.21406082808971405,
-0.17556552588939667,
0.012139203026890755,
-0.03627019748091698,
0.41250044107437134,
-0.8129348754882812,
0.03795044869184494,
0.14169685542583466,
0.13846607506275177,
-0.0156855508685112,
0.12396948039531708,
-0.04077381640672684,
0.07034572213888168,
-0.0844338983297348,
0.30165451765060425,
-0.23525714874267578,
-0.22299931943416595,
-0.23994216322898865,
0.1894790679216385,
-0.07008635997772217,
0.0748671442270279,
0.1049065813422203,
-0.09528516232967377,
0.31289103627204895,
-0.06028088182210922,
0.18413814902305603,
0.39888709783554077,
0.06501530110836029,
-0.08117780089378357,
-0.49263301491737366,
-0.2196343094110489,
0.07828912883996964,
0.23079054057598114,
-0.3075898289680481,
-0.12228507548570633,
-0.16964590549468994,
-0.6347358226776123,
0.29376280307769775,
0.05657179653644562,
0.29456183314323425,
0.2822698652744293,
0.31500720977783203,
0.16669121384620667,
0.23209351301193237,
0.33611083030700684,
-0.12466079741716385,
-0.007285658270120621,
-0.37266650795936584,
0.336540549993515,
-0.23473627865314484,
-0.2470557689666748,
-0.16986405849456787,
-0.347558856010437,
-0.11790618300437927,
-0.3389914631843567,
0.32209575176239014,
0.19964313507080078,
-0.17905180156230927,
0.035378653556108475,
-0.029499808326363564,
0.09705372899770737,
0.06338231265544891,
0.03385733813047409,
-0.2620266079902649,
0.019529292359948158,
-0.2057093381881714,
-0.2096414566040039,
0.20968231558799744,
0.09181085228919983,
-0.028822027146816254,
-0.010976526886224747,
0.09294310957193375,
0.29527759552001953,
-0.32969775795936584,
0.30736690759658813,
0.22805705666542053,
0.0017401576042175293,
0.1800244152545929,
-0.25043630599975586,
0.1446792036294937,
0.30978819727897644,
0.08308787643909454,
-0.09074406325817108,
-0.3816510736942291,
0.4309644103050232,
0.1365503966808319,
0.10789686441421509,
-0.09770072996616364,
0.027910029515624046,
0.2288094162940979,
-0.3228122889995575,
-0.031536586582660675,
-0.24014884233474731,
0.3232579231262207,
0.13352565467357635,
0.036761824041604996,
-0.19814641773700714,
-0.030386008322238922,
0.3942180275917053,
0.34302663803100586,
0.17141850292682648,
0.046862125396728516,
-0.0693524181842804,
-0.3027961254119873,
0.06613364070653915,
0.15299248695373535,
-0.21190381050109863,
0.18881961703300476,
0.2605225443840027,
0.22394827008247375,
0.03416597470641136,
0.12007778137922287,
-0.3321082890033722,
0.263256311416626,
-0.14937958121299744,
-0.5069211721420288,
0.2577180862426758,
0.10355860739946365,
-0.18170878291130066,
-0.3639167845249176,
0.3504447937011719,
0.0915159359574318,
0.01398899219930172,
-0.10383550077676773,
0.12205436080694199,
0.05200639367103577,
-0.36767134070396423,
-0.05480475723743439,
-0.27988529205322266,
0.03969895839691162,
-0.3454008102416992,
0.36770254373550415,
0.057656507939100266,
-0.2739879786968231,
0.2912226915359497,
0.5096517205238342,
0.32887542247772217,
-0.24294604361057281,
0.08405335992574692,
-0.18431197106838226,
-0.23047927021980286,
-0.2556857466697693,
0.3352700471878052,
0.054645806550979614,
0.03393220156431198,
0.0865904688835144,
-0.1874925196170807,
0.08472800999879837,
-0.0946464091539383,
-0.3740372359752655,
0.06788796186447144,
-0.07519733905792236,
0.3141673803329468,
-0.05114661157131195,
0.10997574031352997,
0.13480885326862335,
-0.030403994023799896,
0.161329984664917,
0.07503416389226913,
-0.13794012367725372,
0.0057132672518491745,
-0.1998825967311859,
-0.1098107248544693,
-0.38129428029060364,
-0.3389718234539032,
-0.2290463000535965,
-0.383090615272522,
0.22841446101665497,
0.0820719301700592,
0.07253441214561462,
0.012851513922214508,
0.15390510857105255,
-0.16437672078609467,
0.03315909579396248,
-0.08826906234025955,
-0.2572093904018402,
-0.2822172939777374,
0.44205576181411743,
-0.34412121772766113,
-0.3734959661960602,
0.1720825880765915,
-0.02504991553723812,
0.22631366550922394,
-0.0798957496881485,
-0.29108208417892456,
-0.1380869448184967,
-0.017542818561196327,
0.11050231754779816,
0.14705854654312134,
-0.049754783511161804,
0.491938978433609,
-0.056144461035728455,
-0.14873935282230377,
-0.1114068254828453,
-0.17126546800136566,
0.10408572107553482,
0.02622065879404545,
0.2840924561023712,
-0.30661359429359436,
0.10878130048513412,
0.1322082132101059,
0.3471224308013916,
0.18200898170471191,
0.26588934659957886,
0.1665942370891571,
0.09187045693397522,
0.3811413645744324,
-0.051284290850162506,
-0.05826497822999954,
0.08139433711767197,
0.06378114968538284,
-0.014046885073184967,
0.5588455200195312,
0.0757216364145279,
-0.13254213333129883,
-0.17146706581115723,
0.01935751736164093,
-0.4098258316516876,
-0.17139025032520294,
0.1295929104089737,
-0.08434750139713287,
0.26376718282699585,
0.11411622166633606,
0.013059571385383606,
-0.03474416956305504,
-0.10504062473773956,
0.16636504232883453,
0.1052331030368805,
0.11299896985292435,
-0.12234030663967133,
-0.1086009219288826,
0.24755927920341492,
-0.3922465741634369,
0.2838854491710663,
-0.1845504492521286,
-0.18645630776882172,
-0.22542905807495117,
-0.10594212263822556,
0.06480633467435837,
-0.20085030794143677,
0.5389723777770996,
-0.1029491201043129,
-0.4233473539352417,
0.1547347903251648,
0.1667700856924057,
-0.4041997492313385,
0.002147585153579712,
-0.2725113332271576,
0.018290864303708076,
-0.123917356133461,
-0.00009738653898239136,
-0.6087397336959839,
0.27008476853370667,
-0.09977512061595917,
-0.0007986591663211584,
-0.08159605413675308,
-0.015833312645554543,
-0.23379112780094147,
-0.0960226058959961,
-0.3903820812702179,
-0.04658811539411545,
0.016178632155060768,
0.057863835245370865,
-0.12410486489534378,
0.03893161192536354,
0.21346549689769745,
-0.1566300094127655,
0.4521660804748535,
0.1078164279460907,
0.40995532274246216,
-0.17468680441379547,
0.18665817379951477,
0.2027801275253296,
0.07244811207056046,
0.021784042939543724,
0.5545884370803833,
0.08483435213565826,
-0.21789303421974182,
-0.002319810912013054,
-0.32766565680503845,
0.2867836356163025,
0.4631395637989044,
0.07572529464960098,
0.0842338278889656,
-0.20134100317955017,
-0.16226281225681305,
-0.39184048771858215,
-0.02697649970650673,
0.13093937933444977,
-0.004053149838000536,
0.01728959009051323,
-0.07468867301940918,
0.09375300258398056,
-0.28264108300209045,
-0.049144353717565536,
0.20639993250370026,
-0.2769308090209961,
-0.2088712453842163,
0.22971011698246002,
-0.02303411066532135,
1.0013096332550049,
0.2054453194141388,
0.2928818166255951,
0.016904449090361595,
0.0413338840007782,
-0.3145451545715332,
-0.39171087741851807,
0.04236821085214615,
-0.2729703485965729,
0.14168143272399902,
-0.10856903344392776,
0.12103931605815887,
0.11512461304664612,
0.23002685606479645,
-0.6346474885940552,
-0.01553521491587162,
-0.043851468712091446,
0.29862266778945923,
-0.016981445252895355,
0.049018919467926025,
-0.2528245449066162,
-0.25284549593925476,
0.0827970802783966,
0.23671576380729675,
0.20201224088668823,
-0.10596589744091034,
-0.13084065914154053,
-0.24505652487277985,
-0.16009536385536194,
0.056602880358695984,
0.1072576642036438,
0.12220922857522964,
-0.4722195863723755,
-0.34569454193115234,
0.15497955679893494,
-0.28230464458465576,
-0.13695576786994934,
0.026932748034596443,
0.4633188247680664,
0.12294076383113861,
-0.3031630218029022,
0.32707706093788147,
0.041199326515197754,
-0.16270262002944946,
0.16236846148967743,
-0.12194566428661346,
-0.12469924986362457,
-0.06499867141246796,
-0.12374837696552277,
0.2933352291584015,
0.040328677743673325,
0.10864768922328949,
-0.3891756534576416,
-0.16096441447734833,
0.20511934161186218,
-0.36815541982650757,
0.06764332950115204,
0.13409793376922607,
-0.040171559900045395,
-0.20092220604419708,
0.3016345798969269,
0.04532551020383835,
-0.0441284216940403,
-0.0747402235865593,
-0.27911293506622314,
-0.05391577631235123,
-0.27939707040786743,
0.18802431225776672,
0.11551246792078018,
0.1485111266374588,
0.3710540235042572,
0.21051107347011566,
-0.12083970755338669,
-0.2250174582004547,
-0.22777321934700012,
0.06810460239648819,
-0.2206728458404541,
0.08694438636302948,
0.20507854223251343,
-0.5316291451454163,
-0.05360442027449608,
0.47970330715179443,
0.010312151163816452,
-0.15063688158988953,
-0.17631863057613373,
-0.15932512283325195,
-0.31445688009262085,
0.3021024465560913,
0.11586478352546692,
0.15823644399642944,
-0.14715608954429626,
0.37433290481567383,
0.13934485614299774,
0.13843166828155518,
-0.5216183662414551,
0.10040628165006638,
0.09482607990503311,
0.1768452525138855,
-0.15896105766296387,
-0.2427164614200592,
0.16282539069652557,
0.047023385763168335,
0.15079036355018616,
0.29994916915893555,
-0.24947282671928406,
-0.3092445135116577,
-0.06678794324398041,
0.0826193168759346,
0.12748223543167114,
-0.2201235443353653,
0.14523185789585114,
-0.08524113893508911,
-0.20825129747390747,
-0.06376069784164429,
0.1284114271402359,
-0.015974707901477814,
-0.021511875092983246,
0.2385692149400711,
0.02372043952345848,
0.14940282702445984,
-0.17915640771389008,
-0.08631778508424759,
0.02090616524219513,
0.11812947690486908,
0.041521601378917694,
-0.2584466338157654,
-0.4729686677455902,
-0.06486300379037857,
0.2670920193195343,
0.32143715023994446,
0.08122842758893967,
0.2572977840900421,
0.271960586309433,
0.09668433666229248,
0.08285453915596008,
-0.08578149974346161,
0.18252640962600708,
0.17031803727149963,
-0.3429851830005646,
-0.006549702025949955,
0.09506990015506744,
0.38116568326950073,
-0.2098139375448227,
0.08720631152391434,
-0.4297652244567871,
-0.2671036422252655,
0.273743599653244,
0.05703771859407425,
0.3539868891239166,
-0.25084662437438965,
0.2810557186603546,
0.23437142372131348,
-0.0057788146659731865,
-0.06724145263433456,
-0.04068245738744736,
0.15680517256259918,
-0.26078853011131287,
0.05962536484003067,
0.14684805274009705,
-0.019555170089006424,
0.023389555513858795,
0.3908027410507202,
0.03397542983293533,
0.0795903205871582,
0.14824333786964417,
0.07930532842874527,
0.0027484148740768433,
-0.11643077433109283,
0.3082260191440582,
0.1640845239162445,
0.17954537272453308,
0.23676320910453796,
0.20525270700454712,
0.04377502575516701,
-0.20085670053958893,
0.06187841668725014,
-0.2733919024467468,
-0.06274425983428955,
-0.11484963446855545,
-0.1416044980287552,
-0.23170185089111328,
-0.12691205739974976,
-0.02566266432404518,
-0.1209869533777237,
-0.06783600151538849,
0.044896505773067474,
0.09499283879995346,
-0.16624866425991058,
-0.14295253157615662,
-0.058111898601055145,
0.02808310091495514,
-0.06804554909467697,
0.43627989292144775,
-0.10095912218093872,
0.5251664519309998,
0.3147208094596863,
0.04098721593618393,
0.39285796880722046,
0.39595234394073486,
0.24478469789028168,
0.1924203634262085,
-0.25282251834869385,
0.19933032989501953,
-0.29784703254699707,
-0.14001107215881348,
-0.11575279384851456,
0.4016382694244385,
0.17555809020996094,
0.0677780956029892,
0.1987401843070984,
0.2582632005214691,
-0.34288716316223145,
-0.03241198882460594,
0.15325938165187836,
0.018734565004706383,
-0.11030082404613495,
-0.18666154146194458,
-0.08249986171722412,
-0.2156336009502411,
-0.16746726632118225,
-0.2731687128543854,
-0.42501601576805115,
-0.20236548781394958,
0.18783770501613617,
-0.13241362571716309,
0.097958505153656,
-0.1685544103384018,
0.16683249175548553,
0.07240840047597885,
0.35273119807243347,
0.26548928022384644,
0.06169074401259422,
-0.26148170232772827,
-0.35480666160583496,
-0.5483803749084473,
0.3224550783634186,
-0.24808424711227417,
0.019418084993958473,
-0.33642876148223877,
0.2634558081626892,
0.42071762681007385,
0.22212021052837372,
-0.2408885508775711,
0.3477238714694977,
-0.18966850638389587,
-0.20260348916053772,
-0.6101165413856506,
-0.16939717531204224,
0.20254729688167572,
0.22644899785518646,
0.09284387528896332,
-0.19813081622123718,
-0.02143010124564171,
0.20583677291870117,
0.27833792567253113,
0.10726103186607361,
-0.1791658103466034,
0.0917402058839798,
0.05438397452235222,
0.14930051565170288,
0.023159129545092583,
-0.0770510882139206,
-0.2118341624736786,
-0.14074307680130005,
0.06300288438796997,
-0.03280177339911461,
-0.21230833232402802,
0.06183946505188942,
0.28029462695121765,
0.28659653663635254,
-0.06792794167995453,
-0.018252398818731308,
0.15484336018562317,
0.0648915022611618,
0.16653785109519958,
0.155157208442688,
-0.21723133325576782,
0.259686142206192,
0.22313988208770752,
0.047744523733854294,
-0.1738172471523285,
0.656403124332428,
-0.012919552624225616,
-0.13105802237987518,
-0.26619094610214233,
-0.3741063177585602,
0.42390334606170654,
-0.16292418539524078,
-0.12944799661636353,
0.1771148443222046,
-0.010105878114700317,
-0.0753977820277214,
0.13619111478328705,
-0.5397037863731384,
0.1962246596813202,
0.14890490472316742,
0.09630236029624939,
-0.004133904352784157,
0.10623694956302643,
0.11409318447113037,
0.01317686215043068,
-0.20129834115505219,
0.5075474977493286,
0.45070722699165344,
0.010480279102921486,
-0.06866292655467987,
-0.14663740992546082
] |
https://github.com/huggingface/datasets/pull/499 | Narrativeqa (with full text) | @lhoestq Hmmm wasn't that. Must have been something else I missed.
Have committed your working version though now. | Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious). | 18 | text: Narrativeqa (with full text)
Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious).
@lhoestq Hmmm wasn't that. Must have been something else I missed.
Have committed your working version though now. | [
-0.24977804720401764,
0.07192401587963104,
-0.14930112659931183,
0.06335945427417755,
-0.0931536853313446,
-0.06466897577047348,
0.14891938865184784,
0.2534855604171753,
-0.24685758352279663,
0.15094280242919922,
0.05387530475854874,
0.07241149991750717,
0.2764180898666382,
0.5637546181678772,
-0.008343971334397793,
0.11323146522045135,
0.03998494893312454,
0.12050314992666245,
0.05936405435204506,
0.045063696801662445,
-0.14561781287193298,
0.47722306847572327,
-0.23216946423053741,
-0.15905582904815674,
-0.11869455128908157,
0.04110722243785858,
-0.20205913484096527,
0.17759765684604645,
-0.19018523395061493,
-0.1543489545583725,
-0.07602203637361526,
0.1936526894569397,
0.08693388104438782,
0.34483906626701355,
-0.00009635539026930928,
-0.24929691851139069,
0.16045862436294556,
-0.25763577222824097,
-0.1773008406162262,
-0.0757148265838623,
0.13100376725196838,
-0.13473965227603912,
-0.05193106085062027,
0.008124858140945435,
-0.15055543184280396,
-0.31643158197402954,
0.17327329516410828,
0.01404561847448349,
0.22319993376731873,
0.22090508043766022,
0.3158457577228546,
-0.14595496654510498,
0.0668698251247406,
-0.1359863579273224,
-0.1071399375796318,
0.010519415140151978,
-0.20456582307815552,
0.09233483672142029,
0.468030720949173,
-0.12566711008548737,
-0.02022314816713333,
0.41483843326568604,
0.07026612013578415,
-0.14129243791103363,
0.0014553703367710114,
0.11206486076116562,
0.0661700963973999,
-0.07837485522031784,
0.23509293794631958,
0.3359886705875397,
0.663237988948822,
-0.23889005184173584,
-0.17364205420017242,
0.05916105955839157,
-0.07280442863702774,
-0.3210996687412262,
0.22232213616371155,
0.29329732060432434,
-0.1105370968580246,
0.13747863471508026,
0.14135681092739105,
0.07639387249946594,
-0.21525642275810242,
0.023127757012844086,
-0.34892237186431885,
0.11132966727018356,
-0.08263895660638809,
-0.2746144235134125,
0.03681877255439758,
-0.28863561153411865,
0.16200101375579834,
0.002045523375272751,
-0.29917988181114197,
0.04549540579319,
-0.04519603028893471,
-0.17808882892131805,
0.11182966828346252,
0.004630185663700104,
0.14810949563980103,
-0.25932031869888306,
0.08840759098529816,
0.2122192680835724,
-0.06339997053146362,
0.10732528567314148,
0.17873364686965942,
0.15440234541893005,
0.30277252197265625,
0.04049132019281387,
0.027102839201688766,
0.19823706150054932,
0.1372801959514618,
-0.24606165289878845,
-0.14540596306324005,
-0.10771140456199646,
-0.5056864619255066,
0.11452028900384903,
0.10463744401931763,
-0.41557225584983826,
-0.263405442237854,
0.08390474319458008,
-0.07080118358135223,
0.10388176888227463,
-0.2947796881198883,
0.3640584647655487,
0.11154630780220032,
0.1181197240948677,
0.115003302693367,
0.1769370436668396,
-0.21185334026813507,
-0.09958620369434357,
-0.18150097131729126,
0.030216898769140244,
-0.06787418574094772,
-0.15355290472507477,
0.24751149117946625,
0.24965237081050873,
0.14443108439445496,
-0.0712156593799591,
0.215921550989151,
0.27253860235214233,
0.11278003454208374,
-0.1437198370695114,
0.04201275482773781,
-0.0033373646438121796,
0.07027341425418854,
-0.013370958156883717,
0.022176077589392662,
-0.11910191178321838,
-0.13815319538116455,
0.13864237070083618,
-0.04588402807712555,
-0.022011656314134598,
-0.25518351793289185,
0.32962721586227417,
0.10165035724639893,
-0.11521224677562714,
0.413602739572525,
0.5682087540626526,
0.16687142848968506,
-0.01654575765132904,
-0.07270018011331558,
0.1964656263589859,
0.015681911259889603,
0.05941002070903778,
-0.04572664201259613,
0.3372054696083069,
-0.698662519454956,
0.0515703409910202,
0.23339010775089264,
0.021688323467969894,
0.013087578117847443,
0.152840718626976,
-0.0418606698513031,
-0.01289408653974533,
0.010794980451464653,
0.38358640670776367,
-0.1723332703113556,
-0.2647590637207031,
-0.16091422736644745,
0.14251942932605743,
-0.045068077743053436,
-0.057650402188301086,
0.10914674401283264,
-0.14330998063087463,
0.3844776749610901,
-0.07235021889209747,
0.19963297247886658,
0.39237529039382935,
0.0862259566783905,
0.003172876313328743,
-0.47731947898864746,
-0.22782480716705322,
-0.019247248768806458,
0.18637315928936005,
-0.2322758287191391,
-0.13683748245239258,
-0.11731525510549545,
-0.5837820172309875,
0.4290078580379486,
0.04599442332983017,
0.20750398933887482,
0.1983950436115265,
0.43530046939849854,
0.13080033659934998,
0.20217928290367126,
0.2197495996952057,
-0.005515210330486298,
-0.09028409421443939,
-0.3453133702278137,
0.3762052357196808,
-0.16020043194293976,
-0.20705164968967438,
-0.17332229018211365,
-0.25655269622802734,
-0.13447006046772003,
-0.38057711720466614,
0.35778719186782837,
0.10311674326658249,
-0.26277777552604675,
0.015098568052053452,
-0.10778408497571945,
0.014520823955535889,
0.024243222549557686,
-0.04634856432676315,
-0.2057344764471054,
-0.0710817351937294,
-0.24664466083049774,
-0.24240216612815857,
0.2340606153011322,
0.05993957445025444,
-0.004139795899391174,
0.099909707903862,
0.12198739498853683,
0.30051180720329285,
-0.3611209988594055,
0.3639727830886841,
0.20240390300750732,
0.0052301883697509766,
0.09262195229530334,
-0.29670146107673645,
0.08822155743837357,
0.16256824135780334,
0.030741561204195023,
-0.024840231984853745,
-0.2728862762451172,
0.3114771842956543,
0.15926150977611542,
0.15285472571849823,
-0.01779593899846077,
0.07362489402294159,
0.2173871397972107,
-0.3548138737678528,
-0.0881132110953331,
-0.22583091259002686,
0.24602815508842468,
0.07825122028589249,
-0.15006402134895325,
-0.3287528157234192,
-0.08550617843866348,
0.37874218821525574,
0.42169052362442017,
0.22415992617607117,
0.016130845993757248,
-0.07589324563741684,
-0.3316235840320587,
0.07023018598556519,
0.1461476981639862,
-0.2159917652606964,
0.023782864212989807,
0.258700966835022,
0.2616928815841675,
0.047421645373106,
0.13522614538669586,
-0.2743246853351593,
0.3025656044483185,
-0.12604820728302002,
-0.4104534387588501,
0.26479411125183105,
0.12633727490901947,
-0.1785200536251068,
-0.3960745632648468,
0.2766154408454895,
0.009793579578399658,
-0.029050426557660103,
-0.06125916168093681,
0.11479838937520981,
0.028191493824124336,
-0.3243480324745178,
-0.05397038906812668,
-0.3442738354206085,
0.10952609777450562,
-0.30876049399375916,
0.3639419674873352,
0.04818511754274368,
-0.27329501509666443,
0.3511978089809418,
0.4523296654224396,
0.2454751431941986,
-0.19348791241645813,
0.10661524534225464,
-0.15261387825012207,
-0.1935259848833084,
-0.18475213646888733,
0.3575406074523926,
-0.056153781712055206,
-0.01353679969906807,
0.08515296876430511,
-0.16569596529006958,
0.05849245935678482,
-0.11096668988466263,
-0.4162454903125763,
0.12470614165067673,
-0.07332400232553482,
0.23063017427921295,
-0.03140130639076233,
0.11439752578735352,
0.10723914206027985,
-0.09862835705280304,
0.15187498927116394,
0.03389903903007507,
-0.14746831357479095,
-0.021234937012195587,
-0.20702438056468964,
-0.12770776450634003,
-0.3366256058216095,
-0.272711843252182,
-0.12772734463214874,
-0.4021606147289276,
0.26054567098617554,
0.1099482923746109,
0.1291688233613968,
0.03629016503691673,
0.11094027757644653,
-0.15163516998291016,
-0.11504578590393066,
-0.027876829728484154,
-0.20122261345386505,
-0.15426966547966003,
0.3580896556377411,
-0.39946651458740234,
-0.36641526222229004,
0.14808912575244904,
0.09962163120508194,
0.27951890230178833,
-0.10169708728790283,
-0.22344081103801727,
-0.11512210965156555,
0.05794524401426315,
0.08762718737125397,
0.13785572350025177,
-0.04090864956378937,
0.48344600200653076,
-0.0037376978434622288,
-0.19808727502822876,
-0.08841129392385483,
-0.16390570998191833,
0.08386405557394028,
0.0739855170249939,
0.24691027402877808,
-0.3124086856842041,
0.12275288254022598,
0.14082853496074677,
0.24857494235038757,
0.17756196856498718,
0.30505698919296265,
0.14655998349189758,
0.03444034606218338,
0.34438812732696533,
-0.10433370620012283,
-0.02640257216989994,
0.09122944623231888,
0.07108369469642639,
-0.05647886544466019,
0.5781026482582092,
0.03323749825358391,
-0.20008036494255066,
-0.18397656083106995,
0.001810666173696518,
-0.4119357168674469,
-0.10387842357158661,
0.06854066997766495,
-0.049655765295028687,
0.31655773520469666,
0.1370972841978073,
0.03484095633029938,
0.029380623251199722,
-0.08265247195959091,
0.26497557759284973,
0.10128740221261978,
0.11183959990739822,
-0.09985650330781937,
-0.05529078468680382,
0.19555699825286865,
-0.4698106646537781,
0.2852575182914734,
-0.2690237760543823,
-0.20718920230865479,
-0.19434431195259094,
-0.1938244104385376,
0.05310257896780968,
-0.2897481918334961,
0.4979291558265686,
0.014545327052474022,
-0.4030912518501282,
0.13391420245170593,
0.19279125332832336,
-0.2899683117866516,
0.051405277103185654,
-0.21696384251117706,
-0.026344066485762596,
-0.07343198359012604,
0.042425189167261124,
-0.5153847932815552,
0.25184550881385803,
-0.08558648824691772,
-0.10728023946285248,
-0.06682014465332031,
-0.04618681222200394,
-0.21188801527023315,
-0.07711540907621384,
-0.36787426471710205,
-0.06331127136945724,
0.07743681222200394,
0.10547641664743423,
-0.10471034795045853,
-0.042211610823869705,
0.20805227756500244,
-0.16749054193496704,
0.3972373604774475,
0.20772002637386322,
0.3995133638381958,
-0.21113543212413788,
0.16409587860107422,
0.15046027302742004,
0.005661267787218094,
-0.0044652801007032394,
0.43018999695777893,
0.08507797122001648,
-0.14004774391651154,
-0.005974870175123215,
-0.3284319341182709,
0.3308632969856262,
0.364469051361084,
-0.010464364662766457,
0.06918250769376755,
-0.17642353475093842,
-0.10758101940155029,
-0.33766695857048035,
-0.08549763262271881,
0.09764343500137329,
-0.0034091961570084095,
0.06443865597248077,
-0.04455649107694626,
0.13851694762706757,
-0.3078007698059082,
-0.1013779416680336,
0.08936392515897751,
-0.14656338095664978,
-0.14587609469890594,
0.18117737770080566,
-0.009898826479911804,
0.9689565300941467,
0.2009934037923813,
0.19655844569206238,
0.07348138093948364,
0.025985419750213623,
-0.30900833010673523,
-0.36860203742980957,
0.03726482391357422,
-0.3481403887271881,
0.14685122668743134,
-0.09433834999799728,
0.11518537998199463,
0.12417757511138916,
0.17127487063407898,
-0.5665186643600464,
-0.07171253859996796,
0.004540950059890747,
0.213157519698143,
0.03658965975046158,
-0.0005322173237800598,
-0.19926272332668304,
-0.25849413871765137,
-0.010938044637441635,
0.2461152970790863,
0.1437818855047226,
-0.12193252146244049,
-0.16043046116828918,
-0.23918867111206055,
-0.04818836227059364,
0.024586893618106842,
0.0665619969367981,
0.18657034635543823,
-0.3227851092815399,
-0.3498151898384094,
0.18579323589801788,
-0.3002723157405853,
-0.11943571269512177,
0.04479201138019562,
0.33486050367355347,
0.10373567044734955,
-0.2802310585975647,
0.39775174856185913,
0.11258605122566223,
-0.13928893208503723,
0.14810340106487274,
-0.027190398424863815,
-0.1200895756483078,
-0.19698569178581238,
-0.10347649455070496,
0.32377272844314575,
0.05248934030532837,
0.05021873116493225,
-0.3736335039138794,
-0.10341063141822815,
0.2584301829338074,
-0.2178749293088913,
0.08971628546714783,
0.21340446174144745,
0.011472851037979126,
-0.19494661688804626,
0.3186503052711487,
-0.0035079345107078552,
-0.06697794795036316,
-0.03505823761224747,
-0.2286783903837204,
0.025392092764377594,
-0.18299365043640137,
0.1666000783443451,
0.15841296315193176,
0.015519492328166962,
0.3496358096599579,
0.2832105755805969,
-0.18024246394634247,
-0.27190101146698,
-0.3104130029678345,
0.10919748991727829,
-0.19631710648536682,
0.03347492590546608,
0.19173623621463776,
-0.5421461462974548,
0.007264690939337015,
0.5597078800201416,
-0.07728108763694763,
-0.1610502004623413,
-0.15623514354228973,
-0.11129254102706909,
-0.31427010893821716,
0.29749664664268494,
-0.00796598196029663,
0.10125914216041565,
-0.10909654945135117,
0.4415009319782257,
0.07064158469438553,
0.09485726058483124,
-0.5356394648551941,
0.022393645718693733,
0.10445979982614517,
0.14464402198791504,
-0.2332967221736908,
-0.22436779737472534,
0.1268520951271057,
0.09577594697475433,
0.192266047000885,
0.318713903427124,
-0.24708551168441772,
-0.3320961892604828,
-0.06071639806032181,
0.07007673382759094,
0.15119892358779907,
-0.10819615423679352,
0.11814694106578827,
-0.07276719808578491,
-0.25097528100013733,
-0.033589694648981094,
0.1985054463148117,
0.0038107670843601227,
-0.005030572414398193,
0.2553723156452179,
0.08023446053266525,
0.15543805062770844,
-0.0799638107419014,
-0.12071582674980164,
0.13375604152679443,
0.1674347072839737,
-0.04443535581231117,
-0.22387146949768066,
-0.5266779661178589,
-0.05828329548239708,
0.3135853707790375,
0.37559065222740173,
0.08516514301300049,
0.32387596368789673,
0.2594623565673828,
0.07585722208023071,
0.032487597316503525,
-0.13871002197265625,
0.21003945171833038,
0.15096506476402283,
-0.3224243223667145,
-0.05730242282152176,
0.11358009278774261,
0.43703779578208923,
-0.29953819513320923,
0.1494528353214264,
-0.5716176629066467,
-0.29982030391693115,
0.23936524987220764,
-0.021406330168247223,
0.28021007776260376,
-0.356729656457901,
0.36598020792007446,
0.27861395478248596,
0.0009136444423347712,
-0.17799872159957886,
-0.05840539559721947,
0.08129653334617615,
-0.27418965101242065,
0.04091385751962662,
0.1343623846769333,
0.01109970360994339,
0.025876633822917938,
0.46306198835372925,
-0.024593599140644073,
-0.02320224978029728,
0.2277834117412567,
0.09703978896141052,
0.04457126557826996,
0.031153354793787003,
0.2777732312679291,
0.11145719140768051,
0.2353411614894867,
0.26115646958351135,
0.2548552453517914,
0.006868012249469757,
-0.08537661284208298,
0.12953203916549683,
-0.23543795943260193,
0.017215849831700325,
-0.06266994774341583,
-0.18514326214790344,
-0.20697088539600372,
-0.15055251121520996,
0.07051260769367218,
-0.17277678847312927,
-0.06584776937961578,
0.10628178715705872,
0.06670329719781876,
-0.1464967131614685,
-0.11761926114559174,
-0.06617583334445953,
-0.06726058572530746,
-0.09235452860593796,
0.45922616124153137,
-0.12817060947418213,
0.5425578355789185,
0.2919705808162689,
0.03553803265094757,
0.3288961946964264,
0.34475699067115784,
0.21583189070224762,
0.16771788895130157,
-0.20984941720962524,
0.20111876726150513,
-0.3740701377391815,
-0.16430707275867462,
-0.08871942013502121,
0.31106433272361755,
0.2735232710838318,
0.13904936611652374,
0.16857579350471497,
0.26474088430404663,
-0.338115930557251,
0.012137200683355331,
0.09809388965368271,
0.1247856467962265,
0.021688003093004227,
-0.23033669590950012,
-0.03669063001871109,
-0.24103006720542908,
-0.13220420479774475,
-0.21684560179710388,
-0.4275279939174652,
-0.13964614272117615,
0.08746571838855743,
-0.08758215606212616,
0.039526842534542084,
-0.13257254660129547,
0.180902898311615,
0.1366071105003357,
0.2868126332759857,
0.1757538914680481,
0.06319738179445267,
-0.12039213627576828,
-0.4158441424369812,
-0.4593695104122162,
0.36846503615379333,
-0.12936143577098846,
0.0009498093277215958,
-0.3218918442726135,
0.2564716935157776,
0.45937108993530273,
0.20508016645908356,
-0.14876459538936615,
0.278277188539505,
-0.22589890658855438,
-0.264678418636322,
-0.551921010017395,
-0.16133593022823334,
0.23850518465042114,
0.21750451624393463,
0.13862894475460052,
-0.07622891664505005,
-0.035221341997385025,
0.1188504546880722,
0.3128810226917267,
0.039147041738033295,
-0.1536875069141388,
0.11259031295776367,
0.011785291135311127,
0.15359529852867126,
0.0311582088470459,
-0.17027586698532104,
-0.2774619460105896,
-0.20807598531246185,
0.03349475562572479,
-0.12113288044929504,
-0.23026596009731293,
0.01227029412984848,
0.24105967581272125,
0.2455843985080719,
0.05617351830005646,
-0.04663432016968727,
0.17382271587848663,
0.08298584073781967,
0.12641388177871704,
0.019083209335803986,
-0.2620079517364502,
0.26235100626945496,
0.3435424566268921,
0.041212186217308044,
-0.23289591073989868,
0.6440459489822388,
-0.04211444407701492,
-0.14336787164211273,
-0.34224164485931396,
-0.4438779354095459,
0.49864163994789124,
-0.18501509726047516,
-0.2242583930492401,
0.23300108313560486,
0.026852011680603027,
-0.07940215617418289,
0.10744957625865936,
-0.6122534871101379,
0.19063901901245117,
0.10918723046779633,
0.07508021593093872,
-0.033167723566293716,
0.10314229130744934,
0.041067250072956085,
0.006940435618162155,
-0.18488521873950958,
0.44509539008140564,
0.5196823477745056,
-0.00656387023627758,
-0.18062971532344818,
-0.19207128882408142
] |
https://github.com/huggingface/datasets/pull/499 | Narrativeqa (with full text) | Hi @ghomasHudson, did you get the chance to add the test split and regenerate the dataset_infos.json file ? | Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious). | 18 | text: Narrativeqa (with full text)
Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious).
Hi @ghomasHudson, did you get the chance to add the test split and regenerate the dataset_infos.json file ? | [
-0.1852741837501526,
0.08024577796459198,
-0.1347910463809967,
0.09044536203145981,
-0.05812036991119385,
0.0116562619805336,
0.20856672525405884,
0.29363149404525757,
-0.2567295432090759,
0.025136291980743408,
0.0939832329750061,
0.038007184863090515,
0.3187204599380493,
0.5881481766700745,
-0.011024107225239277,
0.05024918541312218,
-0.03872314840555191,
0.0676046758890152,
0.13865701854228973,
0.06511346995830536,
-0.17076170444488525,
0.39136308431625366,
-0.27713167667388916,
-0.2024761289358139,
-0.2482321858406067,
-0.14533929526805878,
-0.20193691551685333,
0.23746734857559204,
-0.10421761125326157,
-0.18367519974708557,
-0.02695710025727749,
0.15219926834106445,
0.03401918336749077,
0.3423493206501007,
-0.0001013608489301987,
-0.20562130212783813,
0.22667713463306427,
-0.2891804575920105,
-0.2624503970146179,
-0.06089043617248535,
0.041818372905254364,
-0.060542717576026917,
-0.07430264353752136,
-0.02198168635368347,
-0.17636913061141968,
-0.33585125207901,
0.09222634136676788,
-0.14338690042495728,
0.26476770639419556,
0.3044074475765228,
0.2602419853210449,
-0.1604398936033249,
0.05324709787964821,
-0.10429853945970535,
-0.01934094727039337,
0.22573037445545197,
-0.17251800000667572,
0.03842609375715256,
0.3890846371650696,
-0.07082673907279968,
-0.04550229758024216,
0.39122456312179565,
0.15411445498466492,
0.018338792026042938,
-0.08671193569898605,
0.1401163935661316,
-0.0422559529542923,
-0.15224261581897736,
0.26835063099861145,
0.41539907455444336,
0.6814374327659607,
-0.25113457441329956,
-0.24711963534355164,
-0.07372817397117615,
-0.11692486703395844,
-0.27733948826789856,
0.21186208724975586,
0.3269350826740265,
-0.12325385212898254,
0.16486304998397827,
0.09352187812328339,
0.05260201171040535,
-0.12077142298221588,
0.03752432018518448,
-0.42801305651664734,
0.12372449040412903,
-0.06473472714424133,
-0.23296412825584412,
0.026877354830503464,
-0.2533338665962219,
0.14528559148311615,
-0.1027146577835083,
-0.36034855246543884,
-0.01850135624408722,
-0.06559620797634125,
-0.2292121946811676,
0.0205603688955307,
-0.044607579708099365,
0.1901719868183136,
-0.28720003366470337,
0.0036869971081614494,
0.2256270945072174,
-0.12687774002552032,
0.051213666796684265,
0.27046388387680054,
0.18538445234298706,
0.31802842020988464,
0.23015689849853516,
0.012807339429855347,
0.18266502022743225,
0.1192297637462616,
-0.18781742453575134,
-0.047673843801021576,
-0.04997336119413376,
-0.5372177958488464,
0.08317858725786209,
0.16658616065979004,
-0.45407634973526,
-0.31591564416885376,
0.06798265874385834,
-0.16107849776744843,
0.013662194833159447,
-0.27266329526901245,
0.40183210372924805,
0.11641599982976913,
0.11471758782863617,
0.1131281703710556,
0.21473093330860138,
-0.256435364484787,
-0.1969279795885086,
-0.18355010449886322,
0.012067767791450024,
-0.028729364275932312,
-0.15586653351783752,
0.29245805740356445,
0.34785377979278564,
0.2163780778646469,
-0.0990055501461029,
0.13317668437957764,
0.19230610132217407,
0.24611890316009521,
-0.16654056310653687,
0.0943605825304985,
0.053486768156290054,
0.05344313755631447,
0.05325682461261749,
0.04034727066755295,
-0.10453666746616364,
-0.1594698429107666,
0.17876344919204712,
-0.049321986734867096,
-0.10043122619390488,
-0.13721336424350739,
0.3004761338233948,
-0.02925765886902809,
-0.031374529004096985,
0.3783210217952728,
0.6346042156219482,
0.20095482468605042,
-0.005818493664264679,
-0.08410433679819107,
0.17723673582077026,
-0.04484296217560768,
0.07199212908744812,
0.03995721787214279,
0.35857653617858887,
-0.8712185621261597,
-0.035909608006477356,
0.12099958211183548,
0.06181459501385689,
-0.03212835639715195,
0.16059723496437073,
-0.033417608588933945,
0.12502701580524445,
-0.0401441715657711,
0.4121372103691101,
-0.18836387991905212,
-0.23641230165958405,
-0.18641811609268188,
0.27532023191452026,
-0.08746816217899323,
0.05516272783279419,
0.08192908763885498,
-0.18657469749450684,
0.385053426027298,
0.05168198421597481,
0.18997608125209808,
0.4416710138320923,
-0.023637643083930016,
-0.045591771602630615,
-0.4826824367046356,
-0.22204816341400146,
0.10542049258947372,
0.2593085467815399,
-0.2544996440410614,
-0.21785932779312134,
-0.14986518025398254,
-0.47707340121269226,
0.39482682943344116,
0.036843545734882355,
0.28469014167785645,
0.20023967325687408,
0.33644819259643555,
0.012226048856973648,
0.2938772141933441,
0.2575647830963135,
-0.16636013984680176,
-0.058599747717380524,
-0.29368942975997925,
0.33446812629699707,
-0.2159777730703354,
-0.20074503123760223,
-0.23506823182106018,
-0.26935166120529175,
-0.10966862738132477,
-0.4342367649078369,
0.2935144603252411,
0.13610069453716278,
-0.19486548006534576,
0.08997482061386108,
-0.09173943102359772,
0.0832858681678772,
0.042922429740428925,
0.045426227152347565,
-0.31730949878692627,
0.017303531989455223,
-0.1634611040353775,
-0.23039813339710236,
0.2068464756011963,
0.14461830258369446,
-0.046562016010284424,
-0.057594235986471176,
0.05970563367009163,
0.29813721776008606,
-0.20024383068084717,
0.298043429851532,
0.19807866215705872,
-0.0878765732049942,
0.17452463507652283,
-0.25686115026474,
0.07981991022825241,
0.17227797210216522,
0.04166959598660469,
-0.13183321058750153,
-0.3819364607334137,
0.4328194260597229,
0.09331899881362915,
0.21511635184288025,
-0.17142318189144135,
0.0457422211766243,
0.24538031220436096,
-0.35944920778274536,
-0.016712114214897156,
-0.2947242558002472,
0.335097998380661,
0.03290712833404541,
-0.06326233595609665,
-0.3143998980522156,
-0.05854411423206329,
0.40766191482543945,
0.44475454092025757,
0.06150781735777855,
0.042992159724235535,
-0.15195751190185547,
-0.34676313400268555,
0.01349518820643425,
0.26914098858833313,
-0.16319522261619568,
0.16053831577301025,
0.256049782037735,
0.2169586420059204,
0.016844797879457474,
0.174159973859787,
-0.3296879231929779,
0.2988831400871277,
-0.09966690838336945,
-0.4721725583076477,
0.20603832602500916,
0.10357002913951874,
-0.30138635635375977,
-0.3274591565132141,
0.3096861243247986,
0.16491861641407013,
0.0785570964217186,
-0.12969890236854553,
0.11553192883729935,
-0.01301664113998413,
-0.2631414830684662,
-0.04349586367607117,
-0.3522924482822418,
0.06382764130830765,
-0.42520028352737427,
0.36177927255630493,
-0.00039780139923095703,
-0.2795395255088806,
0.38408875465393066,
0.5100234746932983,
0.26368212699890137,
-0.217738538980484,
0.06778333336114883,
-0.2091606706380844,
-0.2717512249946594,
-0.23608747124671936,
0.3326279819011688,
0.02086811140179634,
0.1474476158618927,
0.0676036849617958,
-0.2275022715330124,
0.0319383479654789,
0.05659712851047516,
-0.4381929337978363,
0.12460291385650635,
-0.11079476773738861,
0.3161870539188385,
0.002867266535758972,
0.12794402241706848,
0.1805163025856018,
-0.03296055644750595,
0.1287115067243576,
0.08036845177412033,
-0.15008752048015594,
0.03967125341296196,
-0.2065015584230423,
-0.09198920428752899,
-0.3766642212867737,
-0.49369850754737854,
-0.14695674180984497,
-0.34430721402168274,
0.29059821367263794,
0.07732345163822174,
0.06883351504802704,
-0.04667086526751518,
0.1813948005437851,
-0.12764222919940948,
-0.1271408051252365,
-0.15007884800434113,
-0.2521577775478363,
-0.24412253499031067,
0.3572975695133209,
-0.34719711542129517,
-0.2726878523826599,
0.19914716482162476,
-0.021670019254088402,
0.23139165341854095,
-0.16323429346084595,
-0.31910622119903564,
-0.11822010576725006,
0.025652611628174782,
0.16847698390483856,
0.11660780757665634,
-0.10185055434703827,
0.44646817445755005,
-0.06923487037420273,
-0.09455309808254242,
-0.12890082597732544,
-0.20571917295455933,
0.13483379781246185,
0.04386040195822716,
0.24117490649223328,
-0.3585640788078308,
0.2631451487541199,
0.16361689567565918,
0.3591821789741516,
0.21712423861026764,
0.24019689857959747,
-0.020476318895816803,
0.002296028658747673,
0.2774582803249359,
-0.07511123269796371,
-0.04069328308105469,
0.11993630230426788,
0.06818028539419174,
-0.031095517799258232,
0.501344621181488,
0.03293265402317047,
-0.12012279778718948,
-0.14359799027442932,
0.011975809931755066,
-0.422485888004303,
-0.21163827180862427,
0.1594892293214798,
-0.09803096950054169,
0.21479865908622742,
0.14926116168498993,
0.11346857994794846,
-0.03111005574464798,
-0.04330983757972717,
0.0794074535369873,
0.0785529613494873,
0.13521036505699158,
-0.1553451120853424,
-0.15654218196868896,
0.21660690009593964,
-0.3933982849121094,
0.31898027658462524,
-0.24001717567443848,
-0.09714909642934799,
-0.20212456583976746,
-0.09682617336511612,
0.050283629447221756,
-0.2361377626657486,
0.5539979934692383,
-0.15087786316871643,
-0.3722924590110779,
0.1084030270576477,
0.19133658707141876,
-0.332775741815567,
0.08135269582271576,
-0.2875758409500122,
0.10767454653978348,
-0.03136886656284332,
0.03401373699307442,
-0.5572012066841125,
0.22534790635108948,
0.020925521850585938,
-0.03233686834573746,
-0.07980108261108398,
0.011394583620131016,
-0.1592361181974411,
-0.08145330846309662,
-0.3922518491744995,
0.03748289868235588,
0.039963074028491974,
0.0656798779964447,
-0.13127221167087555,
0.0014396458864212036,
0.19585877656936646,
-0.15119411051273346,
0.42196762561798096,
0.24953509867191315,
0.3722449541091919,
-0.21076971292495728,
0.1839834451675415,
0.24145427346229553,
-0.0067326948046684265,
0.02213301509618759,
0.4803363084793091,
0.13589347898960114,
-0.18793678283691406,
-0.04377204179763794,
-0.28355497121810913,
0.36765992641448975,
0.402896910905838,
0.05179036408662796,
0.07914785295724869,
-0.1579904556274414,
-0.06759844720363617,
-0.35732215642929077,
0.02737654559314251,
0.12046557664871216,
-0.027025017887353897,
-0.012208559550344944,
-0.08302749693393707,
0.11372096836566925,
-0.3516336679458618,
-0.0901898667216301,
0.15728440880775452,
-0.17128519713878632,
-0.26803573966026306,
0.2777777314186096,
-0.0658540204167366,
0.8897192478179932,
0.2509409189224243,
0.14473849534988403,
0.05222145840525627,
0.03344639390707016,
-0.22084572911262512,
-0.48651790618896484,
0.05435405671596527,
-0.3466833531856537,
0.26757168769836426,
-0.07041344791650772,
0.10087773203849792,
0.18154731392860413,
0.20060352981090546,
-0.6347354054450989,
-0.02126861922442913,
-0.024253278970718384,
0.2967894375324249,
-0.0008718743920326233,
0.09700904786586761,
-0.1808888167142868,
-0.2285451740026474,
0.059474337846040726,
0.22876828908920288,
0.09881553053855896,
-0.13017119467258453,
-0.04719153791666031,
-0.23074126243591309,
-0.15838120877742767,
-0.009382180869579315,
0.07560831308364868,
0.13867923617362976,
-0.3726387619972229,
-0.4104006886482239,
0.15368208289146423,
-0.2948644459247589,
-0.014634037390351295,
-0.03531811758875847,
0.3979858160018921,
0.2153402715921402,
-0.3044825494289398,
0.4125030040740967,
-0.04030391573905945,
-0.1492653489112854,
0.20288486778736115,
-0.07688076794147491,
-0.11281991004943848,
-0.07156376540660858,
-0.24996715784072876,
0.27916383743286133,
-0.030005861073732376,
0.13516364991664886,
-0.34294992685317993,
-0.11996378004550934,
0.20767799019813538,
-0.48121851682662964,
0.09791012108325958,
0.1906793713569641,
-0.0037703998386859894,
-0.24893945455551147,
0.28028547763824463,
0.036595750600099564,
-0.1638677567243576,
0.04220283031463623,
-0.2312985509634018,
-0.03316718339920044,
-0.2906842529773712,
0.1352384239435196,
0.06636334955692291,
0.19192205369472504,
0.41224050521850586,
0.23214121162891388,
-0.06948806345462799,
-0.29475513100624084,
-0.16625593602657318,
0.22652117908000946,
-0.24852639436721802,
0.06411457806825638,
0.14618314802646637,
-0.5397496223449707,
-0.011406580917537212,
0.47234082221984863,
-0.07124622911214828,
-0.11997301131486893,
-0.18688416481018066,
-0.24416622519493103,
-0.29259437322616577,
0.34707510471343994,
0.06645482033491135,
0.157899409532547,
-0.10904058814048767,
0.455282598733902,
-0.005146104842424393,
0.2599051296710968,
-0.49268803000450134,
0.1363765299320221,
0.1021757647395134,
0.3012462854385376,
-0.263373464345932,
-0.23593440651893616,
0.19621770083904266,
0.05000195652246475,
0.16759896278381348,
0.33442193269729614,
-0.2315519154071808,
-0.3099881112575531,
-0.045994654297828674,
0.07696370035409927,
0.15499281883239746,
-0.166650652885437,
0.09222609549760818,
-0.0369274728000164,
-0.19899091124534607,
-0.07034014910459518,
0.1981314867734909,
-0.09330007433891296,
0.04275258257985115,
0.3711300194263458,
0.07660423219203949,
0.10701378434896469,
-0.18062597513198853,
-0.10740649700164795,
0.09109252691268921,
0.16253666579723358,
-0.003322039032354951,
-0.14996401965618134,
-0.5075703859329224,
-0.04358523339033127,
0.29062530398368835,
0.368757039308548,
0.12396240234375,
0.28884318470954895,
0.22963249683380127,
0.017116863280534744,
0.06739076972007751,
-0.09419581294059753,
0.19007830321788788,
0.24450430274009705,
-0.34887805581092834,
0.039552584290504456,
0.03411616384983063,
0.3771040141582489,
-0.2094777524471283,
0.1442023515701294,
-0.2979623079299927,
-0.17563262581825256,
0.28894734382629395,
0.10273488610982895,
0.28993409872055054,
-0.25392529368400574,
0.309857577085495,
0.20092660188674927,
0.120541051030159,
-0.11674682796001434,
0.02877640351653099,
0.16189859807491302,
-0.39580655097961426,
0.00820954516530037,
0.17574769258499146,
-0.05240781232714653,
0.07984289526939392,
0.48440974950790405,
-0.031151294708251953,
0.13280612230300903,
0.14960423111915588,
0.13947561383247375,
0.07502972334623337,
-0.07172123342752457,
0.27853453159332275,
0.1797034740447998,
0.18934348225593567,
0.2348078191280365,
0.19671115279197693,
0.08868946135044098,
-0.18202504515647888,
0.09291285276412964,
-0.25539112091064453,
-0.07503725588321686,
-0.1161246970295906,
-0.15445838868618011,
-0.25683388113975525,
-0.1446193903684616,
-0.03591183200478554,
-0.17598384618759155,
-0.08031651377677917,
0.02494673803448677,
0.06271731853485107,
-0.1926051527261734,
-0.17237095534801483,
-0.06438187509775162,
0.08127975463867188,
-0.09206011146306992,
0.4182071089744568,
-0.15412674844264984,
0.5588354468345642,
0.32096320390701294,
0.0221572108566761,
0.4374678134918213,
0.28023844957351685,
0.21829412877559662,
0.07156790792942047,
-0.30962705612182617,
0.18919144570827484,
-0.3191680312156677,
-0.22796638309955597,
-0.017866870388388634,
0.4242076277732849,
0.12820178270339966,
0.07545911520719528,
0.2751748561859131,
0.27096855640411377,
-0.31688275933265686,
-0.05590735003352165,
0.23871269822120667,
0.032956238836050034,
-0.11230072379112244,
-0.1489017903804779,
-0.08922611176967621,
-0.21490076184272766,
-0.15626460313796997,
-0.27307114005088806,
-0.3338025212287903,
-0.19719459116458893,
0.13258610665798187,
-0.17685402929782867,
0.06717487424612045,
-0.1522754281759262,
0.15557578206062317,
-0.062092702835798264,
0.30518484115600586,
0.09379951655864716,
0.03923361003398895,
-0.2517864406108856,
-0.3462323546409607,
-0.4521864354610443,
0.30124592781066895,
-0.21107536554336548,
-0.09576179832220078,
-0.24444878101348877,
0.30315083265304565,
0.4115595817565918,
0.19802971184253693,
-0.2527359127998352,
0.35941997170448303,
-0.18893513083457947,
-0.19569966197013855,
-0.5695819854736328,
-0.2199312299489975,
0.10951192677021027,
0.22032199800014496,
0.12292101979255676,
-0.13754600286483765,
-0.021251503378152847,
0.22362615168094635,
0.20233342051506042,
0.04187794029712677,
-0.17515990138053894,
0.2482784390449524,
-0.04048587381839752,
0.10487525910139084,
0.13272009789943695,
-0.05893166363239288,
-0.15848395228385925,
-0.11917834728956223,
-0.01912248507142067,
-0.1521225869655609,
-0.24167899787425995,
0.14294925332069397,
0.2560591995716095,
0.36051145195961,
-0.004534768406301737,
0.004796143621206284,
0.13763637840747833,
0.0657559186220169,
0.14313052594661713,
0.12318764626979828,
-0.22752128541469574,
0.29513421654701233,
0.17633438110351562,
0.13683177530765533,
-0.07864733040332794,
0.666350245475769,
-0.02466122806072235,
-0.10057565569877625,
-0.2414819598197937,
-0.3502029478549957,
0.3853762745857239,
-0.14143067598342896,
-0.1423635631799698,
0.2351696640253067,
0.008780188858509064,
-0.057361505925655365,
0.03553014248609543,
-0.6786365509033203,
0.13312408328056335,
0.19202342629432678,
0.04254736378788948,
0.017956845462322235,
0.07390180230140686,
0.2313956320285797,
0.012923870235681534,
-0.23470035195350647,
0.5111122131347656,
0.5211089253425598,
0.01719924993813038,
-0.07996002584695816,
-0.15940459072589874
] |
https://github.com/huggingface/datasets/pull/499 | Narrativeqa (with full text) | > Hi @ghomasHudson, did you get the chance to add the test split and regenerate the dataset_infos.json file ?
Have added the test set code but getting an OverflowError when trying to regen the dataset_infos.json:
---
OverflowError: There was an overflow in the <class 'pyarrow.lib.StructArray'>. Try to reduce writer_batch_size to have batches smaller than 2GB
---
| Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious). | 56 | text: Narrativeqa (with full text)
Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious).
> Hi @ghomasHudson, did you get the chance to add the test split and regenerate the dataset_infos.json file ?
Have added the test set code but getting an OverflowError when trying to regen the dataset_infos.json:
---
OverflowError: There was an overflow in the <class 'pyarrow.lib.StructArray'>. Try to reduce writer_batch_size to have batches smaller than 2GB
---
| [
-0.22025394439697266,
0.1849573254585266,
-0.09606388211250305,
0.04999377578496933,
0.0003144294023513794,
-0.017608821392059326,
0.17922575771808624,
0.31787505745887756,
-0.4208522439002991,
0.01760554313659668,
0.22140194475650787,
-0.014471698552370071,
0.2615445852279663,
0.5856460332870483,
0.038793887943029404,
0.029010141268372536,
0.007976353168487549,
0.023073695600032806,
0.2671954035758972,
0.10324861109256744,
-0.15025752782821655,
0.33602026104927063,
-0.23588672280311584,
-0.1610555350780487,
-0.28675249218940735,
-0.2342408001422882,
-0.22374624013900757,
0.28932610154151917,
-0.21897979080677032,
-0.269375741481781,
0.02003512717783451,
0.1535787582397461,
0.0665789544582367,
0.2827921509742737,
-0.00010774056136142462,
-0.1730853170156479,
0.2891775369644165,
-0.2751520574092865,
-0.3248002231121063,
-0.013514697551727295,
0.14008158445358276,
-0.060100749135017395,
-0.03521895408630371,
-0.06355054676532745,
-0.08952924609184265,
-0.47120076417922974,
0.06781188398599625,
0.021718084812164307,
0.2680232524871826,
0.3688134551048279,
0.21582239866256714,
-0.13425715267658234,
0.20055927336215973,
-0.005311779677867889,
0.197698175907135,
0.2302469164133072,
-0.17804516851902008,
0.1806008368730545,
0.47093385457992554,
-0.16491974890232086,
-0.05933091789484024,
0.20068247616291046,
0.0996662974357605,
0.032618843019008636,
-0.11804994195699692,
0.15661388635635376,
-0.032799653708934784,
-0.13074955344200134,
0.1035756766796112,
0.37961408495903015,
0.6513810157775879,
-0.367868572473526,
-0.2361738681793213,
-0.09879986941814423,
-0.08482782542705536,
-0.23975156247615814,
0.14767374098300934,
0.3918224275112152,
-0.26039668917655945,
0.1480884552001953,
0.06326872855424881,
-0.006869284436106682,
-0.12868905067443848,
0.1038232147693634,
-0.2884911596775055,
0.02085539698600769,
0.040509115904569626,
-0.14181476831436157,
0.06537320464849472,
-0.15291589498519897,
0.21037179231643677,
-0.09944795817136765,
-0.4152589440345764,
-0.005117909051477909,
-0.0765218585729599,
-0.20080696046352386,
0.02088472992181778,
-0.08398623019456863,
0.26449936628341675,
-0.23253966867923737,
0.08602357655763626,
0.18880882859230042,
0.1088021770119667,
0.09292933344841003,
0.27428096532821655,
0.2677435278892517,
0.1562483161687851,
0.25418129563331604,
0.04359270632266998,
0.13013955950737,
0.1485077142715454,
-0.19009768962860107,
-0.0965367779135704,
-0.09015555679798126,
-0.4105384945869446,
0.05956854671239853,
0.2662355303764343,
-0.4417373538017273,
-0.30227670073509216,
0.03994879499077797,
-0.3106505870819092,
-0.0495709553360939,
-0.28732213377952576,
0.4064598083496094,
0.050493523478507996,
0.0409269817173481,
0.050654880702495575,
0.2384631335735321,
-0.2918853759765625,
-0.2027321457862854,
-0.15863224864006042,
0.07503188401460648,
-0.04272137209773064,
-0.042773954570293427,
0.3232978582382202,
0.24200403690338135,
0.2639663815498352,
-0.049046725034713745,
0.15421658754348755,
0.10509045422077179,
0.30323362350463867,
-0.2126597762107849,
0.06783189624547958,
0.06842203438282013,
-0.012545736506581306,
0.020493390038609505,
0.0011601634323596954,
-0.12321619689464569,
-0.15432944893836975,
0.3453405201435089,
-0.0597478523850441,
-0.26864340901374817,
-0.10463225841522217,
0.2720942199230194,
-0.21131597459316254,
0.01631920412182808,
0.2579980194568634,
0.47931966185569763,
0.25916141271591187,
-0.022106407210230827,
-0.03344235569238663,
0.09430371224880219,
0.1734420508146286,
-0.05712570250034332,
0.06985075771808624,
0.3749210834503174,
-0.9317201375961304,
0.021057061851024628,
0.20707915723323822,
0.08642461895942688,
0.07300658524036407,
0.21403202414512634,
-0.11366420984268188,
0.22190427780151367,
-0.06621671468019485,
0.4140281677246094,
-0.05627157539129257,
-0.1548069566488266,
-0.21105337142944336,
0.1925627738237381,
-0.09881637245416641,
0.06982436776161194,
0.062116529792547226,
-0.19645701348781586,
0.32246625423431396,
0.10863403975963593,
0.07431638985872269,
0.4200066328048706,
-0.09440351277589798,
-0.0738292783498764,
-0.5536258816719055,
-0.2459249496459961,
0.13428303599357605,
0.30492904782295227,
-0.23857323825359344,
-0.3580050766468048,
-0.1845349669456482,
-0.5498319864273071,
0.3807879686355591,
-0.038578834384679794,
0.3134523034095764,
0.23141387104988098,
0.43179136514663696,
0.005657970905303955,
0.29388633370399475,
0.21167147159576416,
-0.1386941373348236,
-0.06827113032341003,
-0.37318962812423706,
0.34881043434143066,
-0.2779579162597656,
-0.22116564214229584,
-0.23855647444725037,
-0.21149039268493652,
-0.13108831644058228,
-0.39479532837867737,
0.2140427827835083,
0.11574283242225647,
0.004275761544704437,
0.06980690360069275,
-0.0949910432100296,
0.019006215035915375,
0.0080804992467165,
0.1014791876077652,
-0.278662770986557,
0.12813112139701843,
-0.2576347887516022,
-0.3778020441532135,
0.19393087923526764,
0.18056868016719818,
-0.049118444323539734,
-0.13919083774089813,
0.06790237128734589,
0.3142945170402527,
-0.2143990844488144,
0.18509411811828613,
0.03362898901104927,
-0.07369326055049896,
0.12782029807567596,
-0.3314574658870697,
0.07014208287000656,
0.16440637409687042,
0.025445904582738876,
-0.14788825809955597,
-0.341427743434906,
0.4117940068244934,
0.09333206713199615,
0.14052964746952057,
-0.1698186695575714,
-0.032120104879140854,
0.17918525636196136,
-0.31422555446624756,
0.009197425097227097,
-0.17122843861579895,
0.3734142482280731,
0.09789741039276123,
-0.004617180675268173,
-0.2299700528383255,
-0.05567695200443268,
0.34954318404197693,
0.49278995394706726,
-0.055158860981464386,
0.04641354829072952,
-0.0732937827706337,
-0.35370346903800964,
-0.08388125896453857,
0.24000990390777588,
-0.2244057059288025,
0.23117925226688385,
0.24530263245105743,
0.12056256830692291,
-0.04240451008081436,
0.11176955699920654,
-0.3609726130962372,
0.2952057421207428,
-0.1068527102470398,
-0.34972426295280457,
0.18722721934318542,
0.24071666598320007,
-0.34834757447242737,
-0.367448627948761,
0.2432158887386322,
0.2422364056110382,
0.1557844877243042,
-0.11912143230438232,
0.07384777814149857,
0.10105551779270172,
-0.27663880586624146,
-0.12353873252868652,
-0.47099149227142334,
0.040463611483573914,
-0.3740569055080414,
0.3835272789001465,
0.02607126720249653,
-0.24728989601135254,
0.33463120460510254,
0.5423588752746582,
0.29827260971069336,
-0.2151019275188446,
-0.11399608105421066,
-0.1944921612739563,
-0.29805558919906616,
-0.36989277601242065,
0.2991998791694641,
0.11149738729000092,
0.12436030805110931,
0.05155322328209877,
-0.11093723773956299,
-0.08521673083305359,
0.0853777751326561,
-0.4080049693584442,
0.0852900892496109,
-0.08074186742305756,
0.41909143328666687,
0.017419666051864624,
0.2500326633453369,
0.25938063859939575,
-0.09927254915237427,
0.1491822600364685,
0.04488161951303482,
-0.20166629552841187,
0.11335082352161407,
-0.1478295922279358,
-0.07983853667974472,
-0.38958603143692017,
-0.5619871616363525,
-0.13618330657482147,
-0.328742116689682,
0.3379364609718323,
0.057632189244031906,
0.06432028114795685,
-0.0004043383523821831,
0.3054136037826538,
-0.14062629640102386,
-0.06525759398937225,
-0.19004811346530914,
-0.17573928833007812,
-0.2795262932777405,
0.33536919951438904,
-0.2998006045818329,
-0.32148659229278564,
0.17511877417564392,
-0.07631493359804153,
0.10260587930679321,
-0.10733155161142349,
-0.31941837072372437,
-0.1463974416255951,
-0.009703090414404869,
0.31835290789604187,
0.08275365829467773,
-0.14649948477745056,
0.4932168424129486,
0.041512250900268555,
-0.06119956076145172,
-0.024577965959906578,
-0.14125005900859833,
0.1324877291917801,
0.1584957242012024,
0.24134305119514465,
-0.31689518690109253,
0.2347928285598755,
0.12298880517482758,
0.4572261571884155,
0.22091566026210785,
0.2614671289920807,
0.04707876592874527,
-0.027998728677630424,
0.17087003588676453,
-0.029959455132484436,
-0.04815328121185303,
0.18869130313396454,
-0.05435614287853241,
-0.14145156741142273,
0.42645275592803955,
-0.02215750142931938,
-0.13730530440807343,
-0.08049800992012024,
-0.022063687443733215,
-0.4094057083129883,
-0.19762006402015686,
0.2854872941970825,
-0.02788601815700531,
0.22152668237686157,
0.048929546028375626,
0.024707600474357605,
-0.06986002624034882,
-0.14231735467910767,
0.06827665865421295,
0.01421339064836502,
0.10299067944288254,
-0.11073974519968033,
-0.15341846644878387,
0.15411856770515442,
-0.44902360439300537,
0.308137446641922,
-0.12259238958358765,
-0.0599963441491127,
-0.1340600550174713,
-0.10127360373735428,
0.06556737422943115,
-0.3439202606678009,
0.7068807482719421,
-0.010997598990797997,
-0.3536143898963928,
0.11889985203742981,
0.28630125522613525,
-0.39513567090034485,
-0.05098453909158707,
-0.32105115056037903,
0.1096050888299942,
0.017070412635803223,
-0.021697603166103363,
-0.5442699193954468,
0.2505520284175873,
0.1591671258211136,
0.05017387121915817,
-0.08685989677906036,
0.04375273361802101,
-0.1836155652999878,
-0.27965447306632996,
-0.3422262370586395,
0.0758819431066513,
0.028905699029564857,
0.252135694026947,
-0.23467497527599335,
-0.013966990634799004,
0.29067710041999817,
-0.10225111246109009,
0.3415701389312744,
0.26594099402427673,
0.4023025929927826,
-0.33138182759284973,
0.13949070870876312,
0.1646369993686676,
-0.053493522107601166,
0.23843665421009064,
0.5154822468757629,
0.22715236246585846,
-0.07246603071689606,
-0.07984986156225204,
-0.2389703392982483,
0.42987364530563354,
0.3720434904098511,
-0.01108306460082531,
0.15041519701480865,
-0.24680104851722717,
-0.05155627429485321,
-0.4192434549331665,
0.07890664786100388,
0.12534965574741364,
-0.024378888309001923,
-0.008872665464878082,
-0.044168032705783844,
0.13487586379051208,
-0.2853119373321533,
-0.042351048439741135,
0.17685005068778992,
-0.18647612631320953,
-0.3216648995876312,
0.4620603322982788,
-0.04026579111814499,
0.9324653744697571,
0.17085185647010803,
0.22769084572792053,
0.11781236529350281,
0.06320313364267349,
-0.2279583364725113,
-0.5187432169914246,
0.15051870048046112,
-0.4093261659145355,
0.19689850509166718,
-0.012422164902091026,
-0.037987858057022095,
0.26233792304992676,
0.14583802223205566,
-0.6025338768959045,
-0.024080321192741394,
-0.003986984491348267,
0.3707382082939148,
0.03768374025821686,
0.1782054305076599,
-0.16213418543338776,
-0.1013282835483551,
0.07801440358161926,
0.16841071844100952,
0.07405474036931992,
-0.18289314210414886,
-0.049515172839164734,
-0.21929804980754852,
-0.254102498292923,
-0.07347505539655685,
-0.07393360882997513,
0.12639492750167847,
-0.4493371546268463,
-0.43112510442733765,
0.17090919613838196,
-0.3400481939315796,
0.009571094065904617,
-0.02968807891011238,
0.2571902275085449,
0.18243734538555145,
-0.26108047366142273,
0.3295305371284485,
-0.015201233327388763,
-0.25988513231277466,
0.21545468270778656,
-0.016905641183257103,
-0.06700360774993896,
-0.07645320892333984,
-0.35147824883461,
0.31758278608322144,
-0.060145750641822815,
0.11349856853485107,
-0.38464057445526123,
-0.1391509622335434,
0.18402642011642456,
-0.6615231037139893,
0.12072604894638062,
0.03649038076400757,
-0.038686975836753845,
-0.2530585527420044,
0.220513254404068,
0.10511882603168488,
-0.22563309967517853,
0.16210976243019104,
-0.20607878267765045,
-0.05395098775625229,
-0.30144497752189636,
0.0544980987906456,
0.0728645771741867,
0.35801786184310913,
0.5022216439247131,
0.27042654156684875,
0.03602690249681473,
-0.24715393781661987,
-0.16835957765579224,
0.19079472124576569,
-0.2732480764389038,
0.14024177193641663,
0.11153694242238998,
-0.4307368993759155,
0.009138297289609909,
0.5363176465034485,
-0.0038439780473709106,
-0.05441860109567642,
-0.23364979028701782,
-0.32401108741760254,
-0.3063329756259918,
0.35272252559661865,
0.22849337756633759,
0.20684924721717834,
-0.06958595663309097,
0.5401058793067932,
0.033373817801475525,
0.3387998640537262,
-0.44619354605674744,
0.10633593052625656,
0.017748745158314705,
0.39121049642562866,
-0.30207961797714233,
-0.2649866044521332,
0.26864859461784363,
0.06385242938995361,
0.13230770826339722,
0.31891149282455444,
-0.16423842310905457,
-0.27018511295318604,
-0.024157589301466942,
0.08813317120075226,
0.08147862553596497,
-0.2076892852783203,
0.0924302265048027,
-0.04306130111217499,
-0.02235962077975273,
-0.05286997929215431,
0.15462380647659302,
-0.1521274447441101,
0.01656041294336319,
0.3644449710845947,
0.15964213013648987,
0.004199951887130737,
-0.2596108317375183,
-0.13449296355247498,
-0.03317560255527496,
0.124354287981987,
0.037735726684331894,
0.02725593000650406,
-0.40708327293395996,
-0.056907810270786285,
0.27894890308380127,
0.32038506865501404,
0.14325720071792603,
0.21434515714645386,
0.183563232421875,
-0.050439439713954926,
-0.10818786919116974,
-0.22525642812252045,
0.25648877024650574,
0.3848528563976288,
-0.2836304306983948,
0.1172771006822586,
0.11926871538162231,
0.3071051836013794,
-0.2095610350370407,
0.03369959071278572,
-0.18955780565738678,
-0.21680288016796112,
0.2393680214881897,
0.18449559807777405,
0.31473132967948914,
-0.29016411304473877,
0.1926424354314804,
0.16088226437568665,
0.20630404353141785,
0.05681227520108223,
-0.0459931343793869,
0.19108617305755615,
-0.42233216762542725,
-0.13221265375614166,
0.2803681492805481,
-0.04420438036322594,
0.1199149563908577,
0.37029415369033813,
-0.02933066338300705,
0.09306275844573975,
0.02849537506699562,
0.09986329078674316,
-0.030909880995750427,
-0.0724688321352005,
0.2681703269481659,
0.25511234998703003,
0.25171053409576416,
0.19077572226524353,
0.15338239073753357,
0.2648065984249115,
-0.02079605683684349,
0.07895614951848984,
-0.15941014885902405,
-0.09821426868438721,
-0.13445013761520386,
-0.13157092034816742,
-0.35071301460266113,
-0.12556199729442596,
-0.08253813534975052,
-0.10397642850875854,
-0.06521154940128326,
-0.1464533656835556,
0.18875500559806824,
-0.1749233454465866,
-0.20724762976169586,
-0.08673371374607086,
0.20574593544006348,
-0.005353130400180817,
0.3339880704879761,
-0.2461594194173813,
0.5580865740776062,
0.2684098482131958,
-0.0462658628821373,
0.3209623098373413,
0.393794983625412,
0.3850504755973816,
0.10424616187810898,
-0.3807434141635895,
0.16176266968250275,
-0.33958250284194946,
-0.2272387444972992,
-0.058949630707502365,
0.3666651248931885,
0.15410593152046204,
0.07145515084266663,
0.22290430963039398,
0.24245133996009827,
-0.26154911518096924,
-0.033163052052259445,
0.2968277931213379,
-0.06260612607002258,
-0.1652034968137741,
-0.11375050991773605,
-0.0005242340266704559,
-0.3863605558872223,
-0.08415007591247559,
-0.2984338104724884,
-0.3326221704483032,
-0.1402481645345688,
0.24691526591777802,
-0.12865273654460907,
0.06289219856262207,
-0.11226257681846619,
0.13101905584335327,
-0.08303114771842957,
0.429357647895813,
0.24703988432884216,
0.10545577108860016,
-0.3696480989456177,
-0.3455386757850647,
-0.3459288477897644,
0.26983973383903503,
-0.3888121545314789,
-0.08437847346067429,
-0.0699344351887703,
0.33995768427848816,
0.30269327759742737,
0.16828317940235138,
-0.24173586070537567,
0.500770628452301,
-0.3107527494430542,
0.015939004719257355,
-0.6230430603027344,
-0.22998963296413422,
0.08642177283763885,
0.14578256011009216,
0.11089718341827393,
-0.20708128809928894,
0.08894344419240952,
0.0954926386475563,
0.15307849645614624,
-0.015764553099870682,
-0.1746600717306137,
0.3855496942996979,
-0.1931709498167038,
0.20945937931537628,
0.11718740314245224,
-0.03418692946434021,
-0.0712786540389061,
-0.03263003006577492,
0.017438411712646484,
-0.13572077453136444,
-0.24780818819999695,
0.1547829508781433,
0.26788684725761414,
0.4172942042350769,
-0.016434259712696075,
-0.005888804793357849,
0.057527318596839905,
0.10334431380033493,
0.14383439719676971,
0.1237613707780838,
-0.08553052693605423,
0.230041041970253,
0.15886247158050537,
0.06464263796806335,
-0.041813649237155914,
0.5752882361412048,
-0.06216014176607132,
-0.06560592353343964,
-0.3545958995819092,
-0.3556212782859802,
0.36247777938842773,
-0.2862740755081177,
-0.11203345656394958,
0.25522318482398987,
-0.02078227698802948,
-0.07115332037210464,
-0.062269121408462524,
-0.6589745283126831,
0.16592758893966675,
0.2327723354101181,
0.11515695601701736,
-0.11235411465167999,
0.1445644050836563,
0.2423757165670395,
0.03533417358994484,
-0.21391327679157257,
0.5760772228240967,
0.37532854080200195,
0.02968171425163746,
-0.1134197860956192,
-0.18200984597206116
] |
https://github.com/huggingface/datasets/pull/499 | Narrativeqa (with full text) | It looks like it's an issue with Pyarrow.
By changing the `DEFAULT_MAX_BATCH_SIZE` to 1000 instead of 10 000 in `arrow_writer.py` I was able to run the command.
Basically it seems that is an Arrow StructArray has more than 1-2GB of data, then it shuffles some of its content.
I can't find any issue on Apache Arrow's JIRA about this problem. It will require more investigation.
Maybe we can simply automatically decrease the writer's batch size when this happens. We can just check if the arrow array is more than a certain amount of bytes. | Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious). | 94 | text: Narrativeqa (with full text)
Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious).
It looks like it's an issue with Pyarrow.
By changing the `DEFAULT_MAX_BATCH_SIZE` to 1000 instead of 10 000 in `arrow_writer.py` I was able to run the command.
Basically it seems that is an Arrow StructArray has more than 1-2GB of data, then it shuffles some of its content.
I can't find any issue on Apache Arrow's JIRA about this problem. It will require more investigation.
Maybe we can simply automatically decrease the writer's batch size when this happens. We can just check if the arrow array is more than a certain amount of bytes. | [
0.11317272484302521,
0.05469051003456116,
-0.037601638585329056,
0.18721963465213776,
-0.018029604107141495,
-0.0697174221277237,
0.08546321839094162,
0.3215029239654541,
-0.6020944714546204,
0.15118224918842316,
0.22432857751846313,
0.06807582080364227,
0.15384729206562042,
0.2093205749988556,
-0.000010134652256965637,
0.03045138157904148,
0.05012297257781029,
-0.0782252848148346,
0.07587862014770508,
-0.013893794268369675,
0.011559989303350449,
0.1338997632265091,
-0.31595155596733093,
-0.05697344243526459,
-0.3179406523704529,
-0.023449013009667397,
-0.08580935001373291,
0.18404722213745117,
-0.24722571671009064,
-0.2803072929382324,
-0.0909154936671257,
0.08004669845104218,
-0.02404172718524933,
0.3320230543613434,
-0.00011342493235133588,
-0.09144192934036255,
0.36075645685195923,
-0.22743934392929077,
-0.32668185234069824,
-0.08818404376506805,
0.4425174593925476,
-0.1259935051202774,
0.005930571351200342,
0.020896367728710175,
0.0863506868481636,
-0.42798060178756714,
0.03954676538705826,
0.14911359548568726,
0.29787811636924744,
0.18884120881557465,
0.17440365254878998,
-0.08627896755933762,
0.16307173669338226,
0.15707743167877197,
0.5133137702941895,
0.2784307599067688,
-0.2514221966266632,
0.3315269351005554,
0.3292081356048584,
-0.20846237242221832,
-0.17069995403289795,
0.2210027128458023,
0.04677675664424896,
0.10192108154296875,
0.05699865147471428,
0.06725452840328217,
0.014740388840436935,
-0.06613956391811371,
0.2954348027706146,
0.4334052801132202,
0.515002965927124,
-0.4150649309158325,
-0.20122313499450684,
-0.14582642912864685,
0.010442345403134823,
-0.2691822946071625,
0.15155942738056183,
0.5371255874633789,
-0.3056923449039459,
0.01687375269830227,
0.34066376090049744,
0.26882967352867126,
-0.10316073894500732,
0.024966314435005188,
-0.10194818675518036,
0.20652040839195251,
0.07922689616680145,
-0.04091770946979523,
0.12452217936515808,
-0.1647515594959259,
0.4743157923221588,
-0.023343630135059357,
-0.37639090418815613,
0.25588253140449524,
-0.18676741421222687,
0.1168622225522995,
-0.14466553926467896,
-0.21358001232147217,
0.270934522151947,
-0.4066994786262512,
0.3558849096298218,
0.2507688105106354,
0.2443382441997528,
0.020121373236179352,
0.2140607386827469,
0.1890178918838501,
0.12016178667545319,
0.3915182650089264,
-0.09052029252052307,
0.06528070569038391,
0.24883556365966797,
-0.1706867516040802,
-0.13452216982841492,
-0.21621635556221008,
-0.31634873151779175,
-0.08127159625291824,
0.10954885184764862,
-0.26549991965293884,
-0.2286648005247116,
0.0075093964114785194,
-0.20150235295295715,
-0.007303084246814251,
-0.25431808829307556,
0.24344086647033691,
0.09571521729230881,
0.15587306022644043,
-0.03449597582221031,
0.24063843488693237,
-0.11170638352632523,
-0.08998489379882812,
-0.07859614491462708,
-0.18756721913814545,
-0.27492406964302063,
-0.11605464667081833,
0.23023180663585663,
0.27786827087402344,
0.22644107043743134,
-0.047390490770339966,
0.19695284962654114,
0.16525253653526306,
0.1599004566669464,
-0.23381322622299194,
0.18245477974414825,
0.16714119911193848,
-0.1239907443523407,
0.05884858965873718,
-0.06425891816616058,
0.0772026926279068,
-0.18944644927978516,
0.532698392868042,
-0.22444885969161987,
-0.2594195604324341,
-0.05781664699316025,
0.1962079405784607,
-0.02374003827571869,
0.0714544728398323,
0.17069756984710693,
0.2093041092157364,
0.317213237285614,
0.0112687386572361,
0.16733646392822266,
0.03227853402495384,
0.21057096123695374,
-0.19132892787456512,
-0.12518183887004852,
0.13127584755420685,
-0.6702507734298706,
0.13501952588558197,
0.08848275244235992,
0.2525263726711273,
0.1515895575284958,
0.46134111285209656,
-0.1775178462266922,
-0.00867481529712677,
-0.01598971150815487,
0.22835008800029755,
0.014937147498130798,
-0.037972647696733475,
-0.2568873167037964,
-0.0043583884835243225,
-0.08717325329780579,
0.13742248713970184,
0.093128502368927,
-0.03737490251660347,
0.20008225739002228,
0.03694463148713112,
0.08892956376075745,
0.3490142822265625,
0.10363783687353134,
-0.10392004251480103,
-0.5483344197273254,
-0.18354582786560059,
-0.0705866664648056,
0.20585402846336365,
-0.2430306226015091,
-0.41707730293273926,
-0.12140247970819473,
-0.8605533242225647,
0.4014737606048584,
0.07049112021923065,
0.47454220056533813,
0.18684524297714233,
0.12304283678531647,
0.17371487617492676,
0.43852686882019043,
0.4026709496974945,
0.007100056856870651,
0.031173445284366608,
-0.47043418884277344,
0.19950971007347107,
-0.3197041153907776,
-0.272796630859375,
-0.05092607066035271,
-0.03683191165328026,
-0.11806534230709076,
-0.24351418018341064,
0.12394776940345764,
-0.10460738837718964,
-0.015876242890954018,
0.07555939257144928,
-0.09237952530384064,
-0.16731780767440796,
-0.10503446310758591,
0.16186843812465668,
-0.07977426052093506,
0.09405283629894257,
-0.15512076020240784,
-0.4081532955169678,
0.056032344698905945,
0.218033105134964,
-0.1316121518611908,
0.1070457473397255,
0.020804734900593758,
0.29347342252731323,
-0.2633224427700043,
0.16749277710914612,
-0.11815152317285538,
-0.12122710049152374,
0.044658198952674866,
-0.42068561911582947,
0.21283911168575287,
0.2889174222946167,
-0.016479607671499252,
-0.11022098362445831,
-0.04114348441362381,
0.3811302185058594,
-0.055561598390340805,
0.3362245261669159,
-0.1103389710187912,
-0.1646011620759964,
0.08708472549915314,
-0.05810699984431267,
-0.0878852978348732,
-0.07583984732627869,
0.43697765469551086,
0.17072813212871552,
0.1773558109998703,
-0.02186628244817257,
-0.11942999064922333,
0.18355925381183624,
0.3197155296802521,
0.02834251895546913,
0.0025201886892318726,
0.1834436058998108,
-0.4043789505958557,
0.006191980093717575,
0.054145343601703644,
-0.2361871600151062,
-0.06883810460567474,
0.2692066729068756,
0.044554464519023895,
-0.17118778824806213,
0.1160881519317627,
-0.40320906043052673,
0.2123289406299591,
0.0021677613258361816,
-0.16093333065509796,
0.2417091429233551,
0.26535141468048096,
-0.1817057579755783,
-0.37149661779403687,
0.2198396921157837,
0.12441463023424149,
0.14049284160137177,
-0.0027890540659427643,
0.09184502810239792,
0.11728297173976898,
-0.3785440921783447,
-0.18566495180130005,
-0.5482872128486633,
-0.13282319903373718,
-0.1506783366203308,
0.38307470083236694,
-0.03254492208361626,
-0.3826974928379059,
0.24456104636192322,
0.4533918797969818,
0.17719405889511108,
0.013495618477463722,
-0.04582235962152481,
-0.18941804766654968,
-0.3508376181125641,
-0.35033994913101196,
0.1934487521648407,
0.1400662511587143,
0.01932603493332863,
0.020604535937309265,
0.06640943884849548,
-0.015170341357588768,
0.021153008565306664,
-0.30399468541145325,
-0.05521614849567413,
-0.05095598101615906,
0.09826719760894775,
-0.15806564688682556,
0.1551995575428009,
0.12211136519908905,
-0.09687720984220505,
0.16312769055366516,
-0.06266918033361435,
-0.18394282460212708,
0.5022861957550049,
-0.25258761644363403,
-0.06890995055437088,
-0.23847225308418274,
-0.19869613647460938,
-0.12139695137739182,
-0.45482802391052246,
0.34033191204071045,
0.18382646143436432,
0.2782936096191406,
0.085471011698246,
0.5009981393814087,
-0.2540428340435028,
-0.18331356346607208,
-0.13055971264839172,
0.04485709220170975,
-0.26806849241256714,
0.34311529994010925,
-0.14336584508419037,
-0.29363107681274414,
0.03629681095480919,
-0.16233938932418823,
0.09810082614421844,
0.22213269770145416,
-0.31515228748321533,
0.14597652852535248,
-0.14192572236061096,
0.247429758310318,
0.06926020979881287,
-0.032261356711387634,
0.4437987506389618,
0.06516927480697632,
-0.08082183450460434,
0.06997169554233551,
0.004862748086452484,
0.1874288022518158,
0.12144424021244049,
0.21423707902431488,
-0.21326497197151184,
0.2130368947982788,
0.21774080395698547,
0.7554035186767578,
0.04273153468966484,
0.32811036705970764,
0.11529324948787689,
0.12574779987335205,
0.25162506103515625,
-0.19316023588180542,
0.17233984172344208,
0.07695750147104263,
-0.004795238375663757,
-0.10812003910541534,
0.3543089032173157,
0.04958060383796692,
-0.2383137196302414,
-0.00467865914106369,
-0.06424222141504288,
-0.29384979605674744,
-0.11714956164360046,
0.4950203597545624,
-0.14741083979606628,
0.1583886742591858,
-0.03597578778862953,
0.004714742302894592,
-0.10069602727890015,
-0.27297672629356384,
0.005068063735961914,
-0.24401943385601044,
0.034245945513248444,
-0.01898183487355709,
-0.032016098499298096,
0.034829504787921906,
-0.3667434751987457,
0.15196353197097778,
-0.13650056719779968,
-0.05723284184932709,
0.1193816065788269,
-0.29232147336006165,
0.22566717863082886,
-0.278263121843338,
0.4217568039894104,
0.26049888134002686,
-0.2929076552391052,
0.12337413430213928,
0.40607950091362,
-0.7252750396728516,
-0.18269628286361694,
-0.17635822296142578,
-0.011196468956768513,
-0.1678059995174408,
-0.08429248631000519,
-0.6296849250793457,
0.264600545167923,
0.00934450514614582,
-0.008873137645423412,
-0.0032669566571712494,
-0.0506092831492424,
-0.4273984432220459,
-0.13638661801815033,
-0.3631289005279541,
0.07946547120809555,
0.0783146470785141,
0.01283942349255085,
-0.22496408224105835,
-0.05599119886755943,
0.2519795596599579,
-0.13900990784168243,
0.011182747781276703,
0.1859133243560791,
0.398529052734375,
-0.428348571062088,
0.11547274887561798,
0.1827925741672516,
-0.0808904767036438,
0.30498597025871277,
0.5517712235450745,
0.3870008587837219,
-0.19007515907287598,
-0.2253093719482422,
-0.24182142317295074,
0.23742985725402832,
0.479077011346817,
0.06397518515586853,
0.32517555356025696,
-0.17016199231147766,
-0.03506781905889511,
-0.23363269865512848,
-0.12938231229782104,
0.11209193617105484,
-0.17513920366764069,
-0.1321440488100052,
-0.07820331305265427,
0.22852343320846558,
-0.24554254114627838,
0.011171601712703705,
0.25381508469581604,
-0.18685956299304962,
-0.17463454604148865,
0.5347665548324585,
0.18736544251441956,
1.1079930067062378,
-0.036415137350559235,
0.4788382649421692,
0.22040864825248718,
-0.0867326483130455,
-0.3963521420955658,
-0.31842219829559326,
0.19611798226833344,
-0.45484527945518494,
0.24082234501838684,
0.021005215123295784,
-0.12059982120990753,
0.05604282766580582,
0.1347322165966034,
-0.3916797637939453,
-0.02974673919379711,
-0.24904723465442657,
0.3068924844264984,
-0.09590688347816467,
-0.03365302085876465,
-0.3740381896495819,
-0.12612348794937134,
0.19272468984127045,
0.061014384031295776,
0.08208596706390381,
-0.16953283548355103,
-0.0679151862859726,
-0.23685182631015778,
-0.3668636679649353,
-0.0828227549791336,
0.012415900826454163,
0.12091026455163956,
-0.47428256273269653,
-0.40447551012039185,
0.12168654799461365,
-0.3690030574798584,
-0.2515377402305603,
-0.1199800968170166,
0.06554011255502701,
0.0028310157358646393,
-0.08695792406797409,
0.31991368532180786,
0.27270978689193726,
-0.3446153998374939,
0.15967416763305664,
-0.0976358950138092,
-0.10151313245296478,
-0.025606028735637665,
-0.2419627606868744,
0.28539809584617615,
0.0005893930792808533,
-0.06364747136831284,
-0.3614957630634308,
-0.03918921947479248,
0.3642203211784363,
-0.31874266266822815,
0.12659859657287598,
-0.004466652870178223,
-0.15922360122203827,
-0.11466827988624573,
0.1717054545879364,
0.1462092250585556,
-0.09770075976848602,
0.06415058672428131,
-0.18185438215732574,
-0.1459869146347046,
-0.260179340839386,
0.04357752576470375,
0.18428224325180054,
0.4225141704082489,
0.542765736579895,
0.17045369744300842,
-0.07138943672180176,
-0.1551976203918457,
-0.19122862815856934,
0.1920476257801056,
-0.5669642686843872,
0.2134598195552826,
0.12777327001094818,
-0.41568368673324585,
-0.07801435887813568,
0.4259655177593231,
0.09941856563091278,
0.027708426117897034,
-0.3828543424606323,
-0.2193092256784439,
-0.3317126929759979,
0.4234253764152527,
0.3017082214355469,
0.15521375834941864,
-0.3242967426776886,
0.3738158047199249,
0.06561575829982758,
0.3398463726043701,
-0.38118407130241394,
0.05410949885845184,
0.23783662915229797,
0.5008115768432617,
-0.3743457794189453,
-0.21858623623847961,
0.06008940562605858,
0.18849501013755798,
0.06568103283643723,
0.24526357650756836,
-0.2025262415409088,
-0.21619752049446106,
0.022428367286920547,
0.12309367954730988,
0.0826558768749237,
-0.3221892714500427,
0.134934201836586,
-0.28523969650268555,
-0.060713473707437515,
-0.13233906030654907,
-0.01665337011218071,
0.02849867194890976,
-0.11964385211467743,
0.12649573385715485,
0.3113469183444977,
0.1953830122947693,
-0.15016378462314606,
0.11306712031364441,
-0.23980170488357544,
0.055096473544836044,
0.04223579540848732,
-0.0787300243973732,
-0.22892192006111145,
-0.029461845755577087,
0.2990473508834839,
0.2531282603740692,
0.04120152071118355,
0.028853483498096466,
0.22064393758773804,
-0.18967290222644806,
-0.07982604205608368,
-0.3664714992046356,
0.3006749153137207,
0.5029035806655884,
-0.08500614762306213,
-0.22780171036720276,
0.32187357544898987,
0.2804439961910248,
-0.31266775727272034,
-0.009443533606827259,
-0.510848343372345,
-0.19018007814884186,
0.1271466761827469,
0.03483516722917557,
0.27138444781303406,
-0.46248164772987366,
0.030944574624300003,
0.24642875790596008,
-0.09369325637817383,
-0.10137757658958435,
-0.21479350328445435,
0.26368895173072815,
-0.168532595038414,
-0.1639888882637024,
0.2909930646419525,
-0.1509806215763092,
0.24071407318115234,
0.21433039009571075,
-0.02212686836719513,
0.17066361010074615,
0.382969468832016,
-0.03393549099564552,
-0.1618974208831787,
-0.1875305473804474,
0.2353072166442871,
0.436898797750473,
0.1411939561367035,
0.23651346564292908,
0.3063393235206604,
0.2765761613845825,
0.4732252061367035,
0.06619786471128464,
-0.18724040687084198,
-0.12429846823215485,
-0.17793652415275574,
-0.008287322707474232,
-0.3065341114997864,
-0.13208654522895813,
-0.08795852214097977,
-0.09014448523521423,
-0.13072840869426727,
-0.09047931432723999,
0.35123586654663086,
-0.025440365076065063,
-0.25562983751296997,
-0.2614765763282776,
0.2178196907043457,
0.15850000083446503,
0.30600258708000183,
-0.20989365875720978,
0.4854825735092163,
0.30529680848121643,
-0.08901347219944,
0.42127537727355957,
0.3257039785385132,
0.3683430850505829,
0.34879544377326965,
-0.3744667172431946,
0.27825823426246643,
-0.24081937968730927,
-0.16485728323459625,
-0.20328539609909058,
0.384246826171875,
0.38328972458839417,
0.05409678444266319,
0.10806332528591156,
0.1705692559480667,
-0.30505985021591187,
-0.0736456960439682,
0.19454580545425415,
-0.07513090968132019,
-0.09848830103874207,
-0.30311310291290283,
-0.03232472389936447,
-0.5087682604789734,
-0.06367640942335129,
-0.21110987663269043,
-0.44799113273620605,
-0.007246317341923714,
0.23503977060317993,
-0.17110756039619446,
-0.044870197772979736,
-0.20443862676620483,
0.08675964176654816,
0.03047283925116062,
0.550618588924408,
0.440422922372818,
0.1565655767917633,
-0.3325744867324829,
-0.29014521837234497,
-0.36887139081954956,
0.3197080194950104,
-0.575227677822113,
0.0876612588763237,
-0.04715338721871376,
0.3565515875816345,
0.31261053681373596,
0.1555798202753067,
0.04451890289783478,
0.4063592553138733,
-0.40998971462249756,
0.1415393054485321,
-0.502007782459259,
-0.06350906193256378,
0.2180631160736084,
0.16508927941322327,
0.03345305845141411,
-0.3719143271446228,
0.12565487623214722,
0.04306731000542641,
0.1379246711730957,
0.12278946489095688,
-0.11935897171497345,
0.3439147174358368,
0.002461545169353485,
0.37849804759025574,
-0.03435053676366806,
-0.22013086080551147,
0.06142690032720566,
-0.03632737696170807,
-0.17185615003108978,
-0.1656600534915924,
-0.25505754351615906,
0.016976088285446167,
0.3447648882865906,
0.29127007722854614,
-0.1212509498000145,
-0.17574262619018555,
0.033631835132837296,
0.09202155470848083,
-0.029251836240291595,
0.18774984776973724,
0.017414996400475502,
0.2214445024728775,
0.1872043013572693,
0.09442991018295288,
-0.3009500205516815,
0.4462379813194275,
0.07563557475805283,
-0.1999863237142563,
-0.3271116018295288,
-0.4213739335536957,
0.4232320785522461,
-0.36610737442970276,
-0.14913418889045715,
0.2632003724575043,
0.036439888179302216,
0.10596602410078049,
0.14262837171554565,
-0.46419593691825867,
0.26162758469581604,
0.15706929564476013,
0.22064223885536194,
-0.06473906338214874,
0.035530153661966324,
0.0950351357460022,
0.08987653255462646,
-0.2256717085838318,
0.6038765907287598,
0.2191305160522461,
-0.047270625829696655,
-0.1552964299917221,
-0.3590148687362671
] |
https://github.com/huggingface/datasets/pull/499 | Narrativeqa (with full text) | @lhoestq I've finally got round to regenerating the `dataset_infos.json` for this and adding all 3 splits. I've done this and updated for the new version of datasets.
The CI tests still aren't passing though (they pass on my machine). `test_load_dataset_narrativeqa` seems to fail but I have no idea how. Would appreciate if you have any ideas - would be great to finally finish this one! | Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious). | 65 | text: Narrativeqa (with full text)
Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious).
@lhoestq I've finally got round to regenerating the `dataset_infos.json` for this and adding all 3 splits. I've done this and updated for the new version of datasets.
The CI tests still aren't passing though (they pass on my machine). `test_load_dataset_narrativeqa` seems to fail but I have no idea how. Would appreciate if you have any ideas - would be great to finally finish this one! | [
-0.24445360898971558,
0.21659284830093384,
-0.11807574331760406,
0.13440799713134766,
-0.10965755581855774,
0.02927965670824051,
0.24364665150642395,
0.20329144597053528,
-0.2596524953842163,
-0.019611477851867676,
0.08952133357524872,
0.0472705252468586,
0.2343320995569229,
0.7974594831466675,
-0.07362033426761627,
0.004215564578771591,
-0.013608522713184357,
-0.006968550384044647,
0.19313937425613403,
0.06163012236356735,
-0.1110324040055275,
0.4569845199584961,
-0.25058677792549133,
-0.2581161856651306,
-0.1941293627023697,
-0.2664627134799957,
-0.3400091826915741,
0.14535924792289734,
-0.13785172998905182,
-0.18677538633346558,
0.059106871485710144,
0.32638487219810486,
0.07279369980096817,
0.5823927521705627,
-0.00010772747191367671,
-0.22531558573246002,
0.26446333527565,
-0.28487664461135864,
-0.31141558289527893,
-0.14146344363689423,
0.13685449957847595,
0.042127639055252075,
-0.022522082552313805,
-0.0053934454917907715,
-0.21667909622192383,
-0.13476285338401794,
-0.030101874843239784,
-0.17793016135692596,
0.34535670280456543,
0.3567659854888916,
0.2085246443748474,
-0.11160999536514282,
-0.15750084817409515,
-0.1061052605509758,
0.06522062420845032,
0.4274003505706787,
-0.23199395835399628,
0.056459810584783554,
0.5105060338973999,
-0.11612676084041595,
-0.0625787153840065,
0.3550328314304352,
0.208678737282753,
0.05045227333903313,
-0.08704870194196701,
0.049630191177129745,
-0.06111984699964523,
-0.24968856573104858,
0.24523189663887024,
0.29714009165763855,
0.7767443060874939,
-0.10554169863462448,
-0.26278015971183777,
0.05108144134283066,
-0.14003199338912964,
-0.3174302577972412,
0.33764156699180603,
0.17185050249099731,
-0.1341153383255005,
0.032119814306497574,
-0.16130945086479187,
0.1138111799955368,
-0.11924503743648529,
0.03726908564567566,
-0.35878464579582214,
0.02523002028465271,
-0.09913904964923859,
-0.12328461557626724,
0.1235949695110321,
-0.2078876495361328,
0.23928086459636688,
-0.0197504460811615,
-0.3538427948951721,
0.08338980376720428,
0.06461039185523987,
-0.2638932168483734,
-0.02815023809671402,
0.2987040877342224,
0.01637435331940651,
-0.13899093866348267,
-0.045337092131376266,
0.19453725218772888,
-0.02848558872938156,
-0.05326884239912033,
0.2171250730752945,
0.19964031875133514,
0.32622474431991577,
0.2500734031200409,
0.010638270527124405,
0.3698223829269409,
0.07196414470672607,
-0.10953041166067123,
-0.1522141546010971,
-0.030717168003320694,
-0.6595956087112427,
0.08664701879024506,
0.06275727599859238,
-0.539760947227478,
-0.27129894495010376,
0.06565278023481369,
-0.06497003883123398,
-0.05270325019955635,
-0.1681971251964569,
0.46637192368507385,
0.1885640025138855,
0.23681029677391052,
0.13888689875602722,
0.14894410967826843,
-0.32282063364982605,
-0.11023881286382675,
-0.13206107914447784,
0.06823382526636124,
-0.12599216401576996,
-0.006537364795804024,
0.45386049151420593,
0.26418378949165344,
0.16526003181934357,
-0.18715661764144897,
0.2377954125404358,
0.05150975286960602,
0.1543826013803482,
-0.15446746349334717,
0.08350397646427155,
0.10059505701065063,
-0.034608762711286545,
-0.016277123242616653,
0.07528901100158691,
-0.26463180780410767,
-0.13163575530052185,
0.1505993902683258,
-0.011650264263153076,
-0.03566919267177582,
-0.049684762954711914,
0.2332765907049179,
-0.11010818183422089,
-0.10630440711975098,
0.31395313143730164,
0.5811399817466736,
0.20026832818984985,
0.02023901790380478,
-0.04532014578580856,
0.0975666418671608,
0.018085893243551254,
0.16821424663066864,
0.015556758269667625,
0.5261946320533752,
-0.713158905506134,
-0.09830448776483536,
0.027263354510068893,
0.009143717586994171,
0.00896502286195755,
0.1497025191783905,
0.02028738521039486,
0.009683266282081604,
0.023542525246739388,
0.22177653014659882,
-0.11678814142942429,
-0.3419175446033478,
-0.1083839163184166,
0.3553350567817688,
0.03740770369768143,
0.03272027522325516,
0.0862298235297203,
-0.20143577456474304,
0.41709914803504944,
0.011383169330656528,
0.09431293606758118,
0.45796865224838257,
-0.1746281385421753,
-0.0571141242980957,
-0.42844438552856445,
-0.16364648938179016,
0.07986682653427124,
0.3487875163555145,
-0.12740494310855865,
-0.28426843881607056,
-0.13763555884361267,
-0.6073150634765625,
0.32055142521858215,
0.010489050298929214,
0.19807688891887665,
0.08376027643680573,
0.3590959906578064,
-0.07236224412918091,
0.29472610354423523,
0.3865170478820801,
-0.20895567536354065,
-0.036098264157772064,
-0.2279280424118042,
0.3017740845680237,
-0.10741852223873138,
-0.206411674618721,
-0.3160593807697296,
-0.28068605065345764,
-0.14239370822906494,
-0.39439043402671814,
0.17978888750076294,
0.218771830201149,
-0.1777801811695099,
0.010943826287984848,
-0.10939544439315796,
0.01572277955710888,
-0.023495813831686974,
0.008656191639602184,
-0.2383078783750534,
-0.012919771485030651,
-0.23403100669384003,
-0.19451327621936798,
0.11446629464626312,
0.19688865542411804,
-0.052330464124679565,
-0.13265930116176605,
-0.03737320378422737,
0.23000353574752808,
-0.20356275141239166,
0.32144641876220703,
0.17603972554206848,
-0.06069956719875336,
0.24262584745883942,
-0.37903308868408203,
0.04867739975452423,
0.12285050749778748,
-0.03494274988770485,
-0.19294500350952148,
-0.45409324765205383,
0.42585504055023193,
-0.14893707633018494,
0.18767327070236206,
-0.16102048754692078,
0.10785689204931259,
0.2481168806552887,
-0.34126904606819153,
-0.22164911031723022,
-0.3675733506679535,
0.4688764214515686,
-0.08866952359676361,
-0.12408189475536346,
-0.24009795486927032,
0.155197411775589,
0.37089869379997253,
0.3399108052253723,
0.0811646580696106,
-0.11985639482736588,
-0.16556814312934875,
-0.12808901071548462,
0.06639806181192398,
0.25676265358924866,
-0.09666986763477325,
0.17731449007987976,
0.1420966386795044,
0.2080329805612564,
-0.00206141360104084,
0.21085809171199799,
-0.34211844205856323,
0.2934556007385254,
-0.13793310523033142,
-0.43512439727783203,
0.15695543587207794,
0.06176692992448807,
-0.2063812017440796,
-0.27738794684410095,
0.12484656274318695,
0.3171110153198242,
0.10005468875169754,
-0.2140931636095047,
0.14773105084896088,
0.1288972944021225,
-0.19006121158599854,
0.006605679169297218,
-0.4231584072113037,
0.13388869166374207,
-0.4014512300491333,
0.2725897431373596,
0.023282751441001892,
-0.2637307941913605,
0.35839706659317017,
0.4076324999332428,
0.4719223976135254,
-0.29366037249565125,
0.04062596336007118,
-0.22617074847221375,
-0.29473233222961426,
-0.27861320972442627,
0.25188201665878296,
0.1945548802614212,
0.0918741226196289,
0.0944221094250679,
-0.3688339293003082,
0.04026738554239273,
0.06706707924604416,
-0.5164714455604553,
0.14378643035888672,
-0.1997794508934021,
0.39652419090270996,
-0.09193781018257141,
0.04560999944806099,
0.10363398492336273,
-0.12644781172275543,
0.11965841799974442,
-0.020721305161714554,
-0.18124569952487946,
-0.0002537146210670471,
-0.21535557508468628,
-0.23985746502876282,
-0.421828031539917,
-0.5908753275871277,
-0.12281771749258041,
-0.31878605484962463,
0.3273007273674011,
0.08434805274009705,
0.06536291539669037,
0.16417236626148224,
0.065402552485466,
-0.25282689929008484,
-0.06137483939528465,
-0.17781181633472443,
-0.27623453736305237,
-0.36804303526878357,
0.2952091097831726,
-0.3569636642932892,
-0.2775796353816986,
0.2936832904815674,
-0.010668651200830936,
0.3028310239315033,
-0.07180842757225037,
-0.36102956533432007,
-0.014349979348480701,
0.10264911502599716,
0.11681312322616577,
0.20283713936805725,
-0.1874513477087021,
0.4097869098186493,
-0.09096075594425201,
-0.04442974179983139,
-0.058433905243873596,
-0.20655180513858795,
0.07220141589641571,
0.11759942024946213,
0.31983715295791626,
-0.3984772861003876,
0.3222770392894745,
0.14369985461235046,
0.4367958903312683,
0.3798666298389435,
0.2042863816022873,
-0.039629511535167694,
0.1394263654947281,
0.25458332896232605,
0.025804918259382248,
-0.18572121858596802,
0.2741672098636627,
0.02153584361076355,
-0.11656716465950012,
0.5465390682220459,
-0.0016644485294818878,
-0.29626601934432983,
-0.2067558318376541,
0.16987617313861847,
-0.2646297216415405,
-0.1959356665611267,
0.2601129114627838,
-0.3743942379951477,
0.27620288729667664,
0.0210791677236557,
0.19177135825157166,
-0.05589838698506355,
-0.10799518972635269,
0.027793992310762405,
0.10549405962228775,
0.18121516704559326,
-0.13745400309562683,
-0.159524068236351,
0.1327897161245346,
-0.3403903543949127,
0.2647559344768524,
-0.19944360852241516,
0.0011868802830576897,
-0.30707621574401855,
-0.11860914528369904,
0.030984342098236084,
-0.22028407454490662,
0.4319424629211426,
-0.09693887084722519,
-0.451446533203125,
0.29288429021835327,
0.10382705926895142,
-0.3762534558773041,
-0.05482925474643707,
-0.3247344493865967,
0.19503583014011383,
-0.07634223997592926,
0.16048988699913025,
-0.35265228152275085,
0.1660725623369217,
0.25049811601638794,
-0.09758488088846207,
-0.07936091721057892,
0.04285106435418129,
-0.18195056915283203,
-0.21633177995681763,
-0.3728507161140442,
0.23151257634162903,
-0.0058091431856155396,
0.06352544575929642,
-0.3863217532634735,
0.01656164601445198,
0.34724894165992737,
-0.14079265296459198,
0.4425417184829712,
0.33112621307373047,
0.2534814178943634,
-0.04233797639608383,
0.14642111957073212,
0.27393558621406555,
-0.09904143214225769,
-0.0021825022995471954,
0.518592357635498,
0.08699924498796463,
-0.16103744506835938,
0.1184709444642067,
-0.29647117853164673,
0.3399740755558014,
0.47412386536598206,
0.12457242608070374,
-0.04780968278646469,
-0.02488609403371811,
-0.05670751631259918,
-0.376957505941391,
0.16913281381130219,
0.006664440967142582,
-0.05025709420442581,
-0.07970218360424042,
0.0680064931511879,
0.1566028892993927,
-0.29398125410079956,
-0.11585976183414459,
0.20601528882980347,
-0.20041637122631073,
-0.20855668187141418,
0.39298778772354126,
0.0064141154289245605,
0.8779869079589844,
0.1811007410287857,
0.09234671294689178,
-0.05414184182882309,
0.24202091991901398,
-0.31252872943878174,
-0.39824914932250977,
0.06193505972623825,
-0.30190399289131165,
0.18984633684158325,
-0.07333986461162567,
0.022844348102808,
0.22888466715812683,
0.10801863670349121,
-0.7441903352737427,
0.0005239015445113182,
-0.09811529517173767,
0.4827084243297577,
0.10615106672048569,
0.0586046427488327,
-0.2879332900047302,
-0.28661707043647766,
0.18276730179786682,
0.19826918840408325,
0.08610427379608154,
0.013629024848341942,
-0.12978225946426392,
-0.11695541441440582,
-0.15646038949489594,
-0.008355053141713142,
-0.019997239112854004,
0.16855263710021973,
-0.40470242500305176,
-0.367331326007843,
0.049690090119838715,
-0.39401257038116455,
0.17402994632720947,
0.03727114200592041,
0.5600370764732361,
0.12768851220607758,
-0.36073318123817444,
0.4397803544998169,
-0.018966302275657654,
-0.13499844074249268,
0.2095368504524231,
-0.20715360343456268,
-0.048184290528297424,
-0.06441567838191986,
-0.23571662604808807,
0.11476193368434906,
-0.027242545038461685,
0.055444225668907166,
-0.2638229727745056,
-0.10690054297447205,
0.19592289626598358,
-0.46809935569763184,
0.27514779567718506,
0.08070357888936996,
0.0315791480243206,
-0.16667844355106354,
0.21074198186397552,
-0.05212923884391785,
-0.21750275790691376,
0.2187802791595459,
-0.17918823659420013,
-0.013399213552474976,
-0.19766539335250854,
0.0025569498538970947,
0.01938154175877571,
0.0870315432548523,
0.4614761769771576,
0.35909906029701233,
0.021217845380306244,
-0.3462945520877838,
-0.21968549489974976,
0.24755072593688965,
-0.1601729840040207,
0.14121204614639282,
0.0745319351553917,
-0.5737550258636475,
0.011674119159579277,
0.71345454454422,
0.016977554187178612,
-0.07685064524412155,
-0.16466878354549408,
-0.24851982295513153,
-0.37645918130874634,
0.415924608707428,
-0.011318270117044449,
0.2722725570201874,
-0.1900840699672699,
0.49993833899497986,
0.0740165263414383,
0.3824661076068878,
-0.4342034161090851,
0.1469263881444931,
-0.0689992681145668,
0.29399415850639343,
-0.07236528396606445,
-0.2810840904712677,
0.12269862741231918,
0.13256113231182098,
0.0699247270822525,
0.25731414556503296,
-0.22787673771381378,
-0.22311237454414368,
0.05297359451651573,
0.09152843058109283,
0.1397872418165207,
-0.11909981071949005,
0.13525265455245972,
0.03719881922006607,
-0.1628386229276657,
-0.11381132900714874,
0.21379506587982178,
-0.20944887399673462,
0.044034816324710846,
0.30440038442611694,
-0.034440938383340836,
0.14865383505821228,
-0.07744857668876648,
-0.029051661491394043,
0.0724867656826973,
0.22286835312843323,
0.01702100783586502,
-0.02762102335691452,
-0.334942489862442,
-0.08068925142288208,
0.25871726870536804,
0.42693454027175903,
0.2194877415895462,
0.267526239156723,
0.17611916363239288,
0.07383760064840317,
0.13120266795158386,
0.0611438974738121,
0.08993184566497803,
0.3753466308116913,
-0.29721084237098694,
0.16146257519721985,
-0.0035194745287299156,
0.3096912205219269,
-0.10159660875797272,
0.11276141554117203,
-0.37177520990371704,
-0.06875559687614441,
0.18445569276809692,
0.16890853643417358,
0.2931179404258728,
-0.3834289610385895,
0.3678267002105713,
0.22584527730941772,
0.22004659473896027,
-0.07117930054664612,
0.20075051486492157,
0.011159799993038177,
-0.44704774022102356,
-0.061045367270708084,
0.18618254363536835,
-0.22599861025810242,
-0.020798318088054657,
0.20333723723888397,
-0.12565645575523376,
0.2088971734046936,
0.06366375088691711,
0.27908724546432495,
0.09328262507915497,
-0.12018372118473053,
0.29826515913009644,
-0.03314399719238281,
0.32346048951148987,
0.21212178468704224,
0.17241987586021423,
0.12720999121665955,
-0.29328158497810364,
-0.0890052393078804,
-0.5213304162025452,
-0.16978633403778076,
0.009673060849308968,
-0.22388358414173126,
-0.4461462199687958,
-0.22014781832695007,
-0.0705014318227768,
-0.10617659986019135,
-0.10483759641647339,
0.11358386278152466,
0.18055349588394165,
-0.053282901644706726,
-0.23934771120548248,
-0.1747252345085144,
0.007882729172706604,
0.0035218186676502228,
0.4210313558578491,
-0.16879433393478394,
0.7348214387893677,
0.3417150378227234,
0.005463153123855591,
0.40967804193496704,
0.23405517637729645,
0.2223251610994339,
-0.028512325137853622,
-0.33958297967910767,
0.16201220452785492,
-0.3826805353164673,
-0.18980258703231812,
0.10483769327402115,
0.4540128707885742,
0.09880221635103226,
0.11683496832847595,
0.18624219298362732,
0.22962161898612976,
-0.22635504603385925,
-0.08865098655223846,
0.15759506821632385,
-0.04782574251294136,
-0.1355101317167282,
-0.2003198266029358,
0.00045420974493026733,
-0.0607321560382843,
-0.15777088701725006,
-0.17627328634262085,
-0.27884551882743835,
-0.1605548858642578,
0.12946444749832153,
-0.2099926471710205,
0.07863982766866684,
-0.0352041982114315,
0.11723147332668304,
0.0269858967512846,
0.3809703588485718,
0.14642582833766937,
0.149031400680542,
-0.34394681453704834,
-0.4023129343986511,
-0.3552151620388031,
0.19087564945220947,
-0.05299067869782448,
0.08887042105197906,
-0.2050817310810089,
0.3927191197872162,
0.453928679227829,
0.11784536391496658,
-0.2403937429189682,
0.18663039803504944,
0.008793429471552372,
-0.26433712244033813,
-0.5770893692970276,
-0.08128730952739716,
0.10289667546749115,
0.17143277823925018,
0.0495900884270668,
-0.09033243358135223,
-0.049315836280584335,
0.2939349412918091,
0.04410704970359802,
0.066548191010952,
-0.37516793608665466,
0.3618120849132538,
-0.21370282769203186,
0.0679117813706398,
0.11539623141288757,
0.0353657603263855,
0.034534186124801636,
-0.098587766289711,
-0.18397760391235352,
-0.23583868145942688,
-0.14122745394706726,
0.09193819761276245,
0.19850151240825653,
0.41358494758605957,
-0.026966923847794533,
0.20614393055438995,
0.08878542482852936,
-0.07452467083930969,
0.09546060860157013,
0.14785338938236237,
-0.25423580408096313,
0.11241736263036728,
0.14693263173103333,
0.14820803701877594,
0.006558517925441265,
0.6787546277046204,
-0.09861588478088379,
0.000756511464715004,
-0.21149925887584686,
-0.3329029083251953,
0.5127481818199158,
-0.13675342500209808,
-0.13238206505775452,
0.1972300112247467,
0.011511877179145813,
-0.10416344553232193,
0.06500990688800812,
-0.5641446709632874,
0.06730727106332779,
0.06654030084609985,
-0.03331935778260231,
-0.059674881398677826,
0.1501907855272293,
0.38092297315597534,
0.0012935809791088104,
-0.2589291036128998,
0.5194504261016846,
0.3490826487541199,
0.1382545679807663,
-0.13698172569274902,
-0.09438551962375641
] |
https://github.com/huggingface/datasets/pull/499 | Narrativeqa (with full text) | The dummy data test fails, apparently it's because no examples are yielded for the dummy data.
Also it looks like the PR now show changes in many other files than the ones for NarrativeQA, could you create another branch and another PR please ?
Feel free to ping me on the new PR so we can fi the dummy data together | Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious). | 61 | text: Narrativeqa (with full text)
Following the uploading of the full text data in #309, I've added the full text to the narrativeqa dataset.
Few notes:
- Had some encoding issues using the default `open` so am using `open(encoding="latin-1"...` which seems to fix it. Looks fine.
- Can't get the dummy data to work. Currently putting stuff at:
```
dummy
|---- 0.0.0
|- dummy_data.zip
|-master.zip
| |- narrativeqa-master
| |- documents.csv
| |- qaps.csv
| |- third_party ......
|
| - narrativeqa_full_text.zip
| | - 001.content
| | - ....
```
Not sure what I'm messing up here (probably something obvious).
The dummy data test fails, apparently it's because no examples are yielded for the dummy data.
Also it looks like the PR now show changes in many other files than the ones for NarrativeQA, could you create another branch and another PR please ?
Feel free to ping me on the new PR so we can fi the dummy data together | [
-0.2189180999994278,
0.03969460725784302,
-0.10846900939941406,
0.12622396647930145,
-0.12888292968273163,
-0.04323833808302879,
0.02178315445780754,
0.23609250783920288,
-0.3538784682750702,
0.034676775336265564,
0.2516438066959381,
-0.05715304613113403,
0.18095403909683228,
0.49296098947525024,
0.0593893863260746,
-0.025328703224658966,
0.04833038151264191,
-0.036455243825912476,
0.19244855642318726,
0.029950805008411407,
-0.100529745221138,
0.4375847280025482,
-0.3476177453994751,
-0.15133045613765717,
-0.25860777497291565,
-0.10114555805921555,
-0.3629220128059387,
0.2082149088382721,
-0.1342746615409851,
-0.1986301839351654,
0.08085673302412033,
0.3321002721786499,
0.06754442304372787,
0.5158683061599731,
-0.00010645981092238799,
-0.21729418635368347,
0.19634383916854858,
-0.3118753433227539,
-0.2887548804283142,
0.03097403794527054,
0.2597787380218506,
-0.03644544258713722,
-0.14276227355003357,
0.018941469490528107,
-0.166155606508255,
-0.3245104253292084,
0.04904676228761673,
-0.03750012814998627,
0.16328644752502441,
0.393746942281723,
0.2060174196958542,
-0.1587245911359787,
0.02548934891819954,
-0.15166905522346497,
0.042904917150735855,
0.23284250497817993,
-0.07033032178878784,
0.21806342899799347,
0.5223277807235718,
-0.16832295060157776,
0.04627268761396408,
0.2989751398563385,
0.16686487197875977,
-0.01719675585627556,
-0.042930446565151215,
0.09579174220561981,
0.2035089135169983,
-0.1123194545507431,
0.23190739750862122,
0.3028032183647156,
0.658958375453949,
-0.3375679552555084,
-0.2211276739835739,
-0.07629892230033875,
-0.14172053337097168,
-0.34022173285484314,
0.26155462861061096,
0.17988990247249603,
-0.14095810055732727,
0.14852550625801086,
0.12928621470928192,
0.11093960702419281,
-0.10571341216564178,
0.04160383716225624,
-0.38584718108177185,
-0.10027255117893219,
-0.024609681218862534,
-0.19965922832489014,
0.09884237498044968,
-0.08979588001966476,
0.11584141105413437,
-0.0990038812160492,
-0.4239567518234253,
-0.029804367572069168,
0.006356433033943176,
-0.21110592782497406,
-0.1068510189652443,
0.10652688890695572,
0.06694327294826508,
-0.241590216755867,
-0.09319915622472763,
0.23565155267715454,
-0.14735637605190277,
0.06673063337802887,
0.1853402853012085,
0.28790417313575745,
0.1206541359424591,
0.3745569884777069,
0.0892580896615982,
0.3021300435066223,
0.1403687596321106,
-0.1023421511054039,
-0.05291219800710678,
-0.10175717622041702,
-0.5330172777175903,
0.13634729385375977,
0.247548446059227,
-0.500309407711029,
-0.3253571689128876,
0.07225443422794342,
-0.14634501934051514,
-0.04915396869182587,
-0.17607632279396057,
0.4196239709854126,
0.08542272448539734,
0.2558206617832184,
0.15310780704021454,
0.18781335651874542,
-0.3183962106704712,
-0.08934196829795837,
-0.16160094738006592,
-0.013859547674655914,
-0.2234979271888733,
-0.2107446938753128,
0.277915894985199,
0.38529565930366516,
0.1257788985967636,
-0.01988774910569191,
0.1064949780702591,
0.18970884382724762,
0.23647964000701904,
-0.1740780770778656,
0.20637273788452148,
-0.006282888352870941,
-0.1476038098335266,
-0.08027572184801102,
0.057941243052482605,
-0.08753719925880432,
-0.252463698387146,
0.22225874662399292,
0.08652204275131226,
-0.09849997609853745,
-0.14349868893623352,
0.23062346875667572,
-0.06952449679374695,
-0.07669849693775177,
0.507342517375946,
0.713732898235321,
0.04569794982671738,
-0.09830415993928909,
0.030632615089416504,
0.11947766691446304,
-0.026675332337617874,
0.15944115817546844,
-0.0006204079836606979,
0.5318244099617004,
-0.7063965797424316,
-0.02986806631088257,
0.21654413640499115,
0.018294021487236023,
0.02050577849149704,
0.04471312463283539,
-0.0018696589395403862,
0.0006876811385154724,
-0.012635060586035252,
-0.015866175293922424,
-0.26232704520225525,
-0.30032992362976074,
-0.1590670496225357,
0.10278522223234177,
-0.017765890806913376,
0.09021291881799698,
0.24145406484603882,
-0.145173117518425,
0.15737220644950867,
-0.14852160215377808,
0.0059447214007377625,
0.1683463156223297,
0.01206386648118496,
-0.059065476059913635,
-0.494942307472229,
-0.13659238815307617,
0.07789844274520874,
0.16684222221374512,
-0.301530659198761,
-0.11099541932344437,
-0.3150732219219208,
-0.549096405506134,
0.35028716921806335,
0.0902983620762825,
0.2710992097854614,
0.17418110370635986,
0.432502418756485,
0.13066521286964417,
0.24255873262882233,
0.2983280122280121,
0.015492334961891174,
0.0056038498878479,
-0.3958297073841095,
0.3522568941116333,
-0.051216140389442444,
-0.23854690790176392,
-0.17499899864196777,
-0.27627915143966675,
-0.04370622709393501,
-0.6070844531059265,
0.22772836685180664,
0.33693280816078186,
-0.12922658026218414,
-0.004398483783006668,
-0.08178853243589401,
-0.01238299161195755,
0.016164159402251244,
-0.05048169195652008,
-0.28811803460121155,
0.048775605857372284,
-0.147475004196167,
-0.22088056802749634,
0.18842755258083344,
0.29066604375839233,
-0.020826280117034912,
-0.10261713713407516,
0.04187757521867752,
0.20440465211868286,
-0.23500709235668182,
0.2746155858039856,
0.30263447761535645,
0.02374105155467987,
0.19223953783512115,
-0.25632593035697937,
0.09141654521226883,
0.18779078125953674,
-0.044220708310604095,
0.0129159614443779,
-0.4630819857120514,
0.3867195248603821,
0.17954955995082855,
0.04701941832900047,
-0.16768571734428406,
-0.025355570018291473,
0.11992377042770386,
-0.3938746750354767,
-0.025587284937500954,
-0.12034390866756439,
0.409218430519104,
0.1596180498600006,
0.04027204588055611,
-0.2504864037036896,
-0.08737030625343323,
0.378346711397171,
0.23517782986164093,
0.02244403585791588,
-0.08077969402074814,
-0.02852752059698105,
-0.2552570700645447,
-0.027521668002009392,
0.20488213002681732,
-0.26303568482398987,
0.13779839873313904,
0.22095298767089844,
0.22511786222457886,
0.04289177060127258,
0.08786036819219589,
-0.29799044132232666,
0.33962008357048035,
-0.1313624233007431,
-0.6706221699714661,
0.07217790931463242,
0.1433473527431488,
-0.09956971555948257,
-0.26613548398017883,
0.3500920534133911,
0.1685534417629242,
0.21470999717712402,
-0.16192768514156342,
0.07394877076148987,
0.06034712493419647,
-0.35621723532676697,
-0.0812598466873169,
-0.3385585844516754,
0.1874818503856659,
-0.3308314383029938,
0.35099154710769653,
-0.04279787465929985,
-0.21703515946865082,
0.3455018103122711,
0.7361379265785217,
0.35103899240493774,
-0.31326374411582947,
0.14554543793201447,
-0.3556731343269348,
-0.32734909653663635,
-0.4356967806816101,
0.2994876205921173,
0.12705732882022858,
0.1815074384212494,
0.09578786790370941,
-0.21625040471553802,
-0.1294514238834381,
-0.04915377497673035,
-0.5591341257095337,
0.10137292742729187,
-0.1220327764749527,
0.3724372088909149,
0.08262777328491211,
0.02653404325246811,
0.17508399486541748,
-0.007526456378400326,
0.0623624324798584,
-0.1140376478433609,
-0.21854500472545624,
0.02327784150838852,
-0.2813745141029358,
-0.15083344280719757,
-0.3249015808105469,
-0.4619622528553009,
-0.1797357201576233,
-0.29540103673934937,
0.4088932275772095,
0.19328421354293823,
0.00956670567393303,
0.05693443864583969,
0.1207236647605896,
-0.21574333310127258,
-0.0261699091643095,
-0.08534926921129227,
-0.21751967072486877,
-0.27542832493782043,
0.22921106219291687,
-0.16709616780281067,
-0.2842598259449005,
0.1870863437652588,
-0.09914816170930862,
0.05846436321735382,
-0.04170504957437515,
-0.388884961605072,
-0.31250402331352234,
0.04668400436639786,
0.2699059247970581,
0.18466675281524658,
-0.1424018144607544,
0.5221604108810425,
-0.0063703847117722034,
-0.08896931260824203,
-0.027681121602654457,
-0.2805967330932617,
0.061762675642967224,
0.09369352459907532,
0.3274647295475006,
-0.43740496039390564,
0.0464186817407608,
0.09547573328018188,
0.31375470757484436,
0.27798226475715637,
0.1095597892999649,
-0.03977597504854202,
-0.04284651577472687,
0.2855709195137024,
-0.1101350411772728,
-0.06539604812860489,
0.15218372642993927,
-0.022435367107391357,
-0.10440557450056076,
0.46724385023117065,
-0.0419241264462471,
-0.11652330309152603,
-0.17064818739891052,
0.09033650159835815,
-0.3464507758617401,
-0.08117081224918365,
0.12607452273368835,
-0.2891133725643158,
0.32420840859413147,
0.08451282978057861,
-0.004057638347148895,
-0.09185628592967987,
-0.10784614831209183,
0.20863161981105804,
0.06390290707349777,
0.20576602220535278,
-0.15739081799983978,
-0.10855886340141296,
0.3489438593387604,
-0.3733675479888916,
0.32707124948501587,
-0.3126753866672516,
-0.08314717561006546,
-0.2726955711841583,
-0.10265963524580002,
0.05586032196879387,
-0.17525149881839752,
0.5573866367340088,
-0.09199415147304535,
-0.36702805757522583,
0.15424726903438568,
0.1174323558807373,
-0.3037589490413666,
-0.007990963757038116,
-0.3543836772441864,
0.0661722719669342,
0.011182406917214394,
0.0367499515414238,
-0.4769591689109802,
0.2203666716814041,
0.1472371369600296,
0.06377574056386948,
-0.07715540379285812,
0.143042653799057,
-0.30107662081718445,
-0.12653321027755737,
-0.38858523964881897,
0.08083371818065643,
-0.04157185181975365,
-0.03749241307377815,
-0.29301688075065613,
0.08458589017391205,
0.2734120190143585,
-0.0925549566745758,
0.3859402537345886,
0.20005176961421967,
0.43885278701782227,
-0.214022696018219,
0.2015206664800644,
0.29536882042884827,
-0.015799060463905334,
0.05741788446903229,
0.4650658667087555,
0.089090496301651,
-0.18286478519439697,
0.10184089839458466,
-0.19194184243679047,
0.2919367551803589,
0.4932485818862915,
0.11415883898735046,
0.161624014377594,
-0.22904270887374878,
-0.08084464073181152,
-0.4574302136898041,
0.06287854164838791,
0.18971584737300873,
0.16333109140396118,
-0.024853745475411415,
-0.17221826314926147,
0.16087403893470764,
-0.22003810107707977,
-0.17942187190055847,
0.16834107041358948,
-0.3628263473510742,
-0.161499485373497,
0.3806966543197632,
0.00926225632429123,
0.9592207074165344,
0.2110975980758667,
0.2556047737598419,
0.06530339270830154,
-0.04128924757242203,
-0.33119478821754456,
-0.4663870930671692,
0.062121909111738205,
-0.34404969215393066,
0.20396865904331207,
-0.10221324861049652,
0.09470167756080627,
0.24057108163833618,
0.060835834592580795,
-0.770682692527771,
0.05163592845201492,
0.0906992256641388,
0.25272494554519653,
0.12824133038520813,
0.028420262038707733,
-0.16494011878967285,
-0.049415308982133865,
0.06129764765501022,
0.15024474263191223,
0.24334579706192017,
0.021608619019389153,
-0.06863667815923691,
-0.20875103771686554,
-0.25746214389801025,
0.04034561663866043,
-0.015119478106498718,
-0.08973067253828049,
-0.46233364939689636,
-0.524132251739502,
0.17954634130001068,
-0.31400570273399353,
-0.11122997105121613,
0.1818239390850067,
0.5943565368652344,
0.14591050148010254,
-0.25473254919052124,
0.4194941222667694,
0.00754498690366745,
-0.11474928259849548,
0.37309226393699646,
-0.12523546814918518,
-0.10251013934612274,
-0.04151204600930214,
-0.22898593544960022,
0.35309872031211853,
-0.05374009534716606,
0.15338608622550964,
-0.5114631652832031,
-0.1239185631275177,
0.2599615752696991,
-0.2947605848312378,
0.19480003416538239,
0.1583349108695984,
-0.1504938155412674,
-0.22333908081054688,
0.23266053199768066,
0.019756101071834564,
-0.2428717464208603,
0.060892410576343536,
-0.33652716875076294,
-0.10467388480901718,
-0.27323469519615173,
0.13376598060131073,
-0.05431129038333893,
0.2704576849937439,
0.42149773240089417,
0.14721952378749847,
0.06871706992387772,
-0.23011770844459534,
-0.36712920665740967,
0.15314927697181702,
-0.2495816946029663,
0.16562874615192413,
0.09428553283214569,
-0.5631294250488281,
0.13154155015945435,
0.4800894260406494,
0.07387599349021912,
-0.1603662371635437,
-0.15444104373455048,
-0.20297472178936005,
-0.4356238842010498,
0.1679108887910843,
0.24341726303100586,
0.22347883880138397,
-0.14076998829841614,
0.4934188723564148,
0.08570219576358795,
0.29739487171173096,
-0.4622974395751953,
0.09395099431276321,
0.02776441164314747,
0.3234708607196808,
-0.3126958906650543,
-0.28335949778556824,
0.003025030717253685,
-0.011084464378654957,
0.10082479566335678,
0.24919837713241577,
-0.2491687536239624,
-0.2391897439956665,
0.0025285258889198303,
0.11398958414793015,
0.013735483400523663,
-0.1530442088842392,
0.12421073764562607,
0.14687979221343994,
-0.07707621157169342,
-0.011705636978149414,
0.06492064893245697,
-0.12252850830554962,
-0.05299846827983856,
0.2830203175544739,
0.06957632303237915,
0.15113401412963867,
-0.052441567182540894,
-0.11241285502910614,
0.030836015939712524,
-0.048779383301734924,
0.1089777797460556,
-0.09611120820045471,
-0.44272032380104065,
-0.0699358582496643,
0.2700328230857849,
0.36117953062057495,
0.08501746505498886,
0.1996074616909027,
0.22708219289779663,
0.19458582997322083,
0.0793888121843338,
-0.11136029660701752,
0.1415167599916458,
0.30824583768844604,
-0.3420957624912262,
0.04110608994960785,
0.03276371955871582,
0.3068417012691498,
-0.30903008580207825,
0.1518489569425583,
-0.33948472142219543,
-0.2198689579963684,
0.24589696526527405,
0.02822202444076538,
0.5634498000144958,
-0.3774976432323456,
0.2929043769836426,
0.2840971350669861,
-0.031806886196136475,
-0.18516291677951813,
0.006026695016771555,
0.18941177427768707,
-0.34860819578170776,
-0.037119705229997635,
0.11968788504600525,
-0.0009133070707321167,
-0.05191279202699661,
0.2819752097129822,
0.11516322195529938,
0.24838696420192719,
0.03887375816702843,
0.16252033412456512,
-0.013462841510772705,
-0.02594313956797123,
0.4257441461086273,
0.1675119549036026,
0.1780531406402588,
0.22449877858161926,
0.23317985236644745,
0.20536279678344727,
-0.22302959859371185,
-0.025323886424303055,
-0.21277080476284027,
-0.13493983447551727,
0.018738051876425743,
-0.1758279800415039,
-0.2993677854537964,
-0.12055708467960358,
-0.06269276142120361,
-0.21071256697177887,
-0.06453394889831543,
0.09263043850660324,
0.1352842003107071,
-0.10210449993610382,
-0.2992439866065979,
-0.12850868701934814,
-0.04601342976093292,
-0.11023687571287155,
0.5393267273902893,
-0.12362970411777496,
0.5707079172134399,
0.3607727885246277,
0.00009723752737045288,
0.5962396860122681,
0.4349706768989563,
0.2694780230522156,
0.08384276926517487,
-0.3845234513282776,
0.20198726654052734,
-0.26559776067733765,
-0.15316732227802277,
-0.017084715887904167,
0.4859735369682312,
0.11901116371154785,
0.17468270659446716,
0.1297142654657364,
0.20332708954811096,
-0.20588470995426178,
0.02308960258960724,
0.13067208230495453,
-0.05657927319407463,
-0.22015658020973206,
-0.013164296746253967,
0.04915468767285347,
-0.26389721035957336,
-0.10243368148803711,
-0.19559511542320251,
-0.2294744849205017,
-0.040164802223443985,
0.11872145533561707,
-0.1780771166086197,
0.04122861102223396,
-0.042282722890377045,
0.13033220171928406,
0.0880914032459259,
0.32273149490356445,
0.23075203597545624,
0.07772406935691833,
-0.28201618790626526,
-0.3747696876525879,
-0.5830727219581604,
0.31760933995246887,
-0.15105605125427246,
-0.03029477410018444,
-0.13593795895576477,
0.1217261403799057,
0.4364871382713318,
0.10920677334070206,
-0.27852749824523926,
0.23806893825531006,
-0.18060779571533203,
-0.03199756145477295,
-0.6884823441505432,
-0.18903054296970367,
0.06768018007278442,
0.29870253801345825,
0.10749799013137817,
-0.13033702969551086,
0.050924014300107956,
0.39291390776634216,
0.1601172387599945,
0.11395476013422012,
-0.16859596967697144,
0.2868782579898834,
0.0787898525595665,
0.07406879216432571,
0.13429251313209534,
0.07418937981128693,
-0.12129779160022736,
-0.11907023936510086,
-0.0037855617702007294,
-0.0362631231546402,
-0.2290824055671692,
-0.005761891603469849,
0.16904298961162567,
0.17702074348926544,
0.0144862812012434,
-0.0701485127210617,
0.1647447645664215,
0.0862065851688385,
0.2942224144935608,
0.17834319174289703,
-0.2206486612558365,
0.08762747049331665,
0.30562329292297363,
0.06064261123538017,
-0.022247206419706345,
0.7176973819732666,
-0.016449257731437683,
-0.08552005141973495,
-0.3637455105781555,
-0.263963907957077,
0.49098262190818787,
-0.18485641479492188,
-0.00294332392513752,
0.1638146936893463,
-0.015969693660736084,
-0.1111002042889595,
0.08322528749704361,
-0.6209237575531006,
0.14323270320892334,
0.22241011261940002,
0.021194571629166603,
0.010687433183193207,
0.1748473048210144,
0.23593179881572723,
0.07092800736427307,
-0.1744375079870224,
0.6452687978744507,
0.4209963083267212,
0.11221323907375336,
0.05146895721554756,
-0.19470027089118958
] |
https://github.com/huggingface/datasets/pull/494 | Fix numpy stacking | This PR also fixed a bug where numpy arrays were returned instead of pytorch tensors when getting with a clumn as a key. | When getting items using a column name as a key, numpy arrays were not stacked.
I fixed that and added some tests.
There is another issue that still needs to be fixed though: when getting items using a column name as a key, pytorch tensors are not stacked (it outputs a list of tensors). This PR should help with the to fix this issue. | 23 | text: Fix numpy stacking
When getting items using a column name as a key, numpy arrays were not stacked.
I fixed that and added some tests.
There is another issue that still needs to be fixed though: when getting items using a column name as a key, pytorch tensors are not stacked (it outputs a list of tensors). This PR should help with the to fix this issue.
This PR also fixed a bug where numpy arrays were returned instead of pytorch tensors when getting with a clumn as a key. | [
0.2296002358198166,
-0.3913804590702057,
-0.16295184195041656,
0.16986054182052612,
0.15567947924137115,
-0.09835599362850189,
0.5480291843414307,
0.48268380761146545,
0.07974693179130554,
0.27522867918014526,
-0.005659992806613445,
0.3604147732257843,
0.12833040952682495,
0.1748201847076416,
0.04040281102061272,
-0.20056727528572083,
-0.038798294961452484,
0.20848576724529266,
-0.19321224093437195,
-0.09865322709083557,
-0.2836589217185974,
0.1821160912513733,
-0.22142036259174347,
-0.06711603701114655,
-0.1298254430294037,
-0.17166659235954285,
-0.07278744876384735,
0.14435040950775146,
0.12263916432857513,
-0.2833157479763031,
0.02160550095140934,
-0.22804886102676392,
-0.2556473910808563,
0.291591614484787,
-0.00009683336247690022,
0.011587090790271759,
0.14098574221134186,
-0.004295226186513901,
0.0613609217107296,
0.036007434129714966,
0.5251139998435974,
-0.6640735864639282,
0.016301915049552917,
-0.30964380502700806,
-0.148617684841156,
-0.4333234131336212,
-0.2714275121688843,
-0.012345690280199051,
0.20786160230636597,
0.028323199599981308,
0.36319270730018616,
0.36558401584625244,
0.24328915774822235,
0.15563739836215973,
-0.08373970538377762,
-0.1888539344072342,
-0.26848700642585754,
0.020927224308252335,
0.44836869835853577,
0.025238877162337303,
0.0409381166100502,
0.26257193088531494,
-0.12339295446872711,
0.25006428360939026,
0.06759510934352875,
0.1847832202911377,
0.12973730266094208,
-0.2942018508911133,
-0.14589697122573853,
0.19863879680633545,
0.0160321444272995,
0.0696854442358017,
-0.0026122508570551872,
-0.3433302044868469,
0.11986356973648071,
-0.16436025500297546,
0.206740140914917,
0.1719909906387329,
-0.19569863379001617,
-0.08636325597763062,
-0.04234009608626366,
0.1375558227300644,
-0.2417827844619751,
0.10094905644655228,
-0.18567904829978943,
0.06889557838439941,
0.0483546257019043,
-0.11426667124032974,
0.10863156616687775,
-0.09289698302745819,
0.2566221356391907,
0.03920024633407593,
0.08944860100746155,
0.07205786556005478,
-0.3561900854110718,
-0.25544053316116333,
0.3359791040420532,
-0.4135967195034027,
-0.09830397367477417,
-0.4390426278114319,
0.2126334309577942,
0.3993372619152069,
0.1453288346529007,
-0.01034758985042572,
0.08087807893753052,
0.21790868043899536,
-0.02257557213306427,
0.2355562001466751,
0.17422863841056824,
0.2532340884208679,
0.24356135725975037,
0.03181196376681328,
0.08622857928276062,
-0.13290147483348846,
-0.19633111357688904,
0.041063714772462845,
0.030938901007175446,
-0.12406504154205322,
0.10332987457513809,
0.08454788476228714,
-0.15239626169204712,
0.12440572679042816,
-0.08035100251436234,
0.3206063508987427,
-0.17624564468860626,
0.29509809613227844,
0.2154495269060135,
0.09706290066242218,
-0.01222078688442707,
0.07462569326162338,
-0.23623181879520416,
0.053917303681373596,
-0.09678306430578232,
-0.23719756305217743,
0.3181706964969635,
0.14296460151672363,
-0.0062478771433234215,
0.16816134750843048,
0.4863017797470093,
-0.15017399191856384,
0.1584533005952835,
0.20433762669563293,
0.45309415459632874,
0.2623066306114197,
-0.012033659964799881,
-0.04415314644575119,
0.18135102093219757,
0.21351765096187592,
-0.1734876036643982,
0.33299729228019714,
-0.3841117024421692,
-0.03317916765809059,
-0.1444683074951172,
0.37104740738868713,
0.05570795387029648,
0.10803289711475372,
0.2285565733909607,
-0.1898084133863449,
0.25636619329452515,
0.0810391902923584,
0.06902322918176651,
-0.08296223729848862,
-0.07449398934841156,
-0.2871294915676117,
0.1905118077993393,
-0.27529239654541016,
-0.20185890793800354,
-0.03662613779306412,
-0.007244223728775978,
0.07783116400241852,
0.0642755925655365,
0.3239879906177521,
0.008050696924328804,
0.007713735103607178,
-0.16979672014713287,
0.0349716916680336,
-0.08503731340169907,
0.015344642102718353,
-0.2781294584274292,
0.09351935237646103,
0.011933691799640656,
0.13583868741989136,
-0.03155047446489334,
0.03954644501209259,
0.10817915201187134,
0.16005180776119232,
0.21223080158233643,
0.07830643653869629,
0.015184124000370502,
0.254446417093277,
-0.518642246723175,
-0.12267562001943588,
-0.017438028007745743,
0.1460910439491272,
0.15425390005111694,
-0.0756644532084465,
-0.35258749127388,
-0.32756295800209045,
0.24982500076293945,
-0.18252021074295044,
-0.15042562782764435,
-0.014328479766845703,
0.24291637539863586,
-0.15328891575336456,
0.12158431112766266,
0.06859254837036133,
-0.23742613196372986,
0.24087116122245789,
-0.48979902267456055,
0.29872381687164307,
-0.15540800988674164,
-0.1346217691898346,
0.003824051469564438,
-0.0724257230758667,
0.0028015896677970886,
-0.0872449278831482,
0.31664609909057617,
-0.28177741169929504,
-0.0696217268705368,
-0.08134232461452484,
-0.10553687810897827,
0.126445472240448,
-0.17150947451591492,
-0.04964625462889671,
-0.15489211678504944,
0.26151183247566223,
-0.20589230954647064,
-0.26619306206703186,
-0.17263421416282654,
0.3449835181236267,
0.007424060255289078,
-0.1593005359172821,
0.0509500727057457,
0.15297190845012665,
-0.3006798326969147,
-0.1527027040719986,
-0.3880946636199951,
0.1295277625322342,
0.3886059522628784,
0.05365188792347908,
0.26069918274879456,
0.17805452644824982,
-0.17433081567287445,
-0.27528148889541626,
-0.0695107951760292,
0.737775444984436,
-0.03319473937153816,
0.11053521931171417,
0.07984355092048645,
0.011606408283114433,
-0.04356628283858299,
-0.048245735466480255,
0.0631832554936409,
0.022084809839725494,
0.24660572409629822,
-0.10601282119750977,
-0.23882928490638733,
-0.0924050509929657,
-0.4489315450191498,
0.11083107441663742,
0.4803433418273926,
0.12048926949501038,
0.11083760112524033,
0.04622917249798775,
0.006920143961906433,
-0.04206889122724533,
0.018217742443084717,
-0.20390987396240234,
0.0654904842376709,
0.17997883260250092,
-0.008924189954996109,
0.06524608284235,
-0.00924787949770689,
-0.18552373349666595,
0.04503416270017624,
0.030177190899848938,
-0.09669177234172821,
0.2564740777015686,
0.1327984631061554,
-0.055928248912096024,
-0.04488387331366539,
0.30650222301483154,
-0.0681433230638504,
0.10689055174589157,
-0.27189433574676514,
-0.18558329343795776,
-0.006440835073590279,
-0.13833512365818024,
-0.07749468088150024,
-0.11453130841255188,
-0.05843869969248772,
-0.35869964957237244,
0.22781088948249817,
0.1904553920030594,
-0.21088771522045135,
0.3292105495929718,
0.17266257107257843,
0.33929184079170227,
0.1743723601102829,
0.15689116716384888,
-0.1737743616104126,
-0.01470782421529293,
-0.12238002568483353,
0.3187139928340912,
-0.13936951756477356,
0.011494116857647896,
0.2090391367673874,
0.16699163615703583,
-0.2626890540122986,
0.11451396346092224,
-0.3171027898788452,
0.11118616163730621,
0.019914746284484863,
-0.1642918586730957,
0.08227822184562683,
0.3322274088859558,
-0.10935588926076889,
-0.36886829137802124,
0.2809178829193115,
-0.32504650950431824,
-0.13246604800224304,
0.30307620763778687,
0.3182494342327118,
-0.02172224596142769,
-0.35297104716300964,
-0.4942508637905121,
-0.0667882114648819,
-0.42544063925743103,
0.17397859692573547,
0.02566789835691452,
0.31403160095214844,
-0.07307092100381851,
0.2552148699760437,
0.1804226189851761,
-0.1405378133058548,
0.015139514580368996,
-0.06509441882371902,
-0.07165366411209106,
0.31856366991996765,
-0.12015043944120407,
-0.4556838870048523,
-0.32724711298942566,
-0.03295736014842987,
-0.13079267740249634,
-0.09400532394647598,
-0.24288569390773773,
-0.3527754843235016,
-0.05988918989896774,
0.08132666349411011,
0.11790451407432556,
-0.09645263105630875,
0.21118849515914917,
0.012518402189016342,
-0.28658196330070496,
0.022223860025405884,
0.11581447720527649,
-0.07044834643602371,
0.09907227009534836,
0.21705034375190735,
-0.11973492056131363,
0.011539742350578308,
0.17682389914989471,
0.2666529417037964,
0.11323346197605133,
-0.3099759519100189,
0.014396045356988907,
0.03207878768444061,
0.189782977104187,
0.014992915093898773,
-0.41470956802368164,
-0.06336062401533127,
-0.03346376121044159,
0.1332070231437683,
0.1587248593568802,
0.0058977361768484116,
-0.29673466086387634,
-0.13386180996894836,
0.37857088446617126,
-0.023930056020617485,
-0.21408413350582123,
0.2788364589214325,
0.05998105928301811,
0.06379304826259613,
-0.11020532250404358,
0.18319275975227356,
-0.1147231012582779,
-0.08748035132884979,
0.018537214025855064,
-0.209319606423378,
-0.18128281831741333,
-0.25925832986831665,
-0.4078064560890198,
-0.22487345337867737,
-0.3221617043018341,
0.28432542085647583,
0.06963862478733063,
0.290338397026062,
0.14198969304561615,
-0.30116087198257446,
0.07375680655241013,
-0.026160893961787224,
0.7057874202728271,
0.018381765112280846,
-0.30565690994262695,
0.31500598788261414,
-0.054310496896505356,
-0.17734290659427643,
-0.1066717877984047,
-0.534105658531189,
0.012496020644903183,
0.4386101961135864,
0.42895767092704773,
-0.024564459919929504,
0.011752593331038952,
0.19044002890586853,
0.01607963629066944,
-0.15921355783939362,
-0.23036721348762512,
-0.30533358454704285,
-0.19335484504699707,
-0.07523791491985321,
0.005857646465301514,
0.00024344772100448608,
-0.023943524807691574,
-0.11412256211042404,
-0.4784712493419647,
0.1451125293970108,
-0.18710866570472717,
-0.031554996967315674,
0.03209554776549339,
0.2937126159667969,
-0.08172042667865753,
0.21043702960014343,
0.13937179744243622,
0.3974044919013977,
0.3004963994026184,
-0.025288879871368408,
-0.18391118943691254,
0.298183798789978,
-0.06458918750286102,
-0.24441635608673096,
0.023861728608608246,
0.17079322040081024,
-0.10409162193536758,
-0.010881423950195312,
-0.17670048773288727,
0.295769602060318,
0.08152786642313004,
-0.09385070204734802,
0.3068097233772278,
0.16274113953113556,
0.18426156044006348,
-0.05108854919672012,
0.3377804458141327,
-0.17204833030700684,
-0.07937458902597427,
0.3808830976486206,
-0.29272162914276123,
-0.09220477938652039,
0.08359339088201523,
0.19675284624099731,
0.8305051326751709,
-0.007220953702926636,
0.11441044509410858,
0.41598379611968994,
-0.08598976582288742,
0.46891868114471436,
-0.17778280377388,
0.39570510387420654,
-0.3471338748931885,
-0.39009732007980347,
0.07080307602882385,
-0.1224634051322937,
0.04319384694099426,
0.12671399116516113,
-0.33278122544288635,
0.07541098445653915,
0.032366156578063965,
-0.02021734043955803,
-0.07648418098688126,
0.09803138673305511,
0.11911523342132568,
-0.22158443927764893,
0.03307206183671951,
0.2157132625579834,
-0.021363884210586548,
0.06046057492494583,
-0.10411571711301804,
0.07146625965833664,
0.07459135353565216,
-0.19547222554683685,
-0.18584266304969788,
0.2686852216720581,
0.130275160074234,
0.24838225543498993,
0.43058669567108154,
-0.23167511820793152,
-0.048893023282289505,
-0.13228484988212585,
0.08395589143037796,
-0.0561152808368206,
-0.10572366416454315,
0.062291406095027924,
0.3674861490726471,
-0.09032909572124481,
0.16167311370372772,
0.10200531780719757,
0.23259207606315613,
-0.07853031158447266,
-0.24705040454864502,
-0.07358001917600632,
0.04540829733014107,
-0.08593781292438507,
-0.31026941537857056,
0.16131100058555603,
-0.09488627314567566,
-0.2454230636358261,
0.07835668325424194,
0.05181020870804787,
-0.06181452423334122,
-0.13489413261413574,
0.33883726596832275,
-0.07847961783409119,
-0.24497707188129425,
0.5165302753448486,
0.17170925438404083,
-0.15325701236724854,
-0.0010778121650218964,
0.32323336601257324,
0.2332075834274292,
-0.4032275378704071,
0.2061809003353119,
0.40051475167274475,
-0.21777687966823578,
-0.27129608392715454,
-0.23910602927207947,
0.08338353037834167,
0.0829320177435875,
0.20722924172878265,
-0.15807554125785828,
-0.22952023148536682,
-0.1002708449959755,
0.039129726588726044,
0.2625899910926819,
0.36726003885269165,
-0.3586220145225525,
0.08606773614883423,
-0.16585540771484375,
0.21120817959308624,
0.23027653992176056,
0.42089420557022095,
-0.3272254168987274,
0.2192211002111435,
0.06060335040092468,
0.14179013669490814,
-0.4956986904144287,
-0.06336238980293274,
-0.11264953762292862,
-0.09028412401676178,
0.02701791189610958,
-0.29031601548194885,
0.08693183213472366,
-0.20760011672973633,
0.2644806206226349,
0.23290474712848663,
-0.052235670387744904,
-0.37684181332588196,
0.21087945997714996,
0.015774250030517578,
-0.01126706600189209,
-0.12339495867490768,
0.1253892183303833,
-0.0887521281838417,
-0.15825879573822021,
-0.052037954330444336,
-0.1232660710811615,
-0.025913549587130547,
0.008514519780874252,
0.38914600014686584,
0.08378186821937561,
0.3200705051422119,
0.1470448076725006,
-0.06521933525800705,
-0.20051059126853943,
-0.03347848355770111,
0.1316475123167038,
0.022595930844545364,
0.1014120802283287,
-0.009489618241786957,
0.11036090552806854,
0.13396862149238586,
-0.2908247113227844,
-0.011018302291631699,
0.46729427576065063,
-0.028337523341178894,
-0.33092907071113586,
-0.14933496713638306,
0.43350985646247864,
0.18034006655216217,
-0.2553277611732483,
-0.21300570666790009,
0.08755829930305481,
0.43360966444015503,
-0.4112272262573242,
-0.06681282818317413,
-0.024330470710992813,
0.20205098390579224,
0.15553291141986847,
0.2042652666568756,
0.09266684949398041,
-0.1338854879140854,
0.13228492438793182,
0.22121211886405945,
0.29987087845802307,
-0.41506415605545044,
0.13617438077926636,
0.13534808158874512,
-0.25734904408454895,
-0.19274215400218964,
0.21346165239810944,
-0.21464847028255463,
0.05318910628557205,
0.13665316998958588,
0.16082917153835297,
0.11912132054567337,
0.11607787013053894,
-0.00896720215678215,
0.01457233726978302,
0.1675107777118683,
0.10605009645223618,
0.38179630041122437,
-0.10840876400470734,
0.14374130964279175,
0.2726553678512573,
0.1459152102470398,
-0.17702913284301758,
-0.11779564619064331,
-0.31703460216522217,
0.087961345911026,
-0.34272152185440063,
0.1748775690793991,
-0.19030940532684326,
-0.1744782030582428,
-0.17899447679519653,
-0.2644036114215851,
0.2282455563545227,
0.10019679367542267,
0.4370172917842865,
0.01583145558834076,
-0.20472736656665802,
-0.09819964319467545,
0.14419639110565186,
0.09206180274486542,
0.39046958088874817,
-0.12423540651798248,
0.047851670533418655,
0.40826570987701416,
-0.02576570212841034,
-0.16585469245910645,
0.08281949162483215,
0.30268043279647827,
0.27009111642837524,
-0.28231537342071533,
0.17138224840164185,
-0.06566368043422699,
-0.10796715319156647,
-0.09235091507434845,
0.14233335852622986,
0.1419062316417694,
0.01730407029390335,
0.01831744983792305,
0.2779165804386139,
-0.36103561520576477,
0.22758181393146515,
-0.19768507778644562,
0.23569554090499878,
0.002452959306538105,
0.47188305854797363,
-0.1082109808921814,
-0.5705571174621582,
-0.11273424327373505,
-0.3447370231151581,
-0.29331493377685547,
-0.21489286422729492,
0.2874194085597992,
0.06127120926976204,
-0.013122741132974625,
0.049990344792604446,
0.1859235167503357,
-0.11040367186069489,
0.5368063449859619,
0.18454855680465698,
0.14218565821647644,
-0.12229912728071213,
-0.01908057928085327,
-0.3294447362422943,
0.31378495693206787,
-0.17204490303993225,
-0.046168871223926544,
-0.020112816244363785,
0.341708242893219,
0.09332361817359924,
-0.07374642044305801,
0.03935471922159195,
-0.26072362065315247,
-0.08028516918420792,
-0.21768614649772644,
-0.6092221736907959,
0.22185932099819183,
0.03034890443086624,
-0.11861541867256165,
0.21650980412960052,
-0.2527823746204376,
0.051917966455221176,
-0.06404919922351837,
0.23451164364814758,
-0.08522386848926544,
-0.02081138640642166,
-0.12915852665901184,
0.1567901074886322,
-0.030915431678295135,
0.12550103664398193,
0.19480620324611664,
-0.024465668946504593,
-0.08855609595775604,
0.1416010558605194,
-0.26369351148605347,
-0.13676153123378754,
0.3456777334213257,
0.18051156401634216,
0.09209034591913223,
0.07948130369186401,
-0.42112675309181213,
-0.21270819008350372,
0.07308155298233032,
0.07744895666837692,
-0.28222259879112244,
-0.23584610223770142,
0.18262577056884766,
0.22846931219100952,
0.03867213800549507,
-0.04659517481923103,
0.28826552629470825,
-0.0015817098319530487,
-0.030770596116781235,
-0.32754772901535034,
-0.5402214527130127,
0.46640583872795105,
0.012401585467159748,
-0.19774168729782104,
-0.15389905869960785,
0.2916998863220215,
-0.3847765624523163,
0.14542865753173828,
-0.5420867204666138,
-0.2833236753940582,
0.24867460131645203,
-0.14321032166481018,
-0.1986541748046875,
0.03418027609586716,
-0.06985984742641449,
-0.10798190534114838,
-0.16855916380882263,
0.06477926671504974,
0.05870330333709717,
-0.19925667345523834,
-0.18524950742721558,
-0.0812445878982544
] |
https://github.com/huggingface/datasets/pull/487 | Fix elasticsearch result ids returning as strings | It looks like you need to rebase from master to fix the CI. Could you do that please ? | I am using the latest elasticsearch binary and master of nlp. For me elasticsearch searches failed because the resultant "id_" returned for searches are strings, but our library assumes them to be integers. | 19 | text: Fix elasticsearch result ids returning as strings
I am using the latest elasticsearch binary and master of nlp. For me elasticsearch searches failed because the resultant "id_" returned for searches are strings, but our library assumes them to be integers.
It looks like you need to rebase from master to fix the CI. Could you do that please ? | [
0.11159427464008331,
0.3221713900566101,
-0.10099321603775024,
-0.23035480082035065,
-0.07167022675275803,
-0.39056235551834106,
-0.04017342999577522,
0.37579768896102905,
-0.145404651761055,
-0.10577747225761414,
0.035053372383117676,
0.340773344039917,
-0.21459299325942993,
0.023779889568686485,
-0.24857288599014282,
-0.014751285314559937,
-0.032428108155727386,
0.08850595355033875,
0.08564374595880508,
-0.16696962714195251,
-0.15101541578769684,
0.5995737314224243,
0.13805705308914185,
0.13780036568641663,
-0.2036895751953125,
0.045498788356781006,
0.035063110291957855,
-0.06918031722307205,
-0.2381456345319748,
-0.2796895205974579,
0.42762598395347595,
-0.12263345718383789,
-0.1565248817205429,
-0.056779928505420685,
-0.00011413941683713347,
-0.20020337402820587,
0.5318230390548706,
0.11357173323631287,
-0.11741140484809875,
-0.5298867225646973,
0.059814900159835815,
0.03707399219274521,
0.3419439494609833,
-0.32619521021842957,
-0.020040735602378845,
0.22641542553901672,
-0.028648724779486656,
-0.04452881962060928,
0.07577742636203766,
0.3109692335128784,
0.2569522261619568,
-0.27894720435142517,
-0.032594915479421616,
0.05184682086110115,
0.507618248462677,
0.3494710922241211,
0.18047834932804108,
-0.11343903839588165,
0.0823294073343277,
-0.014112780801951885,
0.11850467324256897,
0.14843802154064178,
-0.07062727212905884,
-0.32200777530670166,
-0.24595755338668823,
0.0845940113067627,
0.045094482600688934,
-0.15658795833587646,
0.16014879941940308,
-0.5232716202735901,
-0.06638064235448837,
0.22671464085578918,
-0.022441746667027473,
0.14020225405693054,
-0.06707378476858139,
-0.36760157346725464,
0.4088504910469055,
0.1687648892402649,
0.08205321431159973,
0.00007839128375053406,
-0.34371060132980347,
-0.18940240144729614,
0.007051348686218262,
0.22574278712272644,
-0.22036592662334442,
0.18048158288002014,
-0.043371498584747314,
0.10914108157157898,
0.25520801544189453,
-0.05039617419242859,
0.07741204649209976,
0.5547612905502319,
-0.27158796787261963,
-0.13007648289203644,
-0.08766469359397888,
-0.1726917326450348,
-0.019199788570404053,
0.23583778738975525,
-0.1481553614139557,
0.14507204294204712,
0.03860575333237648,
0.02650296315550804,
0.19610196352005005,
0.05197901278734207,
-0.039911236613988876,
0.1983758956193924,
0.4961628019809723,
0.3965438902378082,
0.21093659102916718,
-0.2182159721851349,
-0.5230909585952759,
0.04292368143796921,
0.08720573037862778,
-0.09616847336292267,
0.14765626192092896,
0.08672889322042465,
-0.04672974348068237,
-0.19503812491893768,
-0.127935528755188,
0.14800719916820526,
-0.3594166934490204,
-0.09747979044914246,
0.027842141687870026,
-0.0289173424243927,
-0.1074521467089653,
0.08838237822055817,
0.6458384394645691,
0.08734945952892303,
-0.012761963531374931,
-0.3667149841785431,
-0.11168714612722397,
-0.10290677845478058,
-0.35305657982826233,
-0.29658541083335876,
0.19967080652713776,
-0.531833291053772,
0.32661640644073486,
-0.07274629175662994,
-0.1872086077928543,
-0.28841111063957214,
0.07241880148649216,
0.18577684462070465,
0.2607291638851166,
0.06922737509012222,
-0.0915781781077385,
0.020531045272946358,
0.1178039014339447,
-0.5807980895042419,
0.07880967110395432,
-0.03656330704689026,
-0.391721248626709,
-0.34445932507514954,
-0.5064188241958618,
0.28919458389282227,
-0.13643412292003632,
0.010505298152565956,
0.284799188375473,
0.19748906791210175,
0.12699878215789795,
0.0985022485256195,
0.06068374216556549,
-0.19566792249679565,
0.3241388499736786,
0.06399860233068466,
-0.02860618568956852,
-0.2707553505897522,
0.20430675148963928,
-0.122227244079113,
-0.19879662990570068,
0.3584256172180176,
0.30373871326446533,
0.2732992172241211,
-0.007940923795104027,
0.11315912008285522,
-0.005384975112974644,
0.12880508601665497,
0.4723786413669586,
0.033430811017751694,
-0.2209903746843338,
0.07557247579097748,
0.0627574771642685,
-0.39560386538505554,
-0.03351882845163345,
-0.19890205562114716,
0.4460070729255676,
-0.06203354522585869,
0.3983982503414154,
0.18227632343769073,
0.14390242099761963,
-0.06718598306179047,
-0.4025140106678009,
-0.09708428382873535,
-0.19184523820877075,
0.013803701847791672,
0.1440337598323822,
0.27899494767189026,
0.3611396253108978,
0.18817977607250214,
0.0024815648794174194,
0.0640207976102829,
-0.1392710953950882,
-0.2028312087059021,
0.2681353986263275,
-0.1238878071308136,
0.10355646908283234,
0.2192024290561676,
0.12978510558605194,
-0.2672460675239563,
-0.33583512902259827,
0.2942454218864441,
0.09804839640855789,
-0.24393190443515778,
-0.1282469928264618,
-0.13201871514320374,
0.18650498986244202,
0.23999004065990448,
0.19904789328575134,
0.003103896975517273,
-0.16890376806259155,
-0.012438978999853134,
-0.2289157509803772,
-0.04068681597709656,
-0.37065765261650085,
-0.10480951517820358,
-0.33229294419288635,
0.08837898820638657,
-0.14806021749973297,
-0.1120842918753624,
-0.019798018038272858,
0.16120803356170654,
0.14888203144073486,
0.24070176482200623,
-0.19674107432365417,
0.2620750367641449,
-0.49760833382606506,
0.0685788244009018,
0.44498544931411743,
0.22754806280136108,
0.05209347605705261,
-0.3524342179298401,
-0.04038707911968231,
0.27364182472229004,
-0.18140192329883575,
0.06495944410562515,
0.1439514458179474,
0.07792365550994873,
-0.1726093888282776,
0.14541667699813843,
-0.1007268875837326,
0.07129736989736557,
0.2751184105873108,
-0.2128489464521408,
-0.5742908120155334,
-0.2154887169599533,
0.3323964476585388,
-0.17148928344249725,
-0.46444910764694214,
0.031456299126148224,
-0.42961782217025757,
-0.007399201393127441,
0.1932719349861145,
-0.008871853351593018,
0.19181907176971436,
0.43703198432922363,
0.28529298305511475,
-0.06695226579904556,
-0.3888561725616455,
0.2617177963256836,
0.18613286316394806,
0.11936953663825989,
0.05250535160303116,
0.12067528814077377,
0.026629123836755753,
-0.20790520310401917,
0.5240369439125061,
0.06407684832811356,
-0.17289207875728607,
0.17881187796592712,
0.31856468319892883,
0.10597246885299683,
-0.25238850712776184,
0.1257251352071762,
-0.07928235083818436,
0.10069876164197922,
-0.32357263565063477,
0.028866486623883247,
-0.22965778410434723,
-0.0075582824647426605,
-0.032803405076265335,
-0.1600511074066162,
-0.23852258920669556,
-0.22772006690502167,
0.037811387330293655,
0.22453385591506958,
-0.18002600967884064,
0.014859611168503761,
-0.0003389976918697357,
0.47610682249069214,
-0.10896796733140945,
0.13751186430454254,
-0.09667962789535522,
-0.09086968004703522,
-0.2607044279575348,
0.031620174646377563,
-0.06722234189510345,
-0.13286978006362915,
0.3248656690120697,
-0.44368433952331543,
0.13370762765407562,
-0.3352265954017639,
-0.5448760390281677,
-0.011925272643566132,
0.16079875826835632,
0.1783430278301239,
0.4849838614463806,
-0.40155112743377686,
-0.6881428956985474,
-0.4127945303916931,
0.16037912666797638,
-0.2515932023525238,
0.03481545299291611,
0.019596591591835022,
0.015465720556676388,
0.3626212775707245,
-0.11975279450416565,
-0.2918596565723419,
-0.130576491355896,
-0.13084743916988373,
0.06979011744260788,
-0.04927938058972359,
0.25334838032722473,
0.45180413126945496,
-0.17685799300670624,
-0.32655996084213257,
-0.02410207688808441,
-0.13717485964298248,
-0.3689495921134949,
-0.4063509702682495,
0.17586685717105865,
-0.18063561618328094,
-0.29059988260269165,
0.00293823704123497,
0.07652456313371658,
0.21252165734767914,
0.1597665250301361,
-0.35729271173477173,
0.34105727076530457,
0.38823696970939636,
-0.44014158844947815,
0.016412941738963127,
0.31468433141708374,
-0.1709745228290558,
0.1526910811662674,
-0.24516956508159637,
-0.10839216411113739,
-0.06280012428760529,
0.38401710987091064,
0.4473375678062439,
0.6675626039505005,
0.18139266967773438,
0.1002473384141922,
-0.03131444379687309,
0.34735411405563354,
0.09602411091327667,
-0.2100486308336258,
0.19481393694877625,
0.3408469259738922,
-0.1401446908712387,
-0.03189707547426224,
-0.39822083711624146,
-0.2782377004623413,
-0.056437402963638306,
-0.13188186287879944,
0.2723824679851532,
-0.04139477387070656,
-0.41786518692970276,
-0.0902186781167984,
-0.18749192357063293,
-0.49773791432380676,
-0.20507512986660004,
0.27330294251441956,
-0.04437050223350525,
0.3124504089355469,
0.04415438696742058,
-0.08360323309898376,
-0.04048492759466171,
-0.00047811027616262436,
-0.1150643527507782,
-0.10501228272914886,
0.16072602570056915,
0.1464378535747528,
0.06193702295422554,
-0.7127909660339355,
-0.2594856321811676,
0.25222769379615784,
-0.19488178193569183,
0.31114959716796875,
0.11314021050930023,
0.045490629971027374,
0.24089893698692322,
0.19108113646507263,
0.3201095461845398,
0.04213821142911911,
-0.24540342390537262,
0.018622487783432007,
-0.20836679637432098,
0.16503922641277313,
-0.10636401176452637,
0.07115595042705536,
0.4275454580783844,
0.2862827479839325,
0.08653981983661652,
-0.05898655951023102,
0.07979072630405426,
0.0945228859782219,
-0.4734344184398651,
-0.13064870238304138,
-0.15058927237987518,
-0.18240493535995483,
-0.2742191255092621,
0.006119592115283012,
0.11231996864080429,
0.154131680727005,
0.0521610751748085,
-0.3507515490055084,
-0.25158947706222534,
-0.19369831681251526,
-0.006383094936609268,
-0.00530572235584259,
-0.2891118824481964,
0.27806994318962097,
0.2053079754114151,
-0.07257089018821716,
-0.06412731111049652,
0.498426616191864,
-0.40318334102630615,
0.26841798424720764,
0.10344496369361877,
0.5933009386062622,
0.16398954391479492,
-0.03569472208619118,
0.19014215469360352,
0.26585954427719116,
0.21732278168201447,
0.02539048343896866,
0.05455039069056511,
0.27499979734420776,
0.058953844010829926,
-0.1416277140378952,
0.13747933506965637,
-0.07379640638828278,
-0.09103479981422424,
0.10826601088047028,
0.5431826710700989,
0.02387860417366028,
-0.04102135822176933,
-0.04945985972881317,
0.12039126455783844,
-0.4031144976615906,
0.27061164379119873,
0.6425217390060425,
0.8880378603935242,
0.19073481857776642,
-0.08105377852916718,
-0.47608038783073425,
-0.05023526772856712,
0.7400846481323242,
-0.03061196394264698,
0.1315637230873108,
-0.46047690510749817,
0.1531948745250702,
-0.01936575025320053,
0.050174128264188766,
-0.18859559297561646,
-0.050100572407245636,
-0.5774858593940735,
0.025794383138418198,
-0.08845672756433487,
-0.09943850338459015,
0.18936032056808472,
0.26526010036468506,
0.05751413851976395,
0.0005499832332134247,
-0.15905897319316864,
0.13544568419456482,
-0.2834545373916626,
0.2261306345462799,
-0.11959642171859741,
-0.08516865968704224,
0.23703494668006897,
-0.22601644694805145,
0.013064004480838776,
-0.08024709671735764,
0.17914538085460663,
0.12132956087589264,
0.1987573504447937,
-0.21837903559207916,
0.04555997624993324,
-0.17003777623176575,
0.3723036050796509,
0.21971364319324493,
0.0158018097281456,
0.024169519543647766,
0.01914675161242485,
0.04552015662193298,
0.44962695240974426,
0.17985062301158905,
0.11956757307052612,
-0.10974781215190887,
-0.20837479829788208,
-0.22626161575317383,
0.0574009045958519,
-0.20613647997379303,
-0.07619909942150116,
-0.12376140058040619,
-0.27743154764175415,
-0.0663495659828186,
0.07342138886451721,
-0.10710729658603668,
-0.22722169756889343,
-0.07188812643289566,
0.1301109939813614,
-0.04125818610191345,
-0.054034169763326645,
0.1871151626110077,
0.43322136998176575,
-0.21567392349243164,
0.15028326213359833,
0.3215886950492859,
0.2895795404911041,
-0.18102708458900452,
0.23768487572669983,
-0.05739525705575943,
0.1007734090089798,
-0.09668529033660889,
-0.11252632737159729,
0.14197900891304016,
-0.47296616435050964,
0.12502498924732208,
-0.26015180349349976,
-0.04195141792297363,
0.20380079746246338,
0.4243682026863098,
0.13117963075637817,
0.6761017441749573,
-0.35974255204200745,
-0.10349424183368683,
-0.17701034247875214,
0.4183885455131531,
-0.2230650931596756,
-0.040707092732191086,
-0.015394926071166992,
-0.43863824009895325,
0.138988196849823,
-0.07121272385120392,
-0.3193325996398926,
-0.13139992952346802,
-0.3397686183452606,
0.24135631322860718,
-0.26494282484054565,
-0.17703041434288025,
-0.30541369318962097,
0.014384796842932701,
0.09255757927894592,
0.12853717803955078,
0.049987826496362686,
-0.17304399609565735,
0.03602828085422516,
0.1252722442150116,
0.26879367232322693,
0.16894106566905975,
-0.0933242216706276,
-0.11617482453584671,
-0.16526146233081818,
0.08591844886541367,
-0.4369261562824249,
-0.1541670560836792,
0.15999191999435425,
0.1260988563299179,
-0.3978690505027771,
-0.051017530262470245,
0.39587730169296265,
-0.04555591195821762,
0.2455715388059616,
0.06451296806335449,
-0.47736304998397827,
0.1458776891231537,
0.11056732386350632,
-0.07645562291145325,
0.09760541468858719,
0.0519709587097168,
-0.29938799142837524,
0.48775598406791687,
0.3406042456626892,
-0.20534886419773102,
-0.03634444624185562,
0.2944880723953247,
-0.028588876128196716,
-0.004821464419364929,
-0.04609395191073418,
-0.2082579880952835,
0.14146563410758972,
0.2274996042251587,
-0.1587064564228058,
-0.02102067321538925,
-0.09757810831069946,
0.19151629507541656,
-0.27823367714881897,
0.06729549169540405,
0.28904345631599426,
-0.3867814242839813,
0.22307316958904266,
0.1915569007396698,
0.48033422231674194,
-0.37068676948547363,
0.06369122117757797,
0.20946897566318512,
-0.034231655299663544,
-0.03279348090291023,
0.05772852152585983,
-0.07258747518062592,
0.056364838033914566,
0.018365532159805298,
-0.01301363855600357,
0.2045714110136032,
0.4988792836666107,
0.2214626520872116,
0.26375311613082886,
0.42122742533683777,
-0.11134073138237,
0.10927249491214752,
0.2199854552745819,
0.3247973322868347,
0.15326932072639465,
0.29160118103027344,
0.017256665974855423,
-0.21416065096855164,
-0.15934664011001587,
0.28883084654808044,
0.06564047187566757,
0.08186399936676025,
-0.8658971190452576,
0.11285793036222458,
-0.39844390749931335,
-0.058124616742134094,
-0.37001338601112366,
0.37786996364593506,
0.027018852531909943,
0.2785342037677765,
-0.2637549042701721,
-0.2969679832458496,
-0.5485830307006836,
-0.11948796361684799,
0.3490045666694641,
-0.2946242094039917,
0.13806621730327606,
0.09752528369426727,
-0.0439872220158577,
0.4356219172477722,
0.5639872550964355,
0.2964256703853607,
0.3529287278652191,
-0.2807758152484894,
0.02896556630730629,
-0.13960446417331696,
-0.08883033692836761,
0.03386113792657852,
0.23182065784931183,
0.38393068313598633,
-0.29265886545181274,
-0.18751607835292816,
0.1242617815732956,
-0.06531195342540741,
0.03793987259268761,
-0.14089472591876984,
0.19898340106010437,
0.3168860673904419,
0.05503657087683678,
0.31821906566619873,
0.17182472348213196,
0.10547728836536407,
0.04381681978702545,
-0.6500530242919922,
-0.24418045580387115,
0.11195337772369385,
0.16138605773448944,
-0.017459381371736526,
-0.00283079594373703,
0.11958014965057373,
-0.18781441450119019,
0.31585755944252014,
0.346027135848999,
0.05187879875302315,
0.06354135274887085,
-0.34078747034072876,
0.06263674795627594,
0.054422423243522644,
0.3231419324874878,
0.2555192708969116,
0.3862990736961365,
0.18749521672725677,
0.23537284135818481,
-0.08375702798366547,
-0.10618294775485992,
-0.18682633340358734,
-0.004058551043272018,
-0.1420009285211563,
0.0011210404336452484,
0.2519771158695221,
0.09153909981250763,
0.08213377743959427,
-0.20532077550888062,
0.22756466269493103,
0.26603204011917114,
-0.174489364027977,
0.11081404238939285,
-0.06856293976306915,
-0.04767642915248871,
0.23039650917053223,
0.1390320211648941,
0.050938788801431656,
0.3280867338180542,
-0.0847073495388031,
-0.06832888722419739,
0.21547971665859222,
0.00037148967385292053,
-0.2926816940307617,
-0.07190951704978943,
0.17829933762550354,
0.08932778239250183,
0.33438536524772644,
0.17714858055114746,
0.18145325779914856,
-0.2177664339542389,
-0.12936484813690186,
-0.17967258393764496,
0.1162065640091896,
-0.3088829219341278,
-0.09851706773042679,
-0.10494356602430344,
-0.13856953382492065,
-0.17908933758735657,
0.3488934636116028,
0.15145239233970642,
0.13126987218856812,
-0.49664485454559326,
-0.5195006132125854,
0.4058722257614136,
-0.3242202699184418,
-0.21148689091205597,
-0.08180654048919678,
0.4999361038208008,
0.5539029836654663,
0.3029544949531555,
-0.18140333890914917,
-0.34723249077796936,
-0.017901867628097534,
-0.1812502145767212,
-0.12271648645401001,
-0.07754449546337128,
0.32885000109672546,
0.22254578769207,
-0.12777383625507355,
-0.4450789988040924,
0.2728686034679413,
0.20856432616710663,
-0.029014240950345993,
-0.1338169425725937
] |
https://github.com/huggingface/datasets/pull/484 | update mirror for RT dataset | Thanks for adding this mirror link :)
Could you run the following command to update the json file `dataset_infos.json` used to verify the integrity of the downloaded file ?
```
nlp-cli test ./datasets/rotten_tomatoes --save_infos --ignore_verifications
``` | 36 | text: update mirror for RT dataset
Thanks for adding this mirror link :)
Could you run the following command to update the json file `dataset_infos.json` used to verify the integrity of the downloaded file ?
```
nlp-cli test ./datasets/rotten_tomatoes --save_infos --ignore_verifications
``` | [
-0.16690778732299805,
0.2616339325904846,
-0.08846630156040192,
-0.12640152871608734,
-0.2216138392686844,
0.020991675555706024,
0.05304916948080063,
0.3966163694858551,
0.1477346569299698,
-0.21376578509807587,
-0.10410965234041214,
0.3546389639377594,
0.10185328125953674,
0.019340163096785545,
0.11685816198587418,
-0.1078251302242279,
-0.05913583189249039,
0.40018126368522644,
-0.3972376883029938,
-0.04894739016890526,
-0.05788211151957512,
0.24829386174678802,
-0.0059528350830078125,
-0.24162374436855316,
-0.14780613780021667,
0.015546511858701706,
-0.020297182723879814,
0.06210583448410034,
-0.14187836647033691,
-0.3925979733467102,
-0.03088589571416378,
0.4448496103286743,
-0.01709859073162079,
0.17223268747329712,
-0.00010794760601129383,
-0.0980144590139389,
0.5381050109863281,
-0.02243364416062832,
-0.6064420938491821,
-0.09285536408424377,
-0.3201075494289398,
-0.4097437560558319,
0.00896634440869093,
-0.2647019028663635,
0.11046240478754044,
-0.22415077686309814,
0.18539781868457794,
-0.00281452015042305,
0.20908845961093903,
0.20846731960773468,
0.2685379683971405,
0.5376890897750854,
0.11301630735397339,
-0.0282206442207098,
0.06537553668022156,
0.018988899886608124,
0.13110387325286865,
0.3148644268512726,
0.13128836452960968,
0.29892081022262573,
0.17473247647285461,
0.550197422504425,
0.08691219240427017,
-0.055688198655843735,
-0.09295662492513657,
-0.13726158440113068,
0.1307973563671112,
0.03101259469985962,
0.06971098482608795,
0.09521277993917465,
0.780248761177063,
-0.41060903668403625,
-0.2481490969657898,
0.08196180313825607,
0.040899891406297684,
-0.1482742726802826,
0.1230134665966034,
0.11276499181985855,
0.07428896427154541,
0.14109990000724792,
-0.5267657041549683,
-0.30172106623649597,
-0.07238534092903137,
0.20790556073188782,
0.12863482534885406,
0.31537479162216187,
0.16525354981422424,
-0.016612112522125244,
0.0955948457121849,
-0.052476681768894196,
-0.26095426082611084,
0.009951950050890446,
-0.21730467677116394,
0.0862027257680893,
-0.015294928103685379,
-0.49274545907974243,
-0.1024460420012474,
-0.19878938794136047,
-0.10998009145259857,
0.30965518951416016,
-0.02420061081647873,
0.19591298699378967,
-0.29832470417022705,
0.1427156627178192,
0.030119186267256737,
0.37548595666885376,
0.30273887515068054,
0.31935304403305054,
0.1678951233625412,
0.09016839414834976,
0.09702339768409729,
0.010420143604278564,
0.11630858480930328,
-0.0943729430437088,
-0.26864728331565857,
0.2138230800628662,
0.2004859447479248,
-0.1433621197938919,
-0.14466457068920135,
0.17374883592128754,
-0.07054099440574646,
-0.16058222949504852,
-0.07538368552923203,
0.3207841217517853,
-0.1529228389263153,
0.1841154396533966,
0.3219124674797058,
-0.16235467791557312,
-0.042745452374219894,
-0.43708336353302,
-0.1524406522512436,
0.008734866976737976,
-0.16703283786773682,
0.03920617327094078,
0.4926415979862213,
0.17229034006595612,
0.39387112855911255,
-0.26056528091430664,
-0.004657849669456482,
0.03664515167474747,
-0.12692543864250183,
0.031241875141859055,
-0.04729404300451279,
0.2706235349178314,
-0.07291046530008316,
0.17567682266235352,
-0.17283178865909576,
0.046786800026893616,
-0.09649743139743805,
0.27155187726020813,
-0.17819732427597046,
-0.2374485582113266,
-0.2452651709318161,
0.2921173870563507,
-0.2524489462375641,
-0.28805112838745117,
-0.049886591732501984,
0.003286946564912796,
-0.08080891519784927,
-0.405872642993927,
0.03693293780088425,
0.04868236929178238,
-0.01907077059149742,
0.05065051466226578,
0.035592108964920044,
0.27508583664894104,
-0.5689682364463806,
0.02476847916841507,
-0.22151798009872437,
-0.17902648448944092,
0.006636492908000946,
0.33613818883895874,
-0.07621020823717117,
0.24464675784111023,
-0.0511665940284729,
-0.0036739856004714966,
0.45223504304885864,
-0.0881500169634819,
-0.3834163248538971,
0.29408368468284607,
-0.3136746287345886,
-0.24547551572322845,
-0.09344593435525894,
0.293983519077301,
0.2746504545211792,
-0.1245594322681427,
-0.26013460755348206,
0.22334814071655273,
0.13496652245521545,
0.23449045419692993,
-0.5128391981124878,
-0.11050741374492645,
0.13854993879795074,
-0.002156095579266548,
0.14368118345737457,
0.026426181197166443,
-0.08228901773691177,
0.3221086859703064,
0.5534859895706177,
0.22804129123687744,
0.18518732488155365,
0.04721243679523468,
0.3520483374595642,
0.007356137037277222,
0.13712476193904877,
-0.04121560975909233,
-0.21065640449523926,
0.10276760905981064,
-0.1231667771935463,
0.31950777769088745,
0.028960540890693665,
-0.098277248442173,
-0.43343448638916016,
0.03821931034326553,
0.04586723446846008,
-0.1231040507555008,
0.25970029830932617,
0.1598329246044159,
-0.09947764873504639,
0.023490071296691895,
-0.1671314239501953,
0.294790118932724,
-0.3052329421043396,
0.08098743110895157,
-0.03200908750295639,
0.33526983857154846,
-0.2942242920398712,
0.007278661243617535,
0.05839841812849045,
-0.011626526713371277,
-0.06315222382545471,
-0.30374306440353394,
-0.1579039990901947,
0.5495523810386658,
-0.29245907068252563,
0.42965400218963623,
0.5189128518104553,
-0.2808385491371155,
0.10993967205286026,
-0.5089009404182434,
0.12879939377307892,
0.5175942778587341,
0.11234463006258011,
0.16341066360473633,
-0.3878777325153351,
0.2242363691329956,
0.11030171811580658,
-0.2205960750579834,
0.021475277841091156,
0.012313934043049812,
0.18068033456802368,
-0.2982645332813263,
-0.14524716138839722,
-0.3781326115131378,
0.13966092467308044,
0.15505489706993103,
-0.18872429430484772,
0.030789846554398537,
-0.1366739571094513,
0.18148739635944366,
0.2749451696872711,
-0.01925034075975418,
0.04614686220884323,
0.1346774399280548,
0.15865865349769592,
-0.22810739278793335,
0.00354769267141819,
0.3855707347393036,
0.13894569873809814,
0.23647961020469666,
0.026818666607141495,
0.18437820672988892,
-0.033624324947595596,
-0.1990446150302887,
0.2171870321035385,
0.07133470475673676,
0.01696711964905262,
0.34233641624450684,
0.30256351828575134,
0.0018953438848257065,
-0.2202443778514862,
-0.09384313970804214,
0.3504752814769745,
0.29865404963493347,
-0.08875631541013718,
-0.08707167208194733,
-0.3500981330871582,
-0.24526876211166382,
-0.3756032884120941,
0.011642949655652046,
-0.3039064109325409,
-0.26367419958114624,
0.3884245753288269,
-0.09069770574569702,
-0.10532167553901672,
0.36798691749572754,
-0.18615709245204926,
0.19626504182815552,
-0.14140237867832184,
-0.31968218088150024,
-0.22015269100666046,
-0.22257138788700104,
-0.1513681709766388,
0.1843383014202118,
0.11980131268501282,
0.081051304936409,
0.4451013207435608,
-0.25818657875061035,
0.003756670281291008,
-0.32218870520591736,
-0.2991085946559906,
0.06417780369520187,
0.0887376219034195,
-0.19591990113258362,
0.030077144503593445,
0.24212735891342163,
0.08570477366447449,
-0.11802329868078232,
0.06690480560064316,
-0.23353390395641327,
-0.18910008668899536,
-0.15343579649925232,
-0.049883026629686356,
-0.11410689353942871,
-0.2814476490020752,
-0.6314575672149658,
-0.06638386845588684,
-0.23516039550304413,
0.21274985373020172,
0.03962234780192375,
0.31614404916763306,
0.22819289565086365,
-0.04362978786230087,
-0.029792185872793198,
-0.24447298049926758,
0.13103839755058289,
-0.1127157136797905,
-0.019220970571041107,
0.11941831558942795,
-0.1863868534564972,
-0.25906962156295776,
0.15867343544960022,
0.11011612415313721,
0.015075979754328728,
-0.02789263427257538,
-0.3758065700531006,
-0.027464918792247772,
-0.009661098942160606,
-0.010032102465629578,
0.1959860920906067,
-0.14904260635375977,
0.5375159978866577,
-0.1914626657962799,
-0.21563677489757538,
-0.05631444603204727,
-0.21009109914302826,
0.11418173462152481,
0.20012030005455017,
0.489616334438324,
-0.13412657380104065,
0.18185609579086304,
-0.08584050834178925,
0.5935416221618652,
0.04939728602766991,
-0.2881353497505188,
-0.009907633066177368,
-0.016860852017998695,
0.3525190055370331,
0.03382605314254761,
-0.1734331101179123,
-0.04713617265224457,
0.12727071344852448,
-0.15994276106357574,
0.20759879052639008,
-0.053159892559051514,
-0.2884158194065094,
-0.21213993430137634,
-0.07615498453378677,
-0.45320984721183777,
-0.1935991644859314,
0.12491761147975922,
-0.012296773493289948,
0.23990121483802795,
0.17180947959423065,
-0.21651804447174072,
-0.09845283627510071,
-0.209075927734375,
-0.0563630647957325,
0.5290324091911316,
-0.09331352263689041,
-0.01924237050116062,
-0.22928255796432495,
-0.3527710437774658,
-0.0728071853518486,
0.23624852299690247,
-0.05120888724923134,
0.5281730890274048,
-0.01840789243578911,
-0.06602871417999268,
0.16908904910087585,
-0.23545226454734802,
0.26808327436447144,
-0.2611648440361023,
0.29763543605804443,
-0.09770070016384125,
0.32353606820106506,
-0.11238716542720795,
-0.14605233073234558,
-0.3384018838405609,
0.06117309629917145,
0.4273831248283386,
0.3273649513721466,
-0.059934698045253754,
-0.08024334907531738,
0.503780722618103,
-0.06621737778186798,
-0.2744605243206024,
-0.26590198278427124,
-0.06851965934038162,
0.006590452045202255,
-0.2746261656284332,
-0.06383305042982101,
0.00008838064968585968,
0.009321680292487144,
-0.05590678006410599,
0.3722850978374481,
0.24897664785385132,
0.19191619753837585,
-0.029071778059005737,
0.1124206930398941,
0.32239750027656555,
0.4192192554473877,
0.0008775405585765839,
-0.23394525051116943,
0.13580968976020813,
-0.18450450897216797,
0.37439751625061035,
-0.14461597800254822,
0.3499327003955841,
-0.25752225518226624,
0.005624003708362579,
0.24565532803535461,
0.423570454120636,
0.12537844479084015,
-0.18031924962997437,
-0.01622498780488968,
0.018729757517576218,
0.14837098121643066,
0.18551701307296753,
0.0833992213010788,
-0.27768784761428833,
0.0011646883795037866,
-0.22080764174461365,
0.4322492182254791,
-0.09965638816356659,
-0.14868587255477905,
-0.1133270412683487,
-0.015932872891426086,
-0.04869022220373154,
0.1354832500219345,
0.17197096347808838,
0.9674443006515503,
0.22020737826824188,
0.10653647780418396,
0.010861942544579506,
-0.12153097987174988,
0.34994325041770935,
-0.44589483737945557,
0.15351057052612305,
-0.41545870900154114,
0.17639648914337158,
-0.0695628747344017,
0.1867455691099167,
-0.05624648183584213,
-0.01143556833267212,
-0.4587532579898834,
0.20022661983966827,
0.390311062335968,
-0.06104486063122749,
0.2485397309064865,
0.44950956106185913,
-0.022893274202942848,
-0.1083037406206131,
-0.05985388159751892,
0.24543362855911255,
-0.112087681889534,
0.20478060841560364,
-0.19763395190238953,
-0.1904032677412033,
0.023056048899888992,
-0.2652394771575928,
-0.40376758575439453,
0.09732586145401001,
0.05244343355298042,
-0.05241808295249939,
0.17915479838848114,
0.003399200737476349,
-0.09272834658622742,
-0.14711293578147888,
0.08600373566150665,
0.41146984696388245,
-0.1442982256412506,
0.16958391666412354,
-0.07856971770524979,
-0.11679468303918839,
0.04917871579527855,
0.12035079300403595,
0.3110447824001312,
-0.18334928154945374,
-0.3936504125595093,
-0.1498698592185974,
-0.048591867089271545,
-0.01319916546344757,
-0.0015372484922409058,
-0.20477868616580963,
-0.15243905782699585,
0.10512280464172363,
-0.054853275418281555,
0.3091466426849365,
-0.44327446818351746,
-0.20640262961387634,
0.20128841698169708,
-0.09670740365982056,
-0.23177394270896912,
0.04287274554371834,
0.28542834520339966,
-0.36043334007263184,
0.03165723383426666,
0.5892873406410217,
-0.06910393387079239,
0.03489641100168228,
0.30276110768318176,
0.1719159036874771,
-0.03995627537369728,
-0.49008792638778687,
-0.11847932636737823,
-0.4470217525959015,
-0.5675901174545288,
-0.05715217813849449,
-0.18453030288219452,
-0.05256073921918869,
0.030796915292739868,
0.24110929667949677,
0.29531508684158325,
0.36876803636550903,
-0.16782213747501373,
-0.4677562713623047,
-0.2846654951572418,
0.15577110648155212,
-0.029468100517988205,
0.1902289241552353,
-0.10376793891191483,
0.14902329444885254,
0.38574931025505066,
-0.08410041034221649,
-0.4482567310333252,
0.04326867312192917,
-0.0631495863199234,
0.3109752833843231,
0.22163259983062744,
-0.11139754205942154,
0.17006869614124298,
-0.21832025051116943,
0.09619389474391937,
0.01083880290389061,
-0.28596389293670654,
-0.2590695023536682,
-0.019512970000505447,
0.08983545005321503,
0.08317583054304123,
0.13455983996391296,
-0.3145226240158081,
-0.08909769356250763,
0.013965096324682236,
0.24184511601924896,
-0.23527568578720093,
-0.09356114268302917,
-0.004335373640060425,
0.5281031131744385,
0.09406325966119766,
-0.10833699256181717,
0.08555497974157333,
-0.06326146423816681,
0.030522428452968597,
0.230332612991333,
-0.13652412593364716,
0.17134989798069,
-0.09451477229595184,
-0.016415581107139587,
-0.21649813652038574,
0.09378134459257126,
-0.08461588621139526,
0.3642650246620178,
0.21125799417495728,
-0.10505694150924683,
0.10284760594367981,
-0.08144661039113998,
0.7280831336975098,
0.17902341485023499,
-0.12002921849489212,
-0.34669145941734314,
0.24301481246948242,
0.2741289734840393,
-0.39029285311698914,
0.23639918863773346,
0.3472878038883209,
0.1473601758480072,
-0.035187989473342896,
0.08452869951725006,
0.138493150472641,
-0.13312527537345886,
0.14635300636291504,
0.3593522608280182,
0.44970059394836426,
-0.45118093490600586,
-0.03179052844643593,
0.16180945932865143,
-0.0005503110587596893,
0.07251577824354172,
0.04816804081201553,
0.10084681212902069,
0.06507501751184464,
0.044501714408397675,
-0.21482446789741516,
0.28500229120254517,
0.2976517379283905,
0.16069474816322327,
0.05482695251703262,
0.20552381873130798,
0.23509597778320312,
0.4088519811630249,
0.24863074719905853,
0.16667398810386658,
0.23541399836540222,
0.3599472939968109,
-0.03937963396310806,
-0.09567787498235703,
-0.4353327751159668,
0.24008150398731232,
0.05232081562280655,
0.033448800444602966,
-0.5560950040817261,
-0.2085142731666565,
-0.42011478543281555,
-0.1585647016763687,
-0.02927510067820549,
0.09216789901256561,
0.06283770501613617,
0.24075542390346527,
-0.09888073801994324,
-0.4660317599773407,
-0.029795825481414795,
-0.15109702944755554,
0.04907023534178734,
-0.26352688670158386,
0.12931226193904877,
0.08748240768909454,
0.05683807283639908,
0.2880699932575226,
0.4495139718055725,
0.10853978991508484,
0.12231895327568054,
0.09415720403194427,
0.23738975822925568,
-0.2287883758544922,
-0.09861863404512405,
-0.020161861553788185,
0.37180638313293457,
0.3780045807361603,
-0.4225887358188629,
0.14937065541744232,
0.21424444019794464,
-0.19010800123214722,
0.4824789762496948,
0.07177870720624924,
-0.050638217478990555,
0.09273673593997955,
0.4019043445587158,
0.2795473337173462,
-0.20685717463493347,
-0.3246971368789673,
-0.09787022322416306,
-0.4600863456726074,
-0.39407092332839966,
0.2353750318288803,
-0.04400308430194855,
0.1291688084602356,
-0.21136623620986938,
0.12732821702957153,
-0.12517021596431732,
0.511685311794281,
0.3731932044029236,
-0.24613821506500244,
-0.09601269662380219,
-0.23944705724716187,
-0.5712236762046814,
0.15937183797359467,
-0.04577750340104103,
-0.30025508999824524,
-0.1539040058851242,
0.18366602063179016,
-0.018858984112739563,
0.23218031227588654,
0.2297096848487854,
0.21039550006389618,
-0.3849446475505829,
-0.14049643278121948,
-0.20928740501403809,
0.09088918566703796,
-0.0710497498512268,
0.1151856780052185,
0.09068368375301361,
-0.01535075157880783,
-0.15331192314624786,
-0.09120091050863266,
0.14185556769371033,
0.020176682621240616,
-0.24847358465194702,
0.20667093992233276,
0.3220847547054291,
0.10279516130685806,
-0.06726904213428497,
0.4458577632904053,
-0.17382854223251343,
0.019345412030816078,
-0.3240732252597809,
-0.20878344774246216,
-0.2732832133769989,
0.003071621060371399,
0.05391306430101395,
0.31671613454818726,
0.04133674502372742,
0.3089299201965332,
-0.08464513719081879,
0.04139123857021332,
-0.13687026500701904,
-0.21991463005542755,
-0.316234290599823,
-0.13757680356502533,
-0.1484813094139099,
-0.005791040137410164,
-0.02926309034228325,
0.15761014819145203,
0.05669021978974342,
-0.03920316696166992,
-0.48249077796936035,
-0.4927675724029541,
0.5695866346359253,
-0.11284050345420837,
-0.13473643362522125,
-0.03704960271716118,
0.31122887134552,
-0.11864561587572098,
0.08830216526985168,
-0.5142746567726135,
0.08809470385313034,
0.17685049772262573,
0.0017998497933149338,
-0.08540210872888565,
0.11795103549957275,
-0.13910049200057983,
0.09201674163341522,
-0.09488930553197861,
0.23810376226902008,
0.14606517553329468,
-0.20170125365257263,
-0.37188249826431274,
-0.06403742730617523
] |
|
https://github.com/huggingface/datasets/pull/481 | Apply utf-8 encoding to all datasets | Not sure why the AWS test is failing - perhaps I made too many concurrent CI builds 😢. Can someone please rerun the CI to check the error is not on my end? | ## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all instances where a non-binary file is opened."""
with open(filepath, 'r', encoding='utf-8') as input_file:
regexp = re.compile(r"(?!.*\b(?:encoding|rb|w|wb|w+|wb+|ab|ab+)\b)(?<=\s)(open)\((.*)\)")
input_text = input_file.read()
match = regexp.search(input_text)
if match:
output = regexp.sub(lambda m: m.group()[:-1]+', encoding="utf-8")', input_text)
with open(filepath, 'w', encoding='utf-8') as output_file:
output_file.write(output)
```
to perform the replacement.
Note:
1. I excluded all _**binary files**_ from the search since it's possible some objects are opened for which the encoding doesn't make sense. Please correct me if I'm wrong and I'll tweak the regexp accordingly
2. There were two edge cases where the regexp failed (e.g. two `open` instances on a single line), but I decided to just fix these manually in the interest of time.
3. I only applied the replacement to files in `datasets/`. Let me know if this should be extended to other places like `metrics/`
4. I have implemented a unit test that should catch missing encodings in future CI runs
Closes #468 and possibly #347 | 33 | text: Apply utf-8 encoding to all datasets
## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all instances where a non-binary file is opened."""
with open(filepath, 'r', encoding='utf-8') as input_file:
regexp = re.compile(r"(?!.*\b(?:encoding|rb|w|wb|w+|wb+|ab|ab+)\b)(?<=\s)(open)\((.*)\)")
input_text = input_file.read()
match = regexp.search(input_text)
if match:
output = regexp.sub(lambda m: m.group()[:-1]+', encoding="utf-8")', input_text)
with open(filepath, 'w', encoding='utf-8') as output_file:
output_file.write(output)
```
to perform the replacement.
Note:
1. I excluded all _**binary files**_ from the search since it's possible some objects are opened for which the encoding doesn't make sense. Please correct me if I'm wrong and I'll tweak the regexp accordingly
2. There were two edge cases where the regexp failed (e.g. two `open` instances on a single line), but I decided to just fix these manually in the interest of time.
3. I only applied the replacement to files in `datasets/`. Let me know if this should be extended to other places like `metrics/`
4. I have implemented a unit test that should catch missing encodings in future CI runs
Closes #468 and possibly #347
Not sure why the AWS test is failing - perhaps I made too many concurrent CI builds 😢. Can someone please rerun the CI to check the error is not on my end? | [
-0.10010755062103271,
0.32103368639945984,
-0.0735129565000534,
-0.17665806412696838,
0.41474127769470215,
-0.09152039885520935,
0.41257208585739136,
0.3702015280723572,
-0.002101639285683632,
0.23434750735759735,
0.005122826434671879,
-0.1302357167005539,
-0.041830066591501236,
0.12242972105741501,
-0.09655719995498657,
0.007682085037231445,
0.1455480456352234,
0.10687470436096191,
0.3520371913909912,
-0.17847056686878204,
-0.3012734651565552,
0.29751989245414734,
0.0017356723546981812,
-0.023641519248485565,
-0.20276877284049988,
-0.11431121081113815,
-0.13756142556667328,
0.08696465939283371,
-0.23494870960712433,
-0.24327434599399567,
0.08937796205282211,
-0.03147410228848457,
0.01890385150909424,
0.5250068306922913,
-0.00011185137555003166,
-0.017816781997680664,
0.22533433139324188,
0.022590385749936104,
-0.3753848373889923,
-0.10157845914363861,
-0.027035480365157127,
0.10885877907276154,
-0.15693259239196777,
-0.2200179547071457,
0.12160354107618332,
0.0809740349650383,
0.004809640347957611,
-0.5124309062957764,
0.1933734118938446,
0.482713907957077,
0.19781062006950378,
0.26107755303382874,
-0.15768632292747498,
0.09548889100551605,
-0.026777558028697968,
-0.06192219257354736,
-0.017434198409318924,
-0.11296671628952026,
0.10377095639705658,
0.10079879313707352,
-0.09495539218187332,
0.2335815578699112,
-0.18185748159885406,
-0.10258479416370392,
-0.36920419335365295,
0.05938563495874405,
0.147083580493927,
-0.3083074390888214,
0.1385093778371811,
-0.12480761855840683,
0.1295381784439087,
-0.0800132229924202,
-0.5509002804756165,
0.3180387318134308,
-0.08963477611541748,
-0.4108414947986603,
0.23675471544265747,
0.16658462584018707,
-0.03076615184545517,
0.10541634261608124,
-0.2682012915611267,
-0.07306548953056335,
-0.0005815029144287109,
0.07883083820343018,
-0.28750622272491455,
0.30902695655822754,
-0.026942439377307892,
-0.0787423774600029,
0.03824298456311226,
-0.027142122387886047,
-0.04158895090222359,
-0.1834212839603424,
-0.11485277116298676,
-0.04657271131873131,
-0.18533898890018463,
-0.13514015078544617,
0.0318162739276886,
0.1872042417526245,
0.020611993968486786,
0.43295878171920776,
0.1250154972076416,
0.23284295201301575,
-0.1775457113981247,
0.32994771003723145,
-0.27148962020874023,
0.3574508726596832,
0.16289302706718445,
0.31820231676101685,
0.17953439056873322,
0.3688506782054901,
-0.29246240854263306,
0.03129320964217186,
0.03725353628396988,
-0.44059085845947266,
-0.0275130532681942,
0.06347177922725677,
0.21895040571689606,
-0.2114744633436203,
-0.4060191214084625,
0.49009016156196594,
-0.036557115614414215,
-0.26751765608787537,
-0.23203915357589722,
0.20536190271377563,
0.1933894157409668,
0.22149330377578735,
0.3011956810951233,
0.3077963590621948,
-0.25515133142471313,
-0.06027384102344513,
-0.1714416891336441,
0.1930505335330963,
-0.2750047743320465,
0.028727807104587555,
0.0005525238811969757,
-0.08364611864089966,
0.1853950321674347,
-0.02585204690694809,
0.33542579412460327,
-0.35703176259994507,
0.01182551495730877,
0.11693626642227173,
0.3088999092578888,
0.219136580824852,
0.11438046395778656,
0.08896780014038086,
0.2715449333190918,
-0.8070321083068848,
0.03806691616773605,
0.12009695917367935,
-0.004678718745708466,
-0.08652514964342117,
-0.30917492508888245,
0.27924761176109314,
-0.3383495807647705,
-0.293107271194458,
0.1342029571533203,
-0.0784032940864563,
0.0942230224609375,
-0.18426397442817688,
0.21820831298828125,
-0.061671629548072815,
0.05362657085061073,
0.08864519745111465,
0.25274330377578735,
0.4284960627555847,
-0.18738283216953278,
0.06556607782840729,
0.006375704426318407,
0.27953359484672546,
0.4957995116710663,
0.4690759479999542,
0.21726356446743011,
-0.2914966940879822,
-0.10403667390346527,
-0.05968370661139488,
0.46202561259269714,
-0.21692276000976562,
-0.009460100904107094,
0.5563479661941528,
0.0972922146320343,
0.01454203762114048,
0.13031435012817383,
-0.5477986335754395,
-0.013996625319123268,
-0.18064063787460327,
-0.03229941427707672,
0.002397459000349045,
-0.07477308064699173,
-0.03012477606534958,
-0.37744012475013733,
-0.04145127534866333,
-0.12525565922260284,
0.16455797851085663,
0.2252112329006195,
-0.060509271919727325,
0.16707849502563477,
-0.12283800542354584,
0.24794727563858032,
-0.22150829434394836,
-0.0806799978017807,
0.012456266209483147,
0.3999740183353424,
-0.18574832379817963,
0.008235892280936241,
0.1957833170890808,
0.23631945252418518,
0.06233615428209305,
0.03328303247690201,
0.24035443365573883,
-0.20249809324741364,
-0.12115298956632614,
-0.227708637714386,
-0.018897652626037598,
-0.25024834275245667,
-0.2009759545326233,
0.12929360568523407,
0.3390636146068573,
-0.11848878860473633,
0.1253516674041748,
-0.2560844123363495,
-0.4986672103404999,
-0.3476060926914215,
0.05352552980184555,
0.00507279671728611,
0.05617467314004898,
-0.14857220649719238,
-0.09580469131469727,
-0.06886094808578491,
0.0477493591606617,
-0.10738234966993332,
-0.15848468244075775,
-0.2531275749206543,
0.3350149095058441,
-0.01642214134335518,
0.4159998297691345,
0.22422456741333008,
0.2672227919101715,
0.08786620199680328,
-0.2521820366382599,
-0.06454484909772873,
0.44110727310180664,
0.00800785981118679,
0.12040606886148453,
-0.23667213320732117,
0.5240342617034912,
-0.06798501312732697,
-0.06392698734998703,
0.09025788307189941,
-0.0885554626584053,
0.3102516829967499,
-0.1628502607345581,
-0.5022836923599243,
-0.2512601613998413,
0.14636626839637756,
-0.02486364170908928,
0.010863762348890305,
0.11328057199716568,
-0.04352593794465065,
-0.31000831723213196,
0.5660451054573059,
-0.18512515723705292,
-0.10509134083986282,
0.2207067310810089,
0.2540982961654663,
0.09845610707998276,
-0.004223154857754707,
0.15617163479328156,
0.4793928265571594,
0.08206737786531448,
0.31848829984664917,
0.1304100751876831,
0.16800981760025024,
-0.28723105788230896,
0.29950597882270813,
0.2207934707403183,
-0.14339488744735718,
0.31074535846710205,
0.22225062549114227,
0.15915429592132568,
-0.523940920829773,
-0.2499118149280548,
-0.04596784710884094,
0.045110687613487244,
-0.2579149007797241,
0.22094175219535828,
-0.2901952564716339,
0.2756584584712982,
-0.2150045782327652,
0.11636053770780563,
0.10189853608608246,
-0.22102057933807373,
0.17067423462867737,
-0.29704028367996216,
-0.3239303529262543,
0.4313943684101105,
-0.15503790974617004,
0.31810760498046875,
-0.07227294147014618,
-0.20538625121116638,
-0.25361841917037964,
0.058828916400671005,
-0.19821646809577942,
0.10067892074584961,
0.5223694443702698,
-0.3498190641403198,
0.014753609895706177,
-0.3047266900539398,
-0.001228482462465763,
-0.412445068359375,
-0.5483258366584778,
-0.1169489324092865,
-0.010208912193775177,
0.16213682293891907,
-0.06898008286952972,
-0.22678138315677643,
-0.41340434551239014,
-0.5665156841278076,
0.17497746646404266,
-0.17768219113349915,
0.01788853295147419,
0.21555568277835846,
-0.08511483669281006,
-0.3053213953971863,
-0.07030479609966278,
-0.2760894000530243,
0.0722382515668869,
-0.35295814275741577,
0.00008287280797958374,
0.07813119888305664,
-0.016618788242340088,
-0.09900043159723282,
-0.07562700659036636,
-0.10427255183458328,
0.12408070266246796,
-0.22236400842666626,
-0.1822691708803177,
-0.6159142851829529,
0.24970993399620056,
-0.13881142437458038,
-0.22311542928218842,
0.2608256936073303,
0.059271059930324554,
0.4335925281047821,
0.1440930962562561,
-0.333482027053833,
0.078565314412117,
-0.0936923399567604,
-0.1340647041797638,
-0.05026215314865112,
0.0942792147397995,
0.09662718325853348,
0.212838277220726,
-0.17758694291114807,
-0.10619503259658813,
-0.024383369833230972,
-0.057912521064281464,
0.21547675132751465,
0.2659929692745209,
-0.2807844579219818,
0.2772926092147827,
0.22867685556411743,
0.09548559784889221,
0.45302000641822815,
-0.11842568218708038,
0.2037108838558197,
0.08760087192058563,
0.21821816265583038,
0.022585880011320114,
0.011985568329691887,
0.36295032501220703,
-0.1287756860256195,
-0.33233141899108887,
0.5402942895889282,
-0.19273459911346436,
-0.3865685760974884,
-0.12087129801511765,
0.08616076409816742,
-0.4271773397922516,
-0.3873172402381897,
0.33185145258903503,
-0.5861817002296448,
0.4413711130619049,
-0.0014976002275943756,
-0.04726641625165939,
0.08247174322605133,
0.16784927248954773,
0.23688572645187378,
0.3088245987892151,
0.26107507944107056,
0.004475867375731468,
-0.06635762751102448,
-0.15285176038742065,
0.05176034942269325,
0.4131433963775635,
-0.04669465869665146,
0.5812740921974182,
-0.17080651223659515,
0.06122666597366333,
0.058694519102573395,
-0.02796657755970955,
-0.08072490990161896,
-0.518915057182312,
-0.2190723568201065,
0.1783151626586914,
-0.14153100550174713,
-0.08624124526977539,
-0.14997883141040802,
-0.40194106101989746,
-0.09472963213920593,
-0.07363523542881012,
0.4767451882362366,
-0.061232008039951324,
-0.06463246047496796,
0.1546657234430313,
-0.04545048996806145,
-0.08953224122524261,
0.02202564850449562,
-0.22829397022724152,
-0.5488181710243225,
-0.23591077327728271,
0.3003438115119934,
0.27063047885894775,
-0.059665802866220474,
-0.2399553656578064,
-0.04694397374987602,
-0.10901112854480743,
0.15028098225593567,
0.49253374338150024,
-0.07799144089221954,
-0.0922972559928894,
0.04789140447974205,
-0.09972125291824341,
-0.14440125226974487,
-0.403662770986557,
0.04614710807800293,
0.5161623954772949,
0.007050648331642151,
-0.2009853720664978,
0.040847621858119965,
0.05784119293093681,
0.3233994245529175,
0.4902910590171814,
0.09677226841449738,
-0.25670740008354187,
0.29530471563339233,
0.15613405406475067,
0.003297993913292885,
-0.09741328656673431,
0.2453320026397705,
0.5314735770225525,
-0.20748640596866608,
-0.13839466869831085,
-0.014959298074245453,
-0.10262979567050934,
-0.005898892879486084,
0.19081132113933563,
0.13161836564540863,
-0.06923195719718933,
0.8263185620307922,
0.15773025155067444,
0.917173445224762,
0.1389109492301941,
0.049387332051992416,
0.12756845355033875,
0.13272890448570251,
-0.03352980315685272,
-0.20649707317352295,
0.01737353391945362,
-0.09807814657688141,
-0.39900708198547363,
-0.00870315358042717,
0.03245197609066963,
0.5504202246665955,
0.2501487135887146,
-0.5456804633140564,
0.19044944643974304,
0.17382372915744781,
-0.0741177350282669,
0.567324161529541,
0.05584464222192764,
-0.703962504863739,
-0.13797420263290405,
-0.31448012590408325,
0.16555295884609222,
0.11020047962665558,
0.2797906994819641,
0.020006749778985977,
-0.0957789346575737,
0.10163959860801697,
-0.21915271878242493,
-0.22416998445987701,
0.1976574957370758,
-0.3832552433013916,
-0.027990438044071198,
-0.10401111841201782,
-0.27116072177886963,
0.272754043340683,
0.2202877253293991,
0.5543462038040161,
0.3208598494529724,
0.0984283983707428,
0.38283413648605347,
0.11048907041549683,
0.2632667124271393,
0.1525871902704239,
-0.2154311239719391,
0.42701008915901184,
-0.1165306493639946,
-0.20941051840782166,
0.056506767868995667,
-0.06196105480194092,
0.05295691639184952,
0.0482516884803772,
-0.04511299729347229,
-0.16979077458381653,
-0.17606650292873383,
-0.28013718128204346,
-0.13721716403961182,
-0.5780262351036072,
-0.23923763632774353,
0.18115100264549255,
-0.16322344541549683,
-0.330023854970932,
0.43822556734085083,
0.013158116489648819,
-0.26709818840026855,
0.055722370743751526,
0.07871168851852417,
-0.16555270552635193,
-0.09474679827690125,
0.4266628623008728,
-0.13822630047798157,
-0.04433126375079155,
-0.23818543553352356,
0.03318171203136444,
0.011819245293736458,
-0.06238386780023575,
0.10757158696651459,
-0.36394035816192627,
0.11496470868587494,
0.13583801686763763,
0.1257057636976242,
0.2783259153366089,
0.3079654276371002,
-0.10567182302474976,
-0.38866129517555237,
-0.027853645384311676,
0.07638580352067947,
0.14303724467754364,
0.10580618679523468,
-0.039679694920778275,
0.3315545916557312,
-0.10627565532922745,
0.08583471924066544,
-0.3422686457633972,
0.17048510909080505,
-0.43340492248535156,
0.10641901940107346,
0.0295734703540802,
-0.15932011604309082,
0.14167678356170654,
0.0396585687994957,
0.1292724609375,
0.1555493175983429,
0.05879765748977661,
-0.18565812706947327,
-0.1285809725522995,
0.1213461309671402,
0.22045648097991943,
0.11638286709785461,
0.47875308990478516,
0.3749498128890991,
0.11754965782165527,
-0.18407735228538513,
-0.040189407765865326,
-0.0027191080152988434,
-0.18729589879512787,
0.17556624114513397,
-0.0744420737028122,
-0.11014477163553238,
0.08527674525976181,
-0.3618471026420593,
-0.10163028538227081,
0.2871675491333008,
0.06031535938382149,
0.05928938835859299,
0.33606797456741333,
-0.17585118114948273,
0.27504488825798035,
0.027187366038560867,
-0.1706751137971878,
0.5556978583335876,
0.3461257517337799,
-0.1262151598930359,
-0.05784040316939354,
-0.08645198494195938,
0.24907192587852478,
0.1855386197566986,
-0.21385259926319122,
-0.043231576681137085,
0.04226074367761612,
0.2078995555639267,
-0.2708375155925751,
-0.039969634264707565,
-0.11357629299163818,
-0.012588187120854855,
0.027855996042490005,
0.18208260834217072,
0.13324707746505737,
-0.440649151802063,
0.21201986074447632,
0.10095721483230591,
0.1439923644065857,
-0.6734890937805176,
0.24672634899616241,
0.15810070931911469,
-0.15479372441768646,
0.12868759036064148,
-0.11811033636331558,
-0.309584379196167,
0.06608112156391144,
-0.0453750416636467,
-0.18897202610969543,
0.4321880340576172,
0.1896454095840454,
0.2548111379146576,
-0.19440880417823792,
-0.3861043453216553,
-0.04147183522582054,
-0.23302963376045227,
-0.011427715420722961,
0.3834453225135803,
0.29172202944755554,
-0.02803228795528412,
-0.018478374928236008,
0.23708483576774597,
-0.007685089483857155,
0.16460032761096954,
0.12945207953453064,
-0.13590224087238312,
-0.2139400988817215,
-0.09237698465585709,
-0.4176701009273529,
0.028001394122838974,
0.028405820950865746,
0.24590040743350983,
0.28258654475212097,
0.3786471486091614,
-0.06366562843322754,
-0.012664716690778732,
-0.26364269852638245,
-0.22074338793754578,
0.26595282554626465,
-0.3894294798374176,
0.4653429090976715,
0.5201550126075745,
-0.20211809873580933,
0.07482415437698364,
0.2397536188364029,
0.6824271082878113,
-0.07744000852108002,
0.11367157101631165,
0.38167473673820496,
-0.33926352858543396,
-0.06618744134902954,
0.03519797325134277,
0.23625127971172333,
0.22416451573371887,
-0.09065580368041992,
0.04417802393436432,
0.23352089524269104,
-0.1858573704957962,
0.11603157222270966,
-0.09792780876159668,
-0.31301358342170715,
-0.25795742869377136,
0.37901338934898376,
0.25597238540649414,
0.035808295011520386,
-0.43510377407073975,
0.07574445009231567,
-0.4372231662273407,
-0.18321290612220764,
0.2146935760974884,
-0.07275646924972534,
0.17998996376991272,
0.08323785662651062,
0.104935422539711,
0.27602800726890564,
0.13734237849712372,
0.3001255691051483,
-0.06128588318824768,
-0.2161472737789154,
-0.3856426477432251,
-0.4184924066066742,
0.050559986382722855,
0.3121509552001953,
0.2430868148803711,
0.058826010674238205,
0.005148239433765411,
0.32123157382011414,
-0.15598754584789276,
-0.005006119608879089,
-0.13224108517169952,
-0.21062278747558594,
0.15323945879936218,
-0.36223945021629333,
0.09143174439668655,
0.16508379578590393,
0.0803038626909256,
-0.19940221309661865,
-0.20232534408569336,
0.14737734198570251,
-0.00006708689033985138,
0.1195206418633461,
0.04858642816543579,
-0.1946820467710495,
0.036178331822156906,
-0.07616949081420898,
0.2026495337486267,
0.42639243602752686,
0.2868897616863251,
-0.4596662223339081,
0.10432866960763931,
-0.1036195456981659,
-0.17697326838970184,
-0.18922501802444458,
0.5310848951339722,
-0.02785169705748558,
0.5337388515472412,
0.13114352524280548,
-0.2704086899757385,
-0.23773238062858582,
0.03607069328427315,
-0.1628037691116333,
-0.21536391973495483,
-0.16085636615753174,
0.1747976839542389,
-0.005726616829633713,
0.13047847151756287,
0.21461091935634613,
0.4071027934551239,
-0.0033071227371692657,
0.08786658942699432,
-0.34002840518951416,
-0.5248127579689026,
0.6467010974884033,
-0.24090315401554108,
-0.47283005714416504,
0.14384937286376953,
0.2624300718307495,
0.057110752910375595,
-0.0011326223611831665,
-0.18636763095855713,
0.0006639435887336731,
0.09121676534414291,
0.05424103885889053,
-0.2506750524044037,
0.24471290409564972,
0.11357434093952179,
0.06171515956521034,
-0.03230426833033562,
0.04010128229856491,
0.03305850550532341,
-0.1484309881925583,
-0.1994171291589737,
-0.3386402726173401
] |
https://github.com/huggingface/datasets/pull/481 | Apply utf-8 encoding to all datasets | I pushed an improved docstring and the unit tests now pass, which suggests the previous failure on AWS was simply a timeout error.
For some reason the docs are now failing to build, but does not seem related to my changes:
```
Warning, treated as error:
/home/circleci/nlp/src/nlp/dataset_dict.py:docstring of nlp.DatasetDict.filter:27:Inline interpreted text or phrase reference start-string without end-string.
make: *** [Makefile:20: html] Error 2
```
Any ideas what's going wrong? | ## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all instances where a non-binary file is opened."""
with open(filepath, 'r', encoding='utf-8') as input_file:
regexp = re.compile(r"(?!.*\b(?:encoding|rb|w|wb|w+|wb+|ab|ab+)\b)(?<=\s)(open)\((.*)\)")
input_text = input_file.read()
match = regexp.search(input_text)
if match:
output = regexp.sub(lambda m: m.group()[:-1]+', encoding="utf-8")', input_text)
with open(filepath, 'w', encoding='utf-8') as output_file:
output_file.write(output)
```
to perform the replacement.
Note:
1. I excluded all _**binary files**_ from the search since it's possible some objects are opened for which the encoding doesn't make sense. Please correct me if I'm wrong and I'll tweak the regexp accordingly
2. There were two edge cases where the regexp failed (e.g. two `open` instances on a single line), but I decided to just fix these manually in the interest of time.
3. I only applied the replacement to files in `datasets/`. Let me know if this should be extended to other places like `metrics/`
4. I have implemented a unit test that should catch missing encodings in future CI runs
Closes #468 and possibly #347 | 69 | text: Apply utf-8 encoding to all datasets
## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all instances where a non-binary file is opened."""
with open(filepath, 'r', encoding='utf-8') as input_file:
regexp = re.compile(r"(?!.*\b(?:encoding|rb|w|wb|w+|wb+|ab|ab+)\b)(?<=\s)(open)\((.*)\)")
input_text = input_file.read()
match = regexp.search(input_text)
if match:
output = regexp.sub(lambda m: m.group()[:-1]+', encoding="utf-8")', input_text)
with open(filepath, 'w', encoding='utf-8') as output_file:
output_file.write(output)
```
to perform the replacement.
Note:
1. I excluded all _**binary files**_ from the search since it's possible some objects are opened for which the encoding doesn't make sense. Please correct me if I'm wrong and I'll tweak the regexp accordingly
2. There were two edge cases where the regexp failed (e.g. two `open` instances on a single line), but I decided to just fix these manually in the interest of time.
3. I only applied the replacement to files in `datasets/`. Let me know if this should be extended to other places like `metrics/`
4. I have implemented a unit test that should catch missing encodings in future CI runs
Closes #468 and possibly #347
I pushed an improved docstring and the unit tests now pass, which suggests the previous failure on AWS was simply a timeout error.
For some reason the docs are now failing to build, but does not seem related to my changes:
```
Warning, treated as error:
/home/circleci/nlp/src/nlp/dataset_dict.py:docstring of nlp.DatasetDict.filter:27:Inline interpreted text or phrase reference start-string without end-string.
make: *** [Makefile:20: html] Error 2
```
Any ideas what's going wrong? | [
-0.12170612812042236,
0.3586025834083557,
-0.0671844333410263,
-0.2637503147125244,
0.44060397148132324,
-0.1172013059258461,
0.38474392890930176,
0.44705215096473694,
0.0068326592445373535,
0.23030883073806763,
0.020511887967586517,
-0.13072188198566437,
-0.03962386026978493,
-0.017278870567679405,
0.011045350693166256,
0.020986761897802353,
0.07962653040885925,
0.11917939782142639,
0.4507986009120941,
-0.19857826828956604,
-0.28303009271621704,
0.15735994279384613,
0.04648090898990631,
-0.029673472046852112,
-0.2829756736755371,
-0.0988854244351387,
-0.10990343242883682,
0.11126154661178589,
-0.3528943359851837,
-0.32906660437583923,
0.022222964093089104,
-0.039347317069768906,
0.10569890588521957,
0.3978929817676544,
-0.00010756485426099971,
-0.021135158836841583,
0.16177520155906677,
0.03033609874546528,
-0.39663615822792053,
-0.07692845165729523,
-0.06980521231889725,
-0.0325043722987175,
-0.13613082468509674,
-0.14826610684394836,
0.15461498498916626,
-0.013310086913406849,
0.058443617075681686,
-0.545265257358551,
0.12864474952220917,
0.5704593062400818,
0.21469555795192719,
0.2937765121459961,
-0.09531061351299286,
0.08560237288475037,
-0.012112796306610107,
-0.052471354603767395,
-0.07027605175971985,
0.012219000607728958,
0.227143794298172,
0.03550781309604645,
-0.17823651432991028,
0.18250726163387299,
-0.2413264662027359,
-0.12398415803909302,
-0.4188160300254822,
0.1384466290473938,
0.16900846362113953,
-0.253317654132843,
0.11491583287715912,
-0.10927600413560867,
0.20674285292625427,
-0.09951531141996384,
-0.5263082385063171,
0.20952120423316956,
-0.04059337079524994,
-0.4713267683982849,
0.27548161149024963,
0.16800807416439056,
-0.019433733075857162,
0.14411504566669464,
-0.15123328566551208,
-0.1077832505106926,
-0.035893045365810394,
0.1343986541032791,
-0.2901369333267212,
0.3643079698085785,
0.021737929433584213,
-0.18143868446350098,
0.0033926181495189667,
-0.1265164166688919,
0.05470282584428787,
-0.17108091711997986,
-0.08705078065395355,
-0.063199982047081,
-0.031507816165685654,
-0.04636111855506897,
0.005333848297595978,
0.14817193150520325,
0.15597620606422424,
0.25004100799560547,
0.09631108492612839,
0.2974676489830017,
-0.2138148993253708,
0.31455299258232117,
-0.3411182165145874,
0.3399972915649414,
0.16199922561645508,
0.3776978850364685,
0.21184243261814117,
0.32389381527900696,
-0.28557565808296204,
0.0609896257519722,
-0.023694895207881927,
-0.3509153425693512,
-0.051920559257268906,
0.011868842877447605,
0.29135215282440186,
-0.17597822844982147,
-0.31207460165023804,
0.48668617010116577,
0.05536668002605438,
-0.22270770370960236,
-0.2874263525009155,
0.15057304501533508,
0.1299421638250351,
0.29795920848846436,
0.33987969160079956,
0.1879902482032776,
-0.3926001489162445,
-0.029550131410360336,
-0.16014443337917328,
0.14898477494716644,
-0.3167821168899536,
0.14895856380462646,
0.002077929675579071,
-0.025900982320308685,
0.1634155511856079,
0.030446887016296387,
0.3101685643196106,
-0.2484944760799408,
-0.07031841576099396,
0.11545144021511078,
0.2820032238960266,
0.12929455935955048,
0.07373659312725067,
0.12966986000537872,
0.24172525107860565,
-0.7841216325759888,
0.07592444866895676,
0.0624324269592762,
-0.07685554772615433,
-0.11092418432235718,
-0.5011487603187561,
0.3099830150604248,
-0.2843186855316162,
-0.33962884545326233,
0.2233358919620514,
-0.014784850180149078,
0.10325466841459274,
-0.1998947709798813,
0.17398591339588165,
-0.10600332915782928,
0.052632566541433334,
0.11495771259069443,
0.19548390805721283,
0.47996819019317627,
-0.1329411417245865,
0.08128109574317932,
0.1817372441291809,
0.3153415322303772,
0.4987390339374542,
0.39647263288497925,
0.1679694801568985,
-0.309813529253006,
-0.11735547333955765,
0.013844534754753113,
0.45118167996406555,
-0.35570836067199707,
-0.06724275648593903,
0.4231542944908142,
0.10886251926422119,
0.07602705806493759,
0.13025517761707306,
-0.5953922867774963,
0.2632322311401367,
-0.11275404691696167,
0.028010327368974686,
0.03902086615562439,
0.0625034049153328,
-0.022113196551799774,
-0.448014497756958,
-0.08563603460788727,
-0.21047639846801758,
0.11355270445346832,
0.254467248916626,
-0.011945821344852448,
0.1363157331943512,
0.07208024710416794,
0.2561759948730469,
-0.21352356672286987,
-0.0035007623955607414,
0.07238179445266724,
0.3218706548213959,
-0.1452133059501648,
0.07650766521692276,
0.10725463181734085,
0.15249831974506378,
0.00023483484983444214,
0.16094104945659637,
0.2511594891548157,
-0.2420051246881485,
-0.18549160659313202,
-0.13855502009391785,
-0.06288113445043564,
-0.21126572787761688,
-0.25517183542251587,
0.18209098279476166,
0.3690902590751648,
-0.07906416058540344,
0.23096777498722076,
-0.2823795676231384,
-0.5276966691017151,
-0.3526379466056824,
0.1513420045375824,
0.1311207115650177,
0.08779590576887131,
-0.1148536279797554,
-0.21172629296779633,
-0.055364347994327545,
0.011597055941820145,
-0.11653440445661545,
-0.0035596557427197695,
-0.21042537689208984,
0.25499245524406433,
0.02408520318567753,
0.38047003746032715,
0.12804606556892395,
0.35526981949806213,
0.21639519929885864,
-0.22280150651931763,
0.07118258625268936,
0.38294267654418945,
-0.011778267100453377,
0.12584015727043152,
-0.3123379647731781,
0.4667862057685852,
-0.059670839458703995,
-0.035830505192279816,
0.1660522222518921,
-0.05544530600309372,
0.30796030163764954,
-0.12012994289398193,
-0.5096369385719299,
-0.33018431067466736,
0.08226477354764938,
-0.026904575526714325,
0.13953332602977753,
0.13613447546958923,
-0.101454958319664,
-0.14889785647392273,
0.7140766978263855,
-0.23498933017253876,
-0.10564938932657242,
0.23379233479499817,
0.21631237864494324,
0.04648904502391815,
-0.07376435399055481,
0.10461306571960449,
0.2925650477409363,
0.14613427221775055,
0.3550903797149658,
0.11979323625564575,
0.07047361135482788,
-0.37625622749328613,
0.3128882348537445,
0.17972850799560547,
-0.1757669597864151,
0.37427419424057007,
0.22680562734603882,
0.1700354367494583,
-0.5863904356956482,
-0.2203410565853119,
-0.06603670865297318,
0.04044439643621445,
-0.2921297550201416,
0.18926677107810974,
-0.3226163685321808,
0.2639298737049103,
-0.23046104609966278,
0.001993717160075903,
-0.011845588684082031,
-0.25210386514663696,
0.19115062057971954,
-0.2954919636249542,
-0.2685296833515167,
0.4135098457336426,
-0.1353287696838379,
0.2507322430610657,
-0.031278274953365326,
-0.14561861753463745,
-0.18450148403644562,
0.016771696507930756,
-0.18467974662780762,
0.12467092275619507,
0.5230001211166382,
-0.3401530683040619,
-0.012773672118782997,
-0.34929749369621277,
-0.05616491660475731,
-0.5018741488456726,
-0.5110581517219543,
-0.014181196689605713,
0.021440820768475533,
0.14873798191547394,
-0.04019869863986969,
-0.21586360037326813,
-0.23430238664150238,
-0.5250679850578308,
0.15866786241531372,
-0.14878232777118683,
0.1424945443868637,
0.11809854209423065,
-0.12819507718086243,
-0.28119540214538574,
-0.15440614521503448,
-0.2800477147102356,
0.0818396806716919,
-0.3791569173336029,
-0.006437614560127258,
0.08233332633972168,
-0.0024901628494262695,
-0.11281818151473999,
-0.030786365270614624,
-0.03378494083881378,
0.08408227562904358,
-0.13276953995227814,
-0.12656563520431519,
-0.5587067008018494,
0.3153012692928314,
-0.16006994247436523,
-0.23186548054218292,
0.16603443026542664,
0.09092389792203903,
0.3192542791366577,
0.2636719346046448,
-0.3143785297870636,
0.10811911523342133,
-0.12155643105506897,
-0.057090047746896744,
-0.007278095930814743,
0.07489022612571716,
0.1495964080095291,
0.22486339509487152,
-0.18716320395469666,
-0.14824920892715454,
-0.00542912632226944,
-0.12281496077775955,
0.17683205008506775,
0.14881639182567596,
-0.2493208944797516,
0.23009896278381348,
0.21354839205741882,
0.10979108512401581,
0.23162463307380676,
-0.12480208277702332,
0.20724661648273468,
-0.005426602438092232,
0.350877970457077,
-0.016912542283535004,
0.07600007206201553,
0.34179410338401794,
-0.09283594787120819,
-0.2437102049589157,
0.5466317534446716,
-0.1491726040840149,
-0.3017674684524536,
-0.061405956745147705,
0.03626028820872307,
-0.44889727234840393,
-0.3870481848716736,
0.3275716006755829,
-0.49714362621307373,
0.39300569891929626,
0.05437633767724037,
0.045879364013671875,
0.03895127773284912,
0.10302548110485077,
0.1835484504699707,
0.29537439346313477,
0.2859339118003845,
0.028626512736082077,
-0.06915382295846939,
0.054439935833215714,
0.02657633274793625,
0.28776487708091736,
0.04545295238494873,
0.5300413370132446,
-0.16083292663097382,
-0.01810363680124283,
0.024180680513381958,
-0.09004173427820206,
-0.06588293612003326,
-0.35897260904312134,
-0.22916115820407867,
0.1639443337917328,
-0.12667836248874664,
-0.08894433826208115,
-0.16014795005321503,
-0.31104087829589844,
-0.06479330360889435,
-0.10307835042476654,
0.5329052209854126,
-0.04172205924987793,
-0.12968303263187408,
0.07417638599872589,
-0.02161184698343277,
-0.06417205929756165,
0.17693586647510529,
-0.13522805273532867,
-0.5101593732833862,
-0.18611164391040802,
0.24559059739112854,
0.20582665503025055,
-0.05176928639411926,
-0.2096782624721527,
-0.0316283144056797,
-0.07437847554683685,
0.18683773279190063,
0.4666493535041809,
-0.11218105256557465,
-0.00825834646821022,
-0.023175565525889397,
-0.10573907196521759,
-0.051043570041656494,
-0.19905778765678406,
0.18476466834545135,
0.4704679250717163,
-0.06612084805965424,
-0.2682754397392273,
0.008624625392258167,
-0.005636241286993027,
0.26104849576950073,
0.5402836799621582,
0.15098685026168823,
-0.2284841537475586,
0.24030701816082,
0.12500929832458496,
-0.07837151736021042,
-0.0406440906226635,
0.31420594453811646,
0.4693165123462677,
-0.28905630111694336,
-0.2869512140750885,
-0.015989162027835846,
-0.060344088822603226,
-0.0018505305051803589,
0.25027886033058167,
0.19577716290950775,
-0.18691810965538025,
0.7253978848457336,
0.25416436791419983,
0.9416040778160095,
0.1063656285405159,
0.12820586562156677,
0.20908746123313904,
0.06284032762050629,
0.03924131020903587,
-0.2972579002380371,
-0.05121547728776932,
-0.03668646514415741,
-0.2748188376426697,
-0.03436332195997238,
0.10854899883270264,
0.5024234056472778,
0.1426582634449005,
-0.5648736953735352,
0.10480860620737076,
0.06581160426139832,
0.006667528301477432,
0.5289361476898193,
0.12170925736427307,
-0.7579498291015625,
-0.19624443352222443,
-0.36829817295074463,
0.16475114226341248,
0.04471457377076149,
0.10178801417350769,
0.02865489199757576,
-0.12774749100208282,
0.09449660778045654,
-0.22382573783397675,
-0.29384857416152954,
0.14725515246391296,
-0.3182269334793091,
-0.05755123496055603,
-0.2658257782459259,
-0.13025759160518646,
0.11291715502738953,
0.29818031191825867,
0.4119148850440979,
0.2923011779785156,
-0.0024829749017953873,
0.3663802146911621,
0.13478368520736694,
0.14907865226268768,
0.1151726022362709,
-0.20810826122760773,
0.49262845516204834,
-0.13140802085399628,
-0.23054388165473938,
0.06272679567337036,
-0.008725184947252274,
0.07724359631538391,
-0.1006295382976532,
-0.08712412416934967,
-0.08733227849006653,
-0.1844014972448349,
-0.22683380544185638,
-0.11735224723815918,
-0.49758487939834595,
-0.2384316474199295,
0.21414242684841156,
-0.24389655888080597,
-0.2098717838525772,
0.437044620513916,
0.06428184360265732,
-0.2578656077384949,
-0.021901879459619522,
0.10165712237358093,
-0.09260252863168716,
-0.02896719053387642,
0.37893685698509216,
-0.07475169003009796,
-0.2201610803604126,
-0.26440244913101196,
-0.05028609186410904,
0.002149510197341442,
-0.059755317866802216,
0.10344905406236649,
-0.33982017636299133,
0.05218137800693512,
0.1211082711815834,
0.0666290819644928,
0.19232331216335297,
0.2224295735359192,
-0.12590919435024261,
-0.40085697174072266,
0.02799188531935215,
0.155227929353714,
0.03543667867779732,
0.09039529412984848,
-0.04559992253780365,
0.27015477418899536,
-0.22426359355449677,
-0.05635693669319153,
-0.38665667176246643,
0.21659377217292786,
-0.30239972472190857,
0.11743662506341934,
0.09642915427684784,
-0.09571609646081924,
0.18247127532958984,
0.00710313580930233,
0.14087538421154022,
0.17824962735176086,
0.11695609241724014,
-0.21673458814620972,
-0.21362440288066864,
0.10995037853717804,
0.19127607345581055,
0.04158701002597809,
0.4580346643924713,
0.2551538944244385,
0.09506641328334808,
-0.277251660823822,
-0.009607493877410889,
0.1317424476146698,
-0.21567748486995697,
0.22306719422340393,
-0.057566363364458084,
0.04767948016524315,
0.2790921926498413,
-0.3228529393672943,
-0.10038667917251587,
0.3624134659767151,
0.048432573676109314,
0.11105499416589737,
0.1884419173002243,
-0.11358080804347992,
0.28720006346702576,
0.11098991334438324,
-0.2182767242193222,
0.5389063954353333,
0.4209180474281311,
-0.09788720309734344,
-0.08775011450052261,
-0.05527680367231369,
0.2629271149635315,
0.29273268580436707,
-0.21766939759254456,
-0.09961480647325516,
0.03872379660606384,
0.24808257818222046,
-0.18119952082633972,
-0.11469833552837372,
-0.1219802051782608,
-0.15525104105472565,
-0.00937863439321518,
0.1356634646654129,
0.18221095204353333,
-0.5408304929733276,
-0.0014642030000686646,
0.08563890308141708,
0.1727721393108368,
-0.5543444752693176,
0.21494458615779877,
0.2029416263103485,
-0.18619219958782196,
0.08039639890193939,
-0.15285594761371613,
-0.22566473484039307,
0.05977568030357361,
-0.01722247153520584,
-0.1857682168483734,
0.4287499189376831,
0.16786125302314758,
0.32199519872665405,
-0.22544261813163757,
-0.34006640315055847,
0.08306160569190979,
-0.22659832239151,
0.028781279921531677,
0.40035271644592285,
0.20955102145671844,
-0.12241316586732864,
0.01241014152765274,
0.20402388274669647,
0.06306862086057663,
0.20330429077148438,
0.09744203835725784,
-0.1944343000650406,
-0.12644684314727783,
-0.14776000380516052,
-0.2912256717681885,
0.08729051053524017,
0.03413516283035278,
0.23262998461723328,
0.21124526858329773,
0.316844642162323,
0.031883470714092255,
0.034348923712968826,
-0.18159586191177368,
-0.2899426519870758,
0.2822129726409912,
-0.41102519631385803,
0.4456935226917267,
0.46462392807006836,
-0.14734265208244324,
0.0946100503206253,
0.30816593766212463,
0.7147141695022583,
0.01229155994951725,
0.04319743067026138,
0.3282198905944824,
-0.3561762273311615,
-0.07657575607299805,
0.010104002431035042,
0.3030833601951599,
0.24635504186153412,
-0.09996268153190613,
0.02313128486275673,
0.25699394941329956,
-0.2193944752216339,
0.022393951192498207,
-0.12840060889720917,
-0.29649677872657776,
-0.11622799932956696,
0.12455778568983078,
0.3794097304344177,
0.004612274467945099,
-0.39883148670196533,
0.025688856840133667,
-0.39668816328048706,
-0.2955344617366791,
0.3023329973220825,
0.02572121098637581,
0.1803361475467682,
0.023337099701166153,
0.12389329075813293,
0.36334100365638733,
0.13720545172691345,
0.3899824619293213,
-0.04632936418056488,
-0.0424308218061924,
-0.31406986713409424,
-0.3398689925670624,
0.06299098581075668,
0.26913222670555115,
0.06872265040874481,
0.04462827742099762,
-0.07642270624637604,
0.3509240448474884,
-0.2128663808107376,
0.011372528970241547,
-0.08157424628734589,
-0.16710960865020752,
0.035441845655441284,
-0.3706705868244171,
0.08118043839931488,
0.20831391215324402,
0.09386608004570007,
-0.19429293274879456,
-0.25300395488739014,
0.1435566246509552,
-0.0774468183517456,
0.15796196460723877,
-0.04657560586929321,
-0.0516262948513031,
-0.02597489207983017,
-0.023632660508155823,
0.22217071056365967,
0.4548473358154297,
0.28445565700531006,
-0.5135338306427002,
-0.052804846316576004,
-0.22419893741607666,
-0.2262464463710785,
-0.18969514966011047,
0.5596043467521667,
-0.060945142060518265,
0.4440555274486542,
0.06624313443899155,
-0.39248383045196533,
-0.2863604724407196,
0.11342739313840866,
-0.1519486904144287,
-0.151047945022583,
-0.1400689333677292,
0.13414643704891205,
-0.02787429466843605,
0.04523487761616707,
0.17884665727615356,
0.5258607864379883,
-0.05002421885728836,
0.0887722596526146,
-0.2216540277004242,
-0.4666457772254944,
0.6101813316345215,
-0.33446961641311646,
-0.4353656470775604,
0.18424664437770844,
0.22501686215400696,
0.18643847107887268,
0.046628594398498535,
-0.3635181486606598,
0.01239825040102005,
0.11230818182229996,
-0.0005527865141630173,
-0.38819649815559387,
0.23229479789733887,
0.08535896241664886,
0.11339572072029114,
-0.11851842701435089,
0.16569045186042786,
0.035453591495752335,
-0.19264526665210724,
-0.21594947576522827,
-0.31053251028060913
] |
https://github.com/huggingface/datasets/pull/481 | Apply utf-8 encoding to all datasets | The build_doc fail has been fixed on master.
It was due to the latest update of sphinx that has some issues, so I pinned the previous version for now. | ## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all instances where a non-binary file is opened."""
with open(filepath, 'r', encoding='utf-8') as input_file:
regexp = re.compile(r"(?!.*\b(?:encoding|rb|w|wb|w+|wb+|ab|ab+)\b)(?<=\s)(open)\((.*)\)")
input_text = input_file.read()
match = regexp.search(input_text)
if match:
output = regexp.sub(lambda m: m.group()[:-1]+', encoding="utf-8")', input_text)
with open(filepath, 'w', encoding='utf-8') as output_file:
output_file.write(output)
```
to perform the replacement.
Note:
1. I excluded all _**binary files**_ from the search since it's possible some objects are opened for which the encoding doesn't make sense. Please correct me if I'm wrong and I'll tweak the regexp accordingly
2. There were two edge cases where the regexp failed (e.g. two `open` instances on a single line), but I decided to just fix these manually in the interest of time.
3. I only applied the replacement to files in `datasets/`. Let me know if this should be extended to other places like `metrics/`
4. I have implemented a unit test that should catch missing encodings in future CI runs
Closes #468 and possibly #347 | 29 | text: Apply utf-8 encoding to all datasets
## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all instances where a non-binary file is opened."""
with open(filepath, 'r', encoding='utf-8') as input_file:
regexp = re.compile(r"(?!.*\b(?:encoding|rb|w|wb|w+|wb+|ab|ab+)\b)(?<=\s)(open)\((.*)\)")
input_text = input_file.read()
match = regexp.search(input_text)
if match:
output = regexp.sub(lambda m: m.group()[:-1]+', encoding="utf-8")', input_text)
with open(filepath, 'w', encoding='utf-8') as output_file:
output_file.write(output)
```
to perform the replacement.
Note:
1. I excluded all _**binary files**_ from the search since it's possible some objects are opened for which the encoding doesn't make sense. Please correct me if I'm wrong and I'll tweak the regexp accordingly
2. There were two edge cases where the regexp failed (e.g. two `open` instances on a single line), but I decided to just fix these manually in the interest of time.
3. I only applied the replacement to files in `datasets/`. Let me know if this should be extended to other places like `metrics/`
4. I have implemented a unit test that should catch missing encodings in future CI runs
Closes #468 and possibly #347
The build_doc fail has been fixed on master.
It was due to the latest update of sphinx that has some issues, so I pinned the previous version for now. | [
-0.0718163251876831,
0.3766528367996216,
-0.03518274426460266,
-0.12085939943790436,
0.42313718795776367,
-0.01152484118938446,
0.3023066520690918,
0.5300370454788208,
0.1523732841014862,
0.1879519820213318,
-0.07783559709787369,
0.09750771522521973,
-0.0013066427782177925,
-0.1142803505063057,
-0.022820454090833664,
-0.07834896445274353,
0.13398119807243347,
0.1780168116092682,
0.19121026992797852,
-0.2979382872581482,
-0.40874114632606506,
0.23845764994621277,
0.09808275103569031,
0.033442530781030655,
-0.07578642666339874,
-0.0662882849574089,
-0.10078195482492447,
0.25834375619888306,
-0.2969852387905121,
-0.32593241333961487,
-0.12176468223333359,
0.08431068807840347,
0.004222385585308075,
0.4527990221977234,
-0.00009949058585334569,
0.054826512932777405,
0.1279638111591339,
-0.022770453244447708,
-0.19144192337989807,
-0.16549430787563324,
-0.16651633381843567,
-0.1031399741768837,
-0.18525882065296173,
-0.1444804072380066,
0.16311407089233398,
-0.2062498927116394,
0.09480947256088257,
-0.5723128318786621,
0.09022573381662369,
0.3944077491760254,
0.2839879095554352,
0.07902595400810242,
-0.015469282865524292,
0.022756896913051605,
-0.15310057997703552,
-0.08394674956798553,
0.07826075702905655,
0.03111148625612259,
0.01403643935918808,
0.2525763213634491,
-0.11760648339986801,
0.30223098397254944,
-0.3695935606956482,
-0.2614792287349701,
-0.36024630069732666,
0.03495508432388306,
0.27554693818092346,
-0.40299585461616516,
0.12156324088573456,
-0.015494689345359802,
0.055909596383571625,
-0.2776811122894287,
-0.49891313910484314,
0.26190921664237976,
-0.024650800973176956,
-0.4163554608821869,
0.16745024919509888,
0.2999672591686249,
-0.03358642756938934,
0.16405890882015228,
-0.01598220132291317,
-0.1502237766981125,
-0.005569323897361755,
-0.13460670411586761,
-0.1869858056306839,
0.27320677042007446,
0.11827891319990158,
-0.16184177994728088,
0.05678153038024902,
-0.10334235429763794,
-0.016773555427789688,
-0.15791760385036469,
-0.192429319024086,
-0.0033615073189139366,
-0.04670467600226402,
-0.04842423275113106,
0.027352705597877502,
0.11174401640892029,
0.2610068917274475,
0.3013063669204712,
-0.13181163370609283,
0.33968594670295715,
-0.2631594240665436,
0.29445546865463257,
-0.20008015632629395,
0.26025649905204773,
-0.10835198312997818,
0.31465426087379456,
0.22670239210128784,
0.1441611349582672,
-0.17420312762260437,
0.0487394854426384,
-0.022135697305202484,
-0.37501558661460876,
-0.019081905484199524,
0.18579953908920288,
0.23994757235050201,
-0.13783738017082214,
-0.21402043104171753,
0.34287431836128235,
0.1071496531367302,
-0.2979287803173065,
-0.21925370395183563,
0.1779753863811493,
0.06774413585662842,
0.285383403301239,
0.0922907143831253,
0.22111772000789642,
-0.3143109977245331,
-0.030058324337005615,
-0.23962369561195374,
0.11242461204528809,
-0.25872868299484253,
0.10502026230096817,
-0.12760670483112335,
-0.08921036124229431,
0.07306158542633057,
0.11844363063573837,
0.1428990364074707,
-0.06172899156808853,
-0.009594949893653393,
-0.05500815063714981,
0.26342087984085083,
0.11846397817134857,
0.07258549332618713,
-0.05149279534816742,
0.3141811192035675,
-0.5432938933372498,
-0.1483902931213379,
0.2449485957622528,
-0.04132299870252609,
0.017692726105451584,
-0.5054760575294495,
0.33120274543762207,
-0.19786721467971802,
-0.30009517073631287,
0.4177599847316742,
0.19465410709381104,
-0.02529444545507431,
-0.1558058261871338,
0.10913576185703278,
0.0029125623404979706,
0.09167501330375671,
0.1070675402879715,
0.3164442479610443,
0.505242109298706,
-0.09732730686664581,
0.1010560542345047,
0.2708398699760437,
0.15230077505111694,
0.4451611340045929,
0.429531067609787,
0.19356250762939453,
-0.2886752188205719,
-0.09637393802404404,
0.06198544800281525,
0.461008220911026,
-0.31120145320892334,
-0.15354011952877045,
0.3647784888744354,
0.12198466062545776,
0.031567834317684174,
0.2401675581932068,
-0.4439683258533478,
0.32423853874206543,
-0.11191952228546143,
0.0653253123164177,
0.16279205679893494,
0.07864784449338913,
0.040372468531131744,
-0.3997030556201935,
-0.08615131676197052,
-0.021287113428115845,
0.11014850437641144,
0.17541790008544922,
0.0683295875787735,
0.04342823475599289,
-0.11140448600053787,
0.27939996123313904,
-0.2119382917881012,
-0.1373603492975235,
0.01909225434064865,
0.4790734350681305,
0.014368336647748947,
0.06694766879081726,
0.14896386861801147,
0.39451199769973755,
-0.06429390609264374,
0.08965707570314407,
0.281717449426651,
-0.3099122643470764,
-0.20482197403907776,
-0.14293140172958374,
-0.10864762961864471,
-0.2874854803085327,
-0.22770631313323975,
0.2537749409675598,
0.32951298356056213,
-0.09713815152645111,
0.27471646666526794,
-0.30391260981559753,
-0.2734716236591339,
-0.029166989028453827,
0.13942649960517883,
0.05368385091423988,
0.09538818150758743,
-0.21404775977134705,
-0.05481360852718353,
-0.09058981388807297,
0.1658313274383545,
-0.07849032431840897,
0.008757139556109905,
-0.1923956573009491,
0.30448073148727417,
-0.027994560077786446,
0.1822078824043274,
0.15403789281845093,
0.1810358315706253,
0.18319539725780487,
-0.308668315410614,
0.21572625637054443,
0.5138221979141235,
0.03892068564891815,
0.17008712887763977,
-0.19867932796478271,
0.35423776507377625,
0.0777852013707161,
-0.11989829689264297,
0.24145899713039398,
-0.13566617667675018,
0.38090065121650696,
-0.18506772816181183,
-0.4271811246871948,
-0.2888808846473694,
-0.12021206319332123,
0.06917282938957214,
0.11960016191005707,
0.24476000666618347,
-0.22807103395462036,
-0.20550185441970825,
0.789176344871521,
-0.24020543694496155,
0.035315800458192825,
0.2879203259944916,
0.0672563910484314,
0.04891145974397659,
-0.15913064777851105,
0.07353144884109497,
0.27128925919532776,
0.18455156683921814,
0.3112139403820038,
0.1853729635477066,
0.18192467093467712,
-0.24351656436920166,
0.27771246433258057,
0.1348719745874405,
-0.29982706904411316,
0.32533952593803406,
0.10474111884832382,
0.20942255854606628,
-0.5801936984062195,
-0.2021702378988266,
-0.13293245434761047,
0.09281880408525467,
-0.1334276795387268,
0.16015560925006866,
-0.2097788006067276,
0.10436638444662094,
-0.27216631174087524,
-0.017559174448251724,
-0.005007583647966385,
-0.23941877484321594,
0.1822974532842636,
-0.3078356087207794,
-0.14843730628490448,
0.41025683283805847,
-0.19034019112586975,
0.12516357004642487,
-0.06788843870162964,
-0.09703916311264038,
-0.11462312936782837,
-0.05352956801652908,
-0.1952078640460968,
0.15088164806365967,
0.4291497766971588,
-0.35760965943336487,
-0.09728284180164337,
-0.42523735761642456,
-0.007435338571667671,
-0.4113939106464386,
-0.4808655381202698,
0.0227527916431427,
-0.08404475450515747,
0.04565812647342682,
-0.048710137605667114,
-0.16985945403575897,
-0.06898794323205948,
-0.48438769578933716,
0.13482511043548584,
-0.09718836098909378,
0.04790949076414108,
0.25801923871040344,
-0.29545432329177856,
-0.12339004129171371,
-0.08579394221305847,
-0.22181296348571777,
-0.0856672078371048,
-0.4340974986553192,
0.12616153061389923,
-0.012222962453961372,
0.022047504782676697,
0.21092039346694946,
-0.14166174829006195,
-0.09667403995990753,
0.033895980566740036,
-0.026458753272891045,
-0.15728431940078735,
-0.6103022694587708,
0.36428219079971313,
-0.11994360387325287,
-0.23762400448322296,
0.14223459362983704,
-0.11977900564670563,
0.24620364606380463,
0.002071721013635397,
-0.29151904582977295,
-0.01863255351781845,
-0.20205014944076538,
-0.20337767899036407,
-0.03038729727268219,
0.11864369362592697,
0.012468785047531128,
0.3637404143810272,
-0.25182223320007324,
-0.11232123523950577,
-0.03361906856298447,
-0.04508688300848007,
0.196809321641922,
-0.003933355212211609,
-0.18107959628105164,
0.18635740876197815,
0.2722261846065521,
-0.13907137513160706,
0.21533064544200897,
0.0669017806649208,
0.2543100416660309,
0.030481595546007156,
0.5005295276641846,
-0.042035140097141266,
-0.037833407521247864,
0.2391415387392044,
-0.02426159381866455,
-0.1683863401412964,
0.477042019367218,
-0.1419193148612976,
-0.2594248056411743,
-0.040649719536304474,
-0.10173581540584564,
-0.3593786954879761,
-0.41799888014793396,
0.31113961338996887,
-0.4222254455089569,
0.31584426760673523,
0.0813979059457779,
0.0738033875823021,
-0.06366545706987381,
0.14907032251358032,
0.35386598110198975,
0.3367452621459961,
0.35540151596069336,
0.03501312434673309,
-0.08332370966672897,
0.07024389505386353,
-0.0030039697885513306,
0.2336156666278839,
0.0014589421916753054,
0.4355027973651886,
-0.09754037857055664,
-0.12017194926738739,
-0.06317415833473206,
-0.037719253450632095,
0.00010341405868530273,
-0.13171957433223724,
-0.30631059408187866,
0.23119571805000305,
-0.18873406946659088,
-0.18820156157016754,
-0.07393018901348114,
-0.21369163691997528,
-0.01300034299492836,
-0.1943981796503067,
0.5146584510803223,
-0.16349932551383972,
-0.12862500548362732,
0.182368203997612,
0.15193018317222595,
-0.15715637803077698,
0.06698718667030334,
-0.30785465240478516,
-0.5433107018470764,
-0.19670341908931732,
0.1669013798236847,
0.10266181081533432,
0.01122325100004673,
-0.039313241839408875,
-0.0820937305688858,
-0.1298845410346985,
0.031046472489833832,
0.4556811451911926,
-0.03421846032142639,
0.15844649076461792,
0.0650031566619873,
-0.07338428497314453,
0.04165150970220566,
-0.2418173849582672,
0.02176514081656933,
0.4541768431663513,
-0.22121131420135498,
-0.23937594890594482,
-0.1438741683959961,
-0.06771592050790787,
0.16569337248802185,
0.3454572558403015,
0.10638421773910522,
-0.24744924902915955,
0.14151717722415924,
0.04728703200817108,
-0.08954798430204391,
-0.1275607794523239,
0.3311036229133606,
0.4889833331108093,
-0.3850559592247009,
-0.526726484298706,
-0.09747106581926346,
0.00039800815284252167,
-0.01373608410358429,
0.19625860452651978,
0.07194352895021439,
-0.09412810951471329,
0.5658800601959229,
0.18752005696296692,
0.9382067322731018,
0.042025111615657806,
0.11984550952911377,
0.2079310119152069,
0.1249752938747406,
-0.09194359928369522,
-0.17607876658439636,
0.05777805298566818,
-0.09847958385944366,
-0.4297052025794983,
0.025732586160302162,
0.1389031708240509,
0.5074338912963867,
0.03800969198346138,
-0.6201345324516296,
0.2123730629682541,
-0.05427726358175278,
-0.14526692032814026,
0.5362510681152344,
0.029920972883701324,
-0.6693519949913025,
-0.24059948325157166,
-0.2735089361667633,
0.19559019804000854,
0.09512272477149963,
-0.02209140732884407,
0.07602391391992569,
-0.30075567960739136,
0.1789427250623703,
-0.14135539531707764,
-0.10323461145162582,
0.09977852553129196,
-0.3645241856575012,
-0.06638925522565842,
-0.19829049706459045,
-0.2041599452495575,
0.013375245034694672,
0.14723525941371918,
0.41464531421661377,
0.20790454745292664,
0.19682055711746216,
0.2346339225769043,
0.25520265102386475,
0.1813288778066635,
0.14049123227596283,
0.03132050856947899,
0.44408270716667175,
-0.11908480525016785,
-0.2574649751186371,
0.08039791882038116,
-0.024044347926974297,
0.10920679569244385,
-0.2366689145565033,
-0.10030809044837952,
-0.02056543529033661,
-0.07845691591501236,
-0.16091866791248322,
-0.10649579763412476,
-0.3258354663848877,
-0.22552703320980072,
0.25673410296440125,
-0.18724794685840607,
-0.30407068133354187,
0.4060850143432617,
0.015824828296899796,
-0.36037135124206543,
0.008662620559334755,
-0.019630685448646545,
0.021537259221076965,
0.08302628248929977,
0.31811749935150146,
-0.17494334280490875,
-0.2018497735261917,
-0.2308644950389862,
-0.05301737040281296,
-0.028268519788980484,
0.032060787081718445,
0.01609678938984871,
-0.46774822473526,
0.11245237290859222,
0.01636253483593464,
0.03481374680995941,
0.09389685094356537,
0.14476463198661804,
-0.14822955429553986,
-0.4067912697792053,
-0.1084330677986145,
0.15437066555023193,
0.0011533945798873901,
-0.05886480584740639,
-0.034202639013528824,
0.27038076519966125,
-0.13838087022304535,
-0.031040405854582787,
-0.4549628496170044,
0.11587183177471161,
-0.23302485048770905,
0.07144254446029663,
0.20739871263504028,
-0.13795432448387146,
0.12249805778265,
0.06982538104057312,
0.24949762225151062,
0.1079867035150528,
0.0628727599978447,
-0.2724926471710205,
-0.19565503299236298,
0.05996151268482208,
0.09255150705575943,
0.03919133543968201,
0.4214012622833252,
0.22897325456142426,
0.006645349785685539,
-0.18927472829818726,
-0.05336816981434822,
0.15518417954444885,
-0.21794773638248444,
0.3234758675098419,
-0.15540994703769684,
-0.010753057897090912,
0.04848597198724747,
-0.3333127200603485,
-0.010646052658557892,
0.41971099376678467,
0.1547834724187851,
0.06991275399923325,
-0.026976142078638077,
-0.14417073130607605,
0.06294570118188858,
0.10086672008037567,
0.00286160409450531,
0.4417679011821747,
0.39523860812187195,
-0.01975526660680771,
0.18047696352005005,
0.0812738686800003,
0.29950374364852905,
0.08728526532649994,
-0.17694254219532013,
-0.017374273389577866,
0.139739990234375,
0.31179696321487427,
-0.2902590036392212,
-0.05341826751828194,
-0.01290619745850563,
-0.28864946961402893,
0.026426825672388077,
0.13259458541870117,
0.1877690553665161,
-0.24200426042079926,
-0.06422203779220581,
-0.017836902290582657,
0.20626212656497955,
-0.13200019299983978,
0.2596248388290405,
0.4000909924507141,
-0.2558708190917969,
0.06946288049221039,
-0.0341619998216629,
-0.04178737476468086,
0.05813789367675781,
0.23901872336864471,
-0.15973544120788574,
0.4139949381351471,
0.08868667483329773,
0.20846408605575562,
-0.1703440248966217,
-0.42255380749702454,
0.1946735382080078,
-0.19798246026039124,
0.20378099381923676,
0.22410601377487183,
0.17541469633579254,
-0.10082470625638962,
-0.010197198949754238,
0.06681079417467117,
0.22997477650642395,
0.3134869635105133,
0.10791861265897751,
-0.13048695027828217,
0.2426275610923767,
-0.11141104996204376,
-0.2540322542190552,
0.0802488774061203,
0.0838196724653244,
0.13018110394477844,
0.09457474201917648,
0.3120708465576172,
0.06411270052194595,
0.028417406603693962,
-0.12005945295095444,
-0.15733939409255981,
0.20998746156692505,
-0.44684579968452454,
0.41892847418785095,
0.5107199549674988,
-0.16568639874458313,
0.1306084394454956,
0.24602468311786652,
0.5067050457000732,
0.04289894178509712,
-0.05314607545733452,
0.2839825451374054,
-0.4189206063747406,
-0.03874003514647484,
-0.013225613161921501,
0.10474494844675064,
0.22615011036396027,
0.027273204177618027,
-0.006812209263443947,
0.2741967439651489,
-0.246438130736351,
0.030322711914777756,
-0.000498555600643158,
-0.08796826004981995,
-0.1022307276725769,
0.4540749490261078,
0.383608877658844,
-0.05635808780789375,
-0.3335541784763336,
-0.13249903917312622,
-0.4798140823841095,
-0.3352733552455902,
0.35025036334991455,
0.05508146435022354,
0.037571270018815994,
-0.043380897492170334,
0.16297999024391174,
0.39612045884132385,
0.05155058950185776,
0.2107747197151184,
-0.01348917931318283,
-0.035570304840803146,
-0.2508218586444855,
-0.38517722487449646,
0.15723936259746552,
0.2871430516242981,
0.06163046509027481,
0.082794189453125,
-0.17126286029815674,
0.38182127475738525,
-0.058072514832019806,
-0.020969659090042114,
0.007765404414385557,
-0.10113658756017685,
-0.08165685832500458,
-0.2533766031265259,
0.08261442184448242,
0.06400016695261002,
0.1096506267786026,
-0.20887485146522522,
-0.18182748556137085,
0.09171580523252487,
-0.18910612165927887,
0.28909385204315186,
0.021888405084609985,
-0.11111146956682205,
-0.08000356703996658,
-0.0390414297580719,
0.3223142623901367,
0.37644290924072266,
0.21170338988304138,
-0.44076085090637207,
-0.06816427409648895,
0.1205526813864708,
-0.16174885630607605,
-0.27331602573394775,
0.46833473443984985,
-0.03293120488524437,
0.32775864005088806,
0.11366472393274307,
-0.47835466265678406,
-0.3865734338760376,
0.2160094678401947,
-0.055869076400995255,
-0.26848065853118896,
-0.42530545592308044,
0.22588439285755157,
0.16651073098182678,
-0.0899602398276329,
0.12765422463417053,
0.4188002347946167,
0.0024296119809150696,
0.04874724894762039,
-0.24117043614387512,
-0.3510662913322449,
0.5655964612960815,
-0.44501158595085144,
-0.5035429000854492,
0.030938826501369476,
0.17487744987010956,
0.010128714144229889,
0.03580455109477043,
-0.19605593383312225,
0.18629637360572815,
0.07250271737575531,
0.07337423413991928,
-0.323941171169281,
0.13775606453418732,
0.025501247495412827,
0.08877415955066681,
-0.09386813640594482,
0.020249072462320328,
0.08912377059459686,
-0.21227866411209106,
-0.20521485805511475,
-0.22996284067630768
] |
https://github.com/huggingface/datasets/pull/481 | Apply utf-8 encoding to all datasets | I noticed that you also changed the Apache Beam `open` to also use utf-8. However it doesn't have an `encoding` parameter.
Therefore you should ignore lines like
```python
beam.io.filesystems.FileSystems.open(filepath)
```
I guess you could add a rule to your regex to only include the `open` call that have a space right before it. | ## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all instances where a non-binary file is opened."""
with open(filepath, 'r', encoding='utf-8') as input_file:
regexp = re.compile(r"(?!.*\b(?:encoding|rb|w|wb|w+|wb+|ab|ab+)\b)(?<=\s)(open)\((.*)\)")
input_text = input_file.read()
match = regexp.search(input_text)
if match:
output = regexp.sub(lambda m: m.group()[:-1]+', encoding="utf-8")', input_text)
with open(filepath, 'w', encoding='utf-8') as output_file:
output_file.write(output)
```
to perform the replacement.
Note:
1. I excluded all _**binary files**_ from the search since it's possible some objects are opened for which the encoding doesn't make sense. Please correct me if I'm wrong and I'll tweak the regexp accordingly
2. There were two edge cases where the regexp failed (e.g. two `open` instances on a single line), but I decided to just fix these manually in the interest of time.
3. I only applied the replacement to files in `datasets/`. Let me know if this should be extended to other places like `metrics/`
4. I have implemented a unit test that should catch missing encodings in future CI runs
Closes #468 and possibly #347 | 53 | text: Apply utf-8 encoding to all datasets
## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all instances where a non-binary file is opened."""
with open(filepath, 'r', encoding='utf-8') as input_file:
regexp = re.compile(r"(?!.*\b(?:encoding|rb|w|wb|w+|wb+|ab|ab+)\b)(?<=\s)(open)\((.*)\)")
input_text = input_file.read()
match = regexp.search(input_text)
if match:
output = regexp.sub(lambda m: m.group()[:-1]+', encoding="utf-8")', input_text)
with open(filepath, 'w', encoding='utf-8') as output_file:
output_file.write(output)
```
to perform the replacement.
Note:
1. I excluded all _**binary files**_ from the search since it's possible some objects are opened for which the encoding doesn't make sense. Please correct me if I'm wrong and I'll tweak the regexp accordingly
2. There were two edge cases where the regexp failed (e.g. two `open` instances on a single line), but I decided to just fix these manually in the interest of time.
3. I only applied the replacement to files in `datasets/`. Let me know if this should be extended to other places like `metrics/`
4. I have implemented a unit test that should catch missing encodings in future CI runs
Closes #468 and possibly #347
I noticed that you also changed the Apache Beam `open` to also use utf-8. However it doesn't have an `encoding` parameter.
Therefore you should ignore lines like
```python
beam.io.filesystems.FileSystems.open(filepath)
```
I guess you could add a rule to your regex to only include the `open` call that have a space right before it. | [
-0.09116754680871964,
0.31869444251060486,
-0.09022922813892365,
-0.19578872621059418,
0.5406995415687561,
-0.09909401088953018,
0.24715721607208252,
0.5443554520606995,
0.011174503713846207,
0.2952432930469513,
-0.12750889360904694,
-0.059133388102054596,
-0.024656876921653748,
-0.13367334008216858,
0.03876075893640518,
-0.21109935641288757,
0.1387244015932083,
0.0613902285695076,
0.10056952387094498,
-0.26580142974853516,
-0.3260450065135956,
0.19113683700561523,
0.009599603712558746,
0.07601593434810638,
0.04022287204861641,
-0.06407495588064194,
-0.004802582785487175,
0.13031481206417084,
-0.24526433646678925,
-0.2488061934709549,
-0.28889748454093933,
0.05229620635509491,
0.07810477912425995,
0.3330099880695343,
-0.00010042645590147004,
0.09279964864253998,
0.10867013037204742,
-0.06426268815994263,
-0.32671457529067993,
-0.01681596040725708,
0.06593907624483109,
-0.212981179356575,
-0.12614886462688446,
-0.20269536972045898,
0.06464005261659622,
-0.36664873361587524,
0.12086544185876846,
-0.6192507743835449,
0.2028186321258545,
0.3876979649066925,
0.2940739095211029,
0.28335222601890564,
-0.12143506109714508,
0.09285050630569458,
0.058688051998615265,
-0.13925665616989136,
0.04972907155752182,
-0.10106249153614044,
0.0907379612326622,
0.21864186227321625,
-0.3057999014854431,
0.3210998773574829,
-0.22097820043563843,
-0.25174495577812195,
-0.30907565355300903,
-0.038613952696323395,
-0.027987957000732422,
-0.2693004906177521,
0.05957562476396561,
-0.10996907204389572,
0.17782378196716309,
-0.26525214314460754,
-0.35726305842399597,
0.2818440794944763,
-0.006514132022857666,
-0.34877654910087585,
0.22996655106544495,
0.2964242994785309,
-0.1676311194896698,
0.14198225736618042,
-0.07296079397201538,
-0.10000476986169815,
-0.04982505738735199,
0.008001614362001419,
-0.05741684138774872,
0.2762787938117981,
0.1615036278963089,
-0.06682223826646805,
-0.01833133026957512,
-0.08124935626983643,
-0.06529033184051514,
-0.12643219530582428,
-0.11647839844226837,
-0.05663146451115608,
-0.12478211522102356,
-0.024669324979186058,
-0.04973112791776657,
0.23954087495803833,
0.2643369436264038,
0.26932764053344727,
0.11302332580089569,
0.47678080201148987,
-0.1908283829689026,
0.1927761435508728,
-0.3148292303085327,
0.35890814661979675,
0.002274259924888611,
0.21845898032188416,
0.2868998646736145,
0.09689843654632568,
-0.13893263041973114,
0.0502181239426136,
0.07691185176372528,
-0.46186578273773193,
-0.10413509607315063,
0.2314501702785492,
0.18386198580265045,
0.030160043388605118,
-0.2206212878227234,
0.22743749618530273,
-0.05032077431678772,
-0.29956942796707153,
-0.2418707013130188,
0.22862425446510315,
0.19202536344528198,
0.42695027589797974,
0.25989627838134766,
0.2619227468967438,
-0.40957504510879517,
-0.32413122057914734,
-0.16067147254943848,
0.20662784576416016,
-0.365688294172287,
0.10323891043663025,
-0.057276710867881775,
0.1017770916223526,
0.07474184036254883,
0.10568448901176453,
0.265965074300766,
-0.053623851388692856,
0.07208377867937088,
0.16489805281162262,
0.228714257478714,
0.07846547663211823,
0.10132966935634613,
0.0869002714753151,
0.22046761214733124,
-0.6497690081596375,
-0.031019359827041626,
0.1466328501701355,
-0.08761730045080185,
0.04766863211989403,
-0.4391307234764099,
0.3010757863521576,
-0.1831979602575302,
-0.11532242596149445,
0.18339447677135468,
0.03956616669893265,
-0.1831880509853363,
-0.05379706993699074,
0.16945180296897888,
0.01054849848151207,
0.18268586695194244,
0.012299180030822754,
0.27082157135009766,
0.4926608204841614,
-0.024404209107160568,
0.10870391130447388,
0.2930372357368469,
0.04519253224134445,
0.32400423288345337,
0.3170076906681061,
0.1198294460773468,
-0.2586807906627655,
-0.20576585829257965,
-0.09419113397598267,
0.643633246421814,
-0.49214446544647217,
-0.04988124221563339,
0.4241391122341156,
0.1946081668138504,
0.012439316138625145,
0.20740947127342224,
-0.41642433404922485,
0.3545646667480469,
-0.05758528783917427,
-0.16403664648532867,
0.24402280151844025,
0.09500245749950409,
0.0967060998082161,
-0.4565792381763458,
0.06338021159172058,
-0.20029880106449127,
0.19105640053749084,
0.09710842370986938,
0.10622335225343704,
0.18947619199752808,
0.07656091451644897,
0.43555426597595215,
-0.25033971667289734,
0.08172731846570969,
0.06454581022262573,
0.1668633371591568,
-0.1161220520734787,
0.12163583934307098,
0.23414161801338196,
0.3504844009876251,
-0.07503889501094818,
-0.1325809359550476,
0.24003952741622925,
-0.16122408211231232,
-0.23006115853786469,
-0.2831549048423767,
-0.13419140875339508,
-0.3589031398296356,
-0.22016963362693787,
0.2403053641319275,
0.33208930492401123,
-0.16327433288097382,
0.17762988805770874,
-0.2623320519924164,
-0.013272691518068314,
-0.09434156864881516,
0.18448619544506073,
0.0534716434776783,
0.12856128811836243,
-0.17102329432964325,
-0.050123829394578934,
-0.10421977937221527,
0.12313821911811829,
-0.041062600910663605,
-0.08193103224039078,
-0.2924676537513733,
0.4477171301841736,
0.0321195013821125,
0.26764166355133057,
0.14902228116989136,
0.1429973989725113,
0.29027262330055237,
-0.28553274273872375,
0.21056845784187317,
0.375117689371109,
0.03092329204082489,
0.18452048301696777,
-0.09241487830877304,
0.401914119720459,
-0.021445058286190033,
-0.11214374750852585,
0.15041479468345642,
-0.029216241091489792,
0.29817280173301697,
-0.17875665426254272,
-0.5348676443099976,
-0.2950988709926605,
0.06261572241783142,
0.1383490413427353,
0.1867925524711609,
0.1383875608444214,
-0.11493884027004242,
-0.28333091735839844,
0.7013999819755554,
-0.2666362226009369,
-0.0930250808596611,
0.17976507544517517,
-0.04510314017534256,
0.199782133102417,
0.0887482613325119,
-0.05981365218758583,
0.2038511335849762,
0.2298748940229416,
0.16068525612354279,
0.2344880849123001,
0.27467599511146545,
-0.28364992141723633,
0.21401599049568176,
0.17941787838935852,
-0.04326188936829567,
0.10400712490081787,
0.1719846874475479,
0.15933263301849365,
-0.5406357049942017,
-0.1544090360403061,
-0.1934092938899994,
-0.0806005597114563,
-0.14028103649616241,
0.18202583491802216,
-0.3147870600223541,
0.02029147744178772,
-0.47113552689552307,
0.22586658596992493,
-0.10787785053253174,
-0.2994012236595154,
0.17983591556549072,
-0.36219343543052673,
-0.21578453481197357,
0.465437650680542,
0.10595977306365967,
0.214716374874115,
0.0518905371427536,
-0.13688871264457703,
-0.14147764444351196,
0.06768441200256348,
-0.25818002223968506,
0.16019292175769806,
0.3758114278316498,
-0.21674367785453796,
-0.030071010813117027,
-0.35355517268180847,
0.10397358983755112,
-0.4426034688949585,
-0.3497770130634308,
0.08253727108240128,
0.07000895589590073,
-0.1130811870098114,
-0.13399896025657654,
-0.10294444859027863,
-0.170834481716156,
-0.32639381289482117,
0.11402391642332077,
-0.0292348712682724,
-0.0571247935295105,
0.33403414487838745,
-0.13741232454776764,
-0.033160723745822906,
-0.05323829501867294,
-0.1986030638217926,
-0.11193843930959702,
-0.5134250521659851,
-0.11924472451210022,
0.07003936171531677,
0.051596175879240036,
0.017964808270335197,
-0.11858054250478745,
-0.13849343359470367,
0.09827321022748947,
-0.05559926480054855,
-0.012746047228574753,
-0.3705343008041382,
0.3615131974220276,
-0.2761116921901703,
-0.3304417133331299,
0.141053706407547,
-0.10927008092403412,
0.17488539218902588,
0.16835664212703705,
-0.2941790521144867,
-0.12119320034980774,
-0.11615724861621857,
-0.11361074447631836,
-0.1076294332742691,
0.10176549106836319,
0.11841631680727005,
0.23389944434165955,
-0.20132984220981598,
-0.1354496330022812,
0.08522923290729523,
-0.07925965636968613,
-0.004972543567419052,
0.22980278730392456,
-0.05007507652044296,
0.1661471426486969,
0.28079795837402344,
0.13663680851459503,
0.3043622672557831,
0.05049530789256096,
0.4214116334915161,
-0.02405477873980999,
0.4102259874343872,
-0.0025934800505638123,
0.08857310563325882,
0.3209047317504883,
0.01663215458393097,
-0.04057388752698898,
0.4459994435310364,
-0.14023181796073914,
-0.06864378601312637,
-0.1397961974143982,
0.03151259943842888,
-0.4522229731082916,
-0.42329171299934387,
0.38126564025878906,
-0.5958789587020874,
0.2938222289085388,
0.0616275854408741,
0.13126474618911743,
0.026200227439403534,
0.03855506330728531,
0.35688868165016174,
0.2972233295440674,
0.20279303193092346,
-0.0018205910455435514,
0.04088512435555458,
0.08515506982803345,
-0.07867113500833511,
0.39470982551574707,
-0.08346754312515259,
0.4423200786113739,
-0.03823181986808777,
-0.14559471607208252,
0.06010645627975464,
-0.03401679918169975,
0.23810619115829468,
-0.29249611496925354,
-0.3082347512245178,
0.0890730619430542,
0.0224466472864151,
-0.3288913667201996,
-0.11496467888355255,
-0.2955887019634247,
-0.20367084443569183,
-0.1864292025566101,
0.38721799850463867,
-0.046578120440244675,
-0.1404716819524765,
0.07975877821445465,
0.14692288637161255,
-0.2281620353460312,
0.11106549948453903,
-0.344627320766449,
-0.471890926361084,
-0.23799428343772888,
0.020043358206748962,
0.03807540982961655,
0.0774889588356018,
-0.04772556573152542,
-0.028902851045131683,
-0.06902714818716049,
-0.011256955564022064,
0.3979102373123169,
-0.05873949080705643,
0.13602539896965027,
0.10266421735286713,
-0.31657612323760986,
-0.16706225275993347,
0.047234177589416504,
-0.15673042833805084,
0.25488901138305664,
-0.0641491562128067,
-0.22861391305923462,
-0.12077056616544724,
-0.12448101490736008,
0.15658719837665558,
0.3950630724430084,
0.11775241792201996,
-0.19569748640060425,
0.06621889770030975,
0.11684437841176987,
-0.12104906886816025,
0.04755578562617302,
0.20627371966838837,
0.39348936080932617,
-0.3333866596221924,
-0.3753780424594879,
0.023400750011205673,
-0.07568633556365967,
-0.09839262813329697,
0.13858191668987274,
0.12817613780498505,
-0.14412987232208252,
0.8485706448554993,
0.21953532099723816,
0.9926247596740723,
-0.05042461305856705,
0.10290214419364929,
0.21530568599700928,
-0.033930204808712006,
0.0433928482234478,
-0.5303090810775757,
-0.009340820834040642,
-0.06765758991241455,
-0.4450056850910187,
0.0033554192632436752,
0.12526187300682068,
0.6248615980148315,
0.16930323839187622,
-0.5641735792160034,
0.218553364276886,
0.09762495756149292,
0.009326115250587463,
0.4159363806247711,
0.08315107226371765,
-0.6930763721466064,
-0.2939662039279938,
-0.3821837306022644,
0.18179766833782196,
-0.10115475952625275,
0.15950271487236023,
0.04678831622004509,
-0.2795448899269104,
0.08244486153125763,
-0.16591472923755646,
-0.09489547461271286,
0.14167091250419617,
-0.3429928421974182,
-0.0604311004281044,
-0.29413214325904846,
-0.26137930154800415,
0.013210222125053406,
0.2854556441307068,
0.543351948261261,
0.17348118126392365,
0.2218247354030609,
0.42398568987846375,
0.21501269936561584,
0.2585752010345459,
0.10024474561214447,
-0.024858996272087097,
0.5035218596458435,
-0.2246677279472351,
-0.26188820600509644,
0.253063827753067,
0.0327950194478035,
-0.026993075385689735,
-0.09512069821357727,
-0.04856555908918381,
0.27776122093200684,
-0.0896344855427742,
-0.008373523131012917,
-0.06394247710704803,
-0.41431373357772827,
-0.12745235860347748,
0.23002704977989197,
-0.3848463296890259,
-0.29433003067970276,
0.35475438833236694,
0.1294577568769455,
-0.30986499786376953,
-0.020813293755054474,
0.06723052263259888,
0.07482974231243134,
-0.2757513225078583,
0.3427211046218872,
-0.13589829206466675,
-0.1346512734889984,
-0.26257559657096863,
0.15252920985221863,
0.1148155927658081,
-0.13021226227283478,
-0.08496412634849548,
-0.4222410321235657,
0.11589397490024567,
-0.04536019638180733,
0.1079738512635231,
0.13390925526618958,
0.2832285165786743,
-0.14372216165065765,
-0.3254052400588989,
-0.12213508784770966,
0.16193071007728577,
0.0715363398194313,
-0.10444976389408112,
-0.06276851147413254,
0.2898954153060913,
-0.09025616198778152,
-0.05638265609741211,
-0.4231970012187958,
-0.03637707978487015,
-0.12823554873466492,
0.07770837843418121,
0.20542632043361664,
-0.07825980335474014,
0.0668756440281868,
0.13948184251785278,
0.20653511583805084,
0.14058245718479156,
-0.06908212602138519,
-0.2354830801486969,
-0.10598303377628326,
0.09948119521141052,
0.050930142402648926,
0.0013188936281949282,
0.35032761096954346,
0.21912169456481934,
0.10844546556472778,
-0.2593136131763458,
0.01454152911901474,
0.016224972903728485,
-0.2005348950624466,
0.2131279557943344,
-0.06352946162223816,
0.06713669002056122,
0.12946344912052155,
-0.42457011342048645,
0.006373785436153412,
0.5167118906974792,
0.20094530284404755,
0.0592460110783577,
0.17798149585723877,
-0.19477680325508118,
-0.087100550532341,
0.04356078431010246,
0.005196236073970795,
0.35221049189567566,
0.28008344769477844,
-0.015858374536037445,
0.009039599448442459,
0.03630177676677704,
0.27229636907577515,
-0.04861373454332352,
-0.3015669286251068,
-0.14729268848896027,
0.0897311270236969,
0.2721477746963501,
-0.318943589925766,
0.12846308946609497,
0.0443500280380249,
-0.16682907938957214,
-0.011666256934404373,
0.21915856003761292,
0.1453728973865509,
-0.18277379870414734,
-0.05365636944770813,
-0.003283897414803505,
0.1479431688785553,
-0.28065335750579834,
0.2946849763393402,
0.19146117568016052,
-0.08212003111839294,
0.05154013633728027,
-0.09192459285259247,
-0.13136781752109528,
0.04254581779241562,
0.2608255445957184,
-0.3442781865596771,
0.6398617625236511,
0.17187362909317017,
0.2155192792415619,
-0.1647447943687439,
-0.3978465795516968,
0.30392560362815857,
0.005806177854537964,
0.06903392821550369,
0.2981049716472626,
0.3009842038154602,
-0.14026761054992676,
0.10925263166427612,
-0.11826979368925095,
0.0881093442440033,
0.2548779845237732,
0.1536879539489746,
0.03646786883473396,
-0.05290486291050911,
-0.10115622729063034,
-0.5011545419692993,
0.08645549416542053,
0.09321250021457672,
-0.0027683451771736145,
0.19996246695518494,
0.40809744596481323,
-0.03519447147846222,
0.009131466038525105,
-0.052843980491161346,
-0.22461459040641785,
0.2824925482273102,
-0.3365393877029419,
0.39753735065460205,
0.4241146445274353,
-0.06954602897167206,
0.23596520721912384,
0.09843257069587708,
0.35114777088165283,
0.10647811740636826,
0.03476286679506302,
0.3405633568763733,
-0.31848791241645813,
-0.024547480046749115,
0.005362510681152344,
0.04143309220671654,
0.2658606171607971,
0.06131279096007347,
0.02518612891435623,
0.27731025218963623,
-0.2357255071401596,
-0.09377871453762054,
-0.011908482760190964,
-0.14579620957374573,
-0.2546508312225342,
0.34057867527008057,
0.3003003001213074,
0.010597780346870422,
-0.511345386505127,
-0.13239583373069763,
-0.6044507622718811,
-0.24988041818141937,
0.02657485008239746,
0.05225106701254845,
0.08024363964796066,
-0.11388228088617325,
0.14084678888320923,
0.2676078677177429,
-0.012073848396539688,
0.2221582531929016,
0.02440309152007103,
-0.05550415813922882,
-0.48843735456466675,
-0.3980242908000946,
0.1252068728208542,
0.3068232238292694,
-0.02791372500360012,
-0.04839332029223442,
-0.07613295316696167,
0.4359979033470154,
-0.08313602209091187,
0.030869469046592712,
0.08420229703187943,
-0.04691663011908531,
-0.05338721722364426,
-0.3402886390686035,
0.02071269229054451,
0.22520360350608826,
0.21413780748844147,
-0.3163973093032837,
-0.20642533898353577,
0.19225497543811798,
-0.06556922197341919,
0.26315751671791077,
0.031067026779055595,
-0.23822249472141266,
0.11447243392467499,
-0.25954461097717285,
0.3144974410533905,
0.3630658686161041,
0.15505748987197876,
-0.41257113218307495,
-0.07391366362571716,
0.049280647188425064,
-0.16542589664459229,
-0.14766645431518555,
0.3158043622970581,
-0.034888576716184616,
0.32603752613067627,
0.1666061133146286,
-0.3539360463619232,
-0.3271631598472595,
0.30835339426994324,
-0.12131983786821365,
-0.13725942373275757,
-0.1971581131219864,
0.15781797468662262,
0.12872058153152466,
-0.03583531454205513,
0.10562950372695923,
0.32750773429870605,
-0.034763842821121216,
0.040964916348457336,
-0.3562411665916443,
-0.31948134303092957,
0.47832122445106506,
-0.5262664556503296,
-0.4458833932876587,
0.19650770723819733,
0.2903834581375122,
-0.228451669216156,
0.09788545966148376,
-0.24349921941757202,
0.1072145476937294,
0.06900276988744736,
-0.021698758006095886,
-0.1347167193889618,
0.2083227038383484,
-0.049948133528232574,
0.04692516103386879,
-0.09170553833246231,
-0.10152505338191986,
0.098600834608078,
-0.21808910369873047,
-0.1953919231891632,
-0.2991710901260376
] |
https://github.com/huggingface/datasets/pull/481 | Apply utf-8 encoding to all datasets | Good catch @lhoestq! Your suggestion to match on `open(...)` with a whitespace was a great idea - it allowed me to simplify the regexp considerably 😄.
I fixed the Apache Beam false positives and also caught a few problems in `json.load()`, e.g.
```python
relation_name_map = json.load(open(rel_info), encoding='utf-8')
```
I've tested that the new regexp doesn't reintroduce these false positives, so I think the PR is ready for another review. | ## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all instances where a non-binary file is opened."""
with open(filepath, 'r', encoding='utf-8') as input_file:
regexp = re.compile(r"(?!.*\b(?:encoding|rb|w|wb|w+|wb+|ab|ab+)\b)(?<=\s)(open)\((.*)\)")
input_text = input_file.read()
match = regexp.search(input_text)
if match:
output = regexp.sub(lambda m: m.group()[:-1]+', encoding="utf-8")', input_text)
with open(filepath, 'w', encoding='utf-8') as output_file:
output_file.write(output)
```
to perform the replacement.
Note:
1. I excluded all _**binary files**_ from the search since it's possible some objects are opened for which the encoding doesn't make sense. Please correct me if I'm wrong and I'll tweak the regexp accordingly
2. There were two edge cases where the regexp failed (e.g. two `open` instances on a single line), but I decided to just fix these manually in the interest of time.
3. I only applied the replacement to files in `datasets/`. Let me know if this should be extended to other places like `metrics/`
4. I have implemented a unit test that should catch missing encodings in future CI runs
Closes #468 and possibly #347 | 69 | text: Apply utf-8 encoding to all datasets
## Description
This PR applies utf-8 encoding for all instances of `with open(...) as f` to all Python files in `datasets/`. As suggested by @thomwolf in #468 , we use regular expressions and the following function
```python
def apply_encoding_on_file_open(filepath: str):
"""Apply UTF-8 encoding for all instances where a non-binary file is opened."""
with open(filepath, 'r', encoding='utf-8') as input_file:
regexp = re.compile(r"(?!.*\b(?:encoding|rb|w|wb|w+|wb+|ab|ab+)\b)(?<=\s)(open)\((.*)\)")
input_text = input_file.read()
match = regexp.search(input_text)
if match:
output = regexp.sub(lambda m: m.group()[:-1]+', encoding="utf-8")', input_text)
with open(filepath, 'w', encoding='utf-8') as output_file:
output_file.write(output)
```
to perform the replacement.
Note:
1. I excluded all _**binary files**_ from the search since it's possible some objects are opened for which the encoding doesn't make sense. Please correct me if I'm wrong and I'll tweak the regexp accordingly
2. There were two edge cases where the regexp failed (e.g. two `open` instances on a single line), but I decided to just fix these manually in the interest of time.
3. I only applied the replacement to files in `datasets/`. Let me know if this should be extended to other places like `metrics/`
4. I have implemented a unit test that should catch missing encodings in future CI runs
Closes #468 and possibly #347
Good catch @lhoestq! Your suggestion to match on `open(...)` with a whitespace was a great idea - it allowed me to simplify the regexp considerably 😄.
I fixed the Apache Beam false positives and also caught a few problems in `json.load()`, e.g.
```python
relation_name_map = json.load(open(rel_info), encoding='utf-8')
```
I've tested that the new regexp doesn't reintroduce these false positives, so I think the PR is ready for another review. | [
-0.07384653389453888,
0.33659112453460693,
-0.12973585724830627,
-0.2212700992822647,
0.4377517104148865,
-0.012595798820257187,
0.34631142020225525,
0.4744316637516022,
0.07604816555976868,
0.24120253324508667,
-0.12734802067279816,
-0.008871550671756268,
-0.011821013875305653,
-0.05278567969799042,
0.03169936314225197,
-0.05871233344078064,
0.10060323029756546,
0.20297597348690033,
0.3190332055091858,
-0.2773454785346985,
-0.3532664179801941,
0.10873560607433319,
-0.03453817591071129,
0.1037779450416565,
-0.11794476211071014,
-0.0931592583656311,
-0.03329979628324509,
0.21687757968902588,
-0.24207858741283417,
-0.3524363040924072,
-0.0993112325668335,
0.08046096563339233,
0.00474867969751358,
0.39301663637161255,
-0.00009995445725508034,
-0.011155758053064346,
-0.003122631460428238,
-0.007437950000166893,
-0.23632244765758514,
-0.0944782942533493,
-0.06829902529716492,
-0.10872600227594376,
-0.17904125154018402,
-0.2096826136112213,
0.13155049085617065,
-0.22162938117980957,
0.15450814366340637,
-0.6193217635154724,
0.11882422864437103,
0.39133864641189575,
0.28549924492836,
0.08452358096837997,
-0.16570016741752625,
0.07924018800258636,
-0.17452335357666016,
-0.07926540076732635,
0.14844170212745667,
0.0002771783620119095,
0.0939299538731575,
0.14429327845573425,
-0.17039939761161804,
0.23110215365886688,
-0.28650641441345215,
-0.25001102685928345,
-0.37115681171417236,
0.10556819289922714,
0.08166942000389099,
-0.3036395013332367,
0.07281562685966492,
-0.02846195548772812,
0.015260189771652222,
-0.28977033495903015,
-0.44991594552993774,
0.21803677082061768,
-0.060903243720531464,
-0.5388156175613403,
0.116263747215271,
0.30291512608528137,
-0.08076232671737671,
0.19114702939987183,
-0.18198134005069733,
-0.08261410892009735,
-0.06504780799150467,
-0.05704985558986664,
-0.22927679121494293,
0.320829838514328,
0.10211816430091858,
-0.1711956262588501,
0.09530678391456604,
-0.07267086952924728,
-0.09066670387983322,
-0.19760450720787048,
-0.05989939346909523,
-0.03628389537334442,
-0.006404947489500046,
-0.07966823875904083,
-0.01603686809539795,
0.16431251168251038,
0.27268433570861816,
0.19304849207401276,
-0.032980628311634064,
0.326943963766098,
-0.24995547533035278,
0.25408467650413513,
-0.2286340892314911,
0.276461660861969,
-0.09003549069166183,
0.2880837023258209,
0.27741771936416626,
0.14099664986133575,
-0.2370840162038803,
0.06317870318889618,
0.05214379355311394,
-0.3834664821624756,
0.07144688069820404,
0.1216772198677063,
0.21210983395576477,
-0.07141941785812378,
-0.35778602957725525,
0.36604198813438416,
0.03150239586830139,
-0.25866371393203735,
-0.21390242874622345,
0.18951913714408875,
0.040027957409620285,
0.2780318260192871,
0.20783551037311554,
0.19845980405807495,
-0.30984368920326233,
-0.01661738008260727,
-0.2482442408800125,
0.12976938486099243,
-0.2850911021232605,
-0.024725129827857018,
-0.08810072392225266,
0.03900522738695145,
0.09587523341178894,
0.0830262303352356,
0.3583187460899353,
-0.1382480263710022,
0.038363829255104065,
-0.004271411336958408,
0.2907930016517639,
0.03020212985575199,
0.09054496884346008,
-0.08708467334508896,
0.291881799697876,
-0.7778379321098328,
-0.09883390367031097,
0.2345767617225647,
-0.017513863742351532,
0.0829489678144455,
-0.46532756090164185,
0.3726117014884949,
-0.2194390594959259,
-0.32340890169143677,
0.2557094097137451,
0.0657012015581131,
-0.13927793502807617,
-0.125654399394989,
0.15084321796894073,
-0.0010223202407360077,
0.13742133975028992,
0.05279183387756348,
0.29201650619506836,
0.4459424614906311,
-0.11892804503440857,
0.13457100093364716,
0.2690121531486511,
0.09849558770656586,
0.481916606426239,
0.35436511039733887,
0.15635110437870026,
-0.27051159739494324,
-0.18211863934993744,
-0.0028013139963150024,
0.5847368240356445,
-0.3755967319011688,
-0.06550697982311249,
0.3921581506729126,
0.06189894676208496,
0.07011723518371582,
0.20403748750686646,
-0.38141390681266785,
0.2957111597061157,
-0.034026239067316055,
0.02886958420276642,
0.21890923380851746,
0.04131225496530533,
0.030748089775443077,
-0.3312600255012512,
-0.014142577536404133,
-0.08942022919654846,
0.18171212077140808,
0.12384361028671265,
0.02009948343038559,
0.07890765368938446,
0.01079851109534502,
0.43105348944664,
-0.21710535883903503,
-0.0511648952960968,
-0.06789448112249374,
0.40480366349220276,
-0.022071659564971924,
-0.025076784193515778,
0.05892214924097061,
0.31531307101249695,
-0.10218708962202072,
0.11642768979072571,
0.1410674750804901,
-0.2068883627653122,
-0.3133035898208618,
-0.19139331579208374,
-0.07506662607192993,
-0.331161767244339,
-0.13539274036884308,
0.28785985708236694,
0.34159591794013977,
-0.05893357843160629,
0.17665521800518036,
-0.2842105031013489,
-0.19818009436130524,
-0.07076329737901688,
0.12767314910888672,
0.19697217643260956,
0.08796524256467819,
-0.15832015872001648,
-0.02777022495865822,
-0.15286774933338165,
0.19191688299179077,
-0.17782121896743774,
0.005102537572383881,
-0.15078836679458618,
0.3049917221069336,
0.08484183996915817,
0.23180896043777466,
0.22205239534378052,
0.27307531237602234,
0.23207205533981323,
-0.2282652109861374,
0.16884934902191162,
0.4626621603965759,
0.07838434725999832,
0.18582934141159058,
-0.24139851331710815,
0.4941859245300293,
-0.02542448416352272,
-0.18507510423660278,
0.19095760583877563,
-0.10664692521095276,
0.2872735857963562,
-0.20406024158000946,
-0.4239177405834198,
-0.32406777143478394,
-0.0389317087829113,
0.025536105036735535,
0.19293098151683807,
0.21448543667793274,
-0.3360135853290558,
-0.20961090922355652,
0.7071218490600586,
-0.2521311044692993,
0.0003188103437423706,
0.22457239031791687,
0.09573843330144882,
0.08943086862564087,
-0.12228292226791382,
0.014788422733545303,
0.2284553349018097,
0.22039346396923065,
0.303943008184433,
0.2051873356103897,
0.21848410367965698,
-0.29740872979164124,
0.26317185163497925,
0.15447035431861877,
-0.19358980655670166,
0.22195133566856384,
0.15354152023792267,
0.23252324759960175,
-0.5236053466796875,
-0.2665492296218872,
-0.17187315225601196,
-0.04144778847694397,
-0.12370333075523376,
0.15229564905166626,
-0.2975233793258667,
0.13972681760787964,
-0.26394015550613403,
-0.019825302064418793,
0.06609410792589188,
-0.21744519472122192,
0.13235679268836975,
-0.3539067804813385,
-0.19230332970619202,
0.3859022855758667,
-0.20996913313865662,
0.17862942814826965,
-0.056675758212804794,
-0.17102675139904022,
-0.012392614036798477,
0.04834776371717453,
-0.2009308636188507,
0.20547930896282196,
0.4501383602619171,
-0.32786911725997925,
0.04131399095058441,
-0.36007678508758545,
0.03624064847826958,
-0.3630882799625397,
-0.48602116107940674,
-0.0327649861574173,
0.015606112778186798,
0.006573943421244621,
-0.06161428987979889,
-0.14010342955589294,
-0.23798945546150208,
-0.46131670475006104,
0.07499818503856659,
-0.011131279170513153,
-0.027195921167731285,
0.21294067800045013,
-0.1535777747631073,
-0.13463586568832397,
-0.07532180845737457,
-0.15356603264808655,
-0.1525217443704605,
-0.4281948208808899,
0.11442624032497406,
-0.01037362590432167,
0.05181323364377022,
0.10462489724159241,
-0.16521325707435608,
-0.00670285290107131,
0.012884488329291344,
0.00943305715918541,
-0.13408051431179047,
-0.4307996928691864,
0.2612681984901428,
-0.09895153343677521,
-0.1724769026041031,
0.14666856825351715,
-0.08540676534175873,
0.12158416211605072,
0.04589749872684479,
-0.33199286460876465,
-0.20318159461021423,
-0.1559477150440216,
0.01865321397781372,
-0.03505958616733551,
0.09685084968805313,
0.08350734412670135,
0.32839953899383545,
-0.2491275519132614,
-0.10354872792959213,
-0.028612978756427765,
-0.04452668875455856,
0.04319996014237404,
-0.016350068151950836,
-0.15450042486190796,
0.2243921160697937,
0.2969644069671631,
-0.08880122005939484,
0.32156217098236084,
-0.04149550572037697,
0.2132016271352768,
-0.02308485098183155,
0.3863896131515503,
0.03907005116343498,
0.0064100101590156555,
0.3143295645713806,
-0.007946714758872986,
-0.2037995457649231,
0.5305500626564026,
-0.2043275535106659,
-0.2604469656944275,
-0.0676032304763794,
0.005473509430885315,
-0.4241809546947479,
-0.3504369556903839,
0.35064268112182617,
-0.3765111267566681,
0.2642056345939636,
0.003996593877673149,
-0.025942746549844742,
-0.061140865087509155,
0.10115056484937668,
0.17512568831443787,
0.3357759714126587,
0.34242182970046997,
-0.022551290690898895,
-0.18308839201927185,
0.0079827681183815,
0.0607951283454895,
0.2801100015640259,
0.05056033283472061,
0.3991134464740753,
-0.051088958978652954,
-0.12203880399465561,
-0.04135711491107941,
-0.03418637812137604,
0.09916195273399353,
-0.14696291089057922,
-0.27473437786102295,
0.12870103120803833,
-0.11238370090723038,
-0.07557734847068787,
-0.0582408681511879,
-0.3221879303455353,
0.03015134111046791,
-0.14062155783176422,
0.507481575012207,
-0.08614944666624069,
-0.15637041628360748,
0.16019001603126526,
0.16837409138679504,
-0.12663760781288147,
0.12086639553308487,
-0.25153103470802307,
-0.5142321586608887,
-0.17898201942443848,
0.2297254502773285,
0.15792757272720337,
0.044299572706222534,
-0.04157201945781708,
-0.06468387693166733,
-0.1281631737947464,
0.0704210177063942,
0.5531203746795654,
-0.05575456842780113,
0.12180685997009277,
0.17162375152111053,
-0.12798050045967102,
-0.13686245679855347,
-0.11621613800525665,
-0.007741905748844147,
0.3527471721172333,
-0.2276298701763153,
-0.2782992422580719,
-0.1608307659626007,
-0.02834995836019516,
0.2689221501350403,
0.4153219759464264,
0.12082180380821228,
-0.22027206420898438,
0.14324477314949036,
0.11208455264568329,
-0.15612146258354187,
-0.023152658715844154,
0.25135746598243713,
0.4896397590637207,
-0.30349159240722656,
-0.4023745357990265,
-0.0663820281624794,
-0.05537095293402672,
-0.013024255633354187,
0.14388418197631836,
0.11874152719974518,
-0.15368445217609406,
0.5598121285438538,
0.20630395412445068,
0.969885528087616,
0.09439723193645477,
0.15180937945842743,
0.198650062084198,
-0.021148845553398132,
-0.13931864500045776,
-0.1005823016166687,
0.03821783512830734,
-0.02397211268544197,
-0.4899265468120575,
0.0021389685571193695,
0.049033861607313156,
0.44118672609329224,
0.1344054937362671,
-0.634091854095459,
0.12272841483354568,
-0.03406137228012085,
-0.16781744360923767,
0.539011538028717,
0.05813157558441162,
-0.593014121055603,
-0.26347997784614563,
-0.38880017399787903,
0.21364840865135193,
0.06845641136169434,
-0.0005766302347183228,
0.01355154998600483,
-0.24503196775913239,
0.1078663170337677,
-0.059793055057525635,
-0.0983998253941536,
0.07364679127931595,
-0.42633047699928284,
-0.08548448234796524,
-0.2077028602361679,
-0.18413010239601135,
-0.003983831033110619,
0.2887679934501648,
0.5246719717979431,
0.2778860926628113,
0.2638022303581238,
0.2670534551143646,
0.21229222416877747,
0.2673232853412628,
0.15687383711338043,
-0.03726617619395256,
0.4979347288608551,
-0.1772109568119049,
-0.24127230048179626,
0.11337845027446747,
0.04708302766084671,
0.002247542142868042,
-0.11065610498189926,
-0.019760072231292725,
0.011253762990236282,
-0.08729564398527145,
-0.23313020169734955,
-0.13514529168605804,
-0.4270295798778534,
-0.15833713114261627,
0.2593006193637848,
-0.19019360840320587,
-0.3027532994747162,
0.4346455931663513,
0.1438802033662796,
-0.34726396203041077,
0.038001276552677155,
-0.0012459084391593933,
0.03514868766069412,
-0.08290432393550873,
0.3436431586742401,
-0.21334268152713776,
-0.20948408544063568,
-0.26212891936302185,
-0.0012372732162475586,
-0.04334855452179909,
0.06510189920663834,
0.015036587603390217,
-0.3503377437591553,
0.10326988995075226,
-0.05838964879512787,
0.09099389612674713,
0.20174631476402283,
0.2215149998664856,
-0.06808418035507202,
-0.38871946930885315,
-0.11232347786426544,
0.14848649501800537,
0.051479533314704895,
-0.005707301199436188,
0.01756277307868004,
0.32083097100257874,
-0.1558627337217331,
-0.08029906451702118,
-0.4795325994491577,
0.1583997905254364,
-0.26337534189224243,
0.028495147824287415,
0.08686570078134537,
-0.16398435831069946,
0.14768975973129272,
0.058465566486120224,
0.2792656421661377,
0.13715985417366028,
0.03663921356201172,
-0.3129570186138153,
-0.09944455325603485,
0.07676447182893753,
-0.024689283221960068,
-0.020632976666092873,
0.4646202623844147,
0.27771472930908203,
0.0310925655066967,
-0.1737152636051178,
-0.0037531889975070953,
0.09979233890771866,
-0.15590721368789673,
0.20082908868789673,
-0.11752815544605255,
-0.009449705481529236,
0.15234160423278809,
-0.4168550372123718,
-0.005092337727546692,
0.45903480052948,
0.18842846155166626,
0.11537563800811768,
0.06005699932575226,
-0.15269812941551208,
0.17909112572669983,
0.0690726637840271,
-0.008539505302906036,
0.38473403453826904,
0.3456292450428009,
-0.031809039413928986,
0.02535438910126686,
0.19638189673423767,
0.2318684160709381,
0.11564717441797256,
-0.26463964581489563,
-0.0092056505382061,
0.10246241837739944,
0.33502691984176636,
-0.31059712171554565,
0.06682273745536804,
0.06943827867507935,
-0.17431673407554626,
0.0785990059375763,
0.22463107109069824,
0.1712220311164856,
-0.17672625184059143,
-0.08671146631240845,
0.014808289706707,
0.2170088291168213,
-0.25930291414260864,
0.27053946256637573,
0.23464526236057281,
-0.18309906125068665,
0.033200494945049286,
-0.07078953832387924,
0.07242439687252045,
0.056211039423942566,
0.09226131439208984,
-0.2421281337738037,
0.4665423035621643,
0.09848372638225555,
0.16724814474582672,
-0.18669965863227844,
-0.40663665533065796,
0.21921901404857635,
-0.08483245968818665,
0.007722035050392151,
0.28380459547042847,
0.20392100512981415,
-0.11146137863397598,
-0.0653362050652504,
0.10252044349908829,
0.15991279482841492,
0.22589458525180817,
0.07915765047073364,
-0.08988811075687408,
0.12430641055107117,
-0.11927526444196701,
-0.43461742997169495,
0.02137640491127968,
0.05905697122216225,
0.05369851738214493,
0.12084547430276871,
0.24209889769554138,
0.03502754494547844,
0.09389038383960724,
-0.11738412827253342,
-0.1748066544532776,
0.2527056932449341,
-0.4089040756225586,
0.36360955238342285,
0.5166370868682861,
-0.07414901256561279,
0.15465274453163147,
0.27500051259994507,
0.4876116216182709,
0.07046003639698029,
-0.024170350283384323,
0.30003780126571655,
-0.4146057069301605,
-0.06017459183931351,
-0.06952450424432755,
0.06213138625025749,
0.28455305099487305,
0.01684155873954296,
0.029966875910758972,
0.3236478567123413,
-0.24152815341949463,
0.0994056835770607,
0.005648717284202576,
-0.22792498767375946,
-0.183579683303833,
0.310092568397522,
0.4262858033180237,
-0.014471892267465591,
-0.4241054654121399,
-0.12389830499887466,
-0.47018516063690186,
-0.2721332013607025,
0.23482705652713776,
0.015288589522242546,
0.10862715542316437,
0.022307544946670532,
0.17079591751098633,
0.39017239212989807,
-0.06879974901676178,
0.2548009753227234,
0.009356450289487839,
-0.01715853065252304,
-0.3387475311756134,
-0.41850900650024414,
0.14018213748931885,
0.3242785632610321,
-0.05392158031463623,
-0.02336549386382103,
-0.1138937771320343,
0.3512863516807556,
-0.1486889272928238,
-0.07263083755970001,
-0.024228494614362717,
-0.035447850823402405,
-0.05183326452970505,
-0.2936022877693176,
0.0803603082895279,
0.24791498482227325,
0.1420755833387375,
-0.22493204474449158,
-0.21366015076637268,
0.12470012903213501,
-0.12742744386196136,
0.3380749821662903,
-0.0012950282543897629,
-0.045297034084796906,
-0.12292279303073883,
-0.0700293779373169,
0.27322715520858765,
0.3820195496082306,
0.2251691222190857,
-0.4813862144947052,
-0.05502607673406601,
0.10004445910453796,
-0.06543195992708206,
-0.264104425907135,
0.40364331007003784,
-0.07518978416919708,
0.30920296907424927,
0.13308368623256683,
-0.3916257619857788,
-0.22983038425445557,
0.14607496559619904,
-0.029786691069602966,
-0.30227550864219666,
-0.22864876687526703,
0.15542256832122803,
0.16148889064788818,
-0.08355675637722015,
0.1693371832370758,
0.4715442359447479,
-0.04902215301990509,
0.06765516102313995,
-0.21316634118556976,
-0.413047194480896,
0.5054636597633362,
-0.36774253845214844,
-0.4318898022174835,
0.05241306126117706,
0.23968520760536194,
-0.08615139871835709,
0.079990454018116,
-0.19469234347343445,
0.15486875176429749,
0.15564513206481934,
-0.049570128321647644,
-0.3030833601951599,
0.23132944107055664,
-0.06688033044338226,
0.034609075635671616,
-0.09769637882709503,
0.07872084528207779,
0.04754960536956787,
-0.2294055074453354,
-0.22142724692821503,
-0.2556343078613281
] |
https://github.com/huggingface/datasets/pull/480 | Column indexing hotfix | Looks good to me as well but we'll want to add a test indeed.
You can add one if you have time @TevenLeScao.
Otherwise, we'll do it when we are back with Quentin. | As observed for example in #469 , currently `__getitem__` does not convert the data to the dataset format when indexing by column. This is a hotfix that imitates functional 0.3.0. code. In the future it'd probably be nice to have a test there. | 33 | text: Column indexing hotfix
As observed for example in #469 , currently `__getitem__` does not convert the data to the dataset format when indexing by column. This is a hotfix that imitates functional 0.3.0. code. In the future it'd probably be nice to have a test there.
Looks good to me as well but we'll want to add a test indeed.
You can add one if you have time @TevenLeScao.
Otherwise, we'll do it when we are back with Quentin. | [
-0.3405144214630127,
-0.09801739454269409,
-0.18930688500404358,
0.09963615238666534,
0.21070991456508636,
0.08384077996015549,
0.33512282371520996,
0.6121059656143188,
0.11551295220851898,
0.09366650134325027,
-0.11263678222894669,
0.4310463070869446,
-0.013555766083300114,
0.30753305554389954,
-0.024105966091156006,
0.33994239568710327,
0.14583668112754822,
0.34006425738334656,
-0.47164371609687805,
0.09454259276390076,
-0.3784765303134918,
0.3579491376876831,
-0.4498974084854126,
0.07171021401882172,
0.042842067778110504,
0.05339523404836655,
-0.06398800760507584,
0.22237247228622437,
-0.3347221910953522,
-0.19332145154476166,
0.0019646380096673965,
-0.2310156226158142,
-0.24765439331531525,
0.436592698097229,
-0.00009778313688002527,
0.0744612067937851,
0.2798786163330078,
-0.031474173069000244,
-0.09085427224636078,
-0.030337318778038025,
-0.09971195459365845,
-0.10712997615337372,
-0.053667500615119934,
-0.3112783133983612,
-0.33665940165519714,
-0.33548206090927124,
-0.0837974101305008,
-0.05176808312535286,
-0.11036697030067444,
0.24928149580955505,
0.36481815576553345,
0.20262442529201508,
0.042207103222608566,
-0.06783636659383774,
0.39376816153526306,
-0.025055348873138428,
-0.2795993685722351,
-0.15279680490493774,
0.315011203289032,
0.0598195344209671,
-0.17310816049575806,
0.45546475052833557,
0.11852563917636871,
0.13305474817752838,
0.14756439626216888,
0.05959860235452652,
0.03587230294942856,
0.18904851377010345,
0.2545240521430969,
0.2152562439441681,
0.49513089656829834,
0.00019468367099761963,
-0.13617725670337677,
0.014488011598587036,
-0.16324540972709656,
-0.3630366921424866,
0.07488375902175903,
-0.011379841715097427,
-0.005092715844511986,
0.17488156259059906,
0.04454604536294937,
-0.14229294657707214,
0.029075533151626587,
-0.10201689600944519,
-0.30487972497940063,
0.47767123579978943,
-0.3411252498626709,
-0.10422784835100174,
-0.006885413080453873,
-0.38428008556365967,
0.0070451670326292515,
-0.002134319394826889,
-0.11024950444698334,
0.017208348959684372,
-0.0423215813934803,
-0.2506331205368042,
0.1525745987892151,
0.04885738343000412,
0.24435093998908997,
-0.45338451862335205,
-0.005612405948340893,
0.3289232850074768,
-0.02019307389855385,
0.020678870379924774,
0.12281030416488647,
0.12852421402931213,
0.10230354964733124,
0.2332993596792221,
0.2864201068878174,
-0.026018192991614342,
-0.22429154813289642,
-0.12283188849687576,
0.14492271840572357,
0.026619601994752884,
-0.06617458909749985,
0.05281214043498039,
-0.07781235128641129,
-0.35599595308303833,
-0.30227333307266235,
-0.09590298682451248,
0.07359223067760468,
-0.02602989785373211,
0.07093252241611481,
0.47525709867477417,
0.060947272926568985,
-0.03301507979631424,
-0.17116692662239075,
0.2053309828042984,
-0.3019283413887024,
-0.018929554149508476,
-0.30358728766441345,
0.18332788348197937,
-0.12934967875480652,
-0.4024474024772644,
0.05016346648335457,
-0.17238619923591614,
-0.0240652896463871,
-0.005402605049312115,
-0.051581576466560364,
0.06190197169780731,
-0.12334851920604706,
-0.051948897540569305,
0.4880634546279907,
0.12272639572620392,
-0.33796295523643494,
-0.059706687927246094,
0.32618480920791626,
-0.16381895542144775,
-0.19981402158737183,
0.19753599166870117,
-0.2805793285369873,
-0.167612686753273,
-0.10908167064189911,
0.3248370885848999,
0.14301854372024536,
-0.04239218682050705,
0.28765395283699036,
0.31787723302841187,
0.09468704462051392,
-0.19051477313041687,
0.05521991103887558,
-0.08676858991384506,
-0.23540854454040527,
-0.04724431782960892,
-0.00682984571903944,
0.16541597247123718,
-0.5017808079719543,
0.20506849884986877,
0.1670142561197281,
-0.019674651324748993,
0.1238703727722168,
0.050756826996803284,
-0.09763222187757492,
-0.007110066711902618,
-0.26039084792137146,
0.2882874608039856,
0.4163433015346527,
-0.11822743713855743,
-0.15082092583179474,
0.1518823206424713,
-0.19270136952400208,
-0.13081522285938263,
0.08602792024612427,
-0.05650093033909798,
0.12750612199306488,
-0.03436075150966644,
0.1592157632112503,
-0.0948183685541153,
0.032418143004179,
0.08916261792182922,
-0.23565055429935455,
-0.19015738368034363,
0.09857723116874695,
-0.2372817099094391,
-0.002879377454519272,
0.10427918285131454,
0.06342662870883942,
-0.2572839856147766,
0.3308315873146057,
-0.139449343085289,
-0.14054208993911743,
-0.018135234713554382,
0.06532394886016846,
-0.15397140383720398,
0.36782532930374146,
-0.10931288450956345,
-0.23080652952194214,
0.1271645426750183,
0.2864662706851959,
-0.022631414234638214,
-0.18224819004535675,
0.03417978435754776,
-0.2964860200881958,
0.17666508257389069,
-0.042512472718954086,
-0.08939284086227417,
0.3364209830760956,
-0.05453068017959595,
-0.1357690989971161,
-0.1902405470609665,
-0.24208931624889374,
0.38935819268226624,
-0.14874526858329773,
-0.016901051625609398,
-0.30549702048301697,
0.10422421991825104,
-0.04631763696670532,
-0.0908701941370964,
0.03538542240858078,
-0.011213883757591248,
0.14636121690273285,
-0.18460996448993683,
-0.19841504096984863,
0.2699669599533081,
0.31152719259262085,
0.001892082393169403,
0.268660306930542,
0.3975602388381958,
-0.08452529460191727,
-0.07662664353847504,
0.10730165988206863,
0.04175896197557449,
0.1436724215745926,
-0.03886817395687103,
-0.3632625341415405,
0.42728257179260254,
-0.2248631864786148,
0.1821218878030777,
0.029148884117603302,
-0.08480161428451538,
0.3141680955886841,
0.03129279240965843,
-0.03713623434305191,
-0.34203916788101196,
-0.013989496976137161,
0.17072328925132751,
-0.4325622618198395,
0.0017139017581939697,
-0.458286315202713,
0.1935632824897766,
0.33758363127708435,
0.0632360577583313,
0.2351614236831665,
0.042136695235967636,
0.027723893523216248,
-0.24186626076698303,
0.06491002440452576,
-0.06382612138986588,
0.20847010612487793,
0.24315020442008972,
0.29662594199180603,
-0.08571324497461319,
0.24947674572467804,
-0.05082354694604874,
0.2802395522594452,
-0.1433049887418747,
-0.013695545494556427,
0.18867474794387817,
0.22119233012199402,
-0.25429782271385193,
-0.18072250485420227,
0.29136690497398376,
0.21678535640239716,
0.24887873232364655,
-0.4498060941696167,
-0.047371670603752136,
-0.3885417580604553,
-0.09518177062273026,
-0.06914440542459488,
0.05694076418876648,
0.2036886364221573,
-0.4503833055496216,
0.07677564024925232,
0.23197951912879944,
-0.0647980272769928,
0.16610877215862274,
-0.321114182472229,
0.2902039587497711,
0.18932607769966125,
0.051583848893642426,
-0.22592982649803162,
-0.023882528766989708,
-0.1456494927406311,
0.19799530506134033,
0.041914746165275574,
0.3183448314666748,
0.010957645252346992,
-0.11470098048448563,
0.21361728012561798,
-0.28472915291786194,
-0.48103028535842896,
0.401288241147995,
-0.1591043323278427,
0.06192958354949951,
0.32702523469924927,
0.06706100702285767,
-0.2230321168899536,
0.05605041980743408,
0.1271534413099289,
-0.2773056626319885,
-0.3549657464027405,
0.19053016602993011,
0.09930701553821564,
0.08666988462209702,
-0.22662797570228577,
-0.26949629187583923,
0.07222176343202591,
-0.4222293198108673,
0.0801711231470108,
-0.1470571756362915,
0.1220436543226242,
0.0195485707372427,
-0.09799200296401978,
0.1844368278980255,
-0.017813842743635178,
-0.29617437720298767,
-0.39923617243766785,
-0.03211749345064163,
0.3185639977455139,
-0.28668496012687683,
-0.3453521728515625,
-0.1470940262079239,
0.02882547304034233,
-0.17690643668174744,
0.1080179214477539,
-0.21965302526950836,
-0.12795977294445038,
-0.01903330348432064,
0.29376840591430664,
0.18722501397132874,
-0.10436883568763733,
0.19494189321994781,
-0.014611288905143738,
-0.3650166988372803,
-0.3758719563484192,
-0.047537386417388916,
-0.06499571353197098,
0.11077016592025757,
-0.1021365150809288,
0.08647757023572922,
0.08331872522830963,
0.18150581419467926,
0.24794825911521912,
-0.11037673056125641,
-0.02962828055024147,
0.18728859722614288,
-0.21903300285339355,
0.35402172803878784,
-0.2413046956062317,
-0.2925264537334442,
-0.019244596362113953,
-0.025566235184669495,
-0.08427639305591583,
0.4203471541404724,
0.0021085068583488464,
-0.6548363566398621,
-0.02643183432519436,
0.20711000263690948,
-0.21216708421707153,
-0.18985536694526672,
0.2835816740989685,
0.06988245248794556,
-0.03660467267036438,
0.06262269616127014,
0.2411324679851532,
-0.20476511120796204,
-0.13486585021018982,
0.06484231352806091,
-0.16412095725536346,
-0.16377750039100647,
-0.282245397567749,
0.054862599819898605,
-0.025541743263602257,
-0.38117703795433044,
0.43901509046554565,
0.17494837939739227,
0.31486812233924866,
0.0438535176217556,
-0.28159910440444946,
-0.05733218789100647,
-0.3135843873023987,
0.6431520581245422,
-0.2621708810329437,
0.0402238555252552,
0.29312634468078613,
0.05731736123561859,
-0.16835486888885498,
0.04695926979184151,
-0.35206952691078186,
0.20184175670146942,
0.01054987870156765,
0.6614570617675781,
-0.2149772346019745,
-0.30014723539352417,
0.21912066638469696,
-0.22838078439235687,
0.011588577181100845,
-0.07239726930856705,
-0.22475428879261017,
-0.08435168117284775,
-0.008130079135298729,
0.11680860817432404,
0.22567780315876007,
-0.06142255291342735,
0.06091815233230591,
-0.17892874777317047,
0.035595670342445374,
-0.08824480324983597,
0.021288223564624786,
0.10691732168197632,
0.24967724084854126,
0.05468572676181793,
0.1237352192401886,
0.19976791739463806,
-0.001605246216058731,
-0.2239377647638321,
0.2530364692211151,
-0.2363699972629547,
0.0950104296207428,
0.2062457799911499,
-0.21361790597438812,
0.31441858410835266,
0.3065119981765747,
-0.13303831219673157,
0.010818012058734894,
-0.4472971558570862,
-0.015133053064346313,
-0.07197269052267075,
-0.07798122614622116,
0.2939279079437256,
0.14214640855789185,
0.06119352579116821,
-0.3888144791126251,
0.3517565429210663,
-0.08517187833786011,
-0.16491082310676575,
0.3481130003929138,
0.1965416967868805,
-0.07689407467842102,
0.23499906063079834,
0.21605175733566284,
0.8844792246818542,
-0.016726404428482056,
-0.059644367545843124,
0.15014439821243286,
-0.3781876564025879,
0.26800528168678284,
-0.29569894075393677,
0.2251655012369156,
-0.3714747428894043,
-0.4275719225406647,
-0.07328816503286362,
-0.07338617742061615,
0.13880705833435059,
0.060133084654808044,
-0.40488219261169434,
0.20122940838336945,
-0.3009759187698364,
0.13565316796302795,
-0.09628530591726303,
0.029420271515846252,
-0.005796186625957489,
-0.16002118587493896,
-0.1109483391046524,
0.2608676850795746,
0.14062297344207764,
-0.05372453108429909,
0.051859788596630096,
-0.07005045562982559,
-0.10897447913885117,
-0.08746803551912308,
-0.06087753549218178,
0.12143579870462418,
0.00734157906845212,
0.23396088182926178,
0.22657206654548645,
-0.0378253348171711,
-0.14521969854831696,
0.055316586047410965,
0.030369620770215988,
-0.05873321369290352,
-0.14366886019706726,
0.08835131675004959,
0.3999634385108948,
0.41926226019859314,
0.1825486272573471,
0.07779540866613388,
0.2833711802959442,
-0.008917231112718582,
0.07082555443048477,
-0.3458169996738434,
-0.061962906271219254,
-0.11585600674152374,
0.2015676498413086,
0.02391047030687332,
0.030388277024030685,
-0.45401108264923096,
-0.007805662229657173,
0.2651286721229553,
-0.11605814099311829,
-0.11571159958839417,
0.2816206216812134,
-0.0913153737783432,
-0.2511349320411682,
0.360087513923645,
0.23424094915390015,
-0.418945848941803,
-0.016346849501132965,
0.31678566336631775,
0.03965359926223755,
0.41934067010879517,
0.3360134959220886,
0.10224445164203644,
-0.40809184312820435,
-0.3438919186592102,
-0.010356780141592026,
0.6539171934127808,
0.017298541963100433,
-0.004885759204626083,
-0.4421127438545227,
-0.15833361446857452,
0.30881819128990173,
0.3481234908103943,
-0.020620130002498627,
0.144395649433136,
-0.43099579215049744,
-0.1462513953447342,
-0.08151772618293762,
0.23653943836688995,
0.10370621085166931,
0.16933830082416534,
-0.30238792300224304,
-0.12501701712608337,
-0.07310787588357925,
-0.037852317094802856,
-0.4938901364803314,
0.1110047772526741,
-0.07968533039093018,
0.17984728515148163,
0.06472232937812805,
-0.10669412463903427,
0.15290473401546478,
-0.08974173665046692,
0.33501923084259033,
0.42454439401626587,
-0.40453270077705383,
-0.38684260845184326,
0.07816872000694275,
0.08682053536176682,
-0.09121658653020859,
0.06968193501234055,
-0.1681947410106659,
-0.018456868827342987,
-0.4242604672908783,
-0.23934561014175415,
0.0497824065387249,
-0.024679647758603096,
0.023382283747196198,
-0.09592756628990173,
0.3298441171646118,
0.025457635521888733,
0.09147506952285767,
-0.020346790552139282,
0.1793506145477295,
0.10870661586523056,
-0.21846850216388702,
0.01029304787516594,
-0.3507692515850067,
-0.011977463960647583,
0.1685267835855484,
0.33651813864707947,
0.10185316205024719,
0.07115210592746735,
0.42367541790008545,
-0.12171965837478638,
0.15922704339027405,
0.11114057898521423,
0.35361361503601074,
0.24723650515079498,
-0.0072285751812160015,
-0.2601900100708008,
0.158036470413208,
0.33033329248428345,
-0.3560042381286621,
-0.15403571724891663,
-0.033922236412763596,
0.01087141316384077,
0.17673343420028687,
0.27406206727027893,
0.30885159969329834,
0.13359831273555756,
-0.051547035574913025,
-0.07189095765352249,
0.24500156939029694,
-0.26376211643218994,
-0.3138570487499237,
0.24705985188484192,
-0.12333796918392181,
-0.07779741287231445,
0.5366658568382263,
0.14136874675750732,
-0.06061478704214096,
0.5227609872817993,
0.37685102224349976,
0.13307999074459076,
0.43297576904296875,
0.2586100399494171,
0.13364112377166748,
-0.2785877287387848,
0.5017014145851135,
0.5480986833572388,
0.22135749459266663,
0.28806808590888977,
0.12898461520671844,
0.14927884936332703,
-0.2545218765735626,
0.01370404101908207,
-0.1029215082526207,
0.12577937543392181,
-0.2595149278640747,
-0.013340422883629799,
0.19138185679912567,
-0.1870351880788803,
-0.36560529470443726,
-0.2388497143983841,
-0.12190109491348267,
0.32071441411972046,
0.27488231658935547,
-0.06656938791275024,
0.14019593596458435,
0.07980061322450638,
-0.06164693832397461,
-0.2576981782913208,
0.44425907731056213,
-0.3924158811569214,
0.19061700999736786,
-0.14029470086097717,
0.23345947265625,
0.15033911168575287,
0.2760961651802063,
0.2952253520488739,
0.14374491572380066,
-0.12546448409557343,
-0.22119873762130737,
-0.16127686202526093,
-0.34215518832206726,
-0.059243008494377136,
0.25994938611984253,
-0.01833668351173401,
0.13266339898109436,
0.2024265080690384,
0.23611074686050415,
-0.19837357103824615,
0.2762512266635895,
0.1751682162284851,
0.14408767223358154,
0.04082014411687851,
-0.2087758481502533,
0.12373890727758408,
-0.2286212146282196,
-0.09906566143035889,
-0.29878631234169006,
-0.17931009829044342,
-0.015688061714172363,
0.16626164317131042,
-0.35644474625587463,
0.2636575400829315,
0.21790950000286102,
0.18638013303279877,
0.2763492465019226,
0.3408784866333008,
-0.0019971951842308044,
0.06843635439872742,
-0.10191135853528976,
-0.18118512630462646,
-0.4043257534503937,
0.08849280327558517,
0.03561525046825409,
0.011103833094239235,
0.2723676860332489,
0.4521646201610565,
0.444620817899704,
0.09136475622653961,
0.02412290871143341,
-0.4649667739868164,
-0.16650724411010742,
0.16589300334453583,
-0.2706199884414673,
-0.11146162450313568,
0.016068510711193085,
0.045010633766651154,
-0.06118761748075485,
-0.22226664423942566,
0.12132126837968826,
-0.0909971073269844,
0.2309902012348175,
0.003919564187526703,
-0.11814422905445099,
0.04579244181513786,
-0.22490841150283813,
0.14529463648796082,
-0.05850369483232498,
0.2523289918899536,
-0.22965043783187866,
-0.1494852602481842,
-0.0511179082095623,
-0.21065101027488708,
-0.16027237474918365,
0.07517000287771225,
-0.027768980711698532,
0.000043585896492004395,
0.16253480315208435,
-0.034597475081682205,
0.07929908484220505,
-0.035950325429439545,
0.09455078840255737,
0.17355573177337646,
-0.28488224744796753,
0.0007687071338295937,
-0.15272697806358337,
-0.28136196732521057,
-0.13867029547691345,
0.3364422619342804,
0.09334447979927063,
-0.06599634885787964,
-0.12230737507343292,
-0.48874735832214355,
0.4671269655227661,
-0.06828895956277847,
-0.37386977672576904,
-0.2546228766441345,
0.19235500693321228,
0.33143436908721924,
0.08569790422916412,
-0.37328284978866577,
-0.08334404230117798,
0.2526790499687195,
0.06858435273170471,
0.14499004185199738,
-0.004159251227974892,
0.3012351989746094,
0.17176592350006104,
-0.425375372171402,
0.25279805064201355,
0.12950190901756287,
0.028854282572865486,
-0.1800554096698761,
-0.13054201006889343
] |
https://github.com/huggingface/datasets/pull/479 | add METEOR metric | Really nice !
Thanks for adding this one.
I noticed that there are some '-' that are left in the description in the middle of some workds. It migh come from copy-pasting the pdf paper. ex: `im-provement`. Could you fix that please ? | Added the METEOR metric. Can be used like this:
```python
import nlp
meteor = nlp.load_metric('metrics/meteor')
meteor.compute(["some string", "some string"], ["some string", "some similar string"])
# {'meteor': 0.6411637931034483}
meteor.add("some string", "some string")
meteor.add('some string", "some similar string")
meteor.compute()
# {'meteor': 0.6411637931034483}
```
Uses [NLTK's implementation](https://www.nltk.org/api/nltk.translate.html#module-nltk.translate.meteor_score), [(source)](https://github.com/nltk/nltk/blob/develop/nltk/translate/meteor_score.py) | 43 | text: add METEOR metric
Added the METEOR metric. Can be used like this:
```python
import nlp
meteor = nlp.load_metric('metrics/meteor')
meteor.compute(["some string", "some string"], ["some string", "some similar string"])
# {'meteor': 0.6411637931034483}
meteor.add("some string", "some string")
meteor.add('some string", "some similar string")
meteor.compute()
# {'meteor': 0.6411637931034483}
```
Uses [NLTK's implementation](https://www.nltk.org/api/nltk.translate.html#module-nltk.translate.meteor_score), [(source)](https://github.com/nltk/nltk/blob/develop/nltk/translate/meteor_score.py)
Really nice !
Thanks for adding this one.
I noticed that there are some '-' that are left in the description in the middle of some workds. It migh come from copy-pasting the pdf paper. ex: `im-provement`. Could you fix that please ? | [
0.22791270911693573,
-0.20092055201530457,
-0.20293696224689484,
0.10268492996692657,
0.21226826310157776,
-0.07112379372119904,
-0.268826961517334,
0.07355427742004395,
-0.17653824388980865,
0.0017333850264549255,
0.056573666632175446,
0.24151314795017242,
0.014221967197954655,
-0.3651851415634155,
0.3364061713218689,
-0.3841102123260498,
-0.07190532237291336,
0.06719926744699478,
-0.25036755204200745,
-0.23341181874275208,
-0.19781138002872467,
0.13115034997463226,
0.02177821844816208,
0.07132768630981445,
0.10872366279363632,
-0.13723722100257874,
-0.04820704460144043,
-0.014783866703510284,
-0.08891630917787552,
-0.4651105999946594,
-0.0881117433309555,
0.2891489267349243,
-0.27641332149505615,
0.0627313107252121,
-0.00011239841842325404,
-0.33888113498687744,
0.46186238527297974,
-0.012881053611636162,
0.015430184081196785,
-0.13307632505893707,
0.03265676647424698,
-0.4979415833950043,
0.18633311986923218,
-0.42431172728538513,
0.3170802891254425,
-0.019979290664196014,
0.04913211613893509,
-0.03928985446691513,
0.1347254067659378,
0.26325759291648865,
0.1756678819656372,
-0.07184086740016937,
0.007045574486255646,
-0.08260519802570343,
0.13356024026870728,
-0.07418970763683319,
-0.015324288979172707,
0.25451868772506714,
0.4525149464607239,
0.0008051823824644089,
0.2775854766368866,
0.38053253293037415,
0.09665024280548096,
-0.12740415334701538,
0.1666783094406128,
-0.1834598183631897,
0.22548338770866394,
0.09817854315042496,
-0.13411018252372742,
0.1564100980758667,
0.4850720763206482,
-0.48133566975593567,
-0.13658922910690308,
0.09414888173341751,
0.17786391079425812,
-0.28807610273361206,
-0.1425195336341858,
0.15188480913639069,
-0.0592925064265728,
-0.39755406975746155,
-0.3297957479953766,
-0.33164381980895996,
-0.3315739333629608,
0.16994696855545044,
0.24185717105865479,
0.6708763837814331,
0.0628724917769432,
0.08630199730396271,
-0.16616341471672058,
0.15579068660736084,
-0.14573940634727478,
0.00027051568031311035,
-0.05365949496626854,
-0.029626790434122086,
0.422497034072876,
-0.02556099370121956,
-0.15981581807136536,
-0.31153807044029236,
0.20105081796646118,
0.0050496309995651245,
0.1217368096113205,
-0.16017776727676392,
0.0377621054649353,
0.1753409057855606,
-0.008352711796760559,
0.10380195081233978,
0.39140158891677856,
-0.032127995043992996,
-0.09407874941825867,
0.12093918025493622,
0.305162250995636,
-0.17305582761764526,
-0.12674474716186523,
-0.19754666090011597,
0.17155158519744873,
0.20928603410720825,
-0.031335845589637756,
0.09598764777183533,
-0.041136614978313446,
0.11064029484987259,
-0.12170489877462387,
-0.1705244779586792,
-0.17206545174121857,
-0.04615938663482666,
-0.023943457752466202,
-0.4092752933502197,
0.31643688678741455,
0.06536409258842468,
0.026859981939196587,
0.042280618101358414,
-0.1998661309480667,
0.5506426095962524,
-0.26069796085357666,
0.12407544255256653,
-0.4082278311252594,
0.2318979650735855,
0.5236034989356995,
-0.22522985935211182,
0.4760153889656067,
-0.032562047243118286,
-0.08143473416566849,
0.1001954972743988,
-0.026328876614570618,
0.1805667132139206,
-0.14942717552185059,
0.23609615862369537,
-0.014542818069458008,
-0.4706987738609314,
-0.23183634877204895,
0.26566460728645325,
-0.11251238733530045,
-0.06870979070663452,
-0.3229207694530487,
0.18162593245506287,
-0.392536461353302,
-0.23869481682777405,
-0.09399231523275375,
-0.003691483289003372,
0.14283207058906555,
0.030425172299146652,
0.2250726819038391,
0.07588331401348114,
-0.009985007345676422,
0.011222204193472862,
0.3763108551502228,
0.17036274075508118,
-0.2723054885864258,
-0.03183979168534279,
-0.3218970000743866,
0.12167826294898987,
0.28154733777046204,
-0.01419011875987053,
-0.16408666968345642,
0.5173463225364685,
-0.05704917013645172,
0.1188046932220459,
0.5063225626945496,
-0.27265456318855286,
0.05551247298717499,
0.1264539211988449,
0.14454786479473114,
-0.07150574028491974,
-0.05621514469385147,
-0.11015285551548004,
-0.0276455357670784,
0.020483793690800667,
0.3736569881439209,
-0.2176152467727661,
0.39635756611824036,
-0.05553394556045532,
-0.5905976295471191,
0.1402391791343689,
0.39774590730667114,
-0.2277822047472,
0.30722594261169434,
-0.09840499609708786,
0.03627435863018036,
0.3708489239215851,
0.2719576358795166,
0.13966955244541168,
0.06114356964826584,
0.11382169276475906,
0.19809994101524353,
-0.26369553804397583,
-0.03759463131427765,
-0.21830427646636963,
0.10199995338916779,
-0.09542936086654663,
0.023616384714841843,
0.40965068340301514,
0.10255800932645798,
-0.0376761369407177,
-0.5431738495826721,
0.030427349731326103,
0.08984408527612686,
-0.25748610496520996,
0.20322169363498688,
-0.2511464059352875,
0.0063767582178115845,
0.06948958337306976,
0.12367023527622223,
-0.4165892004966736,
-0.5450949668884277,
-0.08832626789808273,
-0.1020931750535965,
0.11343635618686676,
-0.1544647365808487,
-0.0535423681139946,
0.04128044843673706,
0.2753390371799469,
0.1758706271648407,
0.2827330231666565,
-0.07707972824573517,
0.13936904072761536,
-0.36717507243156433,
0.5080767869949341,
0.5008726119995117,
0.17571742832660675,
0.07188289612531662,
-0.22136825323104858,
0.17008288204669952,
0.024304084479808807,
0.28301453590393066,
-0.08357716351747513,
-0.11657553166151047,
0.2838868796825409,
0.047360267490148544,
0.050107989460229874,
0.08575384318828583,
-0.07273183017969131,
-0.059576425701379776,
0.0792035162448883,
-0.379025936126709,
-0.08572185039520264,
0.26616862416267395,
0.28098034858703613,
-0.21953937411308289,
-0.22016704082489014,
-0.07979444414377213,
-0.13632872700691223,
0.38267335295677185,
-0.06804101169109344,
0.16963762044906616,
0.23042646050453186,
-0.1873435378074646,
-0.11958102136850357,
-0.030375638976693153,
-0.2584169805049896,
0.18578746914863586,
0.24335002899169922,
0.12581872940063477,
0.2592771649360657,
-0.17924831807613373,
-0.30809375643730164,
0.2573091387748718,
0.6044058203697205,
-0.12257776409387589,
0.16373495757579803,
0.02730340138077736,
0.27141743898391724,
-0.18710878491401672,
-0.03600696474313736,
-0.14215068519115448,
0.32775360345840454,
-0.35512828826904297,
0.022120745852589607,
0.08772589266300201,
-0.03147811442613602,
-0.4367969036102295,
-0.4038160741329193,
-0.42534196376800537,
-0.6322084665298462,
0.04759877920150757,
-0.1891300231218338,
-0.07967357337474823,
0.14104631543159485,
0.08114901185035706,
0.19856926798820496,
-0.03502584248781204,
0.15361237525939941,
-0.24739186465740204,
-0.4367392063140869,
0.24519553780555725,
0.09546799957752228,
-0.03330241143703461,
0.4184112250804901,
0.6203880310058594,
-0.15903730690479279,
0.13158239424228668,
0.12277517467737198,
-0.566224217414856,
-0.031978949904441833,
-0.11164706945419312,
0.41719555854797363,
0.0658927783370018,
0.05221934989094734,
-0.06924393773078918,
0.030926618725061417,
0.07898565381765366,
0.07285932451486588,
0.1718500703573227,
-0.168682262301445,
-0.19368094205856323,
-0.0763806700706482,
-0.11601074039936066,
-0.2451370656490326,
0.24423669278621674,
-0.31727689504623413,
0.19998154044151306,
0.15884490311145782,
0.13244441151618958,
0.1371382623910904,
-0.06989424675703049,
0.3380843698978424,
-0.04586413502693176,
0.5111643671989441,
-0.08093702048063278,
-0.5169668197631836,
0.33585217595100403,
-0.11455614119768143,
-0.2162589281797409,
-0.006030380725860596,
0.1309557557106018,
0.006034631282091141,
-0.26033133268356323,
-0.21327568590641022,
-0.633468508720398,
-0.07811954617500305,
-0.491077721118927,
-0.04308126121759415,
0.07481946051120758,
0.13247108459472656,
-0.2324906885623932,
-0.16398121416568756,
-0.07018347084522247,
-0.19803082942962646,
0.09334950149059296,
0.15661446750164032,
0.31687426567077637,
-0.3205506205558777,
0.19226309657096863,
-0.038356684148311615,
0.5162113904953003,
0.30106422305107117,
0.2405516356229782,
-0.07314249873161316,
0.007149728015065193,
0.06481236219406128,
0.16599774360656738,
-0.21000352501869202,
0.11707979440689087,
0.06076040118932724,
0.28244298696517944,
0.14655378460884094,
-0.20818138122558594,
0.3388950824737549,
0.08062465488910675,
-0.152886763215065,
-0.3872135281562805,
-0.1251782327890396,
0.2678420841693878,
-0.20490410923957825,
-0.031414441764354706,
-0.049252159893512726,
-0.1946330964565277,
-0.10513366758823395,
-0.07163245975971222,
-0.15209367871284485,
0.4426689147949219,
0.1449126899242401,
0.07563690096139908,
0.013019207864999771,
-0.13346558809280396,
-0.17746037244796753,
0.11839030683040619,
0.2532587945461273,
-0.0440567322075367,
-0.07865077257156372,
0.07707305252552032,
0.1815144121646881,
0.006953406147658825,
0.14952874183654785,
-0.26356470584869385,
-0.17332452535629272,
0.17030951380729675,
0.08082639425992966,
-0.24603107571601868,
-0.01088731363415718,
-0.39257869124412537,
0.0750577375292778,
0.2898516058921814,
0.42233535647392273,
-0.06359744071960449,
-0.058054834604263306,
-0.036812782287597656,
-0.20950286090373993,
-0.14019371569156647,
-0.05875733122229576,
-0.30943071842193604,
-0.401715487241745,
-0.4077056050300598,
0.15274479985237122,
0.32686755061149597,
0.11511259526014328,
0.10871206223964691,
-0.009499471634626389,
0.19365353882312775,
-0.10534434020519257,
0.306093692779541,
-0.20189404487609863,
0.07690303027629852,
0.12655162811279297,
-0.017814673483371735,
-0.22228285670280457,
-0.11298736929893494,
-0.1312834620475769,
0.04160301014780998,
-0.02533220499753952,
0.14393319189548492,
-0.22776028513908386,
-0.2690678536891937,
0.7956188917160034,
0.2888658046722412,
0.11641094088554382,
-0.01155773550271988,
-0.2906164526939392,
0.3366538882255554,
-0.39374950528144836,
0.2214137613773346,
0.2591458559036255,
-0.03180238977074623,
-0.25009265542030334,
-0.052675142884254456,
0.5248232483863831,
-0.07673145085573196,
-0.0064130425453186035,
0.1512240767478943,
-0.030514486134052277,
-0.49746209383010864,
-0.34147757291793823,
0.4177471101284027,
1.2631032466888428,
0.3484823703765869,
-0.0019716359674930573,
-0.16316431760787964,
-0.18474546074867249,
0.2990659773349762,
0.15384790301322937,
-0.13034632802009583,
-0.27101263403892517,
-0.1302119344472885,
0.005908610299229622,
-0.0012539215385913849,
0.3112935423851013,
-0.305497944355011,
-0.20832155644893646,
0.09418760985136032,
-0.15501797199249268,
-0.05573704466223717,
0.13962481915950775,
0.21335512399673462,
0.25341758131980896,
-0.19023868441581726,
-0.20344381034374237,
0.06628668308258057,
-0.23502658307552338,
-0.18387724459171295,
-0.12729263305664062,
-0.26249581575393677,
-0.06907859444618225,
-0.03596211597323418,
-0.4657678008079529,
-0.299964040517807,
0.459396630525589,
-0.0017837472259998322,
-0.04407836124300957,
-0.12703394889831543,
0.4032277762889862,
-0.1685471534729004,
0.2892642021179199,
0.36845123767852783,
-0.048050589859485626,
0.2760351598262787,
-0.4411349892616272,
-0.24034784734249115,
-0.0885971412062645,
0.3199426233768463,
0.02459484525024891,
-0.4221296012401581,
-0.06802494823932648,
-0.011432215571403503,
0.042955148965120316,
-0.057114697992801666,
-0.3112993836402893,
-0.2856992483139038,
0.27114441990852356,
-0.09463401883840561,
0.10420101881027222,
0.30314210057258606,
-0.12706568837165833,
-0.39614200592041016,
0.16318652033805847,
0.24166296422481537,
-0.4715271592140198,
0.2885848879814148,
0.31595319509506226,
-0.16853086650371552,
0.090895876288414,
0.08697935193777084,
0.038353510200977325,
0.19420231878757477,
0.06636527180671692,
-0.06866303831338882,
-0.2838725447654724,
-0.2728501260280609,
0.12544158101081848,
-0.07699226588010788,
-0.11259682476520538,
0.09459558874368668,
-0.017005369067192078,
0.05323195457458496,
-0.3202417194843292,
0.461436927318573,
0.10469268262386322,
-0.014101594686508179,
-0.1699579805135727,
-0.5256519317626953,
0.04216998815536499,
0.17438089847564697,
-0.24014367163181305,
0.2639845907688141,
0.014006007462739944,
0.19377510249614716,
0.29444652795791626,
0.5015577077865601,
-0.4087675213813782,
-0.16049855947494507,
-0.26637572050094604,
0.255191445350647,
0.2561509609222412,
-0.1791866421699524,
-0.08317204564809799,
-0.14443549513816833,
0.010816806927323341,
0.2537439465522766,
-0.08596770465373993,
-0.22685319185256958,
-0.20145049691200256,
0.10162659734487534,
-0.017589189112186432,
-0.0009950865060091019,
0.3764307200908661,
0.3446279764175415,
0.0036768410354852676,
-0.01501808688044548,
-0.3358065187931061,
-0.20816364884376526,
0.16542398929595947,
0.5976508855819702,
0.1760830283164978,
0.48728564381599426,
-0.04199785366654396,
-0.27758634090423584,
0.2603488862514496,
0.4825332760810852,
0.018313413485884666,
-0.0558599978685379,
0.016147367656230927,
-0.02609943225979805,
0.09925752133131027,
0.12378665804862976,
-0.07236355543136597,
0.38705572485923767,
0.23454707860946655,
0.2284184843301773,
0.17561478912830353,
0.004112340044230223,
0.161332368850708,
0.10722815990447998,
-0.3963836431503296,
-0.21402396261692047,
0.027643373236060143,
0.15396523475646973,
-0.27157270908355713,
-0.03445793688297272,
-0.07442067563533783,
-0.19781087338924408,
-0.009643211960792542,
0.19063296914100647,
-0.10852984338998795,
0.18357506394386292,
-0.23765908181667328,
0.01721307262778282,
0.3090064823627472,
-0.5234319567680359,
0.1082245260477066,
-0.28284427523612976,
-0.08980433642864227,
-0.07822057604789734,
0.14257770776748657,
0.3569919466972351,
0.17855529487133026,
0.2965822219848633,
0.27985215187072754,
0.41599151492118835,
0.23656421899795532,
0.23486055433750153,
-0.10145994275808334,
0.32420814037323,
0.29830971360206604,
0.24783489108085632,
0.07190847396850586,
0.33995696902275085,
0.15329736471176147,
0.1294725090265274,
0.19647589325904846,
0.16345718502998352,
-0.11405951529741287,
0.34239017963409424,
0.12581834197044373,
-0.09031608700752258,
-0.4619949460029602,
0.017156317830085754,
-0.256960928440094,
-0.08022250235080719,
0.16224917769432068,
-0.19819976389408112,
0.11030825972557068,
-0.28246474266052246,
-0.016335785388946533,
0.019025525078177452,
0.031078703701496124,
-0.001505151391029358,
0.3744525909423828,
-0.49271705746650696,
0.023571118712425232,
0.2880246341228485,
0.053249385207891464,
-0.43366506695747375,
0.23456968367099762,
0.40405577421188354,
0.017615437507629395,
-0.0743548572063446,
0.09638449549674988,
-0.046432871371507645,
-0.10761737078428268,
0.3646146357059479,
0.1151742935180664,
0.4080197215080261,
-0.08121776580810547,
0.27363669872283936,
0.22556713223457336,
-0.184890478849411,
0.4997665584087372,
0.22227485477924347,
-0.23148858547210693,
0.034767527133226395,
0.5654191970825195,
0.2642381191253662,
-0.17982999980449677,
-0.06243754178285599,
-0.14696845412254333,
-0.3164916932582855,
-0.29508471488952637,
0.14991195499897003,
-0.0729437991976738,
0.001254567876458168,
-0.17905229330062866,
0.11525464057922363,
0.11590981483459473,
0.5191508531570435,
0.14290432631969452,
-0.2111719250679016,
-0.080696702003479,
-0.10983747243881226,
-0.47436776757240295,
-0.12059413641691208,
0.24905863404273987,
0.20713913440704346,
0.2296617031097412,
-0.11589183658361435,
0.009335041046142578,
0.10876759886741638,
-0.0773337185382843,
0.3595649003982544,
-0.17560166120529175,
-0.458370178937912,
-0.15725404024124146,
-0.03210730478167534,
0.2878645658493042,
-0.26714378595352173,
0.15061670541763306,
0.35854724049568176,
-0.1463843584060669,
-0.434577077627182,
0.1958601176738739,
-0.10807520151138306,
-0.1202206090092659,
0.1472083032131195,
0.45455771684646606,
0.17948156595230103,
0.11797082424163818,
0.37318477034568787,
-0.31210699677467346,
0.1875210851430893,
0.33315911889076233,
-0.016352791339159012,
0.07915123552083969,
0.6135530471801758,
-0.0004211217164993286,
0.014927990734577179,
0.024100733920931816,
-0.023481447249650955,
-0.19437631964683533,
0.11997188627719879,
-0.24889115989208221,
-0.3612729609012604,
-0.2588118016719818,
-0.13793765008449554,
-0.05589965730905533,
-0.019305521622300148,
-0.15817858278751373,
0.05142313987016678,
-0.023740388453006744,
0.07481825351715088,
-0.1900772750377655,
-0.5032522082328796,
0.382013738155365,
0.19379232823848724,
-0.4323591887950897,
0.195297509431839,
0.1895010769367218,
0.030549082905054092,
0.2923806607723236,
-0.8074586391448975,
-0.2557818591594696,
0.4538031220436096,
0.04820825159549713,
-0.15615515410900116,
0.3598298728466034,
0.0018458953127264977,
-0.05614161118865013,
0.09915660321712494,
0.10539281368255615,
0.14070077240467072,
-0.17091389000415802,
-0.13551533222198486,
-0.38695114850997925
] |
https://github.com/huggingface/datasets/pull/479 | add METEOR metric | @lhoestq
Linebreaks have been removed! Note that there are still a few compound words that are hyphenated intentionally. | Added the METEOR metric. Can be used like this:
```python
import nlp
meteor = nlp.load_metric('metrics/meteor')
meteor.compute(["some string", "some string"], ["some string", "some similar string"])
# {'meteor': 0.6411637931034483}
meteor.add("some string", "some string")
meteor.add('some string", "some similar string")
meteor.compute()
# {'meteor': 0.6411637931034483}
```
Uses [NLTK's implementation](https://www.nltk.org/api/nltk.translate.html#module-nltk.translate.meteor_score), [(source)](https://github.com/nltk/nltk/blob/develop/nltk/translate/meteor_score.py) | 18 | text: add METEOR metric
Added the METEOR metric. Can be used like this:
```python
import nlp
meteor = nlp.load_metric('metrics/meteor')
meteor.compute(["some string", "some string"], ["some string", "some similar string"])
# {'meteor': 0.6411637931034483}
meteor.add("some string", "some string")
meteor.add('some string", "some similar string")
meteor.compute()
# {'meteor': 0.6411637931034483}
```
Uses [NLTK's implementation](https://www.nltk.org/api/nltk.translate.html#module-nltk.translate.meteor_score), [(source)](https://github.com/nltk/nltk/blob/develop/nltk/translate/meteor_score.py)
@lhoestq
Linebreaks have been removed! Note that there are still a few compound words that are hyphenated intentionally. | [
-0.09617967903614044,
-0.15598730742931366,
-0.24247735738754272,
0.12267309427261353,
0.2517305910587311,
-0.10578551143407822,
-0.21331386268138885,
0.15194906294345856,
-0.052661262452602386,
0.10530885308980942,
0.06611735373735428,
0.24043463170528412,
-0.17739272117614746,
-0.2999759316444397,
0.16597771644592285,
-0.3210639953613281,
-0.28205034136772156,
0.021746426820755005,
-0.10072839260101318,
-0.001007426530122757,
-0.09663482010364532,
0.13232716917991638,
0.052960485219955444,
-0.10049261152744293,
0.11251574009656906,
0.05882870405912399,
-0.00969814881682396,
0.05240192636847496,
-0.0729508027434349,
-0.4024769067764282,
-0.1831488013267517,
0.1620086431503296,
-0.23011688888072968,
0.22072386741638184,
-0.00010130114242201671,
-0.2616841793060303,
0.2955021858215332,
-0.10515571385622025,
-0.034540146589279175,
-0.15699918568134308,
-0.20230606198310852,
-0.5728718638420105,
0.1886529177427292,
-0.40036794543266296,
-0.01563011296093464,
0.06127847731113434,
-0.0006903447210788727,
-0.3637630343437195,
0.3231087028980255,
0.3159050941467285,
0.29374977946281433,
-0.1290389597415924,
-0.14137668907642365,
-0.12766112387180328,
0.1066657081246376,
-0.14335592091083527,
-0.03854140266776085,
0.33939415216445923,
-0.019515708088874817,
0.19324034452438354,
0.04293525218963623,
0.23970471322536469,
0.12604857981204987,
-0.08942577242851257,
0.23320668935775757,
-0.09920952469110489,
0.0975167527794838,
0.31822580099105835,
-0.06417729705572128,
0.16237305104732513,
0.18560031056404114,
-0.5413959622383118,
-0.09646046906709671,
0.08941138535737991,
0.06953876465559006,
-0.6321741342544556,
-0.21995720267295837,
0.028453858569264412,
-0.009641885757446289,
-0.24713343381881714,
-0.3581377863883972,
-0.33494865894317627,
-0.3342060148715973,
0.04953713342547417,
0.08376410603523254,
0.7113537788391113,
0.04173825681209564,
0.06425709277391434,
-0.2737305760383606,
0.13232393562793732,
-0.15596729516983032,
-0.02186361700296402,
-0.01419537141919136,
0.0008397679775953293,
0.3057648837566376,
0.08690094947814941,
-0.08840448409318924,
-0.2987661063671112,
0.13120979070663452,
-0.07363271713256836,
0.29342228174209595,
0.07092470675706863,
0.3054068386554718,
0.13850313425064087,
-0.2160748392343521,
0.17618638277053833,
0.554173469543457,
-0.286391019821167,
-0.04475605487823486,
0.09959691762924194,
0.19972671568393707,
-0.16513130068778992,
0.052446503192186356,
-0.22639426589012146,
0.1725618988275528,
0.30188053846359253,
-0.05425330996513367,
0.17554809153079987,
-0.12935909628868103,
0.04684162884950638,
0.0025160983204841614,
-0.2124200165271759,
-0.03080366551876068,
0.028018459677696228,
-0.024745404720306396,
-0.2540022134780884,
0.16183672845363617,
0.09349019825458527,
0.07558576762676239,
-0.13146954774856567,
-0.302707314491272,
0.4891982078552246,
-0.13568343222141266,
0.16504532098770142,
-0.1897438019514084,
0.29093649983406067,
0.33718571066856384,
-0.23640699684619904,
0.3255062699317932,
-0.18477602303028107,
-0.08640886098146439,
0.06141600385308266,
0.02510363608598709,
-0.06369327008724213,
0.052412305027246475,
-0.022631479427218437,
0.06931101530790329,
-0.3702094554901123,
-0.24794480204582214,
0.1442495584487915,
-0.03892865031957626,
-0.06398008018732071,
-0.19314797222614288,
0.30672478675842285,
-0.35502392053604126,
-0.19889798760414124,
0.12220792472362518,
0.2608099579811096,
0.08721605688333511,
0.03006889298558235,
0.18547526001930237,
0.11167138814926147,
-0.1264825016260147,
-0.16395723819732666,
0.3431517779827118,
0.20204564929008484,
-0.48398059606552124,
-0.11104247719049454,
-0.2800920903682709,
0.1263791024684906,
0.13776034116744995,
0.0007882565259933472,
-0.045074641704559326,
0.3749476671218872,
0.13550066947937012,
-0.036893799901008606,
0.6395348310470581,
-0.2507551908493042,
-0.009293481707572937,
-0.13856938481330872,
-0.010928921401500702,
-0.13388869166374207,
0.024135909974575043,
-0.0401589535176754,
-0.06371115148067474,
0.11300130933523178,
0.5206712484359741,
-0.01662185788154602,
0.19493815302848816,
-0.12983644008636475,
-0.36923038959503174,
0.033673107624053955,
0.28106170892715454,
-0.0203232578933239,
0.2464715987443924,
-0.2597266733646393,
0.13905811309814453,
0.4840373694896698,
0.08051062375307083,
0.03603430837392807,
0.222174271941185,
0.12330953031778336,
0.17314167320728302,
-0.31119078397750854,
-0.18100079894065857,
-0.33360955119132996,
0.13520240783691406,
-0.0749547928571701,
-0.1214759424328804,
0.22647620737552643,
0.05321372300386429,
-0.017753249034285545,
-0.49892711639404297,
0.04077136516571045,
0.08152786642313004,
-0.060937631875276566,
0.3434683680534363,
0.005009911954402924,
-0.1627906858921051,
-0.0033552702516317368,
-0.038719236850738525,
-0.23214110732078552,
-0.3020370304584503,
-0.14069055020809174,
-0.08760605752468109,
-0.07121077179908752,
-0.19973526895046234,
-0.1275133639574051,
0.09613937139511108,
0.4319208264350891,
0.13265427947044373,
0.06848549842834473,
0.08200716227293015,
0.24433112144470215,
-0.24809308350086212,
0.2108629047870636,
0.41278350353240967,
-0.09234736859798431,
0.10297605395317078,
-0.10032172501087189,
0.1976885050535202,
-0.011816181242465973,
0.24163398146629333,
-0.003637939691543579,
-0.13482117652893066,
0.47949618101119995,
0.10017207264900208,
-0.07910331338644028,
-0.05523883178830147,
-0.1893269121646881,
-0.04990512877702713,
0.012025687843561172,
-0.3420445919036865,
-0.16919714212417603,
0.2763115465641022,
0.093894362449646,
-0.18910548090934753,
-0.273817777633667,
0.044581785798072815,
-0.11008014529943466,
0.5903478264808655,
-0.011269878596067429,
0.22306901216506958,
0.16995152831077576,
-0.18211600184440613,
-0.16402754187583923,
-0.24205246567726135,
-0.2654641568660736,
0.10258802771568298,
0.25959688425064087,
0.24213339388370514,
0.20907817780971527,
-0.0785498321056366,
-0.3075672388076782,
0.23523536324501038,
0.3590131998062134,
-0.04403716325759888,
0.2798522710800171,
0.15774300694465637,
0.09993047267198563,
-0.23698997497558594,
-0.18509724736213684,
-0.12496788054704666,
0.1908389776945114,
-0.11825120449066162,
0.09770747274160385,
0.02804054133594036,
0.03957245498895645,
-0.2828660011291504,
-0.4951741099357605,
-0.4286305606365204,
-0.6394984126091003,
0.10178091377019882,
-0.29290732741355896,
0.0032411664724349976,
0.0552491620182991,
0.21406014263629913,
0.3670507073402405,
0.1275361329317093,
-0.06044739484786987,
-0.047742731869220734,
-0.48768290877342224,
0.1280391365289688,
0.2307889461517334,
-0.21938061714172363,
0.0901811346411705,
0.49552813172340393,
-0.17429207265377045,
0.22898252308368683,
0.23203064501285553,
-0.44957101345062256,
-0.05028531700372696,
-0.07071777433156967,
0.3632107377052307,
0.12916800379753113,
-0.10890154540538788,
-0.03915228322148323,
0.033342525362968445,
0.20922572910785675,
-0.06514379382133484,
0.2590051293373108,
0.025174740701913834,
-0.06327266991138458,
-0.1969800740480423,
-0.053148385137319565,
-0.3159686326980591,
0.10771836340427399,
-0.31478795409202576,
0.026597321033477783,
0.2510610818862915,
0.15710937976837158,
0.06725643575191498,
-0.09886190295219421,
0.5478700399398804,
-0.09394274652004242,
0.33620932698249817,
-0.042840272188186646,
-0.08589693903923035,
0.20843492448329926,
-0.21496377885341644,
-0.17999356985092163,
0.0018831267952919006,
0.17659813165664673,
0.25620970129966736,
-0.291486918926239,
-0.1274225115776062,
-0.37746575474739075,
-0.013235559687018394,
-0.10114340484142303,
-0.048986271023750305,
0.028958957642316818,
0.14351744949817657,
-0.04382455721497536,
-0.26036959886550903,
-0.06307749450206757,
-0.2233027070760727,
0.04290196672081947,
0.07361294329166412,
0.24919205904006958,
-0.3207966387271881,
0.3163595199584961,
0.08089016377925873,
0.5153440833091736,
0.2231983244419098,
0.019334370270371437,
-0.0047792717814445496,
-0.16437706351280212,
0.08056837320327759,
0.1311013251543045,
-0.0735098272562027,
0.21970055997371674,
0.13247504830360413,
0.13831934332847595,
0.27802178263664246,
-0.06955091655254364,
0.35879218578338623,
-0.09867319464683533,
-0.23661890625953674,
-0.33316537737846375,
-0.14258256554603577,
0.1776677817106247,
-0.20022907853126526,
-0.11141350120306015,
0.02519049495458603,
-0.11862508952617645,
-0.15298499166965485,
-0.10299897938966751,
-0.08185842633247375,
0.4090055227279663,
-0.1320100724697113,
0.078807033598423,
0.09980684518814087,
-0.0888015478849411,
-0.4218907356262207,
0.2370261549949646,
0.21268536150455475,
0.05790840461850166,
-0.1841360628604889,
-0.019813302904367447,
0.04874361678957939,
-0.18006642162799835,
0.1059197336435318,
-0.1388336718082428,
-0.009157605469226837,
0.05483260378241539,
0.04480893909931183,
-0.36261045932769775,
0.19004100561141968,
-0.5473119020462036,
0.21895326673984528,
0.26814594864845276,
0.3467124402523041,
-0.23074942827224731,
0.008341376669704914,
-0.0684027448296547,
0.0045388503931462765,
-0.194024458527565,
0.05506012961268425,
-0.2622835636138916,
-0.2961919605731964,
-0.11175346374511719,
0.012449242174625397,
0.14077621698379517,
0.2744719982147217,
0.18218475580215454,
-0.01600557379424572,
0.1217331662774086,
-0.1650799810886383,
0.24402162432670593,
-0.11555248498916626,
0.06226056441664696,
-0.008542852476239204,
-0.20567657053470612,
-0.3350774347782135,
-0.12215474247932434,
-0.38793686032295227,
0.018977748230099678,
0.2102101594209671,
0.013433247804641724,
-0.18070366978645325,
-0.03762044012546539,
0.6140612363815308,
0.21541759371757507,
0.046993572264909744,
0.12674935162067413,
-0.24201732873916626,
0.3510686159133911,
-0.14442098140716553,
0.12315818667411804,
0.07188650965690613,
0.024617359042167664,
-0.2877071499824524,
0.013319278135895729,
0.59326171875,
0.07783985137939453,
-0.02314697951078415,
0.16463245451450348,
0.0661010667681694,
-0.45351341366767883,
-0.15839995443820953,
0.401409775018692,
0.9793317317962646,
0.10957331955432892,
0.15198592841625214,
0.045569051057100296,
-0.1859031766653061,
0.3433590829372406,
0.10788428783416748,
0.059314366430044174,
-0.35527002811431885,
0.0985981896519661,
0.008848408237099648,
0.05859669670462608,
0.17874673008918762,
-0.29875779151916504,
-0.36466214060783386,
0.20751962065696716,
-0.21207846701145172,
-0.03798583522439003,
0.02822384051978588,
0.24888122081756592,
0.03627079725265503,
-0.0002866331487894058,
-0.17161232233047485,
0.23461851477622986,
-0.2928205132484436,
-0.12306654453277588,
-0.11424726247787476,
-0.12057948112487793,
0.01118975505232811,
0.007760491222143173,
-0.32030367851257324,
-0.15186291933059692,
0.46030542254447937,
-0.05864006280899048,
0.02015102468430996,
-0.2458713799715042,
0.2384566366672516,
-0.19692301750183105,
0.32784304022789,
0.386258602142334,
-0.13076575100421906,
0.3088022470474243,
-0.4536589980125427,
-0.07684355229139328,
-0.011840886436402798,
0.25967302918434143,
-0.12481527030467987,
-0.320713073015213,
-0.1398194432258606,
0.07812830805778503,
0.1373835802078247,
-0.08966085314750671,
-0.06853692978620529,
-0.04623416066169739,
0.35231733322143555,
-0.11183353513479233,
0.09639443457126617,
0.05014445260167122,
-0.26369136571884155,
-0.30787062644958496,
0.2540844678878784,
0.05753031745553017,
-0.331503301858902,
-0.016160733997821808,
0.3268548548221588,
-0.2778265178203583,
0.038813889026641846,
0.1471903920173645,
0.06259210407733917,
0.1853671371936798,
0.10417849570512772,
0.051743876188993454,
-0.21693900227546692,
-0.3181179463863373,
-0.034927889704704285,
-0.013129751197993755,
-0.005332089960575104,
0.016703736037015915,
0.02144533582031727,
0.11265932023525238,
-0.05967600643634796,
0.4194951355457306,
0.042696550488471985,
0.0911865085363388,
-0.20065517723560333,
-0.47106561064720154,
0.039168745279312134,
0.1290023922920227,
-0.013436354696750641,
0.170442134141922,
0.10690438002347946,
0.10648715496063232,
0.15846270322799683,
0.4710898697376251,
-0.49430209398269653,
-0.1393805891275406,
-0.06341224908828735,
0.11712035536766052,
0.04600820690393448,
-0.2217126190662384,
-0.008828498423099518,
0.07209490239620209,
0.21800924837589264,
0.13345256447792053,
-0.15952587127685547,
-0.3776181638240814,
-0.20635856688022614,
0.024967119097709656,
-0.09923771023750305,
0.1390569657087326,
0.1350030153989792,
0.20828747749328613,
-0.1234656274318695,
-0.07534511387348175,
-0.2044721245765686,
0.019322887063026428,
0.11379210650920868,
0.5988365411758423,
0.2925891578197479,
0.4208658039569855,
0.0894058495759964,
-0.28483450412750244,
0.23830106854438782,
0.3645562529563904,
-0.09731459617614746,
0.14118918776512146,
0.11255006492137909,
-0.020582538098096848,
-0.09290611743927002,
0.17452579736709595,
0.15121625363826752,
0.29001370072364807,
0.18972021341323853,
0.1028708890080452,
0.008343975991010666,
-0.00606230553239584,
0.32116058468818665,
0.09615348279476166,
-0.19858869910240173,
-0.2359769642353058,
-0.20332759618759155,
0.241164892911911,
-0.35482460260391235,
0.0445890836417675,
-0.36506396532058716,
0.019228246062994003,
0.15315993130207062,
0.18606862425804138,
-0.12422719597816467,
0.16961827874183655,
-0.1621280163526535,
-0.08489319682121277,
0.41316190361976624,
-0.37827104330062866,
0.041713837534189224,
-0.19920280575752258,
0.09977675974369049,
-0.13348904252052307,
0.2892220616340637,
0.2445620447397232,
0.2616748809814453,
0.41668397188186646,
0.06879249215126038,
0.4116572439670563,
0.21473556756973267,
0.22819244861602783,
-0.11772879213094711,
0.3694714903831482,
0.3022299110889435,
0.19350816309452057,
0.11623130738735199,
0.14406156539916992,
0.1400739848613739,
0.339100182056427,
-0.036670226603746414,
0.2101220041513443,
-0.12205015867948532,
0.33634471893310547,
0.10647179931402206,
-0.28793865442276,
-0.26894524693489075,
-0.015163563191890717,
-0.2532929480075836,
-0.19237788021564484,
0.13561540842056274,
0.012104764580726624,
0.06699865311384201,
-0.053034812211990356,
0.1833096295595169,
-0.081634521484375,
0.09595474600791931,
0.11683235317468643,
0.2037012279033661,
-0.4262924790382385,
0.23911555111408234,
0.3480468988418579,
0.02083946019411087,
-0.264682799577713,
-0.004152799025177956,
0.1658419817686081,
-0.027599874883890152,
-0.2850130796432495,
0.22688420116901398,
-0.1959735006093979,
-0.23531626164913177,
0.16016337275505066,
0.08117572963237762,
0.41466549038887024,
-0.02868610993027687,
0.31318938732147217,
0.36607468128204346,
-0.29242372512817383,
0.4161219000816345,
0.23666101694107056,
-0.13015154004096985,
0.0438866913318634,
0.6840713620185852,
0.15926852822303772,
-0.0053376927971839905,
-0.19950392842292786,
-0.13112550973892212,
-0.508184552192688,
-0.47775015234947205,
0.03473766893148422,
0.0019975837785750628,
0.017696000635623932,
-0.12225624918937683,
0.15583772957324982,
0.05640561133623123,
0.4850321412086487,
-0.021294664591550827,
-0.1749020218849182,
-0.05452272295951843,
-0.03003431111574173,
-0.32160061597824097,
0.0225263312458992,
0.2694809138774872,
-0.050121009349823,
-0.04296182841062546,
-0.06385163962841034,
-0.10131628066301346,
0.1606941670179367,
-0.16004087030887604,
0.4220072329044342,
-0.18524830043315887,
-0.5179388523101807,
-0.3385768234729767,
0.030639370903372765,
0.17777276039123535,
-0.26648497581481934,
0.14336103200912476,
0.18205294013023376,
-0.01438695564866066,
-0.44063737988471985,
0.2810012102127075,
-0.20608073472976685,
-0.2451549470424652,
0.3776787221431732,
0.3363572359085083,
0.13277864456176758,
0.019352950155735016,
0.24776595830917358,
-0.37719056010246277,
0.1576412469148636,
0.18931423127651215,
0.04720848426222801,
-0.059071771800518036,
0.4027821123600006,
-0.030057985335588455,
0.09503746032714844,
0.15578250586986542,
-0.07604990899562836,
-0.08718811720609665,
0.3716258406639099,
-0.17474201321601868,
-0.28763702511787415,
-0.07147549092769623,
-0.02665736898779869,
-0.10173255205154419,
0.08692974597215652,
-0.26184138655662537,
0.14082038402557373,
0.012905661016702652,
0.24297185242176056,
-0.1656355857849121,
-0.3299705982208252,
0.4958477020263672,
0.04752360284328461,
-0.4837542176246643,
0.11593244224786758,
0.16053855419158936,
0.05134017765522003,
0.04065091162919998,
-0.4841262400150299,
-0.08357824385166168,
0.3888719081878662,
0.046820253133773804,
-0.13294300436973572,
0.438106894493103,
-0.1972685009241104,
-0.13623906672000885,
0.010131582617759705,
0.07881902158260345,
0.0962563157081604,
-0.09679286181926727,
-0.3472931683063507,
-0.3102291226387024
] |
https://github.com/huggingface/datasets/pull/479 | add METEOR metric | Yes I made the mistake of simply merging master into this branch. A rebase seems to be neater :) Although all the commits ended up being added twice. I assume you just squash them into a single one on merge anyways? | Added the METEOR metric. Can be used like this:
```python
import nlp
meteor = nlp.load_metric('metrics/meteor')
meteor.compute(["some string", "some string"], ["some string", "some similar string"])
# {'meteor': 0.6411637931034483}
meteor.add("some string", "some string")
meteor.add('some string", "some similar string")
meteor.compute()
# {'meteor': 0.6411637931034483}
```
Uses [NLTK's implementation](https://www.nltk.org/api/nltk.translate.html#module-nltk.translate.meteor_score), [(source)](https://github.com/nltk/nltk/blob/develop/nltk/translate/meteor_score.py) | 41 | text: add METEOR metric
Added the METEOR metric. Can be used like this:
```python
import nlp
meteor = nlp.load_metric('metrics/meteor')
meteor.compute(["some string", "some string"], ["some string", "some similar string"])
# {'meteor': 0.6411637931034483}
meteor.add("some string", "some string")
meteor.add('some string", "some similar string")
meteor.compute()
# {'meteor': 0.6411637931034483}
```
Uses [NLTK's implementation](https://www.nltk.org/api/nltk.translate.html#module-nltk.translate.meteor_score), [(source)](https://github.com/nltk/nltk/blob/develop/nltk/translate/meteor_score.py)
Yes I made the mistake of simply merging master into this branch. A rebase seems to be neater :) Although all the commits ended up being added twice. I assume you just squash them into a single one on merge anyways? | [
-0.10090874135494232,
-0.05781134217977524,
-0.1598859280347824,
0.1484048068523407,
0.23155345022678375,
-0.0025119781494140625,
-0.21977432072162628,
0.23606272041797638,
-0.23253342509269714,
0.1396626979112625,
-0.022879736497998238,
0.26901504397392273,
-0.2627042829990387,
-0.3021116554737091,
0.016689030453562737,
-0.024547584354877472,
-0.11713119596242905,
0.02480228990316391,
-0.27384912967681885,
0.011504903435707092,
-0.08936148136854172,
0.1686006784439087,
0.29483747482299805,
-0.12882177531719208,
0.011114364489912987,
0.27225422859191895,
-0.03621997311711311,
0.01860082522034645,
-0.15436063706874847,
-0.3656327426433563,
-0.003844030201435089,
0.25975868105888367,
-0.1935259997844696,
0.48483970761299133,
-0.0001036292887874879,
-0.10921794921159744,
0.40223634243011475,
-0.028166623786091805,
-0.14705811440944672,
-0.2069493681192398,
-0.28174126148223877,
-0.5815768241882324,
0.09276442974805832,
-0.314480185508728,
-0.017741743475198746,
0.08595697581768036,
-0.009409395977854729,
-0.2910804748535156,
0.2916337251663208,
0.2470543384552002,
0.2954897880554199,
-0.1908043920993805,
-0.026800626888871193,
-0.12753640115261078,
0.13149699568748474,
0.024248942732810974,
0.011800246313214302,
0.37815091013908386,
-0.12259092926979065,
0.15633758902549744,
0.19912350177764893,
0.20466363430023193,
0.21468976140022278,
-0.21699194610118866,
0.4578804671764374,
-0.15535201132297516,
0.4180435240268707,
0.1928219348192215,
-0.028058476746082306,
0.011797886341810226,
0.022454872727394104,
-0.4539205729961395,
-0.14945144951343536,
-0.04247270151972771,
0.0687146708369255,
-0.6302169561386108,
-0.2730073034763336,
-0.01913459412753582,
0.05557737126946449,
-0.28675076365470886,
-0.35591715574264526,
-0.3500109314918518,
-0.1494644433259964,
-0.011543884873390198,
0.059885330498218536,
0.6341820955276489,
0.059467874467372894,
0.09177561849355698,
-0.0136936716735363,
0.1856296956539154,
-0.33364588022232056,
-0.07351300120353699,
0.021364111453294754,
-0.0036807600408792496,
0.2256152629852295,
-0.022311709821224213,
0.13694848120212555,
-0.4146064519882202,
0.01843947544693947,
0.0846850723028183,
0.08218961954116821,
-0.05431955307722092,
0.28078097105026245,
0.012095034122467041,
-0.15010710060596466,
0.27058765292167664,
0.39151519536972046,
-0.22162960469722748,
0.18267734348773956,
0.0713709220290184,
0.17907613515853882,
0.0056072864681482315,
-0.03362742066383362,
-0.1263515204191208,
0.13474531471729279,
0.3707006275653839,
0.062204040586948395,
0.09848245978355408,
0.056437134742736816,
-0.08776552975177765,
0.0903484895825386,
-0.18790443241596222,
-0.03208335489034653,
-0.0918363705277443,
-0.06117130070924759,
-0.15676555037498474,
0.06697225570678711,
0.06758025288581848,
0.06683538109064102,
0.09979117661714554,
-0.28245407342910767,
0.19490544497966766,
-0.21875762939453125,
0.05502217262983322,
-0.1500863879919052,
-0.04391518607735634,
0.32058683037757874,
-0.15793266892433167,
0.3833268880844116,
-0.15390777587890625,
-0.20720288157463074,
0.19545550644397736,
-0.08957753330469131,
-0.07097277045249939,
-0.0018065571784973145,
0.05973855406045914,
0.0753290206193924,
-0.43821316957473755,
-0.31806808710098267,
-0.0028557926416397095,
0.020137090235948563,
-0.2789449095726013,
-0.26580625772476196,
0.2692745327949524,
-0.3691639304161072,
0.014758974313735962,
-0.08133959025144577,
0.3245919644832611,
0.07342948764562607,
0.027008753269910812,
-0.0321565642952919,
0.10754291713237762,
-0.0517846941947937,
-0.17715351283550262,
0.40959659218788147,
0.07721984386444092,
-0.2626788020133972,
-0.2376694232225418,
-0.4442329406738281,
0.10783964395523071,
-0.03277815133333206,
0.0010993592441082,
-0.0946817547082901,
0.2475530207157135,
-0.010411196388304234,
-0.29604265093803406,
0.4565203785896301,
-0.31060120463371277,
-0.07372583448886871,
-0.3586570620536804,
-0.15738365054130554,
-0.08114221692085266,
-0.019759677350521088,
-0.08017727732658386,
-0.03681008145213127,
-0.18017783761024475,
0.42069587111473083,
0.05781782418489456,
0.048167888075113297,
-0.06524277478456497,
-0.28109073638916016,
-0.07957858592271805,
0.27172601222991943,
0.02957867458462715,
0.33205530047416687,
-0.27187052369117737,
0.3175284266471863,
0.5022099018096924,
-0.010246112942695618,
-0.08163630962371826,
0.29441794753074646,
0.12614622712135315,
0.2292250096797943,
-0.41092056035995483,
-0.1928190439939499,
-0.21142655611038208,
0.06769245862960815,
0.07135852426290512,
-0.1479509174823761,
0.30704158544540405,
0.07743772119283676,
-0.2184177041053772,
-0.35011187195777893,
-0.18029414117336273,
0.052787184715270996,
-0.11804819107055664,
0.3416854739189148,
0.261086106300354,
-0.1423664689064026,
-0.13949783146381378,
-0.13156867027282715,
-0.3114495575428009,
-0.23388011753559113,
-0.186224564909935,
-0.11961136758327484,
-0.13215383887290955,
-0.20239992439746857,
0.0014921044930815697,
0.19642896950244904,
0.5815295577049255,
0.1690724939107895,
-0.09300363063812256,
0.11276588588953018,
0.1664096713066101,
-0.40437909960746765,
0.3401102125644684,
0.3955399990081787,
-0.03594528138637543,
0.2402094155550003,
0.06665375828742981,
0.04363752156496048,
0.025131864473223686,
0.05674096941947937,
-0.116519995033741,
-0.11846921592950821,
0.4359983801841736,
0.26514333486557007,
0.018939875066280365,
0.07002963125705719,
-0.21650829911231995,
-0.0053528789430856705,
0.021767739206552505,
-0.34603288769721985,
-0.22987264394760132,
0.20768120884895325,
0.073226198554039,
-0.23091855645179749,
-0.05131065845489502,
0.19888836145401,
0.054072070866823196,
0.49932828545570374,
-0.034810639917850494,
0.07497304677963257,
0.11446443200111389,
-0.1337965428829193,
-0.09920913726091385,
-0.3215775787830353,
-0.22942805290222168,
0.1675722599029541,
0.2545038163661957,
0.2920808494091034,
0.2617807388305664,
0.019190523773431778,
-0.1445920467376709,
0.17337572574615479,
0.3420151472091675,
0.023689692839980125,
0.4076104760169983,
0.339337021112442,
0.02353726699948311,
-0.11135948449373245,
0.009339585900306702,
0.0679633691906929,
0.13461963832378387,
-0.07595637440681458,
-0.004401735961437225,
-0.1385412961244583,
0.025395065546035767,
-0.38618430495262146,
-0.5479243397712708,
-0.5704084038734436,
-0.6054331660270691,
0.10978725552558899,
-0.032023023813962936,
-0.07961797714233398,
0.17756173014640808,
0.3826056122779846,
0.3522269129753113,
-0.05177813768386841,
0.02839905023574829,
0.07899770140647888,
-0.5548064112663269,
0.089556023478508,
0.23748648166656494,
0.08549869805574417,
-0.12016231566667557,
0.5056995153427124,
0.018981846049427986,
0.22958537936210632,
0.07907523214817047,
-0.6042829751968384,
-0.12574546039104462,
-0.343746542930603,
0.2902665436267853,
0.027845822274684906,
-0.2996736764907837,
0.017752032727003098,
0.016689591109752655,
0.1448047161102295,
-0.028722651302814484,
0.06657584011554718,
-0.07018459588289261,
-0.08642702549695969,
-0.19282646477222443,
-0.13865427672863007,
-0.2921237051486969,
-0.03993247449398041,
-0.4430888593196869,
0.12884630262851715,
0.27489250898361206,
0.1394740343093872,
0.009028169326484203,
-0.2381923496723175,
0.412577360868454,
-0.017281854525208473,
0.26183345913887024,
-0.06643082201480865,
-0.00977984070777893,
0.20289431512355804,
-0.308973103761673,
-0.18804049491882324,
0.15004904568195343,
0.17525388300418854,
0.29861143231391907,
-0.3831714987754822,
-0.13688874244689941,
-0.3774394392967224,
0.09437476098537445,
-0.1574113517999649,
0.16419769823551178,
0.04850110039114952,
0.14938770234584808,
0.049875322729349136,
-0.20194602012634277,
-0.035534899681806564,
-0.29592809081077576,
0.052034031599760056,
0.24289044737815857,
0.35638609528541565,
-0.33973103761672974,
0.2536845803260803,
0.00805971771478653,
0.7255203127861023,
0.3095240294933319,
0.02916799858212471,
-0.1349383443593979,
-0.023191558197140694,
0.12586180865764618,
0.06363589316606522,
-0.19173754751682281,
0.2149827778339386,
0.053737662732601166,
0.16838186979293823,
0.21839311718940735,
0.07963523268699646,
0.31388145685195923,
-0.17737635970115662,
-0.18409380316734314,
-0.15601414442062378,
-0.2337064892053604,
0.05711766332387924,
-0.21403682231903076,
-0.1654394567012787,
0.03445010259747505,
-0.28664204478263855,
-0.14852508902549744,
0.01378127932548523,
-0.013223999179899693,
0.3634050488471985,
-0.10750552266836166,
0.15394984185695648,
0.09798325598239899,
-0.2160174548625946,
-0.44711172580718994,
0.13008195161819458,
0.14031316339969635,
-0.10768937319517136,
0.005539294332265854,
-0.11329706013202667,
0.028714969754219055,
-0.22843608260154724,
0.1793273687362671,
-0.08611848205327988,
-0.03930796682834625,
0.09786570072174072,
-0.14961186051368713,
-0.43072444200515747,
-0.04212455451488495,
-0.22481848299503326,
0.18992768228054047,
0.3703087866306305,
0.4771912693977356,
-0.4097733497619629,
-0.14820212125778198,
0.04938332736492157,
-0.03231710195541382,
-0.1597438007593155,
0.15189050137996674,
-0.3366395831108093,
-0.3530699610710144,
-0.24071966111660004,
0.013073854148387909,
-0.0008361227810382843,
0.3177396357059479,
0.04282308369874954,
0.04324625805020332,
0.04553580284118652,
-0.20977285504341125,
0.17250555753707886,
-0.16705243289470673,
0.09097020328044891,
0.08585084229707718,
-0.09802637994289398,
-0.3850088119506836,
0.06448453664779663,
-0.3025922477245331,
0.22762319445610046,
0.2948510944843292,
0.023770444095134735,
-0.03542546182870865,
-0.06442022323608398,
0.5022674798965454,
0.24788716435432434,
0.13068649172782898,
0.17956605553627014,
-0.2684343159198761,
0.31694918870925903,
-0.19473962485790253,
0.057661596685647964,
0.006252722814679146,
0.005717799998819828,
-0.3953186273574829,
0.14158415794372559,
0.5240582823753357,
0.062043447047472,
-0.06669039279222488,
0.2858654260635376,
-0.029637686908245087,
-0.4270031750202179,
-0.24493594467639923,
0.37575802206993103,
1.0232365131378174,
0.20978567004203796,
0.19916655123233795,
-0.011623799800872803,
-0.3539702296257019,
0.45552051067352295,
-0.03291519731283188,
0.036139171570539474,
-0.28428250551223755,
0.1873803436756134,
0.09109633415937424,
0.1042967140674591,
-0.023407503962516785,
-0.4770200252532959,
-0.2586164176464081,
0.205624058842659,
-0.008714661002159119,
0.35592252016067505,
-0.045367203652858734,
0.27262407541275024,
0.12553530931472778,
0.05410744249820709,
-0.2512989342212677,
0.23920917510986328,
-0.15440362691879272,
-0.03573745861649513,
-0.12061123549938202,
-0.23894914984703064,
-0.14760632812976837,
0.09218017756938934,
-0.14023634791374207,
-0.08961674571037292,
0.5460547208786011,
0.13418151438236237,
-0.13621914386749268,
-0.30231624841690063,
0.004140632227063179,
-0.3700573146343231,
0.4175163507461548,
0.26980525255203247,
-0.11772358417510986,
0.1729896366596222,
-0.4131797254085541,
0.09579898416996002,
-0.09614784270524979,
-0.005813677795231342,
-0.11933611333370209,
-0.3721435070037842,
-0.1013745591044426,
0.14551642537117004,
0.12973552942276,
-0.2935364842414856,
-0.1175851821899414,
-0.04459412395954132,
0.05062210187315941,
0.17765982449054718,
0.1773064285516739,
0.2404462993144989,
-0.3241904079914093,
-0.3085211515426636,
0.24771663546562195,
-0.033210352063179016,
-0.3746017813682556,
0.019840866327285767,
0.15817299485206604,
-0.2554399371147156,
-0.01496928185224533,
0.25452929735183716,
0.0905376672744751,
0.17517830431461334,
0.005531471222639084,
0.03037269040942192,
-0.10925892740488052,
-0.16615262627601624,
-0.22263267636299133,
0.014273083768785,
-0.1718311607837677,
0.14415788650512695,
-0.12091363221406937,
-0.011830508708953857,
0.06835479289293289,
0.35010218620300293,
0.18432284891605377,
0.056072477251291275,
-0.2962326407432556,
-0.2570881247520447,
-0.11848974972963333,
0.15681542456150055,
-0.122531458735466,
0.33767008781433105,
0.06324581801891327,
0.12727509438991547,
0.04371732473373413,
0.5537970662117004,
-0.48748835921287537,
-0.13647764921188354,
-0.0653768852353096,
0.2142830193042755,
0.1073857992887497,
-0.17548617720603943,
-0.06487402319908142,
-0.0345345064997673,
0.14337672293186188,
0.12494254112243652,
-0.2869906425476074,
-0.32191914319992065,
-0.10011766850948334,
0.04939267039299011,
-0.015317879617214203,
0.16356982290744781,
0.06093734875321388,
0.22678939998149872,
-0.011400189250707626,
0.02384474314749241,
0.009606044739484787,
-0.1646554172039032,
0.0681222453713417,
0.40803098678588867,
0.29968759417533875,
0.09225521981716156,
0.24624396860599518,
-0.20554223656654358,
0.3718150556087494,
0.1757996678352356,
-0.14658613502979279,
0.25140082836151123,
0.02513628453016281,
-0.07124324142932892,
-0.00526140071451664,
0.13360801339149475,
-0.033752307295799255,
0.4640779197216034,
0.25689756870269775,
0.11796929687261581,
-0.10717415809631348,
0.07803616672754288,
0.3875114917755127,
0.02049465849995613,
-0.06995660066604614,
-0.132127046585083,
-0.23411300778388977,
0.21044468879699707,
-0.3573998212814331,
-0.036837752908468246,
-0.12822766602039337,
0.1808203160762787,
0.11247584223747253,
0.1467483788728714,
-0.05531987547874451,
0.07413722574710846,
-0.18551932275295258,
0.16584470868110657,
0.27672967314720154,
-0.2738766074180603,
0.23428209125995636,
0.030592862516641617,
0.19475571811199188,
-0.19429247081279755,
0.2802657186985016,
0.11364288628101349,
0.3301040232181549,
0.3496592044830322,
-0.010172352194786072,
0.5579951405525208,
0.2193167805671692,
-0.012554865330457687,
0.05654545873403549,
0.4341684579849243,
0.328886479139328,
0.20639294385910034,
0.22332319617271423,
0.053762272000312805,
0.30459064245224,
0.3490440547466278,
0.050673678517341614,
-0.15844185650348663,
-0.11835622042417526,
0.5395340323448181,
0.05868339538574219,
-0.1289021223783493,
-0.3924866318702698,
-0.03713362663984299,
-0.13931074738502502,
0.003888789564371109,
0.07314053922891617,
0.021175555884838104,
0.004215605556964874,
0.050075992941856384,
0.08392317593097687,
-0.15313632786273956,
0.13188078999519348,
0.11082509160041809,
0.33261415362358093,
-0.25889983773231506,
0.05503133684396744,
0.47552943229675293,
-0.031488507986068726,
-0.2208714783191681,
0.20228783786296844,
0.14609761536121368,
0.007552545517683029,
-0.29231584072113037,
0.3217146694660187,
0.13570274412631989,
-0.16082866489887238,
0.026802334934473038,
0.1537143737077713,
0.25350022315979004,
-0.10757318139076233,
0.1563025265932083,
0.3442094027996063,
-0.3241625726222992,
0.4239700734615326,
0.035643622279167175,
-0.3149806261062622,
-0.19195230305194855,
0.8045861721038818,
0.21807365119457245,
-0.05697481706738472,
0.049452245235443115,
0.044700976461172104,
-0.36561357975006104,
-0.4101713001728058,
0.23272065818309784,
0.0989970788359642,
0.061938270926475525,
-0.21795867383480072,
0.1617106944322586,
0.048441555351018906,
0.47351568937301636,
-0.06785205006599426,
-0.20121705532073975,
-0.06119081377983093,
-0.11960334330797195,
-0.43835610151290894,
0.046471722424030304,
0.25132638216018677,
0.17577768862247467,
-0.046441152691841125,
-0.001907944679260254,
-0.0736093744635582,
0.18112702667713165,
-0.005452409386634827,
0.2472778707742691,
-0.06013427674770355,
-0.4872571527957916,
-0.36362308263778687,
0.09216488897800446,
0.05029604956507683,
-0.42369428277015686,
0.12448377907276154,
0.17623016238212585,
0.0892990380525589,
-0.3548864722251892,
0.2724798321723938,
-0.006943723186850548,
-0.25468719005584717,
0.41112637519836426,
0.2481919825077057,
0.14868295192718506,
0.05771654099225998,
0.13529551029205322,
-0.21617496013641357,
0.05789845436811447,
-0.004002045840024948,
0.14134129881858826,
-0.26078131794929504,
0.31426042318344116,
-0.2010079175233841,
0.3092735707759857,
-0.0406460165977478,
-0.03448127582669258,
-0.2714119851589203,
0.34906718134880066,
-0.03427119553089142,
-0.08731897920370102,
-0.060603946447372437,
-0.04712965339422226,
-0.14962002635002136,
0.027749190106987953,
-0.1747291088104248,
0.2291088104248047,
0.022064488381147385,
0.34725186228752136,
-0.2112565040588379,
-0.30203530192375183,
0.4190526008605957,
0.061625316739082336,
-0.43670931458473206,
0.06861933320760727,
0.22724315524101257,
0.07041200995445251,
-0.06531926989555359,
-0.5328021049499512,
-0.06360307335853577,
0.3125721216201782,
0.10800319164991379,
-0.11855879426002502,
0.44375118613243103,
-0.239912748336792,
-0.17254450917243958,
-0.014779618009924889,
-0.08318652212619781,
0.0707271546125412,
-0.2035330981016159,
-0.20190127193927765,
-0.3372148871421814
] |
https://github.com/huggingface/datasets/pull/476 | CheckList | > Also, a little out of my depth there, but would there be a way to have the default pip install checklist command not require mysql and mariadb to be installed? Feels like that might be a source of confusion for users.
I removed the pattern dependency, mysql is not a requirement anymore. I'm not sure where mariadb is coming from. | Sorry for the large pull request.
- Added checklists as datasets. I can't run `test_load_real_dataset` (see #474), but I can load the datasets successfully as shown in the example notebook
- Added a checklist wrapper | 61 | text: CheckList
Sorry for the large pull request.
- Added checklists as datasets. I can't run `test_load_real_dataset` (see #474), but I can load the datasets successfully as shown in the example notebook
- Added a checklist wrapper
> Also, a little out of my depth there, but would there be a way to have the default pip install checklist command not require mysql and mariadb to be installed? Feels like that might be a source of confusion for users.
I removed the pattern dependency, mysql is not a requirement anymore. I'm not sure where mariadb is coming from. | [
-0.22487789392471313,
-0.12409592419862747,
-0.1785050332546234,
-0.05319901555776596,
0.1428007185459137,
0.20123597979545593,
-0.13091450929641724,
0.32039710879325867,
0.8024069666862488,
-0.13393951952457428,
0.009934570640325546,
0.6123070120811462,
-0.057552024722099304,
0.06918901950120926,
0.08520027250051498,
0.12075935304164886,
0.14004920423030853,
0.2317800223827362,
-0.07083658874034882,
-0.1144348755478859,
-0.0438862107694149,
0.11268007755279541,
-0.07558362185955048,
-0.08607995510101318,
0.1782682240009308,
-0.05518714338541031,
0.12208041548728943,
0.19228848814964294,
-0.49401772022247314,
-0.36653774976730347,
0.3082602322101593,
0.3318851590156555,
-0.10662496089935303,
-0.030970178544521332,
-0.00010941383516183123,
-0.012267865240573883,
0.4247112274169922,
-0.15504580736160278,
-0.18299251794815063,
-0.36468517780303955,
-0.5352697372436523,
-0.6958411335945129,
0.3926164209842682,
-0.010333865880966187,
0.1579587757587433,
-0.16462264955043793,
-0.12446470558643341,
0.1356126219034195,
0.31457775831222534,
0.29464200139045715,
0.26525479555130005,
0.28658169507980347,
-0.21439430117607117,
-0.2701098322868347,
0.24865201115608215,
0.06132899969816208,
-0.20407213270664215,
0.27344903349876404,
0.5570880174636841,
-0.20951633155345917,
0.16444072127342224,
0.12385819852352142,
-0.2583615779876709,
0.16232407093048096,
0.2559865117073059,
-0.24712838232517242,
-0.04117223620414734,
-0.43021804094314575,
-0.08759764581918716,
0.39643940329551697,
0.2781743109226227,
-0.20539137721061707,
-0.035538218915462494,
0.08172980695962906,
-0.14445438981056213,
0.05954816937446594,
-0.000178508460521698,
0.05354832857847214,
-0.17649778723716736,
0.07428991049528122,
-0.17435459792613983,
-0.41821587085723877,
0.18458297848701477,
0.028979744762182236,
-0.11747469753026962,
0.276184618473053,
-0.05967585742473602,
-0.09567072242498398,
0.33781805634498596,
0.12165416777133942,
0.37278997898101807,
-0.022782664746046066,
-0.22906053066253662,
0.1856829822063446,
-0.11891508102416992,
-0.11586713790893555,
0.08771414309740067,
0.5415554642677307,
0.2772068977355957,
0.22166310250759125,
-0.007136833854019642,
0.16595488786697388,
-0.15461274981498718,
0.1423298418521881,
-0.11795850098133087,
0.1347552090883255,
0.06488145142793655,
0.1472158133983612,
0.07244452834129333,
0.14444281160831451,
0.3052945137023926,
-0.029758945107460022,
0.08480891585350037,
-0.034400295466184616,
-0.10003940761089325,
-0.12477494031190872,
0.25360310077667236,
-0.3426293432712555,
-0.32933542132377625,
0.1286984533071518,
-0.05479910224676132,
-0.2604076564311981,
0.12314224988222122,
0.5416770577430725,
-0.04445432871580124,
-0.10618814080953598,
0.16625210642814636,
0.3342939019203186,
-0.0162779800593853,
-0.147628515958786,
-0.05250357836484909,
0.061357129365205765,
-0.2633081376552582,
-0.20048776268959045,
0.4793899953365326,
-0.13329587876796722,
0.5099360942840576,
0.12661856412887573,
0.29884982109069824,
0.22617009282112122,
0.3537689745426178,
-0.07128144055604935,
0.25926586985588074,
0.6262620687484741,
0.17576070129871368,
0.16744709014892578,
0.35424619913101196,
0.21306882798671722,
-0.14236651360988617,
0.2417525351047516,
-0.21912389993667603,
-0.06971987336874008,
0.2986278533935547,
0.17218904197216034,
-0.2792254686355591,
-0.09244059026241302,
-0.10628675669431686,
-0.2016190141439438,
0.06202428787946701,
-0.10470375418663025,
-0.043445996940135956,
-0.23283754289150238,
0.17702089250087738,
-0.07964318990707397,
0.00374816358089447,
0.04804931581020355,
-0.4544520080089569,
0.23515000939369202,
-0.09967976808547974,
-0.18564876914024353,
-0.06883714348077774,
-0.008128512650728226,
-0.24795378744602203,
0.6299244165420532,
-0.12902484834194183,
-0.23421576619148254,
0.536773681640625,
-0.1603790819644928,
-0.20489856600761414,
0.32795649766921997,
0.17450854182243347,
0.21597126126289368,
-0.01901928335428238,
0.07780139148235321,
-0.012421675026416779,
-0.08978170156478882,
-0.151310995221138,
-0.014120060950517654,
0.029479587450623512,
-0.05839987099170685,
-0.274187296628952,
-0.3178062438964844,
-0.1809532642364502,
0.1737058460712433,
0.2840735912322998,
0.14392082393169403,
-0.12076001614332199,
0.03340635448694229,
0.0028180480003356934,
0.00999552384018898,
-0.22629472613334656,
0.23434126377105713,
0.4231279492378235,
0.22703224420547485,
-0.07290840893983841,
-0.12280698865652084,
0.031766626983881,
0.2400544285774231,
-0.07904411852359772,
-0.03649035841226578,
-0.09582187235355377,
-0.08874423056840897,
-0.4998602867126465,
-0.0413646399974823,
-0.18507812917232513,
0.04065297916531563,
0.16734197735786438,
-0.01946914941072464,
0.011844135820865631,
-0.15856149792671204,
-0.14723961055278778,
0.12629418075084686,
-0.3364419937133789,
0.09735369682312012,
0.011876098811626434,
0.045844078063964844,
-0.11793378740549088,
0.13684001564979553,
-0.10445466637611389,
-0.0007580742239952087,
-0.0424058735370636,
-0.051162414252758026,
0.13262614607810974,
0.36327555775642395,
0.01681159809231758,
-0.260747492313385,
0.021759897470474243,
0.10674364119768143,
-0.1300184726715088,
-0.18604107201099396,
0.2686527669429779,
0.3091466724872589,
0.1065819188952446,
-0.1555730253458023,
-0.3001767694950104,
0.1639164239168167,
-0.11136406660079956,
0.29315391182899475,
0.027468711137771606,
0.20523758232593536,
0.2504948079586029,
0.001870814710855484,
-0.3548665940761566,
-0.10262113809585571,
0.2713235020637512,
-0.12685801088809967,
0.22817380726337433,
-0.3428933024406433,
-0.11075231432914734,
-0.17588993906974792,
0.03710920363664627,
0.1662811040878296,
0.24723652005195618,
0.022477274760603905,
0.14998972415924072,
0.13316097855567932,
0.02492985688149929,
0.30199286341667175,
0.5415449738502502,
0.24883578717708588,
-0.015383411198854446,
0.12370287626981735,
-0.27696314454078674,
-0.17756466567516327,
0.12892389297485352,
0.16067612171173096,
-0.1694462150335312,
-0.08513171225786209,
-0.029608482494950294,
-0.5313482284545898,
-0.2754742503166199,
0.17615725100040436,
0.13536423444747925,
0.18029877543449402,
-0.3312470018863678,
0.05814005434513092,
-0.10923116654157639,
0.09474676102399826,
0.1811637282371521,
-0.3779500126838684,
-0.04953685775399208,
-0.4689483642578125,
0.19181199371814728,
0.10863731801509857,
0.1348874866962433,
0.22920961678028107,
-0.011458206921815872,
0.10270719975233078,
-0.16046252846717834,
-0.20620228350162506,
-0.06702090799808502,
-0.08608818054199219,
0.06083320826292038,
0.14986765384674072,
0.3012503385543823,
0.15358969569206238,
0.564117968082428,
-0.21298395097255707,
-0.045564569532871246,
-0.3032721281051636,
-0.10303086042404175,
0.06257655471563339,
-0.3396884799003601,
0.22256074845790863,
0.42505818605422974,
0.3926493525505066,
0.10676753520965576,
-0.04591958969831467,
0.2152879238128662,
0.13286377489566803,
-0.025659065693616867,
-0.16761340200901031,
-0.014026354998350143,
-0.1510799527168274,
-0.14068393409252167,
-0.35405492782592773,
-0.13659174740314484,
-0.31943878531455994,
0.053050026297569275,
0.14692023396492004,
0.010074842721223831,
-0.17443232238292694,
0.22666656970977783,
-0.09683026373386383,
-0.16646318137645721,
0.029245585203170776,
-0.0732940137386322,
-0.19383205473423004,
0.2605382204055786,
-0.06061629578471184,
-0.150093212723732,
0.4211817681789398,
0.040337398648262024,
0.3919638991355896,
0.034181028604507446,
-0.3348570466041565,
-0.2240171581506729,
-0.14955151081085205,
0.19418993592262268,
-0.058189116418361664,
0.18513080477714539,
0.36418789625167847,
0.0958576649427414,
-0.04936305806040764,
-0.22198182344436646,
0.07388179004192352,
-0.004157058894634247,
-0.49520161747932434,
0.3638538122177124,
-0.04150930792093277,
0.3436664342880249,
-0.13771972060203552,
0.7821179628372192,
0.04413217678666115,
0.16207467019557953,
0.1036161482334137,
0.22532038390636444,
0.5844157338142395,
-0.20444878935813904,
-0.44575104117393494,
-0.5751039981842041,
-0.037940606474876404,
-0.03528565913438797,
0.17342954874038696,
-0.046795882284641266,
-0.06507932394742966,
-0.19308944046497345,
0.230148047208786,
-0.0009295977652072906,
0.09174726903438568,
0.24315860867500305,
-0.24907949566841125,
0.24089103937149048,
0.1360711008310318,
0.2200859785079956,
-0.002120189368724823,
0.09222333133220673,
-0.020848141983151436,
0.2317090928554535,
-0.07960429042577744,
-0.2238338589668274,
-0.5082342624664307,
-0.18334521353244781,
0.004820987582206726,
0.13760697841644287,
-0.14955714344978333,
0.04350686073303223,
-0.16306628286838531,
-0.05188506096601486,
0.11072774231433868,
0.032563913613557816,
0.36522942781448364,
-0.3788081705570221,
-0.13273407518863678,
0.34898367524147034,
0.02537982165813446,
-0.19254125654697418,
-0.39774465560913086,
-0.4423713982105255,
0.3817412853240967,
0.27400875091552734,
0.010592833161354065,
-0.23619800806045532,
-0.254607230424881,
0.18715375661849976,
0.17696437239646912,
-0.013844575732946396,
-0.12969174981117249,
-0.3752528429031372,
-0.3522651195526123,
-0.2562378942966461,
0.31846052408218384,
0.24348263442516327,
-0.31031903624534607,
-0.38434258103370667,
0.14661253988742828,
0.11486636102199554,
-0.07150626927614212,
0.1877933144569397,
0.06097504124045372,
0.2820506691932678,
-0.022739358246326447,
0.142488494515419,
-0.24395817518234253,
-0.15473905205726624,
0.106942318379879,
0.4221320152282715,
-0.5516590476036072,
-0.18442079424858093,
-0.11910029500722885,
-0.28693917393684387,
0.27655312418937683,
0.28385859727859497,
-0.1368638128042221,
-0.1404552161693573,
0.043881263583898544,
-0.2679886817932129,
0.06650242209434509,
-0.01026514358818531,
0.1697206199169159,
-0.18830278515815735,
-0.05600987747311592,
-0.4544019103050232,
0.25580111145973206,
0.23464708030223846,
-0.28182774782180786,
0.3221808969974518,
-0.1746792048215866,
-0.13381555676460266,
0.24944905936717987,
0.18050509691238403,
0.7370424866676331,
-0.14455482363700867,
-0.013289283961057663,
0.07052941620349884,
-0.009685065597295761,
0.03465471416711807,
-0.5006487369537354,
-0.028296183794736862,
-0.1140366643667221,
-0.32729247212409973,
-0.07166501134634018,
-0.2349855750799179,
0.3355177640914917,
0.02257552742958069,
-0.4865764379501343,
0.26148849725723267,
-0.058575913310050964,
-0.0049341097474098206,
0.30612286925315857,
-0.04663483798503876,
-0.1747322380542755,
-0.12294222414493561,
-0.0035971570760011673,
0.1932547241449356,
0.01913289725780487,
-0.012626443058252335,
-0.36599981784820557,
-0.052186571061611176,
-0.16931495070457458,
-0.30925941467285156,
-0.16016006469726562,
-0.05815279856324196,
-0.1300031989812851,
0.11041311174631119,
-0.052443090826272964,
-0.13490089774131775,
0.1652502864599228,
0.1537993848323822,
0.13136151432991028,
0.5026088356971741,
-0.41454654932022095,
0.3263813853263855,
0.2691090703010559,
-0.14847156405448914,
-0.08349038660526276,
0.06185927987098694,
-0.07184763997793198,
-0.08541588485240936,
-0.20075568556785583,
-0.05619693547487259,
-0.5276250243186951,
-0.14400836825370789,
-0.2593710720539093,
0.3112315535545349,
0.338329017162323,
-0.4090672433376312,
-0.5509747266769409,
0.13709589838981628,
0.07518687844276428,
-0.05902102589607239,
0.16639284789562225,
0.29696232080459595,
-0.014569656923413277,
0.41422921419143677,
0.16253289580345154,
-0.20299574732780457,
-0.05072112753987312,
0.28983646631240845,
0.05209871381521225,
-0.15402834117412567,
0.2985900044441223,
-0.03629939630627632,
-0.2507426142692566,
-0.4324515759944916,
0.016247428953647614,
0.032416846603155136,
-0.013721659779548645,
-0.10523578524589539,
0.05020097643136978,
-0.27022868394851685,
-0.13361619412899017,
0.43608781695365906,
0.30053359270095825,
-0.03628762066364288,
-0.21206749975681305,
-0.2817132771015167,
-0.016236718744039536,
0.2816368341445923,
0.08663193881511688,
0.1446821391582489,
-0.29204997420310974,
-0.1951315999031067,
0.26832807064056396,
0.02553362213075161,
-0.38057616353034973,
0.13300640881061554,
-0.19979706406593323,
0.07622161507606506,
-0.0032140109688043594,
0.15489475429058075,
0.32378238439559937,
-0.11029009521007538,
0.09157585352659225,
-0.1506349742412567,
-0.37604838609695435,
-0.268876314163208,
0.33540937304496765,
0.1327744424343109,
-0.05210275202989578,
0.08334917575120926,
0.2639026343822479,
-0.2430383414030075,
-0.002096019685268402,
0.01672545075416565,
-0.2386612892150879,
-0.03895831108093262,
-0.1272687166929245,
-0.07056263089179993,
0.023084554821252823,
0.2959597706794739,
-0.012942612171173096,
-0.0810650959610939,
-0.3118048906326294,
-0.18723459541797638,
-0.02387840487062931,
-0.0865841805934906,
0.2776047885417938,
0.0048285797238349915,
0.22301028668880463,
0.1404924839735031,
0.16319535672664642,
0.11780276149511337,
0.3194088339805603,
-0.10183151066303253,
0.11079093813896179,
0.0978061854839325,
0.3998836874961853,
0.5568385720252991,
-0.2881428599357605,
0.05588366836309433,
0.20798364281654358,
0.24776123464107513,
-0.29657015204429626,
-0.03608182817697525,
0.14706121385097504,
0.23653621971607208,
0.10863177478313446,
0.27892374992370605,
0.4589572846889496,
-0.4469672441482544,
0.5583500266075134,
0.2509273290634155,
0.2257092148065567,
-0.3308286666870117,
0.08330002427101135,
0.41244542598724365,
-0.19995984435081482,
-0.0001223832368850708,
0.27348974347114563,
-0.10405141115188599,
-0.23771187663078308,
0.185957670211792,
-0.09954065829515457,
0.5175564289093018,
0.050203531980514526,
0.22653427720069885,
-0.04595787078142166,
-0.31918272376060486,
0.39099958539009094,
-0.23292139172554016,
0.22588273882865906,
-0.24754908680915833,
-0.017309360206127167,
0.2229960560798645,
-0.10871285200119019,
-0.0513274110853672,
-0.38951563835144043,
-0.18536025285720825,
-0.11986377090215683,
-0.03322407603263855,
0.01261826604604721,
-0.12084976583719254,
0.2052939534187317,
-0.15536640584468842,
0.15280134975910187,
-0.11327125132083893,
0.08750388026237488,
-0.12587310373783112,
0.17157918214797974,
-0.06565488874912262,
0.015647806227207184,
-0.09218546003103256,
-0.2782238721847534,
-0.13469937443733215,
0.07359497249126434,
-0.15353082120418549,
-0.014731518924236298,
0.04064273461699486,
0.3064696192741394,
0.2912159860134125,
0.5482134222984314,
0.12169718742370605,
-0.08314387500286102,
-0.3296394348144531,
-0.09472033381462097,
-0.19061776995658875,
0.392901748418808,
0.17137649655342102,
0.3541848957538605,
0.18433938920497894,
0.19616462290287018,
-0.1903812438249588,
0.31882843375205994,
-0.20057685673236847,
-0.23629266023635864,
0.07065017521381378,
0.3330339193344116,
0.32802271842956543,
-0.3540530204772949,
-0.15881313383579254,
-0.000686153769493103,
-0.47963792085647583,
0.05617832392454147,
0.2598722577095032,
0.19724726676940918,
-0.04675814509391785,
-0.1754278987646103,
0.1314236968755722,
0.051834870129823685,
0.3440784513950348,
0.21076315641403198,
0.2418021559715271,
-0.3766815960407257,
-0.2052030861377716,
-0.3626295030117035,
-0.14059868454933167,
-0.5955039262771606,
0.11975830793380737,
-0.05589506775140762,
0.10465791821479797,
0.2992537319660187,
0.3830524682998657,
0.07925889641046524,
-0.36804431676864624,
-0.06881096214056015,
0.08686289191246033,
-0.21709498763084412,
-0.1062227189540863,
0.242172971367836,
0.12085747718811035,
0.10297112166881561,
-0.05898734927177429,
-0.027287837117910385,
0.06262711435556412,
0.16152188181877136,
-0.1701996773481369,
-0.2528851330280304,
0.11444257199764252,
0.36203262209892273,
0.43881359696388245,
0.014173615723848343,
0.6333739757537842,
0.1969665288925171,
-0.1248413547873497,
-0.1484483927488327,
-0.11858029663562775,
0.049964454025030136,
0.3943949341773987,
0.2091934233903885,
0.08865544945001602,
-0.28018733859062195,
-0.3992728590965271,
-0.23973754048347473,
0.18433517217636108,
-0.007870066910982132,
-0.10577069967985153,
-0.37497109174728394,
-0.2120562642812729,
-0.14196886122226715,
0.2153118997812271,
-0.2128082662820816,
0.06437613815069199,
-0.13263659179210663,
0.20272518694400787,
-0.40860122442245483,
0.0057835206389427185,
0.56302809715271,
0.02348104491829872,
-0.17772535979747772,
-0.09589174389839172,
0.19687390327453613,
-0.18167302012443542,
-0.30014336109161377,
-0.46539074182510376,
-0.19532787799835205,
0.1687895655632019,
-0.1792604923248291,
-0.00921672210097313,
0.3297308385372162,
0.040293946862220764,
0.21897490322589874,
-0.0944502055644989,
0.22060826420783997,
-0.07884186506271362,
-0.10855523496866226,
-0.3527122437953949,
-0.32059115171432495
] |
https://github.com/huggingface/datasets/pull/472 | add crd3 dataset | This PR was already approved by @lhoestq in #456 . This one just make style to remove some typos | opening new PR for CRD3 dataset (ACL2020) to fix the circle CI problems | 19 | text: add crd3 dataset
opening new PR for CRD3 dataset (ACL2020) to fix the circle CI problems
This PR was already approved by @lhoestq in #456 . This one just make style to remove some typos | [
-0.29936090111732483,
-0.2797853946685791,
-0.206660658121109,
-0.15986481308937073,
-0.18275080621242523,
-0.21857693791389465,
0.16129155457019806,
-0.17227765917778015,
-0.18833573162555695,
0.14112892746925354,
0.17224179208278656,
0.29795295000076294,
0.13343575596809387,
0.5774591565132141,
-0.15867480635643005,
-0.14968755841255188,
0.22032004594802856,
0.3107184171676636,
0.3458596467971802,
0.09322439134120941,
-0.2247629165649414,
0.12299401313066483,
-0.0336892269551754,
0.15705521404743195,
0.028559604659676552,
-0.27513131499290466,
0.035015709698200226,
0.13028550148010254,
-0.2101908028125763,
-0.4107188582420349,
-0.11313176155090332,
0.6257275938987732,
-0.00891345925629139,
0.16896896064281464,
-0.00010465498780831695,
-0.10296481847763062,
0.11422806233167648,
0.04349131137132645,
0.01144392415881157,
0.18083299696445465,
-0.021799705922603607,
-0.27457746863365173,
0.12479560077190399,
-0.1988256275653839,
-0.024388499557971954,
-0.06742244958877563,
-0.24108706414699554,
0.1834697276353836,
0.11080887168645859,
0.10709112137556076,
0.3009016513824463,
0.07728525251150131,
0.2012530416250229,
-0.3860655725002289,
-0.20387837290763855,
0.17941448092460632,
-0.16682420670986176,
0.11190614104270935,
0.3462317883968353,
0.20119675993919373,
0.2081606239080429,
0.2450738549232483,
-0.061635829508304596,
-0.013087697327136993,
0.24434557557106018,
-0.1497497707605362,
-0.0917762741446495,
-0.07188188284635544,
0.21063393354415894,
0.10378368198871613,
0.5159173607826233,
-0.18720382452011108,
-0.0481908917427063,
0.3343760371208191,
0.3063082695007324,
-0.556609570980072,
0.02829296514391899,
0.07153039425611496,
-0.22786439955234528,
0.060078784823417664,
-0.23515304923057556,
-0.3685794472694397,
-0.27375343441963196,
0.006388746201992035,
0.056682437658309937,
0.1319219022989273,
-0.04756954684853554,
-0.04491574317216873,
0.167804554104805,
-0.0712052509188652,
0.36870115995407104,
0.36857476830482483,
-0.2420520782470703,
-0.31566566228866577,
0.1821112185716629,
-0.16304439306259155,
-0.017124012112617493,
0.689508318901062,
-0.10734425485134125,
0.4517633318901062,
-0.05924040824174881,
0.049204759299755096,
0.25027942657470703,
0.006660159677267075,
-0.2896210551261902,
-0.2831912934780121,
0.06418929994106293,
0.4102119207382202,
0.19901221990585327,
0.16017453372478485,
0.12483714520931244,
-0.06506182998418808,
-0.02836432307958603,
-0.3111382722854614,
-0.13383477926254272,
-0.06496242433786392,
0.10826213657855988,
-0.02897299826145172,
-0.143507719039917,
0.10765764862298965,
0.05151865631341934,
-0.14697818458080292,
-0.32327789068222046,
0.534610390663147,
0.042809825390577316,
0.09962883591651917,
0.4080052971839905,
0.13157868385314941,
0.03196589648723602,
0.0857660099864006,
-0.17811572551727295,
0.05245672166347504,
-0.07292214035987854,
0.10925538837909698,
-0.16736279428005219,
0.1651611179113388,
0.211387038230896,
0.04491722583770752,
0.07187342643737793,
-0.051644980907440186,
0.06247984617948532,
0.31678029894828796,
0.25961509346961975,
0.30089816451072693,
0.187568798661232,
-0.04183114320039749,
-0.016855746507644653,
-0.11827448010444641,
0.08406471461057663,
0.31080150604248047,
-0.14564481377601624,
-0.1164533942937851,
-0.5870837569236755,
0.352693110704422,
-0.15903587639331818,
-0.44717347621917725,
0.30517810583114624,
0.009219318628311157,
-0.07878991216421127,
-0.052171844989061356,
0.14547333121299744,
0.12440191954374313,
-0.10224480926990509,
-0.08331279456615448,
0.061298005282878876,
0.2636496424674988,
-0.32271692156791687,
0.10452552139759064,
-0.12424968928098679,
-0.3568786084651947,
-0.07089302688837051,
0.08766353130340576,
-0.13810378313064575,
0.21623104810714722,
-0.033268000930547714,
-0.33100026845932007,
0.48017510771751404,
-0.4180371165275574,
-0.3636631965637207,
0.07369080930948257,
-0.1930730938911438,
-0.41917741298675537,
0.2530387341976166,
0.04940548539161682,
-0.004417805001139641,
-0.033863868564367294,
0.031135912984609604,
-0.1497923582792282,
-0.1376955360174179,
0.06036687642335892,
-0.18294359743595123,
0.06426871567964554,
-0.12315961718559265,
-0.011061321943998337,
-0.0005070306360721588,
0.3218328654766083,
0.07921504974365234,
-0.011905483901500702,
0.4273841977119446,
-0.10143540799617767,
-0.13266310095787048,
0.002592742443084717,
0.5151388645172119,
-0.16225841641426086,
-0.13072767853736877,
0.1497730314731598,
-0.09202087670564651,
-0.2808956503868103,
-0.03131004050374031,
0.26326099038124084,
0.09462562203407288,
-0.12203378230333328,
-0.6252105832099915,
-0.051208749413490295,
-0.26780396699905396,
-0.17703229188919067,
0.24354222416877747,
0.14967820048332214,
-0.12898223102092743,
-0.32183218002319336,
-0.08300989866256714,
-0.13591431081295013,
-0.26933857798576355,
-0.023274119943380356,
0.33061715960502625,
-0.03167641535401344,
-0.40568438172340393,
0.12337752431631088,
-0.24427734315395355,
0.12737219035625458,
-0.11947255581617355,
0.10271549969911575,
0.020515237003564835,
0.2925713062286377,
-0.2590291500091553,
0.20644909143447876,
0.028928829357028008,
-0.057973071932792664,
0.04991766810417175,
-0.4333418905735016,
-0.10066070407629013,
-0.39186012744903564,
-0.14497891068458557,
0.17322000861167908,
-0.2516421973705292,
0.17447343468666077,
0.13953717052936554,
-0.03452520817518234,
-0.04386662691831589,
0.04786928743124008,
0.06419573724269867,
-0.21854563057422638,
0.03652495890855789,
-0.3067726194858551,
-0.07678243517875671,
0.3548928201198578,
0.07390640676021576,
0.04041176661849022,
-0.14880889654159546,
0.1442650854587555,
0.22077253460884094,
-0.09014786779880524,
0.061504192650318146,
0.13519911468029022,
0.1394501030445099,
0.12147841602563858,
-0.22044773399829865,
0.44215139746665955,
0.17617055773735046,
0.26779332756996155,
-0.24324187636375427,
0.2803134620189667,
0.10335027426481247,
-0.35526734590530396,
0.23392295837402344,
0.1815689206123352,
0.06705738604068756,
0.180948868393898,
0.08018337190151215,
-0.053554873913526535,
-0.2943486273288727,
-0.405496746301651,
0.18336889147758484,
0.3627833127975464,
-0.1513906866312027,
-0.17448315024375916,
0.2044246345758438,
-0.11878126859664917,
0.14204999804496765,
0.2528572380542755,
0.19196784496307373,
-0.21071267127990723,
0.08022233098745346,
0.14178435504436493,
-0.1808852255344391,
0.2720505893230438,
-0.27556830644607544,
0.3547855615615845,
-0.11958859115839005,
0.07550688832998276,
-0.11994312703609467,
0.011229448951780796,
-0.09364444762468338,
0.28004518151283264,
0.02644765004515648,
-0.17397993803024292,
0.5653653740882874,
-0.35471540689468384,
0.28137439489364624,
-0.4854441285133362,
-0.2723676562309265,
0.18419140577316284,
0.0680171549320221,
-0.1597854644060135,
0.35189178586006165,
0.1764325201511383,
-0.13097161054611206,
-0.3712550699710846,
0.19127687811851501,
-0.024812357500195503,
-0.3423926830291748,
-0.37991011142730713,
-0.3251968324184418,
0.029803220182657242,
-0.13653546571731567,
-0.4258177578449249,
-0.06969767063856125,
-0.5322520136833191,
0.10684269666671753,
0.11517371237277985,
0.04056910425424576,
0.18390555679798126,
0.13032755255699158,
0.011051732115447521,
0.15892872214317322,
0.09137570858001709,
-0.1520313322544098,
-0.011626038700342178,
0.02055281400680542,
-0.2664158046245575,
-0.21300487220287323,
-0.0077883899211883545,
-0.21131578087806702,
0.19716323912143707,
-0.1571766436100006,
-0.17045080661773682,
-0.4628250300884247,
-0.2615368962287903,
0.052791956812143326,
0.0847131609916687,
0.008440660312771797,
0.32488614320755005,
0.007293520495295525,
-0.3490389585494995,
-0.14176811277866364,
-0.25535938143730164,
0.09974926710128784,
-0.23406153917312622,
0.05315602570772171,
-0.1304764449596405,
0.20967376232147217,
-0.11144913733005524,
0.5549237132072449,
0.2143431007862091,
-0.20389528572559357,
0.1248515322804451,
-0.15701109170913696,
0.5473793745040894,
0.10229314863681793,
-0.07713638246059418,
0.07332133501768112,
0.18212354183197021,
0.13887366652488708,
0.1839829385280609,
-0.14508581161499023,
-0.239779993891716,
0.0003679543733596802,
0.09609971940517426,
-0.27100324630737305,
-0.11234898865222931,
-0.027558458968997,
-0.04933411628007889,
0.367856502532959,
0.01031365618109703,
-0.17652085423469543,
-0.23814986646175385,
-0.08783319592475891,
0.06212626025080681,
0.24837450683116913,
0.2845921814441681,
-0.1656176745891571,
-0.737125813961029,
-0.25561198592185974,
-0.3219675123691559,
0.2888548970222473,
0.09155534952878952,
0.019048474729061127,
-0.3875941336154938,
-0.15360751748085022,
0.18768760561943054,
0.011447547003626823,
0.29270610213279724,
-0.5034277439117432,
-0.3811119794845581,
0.2234996259212494,
0.19144268333911896,
-0.02599375881254673,
0.1285090297460556,
-0.1051463782787323,
0.15260013937950134,
0.1667799949645996,
0.4164644777774811,
-0.0084754079580307,
0.05687990412116051,
0.47403380274772644,
-0.10945988446474075,
-0.09393194317817688,
-0.2619944214820862,
-0.0732966884970665,
-0.5514357686042786,
-0.41505885124206543,
0.29513493180274963,
0.3149281442165375,
0.10300631821155548,
-0.026818834245204926,
-0.04723484814167023,
0.27668923139572144,
0.01484469324350357,
0.01633327454328537,
0.21285107731819153,
0.3149840533733368,
0.37946686148643494,
-0.2119695544242859,
-0.08182144165039062,
-0.10354462265968323,
0.06622137874364853,
0.30007386207580566,
-0.21638676524162292,
-0.09456036984920502,
0.3888896703720093,
-0.31876590847969055,
0.3542250096797943,
0.3432355523109436,
0.16733789443969727,
0.2374860942363739,
0.26033422350883484,
0.2711462676525116,
-0.02266436442732811,
0.14933300018310547,
-0.061141759157180786,
-0.14381445944309235,
-0.22030609846115112,
-0.16362525522708893,
-0.06246451288461685,
0.14831320941448212,
-0.26049476861953735,
-0.037113338708877563,
0.30272412300109863,
-0.005566280335187912,
0.180319145321846,
0.15438568592071533,
0.819656491279602,
0.04302401840686798,
0.09059959650039673,
0.02186172641813755,
-0.19259248673915863,
0.3227039575576782,
-0.009669464081525803,
-0.20118290185928345,
-0.4256008267402649,
-0.13128182291984558,
0.05400460213422775,
-0.10747712850570679,
0.06559555977582932,
0.017535347491502762,
-0.3643428385257721,
-0.08792689442634583,
-0.055828727781772614,
-0.036246683448553085,
0.46132948994636536,
0.31736862659454346,
-0.12306191772222519,
-0.1451086401939392,
0.14991328120231628,
0.18267077207565308,
0.07881306111812592,
0.06288802623748779,
-0.2802385091781616,
-0.0238308347761631,
0.16727226972579956,
-0.12069278955459595,
-0.3290709853172302,
-0.07530510425567627,
-0.24434512853622437,
-0.12216264009475708,
0.16469834744930267,
-0.3562459945678711,
0.25322505831718445,
0.4521501958370209,
0.6277997493743896,
0.19180694222450256,
-0.030187299475073814,
0.43599584698677063,
0.2403893768787384,
0.07341822981834412,
0.017223428934812546,
-0.06146074831485748,
0.023175042122602463,
-0.2912079691886902,
-0.22280696034431458,
0.13607853651046753,
-0.02838793769478798,
-0.4216715693473816,
-0.1894371211528778,
0.058535367250442505,
0.3633439540863037,
-0.19011177122592926,
0.14249181747436523,
-0.18817830085754395,
-0.14108258485794067,
-0.3671906292438507,
0.1957152932882309,
-0.009721532464027405,
0.1219540685415268,
-0.16595208644866943,
0.3578938841819763,
-0.3575640916824341,
0.0888763964176178,
-0.12920504808425903,
0.0992523580789566,
-0.3895787000656128,
0.2168358415365219,
0.034602630883455276,
-0.10326391458511353,
-0.4593447148799896,
0.05792681872844696,
0.01430539134889841,
-0.3275843560695648,
0.08242658525705338,
0.34548139572143555,
-0.38962388038635254,
0.02370128408074379,
0.6932291388511658,
0.06220320612192154,
0.3774352967739105,
-0.06428080797195435,
-0.22532324492931366,
-0.3142301142215729,
0.0825326144695282,
-0.1770080327987671,
0.23769216239452362,
0.13639843463897705,
0.33247530460357666,
0.1871812343597412,
-0.16323408484458923,
-0.45333245396614075,
-0.017343992367386818,
-0.16240912675857544,
-0.15454690158367157,
-0.012177381664514542,
-0.2527649998664856,
0.1035367026925087,
0.09515358507633209,
0.18152596056461334,
0.12682734429836273,
-0.17295119166374207,
-0.284394234418869,
-0.06504708528518677,
0.11670182645320892,
-0.01697799563407898,
-0.2287016063928604,
0.20299726724624634,
0.20959319174289703,
-0.013790950179100037,
0.16681794822216034,
-0.016765089705586433,
-0.21202793717384338,
0.1487915813922882,
0.02671794965863228,
-0.5931997299194336,
0.07699679583311081,
-0.039279282093048096,
-0.217806875705719,
0.1757785677909851,
0.16179248690605164,
-0.0402643047273159,
0.1300782859325409,
0.03200485184788704,
-0.07831048965454102,
0.36134636402130127,
0.22102028131484985,
0.3665018677711487,
0.29758065938949585,
-0.021598421037197113,
0.007403288036584854,
-0.18577148020267487,
0.11494448781013489,
0.3031322658061981,
-0.23117175698280334,
-0.19461622834205627,
0.02447783388197422,
0.19220346212387085,
0.37228935956954956,
-0.3532780706882477,
0.12416531145572662,
0.0382087305188179,
-0.24266977608203888,
0.17762312293052673,
0.13893729448318481,
0.24176114797592163,
-0.27325212955474854,
0.2317603975534439,
0.15933644771575928,
0.22692380845546722,
-0.4496651887893677,
0.2144623100757599,
0.05772709101438522,
-0.22856850922107697,
0.1668199747800827,
0.47579899430274963,
-0.004527464509010315,
-0.12710794806480408,
0.042572155594825745,
0.3813662827014923,
0.2048490345478058,
-0.04249420762062073,
0.3468066453933716,
0.2966725826263428,
-0.30626794695854187,
0.7304110527038574,
-0.2945053279399872,
-0.0320257842540741,
-0.08117326349020004,
0.3292893171310425,
0.0604216605424881,
0.1407681107521057,
-0.04259859025478363,
-0.3424019515514374,
-0.06685160100460052,
-0.23994511365890503,
-0.28724536299705505,
-0.25753074884414673,
-0.1432529091835022,
0.1413826048374176,
0.026511255651712418,
0.18001224100589752,
0.04560912773013115,
0.1666787564754486,
-0.16801714897155762,
0.026150085031986237,
-0.24006973206996918,
-0.08354300260543823,
0.15216189622879028,
0.09553789347410202,
-0.22548706829547882,
0.2471221387386322,
0.005949266254901886,
-0.20525407791137695,
0.18328016996383667,
0.21685189008712769,
0.28814706206321716,
-0.022088143974542618,
0.33138546347618103,
0.13855089247226715,
-0.22967520356178284,
-0.0996152013540268,
-0.17403092980384827,
-0.06574223935604095,
0.5887837409973145,
0.23229588568210602,
-0.0552564337849617,
0.2808964252471924,
-0.32117941975593567,
0.21135473251342773,
-0.1162225604057312,
0.10959354043006897,
0.08842048048973083,
-0.20871013402938843,
-0.04615722596645355,
-0.19591176509857178,
-0.1506761610507965,
0.1745913028717041,
-0.10385967046022415,
-0.035038091242313385,
0.09015356004238129,
-0.2544364631175995,
0.03577983006834984,
-0.3484099805355072,
0.1296079456806183,
0.2910904586315155,
0.1590823084115982,
0.27533313632011414,
0.112208291888237,
-0.07509668171405792,
-0.30978575348854065,
-0.21174459159374237,
0.39915919303894043,
0.34145963191986084,
0.14488646388053894,
-0.12181851267814636,
0.03188087046146393,
0.251348614692688,
-0.07922197133302689,
0.18829354643821716,
0.016776353120803833,
-0.02840907871723175,
0.0209503211081028,
-0.1912609040737152,
0.12314729392528534,
0.30258700251579285,
0.24635589122772217,
0.03243860602378845,
-0.0026127323508262634,
-0.04856950417160988,
0.05749434605240822,
0.24591705203056335,
-0.37283962965011597,
-0.3371002674102783,
0.14017775654792786,
0.21497604250907898,
0.1478101909160614,
0.26275643706321716,
0.5298316478729248,
-0.2999366223812103,
0.0013971682637929916,
-0.05942821875214577,
-0.229657381772995,
-0.1995508372783661,
0.28364619612693787,
0.22393859922885895,
0.22749760746955872,
0.12179998308420181,
0.006656598299741745,
-0.0867014080286026,
0.004272929392755032,
0.04724128544330597,
0.08373408764600754,
-0.1928032487630844,
0.5101463198661804,
0.16794279217720032,
0.011569252237677574,
0.012509318999946117,
-0.050793036818504333,
0.009402424097061157,
-0.1193234920501709,
-0.2512587904930115,
-0.5108706951141357,
0.4709489941596985,
-0.12588189542293549,
-0.20992378890514374,
0.0976879820227623,
0.2678588628768921,
-0.13111430406570435,
0.18905611336231232,
-0.20955544710159302,
0.07064744085073471,
0.1687387377023697,
0.013767257332801819,
-0.29844141006469727,
0.40479031205177307,
-0.24268364906311035,
0.0286245234310627,
-0.05546512454748154,
0.7340570688247681,
-0.0881137102842331,
-0.46798911690711975,
-0.35866889357566833,
-0.3270532488822937
] |
https://github.com/huggingface/datasets/pull/470 | Adding IWSLT 2017 dataset. | Ok I tried to add the dummy dataset (I actually modified the dummy_data command to generate them for me because it was too painful to do that manually).
The dummy_data test seems to work:
```bash
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_iwslt2017
```
However the test on the full data fails, because the `**config_kwargs` don't include `pair, multilingual`.
I could add a default parameter for the Config (but that feels broken, how can one config be the "default" ?). If I do I still have errors, saying that something within the downloader is a directory so I'm not sure where that comes from.
I can share my auto_zip dummy data code if you want (I tried to keep it clean). [Edit: it's [here](https://github.com/Narsil/nlp/tree/auto_zip)].
The way it works is that it just keeps X line from the beginning of the original files, and Y lines at the end. It's good enough for my usage, but I guess it could work for most data files out there (as long as they're real text and not binary format) | Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure how to handle bilingual vs multilingual. Given `nlp` architecture a Config option seems to be the way to go, however, it might be a bit confusing to have different language pairs with different option. Using just language pairs is not viable as English to German exists in both.
Any opinion on how that should be done ?
EDIT: I decided to just omit de-en from multilingual as it's only a subset of the bilingual one. That way only language pairs exist.
EDIT : Could be interesting for #438 | 171 | text: Adding IWSLT 2017 dataset.
Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure how to handle bilingual vs multilingual. Given `nlp` architecture a Config option seems to be the way to go, however, it might be a bit confusing to have different language pairs with different option. Using just language pairs is not viable as English to German exists in both.
Any opinion on how that should be done ?
EDIT: I decided to just omit de-en from multilingual as it's only a subset of the bilingual one. That way only language pairs exist.
EDIT : Could be interesting for #438
Ok I tried to add the dummy dataset (I actually modified the dummy_data command to generate them for me because it was too painful to do that manually).
The dummy_data test seems to work:
```bash
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_iwslt2017
```
However the test on the full data fails, because the `**config_kwargs` don't include `pair, multilingual`.
I could add a default parameter for the Config (but that feels broken, how can one config be the "default" ?). If I do I still have errors, saying that something within the downloader is a directory so I'm not sure where that comes from.
I can share my auto_zip dummy data code if you want (I tried to keep it clean). [Edit: it's [here](https://github.com/Narsil/nlp/tree/auto_zip)].
The way it works is that it just keeps X line from the beginning of the original files, and Y lines at the end. It's good enough for my usage, but I guess it could work for most data files out there (as long as they're real text and not binary format) | [
-0.1192980408668518,
-0.042641833424568176,
0.06759974360466003,
0.0507853664457798,
-0.33573490381240845,
-0.015044212341308594,
0.2830795645713806,
-0.0014796145260334015,
-0.03676430881023407,
-0.16942594945430756,
0.11667254567146301,
0.21442773938179016,
0.05974593013525009,
0.23213477432727814,
0.12014010548591614,
-0.0006299726665019989,
0.12208543717861176,
-0.12272290885448456,
-0.12045738101005554,
-0.12965017557144165,
-0.38103747367858887,
0.10749121755361557,
-0.055058009922504425,
-0.22042535245418549,
-0.23256663978099823,
-0.14431357383728027,
-0.24101614952087402,
0.3033968508243561,
0.07623323798179626,
-0.2523556649684906,
0.21281053125858307,
0.30001890659332275,
0.14213837683200836,
-0.07256612926721573,
-0.00012173365394119173,
-0.11003252863883972,
0.2680854797363281,
-0.2863990068435669,
-0.41116175055503845,
-0.2680758833885193,
-0.25032874941825867,
-0.5971335172653198,
-0.05779166519641876,
-0.2684810161590576,
-0.09957893192768097,
-0.3449733853340149,
0.11421225965023041,
-0.09625747799873352,
0.08483156561851501,
0.1479928344488144,
0.10681170970201492,
0.23688679933547974,
-0.0943964421749115,
0.18852314352989197,
-0.28500235080718994,
-0.02523079514503479,
-0.024054288864135742,
0.0888223946094513,
0.2756612300872803,
-0.1819765865802765,
-0.10426153987646103,
0.13614509999752045,
0.04913505166769028,
0.002523595467209816,
-0.03662950545549393,
0.18235443532466888,
0.18213964998722076,
-0.3650496304035187,
0.11355066299438477,
0.38449758291244507,
0.6180182099342346,
-0.19088312983512878,
-0.20960979163646698,
-0.35967326164245605,
0.08600196987390518,
-0.19752225279808044,
0.2663699686527252,
0.28460660576820374,
-0.22833913564682007,
0.05918031558394432,
-0.05783159285783768,
-0.22246471047401428,
-0.2058301568031311,
0.5911270976066589,
-0.17679715156555176,
0.6556768417358398,
0.22646760940551758,
0.2947486937046051,
0.1845863312482834,
-0.1458745002746582,
0.0970209538936615,
-0.3191281259059906,
0.08952687680721283,
0.3637143075466156,
-0.1434011161327362,
-0.18993766605854034,
-0.022156506776809692,
0.035851139575242996,
0.2501584589481354,
0.06585757434368134,
-0.1805644929409027,
-0.09600921720266342,
-0.3740862309932709,
0.20576322078704834,
0.14899040758609772,
0.22906169295310974,
0.24229660630226135,
0.12465596944093704,
0.10047879815101624,
-0.09181990474462509,
0.4132341146469116,
0.19386020302772522,
0.254597008228302,
-0.2390262484550476,
-0.29127249121665955,
0.12501688301563263,
0.27673226594924927,
-0.06191027909517288,
-0.13360433280467987,
-0.09695825725793839,
-0.17782965302467346,
-0.28804251551628113,
0.06876371055841446,
0.1830376386642456,
0.030704569071531296,
0.30798104405403137,
-0.21515299379825592,
0.4189792275428772,
-0.19010625779628754,
-0.23333421349525452,
0.008371612057089806,
0.19987182319164276,
-0.23308125138282776,
0.13221780955791473,
0.2776944041252136,
0.40634018182754517,
0.09776609390974045,
0.2204202115535736,
-0.08509905636310577,
-0.04701349511742592,
0.02083749882876873,
-0.12136019766330719,
0.16412323713302612,
-0.030748624354600906,
0.12230820953845978,
0.29900142550468445,
-0.07229070365428925,
-0.1633993685245514,
-0.37037381529808044,
0.33712244033813477,
-0.16240054368972778,
-0.0973505899310112,
-0.017212824895977974,
0.04733915627002716,
-0.4517645835876465,
-0.19521720707416534,
0.3197591304779053,
0.6213788390159607,
0.0337095707654953,
-0.1324482560157776,
-0.010281875729560852,
-0.027359113097190857,
-0.3991874158382416,
-0.2961147427558899,
-0.012318567372858524,
0.5891585946083069,
-0.5690444707870483,
-0.220006063580513,
0.23377548158168793,
0.04030417650938034,
0.28178998827934265,
0.1908567100763321,
-0.2051088660955429,
0.13044330477714539,
-0.1926329880952835,
0.23156709969043732,
0.41962090134620667,
-0.10966962575912476,
-0.029851386323571205,
0.21410992741584778,
-0.04542875289916992,
0.27231213450431824,
0.3325337767601013,
0.28632742166519165,
-0.13084374368190765,
-0.20856796205043793,
-0.09444865584373474,
0.5249379873275757,
-0.1302410215139389,
0.097098208963871,
-0.2738569378852844,
-0.4201902449131012,
0.6592360138893127,
0.16635820269584656,
0.06856037676334381,
-0.25130876898765564,
0.029857240617275238,
0.15912938117980957,
0.3646237850189209,
-0.15761719644069672,
0.25633516907691956,
-0.027853939682245255,
-0.12133806943893433,
0.1132170557975769,
-0.013509053736925125,
0.2589033246040344,
-0.5626178979873657,
0.31876274943351746,
-0.12451149523258209,
0.40329426527023315,
0.05306847393512726,
0.04455754905939102,
-0.1717158555984497,
-0.4519751965999603,
-0.45943090319633484,
-0.2477349042892456,
0.0622619092464447,
0.4293228089809418,
0.029579918831586838,
0.04604605957865715,
-0.21294689178466797,
0.39702507853507996,
-0.10875522345304489,
-0.11192779242992401,
-0.6192573308944702,
0.3978336751461029,
0.1640104055404663,
-0.1031576544046402,
-0.1330447643995285,
0.362076073884964,
0.10317938029766083,
-0.24289225041866302,
-0.020345456898212433,
0.22149041295051575,
-0.04862706735730171,
0.383392870426178,
0.1392836570739746,
0.20688806474208832,
0.24153228104114532,
-0.14803580939769745,
0.29639989137649536,
0.19894279539585114,
0.0056952983140945435,
-0.13808640837669373,
-0.24936813116073608,
0.31901007890701294,
0.2011580616235733,
0.34084993600845337,
-0.18156279623508453,
-0.2013189196586609,
0.21478191018104553,
-0.257324755191803,
-0.39245352149009705,
-0.18877047300338745,
0.07113948464393616,
-0.019326813519001007,
0.043014150112867355,
0.21820411086082458,
-0.40438398718833923,
0.16323329508304596,
0.4339761435985565,
-0.12161341309547424,
0.11583428829908371,
0.2776241898536682,
0.1266612410545349,
0.018631108105182648,
0.05393768101930618,
0.13968431949615479,
0.5637070536613464,
0.05067657306790352,
0.10317042469978333,
-0.10529229789972305,
-0.3527242839336395,
-0.081688292324543,
0.13070976734161377,
-0.019663125276565552,
0.020062947645783424,
0.04531535506248474,
0.12247145175933838,
-0.1118100956082344,
-0.12022962421178818,
0.06397171318531036,
0.13590356707572937,
0.08562704920768738,
-0.24024300277233124,
0.0412532314658165,
-0.4881862998008728,
-0.7533137202262878,
-0.5065839290618896,
-0.12250717729330063,
-0.26151877641677856,
-0.09417222440242767,
0.19836796820163727,
0.008513875305652618,
-0.20286372303962708,
0.26040539145469666,
0.15453355014324188,
0.19552886486053467,
-0.30658814311027527,
-0.3493776321411133,
-0.0049642883241176605,
-0.13813504576683044,
-0.5290738940238953,
-0.01285557635128498,
0.7020861506462097,
0.1751110702753067,
0.4419897198677063,
-0.222578763961792,
-0.4016914963722229,
-0.1816461682319641,
-0.3263893127441406,
0.09196770191192627,
0.04285135120153427,
0.20244066417217255,
-0.10335026681423187,
0.3085470199584961,
0.1295955777168274,
-0.244061678647995,
0.21798746287822723,
0.3974810838699341,
0.12863588333129883,
-0.05534641072154045,
-0.1809789389371872,
-0.048453494906425476,
-0.03379096835851669,
-0.612865149974823,
-0.5986416339874268,
-0.28576502203941345,
0.08829433470964432,
-0.0009179189801216125,
0.09028177708387375,
-0.001031193882226944,
0.09866025298833847,
-0.17464612424373627,
-0.060747046023607254,
-0.14368700981140137,
-0.1346951574087143,
0.2920222878456116,
0.19837325811386108,
0.1710004061460495,
-0.2735963761806488,
-0.017668738961219788,
-0.18326015770435333,
0.18672437965869904,
-0.1677236706018448,
-0.10455088317394257,
-0.0659962072968483,
-0.02973857708275318,
0.41431233286857605,
-0.07753147184848785,
0.21223555505275726,
0.506481409072876,
0.0986584946513176,
0.14369262754917145,
-0.022312099114060402,
-0.058481354266405106,
0.40144476294517517,
0.3666467070579529,
0.3583745062351227,
0.36754533648490906,
-0.11473455280065536,
-0.05147502198815346,
0.2776073217391968,
0.4926690459251404,
0.04297102987766266,
0.22790473699569702,
0.1218075230717659,
0.13051210343837738,
-0.10735706239938736,
-0.21398024260997772,
0.13301487267017365,
0.09165240824222565,
0.05094888061285019,
0.5774118304252625,
0.038124941289424896,
-0.5096749067306519,
-0.17501406371593475,
-0.030380651354789734,
-0.3149295449256897,
-0.40001338720321655,
0.5398846864700317,
0.11870691925287247,
0.1126086488366127,
-0.11688369512557983,
-0.44956958293914795,
-0.27111735939979553,
-0.2769795358181,
-0.14453528821468353,
0.355116069316864,
-0.2543475925922394,
0.35295137763023376,
-0.15999586880207062,
-0.293583482503891,
-0.25257521867752075,
-0.03419816493988037,
0.26935550570487976,
0.5039393305778503,
-0.24917638301849365,
-0.05019965022802353,
0.0440569743514061,
0.010811345651745796,
0.24790601432323456,
-0.1561654806137085,
-0.15452496707439423,
0.22959551215171814,
0.3759092390537262,
-0.036113109439611435,
-0.1332482546567917,
-0.29839539527893066,
0.04304893687367439,
0.3797348737716675,
0.32019251585006714,
-0.40759211778640747,
-0.27059873938560486,
-0.08679822087287903,
0.6677324771881104,
-0.1794617921113968,
-0.347729355096817,
-0.12469379603862762,
-0.3235446512699127,
-0.3615965247154236,
-0.03753579407930374,
-0.03636227548122406,
-0.06025434285402298,
-0.16859480738639832,
0.1440318524837494,
0.4903389811515808,
-0.2939068675041199,
0.19659145176410675,
0.27508530020713806,
0.06733611971139908,
0.19348253309726715,
-0.024515364319086075,
0.1236550360918045,
-0.14887845516204834,
-0.12033754587173462,
0.36534690856933594,
0.06268192827701569,
-0.14606717228889465,
0.013364878483116627,
-0.2610502243041992,
0.2660863399505615,
0.29979103803634644,
0.022163569927215576,
0.10297033935785294,
-0.29829221963882446,
-0.13340052962303162,
-0.18193942308425903,
0.0312103983014822,
0.26606622338294983,
0.2178787887096405,
-0.4027693569660187,
-0.4638824164867401,
0.5573849081993103,
-0.02106652595102787,
-0.2749607563018799,
0.40887004137039185,
-0.1830180138349533,
-0.4569402039051056,
0.26939821243286133,
-0.16886591911315918,
0.9787830114364624,
0.2952805757522583,
0.1970687359571457,
0.3141835927963257,
0.13108359277248383,
0.666716992855072,
-0.23590968549251556,
-0.0904286801815033,
-0.08765581250190735,
0.6341232657432556,
0.009657306596636772,
0.041961733251810074,
0.1818266212940216,
0.30309122800827026,
-0.4034818112850189,
0.4951460063457489,
0.07960246503353119,
-0.3959892690181732,
0.2248276025056839,
0.5287193059921265,
-0.2515850067138672,
-0.40042537450790405,
-0.08953200280666351,
-0.011516833677887917,
-0.05732239782810211,
0.13780856132507324,
-0.037927836179733276,
-0.14244836568832397,
-0.14862793684005737,
-0.05513141304254532,
-0.21457606554031372,
-0.08122153580188751,
-0.271487832069397,
0.1639895886182785,
-0.09788630902767181,
0.1168849915266037,
0.20574665069580078,
0.26465198397636414,
0.32238924503326416,
-0.31268343329429626,
-0.12403726577758789,
-0.1002410352230072,
0.16494905948638916,
0.2168474644422531,
-0.02078087627887726,
-0.1767084300518036,
0.4971969723701477,
-0.16923630237579346,
-0.36026906967163086,
-0.13273826241493225,
-0.16665934026241302,
0.3616456985473633,
-0.25933894515037537,
-0.12133020162582397,
0.2889062166213989,
-0.05815538391470909,
-0.2758750915527344,
0.32917022705078125,
0.04025566205382347,
-0.05554308369755745,
0.009221398271620274,
0.15591639280319214,
-0.18565724790096283,
0.35319748520851135,
-0.2110455185174942,
-0.08262820541858673,
-0.12789224088191986,
-0.18548095226287842,
0.2274712324142456,
0.007440384477376938,
0.3170204758644104,
0.05076304450631142,
0.0833391472697258,
-0.06762752681970596,
0.30240073800086975,
-0.32077959179878235,
-0.5329611301422119,
-0.23148268461227417,
0.4463904798030853,
-0.1049075797200203,
-0.3364487588405609,
0.30700427293777466,
0.13157930970191956,
0.2949428856372833,
-0.046708229929208755,
-0.481247216463089,
0.03778287023305893,
0.1303536593914032,
0.2736254334449768,
0.10964062064886093,
0.022991158068180084,
0.3474414646625519,
0.20268435776233673,
-0.09446196258068085,
-0.21430571377277374,
-0.14989739656448364,
-0.2129429280757904,
0.35529589653015137,
0.4225133955478668,
0.08845273405313492,
0.03322731330990791,
0.08986306190490723,
0.01163054071366787,
-0.3734733462333679,
-0.1248738020658493,
-0.11160679161548615,
-0.29516324400901794,
0.1797524392604828,
0.13696753978729248,
-0.18789973855018616,
0.09450099617242813,
-0.3627416491508484,
0.29489344358444214,
-0.03078211098909378,
-0.044597625732421875,
-0.04466591402888298,
-0.2704300880432129,
0.26797086000442505,
0.09140963852405548,
0.03911332041025162,
-0.12937696278095245,
0.44873547554016113,
-0.07878036797046661,
0.031845152378082275,
-0.06052831932902336,
0.29762715101242065,
-0.0768946036696434,
-0.07042073458433151,
0.1497550755739212,
0.08847755193710327,
0.09073055535554886,
0.17258238792419434,
-0.3283481299877167,
0.023497797548770905,
0.24508708715438843,
-0.3420126140117645,
-0.04318768531084061,
0.36369404196739197,
-0.1225692629814148,
-0.032582540065050125,
0.394444078207016,
0.07925708591938019,
-0.19308127462863922,
-0.017261924222111702,
0.27059686183929443,
-0.09875258058309555,
0.348821222782135,
0.3780404329299927,
0.39676782488822937,
0.026599615812301636,
0.3291669487953186,
-0.2635527551174164,
0.030053891241550446,
-0.28457677364349365,
-0.09632594883441925,
0.2700033485889435,
-0.20323607325553894,
0.2251848578453064,
-0.10110131651163101,
-0.20797474682331085,
-0.06573984771966934,
-0.09074009954929352,
-0.015652932226657867,
0.353676974773407,
0.22654569149017334,
0.03767336159944534,
-0.03484031558036804,
-0.3915303647518158,
0.2740976810455322,
-0.07112784683704376,
0.02807553857564926,
0.04920966550707817,
0.031810976564884186,
0.7576826214790344,
-0.13965706527233124,
-0.22050203382968903,
0.0854453444480896,
0.29436376690864563,
0.07114055752754211,
-0.08915002644062042,
-0.46285441517829895,
-0.22558599710464478,
-0.35023021697998047,
-0.17306360602378845,
-0.13740508258342743,
-0.3416065573692322,
0.027535051107406616,
0.2566223442554474,
0.05213518440723419,
-0.12522661685943604,
0.014981850981712341,
-0.03439334034919739,
-0.10618104785680771,
-0.10751108825206757,
0.5941574573516846,
0.3254619240760803,
-0.17630155384540558,
0.03568124398589134,
0.08028929680585861,
0.36289307475090027,
0.16224686801433563,
0.022767916321754456,
0.17979350686073303,
0.036181531846523285,
0.07965777069330215,
-0.11519099026918411,
0.15156547725200653,
0.061203733086586,
-0.07906642556190491,
0.4064825773239136,
0.02459658868610859,
-0.1229589432477951,
-0.0441318117082119,
0.04168970137834549,
-0.4110366702079773,
-0.1804165244102478,
0.1583150327205658,
-0.03092113882303238,
-0.010541938245296478,
-0.08300259709358215,
0.09518458694219589,
-0.5405682325363159,
-0.050093986093997955,
0.4211076498031616,
0.0005795012693852186,
0.18126451969146729,
0.10051988065242767,
0.017280172556638718,
0.016465984284877777,
0.42833247780799866,
-0.023097049444913864,
0.05824412405490875,
-0.28953734040260315,
-0.19065365195274353,
-0.6580923199653625,
-0.0835721418261528,
-0.21099111437797546,
-0.20350471138954163,
-0.2152433693408966,
0.007424049079418182,
0.3424806594848633,
0.21936701238155365,
-0.14394880831241608,
0.26804298162460327,
0.116861991584301,
0.21445906162261963,
-0.11952723562717438,
-0.3307622969150543,
0.04855138063430786,
0.4192999303340912,
-0.11997953057289124,
-0.1032525897026062,
-0.028670284897089005,
-0.03499314934015274,
-0.09659592062234879,
0.004499252885580063,
-0.12950293719768524,
0.21977847814559937,
0.03337009623646736,
-0.17056934535503387,
0.2628037631511688,
0.8121762275695801,
-0.15823028981685638,
0.025979993864893913,
-0.022974316030740738,
0.09629464149475098,
-0.18729268014431,
0.12417091429233551,
0.01935058832168579,
0.4019468128681183,
-0.30488625168800354,
0.31203681230545044,
-0.19468143582344055,
0.017043044790625572,
-0.11677584797143936,
-0.03621608391404152,
-0.13200592994689941,
0.15168190002441406,
-0.030945567414164543,
0.11465327441692352,
0.08761319518089294,
0.5298532843589783,
-0.0683809220790863,
-0.10569816827774048,
-0.13033545017242432,
-0.21545471251010895,
0.32570499181747437,
-0.17870022356510162,
-0.373101145029068,
0.035992756485939026,
-0.04914626479148865,
-0.06067795306444168,
0.38559430837631226,
-0.2925090193748474,
0.05880468338727951,
0.25065621733665466,
0.15904605388641357,
0.04471663758158684,
0.17970366775989532,
-0.03602924197912216,
-0.24575358629226685,
-0.08868977427482605,
-0.1750878542661667,
0.16919207572937012,
-0.16993317008018494,
0.10517778992652893,
-0.3430466055870056
] |
https://github.com/huggingface/datasets/pull/470 | Adding IWSLT 2017 dataset. | The slow test doesn't support dataset that require config parameters that don't have default values.
To improve that we can replace it by two tests:
- one test that loads the default config (it can simply be the first config of the config lists for example)
- one tests that iterate over all configs and load them all one by one
By using the configs inside the builder config lists, there is no need to instantiate new configs, so the missing parameter error doesn't happen.
Does that sound good to you ? | Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure how to handle bilingual vs multilingual. Given `nlp` architecture a Config option seems to be the way to go, however, it might be a bit confusing to have different language pairs with different option. Using just language pairs is not viable as English to German exists in both.
Any opinion on how that should be done ?
EDIT: I decided to just omit de-en from multilingual as it's only a subset of the bilingual one. That way only language pairs exist.
EDIT : Could be interesting for #438 | 92 | text: Adding IWSLT 2017 dataset.
Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure how to handle bilingual vs multilingual. Given `nlp` architecture a Config option seems to be the way to go, however, it might be a bit confusing to have different language pairs with different option. Using just language pairs is not viable as English to German exists in both.
Any opinion on how that should be done ?
EDIT: I decided to just omit de-en from multilingual as it's only a subset of the bilingual one. That way only language pairs exist.
EDIT : Could be interesting for #438
The slow test doesn't support dataset that require config parameters that don't have default values.
To improve that we can replace it by two tests:
- one test that loads the default config (it can simply be the first config of the config lists for example)
- one tests that iterate over all configs and load them all one by one
By using the configs inside the builder config lists, there is no need to instantiate new configs, so the missing parameter error doesn't happen.
Does that sound good to you ? | [
-0.3220565915107727,
0.03880229592323303,
0.01721709594130516,
0.024346087127923965,
-0.43487048149108887,
-0.02063567191362381,
0.24379843473434448,
0.04321570321917534,
0.008885588496923447,
-0.057643428444862366,
0.23694679141044617,
0.03145389258861542,
0.006956230849027634,
0.20378758013248444,
0.10296277701854706,
-0.08004431426525116,
0.05057555437088013,
-0.14040862023830414,
-0.08281145989894867,
-0.07862748205661774,
-0.31118354201316833,
-0.0375017449259758,
-0.18464422225952148,
-0.22253291308879852,
-0.19660866260528564,
-0.3188773989677429,
-0.2354748249053955,
0.29923874139785767,
0.07825779914855957,
-0.31946825981140137,
0.11822114884853363,
0.33296123147010803,
-0.011198529973626137,
-0.13419443368911743,
-0.00012042118760291487,
-0.08512613922357559,
0.31071239709854126,
-0.27392712235450745,
-0.23064158856868744,
-0.10305927693843842,
-0.41432279348373413,
-0.5236689448356628,
-0.18037165701389313,
-0.2192693054676056,
-0.10065913945436478,
-0.23288756608963013,
0.09538957476615906,
-0.15414667129516602,
-0.14837779104709625,
0.20533403754234314,
0.09722113609313965,
0.33458080887794495,
-0.2953829765319824,
0.1286984235048294,
-0.25839826464653015,
-0.0584590882062912,
0.001462804153561592,
-0.12606558203697205,
0.31817978620529175,
-0.03828038275241852,
-0.30147507786750793,
0.14710946381092072,
0.17628434300422668,
-0.01644318923354149,
-0.09984653443098068,
0.09905138611793518,
0.3473380208015442,
-0.3124220669269562,
0.14509007334709167,
0.46644219756126404,
0.5939091444015503,
-0.03259240835905075,
-0.06837506592273712,
-0.29495835304260254,
0.01647227257490158,
-0.15855546295642853,
0.33020827174186707,
0.04859079420566559,
-0.17893289029598236,
0.05060441792011261,
-0.15369364619255066,
-0.45691928267478943,
-0.19693416357040405,
0.43275386095046997,
-0.035842493176460266,
0.6071987152099609,
0.26603540778160095,
0.2722221314907074,
-0.03821459785103798,
-0.3192921280860901,
0.056024134159088135,
-0.4426024854183197,
0.09567271173000336,
0.3551454544067383,
-0.12698300182819366,
-0.2190784066915512,
-0.004897095263004303,
0.12162824720144272,
0.2909841537475586,
0.03446115925908089,
-0.3286742866039276,
-0.0766441747546196,
-0.27071550488471985,
0.16318005323410034,
0.17825405299663544,
0.162180557847023,
0.25048190355300903,
-0.05134792625904083,
0.22124828398227692,
-0.09752415120601654,
0.29075658321380615,
0.23407238721847534,
0.37350329756736755,
-0.3163788616657257,
-0.24745416641235352,
0.14409615099430084,
0.3522053360939026,
-0.08079266548156738,
-0.378258615732193,
0.03664913401007652,
-0.1750507652759552,
-0.35279691219329834,
0.24587444961071014,
0.3378998339176178,
-0.10125383734703064,
0.2973122000694275,
-0.07491718232631683,
0.2992326617240906,
-0.2217128425836563,
-0.3455117344856262,
-0.03685831278562546,
0.22872287034988403,
-0.14879681169986725,
0.14303168654441833,
0.2199610322713852,
0.38511642813682556,
0.1344064474105835,
0.2569673955440521,
0.020440153777599335,
-0.10559545457363129,
0.10692896693944931,
-0.08185216784477234,
0.198575958609581,
-0.06249646469950676,
0.15413561463356018,
0.21056516468524933,
-0.23222966492176056,
-0.23250292241573334,
-0.29323095083236694,
0.3792608976364136,
-0.027349241077899933,
-0.20494498312473297,
0.05832017958164215,
0.07461193948984146,
-0.30507057905197144,
-0.13221456110477448,
0.36655154824256897,
0.8428524136543274,
-0.08674357086420059,
-0.1112654060125351,
-0.16742342710494995,
0.05181033909320831,
-0.44461727142333984,
-0.22730687260627747,
-0.015259182080626488,
0.617789089679718,
-0.4369502365589142,
-0.2419351190328598,
0.2036588490009308,
0.01734384521842003,
0.1717846840620041,
0.28345736861228943,
-0.22772367298603058,
0.3277533948421478,
-0.11186209321022034,
0.015632212162017822,
0.5623574256896973,
-0.1178022176027298,
0.07647258788347244,
0.2597443461418152,
0.061262741684913635,
0.20472559332847595,
0.3029174506664276,
0.20873935520648956,
-0.051589690148830414,
-0.42266717553138733,
-0.04168324172496796,
0.456983745098114,
-0.2733387053012848,
0.11690626293420792,
-0.23082371056079865,
-0.2747764587402344,
0.6658565402030945,
0.1362091302871704,
0.28987956047058105,
-0.3380858302116394,
-0.009607411921024323,
0.2978437542915344,
0.27195680141448975,
-0.11582688987255096,
0.21815352141857147,
0.08046755939722061,
-0.14106449484825134,
-0.11971476674079895,
-0.07815436273813248,
0.19378557801246643,
-0.6104975938796997,
0.24812152981758118,
0.10215909779071808,
0.38910090923309326,
0.411624014377594,
0.1437329798936844,
-0.2346610724925995,
-0.3999737501144409,
-0.3693506717681885,
-0.009290538728237152,
0.04438021034002304,
0.3727783262729645,
-0.06787911057472229,
0.03538450971245766,
-0.15997737646102905,
0.3437328636646271,
-0.2178468406200409,
-0.21874548494815826,
-0.4298911392688751,
0.3081315755844116,
0.09545044600963593,
-0.16888241469860077,
0.07072516530752182,
0.2559080421924591,
0.27689430117607117,
-0.26419752836227417,
-0.011782364919781685,
0.3131095767021179,
-0.11537270247936249,
0.2952481508255005,
0.15874871611595154,
0.3142017126083374,
0.23650728166103363,
-0.2193586230278015,
0.3756369650363922,
0.1692713052034378,
-0.029136884957551956,
-0.2225574254989624,
-0.2521181106567383,
0.35483020544052124,
0.13436971604824066,
0.27107515931129456,
-0.05192441865801811,
-0.26211830973625183,
0.21595200896263123,
-0.2652137577533722,
-0.39187267422676086,
-0.22144080698490143,
0.22074416279792786,
-0.10172019898891449,
-0.018214033916592598,
0.2650521993637085,
-0.6120478510856628,
0.008638173341751099,
0.3562551438808441,
-0.09761744737625122,
0.13347789645195007,
0.15642684698104858,
0.2892760634422302,
0.01739400625228882,
0.040969543159008026,
-0.06612160056829453,
0.5400248169898987,
0.024751856923103333,
0.061149030923843384,
-0.03806091099977493,
-0.44693523645401,
0.017461247742176056,
0.16891038417816162,
-0.06864362955093384,
0.2549276053905487,
0.008868854492902756,
0.10221976786851883,
-0.20724108815193176,
-0.13268619775772095,
-0.01051369309425354,
0.25917425751686096,
0.06033053994178772,
-0.3726693391799927,
-0.17293591797351837,
-0.33783209323883057,
-0.5292749404907227,
-0.4142858684062958,
-0.1352957934141159,
-0.12381105124950409,
-0.11186107248067856,
0.3409886956214905,
-0.08671031892299652,
-0.2742522060871124,
0.3063920736312866,
0.09889797866344452,
0.23880793154239655,
-0.2660985291004181,
-0.16290177404880524,
-0.06609630584716797,
-0.11778604984283447,
-0.4175051748752594,
0.009054441004991531,
0.7021744847297668,
0.3057306706905365,
0.3781854808330536,
-0.3018325865268707,
-0.3361567258834839,
-0.2640001177787781,
-0.40718409419059753,
0.16688740253448486,
0.025173328816890717,
0.39022111892700195,
0.0011688917875289917,
0.30971068143844604,
0.1435784548521042,
-0.22879549860954285,
0.21265795826911926,
0.322238564491272,
0.16570468246936798,
-0.16434772312641144,
-0.2664799988269806,
-0.22418664395809174,
0.11553582549095154,
-0.7208326458930969,
-0.21797016263008118,
-0.23839406669139862,
-0.2082451730966568,
-0.09268488734960556,
0.06983638554811478,
-0.096044160425663,
0.06890498101711273,
-0.16009089350700378,
0.039150334894657135,
0.02124093472957611,
-0.17261138558387756,
0.10834987461566925,
0.15430040657520294,
0.07474886626005173,
-0.26185446977615356,
-0.0486663281917572,
-0.05552744120359421,
0.26880449056625366,
-0.19898009300231934,
-0.09943126142024994,
0.19833984971046448,
-0.052528537809848785,
0.48772406578063965,
-0.17764869332313538,
0.02182948961853981,
0.43291157484054565,
0.08558429032564163,
0.10719938576221466,
-0.13778544962406158,
-0.28711289167404175,
0.3460083305835724,
0.41721880435943604,
0.45492395758628845,
0.30987977981567383,
0.03620906174182892,
-0.059262000024318695,
0.38364237546920776,
0.3542883098125458,
0.0047597214579582214,
0.17087167501449585,
0.15653811395168304,
0.06177527457475662,
-0.014702513813972473,
-0.1535274237394333,
0.24247179925441742,
0.26405125856399536,
0.038895562291145325,
0.5661368370056152,
-0.0682355985045433,
-0.5373104214668274,
-0.21106046438217163,
-0.1512569785118103,
-0.20333388447761536,
-0.3476962745189667,
0.5449428558349609,
-0.11180074512958527,
0.28939899802207947,
-0.0034846384078264236,
-0.385293185710907,
-0.3768515884876251,
-0.14143234491348267,
-0.08168919384479523,
0.3115115165710449,
-0.13799920678138733,
0.2534056603908539,
-0.20283448696136475,
-0.20474545657634735,
-0.24483796954154968,
0.013869047164916992,
0.2987373471260071,
0.6702848672866821,
-0.28087466955184937,
0.06598735600709915,
0.10999947041273117,
0.028322909027338028,
0.13140462338924408,
-0.29459717869758606,
-0.10781228542327881,
0.2177651822566986,
0.36868447065353394,
-0.10902231931686401,
-0.04740606248378754,
-0.33741822838783264,
0.11992401629686356,
0.5609933733940125,
0.3777608871459961,
-0.43705204129219055,
-0.5277895927429199,
-0.00655394047498703,
0.5324022173881531,
-0.2844194173812866,
-0.3227723240852356,
-0.16630007326602936,
-0.3798506259918213,
-0.2552667558193207,
0.0709560215473175,
0.05005863308906555,
-0.12840771675109863,
0.0030821531545370817,
0.17364098131656647,
0.3361310660839081,
-0.10368814319372177,
0.22839540243148804,
0.2553251385688782,
-0.08767261356115341,
0.18072333931922913,
0.104556605219841,
0.009626951068639755,
-0.07993350923061371,
-0.2623105049133301,
0.24813486635684967,
0.0976940393447876,
-0.10554510354995728,
0.017915911972522736,
-0.19105900824069977,
0.4570743441581726,
0.36814022064208984,
0.11249123513698578,
0.12010219693183899,
-0.15340742468833923,
-0.19119946658611298,
-0.10733916610479355,
0.0776980072259903,
0.3303796648979187,
0.22676625847816467,
-0.5256175398826599,
-0.2818228006362915,
0.5082205533981323,
-0.006278739310801029,
-0.35610532760620117,
0.3071184754371643,
-0.0248858779668808,
-0.40078598260879517,
0.2791006565093994,
0.08583566546440125,
0.8725551962852478,
0.189167320728302,
-0.07400956749916077,
0.16811764240264893,
0.004965182393789291,
0.3485061228275299,
-0.0722195953130722,
-0.028088677674531937,
-0.04358988255262375,
0.46755117177963257,
0.07220147550106049,
0.05366669222712517,
0.26212939620018005,
0.2578514516353607,
-0.44955191016197205,
0.6224164366722107,
0.19635944068431854,
-0.32896888256073,
0.2568456828594208,
0.6043071746826172,
-0.24879100918769836,
-0.26530224084854126,
-0.1405462622642517,
0.0047242119908332825,
-0.09046094119548798,
-0.024049174040555954,
-0.11815519630908966,
-0.02014859952032566,
0.004674553871154785,
-0.12149527668952942,
-0.19495677947998047,
-0.18197166919708252,
-0.35650789737701416,
0.13504450023174286,
0.05444345995783806,
0.08916157484054565,
0.4502299129962921,
0.23243913054466248,
0.3368256092071533,
-0.25966498255729675,
-0.19181488454341888,
0.14117121696472168,
0.12934277951717377,
0.2789546251296997,
-0.043533969670534134,
-0.1920700967311859,
0.5985971093177795,
-0.1733422577381134,
-0.34720778465270996,
-0.14878788590431213,
-0.35921940207481384,
0.38403773307800293,
-0.415875643491745,
-0.1304578185081482,
0.2204613983631134,
-0.06435687094926834,
-0.25667402148246765,
0.38291823863983154,
-0.011293133720755577,
-0.08090551197528839,
0.021780848503112793,
0.05850132927298546,
-0.18284618854522705,
0.4962557256221771,
-0.035986434668302536,
-0.09777890145778656,
-0.09022338688373566,
-0.3095802664756775,
0.3151569068431854,
0.12160894274711609,
0.35702723264694214,
0.08598864078521729,
0.06146510690450668,
-0.10105416178703308,
0.349522203207016,
-0.15132459998130798,
-0.3832188844680786,
-0.20657117664813995,
0.35133275389671326,
-0.02813720703125,
-0.21600909531116486,
0.40683430433273315,
-0.02393244206905365,
0.15533816814422607,
-0.05909562110900879,
-0.28337398171424866,
0.08975617587566376,
0.11611460149288177,
0.1864047646522522,
0.03865203633904457,
-0.022201091051101685,
0.28608736395835876,
0.06999103724956512,
0.011152645573019981,
-0.23396459221839905,
-0.15877701342105865,
-0.4034319818019867,
0.5142430067062378,
0.3610512912273407,
0.2151031792163849,
-0.01864929310977459,
0.11202773451805115,
0.04239568114280701,
-0.5161205530166626,
-0.1218043714761734,
-0.08622799813747406,
-0.21591320633888245,
0.1856207549571991,
0.15056109428405762,
-0.06047171354293823,
0.09345874190330505,
-0.3341735005378723,
0.30177727341651917,
0.040371838957071304,
-0.014427948743104935,
-0.050793204456567764,
-0.23249252140522003,
0.23999206721782684,
-0.16506239771842957,
-0.1690671443939209,
0.018983475863933563,
0.2725141644477844,
0.030802834779024124,
0.043659888207912445,
-0.08286526799201965,
0.35223639011383057,
0.05563589558005333,
-0.16814860701560974,
0.2440231591463089,
0.14200575649738312,
0.05552149936556816,
0.11158422380685806,
-0.27983394265174866,
0.017773956060409546,
0.19960300624370575,
-0.19779784977436066,
-0.21509480476379395,
0.20103684067726135,
-0.09896384179592133,
-0.01334255002439022,
0.23552483320236206,
0.08530141413211823,
-0.22160840034484863,
-0.0011376752518117428,
0.24824321269989014,
-0.12278582900762558,
0.386223703622818,
0.2908211648464203,
0.36897704005241394,
-0.015197016298770905,
0.42840462923049927,
-0.2371370494365692,
-0.06310505419969559,
-0.3530345559120178,
-0.2671213150024414,
0.11388720571994781,
-0.0740664005279541,
0.1467542201280594,
0.0009148344397544861,
-0.1564994901418686,
-0.1082712784409523,
-0.09779517352581024,
0.1490638256072998,
0.536637008190155,
0.23552390933036804,
0.2640460729598999,
-0.023307710886001587,
-0.29223254323005676,
0.3215993344783783,
-0.02710534632205963,
-0.05617915093898773,
-0.03692802041769028,
0.006010882556438446,
0.6211791038513184,
-0.02088697999715805,
-0.21314238011837006,
0.01973450742661953,
0.15593364834785461,
0.02803071215748787,
-0.12266698479652405,
-0.616791844367981,
-0.17964988946914673,
-0.32894042134284973,
-0.111517995595932,
-0.10623063147068024,
-0.1667594611644745,
-0.06508700549602509,
0.24487945437431335,
0.23502855002880096,
-0.14956340193748474,
0.055136702954769135,
-0.03055521845817566,
-0.14376994967460632,
-0.14817246794700623,
0.7517095804214478,
0.24697265028953552,
-0.30172255635261536,
0.07642102241516113,
0.2598879337310791,
0.29316627979278564,
0.0557703971862793,
-0.05601285770535469,
0.15240545570850372,
0.10833786427974701,
-0.0511179119348526,
-0.036348700523376465,
0.12182822078466415,
0.08473005890846252,
0.035800665616989136,
0.4111149311065674,
0.01569628156721592,
-0.06408346444368362,
-0.13288219273090363,
0.062006209045648575,
-0.5313159227371216,
-0.20273935794830322,
0.03060062974691391,
-0.13046152889728546,
0.02734893560409546,
-0.15590138733386993,
0.07246086746454239,
-0.38305771350860596,
-0.1817483901977539,
0.37920790910720825,
-0.21750201284885406,
0.1976398527622223,
0.08582565933465958,
0.027596905827522278,
-0.06621736288070679,
0.5093002915382385,
-0.12249352037906647,
0.02617941051721573,
-0.3176431655883789,
-0.3584628105163574,
-0.5608570575714111,
-0.2048340141773224,
-0.11312618851661682,
0.01479790173470974,
-0.07345911115407944,
0.14924807846546173,
0.2988419234752655,
0.1387403905391693,
0.07066816091537476,
0.10671020299196243,
0.1096891462802887,
0.0785587951540947,
-0.15797828137874603,
-0.2889491617679596,
-0.01537042111158371,
0.37682822346687317,
-0.169484481215477,
-0.057210877537727356,
-0.028627533465623856,
0.05754278972744942,
-0.07546889781951904,
-0.19562524557113647,
-0.05202110856771469,
0.26221686601638794,
0.09682990610599518,
-0.19179955124855042,
0.2902549207210541,
0.7613043785095215,
-0.19250598549842834,
0.0067385341972112656,
0.00784970074892044,
0.11798693239688873,
-0.17239932715892792,
0.049674488604068756,
0.04115469753742218,
0.38009536266326904,
-0.22856250405311584,
0.3585600256919861,
-0.05734692141413689,
0.010962472297251225,
-0.10415992140769958,
-0.012938722968101501,
-0.13948705792427063,
0.15548191964626312,
-0.17898324131965637,
0.2679588496685028,
0.10664018243551254,
0.44982463121414185,
-0.021871715784072876,
-0.08045892417430878,
-0.20430780947208405,
-0.1322382241487503,
0.4179573059082031,
0.04395338520407677,
-0.4485456943511963,
-0.1565937101840973,
-0.011163756251335144,
-0.027265913784503937,
0.3300949037075043,
-0.24924355745315552,
-0.12945765256881714,
0.17340131103992462,
0.1799253523349762,
0.01713089644908905,
0.17926152050495148,
0.09471291303634644,
-0.10233008861541748,
-0.03356527164578438,
-0.3461780250072479,
0.11307801306247711,
-0.19952881336212158,
-0.06787285953760147,
-0.24732838571071625
] |
https://github.com/huggingface/datasets/pull/470 | Adding IWSLT 2017 dataset. | Seems fair.
However I'm unsure what I should do ?
Should I wait for #527 to pass and rebase and the command will be the same ?
Should I update something ? | Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure how to handle bilingual vs multilingual. Given `nlp` architecture a Config option seems to be the way to go, however, it might be a bit confusing to have different language pairs with different option. Using just language pairs is not viable as English to German exists in both.
Any opinion on how that should be done ?
EDIT: I decided to just omit de-en from multilingual as it's only a subset of the bilingual one. That way only language pairs exist.
EDIT : Could be interesting for #438 | 32 | text: Adding IWSLT 2017 dataset.
Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure how to handle bilingual vs multilingual. Given `nlp` architecture a Config option seems to be the way to go, however, it might be a bit confusing to have different language pairs with different option. Using just language pairs is not viable as English to German exists in both.
Any opinion on how that should be done ?
EDIT: I decided to just omit de-en from multilingual as it's only a subset of the bilingual one. That way only language pairs exist.
EDIT : Could be interesting for #438
Seems fair.
However I'm unsure what I should do ?
Should I wait for #527 to pass and rebase and the command will be the same ?
Should I update something ? | [
-0.06503643840551376,
-0.09548104554414749,
-0.035836972296237946,
-0.03901797533035278,
-0.38412541151046753,
-0.08715181052684784,
0.2765864133834839,
-0.13541193306446075,
0.02417786791920662,
-0.1517912894487381,
0.12571753561496735,
0.16963443160057068,
0.01606624200940132,
0.3241312503814697,
0.11758756637573242,
0.04169445484876633,
0.20614281296730042,
-0.13622485101222992,
-0.2104988992214203,
-0.22335277497768402,
-0.44474971294403076,
0.09081047028303146,
-0.06238351762294769,
-0.1921103447675705,
-0.2083776742219925,
-0.24401205778121948,
-0.10536959022283554,
0.23632153868675232,
0.07070887088775635,
-0.15914738178253174,
0.06936769932508469,
0.2762494683265686,
0.17131899297237396,
-0.2859136164188385,
-0.00011485030699986964,
-0.11756560951471329,
0.1588974893093109,
-0.22150778770446777,
-0.16174644231796265,
-0.24097992479801178,
-0.29433777928352356,
-0.5514336824417114,
-0.1347501128911972,
-0.2501411437988281,
-0.06120261549949646,
-0.27461886405944824,
0.18514034152030945,
-0.04644902050495148,
0.014398686587810516,
0.08833491057157516,
0.14269450306892395,
0.1428881585597992,
-0.02871222421526909,
0.2648298144340515,
-0.29598745703697205,
-0.025461561977863312,
0.01751389540731907,
-0.16358301043510437,
0.32076793909072876,
-0.008445288985967636,
-0.1169368252158165,
0.3391464650630951,
0.08686010539531708,
-0.1177319884300232,
-0.03928053379058838,
0.1683899611234665,
0.23409023880958557,
-0.30586904287338257,
0.18395709991455078,
0.3675761818885803,
0.5820993185043335,
0.0073571763932704926,
-0.048379600048065186,
-0.1640094816684723,
0.042599182575941086,
-0.16829191148281097,
0.2771987318992615,
0.1227361410856247,
-0.06469021737575531,
0.09532354772090912,
0.02829885110259056,
-0.37313106656074524,
-0.18755728006362915,
0.5362792015075684,
-0.0904507264494896,
0.6167465448379517,
0.19122838973999023,
0.28237974643707275,
0.06476342678070068,
-0.24526531994342804,
0.12554863095283508,
-0.23506072163581848,
0.1815517097711563,
0.3153028190135956,
-0.15648408234119415,
-0.09436337649822235,
-0.01691310852766037,
0.08909532427787781,
0.13222181797027588,
-0.01752779632806778,
-0.25074514746665955,
-0.027041617780923843,
-0.40482228994369507,
0.2054823338985443,
0.2258155196905136,
0.12418055534362793,
0.24981451034545898,
-0.04642680287361145,
0.0964503139257431,
-0.17075824737548828,
0.2681105434894562,
0.1440507024526596,
0.2776653468608856,
-0.2239401936531067,
-0.2365458458662033,
0.1493808627128601,
0.3230181336402893,
0.038925137370824814,
-0.18931710720062256,
0.02482553757727146,
-0.11632490903139114,
-0.3744392395019531,
0.17431215941905975,
0.14693859219551086,
0.08693002164363861,
0.3599856197834015,
-0.053027428686618805,
0.2999493479728699,
-0.2513444125652313,
-0.3462223708629608,
-0.02175380289554596,
0.2891627252101898,
-0.35564985871315,
0.05556301027536392,
0.07231709361076355,
0.5864018797874451,
-0.03245973587036133,
0.26486703753471375,
-0.19387753307819366,
-0.11969464272260666,
0.019418219104409218,
-0.12164796888828278,
0.26874080300331116,
-0.13873067498207092,
0.20623725652694702,
0.22200347483158112,
-0.17060193419456482,
-0.08622951805591583,
-0.2513887286186218,
0.4330674111843109,
0.03640400245785713,
0.0978531539440155,
-0.060099512338638306,
0.10765895992517471,
-0.17857342958450317,
-0.2032342404127121,
0.29658928513526917,
0.8714870810508728,
0.12942835688591003,
-0.15699979662895203,
0.023976869881153107,
0.048962876200675964,
-0.41287702322006226,
-0.28837040066719055,
-0.17488323152065277,
0.40769195556640625,
-0.5128623247146606,
-0.09990143775939941,
0.28589239716529846,
-0.012452688068151474,
0.24998927116394043,
0.3029000759124756,
-0.18067781627178192,
0.17633995413780212,
-0.08220548182725906,
0.08605261147022247,
0.3872123658657074,
-0.18671159446239471,
0.06283549964427948,
0.051101602613925934,
-0.0056885480880737305,
0.10984406620264053,
0.3365271985530853,
0.3578401505947113,
-0.086873859167099,
-0.32569918036460876,
-0.08534009754657745,
0.46052706241607666,
-0.2249135971069336,
0.07361035794019699,
-0.12067382037639618,
-0.2570059299468994,
0.6964748501777649,
-0.0032042227685451508,
0.33757734298706055,
-0.22511279582977295,
0.031081408262252808,
0.401239812374115,
0.25932469964027405,
-0.025936778634786606,
0.3631061911582947,
-0.07565825432538986,
-0.18789948523044586,
0.12966084480285645,
0.019803447648882866,
0.12436782568693161,
-0.5340709686279297,
0.04273487627506256,
-0.12215735018253326,
0.43027037382125854,
0.2752082347869873,
0.014991868287324905,
-0.11352667957544327,
-0.5142536759376526,
-0.36077171564102173,
-0.0753217339515686,
0.12524789571762085,
0.3188943862915039,
-0.0076019037514925,
0.061544228345155716,
-0.29723089933395386,
0.35502615571022034,
-0.0932857021689415,
-0.2060655653476715,
-0.6461538672447205,
0.34460169076919556,
0.1423405557870865,
-0.2687011957168579,
-0.1299496740102768,
0.4062729775905609,
0.21261966228485107,
-0.20861560106277466,
0.06974504888057709,
0.25196677446365356,
-0.10363972932100296,
0.26208072900772095,
0.11881326138973236,
0.17906439304351807,
0.19652864336967468,
-0.16305144131183624,
0.35145968198776245,
0.13988438248634338,
0.0004514693282544613,
-0.13406673073768616,
-0.07653028517961502,
0.22727620601654053,
0.14592494070529938,
0.34574347734451294,
-0.15182267129421234,
-0.18448209762573242,
0.14018754661083221,
-0.25639066100120544,
-0.3376733958721161,
-0.30656683444976807,
-0.06357766687870026,
-0.062100086361169815,
-0.16058219969272614,
0.19285443425178528,
-0.6247026324272156,
0.18481537699699402,
0.5535327196121216,
0.016290266066789627,
0.14203216135501862,
0.14503031969070435,
0.19157719612121582,
0.006161373108625412,
-0.026887310668826103,
-0.022324498742818832,
0.3254765272140503,
0.09957250952720642,
0.060097336769104004,
-0.05830661207437515,
-0.2138851433992386,
-0.017674870789051056,
0.03637729585170746,
0.05150157958269119,
0.025504112243652344,
-0.0783948078751564,
-0.00561436777934432,
-0.19597861170768738,
-0.05317931994795799,
0.14483414590358734,
0.10488598793745041,
-0.0140040572732687,
-0.05121484398841858,
-0.09292125701904297,
-0.4870401620864868,
-0.7009656429290771,
-0.4955207109451294,
-0.06322643160820007,
-0.2938530445098877,
-0.02643524296581745,
0.2826211452484131,
0.016305582597851753,
-0.21874089539051056,
0.21682345867156982,
0.2938600778579712,
0.04953375458717346,
-0.45453688502311707,
0.01924651488661766,
0.0813106894493103,
-0.21975518763065338,
-0.48460787534713745,
0.05524562671780586,
0.6504347920417786,
0.20826105773448944,
0.4439518451690674,
-0.24954070150852203,
-0.3223666548728943,
-0.24302241206169128,
-0.34020212292671204,
0.1205609142780304,
-0.08868108689785004,
-0.045169487595558167,
-0.1149265468120575,
0.17117635905742645,
-0.02251245640218258,
-0.18304623663425446,
0.19652222096920013,
0.3360394835472107,
0.1691252738237381,
-0.23164662718772888,
-0.254997193813324,
-0.05016159266233444,
0.12056581676006317,
-0.6881979703903198,
-0.480572372674942,
-0.289941668510437,
-0.033788055181503296,
-0.15872888267040253,
0.06736661493778229,
-0.2113921046257019,
-0.1639280766248703,
-0.2402416616678238,
0.017594460397958755,
-0.1814713180065155,
-0.35662123560905457,
0.333346426486969,
0.022788606584072113,
0.04018986597657204,
-0.20281895995140076,
0.05309760197997093,
-0.06014489755034447,
0.24469956755638123,
-0.22958771884441376,
0.0856839269399643,
0.02048001065850258,
0.046310145407915115,
0.20106904208660126,
-0.14495180547237396,
0.21360920369625092,
0.591728925704956,
0.07592327147722244,
0.07473322749137878,
-0.08643241971731186,
-0.10902762413024902,
0.35459718108177185,
0.409068763256073,
0.3940722644329071,
0.43580761551856995,
-0.10787101835012436,
-0.002131279557943344,
0.20430004596710205,
0.2987075448036194,
-0.014441322535276413,
0.2367560863494873,
0.22427064180374146,
0.101484514772892,
-0.11402790993452072,
-0.1450972706079483,
0.15866433084011078,
0.200903058052063,
0.1117834746837616,
0.6022016406059265,
0.05215956270694733,
-0.3606604039669037,
-0.2774134576320648,
-0.20547018945217133,
-0.40849441289901733,
-0.4037892520427704,
0.5507258772850037,
0.09775342047214508,
0.21856048703193665,
-0.05007682740688324,
-0.5603677034378052,
-0.2674797475337982,
-0.16867384314537048,
-0.23949797451496124,
0.350242018699646,
-0.15444794297218323,
0.360655277967453,
-0.23764784634113312,
-0.33341264724731445,
-0.20054572820663452,
0.04290596395730972,
0.23880161345005035,
0.42321065068244934,
-0.3161105513572693,
-0.06357059627771378,
0.22668711841106415,
0.07590103894472122,
0.12221638858318329,
-0.24568374454975128,
-0.19728350639343262,
0.0892714112997055,
0.447715163230896,
0.04403417557477951,
-0.0360235832631588,
-0.3038007318973541,
0.18189284205436707,
0.4939802289009094,
0.24866674840450287,
-0.3127932846546173,
-0.3725842237472534,
0.023063864558935165,
0.534450352191925,
-0.23234765231609344,
-0.4373915493488312,
-0.15582603216171265,
-0.29269009828567505,
-0.3513977825641632,
0.11611494421958923,
0.13001762330532074,
-0.21178095042705536,
0.13728192448616028,
0.12904569506645203,
0.4485184848308563,
-0.26524558663368225,
0.1976434588432312,
0.19288775324821472,
-0.10965019464492798,
0.23660457134246826,
-0.16857707500457764,
0.09379608184099197,
-0.17712990939617157,
-0.143480122089386,
0.2841707468032837,
0.04344680905342102,
-0.21563443541526794,
0.062290821224451065,
-0.29338905215263367,
0.39081981778144836,
0.23058292269706726,
0.15653273463249207,
0.11333099752664566,
-0.10783345997333527,
-0.22321917116641998,
0.0038621448911726475,
-0.05165119096636772,
0.19266189634799957,
0.24121178686618805,
-0.5985844731330872,
-0.3600601255893707,
0.42141449451446533,
-0.0507957860827446,
-0.3351213037967682,
0.1706506460905075,
0.06773718446493149,
-0.4756212532520294,
0.20244334638118744,
-0.031868837773799896,
0.9940269589424133,
0.13106022775173187,
0.05741187185049057,
0.07058046013116837,
0.01688150316476822,
0.6711597442626953,
-0.22055821120738983,
-0.08741329610347748,
0.008493747562170029,
0.7502513527870178,
-0.016290664672851562,
0.20689493417739868,
0.18071696162223816,
0.3330926299095154,
-0.3529415726661682,
0.55953449010849,
0.08454613387584686,
-0.276503324508667,
0.11042682826519012,
0.5579080581665039,
-0.22041621804237366,
-0.3650539219379425,
-0.03818075358867645,
0.0068173035979270935,
-0.20237745344638824,
0.011258117854595184,
-0.15496167540550232,
-0.023429974913597107,
0.009922359138727188,
-0.09573683142662048,
-0.12226220965385437,
-0.17712318897247314,
-0.24582383036613464,
0.1463090032339096,
-0.10279293358325958,
0.05024905502796173,
0.2610953450202942,
0.29070740938186646,
0.4881182312965393,
-0.3140217363834381,
0.09171402454376221,
-0.05681271478533745,
0.2800673842430115,
0.136537566781044,
-0.260105699300766,
-0.17404286563396454,
0.5313443541526794,
-0.23984232544898987,
-0.3563310503959656,
-0.1911340057849884,
-0.11934024840593338,
0.406582236289978,
-0.47371551394462585,
0.024850528687238693,
0.22178572416305542,
0.01117410697042942,
-0.16015693545341492,
0.4399605989456177,
0.006331704556941986,
-0.026932941749691963,
0.0412943959236145,
0.10186722874641418,
-0.16716644167900085,
0.38400793075561523,
-0.19053803384304047,
0.05684813857078552,
-0.11741358041763306,
-0.256321519613266,
0.4886854887008667,
-0.0943250060081482,
0.1689470410346985,
0.18255838751792908,
0.013576965779066086,
-0.10020788758993149,
0.12648552656173706,
-0.15995797514915466,
-0.44139695167541504,
-0.1547769010066986,
0.46094658970832825,
0.02848997712135315,
-0.2144104242324829,
0.3917795717716217,
-0.05554979294538498,
0.2943302392959595,
-0.06310944259166718,
-0.35156169533729553,
0.06846702098846436,
0.20879040658473969,
0.18409249186515808,
-0.01157926395535469,
0.1954529881477356,
0.4046645164489746,
0.18621309101581573,
-0.05666090548038483,
-0.2539996802806854,
-0.21307818591594696,
-0.21239030361175537,
0.5229718685150146,
0.4774754047393799,
-0.023847423493862152,
-0.02132543921470642,
0.12262986600399017,
0.051725417375564575,
-0.40455418825149536,
-0.13344600796699524,
-0.1525762975215912,
-0.1779499650001526,
0.13108991086483002,
0.23904579877853394,
-0.11668451875448227,
-0.035711731761693954,
-0.37001264095306396,
0.41236603260040283,
0.07155919820070267,
0.030902422964572906,
0.08587533980607986,
-0.22229574620723724,
0.3134628236293793,
-0.11957786977291107,
-0.006269372999668121,
0.06348118185997009,
0.2974073886871338,
-0.01179734617471695,
-0.02236553281545639,
-0.09040942788124084,
0.23212791979312897,
0.14066000282764435,
-0.043817777186632156,
0.0727478414773941,
0.042277172207832336,
0.24448081851005554,
0.21700718998908997,
-0.3711133897304535,
0.07410156726837158,
0.1758137196302414,
-0.28589680790901184,
-0.13570842146873474,
0.07519367337226868,
0.011416371911764145,
-0.1700177937746048,
0.31387859582901,
0.12193372845649719,
-0.15888787806034088,
0.1441175788640976,
0.28426453471183777,
-0.1013953909277916,
0.29152145981788635,
0.3475259244441986,
0.48159119486808777,
0.0792020857334137,
0.27218446135520935,
-0.1890334188938141,
0.019433781504631042,
-0.39583778381347656,
-0.0445684939622879,
-0.011344525963068008,
-0.16572828590869904,
0.20980867743492126,
0.06875604391098022,
-0.15499384701251984,
-0.13374727964401245,
-0.08296611905097961,
0.021335452795028687,
0.41215628385543823,
0.4071357250213623,
0.11921235173940659,
0.08089807629585266,
-0.25049808621406555,
0.13738851249217987,
-0.09934356808662415,
-0.03559485077857971,
0.0176689475774765,
0.039533581584692,
0.5769147872924805,
0.05767807364463806,
-0.24267536401748657,
0.15674643218517303,
0.3708588182926178,
-0.020711645483970642,
0.025501400232315063,
-0.5163055062294006,
-0.13732659816741943,
-0.2965158224105835,
-0.2435472160577774,
-0.06438632309436798,
-0.22586829960346222,
-0.01425158977508545,
0.27812790870666504,
0.2293282002210617,
-0.056079424917697906,
-0.00781947374343872,
-0.12514126300811768,
-0.15451142191886902,
0.05367264524102211,
0.6050872802734375,
0.29720789194107056,
-0.16777706146240234,
0.19358569383621216,
0.041345104575157166,
0.19259893894195557,
0.08309713751077652,
-0.08645522594451904,
0.24548082053661346,
0.02919575199484825,
0.06186467409133911,
-0.09928105771541595,
0.17147035896778107,
0.17325204610824585,
0.1487685889005661,
0.22898000478744507,
0.038653723895549774,
-0.14289873838424683,
-0.027465905994176865,
0.048045866191387177,
-0.32026568055152893,
0.014173965901136398,
-0.005960188806056976,
-0.09695340692996979,
-0.0027592480182647705,
-0.276091068983078,
0.2142924666404724,
-0.5775511264801025,
-0.23690348863601685,
0.23970669507980347,
-0.11690076440572739,
0.13810378313064575,
-0.0022755723912268877,
0.045264847576618195,
0.05599499121308327,
0.3123742341995239,
-0.04115552827715874,
0.06254011392593384,
-0.19830964505672455,
-0.2606149911880493,
-0.41695451736450195,
-0.1012960746884346,
-0.12599137425422668,
-0.1291297972202301,
-0.31772470474243164,
0.09648425877094269,
0.2521587908267975,
0.17097218334674835,
0.1386747807264328,
0.01363312266767025,
-0.0031106211245059967,
0.23990298807621002,
-0.024861518293619156,
-0.19946913421154022,
0.09349177777767181,
0.316227525472641,
-0.05011848732829094,
0.07071741670370102,
-0.2007710188627243,
0.16150608658790588,
-0.04956180229783058,
-0.21303553879261017,
-0.10573501884937286,
0.11062811315059662,
-0.04295039921998978,
-0.21478042006492615,
0.3847658336162567,
0.7554652690887451,
-0.27126699686050415,
0.11584139615297318,
0.07095176726579666,
0.08147430419921875,
-0.344422310590744,
0.2398202121257782,
0.07429441809654236,
0.46410563588142395,
-0.35763412714004517,
0.36124974489212036,
-0.10202749818563461,
0.05463787540793419,
-0.23134109377861023,
0.07271942496299744,
-0.25247713923454285,
0.1583196520805359,
-0.07208183407783508,
0.0425298810005188,
0.057812754064798355,
0.5264936685562134,
0.08776532113552094,
-0.17290377616882324,
-0.32166558504104614,
-0.22182346880435944,
0.2169017493724823,
-0.0174185149371624,
-0.4839434325695038,
0.01599326729774475,
0.06641524285078049,
0.01998371258378029,
0.3159610629081726,
-0.37090402841567993,
-0.07013384252786636,
0.10384085029363632,
0.22804167866706848,
0.1194058507680893,
0.11756989359855652,
-0.13899019360542297,
-0.3674173951148987,
-0.017560385167598724,
-0.5404387712478638,
0.12405399233102798,
-0.17177848517894745,
0.0021967440843582153,
-0.3356519937515259
] |
https://github.com/huggingface/datasets/pull/470 | Adding IWSLT 2017 dataset. | I think everything is fine on your side. Thanks for adding this dataset :)
I think it's better to wait for the slow test to be updated if you don't mind.
| Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure how to handle bilingual vs multilingual. Given `nlp` architecture a Config option seems to be the way to go, however, it might be a bit confusing to have different language pairs with different option. Using just language pairs is not viable as English to German exists in both.
Any opinion on how that should be done ?
EDIT: I decided to just omit de-en from multilingual as it's only a subset of the bilingual one. That way only language pairs exist.
EDIT : Could be interesting for #438 | 31 | text: Adding IWSLT 2017 dataset.
Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure how to handle bilingual vs multilingual. Given `nlp` architecture a Config option seems to be the way to go, however, it might be a bit confusing to have different language pairs with different option. Using just language pairs is not viable as English to German exists in both.
Any opinion on how that should be done ?
EDIT: I decided to just omit de-en from multilingual as it's only a subset of the bilingual one. That way only language pairs exist.
EDIT : Could be interesting for #438
I think everything is fine on your side. Thanks for adding this dataset :)
I think it's better to wait for the slow test to be updated if you don't mind.
| [
-0.055704038590192795,
-0.11519286036491394,
-0.06402921676635742,
0.03711365908384323,
-0.4204849600791931,
-0.05355706438422203,
0.27808740735054016,
-0.10172659158706665,
0.063760906457901,
-0.1708744317293167,
0.1113249659538269,
0.12608666718006134,
-0.034958451986312866,
0.33501964807510376,
0.12830887734889984,
-0.01720113307237625,
0.16108039021492004,
-0.1947346031665802,
-0.1390295773744583,
-0.18456889688968658,
-0.3388552963733673,
0.016697803512215614,
-0.13578195869922638,
-0.19124947488307953,
-0.20736373960971832,
-0.309887558221817,
-0.1574345827102661,
0.27963581681251526,
0.04373648390173912,
-0.20365840196609497,
0.056502409279346466,
0.2707916498184204,
0.11560063064098358,
-0.18518823385238647,
-0.00011356158211128786,
-0.1794758141040802,
0.1846776008605957,
-0.2243073284626007,
-0.16316428780555725,
-0.19504456222057343,
-0.34093737602233887,
-0.5245367884635925,
-0.14637282490730286,
-0.2074281871318817,
-0.09816168993711472,
-0.31623148918151855,
0.12742607295513153,
-0.11168460547924042,
-0.041361644864082336,
0.1294449418783188,
0.15929636359214783,
0.2471543848514557,
-0.057114377617836,
0.2581126093864441,
-0.2579822540283203,
-0.0503879114985466,
-0.041928768157958984,
-0.16973231732845306,
0.3749414384365082,
-0.06340177357196808,
-0.20853865146636963,
0.29800087213516235,
0.15398414433002472,
-0.08664323389530182,
-0.10282384604215622,
0.1458420604467392,
0.2558501958847046,
-0.4005052149295807,
0.09933505952358246,
0.4484199583530426,
0.5789352059364319,
0.06344339996576309,
-0.033965885639190674,
-0.2517005503177643,
0.036348093301057816,
-0.12183542549610138,
0.27661630511283875,
0.13233636319637299,
-0.08417965471744537,
0.06953544914722443,
-0.0021871747449040413,
-0.3155166506767273,
-0.20106403529644012,
0.5075550675392151,
-0.09430475533008575,
0.5777573585510254,
0.1887710988521576,
0.23322772979736328,
0.0332699790596962,
-0.23245234787464142,
0.1096789687871933,
-0.30882927775382996,
0.1405307501554489,
0.332068532705307,
-0.17888158559799194,
-0.1595686972141266,
0.05062894523143768,
0.11085119098424911,
0.2240738868713379,
-0.02679067850112915,
-0.28344276547431946,
-0.04707533121109009,
-0.48246288299560547,
0.11471866071224213,
0.2765176296234131,
0.17662566900253296,
0.177273228764534,
-0.0156607236713171,
0.1240268275141716,
-0.12306594848632812,
0.2879120409488678,
0.17110371589660645,
0.3179132044315338,
-0.20946983993053436,
-0.3439684212207794,
0.15166857838630676,
0.3079426884651184,
-0.03974512219429016,
-0.26229172945022583,
0.02609144151210785,
-0.25268828868865967,
-0.324819952249527,
0.19080214202404022,
0.1371312439441681,
0.05717243626713753,
0.31033286452293396,
-0.12192494422197342,
0.30197954177856445,
-0.20195068418979645,
-0.31363168358802795,
-0.0073462920263409615,
0.2779501676559448,
-0.29861214756965637,
0.07282014191150665,
0.15638069808483124,
0.5627992749214172,
0.005344492383301258,
0.31804707646369934,
-0.07778878509998322,
-0.14718881249427795,
0.0160249974578619,
-0.10629118978977203,
0.3145126700401306,
-0.14515843987464905,
0.21497470140457153,
0.2970263957977295,
-0.17575250566005707,
-0.1895613670349121,
-0.22429299354553223,
0.39726772904396057,
0.04620381444692612,
0.05849052593111992,
-0.04477918893098831,
0.12373741716146469,
-0.2554969787597656,
-0.20127224922180176,
0.30652111768722534,
0.8587816953659058,
0.045885685831308365,
-0.0629192590713501,
0.0374593660235405,
0.07924749702215195,
-0.43096548318862915,
-0.25029256939888,
-0.12932254374027252,
0.3957824110984802,
-0.4673204720020294,
-0.09369328618049622,
0.22402191162109375,
0.023626113310456276,
0.1757822334766388,
0.3398388922214508,
-0.16749827563762665,
0.2506830394268036,
-0.14131572842597961,
0.07501251995563507,
0.357718825340271,
-0.13230188190937042,
0.015074780210852623,
0.08511176705360413,
-0.023161455988883972,
0.2221430242061615,
0.27918848395347595,
0.34005022048950195,
-0.11207728087902069,
-0.3129023015499115,
-0.07277967035770416,
0.4843812584877014,
-0.2382470667362213,
0.053277745842933655,
-0.2539158761501312,
-0.24967597424983978,
0.7583034038543701,
0.06464137136936188,
0.28160881996154785,
-0.24597272276878357,
-0.00613972544670105,
0.34748923778533936,
0.3384340703487396,
-0.08838608860969543,
0.281421422958374,
-0.07093459367752075,
-0.12435668706893921,
0.025173701345920563,
0.011529389768838882,
0.22817936539649963,
-0.49759024381637573,
0.13612204790115356,
-0.11502886563539505,
0.5165043473243713,
0.2994641661643982,
0.11494816839694977,
-0.15119022130966187,
-0.5173981189727783,
-0.39067894220352173,
-0.17811349034309387,
0.1450854241847992,
0.24143163859844208,
-0.06427381932735443,
0.08198831975460052,
-0.17039161920547485,
0.3838748037815094,
-0.13767600059509277,
-0.256197988986969,
-0.6103799939155579,
0.37387868762016296,
0.17845574021339417,
-0.21848712861537933,
-0.10668155550956726,
0.39854860305786133,
0.18670731782913208,
-0.19384020566940308,
-0.010724607855081558,
0.16082701086997986,
-0.10631871968507767,
0.30164986848831177,
0.17728683352470398,
0.2565864026546478,
0.27815544605255127,
-0.2618117332458496,
0.2634762227535248,
0.17679612338542938,
0.010108831338584423,
-0.17406649887561798,
-0.11645329743623734,
0.32010987401008606,
0.024915728718042374,
0.29895564913749695,
-0.16888147592544556,
-0.17097727954387665,
0.17152118682861328,
-0.26665228605270386,
-0.3354291617870331,
-0.1740809977054596,
0.14264407753944397,
-0.06262895464897156,
-0.1620878130197525,
0.1574532687664032,
-0.5883126854896545,
0.14278501272201538,
0.3724741041660309,
0.014119140803813934,
0.1735350489616394,
0.14819172024726868,
0.18882113695144653,
-0.03238845244050026,
-0.0017889216542243958,
-0.04282476752996445,
0.3990402817726135,
0.08154209703207016,
0.07437001168727875,
-0.015020636841654778,
-0.2606436014175415,
0.02222195640206337,
0.018608666956424713,
0.0551944226026535,
0.11122990399599075,
-0.04494372010231018,
0.09505930542945862,
-0.1759122759103775,
-0.062183208763599396,
0.17824409902095795,
0.15011096000671387,
0.018479419872164726,
-0.15151046216487885,
-0.16088712215423584,
-0.35615187883377075,
-0.6983545422554016,
-0.4492284655570984,
-0.07619258761405945,
-0.2395060956478119,
-0.09356764703989029,
0.3305325508117676,
0.0012023001909255981,
-0.21126790344715118,
0.24612578749656677,
0.21335698664188385,
0.1365014612674713,
-0.42730504274368286,
0.0404997318983078,
0.021870829164981842,
-0.20134560763835907,
-0.48032766580581665,
0.10080981254577637,
0.7304846048355103,
0.30077502131462097,
0.4580538868904114,
-0.2211819589138031,
-0.2817308306694031,
-0.26517292857170105,
-0.40914422273635864,
0.13513100147247314,
-0.05537135899066925,
0.10397513955831528,
-0.1948210597038269,
0.1811976134777069,
-0.03245336189866066,
-0.1564268320798874,
0.13415133953094482,
0.3199559152126312,
0.1330169439315796,
-0.19494503736495972,
-0.2647664546966553,
-0.04614273086190224,
0.13220129907131195,
-0.7216162085533142,
-0.423401802778244,
-0.2720741033554077,
-0.03592029958963394,
-0.1701105684041977,
0.025003310292959213,
-0.21267224848270416,
-0.137904554605484,
-0.1988542079925537,
-0.003371079917997122,
-0.16766542196273804,
-0.37542009353637695,
0.27527210116386414,
0.07506442815065384,
0.04804293066263199,
-0.3131087124347687,
0.019131649285554886,
-0.06008275970816612,
0.1915925294160843,
-0.3297191262245178,
0.002408362925052643,
0.05445360764861107,
0.0396958589553833,
0.30143362283706665,
-0.0745266005396843,
0.05790501832962036,
0.5162659883499146,
0.012869302183389664,
0.07634103298187256,
-0.10346831381320953,
-0.11609978973865509,
0.3455526828765869,
0.4448739290237427,
0.44979560375213623,
0.3305075466632843,
-0.08597998321056366,
0.025260601192712784,
0.223195418715477,
0.41511523723602295,
0.053260210901498795,
0.22198329865932465,
0.196161150932312,
0.013255290687084198,
-0.14060556888580322,
-0.20652498304843903,
0.14424967765808105,
0.16050724685192108,
0.06508366018533707,
0.6222438216209412,
0.027239633724093437,
-0.45235276222229004,
-0.2404642403125763,
-0.10398443043231964,
-0.3524002134799957,
-0.38041242957115173,
0.5656552314758301,
0.03530094772577286,
0.19800341129302979,
-0.03392553701996803,
-0.5869857668876648,
-0.2501596212387085,
-0.26479271054267883,
-0.15413545072078705,
0.27850228548049927,
-0.160165935754776,
0.31050387024879456,
-0.22384606301784515,
-0.2214551717042923,
-0.21770760416984558,
-0.016012221574783325,
0.23959507048130035,
0.5418225526809692,
-0.36019864678382874,
-0.024883614853024483,
0.20704896748065948,
0.1528797596693039,
0.12771110236644745,
-0.2565069794654846,
-0.2073391228914261,
0.11681793630123138,
0.45255225896835327,
0.09381935745477676,
-0.036772824823856354,
-0.3300110995769501,
0.12524789571762085,
0.527737021446228,
0.2684541344642639,
-0.24463185667991638,
-0.32285770773887634,
-0.02004362642765045,
0.539374589920044,
-0.2459731549024582,
-0.4255908131599426,
-0.1504223495721817,
-0.29432082176208496,
-0.27408885955810547,
0.1587672233581543,
0.14196863770484924,
-0.20181626081466675,
0.032100990414619446,
0.15884529054164886,
0.4479788541793823,
-0.20968297123908997,
0.23906676471233368,
0.19480755925178528,
-0.13226968050003052,
0.24027197062969208,
-0.11236752569675446,
0.16262173652648926,
-0.15407060086727142,
-0.25680267810821533,
0.25563591718673706,
0.11042675375938416,
-0.14041808247566223,
0.0975193902850151,
-0.34608379006385803,
0.38296765089035034,
0.26802757382392883,
0.19942475855350494,
0.09622266888618469,
-0.17172183096408844,
-0.24226148426532745,
-0.14313019812107086,
0.03703630343079567,
0.25293296575546265,
0.23207417130470276,
-0.5319461822509766,
-0.28367042541503906,
0.4615894556045532,
-0.06740787625312805,
-0.3514155149459839,
0.23008039593696594,
0.03518819436430931,
-0.46688568592071533,
0.22998853027820587,
-0.04497962445020676,
0.9586037993431091,
0.13772696256637573,
0.0038973428308963776,
0.1076885387301445,
-0.03160632401704788,
0.559924840927124,
-0.23019343614578247,
-0.08118273317813873,
-0.028060972690582275,
0.6147652864456177,
-0.009633777663111687,
0.15983273088932037,
0.17294327914714813,
0.2543150782585144,
-0.3471342623233795,
0.577685534954071,
0.15915989875793457,
-0.32080918550491333,
0.16853100061416626,
0.640699028968811,
-0.13045702874660492,
-0.33754265308380127,
-0.09194114804267883,
0.043131910264492035,
-0.1171589344739914,
0.06197633594274521,
-0.13861683011054993,
-0.01746070757508278,
-0.09222717583179474,
-0.04566009342670441,
-0.21793381869792938,
-0.1662743091583252,
-0.1728789508342743,
0.15659859776496887,
-0.08556433022022247,
0.008214443922042847,
0.406543493270874,
0.24535027146339417,
0.45632851123809814,
-0.37120768427848816,
-0.046825140714645386,
0.04059494286775589,
0.25291547179222107,
0.241422638297081,
-0.0847964882850647,
-0.21799340844154358,
0.5650876760482788,
-0.23912817239761353,
-0.34215760231018066,
-0.1805083453655243,
-0.16807924211025238,
0.41284531354904175,
-0.5251492857933044,
-0.030197791755199432,
0.24287226796150208,
-0.028827672824263573,
-0.13339917361736298,
0.5062923431396484,
0.08763863146305084,
-0.05473889037966728,
0.07315605878829956,
0.16182675957679749,
-0.17628346383571625,
0.3919598460197449,
-0.08172686398029327,
0.02570424973964691,
-0.1477343589067459,
-0.2766038775444031,
0.4252810776233673,
-0.024317001923918724,
0.16703610122203827,
0.23898173868656158,
0.08355124294757843,
-0.12079717218875885,
0.29665595293045044,
-0.1161302924156189,
-0.4514298141002655,
-0.2539796829223633,
0.38627076148986816,
0.052268728613853455,
-0.3064541220664978,
0.4178808927536011,
-0.027980558574199677,
0.2353736162185669,
-0.036845751106739044,
-0.3649260401725769,
0.09316492825746536,
0.1914091408252716,
0.09619930386543274,
-0.0158378966152668,
0.0947851911187172,
0.3364975154399872,
0.19304826855659485,
-0.01300194300711155,
-0.2794666290283203,
-0.1895235776901245,
-0.2905845642089844,
0.49258220195770264,
0.3782595694065094,
0.02041650004684925,
0.024803239852190018,
0.09486696124076843,
0.07096880674362183,
-0.43392300605773926,
-0.1556670367717743,
-0.1752842366695404,
-0.11878694593906403,
0.11909541487693787,
0.26813626289367676,
-0.13168324530124664,
0.014255343936383724,
-0.31912529468536377,
0.40197262167930603,
0.09441068023443222,
-0.0017978604882955551,
-0.0009082406759262085,
-0.1864243596792221,
0.283655047416687,
-0.1607864797115326,
-0.09090585261583328,
-0.03245898336172104,
0.28487250208854675,
-0.029778599739074707,
-0.03942538797855377,
-0.021080387756228447,
0.23359492421150208,
0.18094982206821442,
-0.05461208522319794,
0.10986009985208511,
0.06672602891921997,
0.18423086404800415,
0.14880207180976868,
-0.3843707740306854,
0.02892395295202732,
0.19572587311267853,
-0.25434818863868713,
-0.18149079382419586,
0.06610236316919327,
-0.09508360177278519,
-0.1086827740073204,
0.32251447439193726,
0.14134012162685394,
-0.16423086822032928,
0.12609019875526428,
0.2821738123893738,
-0.07806530594825745,
0.27157092094421387,
0.2782946825027466,
0.490321546792984,
0.09958310425281525,
0.25567567348480225,
-0.23922908306121826,
-0.0742499977350235,
-0.42397552728652954,
-0.10233092308044434,
-0.04732055589556694,
-0.22964155673980713,
0.20483972132205963,
0.027470611035823822,
-0.24677333235740662,
-0.2324773371219635,
-0.11905953288078308,
0.11501707136631012,
0.46855682134628296,
0.29178711771965027,
0.15822041034698486,
0.10246208310127258,
-0.21715781092643738,
0.14220263063907623,
-0.06525243818759918,
-0.10552594065666199,
0.008659910410642624,
0.10285274684429169,
0.6543396711349487,
-0.01746372878551483,
-0.22732648253440857,
0.05804523080587387,
0.2346503734588623,
-0.008545465767383575,
0.0029448578134179115,
-0.40020427107810974,
-0.1687374860048294,
-0.36771008372306824,
-0.1754118949174881,
-0.12133412063121796,
-0.19657649099826813,
-0.012496642768383026,
0.2510460615158081,
0.1454903483390808,
-0.05914387106895447,
-0.06698255985975266,
-0.006614364683628082,
-0.1557384729385376,
-0.02688826620578766,
0.5961434245109558,
0.24432975053787231,
-0.2093375325202942,
0.07381284236907959,
0.136944979429245,
0.1329217404127121,
0.006750434637069702,
-0.11753153800964355,
0.21873153746128082,
0.07129071652889252,
0.019092688336968422,
-0.02780785597860813,
0.2287132292985916,
0.17586591839790344,
0.08420924842357635,
0.28425225615501404,
0.054074861109256744,
-0.12087184190750122,
-0.058306071907281876,
0.07553020864725113,
-0.3555433452129364,
-0.06800489127635956,
-0.007322102785110474,
-0.17476268112659454,
0.01696372777223587,
-0.269427090883255,
0.12335841357707977,
-0.4699189364910126,
-0.15745806694030762,
0.23432354629039764,
-0.1713441163301468,
0.15136194229125977,
0.014460713602602482,
0.06415500491857529,
-0.008071497082710266,
0.348730206489563,
-0.040610719472169876,
0.11913055181503296,
-0.23944368958473206,
-0.3067367374897003,
-0.48394253849983215,
-0.07059230655431747,
-0.08646278083324432,
-0.07517741620540619,
-0.2813847064971924,
0.10145965218544006,
0.26128795742988586,
0.20244748890399933,
0.059031590819358826,
-0.028420668095350266,
0.020909670740365982,
0.23275353014469147,
-0.0653846487402916,
-0.17336313426494598,
0.07878226041793823,
0.4008907377719879,
-0.14404445886611938,
0.13500243425369263,
-0.10001598298549652,
0.1103806346654892,
-0.02508028969168663,
-0.1592327058315277,
-0.0746188536286354,
0.10371877253055573,
0.048419445753097534,
-0.2059636414051056,
0.3928748667240143,
0.7938857078552246,
-0.2277514636516571,
0.13126005232334137,
0.021501727402210236,
0.0568019263446331,
-0.23485419154167175,
0.16488432884216309,
0.040002260357141495,
0.4491502344608307,
-0.2524105906486511,
0.362865686416626,
-0.027579231187701225,
0.027268804609775543,
-0.19779668748378754,
0.038318462669849396,
-0.31546735763549805,
0.12651687860488892,
-0.07996685802936554,
0.16900977492332458,
0.06337511539459229,
0.514546275138855,
0.04744912311434746,
-0.21607908606529236,
-0.24138157069683075,
-0.16582049429416656,
0.21451963484287262,
-0.05757421255111694,
-0.4458116292953491,
0.02569417655467987,
0.07459641993045807,
0.057719990611076355,
0.26721277832984924,
-0.3647529184818268,
-0.1833287924528122,
0.131099134683609,
0.22869670391082764,
0.1434667408466339,
0.1607903242111206,
0.004111419431865215,
-0.2349906712770462,
-0.046753570437431335,
-0.4696404039859772,
0.1336858570575714,
-0.11053291708230972,
0.09210632741451263,
-0.3146907091140747
] |
https://github.com/huggingface/datasets/pull/470 | Adding IWSLT 2017 dataset. | Thanks for fixing the isort/black changes :)
Feel free to merge if it's good for you @Narsil | Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure how to handle bilingual vs multilingual. Given `nlp` architecture a Config option seems to be the way to go, however, it might be a bit confusing to have different language pairs with different option. Using just language pairs is not viable as English to German exists in both.
Any opinion on how that should be done ?
EDIT: I decided to just omit de-en from multilingual as it's only a subset of the bilingual one. That way only language pairs exist.
EDIT : Could be interesting for #438 | 17 | text: Adding IWSLT 2017 dataset.
Created a [IWSLT 2017](https://sites.google.com/site/iwsltevaluation2017/TED-tasks) dataset script for the *multilingual data*.
```
Bilingual data: {Arabic, German, French, Japanese, Korean, Chinese} <-> English
Multilingual data: German, English, Italian, Dutch, Romanian. (Any pair)
```
I'm unsure how to handle bilingual vs multilingual. Given `nlp` architecture a Config option seems to be the way to go, however, it might be a bit confusing to have different language pairs with different option. Using just language pairs is not viable as English to German exists in both.
Any opinion on how that should be done ?
EDIT: I decided to just omit de-en from multilingual as it's only a subset of the bilingual one. That way only language pairs exist.
EDIT : Could be interesting for #438
Thanks for fixing the isort/black changes :)
Feel free to merge if it's good for you @Narsil | [
-0.018958598375320435,
-0.15751302242279053,
-0.03966424614191055,
0.025857631117105484,
-0.3958688974380493,
-0.08767472207546234,
0.2968403100967407,
-0.13546746969223022,
0.026444364339113235,
-0.1226276159286499,
0.05712449550628662,
0.1604796051979065,
0.008763596415519714,
0.35527780652046204,
0.1283176690340042,
-0.0176197811961174,
0.18883827328681946,
-0.15926140546798706,
-0.20788508653640747,
-0.17822995781898499,
-0.4076363146305084,
0.09042736887931824,
-0.10366840660572052,
-0.18091146647930145,
-0.2557680308818817,
-0.2445186972618103,
-0.1469605267047882,
0.27591198682785034,
-0.003384435549378395,
-0.13420411944389343,
0.026539383456110954,
0.24875356256961823,
0.13455215096473694,
-0.25974607467651367,
-0.00011457536311354488,
-0.16583676636219025,
0.1704619824886322,
-0.2165394425392151,
-0.14789097011089325,
-0.24758099019527435,
-0.33975765109062195,
-0.4996330738067627,
-0.10346376895904541,
-0.20761944353580475,
-0.05948993191123009,
-0.2919784188270569,
0.14682333171367645,
-0.021881617605686188,
-0.014106787741184235,
0.08505944162607193,
0.14638841152191162,
0.1793832629919052,
0.003014836460351944,
0.27282804250717163,
-0.2549055516719818,
-0.02326144278049469,
-0.02984970062971115,
-0.13909970223903656,
0.3854297697544098,
-0.047135330736637115,
-0.18173161149024963,
0.34004607796669006,
0.14705872535705566,
-0.17479267716407776,
0.008944693952798843,
0.17025910317897797,
0.21331948041915894,
-0.37508851289749146,
0.12478324770927429,
0.3839271068572998,
0.633593738079071,
0.03242206573486328,
-0.022215690463781357,
-0.16344742476940155,
0.07553360611200333,
-0.17283332347869873,
0.31512051820755005,
0.14162543416023254,
-0.09912866353988647,
0.08143061399459839,
-0.01978755183517933,
-0.37515732645988464,
-0.2109110802412033,
0.5500749945640564,
-0.12528355419635773,
0.6456506252288818,
0.17026960849761963,
0.22720617055892944,
0.05946138873696327,
-0.24984927475452423,
0.13309325277805328,
-0.28715139627456665,
0.18603003025054932,
0.31700801849365234,
-0.16884548962116241,
-0.11594872176647186,
0.028414398431777954,
0.08324019610881805,
0.13782596588134766,
-0.022735998034477234,
-0.21006861329078674,
-0.10160870105028152,
-0.3986196517944336,
0.20104506611824036,
0.28071194887161255,
0.12290692329406738,
0.21437287330627441,
-0.051435112953186035,
0.09945313632488251,
-0.1816289871931076,
0.3070073425769806,
0.11743629723787308,
0.30261513590812683,
-0.21096596121788025,
-0.3412497937679291,
0.1727735996246338,
0.3411044478416443,
0.01683717593550682,
-0.2009086161851883,
0.03915286064147949,
-0.18127307295799255,
-0.33272960782051086,
0.14945292472839355,
0.04287736490368843,
0.11228527128696442,
0.3041633665561676,
-0.10094022750854492,
0.25454074144363403,
-0.1934923231601715,
-0.29278287291526794,
-0.002077762968838215,
0.2796434760093689,
-0.353875994682312,
0.062280938029289246,
0.06270298361778259,
0.5846863389015198,
-0.0064928471110761166,
0.38495689630508423,
-0.06902499496936798,
-0.16863125562667847,
0.012491250410676003,
-0.07452195882797241,
0.2760435938835144,
-0.11741888523101807,
0.16001468896865845,
0.2376588135957718,
-0.13409589231014252,
-0.13226957619190216,
-0.24472740292549133,
0.427694708108902,
0.028487320989370346,
0.0978454202413559,
-0.10668084025382996,
0.1036410853266716,
-0.16764147579669952,
-0.2167111039161682,
0.288160502910614,
0.8736013770103455,
0.12064726650714874,
-0.11144833266735077,
0.06260360032320023,
0.06121467053890228,
-0.458383709192276,
-0.2723029851913452,
-0.18739572167396545,
0.32231661677360535,
-0.5189979076385498,
-0.12292741984128952,
0.2817858159542084,
-0.0015338454395532608,
0.2126268446445465,
0.31776952743530273,
-0.19544267654418945,
0.18496732413768768,
-0.0943438783288002,
0.10345567762851715,
0.35089388489723206,
-0.21170951426029205,
0.057892806828022,
0.04899127781391144,
-0.010703761130571365,
0.152163565158844,
0.288760244846344,
0.3712782561779022,
-0.04153788834810257,
-0.29003000259399414,
-0.062868133187294,
0.49011021852493286,
-0.26553642749786377,
0.08325052261352539,
-0.1696469783782959,
-0.24507437646389008,
0.6742498874664307,
-0.007086882367730141,
0.28641462326049805,
-0.24631553888320923,
0.021392017602920532,
0.4235181510448456,
0.29962077736854553,
-0.05857675150036812,
0.3671230673789978,
-0.0541662871837616,
-0.14545755088329315,
0.09835134446620941,
0.03365091606974602,
0.1372552514076233,
-0.4751206040382385,
0.016741693019866943,
-0.1262848675251007,
0.532737135887146,
0.24230867624282837,
0.05493658035993576,
-0.13141745328903198,
-0.5715298056602478,
-0.3899790048599243,
-0.15786370635032654,
0.13084352016448975,
0.1874941885471344,
-0.13361473381519318,
0.055140670388936996,
-0.26961958408355713,
0.36575454473495483,
-0.1032504066824913,
-0.2294168770313263,
-0.6718894243240356,
0.33359649777412415,
0.16794262826442719,
-0.2595115900039673,
-0.15179304778575897,
0.4299430251121521,
0.16007986664772034,
-0.15752418339252472,
0.015007552690804005,
0.21577858924865723,
-0.10582364350557327,
0.2711055278778076,
0.13486704230308533,
0.2357458621263504,
0.2801528871059418,
-0.28387317061424255,
0.28434038162231445,
0.18604865670204163,
-0.005355967674404383,
-0.15134559571743011,
-0.10405879467725754,
0.2412540316581726,
0.07485194504261017,
0.3171987533569336,
-0.20179839432239532,
-0.14842836558818817,
0.08763802796602249,
-0.23880711197853088,
-0.33847126364707947,
-0.2659711241722107,
-0.02244139090180397,
-0.061629656702280045,
-0.13362392783164978,
0.20921452343463898,
-0.5863208174705505,
0.1940397471189499,
0.49414220452308655,
0.03769995644688606,
0.15202847123146057,
0.1436285376548767,
0.13679912686347961,
-0.0067715998739004135,
0.016194209456443787,
-0.01021571084856987,
0.3294060230255127,
0.06939030438661575,
0.04113907366991043,
-0.008535226806998253,
-0.24353814125061035,
0.03471597656607628,
0.042770594358444214,
0.06794189661741257,
0.09069830924272537,
-0.08599955588579178,
0.005943735130131245,
-0.1674986481666565,
-0.030383190140128136,
0.13464845716953278,
0.11069080978631973,
-0.03597916662693024,
-0.08166441321372986,
-0.13722512125968933,
-0.41551026701927185,
-0.6503669619560242,
-0.5038000345230103,
-0.045620258897542953,
-0.29932287335395813,
-0.07237803936004639,
0.30178749561309814,
0.00969713181257248,
-0.2283792644739151,
0.21534463763237,
0.2770819664001465,
0.10328413546085358,
-0.433730810880661,
0.050859235227108,
0.09877049922943115,
-0.24864323437213898,
-0.39937442541122437,
0.08491620421409607,
0.6495773792266846,
0.235280379652977,
0.4158187806606293,
-0.28140655159950256,
-0.29348325729370117,
-0.22295023500919342,
-0.387567937374115,
0.16315335035324097,
-0.04769419878721237,
-0.00684969499707222,
-0.18031421303749084,
0.1496858298778534,
-0.07795430719852448,
-0.17774824798107147,
0.1674104779958725,
0.4189651608467102,
0.1319154053926468,
-0.24993935227394104,
-0.2951596975326538,
-0.0170197244733572,
0.10542401671409607,
-0.6509438157081604,
-0.49087995290756226,
-0.2926805913448334,
-0.014743193984031677,
-0.22628113627433777,
0.05133655294775963,
-0.21410301327705383,
-0.11097298562526703,
-0.23612570762634277,
-0.05291133373975754,
-0.18421468138694763,
-0.3124026656150818,
0.291502445936203,
0.02052232250571251,
0.012974606826901436,
-0.2338508516550064,
0.0599968321621418,
0.028164520859718323,
0.19248038530349731,
-0.279934823513031,
0.0582345649600029,
0.004850306548178196,
0.07713104039430618,
0.27365514636039734,
-0.08188538253307343,
0.18814940750598907,
0.5456618666648865,
0.09409229457378387,
0.07677657157182693,
-0.10197218507528305,
-0.09085571765899658,
0.30300259590148926,
0.3956713378429413,
0.43979451060295105,
0.3978238105773926,
-0.14525461196899414,
0.016482993960380554,
0.2110125869512558,
0.39644554257392883,
0.0826578438282013,
0.18054282665252686,
0.25720909237861633,
0.07765267789363861,
-0.1400916576385498,
-0.1629052609205246,
0.18829813599586487,
0.1862509697675705,
0.11321134865283966,
0.5991815328598022,
0.07950357347726822,
-0.38251760601997375,
-0.2435103952884674,
-0.17740391194820404,
-0.3400573432445526,
-0.41371655464172363,
0.5835786461830139,
0.11538700014352798,
0.22584077715873718,
-0.04490836709737778,
-0.6517918109893799,
-0.25879335403442383,
-0.23978909850120544,
-0.16875550150871277,
0.33371642231941223,
-0.16407239437103271,
0.38475704193115234,
-0.21449699997901917,
-0.3143587112426758,
-0.1720861792564392,
-0.08566984534263611,
0.24173660576343536,
0.4343663156032562,
-0.34180372953414917,
-0.021516334265470505,
0.2323308140039444,
0.1753070056438446,
0.07753041386604309,
-0.1946130394935608,
-0.245451882481575,
0.12016205489635468,
0.46618056297302246,
0.0910915806889534,
-0.03486485406756401,
-0.3065125346183777,
0.14872795343399048,
0.514924168586731,
0.25942593812942505,
-0.2334745228290558,
-0.36770614981651306,
0.0138479545712471,
0.5400503873825073,
-0.2529142200946808,
-0.4809008240699768,
-0.12946251034736633,
-0.2550771236419678,
-0.3080146014690399,
0.08596020936965942,
0.19168151915073395,
-0.20145058631896973,
0.07946303486824036,
0.16968216001987457,
0.4906410574913025,
-0.21143677830696106,
0.2135002315044403,
0.19146181643009186,
-0.14646443724632263,
0.2191127985715866,
-0.21241961419582367,
0.136060893535614,
-0.1549321413040161,
-0.20409110188484192,
0.27491065859794617,
0.05701287090778351,
-0.25653377175331116,
0.1194566860795021,
-0.3419521152973175,
0.36085501313209534,
0.1954556107521057,
0.18941032886505127,
0.05536278337240219,
-0.11746315658092499,
-0.24531348049640656,
-0.07882664352655411,
-0.02817261777818203,
0.1616690307855606,
0.2606702148914337,
-0.5437471270561218,
-0.29005277156829834,
0.486075758934021,
-0.07390224188566208,
-0.34201639890670776,
0.20687955617904663,
0.11703012138605118,
-0.4752142131328583,
0.21497108042240143,
-0.04378800839185715,
0.9808058738708496,
0.16963624954223633,
0.0506710410118103,
0.03927774727344513,
-0.014089170843362808,
0.60172039270401,
-0.19150017201900482,
-0.08819790184497833,
-0.056350138038396835,
0.670749306678772,
-0.009323183447122574,
0.19243483245372772,
0.16514305770397186,
0.31400686502456665,
-0.3609899580478668,
0.5104034543037415,
0.07113930583000183,
-0.283735454082489,
0.11957686394453049,
0.5328549146652222,
-0.17337144911289215,
-0.372578501701355,
-0.015782982110977173,
0.020150281488895416,
-0.14558397233486176,
0.00843868963420391,
-0.15926817059516907,
-0.04689056798815727,
-0.08020378649234772,
0.001970238983631134,
-0.20927399396896362,
-0.19885563850402832,
-0.15356504917144775,
0.1599108725786209,
-0.08677931129932404,
0.05441795289516449,
0.33059602975845337,
0.28960421681404114,
0.4967387318611145,
-0.35569754242897034,
0.029110319912433624,
-0.045834917575120926,
0.25782760977745056,
0.1554604023694992,
-0.16444624960422516,
-0.1506531983613968,
0.5322046875953674,
-0.26858797669410706,
-0.3790563642978668,
-0.14512258768081665,
-0.1271110624074936,
0.40764015913009644,
-0.4824233055114746,
0.013175703585147858,
0.18456852436065674,
0.013310644775629044,
-0.14410890638828278,
0.4390730559825897,
0.09519752860069275,
-0.055143967270851135,
0.06483262777328491,
0.1478663682937622,
-0.11955029517412186,
0.38484248518943787,
-0.16460515558719635,
0.03864388167858124,
-0.12629249691963196,
-0.30439484119415283,
0.46965065598487854,
-0.09916222095489502,
0.09003449976444244,
0.23191671073436737,
0.02360355108976364,
-0.09867357462644577,
0.27210575342178345,
-0.1708860844373703,
-0.49226006865501404,
-0.17578314244747162,
0.421823650598526,
0.011948361992835999,
-0.3276716470718384,
0.41953369975090027,
-0.034322433173656464,
0.23068779706954956,
-0.05426997318863869,
-0.3592071235179901,
0.04178839176893234,
0.2551325559616089,
0.11465325951576233,
-0.023075085133314133,
0.14069077372550964,
0.3801209628582001,
0.1796003133058548,
-0.059381745755672455,
-0.2654714584350586,
-0.19132879376411438,
-0.2437088042497635,
0.5030673742294312,
0.49505043029785156,
-0.013598375022411346,
-0.036945369094610214,
0.11640021204948425,
0.046146489679813385,
-0.4533700942993164,
-0.1337578445672989,
-0.16049090027809143,
-0.19622072577476501,
0.11615043133497238,
0.24163061380386353,
-0.1464422643184662,
-0.02365051954984665,
-0.3246167302131653,
0.4048768877983093,
0.08773475885391235,
0.012305788695812225,
0.07428454607725143,
-0.18149949610233307,
0.31934279203414917,
-0.18223030865192413,
-0.032297469675540924,
0.034452468156814575,
0.3173464238643646,
0.08712289482355118,
0.02359909564256668,
-0.07858580350875854,
0.20948606729507446,
0.12864620983600616,
-0.026421476155519485,
0.11245764046907425,
0.08242780715227127,
0.21311360597610474,
0.18923529982566833,
-0.3640672564506531,
0.06200198084115982,
0.23418450355529785,
-0.28994515538215637,
-0.18181557953357697,
0.029691185802221298,
-0.030061542987823486,
-0.1641075313091278,
0.2947166860103607,
0.1421051323413849,
-0.09010164439678192,
0.08193900436162949,
0.3192006051540375,
-0.05659658461809158,
0.26552751660346985,
0.26924124360084534,
0.5029070377349854,
0.0554397851228714,
0.23737449944019318,
-0.20948469638824463,
-0.019074883311986923,
-0.3786463737487793,
-0.09593160450458527,
-0.03576458618044853,
-0.20710614323616028,
0.25807392597198486,
0.07433609664440155,
-0.17679563164710999,
-0.20963770151138306,
-0.09994730353355408,
0.05750441178679466,
0.3855830729007721,
0.36255383491516113,
0.09790739417076111,
0.12680073082447052,
-0.1986604779958725,
0.17770646512508392,
-0.12478166818618774,
-0.0697072446346283,
0.0074670761823654175,
0.08692817389965057,
0.5802643299102783,
0.038317274302244186,
-0.2511093318462372,
0.18219682574272156,
0.34299352765083313,
-0.017619483172893524,
0.00855335034430027,
-0.4698951244354248,
-0.14808394014835358,
-0.31548041105270386,
-0.19675524532794952,
-0.10418641567230225,
-0.20175008475780487,
0.042242519557476044,
0.24390573799610138,
0.19761008024215698,
-0.03759300708770752,
-0.10028345137834549,
-0.015430465340614319,
-0.162936270236969,
0.03240889683365822,
0.565250813961029,
0.27415966987609863,
-0.14383858442306519,
0.13272325694561005,
0.0876450464129448,
0.1543232798576355,
0.062433261424303055,
-0.06251327693462372,
0.21700286865234375,
0.04941995069384575,
0.02288792096078396,
-0.03202164173126221,
0.14798520505428314,
0.21293997764587402,
0.09058518707752228,
0.24668781459331512,
0.03742969036102295,
-0.132674440741539,
-0.064241424202919,
0.04784565791487694,
-0.2939871549606323,
0.07775989174842834,
-0.08247189968824387,
-0.13833069801330566,
-0.02701370045542717,
-0.1970883458852768,
0.20257142186164856,
-0.5335767269134521,
-0.15582969784736633,
0.33577027916908264,
-0.11324674636125565,
0.15079504251480103,
0.00003183167427778244,
0.056289732456207275,
0.04636574164032936,
0.2842716574668884,
-0.01840236410498619,
0.05264652147889137,
-0.20000647008419037,
-0.2710338532924652,
-0.4070203900337219,
-0.06041928380727768,
-0.08369103074073792,
-0.15799327194690704,
-0.3261624574661255,
0.06445761770009995,
0.276860773563385,
0.2389070987701416,
0.13424775004386902,
-0.017418712377548218,
0.07741215825080872,
0.26241469383239746,
-0.045793693512678146,
-0.18155904114246368,
0.15724274516105652,
0.38564661145210266,
-0.09736461192369461,
0.14245229959487915,
-0.14952263236045837,
0.10373722016811371,
-0.016035381704568863,
-0.24552513659000397,
-0.10471159219741821,
0.08057084679603577,
0.001831013709306717,
-0.24923810362815857,
0.40117648243904114,
0.7539689540863037,
-0.2763952612876892,
0.07676460593938828,
0.059906456619501114,
0.07444582134485245,
-0.2959938943386078,
0.19076864421367645,
0.053939878940582275,
0.48028549551963806,
-0.33062082529067993,
0.3548767566680908,
-0.06430868059396744,
0.08172381669282913,
-0.2428082525730133,
0.04598575457930565,
-0.32704997062683105,
0.18509921431541443,
-0.04401903599500656,
0.09760498255491257,
0.060085151344537735,
0.5278652310371399,
0.05808456987142563,
-0.21079984307289124,
-0.2621912956237793,
-0.2374010980129242,
0.22413350641727448,
-0.027798250317573547,
-0.4548410177230835,
0.07227230817079544,
0.015653841197490692,
0.03847767412662506,
0.29212573170661926,
-0.4143800139427185,
-0.11401224136352539,
0.09218788892030716,
0.21597686409950256,
0.13671843707561493,
0.162327378988266,
-0.04703781381249428,
-0.28761422634124756,
-0.020555369555950165,
-0.5314228534698486,
0.13514426350593567,
-0.14963455498218536,
0.0028483569622039795,
-0.34601616859436035
] |
https://github.com/huggingface/datasets/pull/466 | [METRICS] Various improvements on metrics | The cast function is now called inside `features.encode_example`.
I also added `encode_batch` that was missing.
Moreover I used the cast function in `Dataset.map` to support torch/tensorflow tensors or numpy arrays inputs.
There are tests for tensors inputs in metrics and in .map | - Disallow the use of positional arguments to avoid `predictions` vs `references` mistakes
- Allow to directly feed numpy/pytorch/tensorflow/pandas objects in metrics | 42 | text: [METRICS] Various improvements on metrics
- Disallow the use of positional arguments to avoid `predictions` vs `references` mistakes
- Allow to directly feed numpy/pytorch/tensorflow/pandas objects in metrics
The cast function is now called inside `features.encode_example`.
I also added `encode_batch` that was missing.
Moreover I used the cast function in `Dataset.map` to support torch/tensorflow tensors or numpy arrays inputs.
There are tests for tensors inputs in metrics and in .map | [
-0.22167082130908966,
-0.15590441226959229,
-0.24212990701198578,
-0.03673051297664642,
0.47404944896698,
0.11786999553442001,
0.12190961837768555,
0.5633223056793213,
0.09856724739074707,
0.030048169195652008,
-0.10177852213382721,
0.5278624296188354,
-0.22056089341640472,
-0.08425196260213852,
0.17516230046749115,
-0.32307174801826477,
0.07244250923395157,
0.16687136888504028,
-0.34000205993652344,
-0.2019394040107727,
-0.3797012269496918,
0.06351890414953232,
-0.11534006893634796,
0.0006407350301742554,
0.08600691705942154,
0.0419892743229866,
-0.031088870018720627,
-0.09205732494592667,
-0.4257782995700836,
-0.38645148277282715,
-0.08690149337053299,
-0.03255830332636833,
-0.08580576628446579,
0.32018548250198364,
-0.00010153128096135333,
-0.058002062141895294,
0.3913189768791199,
0.06873656809329987,
-0.08592188358306885,
0.024539098143577576,
-0.1165459081530571,
-0.579349935054779,
0.1750236451625824,
-0.45832958817481995,
0.006488993763923645,
-0.2465633600950241,
0.16560398042201996,
-0.3040366768836975,
0.025055423378944397,
0.46052923798561096,
0.29023683071136475,
0.3504343628883362,
-0.1252739429473877,
-0.025723356753587723,
-0.2840886116027832,
-0.024885326623916626,
-0.2696870267391205,
0.023458331823349,
0.40432611107826233,
0.5322567820549011,
-0.16431954503059387,
0.3002685308456421,
-0.11593934148550034,
-0.07437978684902191,
0.4061692953109741,
-0.1326521337032318,
0.3348924517631531,
-0.31754958629608154,
-0.19447094202041626,
-0.03494569659233093,
0.4976004958152771,
-0.34466031193733215,
-0.19571302831172943,
0.0649324283003807,
0.03346921503543854,
-0.40234315395355225,
-0.05873503535985947,
-0.1386094093322754,
-0.07469543814659119,
-0.08263720571994781,
-0.6410066485404968,
-0.1612609624862671,
-0.2284693717956543,
-0.011876903474330902,
-0.08901675045490265,
0.26440441608428955,
0.07267461717128754,
-0.1471399962902069,
-0.08158954977989197,
0.23290212452411652,
0.284787118434906,
0.06275376677513123,
-0.14479686319828033,
0.0728786513209343,
-0.11979976296424866,
-0.18660734593868256,
0.3161866068840027,
-0.14681345224380493,
-0.08724582195281982,
-0.11821457743644714,
0.11830204725265503,
0.40027618408203125,
-0.05911848321557045,
0.05731691047549248,
0.05110014230012894,
0.3173770308494568,
0.2203989326953888,
0.024755414575338364,
0.19702795147895813,
0.07697939872741699,
0.14205388724803925,
-0.044398270547389984,
-0.01377276424318552,
-0.2911735475063324,
0.040040429681539536,
0.26337915658950806,
0.12092438340187073,
-0.010135196149349213,
-0.020260127261281013,
0.03827305883169174,
0.29312440752983093,
-0.21217992901802063,
-0.0046466076746582985,
0.21393075585365295,
-0.2581822872161865,
-0.03589172661304474,
0.21366862952709198,
0.15162986516952515,
-0.10489959269762039,
0.031923774629831314,
-0.3385218381881714,
0.25261247158050537,
-0.1421336829662323,
-0.32554447650909424,
-0.06809394806623459,
0.09926652908325195,
0.21215157210826874,
-0.17013858258724213,
0.4163539409637451,
-0.12158031761646271,
0.03189513832330704,
0.21897423267364502,
0.3886886537075043,
0.27718234062194824,
-0.0941402018070221,
0.025725608691573143,
0.2764676809310913,
0.05077376216650009,
-0.21578767895698547,
0.22107532620429993,
-0.26348763704299927,
-0.3393974304199219,
-0.04231029003858566,
0.29764044284820557,
-0.279441237449646,
-0.020789537578821182,
0.23412713408470154,
0.4299168884754181,
-0.11394745856523514,
-0.17542658746242523,
0.40182948112487793,
-0.14728231728076935,
-0.1743648201227188,
-0.19851899147033691,
0.3561016917228699,
-0.12570269405841827,
-0.12494473159313202,
-0.18383146822452545,
-0.14872652292251587,
-0.19186712801456451,
0.09612653404474258,
0.04845285788178444,
-0.08539459854364395,
0.24074164032936096,
0.014810862019658089,
0.05080559849739075,
0.7490768432617188,
-0.5377604365348816,
-0.036885619163513184,
0.05318327993154526,
0.12315765023231506,
-0.1830397993326187,
-0.08763838559389114,
0.08337555080652237,
0.5514389276504517,
-0.025571202859282494,
0.05368879809975624,
-0.03685208410024643,
0.031222686171531677,
-0.16566415131092072,
-0.276356041431427,
-0.026203610002994537,
0.0436050146818161,
0.1182706207036972,
0.48974609375,
0.03690635412931442,
0.059331171214580536,
0.10674035549163818,
0.0668342188000679,
-0.10821427404880524,
0.04814466834068298,
0.17601712048053741,
0.08557529747486115,
-0.32143789529800415,
0.1991085559129715,
-0.1872679889202118,
0.11606420576572418,
0.061233967542648315,
0.012372247874736786,
0.1468583643436432,
0.26052987575531006,
-0.0015298239886760712,
-0.12536075711250305,
0.15406672656536102,
0.11984482407569885,
-0.09090331196784973,
0.24167287349700928,
-0.2597038149833679,
-0.18063177168369293,
0.07887299358844757,
-0.3075161874294281,
-0.03256580978631973,
-0.23778578639030457,
-0.14826305210590363,
-0.07386550307273865,
0.01118437759578228,
-0.14807124435901642,
-0.18543283641338348,
-0.10483615100383759,
0.22726526856422424,
-0.026514239609241486,
-0.06681496649980545,
-0.17129018902778625,
0.4020599126815796,
-0.17001193761825562,
-0.01555304229259491,
-0.21588066220283508,
0.43136066198349,
0.24537000060081482,
-0.2980772852897644,
0.17957459390163422,
0.10399521887302399,
0.05833931267261505,
-0.11000858247280121,
-0.1497727334499359,
0.3053281903266907,
-0.06312759220600128,
-0.15971651673316956,
0.040093839168548584,
-0.022434497252106667,
-0.026362832635641098,
-0.08850899338722229,
-0.24021349847316742,
-0.0744364932179451,
0.055894676595926285,
-0.33078238368034363,
-0.1630776822566986,
-0.13632549345493317,
-0.23827624320983887,
0.0023979097604751587,
0.7125874757766724,
-0.13550864160060883,
0.08809932321310043,
0.18704915046691895,
-0.02127542346715927,
-0.2628723382949829,
-0.13567796349525452,
-0.2635994255542755,
0.31784653663635254,
0.0654156357049942,
0.340006560087204,
0.22359004616737366,
-0.009809215553104877,
0.016509700566530228,
0.2602936327457428,
0.23030444979667664,
-0.31830883026123047,
0.19411197304725647,
-0.15694838762283325,
0.08965069055557251,
-0.04939418286085129,
0.12593254446983337,
0.0325731486082077,
0.22133196890354156,
-0.28799623250961304,
-0.054558537900447845,
-0.20534084737300873,
0.08291122317314148,
0.02007206156849861,
0.07640121877193451,
0.18432658910751343,
-0.4728015959262848,
0.08609259873628616,
-0.20322570204734802,
-0.18708345293998718,
0.5328773856163025,
0.04679666832089424,
0.24433796107769012,
-0.0876268744468689,
0.09567467123270035,
-0.2495126575231552,
-0.08842784911394119,
0.18282878398895264,
0.18824303150177002,
-0.19185036420822144,
0.2690892219543457,
0.2413366734981537,
-0.0884835422039032,
0.3264378309249878,
-0.2857789099216461,
-0.5038162469863892,
-0.039157770574092865,
-0.0973237156867981,
0.21234895288944244,
0.3298843502998352,
0.06680375337600708,
-0.16209834814071655,
-0.16652847826480865,
0.126694455742836,
-0.3421122133731842,
-0.09101606905460358,
-0.01337924599647522,
-0.18458150327205658,
-0.22937561571598053,
-0.46524107456207275,
-0.291079580783844,
0.007050902582705021,
-0.599498450756073,
0.08998525142669678,
-0.010686248540878296,
-0.05338171869516373,
-0.0715024545788765,
0.18322694301605225,
0.38971319794654846,
0.16047339141368866,
0.16737759113311768,
-0.09305328130722046,
-0.13155129551887512,
0.3044709265232086,
-0.13323810696601868,
-0.25011780858039856,
-0.18812011182308197,
0.06219206005334854,
0.18008776009082794,
-0.1341310441493988,
-0.4544448256492615,
-0.46246853470802307,
0.1149682104587555,
0.22303172945976257,
0.1406962275505066,
-0.03959842771291733,
0.3765597939491272,
0.09780564159154892,
-0.19614019989967346,
-0.18660172820091248,
-0.13722512125968933,
-0.3981025516986847,
0.25831398367881775,
0.07801788300275803,
-0.14666622877120972,
0.4052673280239105,
0.033975813537836075,
0.2623319625854492,
0.16868376731872559,
-0.23952357470989227,
-0.0047728270292282104,
-0.029938729479908943,
0.561518669128418,
-0.034138478338718414,
-0.2786419093608856,
0.37319231033325195,
-0.00477968156337738,
-0.06140827387571335,
0.10468773543834686,
-0.09656713902950287,
-0.2575814425945282,
-0.07575389742851257,
-0.15375350415706635,
-0.10586245357990265,
-0.09840326011180878,
0.22880761325359344,
-0.16156023740768433,
0.0661822184920311,
-0.14921140670776367,
0.2720926105976105,
-0.2917329668998718,
0.18227386474609375,
0.31905123591423035,
0.19631662964820862,
0.14594188332557678,
-0.2181054949760437,
-0.043191730976104736,
-0.3708854019641876,
-0.25927162170410156,
0.16446657478809357,
0.11153677850961685,
-0.043386705219745636,
-0.1109461784362793,
-0.18141213059425354,
0.005827866494655609,
0.019844043999910355,
0.4269871115684509,
-0.4439428448677063,
-0.2646715044975281,
0.2344684898853302,
0.16216334700584412,
-0.13930033147335052,
0.10110244154930115,
-0.15524247288703918,
0.14135289192199707,
0.3473016023635864,
0.2356816977262497,
0.031421370804309845,
-0.18997442722320557,
0.4329872727394104,
0.09452679753303528,
-0.13399580121040344,
0.16631454229354858,
-0.1710563451051712,
-0.41120702028274536,
-0.19462181627750397,
0.026375606656074524,
0.1695115715265274,
-0.2341945767402649,
0.040876150131225586,
0.0019525252282619476,
0.04155467450618744,
0.2005232274532318,
0.03255937248468399,
0.08083263039588928,
0.1696426272392273,
-0.13071030378341675,
0.014077417552471161,
-0.0806044489145279,
-0.3583001494407654,
-0.06748343259096146,
0.16369256377220154,
-0.28394269943237305,
-0.24016046524047852,
0.1853332221508026,
-0.08521117269992828,
0.47877037525177,
0.19557254016399384,
-0.00018112105317413807,
-0.21556222438812256,
0.024966929107904434,
0.17323517799377441,
-0.14495135843753815,
0.14992780983448029,
0.34176042675971985,
0.14896419644355774,
-0.2583862543106079,
-0.3392024040222168,
0.24994871020317078,
0.01315237581729889,
-0.22031597793102264,
0.4982321858406067,
-0.23529337346553802,
-0.14886455237865448,
0.14334611594676971,
0.4404539167881012,
0.9120513200759888,
0.04180144518613815,
-0.05002268776297569,
0.37697410583496094,
-0.20852331817150116,
0.27152019739151,
-0.2247639000415802,
0.1176806390285492,
-0.14112219214439392,
-0.3349783420562744,
-0.0916919931769371,
-0.0064645372331142426,
0.033653996884822845,
-0.2682453393936157,
-0.43007028102874756,
-0.16275930404663086,
-0.016745030879974365,
0.1540924310684204,
0.0762288048863411,
-0.07488798350095749,
0.2584364414215088,
-0.11013160645961761,
0.22954237461090088,
0.24577274918556213,
-0.15146762132644653,
-0.23124581575393677,
-0.05723731964826584,
-0.11891904473304749,
0.07196597754955292,
-0.06303006410598755,
-0.2807691693305969,
-0.14994648098945618,
0.3794446885585785,
0.12254312634468079,
0.20244237780570984,
-0.17930299043655396,
0.24024635553359985,
0.34040510654449463,
0.43718695640563965,
0.1316453069448471,
-0.162721186876297,
0.3278201222419739,
0.014214824885129929,
0.26830777525901794,
0.1962684839963913,
0.04366501793265343,
0.35564538836479187,
-0.2184385061264038,
-0.1144375279545784,
0.16388535499572754,
-0.1629529446363449,
-0.08485818654298782,
-0.09027275443077087,
0.23349249362945557,
-0.1713724434375763,
-0.3301197290420532,
-0.010258618742227554,
0.1019350066781044,
-0.04260407015681267,
-0.24448411166667938,
0.25363627076148987,
-0.10102042555809021,
-0.10868048667907715,
0.476129412651062,
-0.036795783787965775,
-0.3684886395931244,
-0.039225149899721146,
0.1430927813053131,
0.13847476243972778,
-0.21986550092697144,
0.07233355939388275,
-0.014174435287714005,
-0.25823014974594116,
-0.33285021781921387,
-0.1958233118057251,
0.15977120399475098,
-0.14646536111831665,
0.24482841789722443,
-0.1811991035938263,
-0.24504902958869934,
0.030832480639219284,
0.09981225430965424,
0.10424747318029404,
0.2267863154411316,
-0.40990352630615234,
0.029708631336688995,
-0.23358334600925446,
0.3193427622318268,
0.05403436720371246,
0.3557663857936859,
-0.4925467073917389,
0.2571595311164856,
0.17233319580554962,
0.031812697649002075,
-0.4648497998714447,
-0.17960481345653534,
-0.1588684767484665,
0.07301266491413116,
0.22410035133361816,
-0.0665920078754425,
-0.04785153269767761,
-0.031636714935302734,
0.15981240570545197,
0.06416748464107513,
-0.41504767537117004,
-0.28875479102134705,
-0.10777127742767334,
0.08663733303546906,
-0.18184638023376465,
0.05254150182008743,
0.10002914816141129,
0.10724328458309174,
-0.36030706763267517,
-0.11701851338148117,
-0.11419181525707245,
0.13246890902519226,
-0.033845819532871246,
0.40886491537094116,
0.11101098358631134,
0.24145567417144775,
0.3641397953033447,
-0.16354985535144806,
0.16672298312187195,
0.5581937432289124,
-0.12367868423461914,
0.16659867763519287,
0.058540452271699905,
-0.027887146919965744,
0.062321316450834274,
0.2587275207042694,
0.1817014217376709,
0.1840381622314453,
0.46187645196914673,
0.21944059431552887,
0.1612725555896759,
-0.03729887679219246,
0.228696808218956,
0.024695251137018204,
-0.281838059425354,
-0.14982455968856812,
-0.16153699159622192,
0.31477099657058716,
-0.033161330968141556,
-0.24948619306087494,
-0.04393291100859642,
-0.05001011863350868,
0.08824801445007324,
-0.09396416693925858,
0.19542889297008514,
0.014623172581195831,
0.42043840885162354,
0.05275620520114899,
0.8067233562469482,
-0.4615815281867981,
0.2531954050064087,
0.14307285845279694,
0.028730031102895737,
-0.14383581280708313,
0.2694588601589203,
0.03698110952973366,
0.09900999814271927,
0.328278124332428,
0.060606956481933594,
0.2825445532798767,
0.19646203517913818,
0.2355363816022873,
-0.06501000374555588,
0.16613268852233887,
0.17604506015777588,
-0.17711710929870605,
-0.348253458738327,
0.1986750066280365,
0.09007620066404343,
-0.12023227661848068,
-0.34627118706703186,
-0.010803880169987679,
-0.18653054535388947,
0.2831411361694336,
-0.13943558931350708,
0.04624108970165253,
-0.14285030961036682,
-0.09456692636013031,
0.04139135032892227,
-0.13609105348587036,
0.23434217274188995,
0.15658876299858093,
0.30330896377563477,
0.1102202832698822,
0.08719579875469208,
0.29330241680145264,
0.009157050400972366,
-0.1961250901222229,
0.20561988651752472,
-0.19948416948318481,
0.029149873182177544,
0.3817126154899597,
-0.10055573284626007,
-0.005443684756755829,
0.33767080307006836,
0.5586955547332764,
0.09881103783845901,
-0.2761155664920807,
0.1259598582983017,
-0.222291499376297,
-0.19898974895477295,
-0.09673412144184113,
0.29832836985588074,
0.35035568475723267,
-0.08042189478874207,
-0.11085981130599976,
0.2989124655723572,
-0.2508292496204376,
0.4670720398426056,
-0.1754714697599411,
-0.013046639040112495,
-0.05906525254249573,
0.4903108477592468,
0.2037046253681183,
-0.3565296232700348,
-0.11375567317008972,
-0.2024734616279602,
-0.3699086606502533,
-0.16677355766296387,
0.49720388650894165,
-0.1224660873413086,
-0.005916367284953594,
0.05242811515927315,
0.1634419709444046,
0.09087805449962616,
0.43453338742256165,
0.10864777863025665,
0.268203467130661,
-0.11259420961141586,
-0.0016094744205474854,
-0.32023757696151733,
0.1728636920452118,
0.4827369749546051,
-0.0348692424595356,
0.13323816657066345,
0.06789391487836838,
-0.01781601458787918,
-0.07364082336425781,
0.13476558029651642,
-0.2614399790763855,
0.14502519369125366,
-0.1476377546787262,
-0.3748100996017456,
0.06398914754390717,
-0.03615433722734451,
0.11382079869508743,
-0.01607358083128929,
-0.026767414063215256,
-0.01829245314002037,
-0.3481028974056244,
0.2618272006511688,
-0.2033032774925232,
-0.2856133282184601,
0.3073553144931793,
0.4323604106903076,
0.161644846200943,
0.015033429488539696,
0.18765506148338318,
-0.27961504459381104,
0.04135766625404358,
0.061019547283649445,
-0.15064474940299988,
0.04381118714809418,
0.30828580260276794,
0.07536571472883224,
0.17914950847625732,
-0.16102063655853271,
-0.2560858130455017,
-0.19950737059116364,
0.13254982233047485,
0.030156128108501434,
-0.27377936244010925,
-0.1970577836036682,
0.2034054845571518,
-0.26062721014022827,
0.025024808943271637,
0.1859983205795288,
0.29472434520721436,
0.19322213530540466,
0.14372995495796204,
-0.20022645592689514,
-0.37371018528938293,
0.5593199729919434,
-0.13414859771728516,
-0.3705406188964844,
-0.21877972781658173,
0.13275675475597382,
-0.20815980434417725,
0.26749950647354126,
-0.8510482907295227,
-0.28973299264907837,
0.2777658700942993,
0.07003973424434662,
-0.3321792185306549,
0.42528235912323,
0.06862355768680573,
0.019519012421369553,
-0.11806124448776245,
0.1111278161406517,
-0.03173428028821945,
-0.07239918410778046,
-0.02319585718214512,
-0.15441951155662537
] |
https://github.com/huggingface/datasets/pull/465 | Keep features after transform | One note on features inference:
if an arrow type is `struct of items` where each item is a `list`, then we return a `dict` in which each item is a `Sequence`.
It means that we don't use the Sequence <-> dict swap when we infer features.
It's fine because the swap is generally used in dataset scripts, in which features are defined (inferred features are discarded) | When applying a transform like `map`, some features were lost (and inferred features were used).
It was the case for ClassLabel, Translation, etc.
To fix that, I did some modifications in the `ArrowWriter`:
- added the `update_features` parameter. When it's `True`, then the features specified by the user (if any) can be updated with inferred features if their type don't match. `map` transform sets `update_features=True` when writing to cache file or buffer. Features won't change by default in `map`.
- added the `with_metadata` parameter. If `True`, the `features` (after update) will be written inside the metadata of the schema in this format:
```
{
"huggingface": {"features" : <serialized Features exactly like dataset_info.json>}
}
```
Then, once a dataset is instantiated without info/features, these metadata are used to set the features of the dataset. | 66 | text: Keep features after transform
When applying a transform like `map`, some features were lost (and inferred features were used).
It was the case for ClassLabel, Translation, etc.
To fix that, I did some modifications in the `ArrowWriter`:
- added the `update_features` parameter. When it's `True`, then the features specified by the user (if any) can be updated with inferred features if their type don't match. `map` transform sets `update_features=True` when writing to cache file or buffer. Features won't change by default in `map`.
- added the `with_metadata` parameter. If `True`, the `features` (after update) will be written inside the metadata of the schema in this format:
```
{
"huggingface": {"features" : <serialized Features exactly like dataset_info.json>}
}
```
Then, once a dataset is instantiated without info/features, these metadata are used to set the features of the dataset.
One note on features inference:
if an arrow type is `struct of items` where each item is a `list`, then we return a `dict` in which each item is a `Sequence`.
It means that we don't use the Sequence <-> dict swap when we infer features.
It's fine because the swap is generally used in dataset scripts, in which features are defined (inferred features are discarded) | [
-0.05088621750473976,
-0.06140537187457085,
-0.06596232950687408,
-0.010622084140777588,
0.35661882162094116,
-0.2945176064968109,
0.18475481867790222,
0.20206117630004883,
0.05744188651442528,
-0.05143335461616516,
0.14790575206279755,
0.5674012899398804,
0.05279141664505005,
0.14103804528713226,
-0.024150807410478592,
-0.10812997817993164,
-0.05933540314435959,
0.20740413665771484,
-0.4215025007724762,
-0.2419794350862503,
-0.19560493528842926,
-0.0007498301565647125,
-0.0006573125720024109,
0.032759010791778564,
-0.19583183526992798,
-0.0909193903207779,
0.2563460171222687,
0.004120439291000366,
-0.06312062591314316,
-0.3407183289527893,
-0.07157047092914581,
0.05225607380270958,
-0.13800464570522308,
-0.22031864523887634,
-0.00009991630213335156,
-0.07341072708368301,
0.33328676223754883,
-0.15505477786064148,
-0.061062149703502655,
0.018482156097888947,
-0.09971775114536285,
-0.19491469860076904,
0.1313188523054123,
-0.3359484076499939,
0.10822198539972305,
-0.07919716089963913,
-0.04271872341632843,
-0.29748785495758057,
0.41269397735595703,
0.0013069584965705872,
0.28762418031692505,
-0.22344878315925598,
0.0744251161813736,
0.1378532499074936,
0.3313886225223541,
0.3686790466308594,
-0.1565885990858078,
-0.3165076673030853,
0.18212860822677612,
0.32796889543533325,
-0.07140084356069565,
0.6479235291481018,
-0.033560995012521744,
-0.22390417754650116,
0.3366539478302002,
-0.028800014406442642,
0.09052155911922455,
-0.23432186245918274,
0.040764182806015015,
0.33310437202453613,
0.4614339768886566,
-0.20995324850082397,
-0.19300690293312073,
-0.18081054091453552,
0.013149394653737545,
-0.06372804194688797,
0.13031485676765442,
-0.13783617317676544,
0.14622971415519714,
0.07325537502765656,
-0.1398884356021881,
-0.3185052275657654,
-0.0736619085073471,
-0.20355750620365143,
0.047542937099933624,
0.23898251354694366,
-0.16101223230361938,
0.1515607237815857,
-0.19305025041103363,
-0.10025547444820404,
0.058416664600372314,
-0.004194527864456177,
-0.36963051557540894,
0.3365951478481293,
0.08993968367576599,
-0.15593458712100983,
0.040624238550662994,
-0.13616329431533813,
0.01596570760011673,
0.0291978120803833,
0.3273240923881531,
0.352163702249527,
-0.30795758962631226,
-0.004434771835803986,
0.14130263030529022,
0.22682522237300873,
0.33620572090148926,
0.10686182230710983,
0.046871624886989594,
-0.13276703655719757,
-0.11811824142932892,
-0.2640628218650818,
0.14715906977653503,
-0.009936708956956863,
0.3158223330974579,
0.08907999843358994,
0.3261755704879761,
-0.23333199322223663,
0.25725632905960083,
0.08591387420892715,
0.02343004196882248,
0.036248765885829926,
-0.1928071528673172,
0.14410588145256042,
0.11959413439035416,
0.2499805986881256,
0.19279995560646057,
-0.0061617158353328705,
0.040597520768642426,
-0.10614966601133347,
-0.23228244483470917,
-0.3263693153858185,
-0.25193551182746887,
-0.01042385958135128,
-0.03786461055278778,
0.3801778554916382,
0.34700173139572144,
-0.015242600813508034,
-0.23018766939640045,
-0.0230080708861351,
0.025230007246136665,
0.06070435419678688,
0.530084490776062,
0.10717625916004181,
-0.4308951199054718,
0.16949668526649475,
-0.004480335861444473,
0.07841554284095764,
-0.2534092664718628,
0.17981824278831482,
-0.20228257775306702,
-0.1510775089263916,
0.09801296144723892,
0.3093731105327606,
-0.24761131405830383,
-0.007383774966001511,
-0.2622316777706146,
0.1592048555612564,
0.060161516070365906,
0.037131283432245255,
0.39294013381004333,
-0.17850583791732788,
0.09969690442085266,
-0.06273888051509857,
-0.05137117579579353,
0.07381382584571838,
-0.26171591877937317,
-0.33440378308296204,
0.1374334692955017,
-0.17660702764987946,
-0.17643871903419495,
-0.0014324262738227844,
-0.33363476395606995,
0.1403728723526001,
-0.00882809516042471,
0.33267760276794434,
0.5914985537528992,
-0.009427066892385483,
-0.2842462956905365,
0.03647611290216446,
0.12583807110786438,
-0.023164894431829453,
0.0016036033630371094,
-0.03470296412706375,
0.4111916422843933,
0.02359093353152275,
-0.38171127438545227,
0.1153971254825592,
0.14730709791183472,
0.10346964746713638,
-0.21508380770683289,
-0.12699903547763824,
-0.11829757690429688,
-0.18330523371696472,
-0.10008476674556732,
-0.0640086755156517,
0.19904282689094543,
0.042761657387018204,
0.25163912773132324,
-0.14735153317451477,
0.41189509630203247,
0.2502193748950958,
0.20884469151496887,
0.14045701920986176,
0.16714558005332947,
-0.0920453816652298,
-0.48102396726608276,
0.07364974915981293,
-0.15197762846946716,
-0.08417941629886627,
-0.11943159997463226,
-0.22873491048812866,
-0.029174745082855225,
0.008961878716945648,
-0.06066076084971428,
-0.12539130449295044,
0.2752687931060791,
-0.1917022466659546,
-0.3180380165576935,
-0.13175030052661896,
-0.09412170946598053,
-0.05050463229417801,
0.10647442936897278,
0.07779911905527115,
-0.3609646260738373,
0.09411287307739258,
-0.041391536593437195,
-0.15214192867279053,
-0.27229082584381104,
0.0996812954545021,
-0.04075644165277481,
-0.20791466534137726,
-0.28773021697998047,
0.17427796125411987,
0.023718954995274544,
0.38464581966400146,
-0.24605819582939148,
0.20319882035255432,
0.14823895692825317,
-0.3075445294380188,
0.20076334476470947,
0.06445528566837311,
0.21302196383476257,
-0.05186167731881142,
-0.1918868124485016,
0.22207576036453247,
0.08790077269077301,
0.17292849719524384,
-0.029840655624866486,
-0.01880418322980404,
0.25691232085227966,
-0.2126910537481308,
-0.27432212233543396,
-0.3152039647102356,
-0.41778233647346497,
0.09338732063770294,
-0.07704135775566101,
0.27314120531082153,
-0.071681447327137,
0.22628238797187805,
0.7463261485099792,
0.09891116619110107,
0.09252753853797913,
0.01670137420296669,
-0.3974284529685974,
0.089555524289608,
0.17117159068584442,
-0.05256205424666405,
0.05735205113887787,
0.2612323462963104,
-0.03709797188639641,
0.004613960161805153,
0.20429739356040955,
-0.0390179343521595,
0.3627294600009918,
0.05922473967075348,
0.3014173209667206,
0.08355707675218582,
0.04395309090614319,
0.05405140295624733,
-0.2280369997024536,
-0.17557063698768616,
0.10879611223936081,
-0.19642606377601624,
-0.19497698545455933,
-0.07895822823047638,
-0.10760512948036194,
0.12901484966278076,
-0.16869382560253143,
-0.03066958114504814,
-0.025018833577632904,
-0.31204187870025635,
0.0003729425370693207,
0.05035627260804176,
-0.5000289678573608,
0.24395674467086792,
-0.17155639827251434,
-0.042304620146751404,
0.013104641810059547,
-0.2060721218585968,
-0.3140358626842499,
-0.3117157518863678,
-0.06021026521921158,
0.13452550768852234,
-0.15982882678508759,
0.04789673537015915,
-0.018163518980145454,
0.1177109107375145,
-0.026478372514247894,
-0.2575465440750122,
-0.5432377457618713,
0.1534053236246109,
-0.13070346415042877,
-0.18206146359443665,
0.25065508484840393,
-0.029919303953647614,
0.019826162606477737,
-0.0184297077357769,
0.21590954065322876,
-0.25627630949020386,
-0.38774043321609497,
0.11053328216075897,
-0.023812580853700638,
-0.18222056329250336,
-0.22511599957942963,
-0.383087158203125,
0.26372867822647095,
-0.43558597564697266,
0.48456811904907227,
0.14973121881484985,
-0.07407888770103455,
0.05995088443160057,
0.006881807930767536,
-0.050018370151519775,
-0.13490939140319824,
0.14176025986671448,
-0.1905023157596588,
0.007429603487253189,
0.36375856399536133,
-0.037039775401353836,
-0.09627583622932434,
0.013601470738649368,
-0.16711334884166718,
0.004221055656671524,
0.19688396155834198,
-0.24247750639915466,
-0.06542026996612549,
-0.19585570693016052,
0.3138088583946228,
-0.04763970524072647,
0.15405505895614624,
0.5765463709831238,
0.5270377993583679,
-0.1946721076965332,
-0.13006272912025452,
-0.05688069388270378,
0.35036638379096985,
0.26539355516433716,
0.1022573933005333,
-0.19291949272155762,
0.07636532187461853,
-0.07615264505147934,
0.39298588037490845,
-0.07834504544734955,
-0.04242570325732231,
0.06393289566040039,
0.2861104905605316,
0.2571207880973816,
-0.19672247767448425,
0.17165417969226837,
-0.02389679104089737,
-0.23573163151741028,
0.15397563576698303,
0.01758493483066559,
-0.006025582551956177,
-0.14124678075313568,
0.19459626078605652,
0.022004511207342148,
-0.18178224563598633,
-0.3975211977958679,
0.31820717453956604,
-0.16428962349891663,
0.09741780906915665,
-0.0022007375955581665,
0.02793772518634796,
-0.13664889335632324,
0.009645560756325722,
0.34521251916885376,
-0.09218642115592957,
0.1585787534713745,
-0.12024490535259247,
-0.5274084806442261,
0.16422800719738007,
-0.13335978984832764,
0.31581008434295654,
-0.07404929399490356,
-0.21123214066028595,
0.17602086067199707,
-0.5084100365638733,
-0.0439235121011734,
0.12534964084625244,
0.01616978645324707,
-0.10545551031827927,
-0.14705592393875122,
0.03662675991654396,
-0.05239488556981087,
-0.1263648122549057,
-0.11714176833629608,
-0.25304099917411804,
0.0700559988617897,
0.09337571263313293,
0.4266044795513153,
-0.2893192172050476,
-0.13231830298900604,
0.006600184366106987,
-0.08406341075897217,
-0.2053414285182953,
0.29224035143852234,
0.10794545710086823,
-0.013985315337777138,
-0.2860105633735657,
-0.08576200157403946,
0.1799774020910263,
-0.23442794382572174,
-0.1501901000738144,
-0.09337249398231506,
-0.28519365191459656,
-0.20336875319480896,
-0.314161479473114,
0.19909070432186127,
0.3838467299938202,
-0.17193226516246796,
-0.036222584545612335,
0.16309083998203278,
0.24377378821372986,
0.037235990166664124,
0.6107358336448669,
0.0802806168794632,
-0.31212592124938965,
-0.2132541537284851,
-0.2252768874168396,
0.18574616312980652,
0.22819939255714417,
0.1302160918712616,
0.05037284269928932,
-0.019273430109024048,
-0.037596695125103,
-0.24837800860404968,
0.07556664943695068,
-0.09941831976175308,
0.03234310448169708,
0.14972378313541412,
-0.09559764713048935,
0.6345994472503662,
-0.33179888129234314,
-0.37309837341308594,
0.24323466420173645,
0.10148255527019501,
-0.6362754702568054,
0.6586298942565918,
0.38491350412368774,
0.9821142554283142,
0.38108116388320923,
0.1680554896593094,
-0.12138142436742783,
-0.1567191481590271,
0.32416605949401855,
-0.013666227459907532,
0.002131379209458828,
-0.29648271203041077,
-0.033058859407901764,
0.026802966371178627,
-0.08457217365503311,
-0.03923371434211731,
0.2208905667066574,
-0.4799198508262634,
-0.1690015345811844,
0.008143387734889984,
-0.004791010171175003,
-0.14400187134742737,
-0.025684721767902374,
0.0383908785879612,
-0.3300940692424774,
0.09437929838895798,
0.15767629444599152,
-0.12769173085689545,
0.08298102021217346,
0.02223123610019684,
-0.3423159718513489,
-0.1929725855588913,
-0.10250937938690186,
0.04672066867351532,
0.1628679633140564,
-0.37305325269699097,
0.0450008288025856,
0.25639456510543823,
-0.16886383295059204,
0.17418724298477173,
-0.16983662545681,
0.17171046137809753,
0.07688716053962708,
-0.038297511637210846,
0.2714262902736664,
0.48589593172073364,
0.22814588248729706,
0.10161436349153519,
0.05086410418152809,
0.2903972864151001,
0.09495744854211807,
-0.14889082312583923,
0.04851020127534866,
-0.27448877692222595,
-0.07003438472747803,
-0.10159508883953094,
-0.2670421004295349,
-0.0027079060673713684,
-0.3502271771430969,
-0.03400976210832596,
0.3216715157032013,
-0.22237488627433777,
-0.08902013301849365,
0.21960516273975372,
0.044564202427864075,
-0.12863974273204803,
0.22789809107780457,
0.338735431432724,
-0.18671652674674988,
0.009560901671648026,
-0.0600569024682045,
0.05464358627796173,
0.27816227078437805,
0.4036625325679779,
-0.30834653973579407,
-0.16684465110301971,
-0.3020777106285095,
0.14132609963417053,
0.4409634470939636,
-0.5937531590461731,
0.10602026432752609,
-0.020775021985173225,
-0.4427530765533447,
-0.0951419249176979,
0.5372339487075806,
0.055942781269550323,
0.29599398374557495,
-0.31159940361976624,
-0.04201720282435417,
-0.21819858253002167,
0.4017626643180847,
-0.10412074625492096,
0.3992000222206116,
-0.2502945065498352,
0.09071509540081024,
-0.020052297040820122,
0.4684586524963379,
-0.4823119342327118,
-0.07730609178543091,
0.09421074390411377,
0.33385011553764343,
0.19294413924217224,
-0.024610720574855804,
-0.22716078162193298,
-0.271407812833786,
0.16716288030147552,
0.16643595695495605,
-0.28981053829193115,
-0.3143557608127594,
-0.2800312042236328,
0.08543156832456589,
0.003893917426466942,
0.04806020110845566,
-0.31940385699272156,
0.033482879400253296,
0.1596808284521103,
-0.19737111032009125,
0.020535092800855637,
-0.07504590600728989,
-0.01882205158472061,
0.4735998511314392,
0.07765880227088928,
0.0917099267244339,
-0.25510528683662415,
0.052791714668273926,
0.05410440266132355,
0.10707014799118042,
-0.059864647686481476,
0.08846919983625412,
-0.10820764303207397,
0.03342168778181076,
0.035480547696352005,
0.07513745874166489,
-0.025482259690761566,
0.36506208777427673,
0.36547601222991943,
0.16161483526229858,
-0.0001949891448020935,
0.10404036194086075,
0.17122198641300201,
0.02868453413248062,
-0.09268070012331009,
-0.296590656042099,
0.08614809066057205,
0.4429798424243927,
-0.2860298752784729,
-0.031022904440760612,
0.021457519382238388,
-0.16196095943450928,
0.22277358174324036,
0.16359947621822357,
0.19875124096870422,
0.06692740321159363,
0.17141929268836975,
0.1763937771320343,
0.04780536890029907,
-0.2777950167655945,
0.23181670904159546,
0.1608174592256546,
-0.19703958928585052,
-0.08399759232997894,
0.6320534944534302,
0.12317635118961334,
0.433042049407959,
0.31613993644714355,
0.3852633833885193,
0.13454380631446838,
0.3084186613559723,
0.37436121702194214,
0.12487126886844635,
-0.05527932941913605,
0.05352281779050827,
-0.1285514533519745,
-0.08690565824508667,
0.39347949624061584,
0.37831053137779236,
-0.1268424689769745,
0.09697950631380081,
-0.4224345088005066,
0.08936389535665512,
0.1499992460012436,
-0.28647711873054504,
-0.15698504447937012,
-0.1860613375902176,
-0.1592901051044464,
-0.0221865177154541,
-0.29796329140663147,
-0.03672320768237114,
0.06888481229543686,
0.6832290887832642,
0.08684147894382477,
0.03270692378282547,
-0.0031939297914505005,
0.0901995301246643,
-0.16330057382583618,
0.5164810419082642,
-0.13096487522125244,
0.18858124315738678,
0.005689583718776703,
-0.15548686683177948,
0.026267709210515022,
0.32720863819122314,
-0.11393144726753235,
0.0847892165184021,
-0.23802566528320312,
0.42253607511520386,
0.07959385961294174,
-0.25788700580596924,
-0.14793914556503296,
0.0891021192073822,
0.2823111116886139,
-0.4016580581665039,
0.18743528425693512,
0.24248835444450378,
-0.23529420793056488,
0.14692141115665436,
-0.03412969037890434,
0.00640477892011404,
0.129891037940979,
0.33850204944610596,
0.37156060338020325,
-0.5492463707923889,
-0.05213116854429245,
-0.12615007162094116,
-0.05645100399851799,
-0.24604178965091705,
0.3334583044052124,
-0.38666975498199463,
0.06973236054182053,
-0.19012096524238586,
0.1633026897907257,
0.1564771682024002,
0.4445233941078186,
0.12213535606861115,
-0.25665605068206787,
0.024800509214401245,
0.06257486343383789,
-0.2503513693809509,
-0.10276604443788528,
0.19386471807956696,
-0.12356873601675034,
0.2529751658439636,
0.31395402550697327,
0.2619362473487854,
0.14598575234413147,
0.07403089851140976,
-0.21289677917957306,
0.06870144605636597,
-0.016207225620746613,
-0.26249808073043823,
-0.003374144434928894,
0.29122239351272583,
0.03343413770198822,
0.09673458337783813,
-0.18828195333480835,
0.0981077179312706,
0.21030734479427338,
0.21311649680137634,
-0.14387866854667664,
-0.13760951161384583,
0.2958682179450989,
0.29828178882598877,
0.46596258878707886,
0.11495568603277206,
-0.21112468838691711,
-0.1529455929994583,
0.037037357687950134,
0.21502558887004852,
-0.3210623264312744,
-0.2046261578798294,
0.1629103124141693,
0.09236298501491547,
0.43695011734962463,
0.01143132895231247,
-0.017489008605480194,
-0.21316902339458466,
-0.199590802192688,
-0.05835488811135292,
-0.058360036462545395,
-0.49519437551498413,
0.17292523384094238,
-0.27216413617134094,
0.048088256269693375,
-0.05122930556535721,
0.4314015507698059,
0.009871605783700943,
-0.09838788211345673,
-0.21886587142944336,
-0.49059274792671204,
0.3839898705482483,
0.15780924260616302,
-0.2718862295150757,
0.10486496984958649,
0.13990755379199982,
0.14770597219467163,
0.14852070808410645,
-0.6914889812469482,
0.06993339210748672,
0.3493189215660095,
-0.2531251907348633,
-0.18009275197982788,
0.062408026307821274,
-0.06585344672203064,
-0.0474226176738739,
-0.24782413244247437,
0.7475572824478149,
-0.013712629675865173,
0.0644097775220871,
-0.38024190068244934,
-0.22284555435180664
] |
https://github.com/huggingface/datasets/pull/463 | Add dataset/mlsum | I think the problem is related to `wiki_dpr` dataset which is making the circle CI failed as you can see:
```
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
FAILED tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_script_synced_with_s3_wiki_dpr/dummy_psgs_w100_no_embeddings
FAILED tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_script_synced_with_s3_wiki_dpr/dummy_psgs_w100_with_nq_embeddings
FAILED tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_script_synced_with_s3_wiki_dpr/psgs_w100_no_embeddings
FAILED tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_script_synced_with_s3_wiki_dpr/psgs_w100_with_nq_embeddings
```
I'm facing the same issues with my last commits, I tried to rebase from master but it still not working. Maybe @lhoestq can help with. | New pull request that should correct the previous errors.
The load_real_data stills fails because it is looking for a default dataset URL that does not exists, this does not happen when loading the dataset with load_dataset | 57 | text: Add dataset/mlsum
New pull request that should correct the previous errors.
The load_real_data stills fails because it is looking for a default dataset URL that does not exists, this does not happen when loading the dataset with load_dataset
I think the problem is related to `wiki_dpr` dataset which is making the circle CI failed as you can see:
```
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
FAILED tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_script_synced_with_s3_wiki_dpr/dummy_psgs_w100_no_embeddings
FAILED tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_script_synced_with_s3_wiki_dpr/dummy_psgs_w100_with_nq_embeddings
FAILED tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_script_synced_with_s3_wiki_dpr/psgs_w100_no_embeddings
FAILED tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_script_synced_with_s3_wiki_dpr/psgs_w100_with_nq_embeddings
```
I'm facing the same issues with my last commits, I tried to rebase from master but it still not working. Maybe @lhoestq can help with. | [
-0.2547067403793335,
-0.15431508421897888,
0.021900631487369537,
0.009199883788824081,
0.009456941857933998,
-0.18994873762130737,
0.19576981663703918,
-0.1479787975549698,
-0.060374535620212555,
0.1147141307592392,
0.18014732003211975,
0.008902077563107014,
0.2377065122127533,
0.4828406572341919,
-0.16212160885334015,
0.17552264034748077,
0.0037710443139076233,
0.019531041383743286,
0.07934096455574036,
0.06341861933469772,
-0.3155420124530792,
0.32016700506210327,
-0.08448533713817596,
-0.1671551913022995,
-0.2581770420074463,
0.01883876696228981,
-0.37948107719421387,
0.22110071778297424,
-0.27870750427246094,
-0.43245965242385864,
0.42869052290916443,
0.4604213535785675,
0.02370774745941162,
0.7996734976768494,
-0.0001156112557509914,
-0.07141607254743576,
0.57504802942276,
-0.05688266456127167,
-0.34912434220314026,
-0.436475932598114,
-0.11977776885032654,
-0.20018088817596436,
0.2036333680152893,
-0.07267878949642181,
-0.03901216387748718,
0.4655833840370178,
-0.3174181580543518,
0.07061466574668884,
0.3077491819858551,
0.26534152030944824,
0.1900336593389511,
0.2249191850423813,
-0.06929706037044525,
-0.4813724756240845,
0.30721911787986755,
0.3907797336578369,
-0.18672408163547516,
0.3115282952785492,
0.3013513684272766,
0.014737598598003387,
0.2347417175769806,
0.16951961815357208,
0.007965592667460442,
-0.14946989715099335,
0.0678446888923645,
-0.13911403715610504,
0.21917515993118286,
-0.23893320560455322,
0.19016358256340027,
0.033417921513319016,
0.5709800720214844,
-0.13952773809432983,
-0.2984012961387634,
0.08580829948186874,
0.17804725468158722,
-0.2996135354042053,
0.20340591669082642,
-0.2481917440891266,
-0.16471214592456818,
0.06637449562549591,
-0.26696205139160156,
-0.31829753518104553,
-0.039780452847480774,
0.2126326560974121,
-0.19926807284355164,
0.19921991229057312,
0.042721349745988846,
0.1428002119064331,
0.1518845558166504,
0.0016346313059329987,
0.18816658854484558,
-0.027773872017860413,
-0.21444088220596313,
-0.045740757137537,
-0.45975977182388306,
-0.15334387123584747,
0.08634377270936966,
0.18573716282844543,
0.04058269411325455,
0.5624570846557617,
0.13778866827487946,
0.12118284404277802,
0.1696796864271164,
0.15406855940818787,
0.11234088242053986,
0.13927489519119263,
-0.014087468385696411,
0.12261126190423965,
0.3070313334465027,
0.3094298839569092,
-0.05993211269378662,
-0.06050655245780945,
0.046014174818992615,
-0.1413613259792328,
-0.12645269930362701,
0.039796218276023865,
0.17355117201805115,
-0.20481911301612854,
0.02912299893796444,
0.0457175187766552,
0.013922419399023056,
-0.050163205713033676,
-0.04412021115422249,
0.3104546070098877,
0.08579941838979721,
0.4010658264160156,
0.40131425857543945,
0.48323434591293335,
0.10773467272520065,
0.2806699573993683,
-0.17481687664985657,
-0.24741612374782562,
-0.13983336091041565,
0.2446153312921524,
0.31229543685913086,
-0.10786208510398865,
0.42335304617881775,
0.20133177936077118,
0.12368766963481903,
-0.11189781874418259,
-0.027604810893535614,
0.21619606018066406,
0.0031135454773902893,
0.5008195042610168,
0.2255631685256958,
0.2619541585445404,
0.037054333835840225,
-0.3279067277908325,
0.15838783979415894,
-0.0007077828049659729,
-0.4971075654029846,
-0.3735838532447815,
-0.2455529123544693,
0.23122185468673706,
-0.23744086921215057,
-0.12124323844909668,
-0.4746193587779999,
-0.026754792779684067,
-0.07028038054704666,
0.017413940280675888,
-0.0670575276017189,
-0.06741126626729965,
0.054744306951761246,
-0.12526986002922058,
0.2899519205093384,
0.42627131938934326,
0.0958220362663269,
-0.08541035652160645,
-0.4688135087490082,
0.17495882511138916,
0.05614796280860901,
0.13698969781398773,
-0.24314674735069275,
-0.10381761938333511,
-0.3248245418071747,
0.021774381399154663,
0.3324897587299347,
-0.556390106678009,
-0.3187830150127411,
0.28113025426864624,
-0.1158880740404129,
-0.0028028879314661026,
-0.014660477638244629,
-0.1258573979139328,
0.09642469882965088,
0.012361157685518265,
-0.07044811546802521,
0.1385088711977005,
-0.03251711279153824,
-0.14156018197536469,
-0.3006319999694824,
-0.0673748254776001,
0.047187887132167816,
0.14774762094020844,
0.08983796089887619,
0.1677054762840271,
0.3654652237892151,
-0.21837002038955688,
0.22861725091934204,
-0.00482776015996933,
-0.17650625109672546,
0.2831501364707947,
0.629821240901947,
-0.403730571269989,
0.22907060384750366,
0.30624645948410034,
-0.4888577461242676,
0.1288071572780609,
-0.08807716518640518,
0.41097038984298706,
-0.07379908859729767,
-0.19890433549880981,
-0.5997011065483093,
-0.0050352513790130615,
-0.22955988347530365,
-0.21306785941123962,
0.08540617674589157,
0.23099185526371002,
-0.1295032948255539,
-0.07256199419498444,
-0.12438222765922546,
-0.25912410020828247,
-0.42573273181915283,
0.06718197464942932,
0.12047204375267029,
0.22383145987987518,
-0.4214145243167877,
-0.18847151100635529,
0.13061931729316711,
-0.016651198267936707,
0.43132999539375305,
-0.06300636380910873,
-0.16064810752868652,
0.40772512555122375,
-0.09051292389631271,
0.3278902769088745,
-0.02514437586069107,
-0.043195709586143494,
0.40687721967697144,
-0.3025576174259186,
-0.23448070883750916,
-0.027042485773563385,
-0.10934803634881973,
-0.23259887099266052,
-0.12860435247421265,
0.23689085245132446,
0.047292016446590424,
0.20055285096168518,
0.06036568433046341,
-0.00271700881421566,
0.4128619134426117,
-0.22259113192558289,
-0.08315660059452057,
-0.24494677782058716,
0.14914332330226898,
0.3240807354450226,
0.1643020063638687,
-0.19171248376369476,
0.22127720713615417,
0.1980273276567459,
0.09270220994949341,
-0.14482882618904114,
0.13299651443958282,
0.13961398601531982,
0.05424445867538452,
-0.16635248064994812,
0.10940234363079071,
0.5135055184364319,
0.3398120403289795,
0.08328128606081009,
-0.041831839829683304,
0.2633427381515503,
-0.009501415304839611,
-0.36946654319763184,
0.3120478391647339,
-0.0689026266336441,
0.11017514020204544,
0.40643110871315,
0.3731389343738556,
-0.022500567138195038,
-0.3689442574977875,
-0.10587863624095917,
0.11957233399152756,
0.30639687180519104,
-0.21885541081428528,
-0.1831703931093216,
-0.21635974943637848,
0.07832848280668259,
0.12110918015241623,
0.07748999446630478,
-0.17433063685894012,
-0.4573975205421448,
-0.01310696080327034,
0.36238107085227966,
-0.11945374310016632,
0.2664792835712433,
0.06489986181259155,
0.2788549065589905,
-0.08582737296819687,
0.028672758489847183,
-0.49800992012023926,
-0.4256173074245453,
-0.057293228805065155,
0.02205779403448105,
0.2002522200345993,
-0.23620371520519257,
0.2162473201751709,
-0.24059860408306122,
0.2301863580942154,
-0.31408244371414185,
-0.5965251326560974,
0.14876191318035126,
0.08227898180484772,
0.17708449065685272,
0.20822057127952576,
0.3530140519142151,
-0.05194568634033203,
-0.3480587899684906,
0.27472397685050964,
-0.4083248972892761,
-0.18726396560668945,
0.06733211874961853,
-0.2139904499053955,
-0.23444709181785583,
-0.36607080698013306,
-0.26057496666908264,
-0.2212003916501999,
-0.20471368730068207,
-0.21641971170902252,
0.11144587397575378,
-0.08928650617599487,
0.19537100195884705,
0.3003062605857849,
-0.15815797448158264,
0.3910805583000183,
-0.08570782840251923,
-0.35570091009140015,
-0.4670526087284088,
0.28340938687324524,
-0.27252861857414246,
-0.3495377004146576,
0.3287484645843506,
-0.08804169297218323,
0.3627934157848358,
0.0985899493098259,
-0.5803825855255127,
-0.3335510790348053,
0.1626935452222824,
0.10537947714328766,
0.138182133436203,
0.1536196619272232,
0.19025057554244995,
0.12213591486215591,
-0.15181300044059753,
-0.20617836713790894,
-0.2738301455974579,
0.034175142645835876,
0.25865837931632996,
0.3399043083190918,
-0.09294875711202621,
0.347149133682251,
-0.018078740686178207,
0.6062789559364319,
0.04041139781475067,
-0.21784089505672455,
0.4186191260814667,
0.007792448624968529,
0.48486998677253723,
-0.12391703575849533,
-0.20903092622756958,
-0.07132790982723236,
-0.08277180790901184,
0.20839880406856537,
0.10943244397640228,
0.0501435324549675,
-0.2776504158973694,
-0.15027911961078644,
0.06530602276325226,
-0.2746371924877167,
-0.2152852714061737,
-0.141792431473732,
-0.1107972115278244,
0.21492540836334229,
0.05041322484612465,
-0.01893153414130211,
-0.16536705195903778,
-0.04483692720532417,
0.31025171279907227,
0.3519103527069092,
0.09373389184474945,
-0.035410862416028976,
-0.5432666540145874,
-0.2778313457965851,
-0.373113214969635,
0.32518434524536133,
-0.04611989110708237,
0.39345717430114746,
-0.22294913232326508,
0.127366840839386,
-0.04329870641231537,
-0.11407709866762161,
0.41932904720306396,
-0.8304703831672668,
-0.22174130380153656,
0.23624104261398315,
-0.1543286144733429,
-0.1590908169746399,
-0.06985580921173096,
0.08221301436424255,
0.09137896448373795,
0.11622697114944458,
0.7189225554466248,
-0.35625118017196655,
-0.10290127247571945,
0.12775728106498718,
0.06558533012866974,
-0.06311988085508347,
-0.117130346596241,
-0.091078981757164,
-0.7058535218238831,
-0.44511696696281433,
0.018028751015663147,
0.025621233507990837,
0.1287681609392166,
-0.3170408308506012,
0.05372070148587227,
0.02163190208375454,
-0.038656122982501984,
-0.10159577429294586,
0.2121983766555786,
0.23555371165275574,
0.27470436692237854,
-0.052592527121305466,
-0.022161204367876053,
-0.04808080941438675,
0.3403550982475281,
0.6952329874038696,
0.02484046295285225,
0.09530068188905716,
0.2260856330394745,
-0.12511944770812988,
0.0962301641702652,
0.42069414258003235,
0.14065617322921753,
0.38998350501060486,
0.08345931023359299,
-0.140827015042305,
-0.10520797222852707,
0.07680223882198334,
-0.07981156557798386,
-0.24025307595729828,
-0.04919274523854256,
0.014553261920809746,
0.1926066279411316,
-0.13150107860565186,
-0.02276146411895752,
0.28618037700653076,
-0.04655031859874725,
-0.20031021535396576,
0.4339819550514221,
-0.0753302052617073,
1.041166067123413,
0.05263487249612808,
-0.031389523297548294,
0.18946680426597595,
0.0195440873503685,
0.07111091166734695,
0.02695329487323761,
-0.09758145362138748,
-0.4534536302089691,
0.11736976355314255,
0.0353059247136116,
-0.22091417014598846,
0.0918244794011116,
0.03802662342786789,
-0.2776513397693634,
0.13365110754966736,
0.0015784278512001038,
0.5998691916465759,
0.22518250346183777,
0.6304812431335449,
-0.2614262104034424,
0.029829811304807663,
-0.13323770463466644,
0.16502471268177032,
0.0029428191483020782,
0.24998122453689575,
-0.2156621217727661,
-0.03502541035413742,
0.06456488370895386,
-0.34773004055023193,
-0.4042971134185791,
0.1483888030052185,
-0.38441386818885803,
0.06829342991113663,
-0.07953144609928131,
-0.6723838448524475,
0.15198026597499847,
-0.02588130161166191,
0.2717403173446655,
0.21360531449317932,
-0.3066381514072418,
0.4807874858379364,
-0.025095127522945404,
0.09033381938934326,
0.07189962267875671,
-0.15369655191898346,
-0.08865237236022949,
-0.21919363737106323,
-0.330061674118042,
0.19461467862129211,
-0.10101719945669174,
-0.4278148412704468,
-0.018939673900604248,
-0.2703765630722046,
-0.08325561881065369,
-0.11798430234193802,
-0.002807167125865817,
-0.01135999709367752,
-0.11453831195831299,
-0.481163889169693,
0.10860151052474976,
0.011134695261716843,
0.027771612629294395,
-0.04577769339084625,
0.10297191888093948,
-0.04082537814974785,
-0.059104640036821365,
0.3265553116798401,
-0.0962931290268898,
-0.43640637397766113,
0.3707229495048523,
0.13894590735435486,
0.07975176721811295,
-0.278374582529068,
0.031051769852638245,
-0.021494492888450623,
-0.42649152874946594,
0.19596794247627258,
-0.10826526582241058,
-0.3535807132720947,
0.11796267330646515,
0.5158686637878418,
0.15760672092437744,
0.037551335990428925,
0.07439540326595306,
-0.4272817075252533,
-0.22715069353580475,
0.19554546475410461,
0.022032245993614197,
0.43884462118148804,
-0.134065642952919,
0.04594244062900543,
-0.03971581533551216,
0.0797484964132309,
-0.31682324409484863,
0.2861071527004242,
-0.2982901632785797,
0.2288707196712494,
-0.17717790603637695,
-0.27515047788619995,
0.15424852073192596,
-0.12902241945266724,
0.037699244916439056,
0.007589399814605713,
-0.12871041893959045,
-0.16579577326774597,
-0.13341979682445526,
0.14788168668746948,
0.21592393517494202,
-0.12484028190374374,
0.04162601754069328,
-0.2159656584262848,
0.09906069934368134,
0.06914868950843811,
0.11858382821083069,
-0.09490752965211868,
-0.14561904966831207,
-0.13604681193828583,
0.029690876603126526,
-0.043192148208618164,
-0.3694533705711365,
-0.0004292502999305725,
0.033460427075624466,
0.2840621769428253,
0.06322804093360901,
0.024833278730511665,
0.0068010371178388596,
-0.05980704724788666,
0.2601831257343292,
0.17925113439559937,
0.10390408337116241,
0.3938091993331909,
0.4528951942920685,
-0.2650338411331177,
-0.22177673876285553,
0.048605386167764664,
0.3401188254356384,
0.06966724246740341,
-0.2581407427787781,
0.19801029562950134,
0.06476052105426788,
0.15486429631710052,
-0.17724190652370453,
-0.1274382323026657,
0.24632667005062103,
-0.006930978037416935,
0.015581730753183365,
0.1559385061264038,
0.38918283581733704,
-0.512515664100647,
0.20047438144683838,
0.2709379196166992,
0.6009751558303833,
-0.20596615970134735,
0.23392730951309204,
-0.061232712119817734,
-0.15838105976581573,
0.047140929847955704,
0.07283264398574829,
-0.11822284758090973,
0.0002674087882041931,
-0.14908455312252045,
-0.05053693801164627,
0.2569432258605957,
0.06308501213788986,
0.04522018879652023,
0.21754983067512512,
-0.2321176826953888,
0.3895714282989502,
-0.27056685090065,
0.04150012135505676,
0.10322064161300659,
0.265300452709198,
-0.021085307002067566,
-0.02999337762594223,
-0.19977976381778717,
-0.3342219293117523,
0.03641887009143829,
-0.22099238634109497,
-0.027455074712634087,
-0.6121164560317993,
-0.26331767439842224,
-0.04752048850059509,
0.08448967337608337,
-0.11858193576335907,
0.026840228587388992,
0.18056687712669373,
0.0280156247317791,
-0.08603949844837189,
-0.32334190607070923,
-0.23436564207077026,
0.09853161871433258,
0.22238221764564514,
-0.18220803141593933,
0.44870221614837646,
0.41517096757888794,
-0.2107829749584198,
0.1768568605184555,
0.18970705568790436,
0.5359935164451599,
0.2804577350616455,
-0.14333713054656982,
0.0736701563000679,
0.2074921876192093,
-0.06545400619506836,
-0.0005945321172475815,
0.12832355499267578,
0.29146698117256165,
-0.312591552734375,
0.14716391265392303,
0.16181834042072296,
-0.2169666588306427,
0.0265628881752491,
-0.017696548253297806,
-0.1424117386341095,
-0.0953909307718277,
0.18010863661766052,
-0.007373344153165817,
-0.13597628474235535,
-0.0040695928037166595,
0.222110778093338,
-0.05102236941456795,
0.01608489826321602,
0.6033620238304138,
-0.018440041691064835,
0.05416285991668701,
-0.3203273415565491,
0.12222383916378021,
0.09553216397762299,
0.40806594491004944,
0.47126320004463196,
0.026094984263181686,
-0.40888479351997375,
-0.28666526079177856,
-0.5747740268707275,
0.18201789259910583,
0.2018064260482788,
0.21283027529716492,
0.18305689096450806,
0.19168050587177277,
0.18919265270233154,
0.10561305284500122,
0.29261571168899536,
0.15810930728912354,
0.06694470345973969,
0.010955806821584702,
-0.3199734389781952,
0.1109929084777832,
-0.11579887568950653,
-0.09362377226352692,
-0.09673087298870087,
-0.24876874685287476,
0.12765318155288696,
-0.12699653208255768,
0.09839550405740738,
-0.20429395139217377,
-0.25484079122543335,
0.23611751198768616,
0.02314840629696846,
0.2803160548210144,
0.20505091547966003,
0.3186454772949219,
-0.2326635718345642,
-0.09596044570207596,
-0.137565016746521,
-0.5988562107086182,
0.061061833053827286,
0.31874555349349976,
-0.05132048949599266,
0.3604113757610321,
0.11274367570877075,
-0.023612719029188156,
-0.41792476177215576,
-0.09003577381372452,
0.13936100900173187,
-0.010855557397007942,
-0.0980931892991066,
0.4378814995288849,
-0.13752485811710358,
0.033889852464199066,
0.20653650164604187,
0.2040979564189911,
-0.1180276870727539,
0.29327523708343506,
-0.13845250010490417,
-0.27199798822402954,
0.5424302816390991,
-0.15655368566513062,
-0.24587151408195496,
-0.023670896887779236,
0.2702633738517761,
-0.30250146985054016,
0.30084145069122314,
-0.41340258717536926,
-0.025952309370040894,
0.166111558675766,
0.10682898759841919,
-0.442116379737854,
0.2929709851741791,
0.09721061587333679,
-0.05167688429355621,
0.07269462943077087,
0.3398657441139221,
0.12697184085845947,
-0.2354520559310913,
-0.15147477388381958,
-0.1268472969532013
] |
https://github.com/huggingface/datasets/pull/463 | Add dataset/mlsum | Hello, I am confused about the next steps I need to do. Did the forced merge solve the issue ? | New pull request that should correct the previous errors.
The load_real_data stills fails because it is looking for a default dataset URL that does not exists, this does not happen when loading the dataset with load_dataset | 20 | text: Add dataset/mlsum
New pull request that should correct the previous errors.
The load_real_data stills fails because it is looking for a default dataset URL that does not exists, this does not happen when loading the dataset with load_dataset
Hello, I am confused about the next steps I need to do. Did the forced merge solve the issue ? | [
-0.24350999295711517,
-0.007590271532535553,
-0.051387183368206024,
-0.019004717469215393,
0.0682656466960907,
0.037931837141513824,
0.020377598702907562,
0.07761256396770477,
-0.025294452905654907,
-0.16759739816188812,
-0.007541252300143242,
-0.1607624888420105,
0.10096873342990875,
0.19240273535251617,
-0.038839709013700485,
0.2313426434993744,
0.03325624763965607,
0.07405173778533936,
0.12692558765411377,
-0.046514131128787994,
-0.45977503061294556,
0.322904109954834,
-0.05756496638059616,
-0.19787414371967316,
-0.3005005419254303,
0.19408255815505981,
-0.28044548630714417,
0.6557758450508118,
-0.4032244086265564,
-0.18288952112197876,
0.29817354679107666,
0.3130897879600525,
-0.09211412072181702,
0.6402755379676819,
-0.00010845198994502425,
-0.14002510905265808,
0.3967190980911255,
-0.1763526052236557,
-0.25238630175590515,
-0.30964505672454834,
-0.3990481495857239,
-0.23104459047317505,
0.03495711088180542,
-0.05929683521389961,
0.006513722240924835,
-0.10742738097906113,
-0.09827671945095062,
-0.2866905927658081,
0.20586995780467987,
0.44970619678497314,
0.2595929503440857,
-0.17875586450099945,
0.0011743195354938507,
-0.3662714660167694,
0.0005351006984710693,
0.24845941364765167,
0.21927690505981445,
0.507448136806488,
0.307944655418396,
-0.12250015139579773,
0.3140929937362671,
0.06426803767681122,
0.0962708443403244,
-0.2550438642501831,
0.038658257573843,
-0.22355173528194427,
-0.11925368756055832,
-0.20467740297317505,
0.14201512932777405,
0.01475132629275322,
0.4368481934070587,
-0.11045672744512558,
-0.016813894733786583,
0.03703337907791138,
0.09762581437826157,
-0.19234053790569305,
0.3500308394432068,
-0.09880407154560089,
-0.037592701613903046,
0.16013388335704803,
-0.22561098635196686,
-0.5531713366508484,
0.09144344925880432,
0.12603981792926788,
-0.2309063822031021,
0.19648456573486328,
0.10823588818311691,
-0.0023781806230545044,
0.09662942588329315,
0.06468852609395981,
0.06795647740364075,
0.04621962457895279,
-0.07520347833633423,
-0.05519014969468117,
-0.4419063329696655,
-0.1653614342212677,
0.010600157082080841,
-0.10701514035463333,
0.09144799411296844,
0.1346268653869629,
-0.01601269841194153,
0.053056396543979645,
0.13089454174041748,
-0.02645789086818695,
0.19967620074748993,
0.1353977471590042,
0.0014270097017288208,
-0.2027730494737625,
0.19348713755607605,
0.045654553920030594,
0.13434092700481415,
0.06996327638626099,
-0.015624074265360832,
-0.16012051701545715,
-0.4391140639781952,
0.07380528748035431,
0.30381977558135986,
-0.26248398423194885,
-0.028532108291983604,
0.02148318476974964,
-0.06653185188770294,
-0.061429716646671295,
-0.13786110281944275,
0.18091744184494019,
-0.10425592958927155,
0.2637946605682373,
0.47076135873794556,
0.26143473386764526,
-0.01117115281522274,
-0.10832256078720093,
-0.18475496768951416,
-0.058997947722673416,
-0.20177751779556274,
-0.1035170629620552,
0.18870539963245392,
-0.23582515120506287,
0.3948614299297333,
0.202668234705925,
-0.16381843388080597,
0.0534878745675087,
-0.015603187493979931,
0.13187091052532196,
0.08446110039949417,
0.3765847980976105,
0.3062075674533844,
0.0031778421252965927,
0.2003772258758545,
-0.13218064606189728,
0.06742622703313828,
0.06613019108772278,
-0.5170691609382629,
-0.4409411549568176,
-0.37193557620048523,
0.3202103078365326,
-0.03698892146348953,
0.05136499181389809,
-0.3733607530593872,
0.4118722081184387,
-0.20003020763397217,
-0.15979072451591492,
-0.2585547864437103,
0.10913404077291489,
0.13736437261104584,
-0.17160144448280334,
0.1830034852027893,
0.11268040537834167,
-0.3590070605278015,
0.08796410262584686,
-0.31008920073509216,
0.04174242541193962,
0.10676667839288712,
0.040610700845718384,
-0.22580105066299438,
-0.009833358228206635,
-0.32691213488578796,
0.1580011248588562,
0.4027854800224304,
-0.22866158187389374,
-0.059178948402404785,
0.10675676167011261,
-0.278096079826355,
-0.04304314777255058,
-0.03724851459264755,
-0.13299386203289032,
0.06770988553762436,
-0.07749944925308228,
0.35876643657684326,
0.22932876646518707,
-0.17585359513759613,
-0.1904817372560501,
-0.44864898920059204,
-0.02223219722509384,
-0.1372857689857483,
0.15157301723957062,
0.10997755825519562,
0.17721793055534363,
0.21168406307697296,
0.0631246343255043,
0.1752610206604004,
0.04518841207027435,
-0.2747843861579895,
0.22791485488414764,
0.3914504945278168,
-0.003420114517211914,
0.15634873509407043,
0.12504932284355164,
-0.5455354452133179,
0.02963177114725113,
-0.07334040850400925,
0.4378923177719116,
0.1662270426750183,
-0.15328478813171387,
-0.5543336868286133,
-0.21376031637191772,
-0.0773194432258606,
-0.11001533269882202,
0.1936427801847458,
0.2641442120075226,
-0.3340070843696594,
-0.1406445950269699,
-0.3830946981906891,
0.23333865404129028,
-0.36918747425079346,
0.05989458039402962,
-0.27177131175994873,
0.3110208809375763,
-0.3317066729068756,
-0.14573368430137634,
0.1446981281042099,
-0.005475983023643494,
0.20291301608085632,
-0.1304772049188614,
-0.13064166903495789,
0.5936897993087769,
-0.16484475135803223,
0.1690366268157959,
0.14434844255447388,
-0.15353097021579742,
0.4550830125808716,
-0.2399003505706787,
-0.17883922159671783,
0.07800145447254181,
-0.025957278907299042,
-0.1339116394519806,
-0.24098283052444458,
0.06628972291946411,
-0.04563368484377861,
-0.007047548890113831,
0.09601491689682007,
-0.12050638347864151,
0.2792346179485321,
-0.18686851859092712,
0.0897456556558609,
0.027402587234973907,
0.13754576444625854,
0.3445081412792206,
0.10355378687381744,
-0.07427684217691422,
-0.02487165480852127,
0.0903635323047638,
0.23879824578762054,
0.0880691260099411,
-0.03188770264387131,
0.0022778362035751343,
-0.17338523268699646,
-0.3689194917678833,
0.18261687457561493,
0.2650150954723358,
0.45356762409210205,
0.36117810010910034,
-0.0834738165140152,
0.20872868597507477,
-0.1354704350233078,
-0.225444957613945,
0.35670045018196106,
-0.006360195577144623,
0.1160716563463211,
0.27214279770851135,
0.31601881980895996,
-0.09942875057458878,
-0.4733048379421234,
-0.014353098347783089,
0.15304338932037354,
0.23692016303539276,
-0.3820893466472626,
-0.27601122856140137,
-0.09629348665475845,
-0.15506374835968018,
0.0363975390791893,
-0.1498843878507614,
-0.2800671458244324,
-0.5600277185440063,
0.05644141137599945,
0.2820902168750763,
-0.2095765322446823,
0.12471207231283188,
0.21681442856788635,
0.2240571826696396,
-0.07078922539949417,
0.13660581409931183,
-0.24938561022281647,
-0.3423660695552826,
-0.08110810816287994,
0.17641283571720123,
0.12014785408973694,
0.09796171635389328,
0.22262372076511383,
-0.25532713532447815,
0.22639064490795135,
-0.031028619036078453,
-0.6389012336730957,
0.05442969128489494,
-0.06095264106988907,
0.1201341301202774,
0.2591169774532318,
0.24041053652763367,
0.3126550316810608,
-0.25411826372146606,
0.08806433528661728,
-0.10708407312631607,
-0.0881376564502716,
-0.13277298212051392,
-0.0015416672686114907,
0.006374916527420282,
-0.23106490075588226,
-0.6011407971382141,
-0.09902085363864899,
-0.375953733921051,
-0.2464892715215683,
0.06382496654987335,
-0.12263794243335724,
0.16399359703063965,
0.24882632493972778,
-0.09547477215528488,
0.32802924513816833,
-0.0029502054676413536,
-0.4986034631729126,
-0.43859583139419556,
0.1023142859339714,
-0.12415453791618347,
-0.25794661045074463,
0.4317184388637543,
-0.02530190907418728,
0.1150868833065033,
0.11826123297214508,
-0.22056041657924652,
-0.25634321570396423,
0.13253355026245117,
0.04358091577887535,
-0.038452014327049255,
-0.03296608477830887,
0.39461180567741394,
0.02057688683271408,
-0.2413433939218521,
-0.2567891478538513,
-0.24623949825763702,
0.19449090957641602,
0.5268747210502625,
0.5381451845169067,
-0.03456040099263191,
0.381879061460495,
-0.1394343078136444,
0.5319716930389404,
-0.15672922134399414,
-0.1854136735200882,
0.26444923877716064,
0.005472932010889053,
0.5984188914299011,
-0.006155781447887421,
-0.31533271074295044,
-0.22219103574752808,
0.10847443342208862,
0.3067302703857422,
0.3794912099838257,
0.20111358165740967,
0.03389580547809601,
-0.28582894802093506,
-0.047410473227500916,
-0.15954424440860748,
-0.0723341628909111,
-0.10693393647670746,
0.0821555107831955,
-0.13137167692184448,
0.26384884119033813,
-0.19294482469558716,
-0.19122709333896637,
0.2142277956008911,
0.14321036636829376,
0.1685328483581543,
0.06955799460411072,
0.022570298984646797,
-0.1947990357875824,
0.22859464585781097,
-0.2377823293209076,
0.2102116346359253,
-0.04240866005420685,
0.24709689617156982,
-0.15717050433158875,
-0.13903683423995972,
-0.10511139035224915,
-0.06207405403256416,
0.689574658870697,
-0.662824273109436,
-0.2793422341346741,
0.04896976426243782,
0.22991642355918884,
0.02506948448717594,
0.06786017119884491,
0.20105716586112976,
0.13139286637306213,
0.6925509572029114,
0.6073676943778992,
-0.4284609258174896,
-0.15070737898349762,
0.3095625042915344,
0.07932864874601364,
-0.07315555214881897,
-0.15793460607528687,
-0.2395074963569641,
-0.4364851415157318,
-0.35383152961730957,
-0.1613490879535675,
-0.019661832600831985,
0.10096127539873123,
-0.15282779932022095,
0.014107514172792435,
0.025780098512768745,
-0.3305743336677551,
0.18350186944007874,
0.07279272377490997,
0.2748234272003174,
0.10321333259344101,
-0.08496436476707458,
0.16081279516220093,
0.313066691160202,
0.2833421230316162,
0.8876292109489441,
-0.018485452979803085,
-0.16820448637008667,
0.21526136994361877,
-0.07942891865968704,
0.2514604926109314,
0.3190215229988098,
0.1464318186044693,
0.06566710770130157,
0.08465305715799332,
-0.0637819916009903,
-0.019411366432905197,
0.42488378286361694,
0.05980757623910904,
-0.23744618892669678,
-0.16974441707134247,
-0.17941273748874664,
0.29764917492866516,
-0.06736385822296143,
-0.03922148048877716,
0.569001317024231,
0.09737426042556763,
-0.3030773997306824,
0.06694871187210083,
-0.12848931550979614,
1.037041425704956,
0.15483367443084717,
-0.06298267841339111,
0.20495319366455078,
-0.3172692656517029,
0.272189736366272,
-0.2698206901550293,
-0.03788893297314644,
-0.17003712058067322,
0.04765825346112251,
-0.05659594386816025,
-0.09906153380870819,
0.0431254543364048,
0.014047510921955109,
-0.18119554221630096,
0.20186275243759155,
0.08708237111568451,
0.47550758719444275,
0.2769485414028168,
0.5563774108886719,
0.019235976040363312,
0.1337069272994995,
-0.24041426181793213,
0.18986164033412933,
-0.03549891710281372,
0.040015071630477905,
-0.2351452112197876,
-0.21126511693000793,
-0.06189627945423126,
-0.1953698694705963,
-0.011434927582740784,
0.17330965399742126,
-0.07802493125200272,
-0.03553572669625282,
-0.40312209725379944,
-0.4096514582633972,
-0.10279728472232819,
-0.1978740394115448,
0.2066747099161148,
0.12932078540325165,
-0.30153748393058777,
0.34388476610183716,
0.2416096329689026,
0.005471683572977781,
0.014613882638514042,
-0.04933749884366989,
0.1817733496427536,
-0.2092542052268982,
-0.163442462682724,
0.3598605692386627,
-0.14003239572048187,
-0.43481141328811646,
-0.1377236545085907,
-0.08332511782646179,
0.03494763374328613,
-0.26320740580558777,
-0.20078912377357483,
0.3428983986377716,
0.05648050084710121,
-0.3043196201324463,
0.17411649227142334,
-0.08004383742809296,
0.04845069721341133,
-0.1268400251865387,
0.06038672849535942,
-0.1686806082725525,
-0.22881798446178436,
0.32118043303489685,
0.038199182599782944,
-0.3140520453453064,
0.1868722289800644,
0.06429584324359894,
-0.0033183544874191284,
-0.18713229894638062,
-0.3426854610443115,
0.21729561686515808,
-0.5861122608184814,
0.14253276586532593,
-0.20511993765830994,
-0.3514224588871002,
0.30002665519714355,
0.25060397386550903,
0.21095174551010132,
-0.011863909661769867,
0.12521904706954956,
-0.29888442158699036,
-0.37633028626441956,
0.1481911540031433,
-0.19462881982326508,
0.31066596508026123,
0.014423206448554993,
0.09829246997833252,
0.053728796541690826,
0.00976169016212225,
-0.42310720682144165,
0.2367195188999176,
-0.26401519775390625,
0.1465800702571869,
-0.2976914942264557,
-0.0755988135933876,
0.0418049693107605,
-0.20215775072574615,
0.1431180089712143,
-0.07241906970739365,
-0.16846023499965668,
-0.1731022298336029,
0.06526204943656921,
0.10358074307441711,
0.1889730989933014,
-0.09861014038324356,
-0.09421885013580322,
-0.251165509223938,
-0.1809929609298706,
0.27012041211128235,
0.0004930123686790466,
-0.1553431749343872,
-0.09829813241958618,
-0.37596482038497925,
0.3977568745613098,
-0.10898716002702713,
-0.15603649616241455,
0.033492572605609894,
0.18976923823356628,
0.12189361453056335,
-0.18844746053218842,
-0.027197860181331635,
-0.35557934641838074,
-0.09603642672300339,
0.1223052591085434,
0.19422808289527893,
0.21159031987190247,
0.1649436354637146,
0.39464297890663147,
-0.2646787762641907,
-0.1323796659708023,
0.07816455513238907,
0.45689505338668823,
0.28309160470962524,
-0.17717663943767548,
0.05282379686832428,
-0.011509694159030914,
0.23528510332107544,
-0.4076116681098938,
0.2145426720380783,
0.0687304139137268,
0.020652471110224724,
0.017013896256685257,
-0.02606210857629776,
0.42591941356658936,
-0.06997862458229065,
0.269125372171402,
0.5009494423866272,
0.5673645734786987,
0.04915795475244522,
0.18956874310970306,
-0.07453635334968567,
-0.31721314787864685,
0.1359555423259735,
0.31612348556518555,
0.09743556380271912,
-0.00662308931350708,
-0.08273226022720337,
-0.11534260958433151,
0.26882049441337585,
0.1642969250679016,
-0.05689456686377525,
0.20251765847206116,
-0.30501294136047363,
0.5123392939567566,
0.19359774887561798,
0.007646918296813965,
0.09435506165027618,
0.41428491473197937,
0.020942695438861847,
-0.28939488530158997,
-0.16963684558868408,
-0.11381956934928894,
0.20483699440956116,
-0.17537733912467957,
0.39025983214378357,
-0.23959419131278992,
-0.31270691752433777,
0.058177217841148376,
0.023969117552042007,
-0.11326798796653748,
-0.07260388135910034,
-0.018913090229034424,
-0.05065484344959259,
-0.07307156920433044,
-0.4018224775791168,
-0.2578261196613312,
-0.008028220385313034,
0.1067761555314064,
-0.057603489607572556,
0.3650000989437103,
0.48545920848846436,
-0.1937260925769806,
0.4856526553630829,
0.3580564856529236,
0.4193807542324066,
0.3631500005722046,
-0.04774540290236473,
-0.036471445113420486,
0.35634705424308777,
-0.040436919778585434,
0.07379889488220215,
0.16779935359954834,
0.25373122096061707,
-0.1764816790819168,
0.18110966682434082,
0.2590341567993164,
-0.28768211603164673,
-0.0008131526410579681,
-0.012263301759958267,
-0.014861378818750381,
-0.04659299924969673,
0.13129545748233795,
0.11248917877674103,
-0.1433311104774475,
-0.08059023320674896,
0.018109366297721863,
-0.20159363746643066,
-0.2260207086801529,
0.32924798130989075,
-0.04668315500020981,
0.015966150909662247,
-0.26180535554885864,
0.15791632235050201,
0.14410439133644104,
0.20231376588344574,
0.3463391959667206,
0.06588886678218842,
-0.24870428442955017,
-0.4267619252204895,
-0.6719321012496948,
0.194218248128891,
0.03400205820798874,
-0.11508499085903168,
0.08749751001596451,
0.06331093609333038,
0.3632168471813202,
0.11564009636640549,
0.08187972754240036,
0.05664626136422157,
0.2963629961013794,
-0.24497270584106445,
-0.4092590808868408,
0.05266747623682022,
0.17513583600521088,
-0.056610144674777985,
-0.11538481712341309,
-0.16280384361743927,
0.15266762673854828,
-0.1932554394006729,
0.1487034261226654,
-0.28431278467178345,
-0.16412392258644104,
0.2907164692878723,
0.19819168746471405,
0.0054531097412109375,
0.002229854464530945,
0.29337233304977417,
-0.2679554224014282,
-0.06573186814785004,
0.06607135385274887,
-0.207136332988739,
-0.14020338654518127,
0.08407440781593323,
0.27046215534210205,
0.2557255029678345,
0.015323320403695107,
-0.08301509916782379,
-0.21629583835601807,
0.09375040233135223,
0.06723780930042267,
0.08895236998796463,
-0.47803449630737305,
0.2587501108646393,
-0.10971881449222565,
0.030422445386648178,
0.16679731011390686,
0.16838420927524567,
-0.053166233003139496,
0.18598873913288116,
-0.1990569829940796,
-0.1793036013841629,
0.5325607061386108,
0.11212009191513062,
-0.23012053966522217,
-0.10486997663974762,
0.20208287239074707,
-0.009593971073627472,
0.31557247042655945,
-0.39200901985168457,
-0.07799911499023438,
0.2568756937980652,
0.05026238411664963,
-0.12290613353252411,
0.4261908233165741,
-0.06223028525710106,
-0.05555687099695206,
0.06996208429336548,
-0.06978917121887207,
0.4202452003955841,
-0.2680836319923401,
-0.10996252298355103,
-0.033685412257909775
] |
https://github.com/huggingface/datasets/pull/463 | Add dataset/mlsum | Hello :)
I think you can just rebase from master and it should solve the CI error | New pull request that should correct the previous errors.
The load_real_data stills fails because it is looking for a default dataset URL that does not exists, this does not happen when loading the dataset with load_dataset | 17 | text: Add dataset/mlsum
New pull request that should correct the previous errors.
The load_real_data stills fails because it is looking for a default dataset URL that does not exists, this does not happen when loading the dataset with load_dataset
Hello :)
I think you can just rebase from master and it should solve the CI error | [
-0.40988796949386597,
0.19359564781188965,
-0.056375570595264435,
-0.028795287013053894,
0.1449701189994812,
-0.027999192476272583,
0.1351020485162735,
0.06323795020580292,
-0.131618469953537,
0.13771270215511322,
0.015271243639290333,
-0.026000119745731354,
0.1885644793510437,
0.5154312252998352,
-0.11314824223518372,
0.18449270725250244,
-0.1798991858959198,
0.018250271677970886,
-0.0484829843044281,
-0.010370030999183655,
-0.14501458406448364,
0.2505088150501251,
-0.017329782247543335,
-0.08571910858154297,
-0.22256194055080414,
-0.005127867683768272,
-0.17238232493400574,
0.37732890248298645,
-0.42317628860473633,
-0.29960691928863525,
0.27322596311569214,
0.31956639885902405,
-0.00213618203997612,
0.5768355131149292,
-0.00009990442777052522,
0.06241585314273834,
0.39772361516952515,
-0.16994726657867432,
-0.25317472219467163,
-0.3958231806755066,
-0.16013309359550476,
-0.1056167408823967,
0.11405285447835922,
-0.14085468649864197,
-0.29600316286087036,
0.13092654943466187,
-0.186856210231781,
-0.10660435259342194,
0.19602757692337036,
0.410000205039978,
0.3732500970363617,
0.06798504292964935,
-0.2053837776184082,
-0.40162041783332825,
0.16722655296325684,
0.12501901388168335,
0.04021470993757248,
0.34523099660873413,
0.32516372203826904,
0.0920797809958458,
0.10015847533941269,
0.17659802734851837,
-0.005873439833521843,
-0.09184639155864716,
-0.04663356393575668,
-0.124872125685215,
0.14963623881340027,
-0.26231783628463745,
0.18380612134933472,
-0.05825453996658325,
0.5859359502792358,
-0.013868339359760284,
-0.07645542919635773,
0.1800675094127655,
0.17097137868404388,
-0.17986658215522766,
0.26955586671829224,
-0.05455254763364792,
-0.0744057148694992,
0.09808134287595749,
-0.44361627101898193,
-0.33662447333335876,
0.09859177470207214,
0.03560060262680054,
-0.0933353379368782,
-0.00028645992279052734,
-0.0787777230143547,
0.04395206645131111,
0.15581052005290985,
0.006547566503286362,
0.09275245666503906,
0.024233466014266014,
-0.274132639169693,
-0.12973859906196594,
-0.303948312997818,
-0.28598809242248535,
0.060936398804187775,
0.23047295212745667,
-0.051861606538295746,
0.295566201210022,
0.16793185472488403,
0.043138738721609116,
0.16094736754894257,
0.09978172183036804,
0.29195141792297363,
0.08809062838554382,
-0.04808351397514343,
-0.13291490077972412,
0.32319313287734985,
0.07258694618940353,
-0.10285601019859314,
-0.0815107673406601,
0.012465227395296097,
-0.13654185831546783,
-0.31333431601524353,
0.13158553838729858,
0.16086925566196442,
-0.37301114201545715,
-0.08420947194099426,
-0.02432701736688614,
0.07683108001947403,
0.005034322384744883,
0.07804834842681885,
0.25982147455215454,
-0.017057526856660843,
0.13297954201698303,
0.2691856026649475,
0.19557203352451324,
-0.011525899171829224,
-0.18706265091896057,
-0.2799827754497528,
-0.10820917785167694,
-0.26117798686027527,
0.0005993973463773727,
0.18754735589027405,
-0.314207524061203,
0.3859662115573883,
0.08622864633798599,
0.15973475575447083,
0.0272589772939682,
0.1548604667186737,
0.1618168205022812,
-0.021164879202842712,
0.412336140871048,
0.31141918897628784,
-0.063123919069767,
0.24775433540344238,
-0.34692180156707764,
0.08987804502248764,
0.016439054161310196,
-0.5033235549926758,
-0.37173205614089966,
-0.35930541157722473,
0.3639586567878723,
-0.0629829466342926,
-0.09760934114456177,
-0.3993094265460968,
0.035813696682453156,
-0.06695204228162766,
-0.046017929911613464,
-0.17198827862739563,
0.09430447220802307,
0.19620248675346375,
-0.04844912141561508,
0.11190436035394669,
0.1777709573507309,
-0.030569974333047867,
0.06866726279258728,
-0.2638081908226013,
0.029602663591504097,
0.09869915246963501,
0.03558247908949852,
-0.2660468816757202,
0.015515074133872986,
-0.24515952169895172,
-0.02632708102464676,
0.4444160461425781,
-0.4658515751361847,
-0.19863924384117126,
0.2606448233127594,
-0.236464262008667,
-0.33877214789390564,
-0.16450539231300354,
-0.013602538034319878,
0.38119882345199585,
-0.09998337924480438,
0.11088933050632477,
0.19283676147460938,
-0.26519015431404114,
0.035757116973400116,
-0.3251236081123352,
-0.1563461869955063,
-0.35566264390945435,
0.2173338532447815,
0.01649017632007599,
0.33132749795913696,
0.352373331785202,
-0.09639377146959305,
0.13834644854068756,
-0.0329013355076313,
-0.23498079180717468,
0.185825377702713,
0.34111303091049194,
-0.12735515832901,
-0.006901335436850786,
0.2464984953403473,
-0.3247305452823639,
0.0009219571948051453,
0.025708582252264023,
0.45387357473373413,
0.18519943952560425,
-0.19910897314548492,
-0.42052948474884033,
-0.09856487810611725,
-0.11822932958602905,
-0.06125853583216667,
0.29356494545936584,
0.22991076111793518,
-0.28013116121292114,
-0.11496230959892273,
-0.10059821605682373,
-0.04317054897546768,
-0.27554404735565186,
0.013068887405097485,
0.00872523058205843,
0.2417379766702652,
-0.34366679191589355,
-0.1560634970664978,
0.2375318706035614,
-0.11630650609731674,
0.28498876094818115,
-0.18172180652618408,
-0.2418508231639862,
0.41429612040519714,
-0.2605503797531128,
0.19137829542160034,
0.0968693196773529,
0.023241087794303894,
0.2491735965013504,
-0.18113012611865997,
-0.10786936432123184,
0.05937090516090393,
-0.021320104598999023,
0.01830427348613739,
-0.11322616785764694,
0.1860833764076233,
-0.17676864564418793,
-0.11125458031892776,
0.05239943414926529,
0.07908587157726288,
0.4635567367076874,
-0.2181977927684784,
-0.059965550899505615,
-0.3501325845718384,
0.01665400341153145,
0.28604117035865784,
-0.03471182659268379,
-0.1433875411748886,
0.08924493193626404,
0.023535065352916718,
0.21139761805534363,
0.11197027564048767,
-0.03204578161239624,
0.015917062759399414,
0.03689201921224594,
-0.14863261580467224,
0.23152559995651245,
0.4009345769882202,
0.3455823063850403,
0.25173795223236084,
-0.06882902979850769,
0.22893226146697998,
0.10083036869764328,
-0.25267404317855835,
0.35494107007980347,
-0.10807520151138306,
0.11978494375944138,
0.16085927188396454,
0.2722525894641876,
-0.08344072848558426,
-0.40669241547584534,
0.02561073750257492,
0.12721480429172516,
0.28338173031806946,
-0.23226746916770935,
-0.15517698228359222,
-0.2454235851764679,
-0.04720349982380867,
0.19482655823230743,
-0.1068461611866951,
-0.03923290595412254,
-0.372557133436203,
-0.022281620651483536,
0.39242154359817505,
-0.29873427748680115,
0.1792673021554947,
-0.14006470143795013,
0.2586713433265686,
-0.00852297618985176,
0.15734510123729706,
-0.1267964243888855,
-0.3852519690990448,
-0.07632781565189362,
0.2145908772945404,
0.1962757557630539,
-0.16459454596042633,
0.29445862770080566,
-0.30866438150405884,
0.3087204694747925,
-0.28584370017051697,
-0.48188427090644836,
0.20140324532985687,
0.07130556553602219,
0.2177431285381317,
0.17864668369293213,
0.1168069839477539,
0.18577662110328674,
-0.19730950891971588,
0.15608598291873932,
-0.2107638120651245,
-0.14104296267032623,
-0.06536121666431427,
-0.06076979637145996,
-0.13521209359169006,
-0.27760329842567444,
-0.3129071891307831,
-0.11898710578680038,
-0.3195869028568268,
-0.38974910974502563,
0.015875432640314102,
-0.09441515803337097,
0.2784503400325775,
0.12147614359855652,
-0.12936311960220337,
0.21105265617370605,
-0.1465735286474228,
-0.5046067833900452,
-0.6931396722793579,
0.09317086637020111,
-0.38361015915870667,
-0.37998950481414795,
0.40137988328933716,
0.03855185955762863,
0.364391565322876,
0.08709540963172913,
-0.3885802626609802,
-0.30996784567832947,
0.19244633615016937,
0.05758429691195488,
0.09966373443603516,
-0.06118687242269516,
0.24946141242980957,
-0.03680705651640892,
-0.3012216091156006,
-0.2005099058151245,
-0.2710942029953003,
0.15251532196998596,
0.3899277448654175,
0.35653674602508545,
-0.19698816537857056,
0.4947509765625,
-0.055497996509075165,
0.362424373626709,
-0.03589307889342308,
-0.23478461802005768,
0.39122769236564636,
0.04131530225276947,
0.5105858445167542,
-0.024767376482486725,
-0.2954276502132416,
0.06886007636785507,
0.026149645447731018,
0.03533279523253441,
0.44807857275009155,
0.04505521059036255,
-0.23397767543792725,
-0.2622959017753601,
-0.0633256584405899,
-0.09303906559944153,
-0.30304327607154846,
-0.1207200288772583,
-0.15426714718341827,
0.04146137461066246,
0.23185229301452637,
0.06393910199403763,
-0.2425805777311325,
0.019715821370482445,
0.10022786259651184,
0.2297152280807495,
0.08118658512830734,
-0.06002026051282883,
-0.23223118484020233,
0.008608763106167316,
-0.19595682621002197,
0.23876754939556122,
-0.09033164381980896,
0.2703635096549988,
-0.19216716289520264,
0.0750264972448349,
0.031008876860141754,
-0.07122613489627838,
0.34369540214538574,
-0.6231136918067932,
-0.23149795830249786,
0.19633160531520844,
-0.0810181275010109,
0.04894041270017624,
-0.09262610226869583,
0.14629192650318146,
0.48783886432647705,
0.37537115812301636,
0.4339362382888794,
-0.20294037461280823,
-0.2125100940465927,
0.3940841555595398,
-0.10830278694629669,
-0.1370566487312317,
-0.09754060953855515,
-0.08463023602962494,
-0.5694658160209656,
-0.39599892497062683,
0.06009264290332794,
-0.07033313810825348,
0.018916161730885506,
-0.1148666962981224,
-0.035291220992803574,
-0.02595636434853077,
0.023602746427059174,
-0.06970596313476562,
0.1875264048576355,
0.18067610263824463,
0.2766355872154236,
0.03788233920931816,
0.050328150391578674,
0.22630071640014648,
0.26229622960090637,
0.7457566261291504,
-0.005141586065292358,
0.10037759691476822,
0.24979230761528015,
-0.1793898046016693,
0.018238671123981476,
0.2423749566078186,
0.08913558721542358,
0.09646324068307877,
0.14881810545921326,
0.037747323513031006,
-0.041003599762916565,
0.30676713585853577,
-0.06485400348901749,
-0.18209268152713776,
-0.13704083859920502,
-0.14790675044059753,
0.17173823714256287,
-0.10312870144844055,
-0.03308626636862755,
0.26819536089897156,
-0.011632479727268219,
-0.190929114818573,
0.13925446569919586,
0.2172984778881073,
0.8073921799659729,
0.051850609481334686,
-0.06143566593527794,
0.053938284516334534,
-0.0809766873717308,
0.1659434735774994,
-0.041215963661670685,
0.03942513465881348,
-0.32953816652297974,
-0.13478606939315796,
0.007198801264166832,
-0.024581167846918106,
-0.008036606013774872,
0.11893386393785477,
-0.30098089575767517,
0.10928776115179062,
0.09705962240695953,
0.6011639833450317,
0.14438532292842865,
0.34639230370521545,
0.023709984496235847,
-0.053756292909383774,
-0.041802145540714264,
0.3229864835739136,
-0.05766677111387253,
0.10145902633666992,
-0.2616163492202759,
-0.18857453763484955,
0.14953479170799255,
-0.14957697689533234,
-0.13967595994472504,
0.12612509727478027,
-0.2747235894203186,
-0.02130986750125885,
-0.4059491753578186,
-0.437721848487854,
0.03952772170305252,
-0.16167254745960236,
0.3536278009414673,
0.186822772026062,
-0.24676886200904846,
0.3462904989719391,
0.09711235761642456,
0.01218086015433073,
-0.06523990631103516,
-0.058128856122493744,
0.03425677865743637,
-0.25478193163871765,
-0.2630636692047119,
0.17135277390480042,
0.0442693866789341,
-0.3546186685562134,
0.10769438743591309,
-0.0581962913274765,
-0.023296095430850983,
-0.17769747972488403,
-0.07604154944419861,
0.03494176268577576,
0.07251325249671936,
-0.2573249638080597,
0.23606304824352264,
-0.09868167340755463,
0.05500824376940727,
-0.006237484514713287,
0.15357398986816406,
-0.1177588477730751,
-0.06779050827026367,
0.24238097667694092,
0.06691838055849075,
-0.28247594833374023,
0.2135026603937149,
-0.046963341534137726,
0.03285929560661316,
-0.3169313073158264,
-0.15832176804542542,
0.022173667326569557,
-0.2949994206428528,
0.2055201381444931,
-0.1060892641544342,
-0.3554185628890991,
0.2175295203924179,
0.49970465898513794,
0.1419585645198822,
0.10224127769470215,
0.10922209918498993,
-0.23661458492279053,
-0.5588470697402954,
0.11391307413578033,
-0.22952277958393097,
0.26171284914016724,
-0.0742657259106636,
0.11627231538295746,
0.025314701721072197,
-0.02856151945888996,
-0.49076730012893677,
0.13758030533790588,
-0.3800542950630188,
0.16691374778747559,
0.11556189507246017,
-0.1734887957572937,
0.08544619381427765,
-0.12397345900535583,
0.15875287353992462,
-0.09935744106769562,
-0.22478608787059784,
-0.29699331521987915,
0.09443196654319763,
0.07457229495048523,
0.13092154264450073,
-0.12334563583135605,
0.09531187266111374,
-0.14936387538909912,
-0.2020568996667862,
0.1193241998553276,
0.11968766152858734,
-0.1192682608962059,
0.04687328636646271,
-0.354414701461792,
-0.04544482007622719,
-0.17331355810165405,
-0.21554777026176453,
0.08989188820123672,
0.25664663314819336,
0.2553020119667053,
-0.18575263023376465,
0.10124209523200989,
-0.1858574002981186,
-0.12899315357208252,
0.22071895003318787,
0.1364426612854004,
0.14974236488342285,
0.3777494430541992,
0.2956772744655609,
-0.18188194930553436,
-0.01998569257557392,
0.40261125564575195,
0.20787768065929413,
-0.01800452172756195,
-0.09274480491876602,
0.038822248578071594,
0.10510000586509705,
0.364144891500473,
-0.2903186082839966,
0.07954246550798416,
0.16782546043395996,
-0.08897693455219269,
0.05748094245791435,
0.04661793261766434,
0.32462865114212036,
-0.2112538069486618,
0.19940897822380066,
0.3239257037639618,
0.6044702529907227,
-0.0157419815659523,
0.17000561952590942,
0.014726333320140839,
-0.24680937826633453,
0.09633131325244904,
0.2355031669139862,
-0.030825279653072357,
0.010489299893379211,
-0.038649700582027435,
-0.16738048195838928,
0.38772332668304443,
0.20061370730400085,
-0.01836613193154335,
0.13600856065750122,
-0.350484699010849,
0.5681371092796326,
0.06659213453531265,
0.20013801753520966,
0.06429214030504227,
0.22231096029281616,
-0.15281924605369568,
-0.05425313487648964,
-0.25535473227500916,
-0.39778292179107666,
0.18155626952648163,
-0.2892809510231018,
0.19249054789543152,
-0.5056439638137817,
-0.21692347526550293,
-0.03831031545996666,
0.10184837877750397,
-0.1474682092666626,
0.18878543376922607,
0.009395882487297058,
0.010773338377475739,
-0.034752532839775085,
-0.33397892117500305,
-0.3776681125164032,
0.09566451609134674,
-0.08654268831014633,
-0.16730014979839325,
0.49258390069007874,
0.3506600260734558,
-0.15290546417236328,
0.35303235054016113,
0.30974873900413513,
0.5059412717819214,
0.293971985578537,
0.08780981600284576,
-0.028900235891342163,
0.22775450348854065,
-0.028174137696623802,
-0.09834368526935577,
0.0884510800242424,
0.2240983545780182,
-0.07778768241405487,
0.17219512164592743,
0.30099621415138245,
-0.27848580479621887,
0.13807381689548492,
-0.10776294767856598,
-0.19211827218532562,
0.060663122683763504,
-0.015462741255760193,
0.32043638825416565,
-0.03927522152662277,
-0.1780846267938614,
0.00533546507358551,
-0.06452007591724396,
-0.06217376887798309,
0.3843432068824768,
-0.16247150301933289,
0.09075043350458145,
-0.27347564697265625,
0.1894243210554123,
0.06763161718845367,
0.3689820170402527,
0.1882702112197876,
0.03388427942991257,
-0.2000587284564972,
-0.3607255816459656,
-0.6670849919319153,
0.2286919355392456,
0.10098494589328766,
0.061401017010211945,
0.05794629454612732,
0.12693411111831665,
0.3655526041984558,
0.16945476830005646,
0.171577587723732,
-0.050119224935770035,
0.2691599130630493,
-0.14918483793735504,
-0.3615567684173584,
0.0452691912651062,
0.0024608001112937927,
-0.10703714191913605,
0.01119287684559822,
-0.1963939070701599,
0.04958484694361687,
-0.004832316655665636,
0.26684606075286865,
-0.12362498044967651,
-0.16019293665885925,
0.10337790846824646,
-0.1625935435295105,
0.293229341506958,
0.09025024622678757,
0.26492395997047424,
-0.23651057481765747,
-0.039545994251966476,
-0.05985480174422264,
-0.33962246775627136,
-0.1632273942232132,
0.04085009545087814,
0.2321501076221466,
0.2606618404388428,
0.07204194366931915,
0.1099415272474289,
-0.3848101794719696,
-0.1256609559059143,
0.034687601029872894,
0.04172159358859062,
-0.2429617941379547,
0.2818372845649719,
-0.10364389419555664,
0.013267658650875092,
0.10270673781633377,
0.1404859870672226,
-0.06783448159694672,
0.2259073704481125,
-0.13532395660877228,
-0.22704066336154938,
0.6893824934959412,
-0.04444718733429909,
-0.13813470304012299,
-0.09857667237520218,
0.24114954471588135,
-0.25040557980537415,
0.10037587583065033,
-0.08989840000867844,
0.1391018033027649,
0.1390836387872696,
-0.04529140144586563,
-0.20010322332382202,
0.32469072937965393,
0.1012442409992218,
0.024180639535188675,
0.024267468601465225,
0.0751211941242218,
0.2031412124633789,
-0.33958303928375244,
-0.2007613480091095,
-0.03391259163618088
] |
https://github.com/huggingface/datasets/pull/455 | Add bleurt | Sorry one nit: Could we use named arguments for the call to BLEURT?
i.e.
scores = self.scorer.score(references=references, candidates=predictions)
(i.e. so it is less bug prone)
| This PR adds the BLEURT metric to the library.
The BLEURT `Metric` downloads a TF checkpoint corresponding to its `config_name` at creation (in the `_info` function). Default is set to `bleurt-base-128`.
Note that the default in the original package is `bleurt-tiny-128`, but they throw a warning and recommend using `bleurt-base-128` instead. I think it's safer to have our users have a functioning metric when they call the default behavior, we'll address discrepancies in the issues/discussions if it comes up.
In addition to the BLEURT file, `load.py` was changed so we can ask users to pip install the required packages from git when they have a `setup.py` but are not on PyPL
cc @ankparikh @tsellam | 25 | text: Add bleurt
This PR adds the BLEURT metric to the library.
The BLEURT `Metric` downloads a TF checkpoint corresponding to its `config_name` at creation (in the `_info` function). Default is set to `bleurt-base-128`.
Note that the default in the original package is `bleurt-tiny-128`, but they throw a warning and recommend using `bleurt-base-128` instead. I think it's safer to have our users have a functioning metric when they call the default behavior, we'll address discrepancies in the issues/discussions if it comes up.
In addition to the BLEURT file, `load.py` was changed so we can ask users to pip install the required packages from git when they have a `setup.py` but are not on PyPL
cc @ankparikh @tsellam
Sorry one nit: Could we use named arguments for the call to BLEURT?
i.e.
scores = self.scorer.score(references=references, candidates=predictions)
(i.e. so it is less bug prone)
| [
-0.08417342603206635,
-0.43229010701179504,
0.014485295861959457,
-0.03211086988449097,
0.25296247005462646,
-0.20279473066329956,
-0.048485878854990005,
0.03293764963746071,
-0.27850908041000366,
0.31886181235313416,
0.15865543484687805,
0.37704092264175415,
-0.06798142194747925,
0.048535898327827454,
0.009566748514771461,
-0.14689329266548157,
-0.25436681509017944,
0.14146476984024048,
0.3470616936683655,
-0.09906963258981705,
-0.36293870210647583,
0.010252262465655804,
-0.04497422277927399,
0.03693540021777153,
-0.014358887448906898,
0.29908743500709534,
0.34957924485206604,
0.0517633855342865,
-0.21200346946716309,
-0.7250029444694519,
0.061922311782836914,
0.13418234884738922,
-0.16164393723011017,
0.14326798915863037,
-0.00010731646761996672,
-0.5059349536895752,
0.2094755321741104,
-0.19486594200134277,
-0.21691620349884033,
-0.20672224462032318,
0.07145977020263672,
-0.3038216233253479,
0.2120668590068817,
-0.32015925645828247,
-0.13325250148773193,
-0.2034931480884552,
0.006397873163223267,
-0.06516081094741821,
-0.011553831398487091,
0.28339022397994995,
0.2730744481086731,
0.06670919805765152,
-0.0532061941921711,
-0.0235632061958313,
0.172403484582901,
-0.1721242219209671,
-0.21103617548942566,
0.4415973722934723,
-0.008384771645069122,
0.30288487672805786,
0.07466528564691544,
0.010368067771196365,
0.0389309898018837,
0.13312481343746185,
0.6555562615394592,
0.07343332469463348,
0.2831721603870392,
0.06412483751773834,
0.006376292556524277,
0.23505038022994995,
0.2394728660583496,
-0.36069005727767944,
-0.03506395220756531,
0.16899633407592773,
0.2277805209159851,
-0.6558436155319214,
-0.1621435284614563,
0.029098331928253174,
-0.03232359513640404,
-0.383487731218338,
0.025782544165849686,
0.060527149587869644,
-0.2999114394187927,
0.0885637179017067,
-0.023429609835147858,
0.2885711193084717,
0.020961344242095947,
0.05759084224700928,
0.0971193015575409,
0.2424236685037613,
-0.2216063290834427,
0.0641932338476181,
0.03488923981785774,
0.10338610410690308,
0.08396443724632263,
-0.0812840461730957,
0.27450791001319885,
0.10933655500411987,
0.039423681795597076,
0.09066185355186462,
-0.053713180124759674,
0.05218693986535072,
-0.02200351469218731,
0.08154533058404922,
-0.15494103729724884,
0.2418399304151535,
0.4006766974925995,
0.07915357500314713,
0.21713602542877197,
0.25171157717704773,
0.34771066904067993,
0.010902874171733856,
0.3298371136188507,
-0.194302499294281,
0.3425453305244446,
0.1394188404083252,
-0.18464340269565582,
-0.3049575984477997,
-0.2560698986053467,
0.1125982254743576,
0.2573581635951996,
-0.2098865807056427,
0.1351436972618103,
0.4312645494937897,
-0.357232004404068,
-0.1598089337348938,
0.1850273162126541,
-0.05712692439556122,
-0.1488383412361145,
0.18118932843208313,
-0.21667572855949402,
-0.04582757130265236,
-0.10619199275970459,
0.18922168016433716,
-0.03006063774228096,
-0.4375995397567749,
0.5427555441856384,
-0.12009657919406891,
0.46690255403518677,
0.04529331624507904,
0.23304691910743713,
-0.014817647635936737,
0.18181626498699188,
-0.0413813553750515,
-0.1921067237854004,
-0.3112662136554718,
0.20651210844516754,
-0.011738486588001251,
-0.2534676790237427,
0.3441813588142395,
-0.08195248991250992,
-0.2518964409828186,
-0.16042585670948029,
0.21271003782749176,
-0.32338041067123413,
-0.21335750818252563,
0.10633309930562973,
0.23301085829734802,
-0.0569167360663414,
-0.5278286337852478,
0.2974720001220703,
-0.2035110592842102,
-0.03784991800785065,
-0.2440013736486435,
0.2832375168800354,
0.06576761603355408,
-0.2787257730960846,
-0.2928251326084137,
0.1463834047317505,
-0.1400837004184723,
0.09100635349750519,
-0.30252552032470703,
-0.1845967322587967,
0.07662519812583923,
0.20039884746074677,
-0.15691328048706055,
0.47197654843330383,
-0.2555551528930664,
-0.24842968583106995,
-0.4530825912952423,
-0.038592077791690826,
-0.13047844171524048,
0.0690893828868866,
0.2329530119895935,
0.016760077327489853,
-0.04687657952308655,
0.11587110161781311,
-0.05532323569059372,
-0.11920793354511261,
0.032682470977306366,
-0.33429571986198425,
-0.2240685224533081,
-0.10246093571186066,
0.12276668846607208,
0.38065558671951294,
-0.12123046070337296,
0.13362188637256622,
0.4953327476978302,
0.18483570218086243,
-0.032775964587926865,
-0.05888672173023224,
-0.16857600212097168,
0.5848796963691711,
-0.1741807758808136,
0.27498576045036316,
-0.11691031605005264,
0.40722760558128357,
0.07408232241868973,
0.060553185641765594,
0.2913033366203308,
0.1086328774690628,
-0.23608803749084473,
-0.40018919110298157,
-0.18370068073272705,
-0.09539952874183655,
-0.2139834612607956,
0.1229894608259201,
0.14668026566505432,
-0.24642759561538696,
0.010904595255851746,
-0.28816914558410645,
-0.2948192358016968,
-0.3802644610404968,
-0.026258021593093872,
0.2315329760313034,
-0.20161385834217072,
-0.04888293892145157,
0.03073127195239067,
-0.3578909933567047,
0.35854655504226685,
0.06016490235924721,
0.046424493193626404,
-0.10511372983455658,
0.31039121747016907,
0.22380076348781586,
-0.2257523089647293,
0.04439845681190491,
0.12300758063793182,
0.18626251816749573,
0.181168794631958,
0.1921887993812561,
0.12360778450965881,
-0.047410592436790466,
-0.0019133538007736206,
0.05243586003780365,
0.3465316593647003,
0.02582189254462719,
-0.058315835893154144,
0.026138819754123688,
-0.3042951822280884,
-0.2028314769268036,
0.11278426647186279,
-0.0922883003950119,
-0.13840414583683014,
0.20555143058300018,
-0.12008635699748993,
-0.09179539233446121,
-0.16884325444698334,
-0.17419277131557465,
0.14580455422401428,
0.49857890605926514,
-0.04500850290060043,
-0.04769372195005417,
0.350109338760376,
0.06991839408874512,
-0.16557374596595764,
-0.014500295743346214,
-0.06436162441968918,
0.40583932399749756,
0.21865220367908478,
-0.020916175097227097,
0.09336785972118378,
-0.02478637546300888,
-0.20354387164115906,
0.11614285409450531,
-0.019192300736904144,
-0.2152920663356781,
0.11372961103916168,
-0.014659298583865166,
0.1612386405467987,
-0.16295982897281647,
-0.07870285958051682,
-0.032681792974472046,
0.15736353397369385,
-0.1412818729877472,
0.0623718798160553,
0.15511567890644073,
0.22348153591156006,
-0.24895897507667542,
-0.12963272631168365,
-0.13635706901550293,
-0.3212573826313019,
0.30001354217529297,
0.051280632615089417,
-0.032887715846300125,
0.19277635216712952,
0.1771150678396225,
0.689014732837677,
-0.20175959169864655,
-0.3522005081176758,
0.04937388002872467,
-0.3993052840232849,
-0.23367765545845032,
0.21986621618270874,
-0.393341064453125,
-0.10047833621501923,
0.4993624687194824,
-0.2500702142715454,
-0.17135223746299744,
-0.0705985501408577,
-0.7439670562744141,
-0.015427157282829285,
-0.07880953699350357,
0.38398855924606323,
0.2843804359436035,
0.088868647813797,
-0.003237389028072357,
-0.13550180196762085,
0.14644184708595276,
-0.21498848497867584,
0.008818790316581726,
0.03241455554962158,
-0.27494171261787415,
0.014577088877558708,
-0.2591908276081085,
-0.44892945885658264,
-0.0008439384400844574,
-0.18990586698055267,
0.13656936585903168,
0.43297725915908813,
0.08122120052576065,
-0.1536794900894165,
0.14219699800014496,
0.3205229938030243,
0.10133037716150284,
0.2943170666694641,
-0.24079221487045288,
0.041133370250463486,
0.1763007938861847,
-0.3224509358406067,
-0.3239139914512634,
-0.027946023270487785,
0.050321511924266815,
0.3792104423046112,
-0.21069301664829254,
-0.5125128626823425,
-0.7982050180435181,
0.21705272793769836,
0.05740516260266304,
-0.13372661173343658,
0.19800174236297607,
0.02529717981815338,
0.27385926246643066,
-0.23491764068603516,
-0.040523506700992584,
-0.29339978098869324,
-0.012005336582660675,
-0.04059677571058273,
0.6325581669807434,
-0.2927190065383911,
0.06961800158023834,
0.03355111554265022,
0.6774325966835022,
-0.052287109196186066,
-0.20272307097911835,
-0.08703547716140747,
-0.02159891091287136,
0.38351425528526306,
-0.1972309648990631,
-0.12485374510288239,
0.37859174609184265,
0.12216170132160187,
-0.09483036398887634,
0.42966729402542114,
-0.032753851264715195,
0.32951605319976807,
-0.16908970475196838,
0.01439731940627098,
0.04069028049707413,
-0.09607870876789093,
-0.06852836906909943,
0.061286285519599915,
0.028976142406463623,
-0.04566343128681183,
0.09856156259775162,
-0.34759798645973206,
-0.12683260440826416,
0.0018741562962532043,
0.37154799699783325,
-0.08321573585271835,
0.06649720668792725,
0.3000393807888031,
0.10583442449569702,
-0.2820860743522644,
0.390677273273468,
0.023519063368439674,
-0.32340845465660095,
-0.06817284971475601,
-0.11989635229110718,
0.13443303108215332,
0.016275674104690552,
-0.22480864822864532,
0.017981214448809624,
-0.10168571770191193,
-0.05292581021785736,
0.2122134566307068,
-0.33152419328689575,
0.0005792677402496338,
-0.015387248247861862,
-0.20100826025009155,
0.30723336338996887,
0.2767057418823242,
-0.5311435461044312,
0.0018091585952788591,
0.4695857763290405,
0.09758715331554413,
-0.13564252853393555,
-0.008802104741334915,
-0.60440593957901,
-0.46195995807647705,
-0.01875569298863411,
0.19722318649291992,
-0.31346285343170166,
0.2693912982940674,
-0.07462161034345627,
0.22374345362186432,
0.2573363482952118,
0.07014784216880798,
0.05278806760907173,
0.25944989919662476,
0.18793773651123047,
0.027976932004094124,
-0.03628571704030037,
-0.06699956208467484,
-0.36354687809944153,
0.15864455699920654,
0.08890783786773682,
-0.3179490268230438,
-0.15323103964328766,
0.04813162982463837,
-0.12160056829452515,
0.34735411405563354,
0.2776608467102051,
-0.13068245351314545,
0.3447904586791992,
-0.2613760530948639,
0.3825724720954895,
0.03973575681447983,
0.24852974712848663,
0.17624710500240326,
-0.030452866107225418,
0.16405117511749268,
-0.40462416410446167,
0.47249799966812134,
-0.012386349961161613,
-0.10709384083747864,
0.4420521855354309,
0.1950841248035431,
-0.003632122650742531,
0.2765538692474365,
0.4848386347293854,
0.9370868802070618,
0.02512788027524948,
0.0791127160191536,
0.3576715290546417,
-0.04751252382993698,
0.5149809718132019,
-0.29152700304985046,
0.13139960169792175,
-0.3975847661495209,
-0.032802142202854156,
0.09795370697975159,
0.03326359763741493,
-0.021293967962265015,
-0.30749237537384033,
-0.1905980110168457,
0.16261999309062958,
-0.14148524403572083,
-0.1278502196073532,
0.14305037260055542,
0.2167491614818573,
0.04964269697666168,
0.0779060497879982,
0.09319989383220673,
0.19263024628162384,
-0.15012402832508087,
-0.08812776207923889,
-0.2335262894630432,
0.06641130149364471,
-0.07870516180992126,
-0.26007014513015747,
-0.02261720597743988,
-0.19042369723320007,
-0.037102118134498596,
-0.19400884211063385,
-0.04750910773873329,
-0.069287970662117,
-0.027110571041703224,
0.13180452585220337,
0.4629879593849182,
0.2998865842819214,
-0.18576160073280334,
0.20085927844047546,
-0.03701144456863403,
0.16589780151844025,
0.1518213450908661,
0.2540808916091919,
0.06281477957963943,
-0.3175889253616333,
-0.12325209379196167,
0.15342609584331512,
0.006525213830173016,
-0.32090455293655396,
0.27958592772483826,
-0.09230755269527435,
-0.019620448350906372,
-0.03913189098238945,
0.122120201587677,
0.08230919390916824,
0.08854284882545471,
-0.18742510676383972,
0.19411930441856384,
0.05998021364212036,
-0.2079267054796219,
0.11430254578590393,
0.17032867670059204,
-0.46979889273643494,
-0.19713057577610016,
-0.08835718780755997,
-0.002057228237390518,
-0.07567935436964035,
0.12931278347969055,
-0.37864425778388977,
-0.04077431187033653,
-0.07108918577432632,
-0.30848491191864014,
-0.20927752554416656,
-0.17762145400047302,
0.01854623854160309,
0.22595560550689697,
-0.22664691507816315,
0.274880051612854,
0.6658856272697449,
0.3179181218147278,
0.26276975870132446,
-0.21600598096847534,
-0.11394542455673218,
-0.24851763248443604,
0.11254896223545074,
-0.040165405720472336,
0.3581641912460327,
-0.03140166401863098,
0.22518891096115112,
-0.1292794644832611,
0.2806836664676666,
-0.431985467672348,
-0.06926889717578888,
-0.1657649278640747,
0.2505335807800293,
-0.04419149458408356,
0.012478329241275787,
0.16109567880630493,
0.2512061297893524,
0.09788080304861069,
0.07173867523670197,
-0.36763352155685425,
-0.20377489924430847,
-0.40708205103874207,
0.1400490403175354,
0.059533800929784775,
-0.04107388108968735,
-0.31996941566467285,
-0.07132943719625473,
-0.28417396545410156,
-0.0185253843665123,
0.026787780225276947,
0.016736019402742386,
-0.14931589365005493,
0.28462904691696167,
0.05183589458465576,
0.24441933631896973,
0.2332810014486313,
-0.1710578203201294,
0.26574254035949707,
0.07467138022184372,
0.13480499386787415,
0.13403023779392242,
-0.36637231707572937,
-0.015623658895492554,
0.34155961871147156,
0.1323123276233673,
0.3304700255393982,
0.0858936458826065,
0.08041174709796906,
0.036711499094963074,
0.030944231897592545,
-0.4594241678714752,
0.17319566011428833,
0.3186486065387726,
-0.06355376541614532,
-0.4089195430278778,
-0.04582618921995163,
0.19785884022712708,
-0.30874747037887573,
-0.008154449053108692,
-0.4802890717983246,
0.19188961386680603,
0.04361589625477791,
0.27102428674697876,
0.2110593616962433,
0.15817083418369293,
0.20957358181476593,
0.021929841488599777,
-0.17187640070915222,
-0.3975510001182556,
0.18058180809020996,
-0.019936759024858475,
-0.34745341539382935,
0.16897086799144745,
0.4028100371360779,
-0.06788301467895508,
0.09438824653625488,
-0.2283528596162796,
-0.09813971072435379,
0.3202715814113617,
-0.3039514422416687,
-0.011091675609350204,
-0.18915745615959167,
0.13598895072937012,
0.45149269700050354,
-0.03821723163127899,
-0.01400284469127655,
-0.21532881259918213,
0.2913445830345154,
0.45459750294685364,
-0.24143795669078827,
-0.08641484379768372,
-0.1153770387172699,
-0.04225711151957512,
-0.008111149072647095,
-0.017932789400219917,
0.1339355856180191,
-0.2851414680480957,
0.029084794223308563,
-0.10127381980419159,
0.10132468491792679,
0.001746147871017456,
-0.0006170347332954407,
-0.024673938751220703,
0.04445973411202431,
-0.018857179209589958,
-0.2452092170715332,
0.12831524014472961,
0.4523388147354126,
-0.13349948823451996,
-0.22901444137096405,
0.16933012008666992,
0.09196320176124573,
0.11364907026290894,
0.25046324729919434,
0.06112281605601311,
0.3054511547088623,
-0.045424312353134155,
-0.1863119751214981,
-0.05456409975886345,
0.08328957855701447,
0.062225647270679474,
0.09188603609800339,
0.5995146036148071,
-0.09435446560382843,
0.28485414385795593,
0.19490033388137817,
-0.266089528799057,
0.2769918143749237,
-0.05362808331847191,
-0.1074855774641037,
-0.23560978472232819,
0.7436782717704773,
0.3040808439254761,
-0.16944056749343872,
-0.011100631207227707,
-0.017708703875541687,
-0.31457018852233887,
0.08099696785211563,
0.05351847782731056,
0.2999332845211029,
-0.005884195677936077,
-0.4128103256225586,
0.12856559455394745,
0.2691189646720886,
0.3693973124027252,
-0.07873170077800751,
0.1761256456375122,
-0.35780099034309387,
0.03603385388851166,
-0.5145424604415894,
0.36963507533073425,
0.30901196599006653,
0.07238845527172089,
0.08721949905157089,
-0.17580534517765045,
-0.02352958917617798,
0.14904329180717468,
-0.0384993851184845,
0.0024846475571393967,
0.19542697072029114,
-0.17394182085990906,
-0.2853524386882782,
-0.17620684206485748,
0.02303203195333481,
-0.167863130569458,
0.01562846451997757,
-0.07143858820199966,
-0.1368773877620697,
-0.6223943829536438,
0.21084943413734436,
-0.28181910514831543,
-0.2468232363462448,
0.5042393207550049,
0.43891212344169617,
0.4366813898086548,
-0.06750433146953583,
0.5136224031448364,
-0.06132027879357338,
0.08049050718545914,
0.26332899928092957,
0.12627924978733063,
-0.2578289210796356,
0.1042010486125946,
-0.027918387204408646,
0.18700525164604187,
0.24127987027168274,
-0.3480786979198456,
-0.35931718349456787,
0.6019980907440186,
-0.05524424463510513,
-0.24651417136192322,
-0.12343403697013855,
-0.07195575535297394,
0.12328579276800156,
-0.12097865343093872,
-0.19168631732463837,
0.17716005444526672,
0.08013328909873962,
0.2845522463321686,
-0.37750327587127686,
-0.02823994681239128,
0.6829342842102051,
-0.18371112644672394,
0.16443796455860138,
-0.018349220976233482,
0.4093206524848938,
0.3668838143348694,
-0.24432015419006348,
-0.8228926658630371,
0.16481786966323853,
0.29144734144210815,
0.14245650172233582,
-0.34920766949653625,
0.2904258370399475,
-0.5575576424598694,
0.017064396291971207,
-0.18442250788211823,
0.4454822540283203,
-0.17054584622383118,
-0.005804609507322311,
-0.13627569377422333,
-0.3613370656967163
] |
https://github.com/huggingface/datasets/pull/455 | Add bleurt | Following up on Ankur's comment---we are going to drop support for
positional (not named) arguments in the future releases because it seems to
cause bugs and confusion. I hope it doesn't create too much of a mess.
Le jeu. 30 juil. 2020 à 10:44, ankparikh <notifications@github.com> a
écrit :
> Sorry one nit: Could we use named arguments for the call to BLEURT?
>
> i.e.
> scores = self.scorer.score(references=references, candidates=predictions)
>
> (i.e. so it is less bug prone)
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/huggingface/nlp/pull/455#issuecomment-666414514>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABTMRNGAN2PMECS5K4DIHJDR6GBMLANCNFSM4PL323FA>
> .
>
| This PR adds the BLEURT metric to the library.
The BLEURT `Metric` downloads a TF checkpoint corresponding to its `config_name` at creation (in the `_info` function). Default is set to `bleurt-base-128`.
Note that the default in the original package is `bleurt-tiny-128`, but they throw a warning and recommend using `bleurt-base-128` instead. I think it's safer to have our users have a functioning metric when they call the default behavior, we'll address discrepancies in the issues/discussions if it comes up.
In addition to the BLEURT file, `load.py` was changed so we can ask users to pip install the required packages from git when they have a `setup.py` but are not on PyPL
cc @ankparikh @tsellam | 112 | text: Add bleurt
This PR adds the BLEURT metric to the library.
The BLEURT `Metric` downloads a TF checkpoint corresponding to its `config_name` at creation (in the `_info` function). Default is set to `bleurt-base-128`.
Note that the default in the original package is `bleurt-tiny-128`, but they throw a warning and recommend using `bleurt-base-128` instead. I think it's safer to have our users have a functioning metric when they call the default behavior, we'll address discrepancies in the issues/discussions if it comes up.
In addition to the BLEURT file, `load.py` was changed so we can ask users to pip install the required packages from git when they have a `setup.py` but are not on PyPL
cc @ankparikh @tsellam
Following up on Ankur's comment---we are going to drop support for
positional (not named) arguments in the future releases because it seems to
cause bugs and confusion. I hope it doesn't create too much of a mess.
Le jeu. 30 juil. 2020 à 10:44, ankparikh <notifications@github.com> a
écrit :
> Sorry one nit: Could we use named arguments for the call to BLEURT?
>
> i.e.
> scores = self.scorer.score(references=references, candidates=predictions)
>
> (i.e. so it is less bug prone)
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/huggingface/nlp/pull/455#issuecomment-666414514>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABTMRNGAN2PMECS5K4DIHJDR6GBMLANCNFSM4PL323FA>
> .
>
| [
0.08350010216236115,
-0.5230890512466431,
0.010203450918197632,
-0.006722114980220795,
0.23672175407409668,
-0.19404336810112,
0.004177220165729523,
0.037159714847803116,
-0.20148493349552155,
0.3224782943725586,
0.181722953915596,
0.34292149543762207,
-0.07391525059938431,
0.018588094040751457,
0.19359423220157623,
-0.2034560739994049,
-0.22604528069496155,
0.18012863397598267,
0.27160507440567017,
-0.15107451379299164,
-0.37314367294311523,
0.292823851108551,
-0.12019224464893341,
0.0886002853512764,
0.036729659885168076,
0.27135586738586426,
0.19261100888252258,
0.09839056432247162,
-0.1608378142118454,
-0.7442178130149841,
0.06561455875635147,
0.09281351417303085,
-0.2737206220626831,
0.035475753247737885,
-0.0001073759631253779,
-0.4805065989494324,
0.28708481788635254,
-0.23829317092895508,
-0.3493445813655853,
-0.3368801474571228,
0.2162994146347046,
-0.38088515400886536,
0.1869708001613617,
-0.3069368898868561,
-0.14871084690093994,
-0.14882248640060425,
0.10829712450504303,
0.16099676489830017,
0.08161529153585434,
0.2105831801891327,
0.2660616934299469,
0.12704582512378693,
-0.01525215432047844,
0.002332995180040598,
0.06516321748495102,
-0.11171811819076538,
-0.19096945226192474,
0.3981029987335205,
-0.16055163741111755,
0.2811337411403656,
0.026957549154758453,
0.03957322612404823,
0.05933789908885956,
0.03797243908047676,
0.5253702998161316,
0.10663928836584091,
0.13770338892936707,
0.11371659487485886,
-0.01977810636162758,
0.2154788374900818,
-0.03896447271108627,
-0.26837050914764404,
-0.06125593185424805,
-0.0610504075884819,
0.2282826006412506,
-0.7397240996360779,
-0.00873749703168869,
0.09785071015357971,
-0.10439805686473846,
-0.38810285925865173,
-0.01815495267510414,
0.16482730209827423,
-0.22892245650291443,
0.12124578654766083,
0.04984542727470398,
0.21519780158996582,
-0.14573609828948975,
0.055309247225522995,
0.20889845490455627,
0.21153879165649414,
-0.5207502245903015,
0.044250816106796265,
0.030864333733916283,
0.21142010390758514,
0.041678816080093384,
-0.09332476556301117,
0.39918604493141174,
0.18197506666183472,
0.08073191344738007,
-0.012891460210084915,
0.030519191175699234,
-0.036843664944171906,
-0.11724911630153656,
0.007021021097898483,
-0.14563985168933868,
0.3323407471179962,
0.502202033996582,
-0.08507902920246124,
0.09800393879413605,
0.32093167304992676,
0.48392170667648315,
0.014711365103721619,
0.3211979269981384,
-0.20993871986865997,
0.09449082612991333,
0.11780991405248642,
-0.12714152038097382,
-0.2942841351032257,
-0.3084479868412018,
0.05062825232744217,
0.26293474435806274,
-0.13514871895313263,
0.16315320134162903,
0.40111762285232544,
-0.3364551365375519,
-0.19581055641174316,
0.266782283782959,
0.035211555659770966,
-0.12115497887134552,
0.17443396151065826,
-0.23681023716926575,
-0.0008209329098463058,
-0.1876784861087799,
0.21928754448890686,
0.0010417290031909943,
-0.36119022965431213,
0.5836173892021179,
-0.07804280519485474,
0.43476903438568115,
0.16508114337921143,
0.061180226504802704,
0.05176021158695221,
0.13024339079856873,
0.010308142751455307,
-0.17510132491588593,
-0.1799364984035492,
0.10307222604751587,
-0.05089981481432915,
-0.23678237199783325,
0.24647828936576843,
-0.05130793899297714,
-0.26280876994132996,
-0.08405674248933792,
0.1886134296655655,
-0.3531075119972229,
-0.17831440269947052,
-0.058491773903369904,
0.3193178176879883,
-0.06751086562871933,
-0.38919779658317566,
0.27639544010162354,
-0.14469558000564575,
-0.1734573394060135,
-0.16031546890735626,
0.29599401354789734,
0.010074019432067871,
-0.06408096104860306,
-0.4701395630836487,
0.1271614283323288,
-0.05191315338015556,
0.08104537427425385,
-0.11903908848762512,
-0.18651261925697327,
-0.059024982154369354,
0.09881145507097244,
0.0764319896697998,
0.38802802562713623,
-0.2402738779783249,
-0.20566651225090027,
-0.4763811230659485,
-0.12422731518745422,
-0.17901253700256348,
0.06128659099340439,
0.08968334645032883,
-0.022299814969301224,
-0.059130653738975525,
0.14452145993709564,
0.007641318254172802,
-0.023026956245303154,
0.01665409468114376,
-0.36543917655944824,
-0.25919046998023987,
-0.09781083464622498,
0.11183865368366241,
0.11701788008213043,
-0.16813698410987854,
0.01636471599340439,
0.6255465149879456,
0.20632430911064148,
-0.06856052577495575,
-0.11414287984371185,
0.015066761523485184,
0.4076637625694275,
-0.12467063963413239,
0.16697895526885986,
-0.07091234624385834,
0.15846538543701172,
0.06829604506492615,
-0.013334767892956734,
0.45047345757484436,
0.07021913677453995,
-0.17986199259757996,
-0.2907516360282898,
-0.13949157297611237,
-0.027648869901895523,
-0.21773585677146912,
0.1138867735862732,
0.18857547640800476,
-0.0720052421092987,
0.0878487229347229,
-0.32442522048950195,
-0.18718957901000977,
-0.42408832907676697,
-0.04947058856487274,
0.05121847614645958,
-0.19836807250976562,
-0.08071237802505493,
-0.006028378382325172,
-0.23665639758110046,
0.41078147292137146,
0.20390841364860535,
0.038363978266716,
-0.05495569854974747,
0.2223881483078003,
0.04467000067234039,
-0.15834255516529083,
0.012087777256965637,
0.08524898439645767,
0.13927964866161346,
0.13895104825496674,
0.13237883150577545,
0.09484678506851196,
-0.04652639105916023,
0.0012447088956832886,
0.10952769219875336,
0.39501941204071045,
-0.023652736097574234,
-0.05901407450437546,
0.10212588310241699,
-0.3144204914569855,
-0.09923091530799866,
0.03402000293135643,
-0.12482630461454391,
-0.11575604975223541,
0.3484390377998352,
-0.09447100758552551,
-0.039137326180934906,
-0.1325465738773346,
-0.30933552980422974,
0.06573865562677383,
0.6040828227996826,
-0.06208879128098488,
-0.11001265794038773,
0.3291409909725189,
0.03647121414542198,
-0.1735607087612152,
0.013765170238912106,
-0.1378849595785141,
0.4257403612136841,
0.25479233264923096,
-0.04607628658413887,
0.12671419978141785,
-0.037017639726400375,
-0.26172029972076416,
0.21939769387245178,
-0.0670306384563446,
-0.24467279016971588,
0.15441593527793884,
0.07545767724514008,
0.17802847921848297,
-0.2725904583930969,
-0.009546259418129921,
-0.013587690889835358,
0.025140272453427315,
-0.24876311421394348,
0.03994161635637283,
0.1107393354177475,
-0.0008393116295337677,
-0.31403690576553345,
-0.07620925456285477,
-0.307494193315506,
-0.38618889451026917,
0.2818627953529358,
0.13600468635559082,
-0.044260092079639435,
0.20162251591682434,
0.20694920420646667,
0.762844979763031,
-0.21614626049995422,
-0.23364512622356415,
-0.09026916325092316,
-0.2531664967536926,
-0.2912326455116272,
0.18277418613433838,
-0.4327317178249359,
0.010432736948132515,
0.4563775062561035,
-0.25702306628227234,
-0.23710118234157562,
0.008032322861254215,
-0.8254338502883911,
0.018935546278953552,
-0.21859298646450043,
0.3809983730316162,
0.3705609142780304,
0.11536960303783417,
-0.09065895527601242,
-0.08351463079452515,
0.23093579709529877,
-0.26367297768592834,
-0.13751371204853058,
0.051272109150886536,
-0.2142571359872818,
0.056556086987257004,
-0.45252007246017456,
-0.32326892018318176,
0.038744084537029266,
-0.24589842557907104,
0.3721514344215393,
0.3741370439529419,
0.09246735274791718,
0.16371019184589386,
-0.039193034172058105,
0.4472634196281433,
-0.06679375469684601,
0.302752286195755,
-0.3029506504535675,
0.05268261954188347,
0.17954227328300476,
-0.3630061447620392,
-0.3931882083415985,
-0.1677687019109726,
0.10472039878368378,
0.36758002638816833,
-0.38687437772750854,
-0.5460529327392578,
-0.8877823948860168,
0.20140857994556427,
0.01565581187605858,
-0.07233618199825287,
0.1721419394016266,
0.07063081860542297,
0.07073261588811874,
-0.17971958220005035,
-0.10423335433006287,
-0.36387112736701965,
0.05777226388454437,
0.12230445444583893,
0.5519941449165344,
-0.18659567832946777,
0.16210904717445374,
0.11100579798221588,
0.6589866876602173,
0.04830564185976982,
-0.2100471407175064,
0.07696594297885895,
0.03627675026655197,
0.3453400433063507,
-0.23548367619514465,
-0.19599321484565735,
0.3744312524795532,
0.19494454562664032,
0.028364576399326324,
0.47766363620758057,
-0.0736621841788292,
0.39504513144493103,
-0.11563006788492203,
-0.018937792629003525,
0.0330914631485939,
-0.08998112380504608,
-0.023211518302559853,
0.24782463908195496,
-0.028405867516994476,
-0.018218563869595528,
-0.03373999148607254,
-0.31188535690307617,
-0.17389246821403503,
-0.030572032555937767,
0.36002397537231445,
-0.09863335639238358,
0.10621412843465805,
0.215288445353508,
0.13773471117019653,
-0.4167284369468689,
0.38127321004867554,
0.00969894602894783,
-0.2013339400291443,
-0.15432780981063843,
-0.05694170668721199,
0.25193482637405396,
0.018667493015527725,
-0.18063129484653473,
0.12177138775587082,
-0.043404050171375275,
-0.11392228305339813,
0.14907032251358032,
-0.42291259765625,
0.0785665214061737,
-0.04196327552199364,
-0.24331018328666687,
0.45206668972969055,
0.3144686222076416,
-0.6070411801338196,
-0.17079031467437744,
0.43170803785324097,
0.08123362809419632,
-0.08763853460550308,
-0.012957686558365822,
-0.6256875395774841,
-0.5491510033607483,
-0.09498495608568192,
0.21654263138771057,
-0.09933436661958694,
0.31846657395362854,
-0.007040154188871384,
0.29982897639274597,
0.30420470237731934,
0.024663403630256653,
-0.024631381034851074,
0.18732449412345886,
0.053252317011356354,
0.1089823991060257,
-0.12639522552490234,
-0.0348496213555336,
-0.23711785674095154,
-0.09112802147865295,
0.2245766520500183,
-0.24993258714675903,
-0.16885876655578613,
0.01990673318505287,
-0.027996182441711426,
0.3517487347126007,
0.44540533423423767,
-0.08110443502664566,
0.39318621158599854,
-0.13866466283798218,
0.37910014390945435,
-0.022897042334079742,
0.20427575707435608,
0.3303784430027008,
-0.023254912346601486,
0.2867961823940277,
-0.22708678245544434,
0.4474136233329773,
-0.06494885683059692,
-0.12713822722434998,
0.37263038754463196,
0.24815145134925842,
-0.05985353887081146,
0.1869579255580902,
0.38357892632484436,
1.019393801689148,
0.19586065411567688,
0.1945386677980423,
0.4298664927482605,
-0.03152330219745636,
0.6892074346542358,
-0.01457286812365055,
0.18910042941570282,
-0.35907548666000366,
0.04049623757600784,
0.11549374461174011,
0.034507375210523605,
-0.06826827675104141,
-0.2444329410791397,
-0.044395219534635544,
0.2090103179216385,
-0.015822164714336395,
-0.08476901054382324,
0.130450040102005,
0.2307078242301941,
0.0037881452590227127,
0.020183049142360687,
-0.2455264925956726,
0.18089719116687775,
-0.14117352664470673,
0.07033557444810867,
-0.1500830352306366,
-0.028241872787475586,
0.0021764710545539856,
-0.41744136810302734,
-0.0398624911904335,
-0.11549732089042664,
-0.08870135247707367,
-0.18967218697071075,
0.07118190824985504,
0.0038386136293411255,
-0.06150457635521889,
0.13071466982364655,
0.5094855427742004,
0.21388985216617584,
-0.147817000746727,
0.14010381698608398,
-0.2171446681022644,
0.08474913239479065,
0.11785885691642761,
0.2758602797985077,
0.163990318775177,
-0.3321893513202667,
-0.11327304691076279,
-0.021869532763957977,
0.07186514884233475,
-0.33089107275009155,
0.2739870250225067,
-0.1059444397687912,
-0.19233207404613495,
-0.009407524019479752,
-0.027053700760006905,
0.07804178446531296,
0.10492408275604248,
-0.19000548124313354,
0.18818160891532898,
0.06404350697994232,
-0.22817115485668182,
-0.08318708091974258,
0.1693713366985321,
-0.4043506681919098,
-0.21076461672782898,
-0.0012429580092430115,
-0.1370311975479126,
-0.05392232909798622,
0.2003452181816101,
-0.2676168382167816,
-0.09447060525417328,
-0.026680562645196915,
-0.46435925364494324,
-0.1422092318534851,
-0.4176414906978607,
0.044191695749759674,
0.2808348536491394,
-0.14982733130455017,
0.19202737510204315,
0.7615330815315247,
0.2528924345970154,
0.22292259335517883,
-0.15179327130317688,
-0.15016788244247437,
-0.16131314635276794,
0.23585890233516693,
-0.19589844346046448,
0.3011555075645447,
0.21731337904930115,
0.33357587456703186,
-0.05391737073659897,
0.21654853224754333,
-0.4283859133720398,
-0.008275150321424007,
-0.2436826080083847,
0.23364514112472534,
0.2163105010986328,
-0.11881949752569199,
0.28207796812057495,
0.25945329666137695,
0.10911630094051361,
0.09660410135984421,
-0.38250964879989624,
-0.2020341157913208,
-0.40051189064979553,
0.12843209505081177,
0.1445384919643402,
-0.023121189326047897,
-0.31277623772621155,
-0.12778207659721375,
-0.26781728863716125,
-0.0109393410384655,
0.09529870748519897,
-0.030670512467622757,
-0.07029402256011963,
0.3644765615463257,
-0.03700469061732292,
0.29126161336898804,
0.2475549727678299,
-0.128440260887146,
0.21424776315689087,
0.08633948862552643,
0.11194004863500595,
0.10481094568967819,
-0.37098848819732666,
0.040605656802654266,
0.17055432498455048,
0.10034972429275513,
0.26274800300598145,
0.02243782952427864,
0.0005498714745044708,
0.03449089452624321,
-0.05233704671263695,
-0.46680715680122375,
0.12274056673049927,
0.17212386429309845,
-0.12024538964033127,
-0.4835536777973175,
0.04989273101091385,
0.16324245929718018,
-0.28297677636146545,
0.10196052491664886,
-0.3636118173599243,
0.20354151725769043,
0.01792435720562935,
0.311311811208725,
0.22586339712142944,
0.06896856427192688,
0.21654368937015533,
0.005578907206654549,
-0.1331498920917511,
-0.34951305389404297,
0.09520639479160309,
-0.034715067595243454,
-0.3606290817260742,
0.24693714082241058,
0.4105812907218933,
-0.027797739952802658,
0.20340223610401154,
-0.214739128947258,
-0.1133863553404808,
0.20148807764053345,
-0.3282211124897003,
0.05136674642562866,
-0.08163677901029587,
0.10858002305030823,
0.3270571231842041,
0.1272052377462387,
-0.058206260204315186,
-0.11007452756166458,
0.2119939923286438,
0.5473920702934265,
-0.2566118836402893,
-0.11005298793315887,
-0.14732412993907928,
0.19911397993564606,
-0.11681827157735825,
-0.058328576385974884,
-0.0445670560002327,
-0.1458514928817749,
-0.03280646353960037,
-0.007881022989749908,
0.012739375233650208,
0.08066612482070923,
0.06942965090274811,
-0.05799214541912079,
-0.03626389801502228,
-0.05297233909368515,
-0.4431632161140442,
0.21318277716636658,
0.4639522135257721,
-0.10537156462669373,
-0.004288019612431526,
0.14097639918327332,
0.059379417449235916,
0.01166488416492939,
0.42809489369392395,
0.14002873003482819,
0.16476617753505707,
0.06372292339801788,
-0.2463674247264862,
0.04067644476890564,
0.17275384068489075,
0.05390453338623047,
0.17047536373138428,
0.5472290515899658,
0.02335403859615326,
0.30577340722084045,
0.16967570781707764,
-0.23802918195724487,
0.20436221361160278,
0.024678077548742294,
-0.1283300220966339,
-0.21604491770267487,
0.7375674247741699,
0.12485814839601517,
-0.07091928273439407,
-0.14246053993701935,
0.05039026215672493,
-0.37571829557418823,
0.13958361744880676,
-0.03533259034156799,
0.3192805349826813,
0.05349469929933548,
-0.4200618863105774,
0.1315031349658966,
0.23588243126869202,
0.3896113634109497,
0.03382132947444916,
0.10940033942461014,
-0.22876407206058502,
-0.04441811144351959,
-0.5316423177719116,
0.37053436040878296,
0.33290278911590576,
0.10410742461681366,
0.08461573719978333,
-0.19924868643283844,
0.005385011434555054,
0.08857367187738419,
-0.11583414673805237,
-0.00793403759598732,
0.13664719462394714,
-0.29945847392082214,
-0.28671732544898987,
-0.04683590307831764,
-0.01276029646396637,
-0.16869013011455536,
0.004213888198137283,
-0.003183450549840927,
-0.14391310513019562,
-0.5395734310150146,
0.13531231880187988,
-0.22792087495326996,
0.02561931312084198,
0.19883248209953308,
0.38238972425460815,
0.2402341514825821,
0.03518364205956459,
0.47709792852401733,
-0.05692233145236969,
-0.06122981756925583,
0.29342129826545715,
0.08577407151460648,
-0.2522374093532562,
0.15219436585903168,
-0.18210645020008087,
0.2487698793411255,
0.25455915927886963,
-0.30673885345458984,
-0.24295267462730408,
0.5208507776260376,
-0.051192108541727066,
-0.25433990359306335,
-0.0612180158495903,
0.004914548248052597,
-0.01631011813879013,
-0.10038483142852783,
-0.08928517252206802,
0.2621397078037262,
0.03905817121267319,
0.18316508829593658,
-0.3561263084411621,
-0.12723195552825928,
0.7095306515693665,
-0.3653596043586731,
0.16476649045944214,
0.14512225985527039,
0.42226916551589966,
0.34196415543556213,
-0.29366248846054077,
-0.8966687917709351,
0.11365077644586563,
0.2034340649843216,
0.15294364094734192,
-0.33836060762405396,
0.3975140154361725,
-0.5198070406913757,
-0.06824709475040436,
-0.17297422885894775,
0.33375677466392517,
-0.0314687043428421,
-0.1036917120218277,
-0.05560299754142761,
-0.3654724359512329
] |
https://github.com/huggingface/datasets/pull/455 | Add bleurt | > Following up on Ankur's comment---we are going to drop support for positional (not named) arguments in the future releases because it seems to cause bugs and confusion. I hope it doesn't create too much of a mess. Le jeu. 30 juil. 2020 à 10:44, ankparikh <notifications@github.com> a écrit :
> […](#)
> Sorry one nit: Could we use named arguments for the call to BLEURT? i.e. scores = self.scorer.score(references=references, candidates=predictions) (i.e. so it is less bug prone) — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <[#455 (comment)](https://github.com/huggingface/nlp/pull/455#issuecomment-666414514)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABTMRNGAN2PMECS5K4DIHJDR6GBMLANCNFSM4PL323FA> .
Changed @ankparikh @tsellam, thanks for taking a look! | This PR adds the BLEURT metric to the library.
The BLEURT `Metric` downloads a TF checkpoint corresponding to its `config_name` at creation (in the `_info` function). Default is set to `bleurt-base-128`.
Note that the default in the original package is `bleurt-tiny-128`, but they throw a warning and recommend using `bleurt-base-128` instead. I think it's safer to have our users have a functioning metric when they call the default behavior, we'll address discrepancies in the issues/discussions if it comes up.
In addition to the BLEURT file, `load.py` was changed so we can ask users to pip install the required packages from git when they have a `setup.py` but are not on PyPL
cc @ankparikh @tsellam | 110 | text: Add bleurt
This PR adds the BLEURT metric to the library.
The BLEURT `Metric` downloads a TF checkpoint corresponding to its `config_name` at creation (in the `_info` function). Default is set to `bleurt-base-128`.
Note that the default in the original package is `bleurt-tiny-128`, but they throw a warning and recommend using `bleurt-base-128` instead. I think it's safer to have our users have a functioning metric when they call the default behavior, we'll address discrepancies in the issues/discussions if it comes up.
In addition to the BLEURT file, `load.py` was changed so we can ask users to pip install the required packages from git when they have a `setup.py` but are not on PyPL
cc @ankparikh @tsellam
> Following up on Ankur's comment---we are going to drop support for positional (not named) arguments in the future releases because it seems to cause bugs and confusion. I hope it doesn't create too much of a mess. Le jeu. 30 juil. 2020 à 10:44, ankparikh <notifications@github.com> a écrit :
> […](#)
> Sorry one nit: Could we use named arguments for the call to BLEURT? i.e. scores = self.scorer.score(references=references, candidates=predictions) (i.e. so it is less bug prone) — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <[#455 (comment)](https://github.com/huggingface/nlp/pull/455#issuecomment-666414514)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABTMRNGAN2PMECS5K4DIHJDR6GBMLANCNFSM4PL323FA> .
Changed @ankparikh @tsellam, thanks for taking a look! | [
0.0743979960680008,
-0.5085507035255432,
-0.009262463077902794,
-0.05228607356548309,
0.19445377588272095,
-0.21669289469718933,
-0.01487690582871437,
0.06023232266306877,
-0.18566524982452393,
0.2697122395038605,
0.16771018505096436,
0.363840788602829,
-0.09019321948289871,
0.03943875432014465,
0.19973543286323547,
-0.18826766312122345,
-0.2276231348514557,
0.19657883048057556,
0.24599292874336243,
-0.1620103269815445,
-0.3695065379142761,
0.2761508524417877,
-0.130204439163208,
0.08180784434080124,
0.034166593104600906,
0.24972859025001526,
0.2147466540336609,
0.09943550825119019,
-0.21079835295677185,
-0.727872371673584,
0.06303185224533081,
0.07020306587219238,
-0.23587240278720856,
0.05411246418952942,
-0.00010591653699520975,
-0.48498809337615967,
0.2837647795677185,
-0.23446528613567352,
-0.34877192974090576,
-0.31530052423477173,
0.2210884988307953,
-0.42980852723121643,
0.19116027653217316,
-0.26579445600509644,
-0.12962399423122406,
-0.09492438286542892,
0.13184696435928345,
0.16493752598762512,
0.0776677131652832,
0.21101099252700806,
0.2818847894668579,
0.15556973218917847,
-0.0017316453158855438,
0.0249553844332695,
0.07418513298034668,
-0.11682510375976562,
-0.19953732192516327,
0.3470650315284729,
-0.1555698812007904,
0.23805059492588043,
0.0004912093281745911,
0.06711597740650177,
0.0737670361995697,
0.045807696878910065,
0.5292031764984131,
0.09207025170326233,
0.15585584938526154,
0.1002892255783081,
-0.059214502573013306,
0.22178104519844055,
-0.00837358832359314,
-0.2950800657272339,
-0.08988399803638458,
-0.030080944299697876,
0.22639186680316925,
-0.7309377193450928,
-0.03957100212574005,
0.14001303911209106,
-0.10670891404151917,
-0.36504536867141724,
-0.0350630022585392,
0.11832664906978607,
-0.21958224475383759,
0.10430939495563507,
0.007652834057807922,
0.2591722011566162,
-0.12908081710338593,
0.022247951477766037,
0.2057724893093109,
0.19211898744106293,
-0.5096262693405151,
0.04558302089571953,
0.020981529727578163,
0.23644550144672394,
0.03341440483927727,
-0.12556728720664978,
0.42363178730010986,
0.2245643436908722,
0.10442305356264114,
0.0362931527197361,
0.010665391571819782,
-0.02669692412018776,
-0.14891190826892853,
0.027683541178703308,
-0.14259834587574005,
0.34216076135635376,
0.47236883640289307,
-0.09276129305362701,
0.12838010489940643,
0.3225075900554657,
0.4852299094200134,
0.0554841086268425,
0.321384072303772,
-0.23818939924240112,
0.09675233066082001,
0.09975311905145645,
-0.1376655101776123,
-0.25959479808807373,
-0.28646785020828247,
0.07768961787223816,
0.2753623425960541,
-0.1817541867494583,
0.16563698649406433,
0.3825835883617401,
-0.3532489240169525,
-0.19676494598388672,
0.2728102207183838,
0.006259208545088768,
-0.15769997239112854,
0.16142632067203522,
-0.25481706857681274,
0.0066681914031505585,
-0.20542708039283752,
0.19995497167110443,
-0.0015679821372032166,
-0.36003339290618896,
0.5831875205039978,
-0.07587140053510666,
0.3526211380958557,
0.20293179154396057,
0.08901353925466537,
0.027478709816932678,
0.11267361789941788,
0.004993896931409836,
-0.16931498050689697,
-0.190718412399292,
0.0957140326499939,
-0.047912776470184326,
-0.23222440481185913,
0.2116088569164276,
-0.01910793036222458,
-0.2372417002916336,
-0.11796322464942932,
0.20445242524147034,
-0.3574119806289673,
-0.1823735237121582,
-0.020959533751010895,
0.3362237811088562,
-0.0687832459807396,
-0.4018922746181488,
0.28616297245025635,
-0.1300579309463501,
-0.15325482189655304,
-0.16868017613887787,
0.28257426619529724,
0.018341444432735443,
-0.06303954124450684,
-0.46063312888145447,
0.13130246102809906,
-0.10563325881958008,
0.11021128296852112,
-0.12671147286891937,
-0.1662818342447281,
-0.03889133036136627,
0.12248265743255615,
0.04367251694202423,
0.4395623207092285,
-0.22262868285179138,
-0.22217224538326263,
-0.4181707501411438,
-0.12569071352481842,
-0.15411804616451263,
0.030347764492034912,
0.1166258454322815,
-0.02872772514820099,
-0.050510186702013016,
0.1861870288848877,
0.0619194433093071,
-0.005224244669079781,
0.012066414579749107,
-0.3775823414325714,
-0.2598811089992523,
-0.0780387669801712,
0.09361609816551208,
0.1369539499282837,
-0.16256144642829895,
0.011285312473773956,
0.6222215294837952,
0.22156980633735657,
-0.045862797647714615,
-0.11950217932462692,
0.00712176226079464,
0.4052508473396301,
-0.16840845346450806,
0.1522829532623291,
-0.08922271430492401,
0.13195130228996277,
0.05580823868513107,
-0.02504158578813076,
0.44234344363212585,
0.09343446791172028,
-0.15920723974704742,
-0.2894023060798645,
-0.1637026071548462,
-0.03230715170502663,
-0.2340935468673706,
0.13847818970680237,
0.1890866458415985,
-0.09034182131290436,
0.10093852877616882,
-0.32847434282302856,
-0.18377022445201874,
-0.37416356801986694,
-0.04394984990358353,
0.04141347110271454,
-0.1770668774843216,
-0.1048377975821495,
0.007715270854532719,
-0.224593386054039,
0.4084441363811493,
0.14631593227386475,
0.05256110057234764,
-0.04091876372694969,
0.2240549921989441,
0.0370190255343914,
-0.11493796110153198,
0.04917929694056511,
0.05914951115846634,
0.1666424721479416,
0.14287209510803223,
0.12965410947799683,
0.07661734521389008,
-0.03422669693827629,
0.017691202461719513,
0.10456883907318115,
0.3727707266807556,
-0.003655526787042618,
-0.10209053009748459,
0.13185441493988037,
-0.3091004490852356,
-0.09194764494895935,
0.009808961302042007,
-0.13456471264362335,
-0.11318714916706085,
0.3414217531681061,
-0.0744222104549408,
-0.04906376823782921,
-0.1370740830898285,
-0.29060888290405273,
0.09316575527191162,
0.5931045413017273,
-0.07581166923046112,
-0.10258298367261887,
0.328869104385376,
0.0325070321559906,
-0.1998719871044159,
-0.007395533844828606,
-0.10366475582122803,
0.42210662364959717,
0.2735830247402191,
-0.004197124391794205,
0.11809040606021881,
-0.07430759072303772,
-0.2649049460887909,
0.21856680512428284,
-0.07714805006980896,
-0.21546581387519836,
0.1508893221616745,
0.07885237038135529,
0.17489421367645264,
-0.28377765417099,
-0.03496593236923218,
0.004763739183545113,
0.08064597100019455,
-0.204682394862175,
0.011633040383458138,
0.08431057631969452,
0.0037155114114284515,
-0.2598724961280823,
-0.10692891478538513,
-0.2934419810771942,
-0.37683555483818054,
0.26200079917907715,
0.12247054278850555,
-0.030422711744904518,
0.17540669441223145,
0.19459524750709534,
0.7471404671669006,
-0.19888858497142792,
-0.20775999128818512,
-0.08946922421455383,
-0.25151175260543823,
-0.2716576159000397,
0.19561898708343506,
-0.38456371426582336,
0.0395672544836998,
0.4534628093242645,
-0.25077491998672485,
-0.2113143354654312,
-0.0021253544837236404,
-0.8385351300239563,
0.029903991147875786,
-0.21130290627479553,
0.3878677487373352,
0.36824432015419006,
0.13711582124233246,
-0.08512746542692184,
-0.07419709861278534,
0.2135634869337082,
-0.26086491346359253,
-0.1553475558757782,
0.03162635117769241,
-0.21583335101604462,
0.05473624914884567,
-0.4547460079193115,
-0.33547496795654297,
0.00221213698387146,
-0.2755284309387207,
0.3387609124183655,
0.38390710949897766,
0.1045839786529541,
0.16521701216697693,
-0.032371703535318375,
0.4367063343524933,
-0.04633692651987076,
0.28550562262535095,
-0.3109325170516968,
0.055623333901166916,
0.17736126482486725,
-0.3760562837123871,
-0.38231736421585083,
-0.18369796872138977,
0.08773908764123917,
0.37315231561660767,
-0.3724598288536072,
-0.5520570874214172,
-0.8395237922668457,
0.1604718267917633,
0.0014276020228862762,
-0.08309413492679596,
0.18520289659500122,
0.10218997299671173,
0.09896920621395111,
-0.19742988049983978,
-0.10693958401679993,
-0.35189583897590637,
0.017466358840465546,
0.11416562646627426,
0.5780534148216248,
-0.1941383183002472,
0.1481727659702301,
0.11509813368320465,
0.6480429172515869,
0.055121611803770065,
-0.23942820727825165,
0.0758027732372284,
0.025887876749038696,
0.3708083927631378,
-0.19264152646064758,
-0.16691188514232635,
0.38429492712020874,
0.20382985472679138,
0.06465965509414673,
0.47315752506256104,
-0.06569068133831024,
0.3528643250465393,
-0.12459588050842285,
-0.038245439529418945,
0.024011291563510895,
-0.06787014752626419,
-0.01662309654057026,
0.23852470517158508,
-0.03754857927560806,
-0.012447783723473549,
-0.07427570223808289,
-0.3169701099395752,
-0.13931986689567566,
-0.03532017394900322,
0.3798688054084778,
-0.06593579798936844,
0.10573524981737137,
0.22698809206485748,
0.1510719656944275,
-0.4208260774612427,
0.35272926092147827,
0.0037313627544790506,
-0.2260134518146515,
-0.13976804912090302,
-0.08624590933322906,
0.23462772369384766,
0.0005415040068328381,
-0.21918968856334686,
0.0679430291056633,
-0.05763839930295944,
-0.13152553141117096,
0.17969469726085663,
-0.44600972533226013,
0.08989746868610382,
-0.04181056097149849,
-0.21868860721588135,
0.48414331674575806,
0.32825809717178345,
-0.5569570660591125,
-0.1868899017572403,
0.42531853914260864,
0.08731114864349365,
-0.09972706437110901,
-0.01239820383489132,
-0.6109657883644104,
-0.5361107587814331,
-0.09494459629058838,
0.2175450623035431,
-0.14279133081436157,
0.2765336036682129,
0.013731421902775764,
0.2635094225406647,
0.2971668839454651,
0.023884065449237823,
-0.012134157121181488,
0.21123917400836945,
0.0578191801905632,
0.10625020414590836,
-0.11498874425888062,
-0.042573437094688416,
-0.22943592071533203,
-0.08733665943145752,
0.22127501666545868,
-0.2502523958683014,
-0.11385180056095123,
0.0028067752718925476,
0.010603959672152996,
0.3277115225791931,
0.41128337383270264,
-0.068426214158535,
0.3780946433544159,
-0.1504826694726944,
0.37073230743408203,
-0.030530370771884918,
0.21653079986572266,
0.3109090328216553,
-0.02586803212761879,
0.27430015802383423,
-0.20172525942325592,
0.4626326858997345,
-0.08347205817699432,
-0.1356802135705948,
0.3580434322357178,
0.23727792501449585,
-0.06323740631341934,
0.17970234155654907,
0.3755534291267395,
1.0105395317077637,
0.21220801770687103,
0.18671764433383942,
0.4239785373210907,
-0.03508024662733078,
0.674823522567749,
-0.06441895663738251,
0.19167114794254303,
-0.34862905740737915,
0.07844118028879166,
0.09863871335983276,
0.040590692311525345,
-0.07020267099142075,
-0.293218731880188,
-0.0862051248550415,
0.17822977900505066,
-0.007754862308502197,
-0.12419746816158295,
0.13596390187740326,
0.22925695776939392,
-0.0341697633266449,
0.01186259463429451,
-0.20532464981079102,
0.19648592174053192,
-0.11956499516963959,
0.10973024368286133,
-0.148172527551651,
-0.07257222384214401,
0.013008590787649155,
-0.4017637372016907,
-0.04470598325133324,
-0.10086625069379807,
-0.06750098615884781,
-0.17234133183956146,
0.05939186364412308,
0.011016041040420532,
-0.07251030951738358,
0.12525373697280884,
0.5044161081314087,
0.21909305453300476,
-0.15435034036636353,
0.158515065908432,
-0.20555856823921204,
0.0914473906159401,
0.11991182714700699,
0.27719566226005554,
0.20744416117668152,
-0.3610791862010956,
-0.1459200084209442,
-0.028849855065345764,
0.06552340090274811,
-0.3040845990180969,
0.299204021692276,
-0.10774596035480499,
-0.18870456516742706,
0.027907753363251686,
-0.0344790443778038,
0.13092708587646484,
0.05943595990538597,
-0.1780238300561905,
0.20495522022247314,
0.09408445656299591,
-0.24054870009422302,
-0.044006481766700745,
0.1770470142364502,
-0.3903883397579193,
-0.22138498723506927,
0.01518077403306961,
-0.1204632893204689,
-0.059727806597948074,
0.17884507775306702,
-0.2668883502483368,
-0.12078110128641129,
-0.0614946223795414,
-0.4533483386039734,
-0.13637106120586395,
-0.4026607871055603,
0.03304698318243027,
0.2575376331806183,
-0.1341126263141632,
0.23592248558998108,
0.7607244253158569,
0.23633748292922974,
0.21781209111213684,
-0.17932292819023132,
-0.15894244611263275,
-0.1822485774755478,
0.241613507270813,
-0.23380808532238007,
0.31701308488845825,
0.18755289912223816,
0.3438540995121002,
-0.03599473461508751,
0.254613995552063,
-0.4483031928539276,
-0.004507354460656643,
-0.24725814163684845,
0.23134954273700714,
0.1786109060049057,
-0.12095548957586288,
0.25451529026031494,
0.24140484631061554,
0.11757175624370575,
0.10429462045431137,
-0.3924528658390045,
-0.2248890995979309,
-0.3961363434791565,
0.12103311717510223,
0.13567417860031128,
-0.03749147802591324,
-0.2757164537906647,
-0.09205608069896698,
-0.26476356387138367,
0.014093903824687004,
0.09813027083873749,
-0.04444669932126999,
-0.07307536900043488,
0.3718431890010834,
-0.0537797249853611,
0.2583901584148407,
0.26555734872817993,
-0.16189612448215485,
0.2296450436115265,
0.08717929571866989,
0.13418005406856537,
0.10457704961299896,
-0.358350545167923,
0.035319551825523376,
0.17265965044498444,
0.10736477375030518,
0.25397953391075134,
0.07541506737470627,
0.015433132648468018,
0.02343152090907097,
-0.04419264197349548,
-0.47062358260154724,
0.12340618669986725,
0.14911673963069916,
-0.10554364323616028,
-0.4746522307395935,
0.07249769568443298,
0.1841534823179245,
-0.30846351385116577,
0.10957667976617813,
-0.3643004894256592,
0.1929558664560318,
0.03197956457734108,
0.27221524715423584,
0.21284618973731995,
0.10161396861076355,
0.19589975476264954,
0.029303789138793945,
-0.14304067194461823,
-0.3714107275009155,
0.10434368252754211,
-0.04355848208069801,
-0.3745397925376892,
0.2046431452035904,
0.36758747696876526,
-0.02574797347187996,
0.2142886221408844,
-0.22552402317523956,
-0.11235620826482773,
0.21886801719665527,
-0.3415761888027191,
0.05948648974299431,
-0.08164495974779129,
0.06684690713882446,
0.345963716506958,
0.13469058275222778,
-0.04371865093708038,
-0.11426617950201035,
0.23225359618663788,
0.5348328351974487,
-0.24826420843601227,
-0.0939551293849945,
-0.15347854793071747,
0.23595239222049713,
-0.09200722724199295,
-0.07772238552570343,
-0.04072168096899986,
-0.1548316478729248,
-0.009212389588356018,
-0.023318972438573837,
0.03636905178427696,
0.09709756076335907,
0.033697955310344696,
-0.041442789137363434,
-0.03287303447723389,
-0.06176326423883438,
-0.44048577547073364,
0.1946435272693634,
0.44496428966522217,
-0.07981424033641815,
-0.001558331772685051,
0.1508411020040512,
0.042052142322063446,
-0.0426563136279583,
0.42133721709251404,
0.1440819501876831,
0.1718389242887497,
0.05887894704937935,
-0.1984071284532547,
0.019431255757808685,
0.1526477187871933,
0.03752456605434418,
0.17082659900188446,
0.557599663734436,
-0.0009355172514915466,
0.30982840061187744,
0.180929034948349,
-0.25583046674728394,
0.2361157387495041,
0.01751364767551422,
-0.1595224291086197,
-0.16914395987987518,
0.7374830842018127,
0.14538723230361938,
-0.06918636709451675,
-0.15843695402145386,
0.06082254275679588,
-0.40161824226379395,
0.13981425762176514,
-0.01554827019572258,
0.29680874943733215,
0.05249282717704773,
-0.4327571988105774,
0.13684549927711487,
0.23297728598117828,
0.3915223479270935,
0.03451848030090332,
0.12945953011512756,
-0.18978196382522583,
-0.04223252087831497,
-0.5313531160354614,
0.3313247859477997,
0.30755576491355896,
0.056392647325992584,
0.05234105885028839,
-0.17173072695732117,
-0.0004878118634223938,
0.08496959507465363,
-0.07755866646766663,
-0.015943683683872223,
0.14909084141254425,
-0.30790629982948303,
-0.2789565324783325,
-0.015429273247718811,
-0.03243349492549896,
-0.15726330876350403,
-0.013867869973182678,
-0.028609110042452812,
-0.15560100972652435,
-0.5603164434432983,
0.15804442763328552,
-0.24622772634029388,
0.026368610560894012,
0.20113153755664825,
0.3625110685825348,
0.2326240986585617,
0.034336429089307785,
0.46517160534858704,
-0.0888744443655014,
-0.059089772403240204,
0.25352543592453003,
0.10426510870456696,
-0.23762714862823486,
0.11923929303884506,
-0.13248218595981598,
0.2739700376987457,
0.2414044439792633,
-0.28816577792167664,
-0.25137460231781006,
0.5515277981758118,
-0.048040710389614105,
-0.2667807936668396,
-0.05228114128112793,
-0.011330590583384037,
0.015271395444869995,
-0.09887736290693283,
-0.0845947265625,
0.2638983726501465,
0.03171415254473686,
0.17751795053482056,
-0.37904155254364014,
-0.14660198986530304,
0.6900005340576172,
-0.362885445356369,
0.16896933317184448,
0.1516757309436798,
0.3999154269695282,
0.37915879487991333,
-0.27533024549484253,
-0.9169113636016846,
0.11931721121072769,
0.181276336312294,
0.16328468918800354,
-0.3372049331665039,
0.40756213665008545,
-0.4834807813167572,
-0.059514615684747696,
-0.18024523556232452,
0.31196874380111694,
-0.02887433022260666,
-0.13243933022022247,
-0.06167268007993698,
-0.3535728454589844
] |
https://github.com/huggingface/datasets/pull/455 | Add bleurt | We should avoid positional arguments in metrics on our side as well. It's a dangerous source of errors indeed. | This PR adds the BLEURT metric to the library.
The BLEURT `Metric` downloads a TF checkpoint corresponding to its `config_name` at creation (in the `_info` function). Default is set to `bleurt-base-128`.
Note that the default in the original package is `bleurt-tiny-128`, but they throw a warning and recommend using `bleurt-base-128` instead. I think it's safer to have our users have a functioning metric when they call the default behavior, we'll address discrepancies in the issues/discussions if it comes up.
In addition to the BLEURT file, `load.py` was changed so we can ask users to pip install the required packages from git when they have a `setup.py` but are not on PyPL
cc @ankparikh @tsellam | 19 | text: Add bleurt
This PR adds the BLEURT metric to the library.
The BLEURT `Metric` downloads a TF checkpoint corresponding to its `config_name` at creation (in the `_info` function). Default is set to `bleurt-base-128`.
Note that the default in the original package is `bleurt-tiny-128`, but they throw a warning and recommend using `bleurt-base-128` instead. I think it's safer to have our users have a functioning metric when they call the default behavior, we'll address discrepancies in the issues/discussions if it comes up.
In addition to the BLEURT file, `load.py` was changed so we can ask users to pip install the required packages from git when they have a `setup.py` but are not on PyPL
cc @ankparikh @tsellam
We should avoid positional arguments in metrics on our side as well. It's a dangerous source of errors indeed. | [
-0.02373252995312214,
-0.5532126426696777,
-0.006470983847975731,
-0.17630940675735474,
0.22325314581394196,
-0.16860851645469666,
0.1316661238670349,
0.07679066061973572,
-0.3032449781894684,
0.245101198554039,
0.15529000759124756,
0.2984083592891693,
0.012190916575491428,
-0.17077024281024933,
0.00005095917731523514,
-0.1855904757976532,
-0.2473486065864563,
0.2071903944015503,
0.2907620072364807,
-0.12222720682621002,
-0.41061827540397644,
0.07481769472360611,
-0.06517567485570908,
0.028001248836517334,
0.11672212183475494,
0.27175262570381165,
0.3075297474861145,
0.12570729851722717,
-0.23521678149700165,
-0.7261924743652344,
0.0703844502568245,
0.029066937044262886,
-0.09256532043218613,
0.13177180290222168,
-0.00010416479199193418,
-0.3364374041557312,
0.20185580849647522,
-0.15695926547050476,
-0.265586793422699,
-0.20479728281497955,
0.05969226360321045,
-0.5894591212272644,
0.06296593695878983,
-0.3293570280075073,
-0.003540653735399246,
-0.2432684451341629,
0.052470363676548004,
0.15834397077560425,
-0.005681291222572327,
0.2543417811393738,
0.28912967443466187,
0.05768423527479172,
-0.13143686950206757,
0.012502255849540234,
0.08520154654979706,
-0.17525362968444824,
-0.22003938257694244,
0.3887033462524414,
0.012230060994625092,
0.44608670473098755,
0.16593551635742188,
-0.030963361263275146,
-0.06531111896038055,
0.2059299498796463,
0.5344158411026001,
0.04304364696145058,
0.3453946113586426,
0.09868820756673813,
-0.036756835877895355,
0.2681438624858856,
0.0695393830537796,
-0.32275110483169556,
-0.022530781105160713,
0.16984021663665771,
0.11227232962846756,
-0.6810426115989685,
-0.11323121935129166,
0.1424725204706192,
-0.028704414144158363,
-0.29650792479515076,
-0.03150225803256035,
-0.10755150020122528,
-0.1975802779197693,
0.03202229365706444,
-0.09055741131305695,
0.28320127725601196,
-0.01998312771320343,
0.04739215224981308,
0.11608602106571198,
0.17616713047027588,
-0.2995482087135315,
0.07994185388088226,
0.0057785771787166595,
0.09654011577367783,
0.20168286561965942,
0.04670187085866928,
0.322055846452713,
0.11053644120693207,
0.08201291412115097,
-0.0422196090221405,
-0.16136229038238525,
-0.02954433485865593,
-0.013727729208767414,
0.0688573345541954,
-0.27043870091438293,
0.34652459621429443,
0.2791495621204376,
0.09729351848363876,
0.16849766671657562,
0.23814448714256287,
0.5125251412391663,
-0.014364972710609436,
0.25150033831596375,
-0.3656977117061615,
0.22392381727695465,
0.0767001360654831,
-0.0696849524974823,
-0.2588633596897125,
-0.35662370920181274,
0.07467851787805557,
0.20313897728919983,
-0.10561882704496384,
0.09370150417089462,
0.325113981962204,
-0.17374177277088165,
-0.20067757368087769,
0.32570379972457886,
0.05203639715909958,
-0.26834723353385925,
0.3623456060886383,
-0.2064734399318695,
0.01464900467544794,
-0.19450059533119202,
0.037473373115062714,
-0.23502780497074127,
-0.44548845291137695,
0.5653507113456726,
0.043822724372148514,
0.2822842597961426,
0.2766745686531067,
0.18320335447788239,
0.08509892225265503,
0.11078324168920517,
0.1493363380432129,
-0.14220497012138367,
-0.10818970203399658,
0.14162251353263855,
0.10974715650081635,
-0.20875750482082367,
0.3608314096927643,
-0.299823135137558,
-0.28434354066848755,
-0.23761676251888275,
0.240892693400383,
-0.33498841524124146,
-0.1338161826133728,
0.1232774406671524,
0.19795431196689606,
0.06753110885620117,
-0.5291656851768494,
0.33418670296669006,
-0.22726945579051971,
-0.10978534817695618,
-0.2840370237827301,
0.18327638506889343,
0.028365671634674072,
-0.2652711272239685,
-0.3803721070289612,
0.09697600454092026,
-0.09683777391910553,
0.279228150844574,
-0.19349543750286102,
-0.20268075168132782,
-0.030395865440368652,
0.07399354875087738,
-0.15191811323165894,
0.46227210760116577,
-0.3082636296749115,
-0.17993417382240295,
-0.2474857121706009,
-0.14875242114067078,
-0.1574891209602356,
0.09171547740697861,
0.08619411289691925,
0.030616335570812225,
-0.08425100147724152,
0.1512717306613922,
0.0024168938398361206,
0.04930371418595314,
0.009115366265177727,
-0.4110620617866516,
-0.23264195024967194,
-0.03037213534116745,
-0.0685219094157219,
0.2600674033164978,
-0.03747258335351944,
0.0865749642252922,
0.5738617181777954,
0.08551113307476044,
0.1533263921737671,
-0.16401661932468414,
0.07276225835084915,
0.48701637983322144,
-0.24477748572826385,
0.20964139699935913,
0.01273539662361145,
0.28126558661460876,
0.06275082379579544,
0.07024399936199188,
0.2929047644138336,
0.07256244122982025,
-0.10717727243900299,
-0.2429812252521515,
-0.20613937079906464,
-0.02010096237063408,
-0.2465399205684662,
0.12755225598812103,
0.19305455684661865,
-0.2553849518299103,
-0.0011842232197523117,
-0.2064063549041748,
-0.22413919866085052,
-0.2922224700450897,
0.0048806509003043175,
0.25317034125328064,
-0.2025962620973587,
-0.09327840059995651,
0.18145039677619934,
-0.37232863903045654,
0.2139652967453003,
0.05550685524940491,
0.0017359659541398287,
-0.11568782478570938,
0.3376774489879608,
0.235092431306839,
-0.11719658970832825,
0.0912264883518219,
0.1095011755824089,
0.26089367270469666,
0.18146605789661407,
0.19731572270393372,
0.06256364285945892,
-0.03862104192376137,
0.03574298322200775,
0.10889418423175812,
0.22238285839557648,
0.17331886291503906,
-0.11749770492315292,
0.0016975626349449158,
-0.2781667113304138,
-0.059655286371707916,
0.04237184301018715,
-0.0626564770936966,
-0.16584479808807373,
0.19318222999572754,
0.10061031579971313,
-0.06886671483516693,
-0.06126375496387482,
-0.040727052837610245,
0.051842160522937775,
0.5040017366409302,
-0.03019317425787449,
-0.08621833473443985,
0.3427408039569855,
0.05574377626180649,
-0.2189129889011383,
0.025166481733322144,
-0.06439486145973206,
0.3865513205528259,
0.28057992458343506,
-0.048552293330430984,
0.13446126878261566,
-0.10261642932891846,
-0.2420918494462967,
0.18078890442848206,
0.01699620485305786,
-0.3241340219974518,
0.03700748458504677,
0.07172698527574539,
0.14021985232830048,
-0.1033831387758255,
-0.08786315470933914,
0.10905029624700546,
0.19630712270736694,
-0.26178690791130066,
0.02139202691614628,
0.07754585146903992,
0.19467967748641968,
-0.15125255286693573,
-0.2793446481227875,
-0.10462130606174469,
-0.33983391523361206,
0.24655987322330475,
-0.06951254606246948,
0.029909465461969376,
0.2331872135400772,
0.12378761172294617,
0.6546488404273987,
-0.1376907229423523,
-0.3733258545398712,
-0.010729208588600159,
-0.12829124927520752,
-0.2922738194465637,
0.19075706601142883,
-0.44071832299232483,
0.07808852940797806,
0.43423235416412354,
-0.33282870054244995,
-0.19737116992473602,
-0.10577815771102905,
-0.7151583433151245,
-0.012701302766799927,
-0.12878474593162537,
0.3859468996524811,
0.405307799577713,
0.19134290516376495,
0.05098571628332138,
-0.07372446358203888,
0.11559626460075378,
-0.12340947240591049,
-0.006367099471390247,
0.01958504319190979,
-0.31209635734558105,
0.0388617217540741,
-0.4240502119064331,
-0.30242979526519775,
0.0884941816329956,
-0.32615718245506287,
-0.05272690951824188,
0.414287805557251,
0.0025545693933963776,
-0.04765266180038452,
0.14096252620220184,
0.27188238501548767,
0.20103299617767334,
0.21110442280769348,
-0.24739910662174225,
-0.11302557587623596,
0.08968555927276611,
-0.28627368807792664,
-0.1769455373287201,
-0.08956080675125122,
0.09141485393047333,
0.27345553040504456,
-0.15192349255084991,
-0.5800563097000122,
-0.903742253780365,
0.05390365421772003,
0.20218831300735474,
-0.08137255907058716,
0.21205534040927887,
0.07572554051876068,
0.19592918455600739,
-0.2014220654964447,
-0.17188742756843567,
-0.3830857276916504,
0.021812744438648224,
0.117080919444561,
0.6946225762367249,
-0.2052750289440155,
0.05508698895573616,
0.01595989242196083,
0.7436022162437439,
-0.028923451900482178,
-0.3833714723587036,
0.06535285711288452,
-0.052968718111515045,
0.5696491599082947,
-0.1795664131641388,
-0.07455823570489883,
0.25496673583984375,
0.31500667333602905,
-0.09794158488512039,
0.35484302043914795,
0.05586898326873779,
0.3095130920410156,
-0.08157176524400711,
0.000463264063000679,
0.04741089046001434,
0.004592537879943848,
-0.06812835484743118,
0.11145688593387604,
-0.013172872364521027,
-0.052726998925209045,
0.05515813082456589,
-0.4011607766151428,
-0.007383144926279783,
-0.010297369211912155,
0.43675631284713745,
-0.05225876718759537,
0.12523780763149261,
0.3698028326034546,
0.16399146616458893,
-0.2450113594532013,
0.3837363123893738,
0.08435729146003723,
-0.20310093462467194,
-0.09002040326595306,
-0.08819487690925598,
0.1677810549736023,
0.011847211048007011,
-0.32710713148117065,
-0.05963530391454697,
-0.20101597905158997,
-0.0166265070438385,
0.2509130537509918,
-0.3957708477973938,
-0.07774518430233002,
0.031900133937597275,
-0.13641229271888733,
0.4327048361301422,
0.28416115045547485,
-0.5043089985847473,
-0.05650334805250168,
0.29015249013900757,
0.16334092617034912,
-0.07053682208061218,
0.12564152479171753,
-0.6502513289451599,
-0.6270549893379211,
-0.13687044382095337,
0.09905707836151123,
-0.2637414038181305,
0.08862271904945374,
-0.02915957197546959,
0.2422787994146347,
0.4181523323059082,
0.05428255349397659,
-0.1022128164768219,
0.24448852241039276,
0.15120261907577515,
-0.08597635477781296,
-0.11380316317081451,
-0.027925729751586914,
-0.35875603556632996,
0.3362167775630951,
0.18879911303520203,
-0.3905933201313019,
-0.09853127598762512,
-0.05435396730899811,
0.031697168946266174,
0.16507752239704132,
0.27097392082214355,
-0.12541039288043976,
0.3061957061290741,
-0.19864098727703094,
0.3753207325935364,
0.10430783033370972,
0.2584340572357178,
0.38526615500450134,
0.023850038647651672,
0.0999567061662674,
-0.388259619474411,
0.2922963798046112,
-0.029663950204849243,
-0.06529669463634491,
0.43162059783935547,
0.09881401807069778,
-0.03523743897676468,
0.17622855305671692,
0.45396432280540466,
0.9421875476837158,
0.1815689355134964,
0.0939524918794632,
0.389400839805603,
0.06557884067296982,
0.4724014401435852,
-0.2452002912759781,
0.02524997852742672,
-0.24047617614269257,
0.03704693913459778,
0.03845732659101486,
0.034358326345682144,
-0.07523345202207565,
-0.56529700756073,
-0.29351934790611267,
0.11414564400911331,
-0.37009942531585693,
-0.13235723972320557,
0.12893980741500854,
0.12022043764591217,
-0.11462756246328354,
0.12933003902435303,
0.15683570504188538,
0.21108409762382507,
-0.08663497865200043,
0.018409213051199913,
-0.3315809667110443,
-0.03335234150290489,
0.06158342584967613,
-0.32525360584259033,
-0.1648908108472824,
-0.2503531575202942,
0.036894477903842926,
-0.04327908158302307,
-0.13900719583034515,
0.07312744855880737,
-0.22771604359149933,
0.0002956762909889221,
0.45552003383636475,
0.27952682971954346,
-0.13126057386398315,
0.22165872156620026,
0.016988791525363922,
0.11930812150239944,
0.165348082780838,
0.19936004281044006,
0.13794420659542084,
-0.2874070107936859,
-0.11421357095241547,
-0.01656424254179001,
-0.04776891693472862,
-0.2996121048927307,
0.20283427834510803,
-0.09559527039527893,
-0.13746441900730133,
-0.01228008046746254,
0.05512009561061859,
0.2228490561246872,
0.01874593272805214,
-0.16163550317287445,
0.2054987996816635,
0.11699268221855164,
-0.17079663276672363,
0.08593537658452988,
0.12401492893695831,
-0.5543255805969238,
-0.2402900606393814,
-0.11267588287591934,
-0.016978934407234192,
-0.09597741067409515,
0.07400974631309509,
-0.4661961495876312,
-0.13856883347034454,
-0.03944135457277298,
-0.2594631612300873,
-0.26083770394325256,
-0.16629073023796082,
0.14217160642147064,
0.31627213954925537,
-0.08705547451972961,
0.20011332631111145,
0.6762202382087708,
0.2339535355567932,
0.23788753151893616,
-0.3338414430618286,
-0.1642535924911499,
-0.15455742180347443,
0.2144353836774826,
-0.32508477568626404,
0.3403489887714386,
-0.037057120352983475,
0.3277209997177124,
-0.012294288724660873,
0.12544937431812286,
-0.44855961203575134,
0.06652621179819107,
-0.15323396027088165,
0.17798484861850739,
-0.029810339212417603,
0.0417792908847332,
0.16285555064678192,
0.18514351546764374,
0.08791741728782654,
0.06492488086223602,
-0.3994811475276947,
-0.2318974733352661,
-0.4111405909061432,
0.13795499503612518,
-0.03443998470902443,
-0.15667420625686646,
-0.15759778022766113,
-0.19358491897583008,
-0.23685818910598755,
0.10673260688781738,
0.10314963757991791,
0.21443167328834534,
-0.16413429379463196,
0.22649416327476501,
0.01730414852499962,
0.18882136046886444,
0.3307168483734131,
-0.054219841957092285,
0.23176470398902893,
0.06293480843305588,
0.10440398752689362,
0.1511092483997345,
-0.36854174733161926,
0.003132566809654236,
0.2860523760318756,
0.1545041799545288,
0.33921605348587036,
0.18047508597373962,
0.014674201607704163,
0.1300104558467865,
0.20809587836265564,
-0.5353193283081055,
0.13493378460407257,
0.27069127559661865,
-0.13865308463573456,
-0.3565579950809479,
0.03840479999780655,
0.22904200851917267,
-0.22410982847213745,
0.0002568842319305986,
-0.4708726108074188,
0.17659713327884674,
0.018518496304750443,
0.26729485392570496,
0.24806538224220276,
0.11431939899921417,
0.2198619246482849,
-0.06473418325185776,
-0.055938638746738434,
-0.400969922542572,
0.03442614525556564,
0.1833336055278778,
-0.4914802014827728,
0.2908635139465332,
0.295213907957077,
-0.0377236045897007,
0.11389826238155365,
-0.17162524163722992,
-0.03407493978738785,
0.400765597820282,
-0.014622662216424942,
-0.10106420516967773,
-0.18270108103752136,
-0.10012690722942352,
0.42312413454055786,
-0.056861862540245056,
-0.07624801993370056,
-0.08101703971624374,
0.37109315395355225,
0.3090094029903412,
-0.18139582872390747,
-0.08207349479198456,
-0.15428809821605682,
0.13700707256793976,
-0.12182027846574783,
-0.0798695981502533,
0.10948444902896881,
-0.14904311299324036,
0.17471855878829956,
-0.08888699114322662,
0.12126895785331726,
0.047508809715509415,
0.06003963574767113,
-0.02590181678533554,
-0.048666343092918396,
0.0743509903550148,
-0.28247085213661194,
0.12699148058891296,
0.2995644509792328,
-0.01637417823076248,
-0.12809039652347565,
0.15143676102161407,
0.020885739475488663,
0.09773419797420502,
0.2653472423553467,
0.3052089214324951,
0.27242255210876465,
0.16581380367279053,
-0.23985138535499573,
0.059710703790187836,
0.19541126489639282,
0.017077185213565826,
0.17668579518795013,
0.4414048492908478,
-0.03448667749762535,
0.24075160920619965,
0.21660728752613068,
-0.3446877598762512,
0.44706907868385315,
-0.12263098359107971,
-0.14780081808567047,
-0.14338521659374237,
0.6702898740768433,
0.16531357169151306,
-0.14066341519355774,
-0.17116934061050415,
0.09318163245916367,
-0.25695809721946716,
0.16213616728782654,
0.16203781962394714,
0.1958077847957611,
-0.014759913086891174,
-0.3798667788505554,
0.13502223789691925,
0.22942818701267242,
0.24150586128234863,
0.1323474794626236,
0.21076157689094543,
-0.22867557406425476,
0.09747391939163208,
-0.4171437919139862,
0.29016050696372986,
0.05650009959936142,
0.03392252326011658,
0.06807112693786621,
-0.23088644444942474,
-0.003803439438343048,
0.036362528800964355,
0.15655945241451263,
0.10100526362657547,
0.10470418632030487,
-0.24344509840011597,
-0.24094825983047485,
-0.03887287154793739,
0.033293139189481735,
-0.16244001686573029,
-0.0800696313381195,
-0.19748666882514954,
-0.14285124838352203,
-0.5465090870857239,
0.25596025586128235,
-0.2707393169403076,
-0.057082485407590866,
0.4608944058418274,
0.42115697264671326,
0.3706515431404114,
-0.02367442660033703,
0.4174974858760834,
-0.08787214756011963,
0.0676405131816864,
0.15513156354427338,
0.09464485198259354,
-0.22715120017528534,
-0.07966155558824539,
-0.07462085783481598,
0.08768733590841293,
0.17217722535133362,
-0.41903141140937805,
-0.37825414538383484,
0.5551480054855347,
0.02908102422952652,
-0.1616029292345047,
-0.13804766535758972,
-0.03421376273036003,
-0.07035557925701141,
-0.1530541479587555,
-0.11762481182813644,
0.204755038022995,
0.12268958985805511,
0.11722883582115173,
-0.2885982096195221,
-0.1329771727323532,
0.7282555103302002,
-0.06809983402490616,
0.05566271021962166,
0.06412263959646225,
0.37830692529678345,
0.31616178154945374,
-0.22628627717494965,
-0.736332893371582,
0.0861031785607338,
0.2692394554615021,
0.14807426929473877,
-0.4924190938472748,
0.2718736529350281,
-0.41970425844192505,
0.024419572204351425,
-0.16848470270633698,
0.328447163105011,
-0.1339111328125,
-0.17811501026153564,
-0.06537815183401108,
-0.30078965425491333
] |
https://github.com/huggingface/datasets/pull/452 | Guardian authorship dataset | Hi ! Glad you managed to fix the version issue.
The command `
python nlp-cli dummy_data datasets/guardian_authorship --save_infos --all_configs` is supposed to generate a json file `dataset_infos.json` next to your dataset script, but I can't see it in the PR.
Can you make sure you have the json file on your side and that you have pushed it ? | A new dataset: Guardian news articles for authorship attribution
**tests passed:**
python nlp-cli dummy_data datasets/guardian_authorship --save_infos --all_configs
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_guardian_authorship
**Tests failed:**
Real data: RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_guardian_authorship
output: __init__() missing 3 required positional arguments: 'train_folder', 'valid_folder', and 'tes...'
Remarks: This is the init function of my class. I am not sure why it passes in both my tests and with nlp-cli, but fails here. By the way, I ran this command with another 2 datasets and they failed:
* _glue - OSError: Cannot find data file.
*_newsgroup - FileNotFoundError: Local file datasets/newsgroup/dummy/18828_comp.graphics/3.0.0/dummy_data.zip doesn't exist
Thank you for letting us contribute to such a huge and important library!
EDIT:
I was able to fix the dummy_data issue. This dataset has around 14 configurations. I was testing with only 2, but their versions were not in a sequence, they were V1.0.0 and V.12.0.0. It seems that the testing code generates testes for all the versions from 0 to MAX, and was testing for versions (and dummy_data.zip files) that do not exist. I fixed that by changing the versions to 1 and 2.
| 59 | text: Guardian authorship dataset
A new dataset: Guardian news articles for authorship attribution
**tests passed:**
python nlp-cli dummy_data datasets/guardian_authorship --save_infos --all_configs
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_guardian_authorship
**Tests failed:**
Real data: RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_guardian_authorship
output: __init__() missing 3 required positional arguments: 'train_folder', 'valid_folder', and 'tes...'
Remarks: This is the init function of my class. I am not sure why it passes in both my tests and with nlp-cli, but fails here. By the way, I ran this command with another 2 datasets and they failed:
* _glue - OSError: Cannot find data file.
*_newsgroup - FileNotFoundError: Local file datasets/newsgroup/dummy/18828_comp.graphics/3.0.0/dummy_data.zip doesn't exist
Thank you for letting us contribute to such a huge and important library!
EDIT:
I was able to fix the dummy_data issue. This dataset has around 14 configurations. I was testing with only 2, but their versions were not in a sequence, they were V1.0.0 and V.12.0.0. It seems that the testing code generates testes for all the versions from 0 to MAX, and was testing for versions (and dummy_data.zip files) that do not exist. I fixed that by changing the versions to 1 and 2.
Hi ! Glad you managed to fix the version issue.
The command `
python nlp-cli dummy_data datasets/guardian_authorship --save_infos --all_configs` is supposed to generate a json file `dataset_infos.json` next to your dataset script, but I can't see it in the PR.
Can you make sure you have the json file on your side and that you have pushed it ? | [
-0.07173045724630356,
0.19180473685264587,
0.049935031682252884,
0.05901409313082695,
0.17003989219665527,
0.17308896780014038,
0.161190003156662,
0.4080396890640259,
-0.1522916853427887,
-0.012958064675331116,
0.43592533469200134,
0.28264716267585754,
-0.1951771080493927,
-0.21990659832954407,
0.19407020509243011,
-0.1030876636505127,
-0.005268655717372894,
0.2750139832496643,
0.2690839171409607,
-0.21943804621696472,
-0.19515348970890045,
0.2842983603477478,
-0.08895216137170792,
-0.06079164147377014,
-0.19647781550884247,
-0.0842108428478241,
-0.401387482881546,
0.430578351020813,
-0.08748087286949158,
-0.4547818601131439,
0.24642600119113922,
0.05343078076839447,
0.05404724180698395,
0.2618224620819092,
-0.00012371724005788565,
0.05272717773914337,
0.3810383081436157,
-0.24948450922966003,
-0.5282293558120728,
-0.3524836301803589,
0.05626058578491211,
-0.3468654155731201,
0.16604968905448914,
-0.3746841251850128,
-0.1766403317451477,
-0.07910311222076416,
0.06477045267820358,
-0.18093980848789215,
0.368618905544281,
0.6918861269950867,
0.10066145658493042,
0.17054376006126404,
-0.3005668520927429,
-0.10926198214292526,
-0.17021426558494568,
0.3804905414581299,
-0.1786116659641266,
0.4554535746574402,
0.2312145233154297,
-0.2814575433731079,
0.2681925296783447,
-0.11930759251117706,
-0.0925658792257309,
0.09232550859451294,
0.16216911375522614,
-0.042503874748945236,
0.13099563121795654,
-0.1274799257516861,
-0.11882532387971878,
0.014661923050880432,
0.2250969409942627,
-0.4945851266384125,
-0.21794317662715912,
-0.10319942235946655,
0.20872467756271362,
-0.05829507112503052,
0.2611609101295471,
0.2116900235414505,
-0.27445074915885925,
0.0469537191092968,
-0.2614980638027191,
-0.04278239607810974,
-0.19901607930660248,
0.40420597791671753,
0.23290172219276428,
0.08483263850212097,
0.08915721625089645,
0.22790047526359558,
0.18622532486915588,
0.1692809909582138,
-0.06865491718053818,
-0.08981616050004959,
-0.1477833092212677,
0.20456662774085999,
0.05338253825902939,
-0.09203572571277618,
0.15640945732593536,
0.21476390957832336,
0.19920003414154053,
0.28587275743484497,
-0.09761510789394379,
-0.35100772976875305,
0.20166294276714325,
0.1962030529975891,
-0.10258926451206207,
0.2977209985256195,
0.3139533996582031,
0.5532770156860352,
-0.02448296546936035,
-0.03975444287061691,
-0.02546624466776848,
-0.028912216424942017,
-0.19386178255081177,
-0.24425391852855682,
0.08183780312538147,
0.10565845668315887,
0.31924790143966675,
-0.27816763520240784,
-0.20915587246418,
0.08252216875553131,
-0.36379629373550415,
0.04744967445731163,
-0.03568442910909653,
0.41247645020484924,
0.23002023994922638,
-0.040127985179424286,
0.3286048173904419,
0.36474359035491943,
-0.18566501140594482,
0.128151074051857,
-0.17557412385940552,
0.3390626907348633,
-0.20982849597930908,
0.1861601024866104,
0.48461833596229553,
0.015726683661341667,
0.4901246726512909,
-0.03652149811387062,
0.08923248201608658,
-0.17114806175231934,
0.41542965173721313,
-0.16216695308685303,
0.1149183064699173,
0.2999873161315918,
-0.11351816356182098,
0.18414807319641113,
0.24381977319717407,
-0.6070138812065125,
-0.26767826080322266,
0.28766050934791565,
-0.027461498975753784,
-0.5475336909294128,
0.11606685072183609,
0.048469867557287216,
-0.24013666808605194,
0.011495321989059448,
-0.01579960435628891,
0.13799037039279938,
0.14052964746952057,
-0.20107746124267578,
-0.03471315652132034,
-0.44396519660949707,
0.017822902649641037,
-0.014880028553307056,
0.135707825422287,
0.5806900262832642,
-0.4178389310836792,
-0.11817404627799988,
-0.05597933381795883,
0.22030077874660492,
0.13901403546333313,
-0.06295576691627502,
-0.2351050078868866,
0.3043249845504761,
-0.1666274219751358,
0.07627800107002258,
0.34632399678230286,
-0.502806544303894,
-0.13468396663665771,
0.23665831983089447,
-0.030908145010471344,
-0.2645336389541626,
0.10986737906932831,
-0.03803674131631851,
-0.12135018408298492,
-0.14890599250793457,
-0.44284096360206604,
0.35148686170578003,
-0.0005728919059038162,
0.16357481479644775,
-0.26710039377212524,
-0.03274703025817871,
0.38029396533966064,
0.31767737865448,
-0.11237785220146179,
0.027886871248483658,
-0.16087216138839722,
0.05692282319068909,
0.26420357823371887,
-0.08515958487987518,
0.0880402997136116,
0.43045151233673096,
0.20414651930332184,
-0.143592968583107,
0.026869066059589386,
0.26582691073417664,
-0.2973122000694275,
0.1637093424797058,
0.2797391712665558,
0.3462649881839752,
-0.2486499696969986,
-0.02488914132118225,
-0.37766918540000916,
-0.0158162172883749,
-0.16804605722427368,
-0.18787351250648499,
-0.06836284697055817,
0.51824951171875,
0.3059346377849579,
0.047091323882341385,
-0.11750224232673645,
0.07588374614715576,
-0.6381188631057739,
-0.04346521198749542,
-0.13910941779613495,
0.21320660412311554,
-0.2971852123737335,
-0.10369038581848145,
0.18737973272800446,
0.05702783912420273,
0.22231557965278625,
-0.2075439840555191,
-0.13903561234474182,
0.26547345519065857,
-0.0872211903333664,
-0.03412608802318573,
0.1465926170349121,
0.06673853099346161,
0.08382975310087204,
-0.2766231894493103,
-0.06054670363664627,
0.1934340000152588,
0.06987924873828888,
-0.1917802095413208,
-0.22432848811149597,
0.37316811084747314,
0.08298633247613907,
0.24719971418380737,
-0.09830041974782944,
-0.02595326118171215,
0.07783050090074539,
-0.24057604372501373,
-0.09172908961772919,
-0.06854338943958282,
0.39535853266716003,
0.25114595890045166,
0.5642975568771362,
-0.09452344477176666,
-0.18440498411655426,
0.042777564376592636,
0.24924737215042114,
-0.05925048887729645,
-0.09759189933538437,
0.16529911756515503,
0.007535956799983978,
-0.08009375631809235,
0.24667246639728546,
0.18709680438041687,
0.7656764984130859,
0.0027070476207882166,
-0.24199002981185913,
0.06571181863546371,
-0.3453235924243927,
-0.3199986517429352,
0.21763429045677185,
-0.20957668125629425,
-0.03212735429406166,
0.24421989917755127,
0.13151605427265167,
-0.07340928912162781,
-0.4586935341358185,
-0.2658133804798126,
0.27753427624702454,
0.4386836588382721,
-0.34353241324424744,
0.18284109234809875,
0.12258578836917877,
-0.07448747009038925,
-0.014972786419093609,
-0.22564835846424103,
0.005640573799610138,
-0.19515174627304077,
-0.00565771758556366,
-0.01004922017455101,
0.08327333629131317,
0.11174026131629944,
-0.016527347266674042,
0.38022762537002563,
-0.12172412872314453,
-0.473085880279541,
-0.36145952343940735,
-0.1352391242980957,
-0.4034610092639923,
-0.044636208564043045,
0.21755802631378174,
0.2542501986026764,
0.31204867362976074,
-0.1283479928970337,
-0.22431950271129608,
-0.13806015253067017,
-0.2597425878047943,
0.06827163696289062,
-0.20697136223316193,
0.6883305311203003,
-0.016824334859848022,
0.3578166365623474,
-0.03319646418094635,
-0.2180194854736328,
0.31446194648742676,
-0.026802843436598778,
-0.11105822771787643,
0.07696320116519928,
-0.10716452449560165,
-0.3375832438468933,
-0.329296737909317,
-0.6492159962654114,
-0.22542107105255127,
-0.23074504733085632,
0.17934313416481018,
0.25245702266693115,
0.13622835278511047,
0.4173239767551422,
0.15761645138263702,
-0.024902064353227615,
0.00010262196883559227,
0.3257356882095337,
-0.13315477967262268,
-0.28648996353149414,
0.17489071190357208,
-0.15638288855552673,
-0.33017489314079285,
-0.21996791660785675,
-0.07656840980052948,
0.09489604830741882,
-0.12835447490215302,
-0.47643446922302246,
-0.6725457906723022,
-0.0921877771615982,
0.21805107593536377,
-0.2937782406806946,
-0.1428583711385727,
0.46010538935661316,
-0.05669564753770828,
0.14327453076839447,
-0.26030153036117554,
-0.3154410123825073,
0.25112614035606384,
0.13647790253162384,
0.2138155698776245,
-0.016160592436790466,
0.27463844418525696,
-0.13420212268829346,
0.4014219641685486,
0.4751492440700531,
-0.32803407311439514,
0.10569310188293457,
-0.008099211379885674,
0.3292842507362366,
-0.026624619960784912,
-0.3010376989841461,
0.2916626036167145,
0.28380292654037476,
-0.22563540935516357,
0.16973340511322021,
0.027423713356256485,
-0.2345569133758545,
-0.02195131964981556,
0.5259040594100952,
-0.31336510181427,
-0.007432714104652405,
0.10191379487514496,
-0.026174500584602356,
0.26426100730895996,
0.0181540809571743,
0.08252906054258347,
-0.2514812648296356,
-0.09048708528280258,
0.02378956601023674,
0.5487541556358337,
0.1883898228406906,
0.20598208904266357,
-0.5412375330924988,
-0.27443602681159973,
-0.3928837478160858,
-0.06088636815547943,
0.10603591799736023,
0.4147229492664337,
-0.22787801921367645,
0.07032006233930588,
0.13881467282772064,
-0.03905588760972023,
0.1513257771730423,
-0.41304072737693787,
-0.06177463382482529,
0.5242347121238708,
0.09134742617607117,
-0.26728323101997375,
-0.16211329400539398,
-0.24346290528774261,
0.2231529802083969,
0.2387210726737976,
0.32351362705230713,
-0.23704874515533447,
-0.23230159282684326,
0.1333465576171875,
0.09687336534261703,
-0.06089570000767708,
-0.2993136942386627,
-0.16925129294395447,
-0.6057261228561401,
-0.35819223523139954,
0.0018789097666740417,
-0.05565353482961655,
0.0885031446814537,
-0.11666311323642731,
0.2981749475002289,
0.1442631483078003,
-0.042256131768226624,
0.15735779702663422,
0.19572967290878296,
0.18831071257591248,
0.08766573667526245,
0.024265684187412262,
0.10520946234464645,
0.06370143592357635,
0.1438693255186081,
0.45329993963241577,
-0.04763646051287651,
0.2312307506799698,
-0.006288446485996246,
-0.23008432984352112,
0.5312601327896118,
0.5128333568572998,
-0.01095197070389986,
-0.08907286077737808,
-0.45848873257637024,
-0.04782178997993469,
-0.35024288296699524,
0.20270498096942902,
0.37146538496017456,
-0.20026367902755737,
-0.03762120008468628,
-0.3494583070278168,
0.4041391611099243,
0.0435556061565876,
-0.1577586531639099,
0.42551636695861816,
-0.21042050421237946,
-0.309327632188797,
0.4010668396949768,
0.01194765418767929,
1.2333687543869019,
0.16203008592128754,
0.25528576970100403,
0.31818196177482605,
0.2703615427017212,
0.2274610698223114,
-0.027851099148392677,
0.13700231909751892,
-0.534192681312561,
-0.09698309004306793,
0.015372803434729576,
-0.26818135380744934,
0.010365188121795654,
0.23081612586975098,
-0.3987216353416443,
0.03549924120306969,
-0.053919218480587006,
-0.0011614710092544556,
0.21629558503627777,
0.40350162982940674,
-0.1008705422282219,
-0.019858285784721375,
-0.2529646158218384,
0.12017329037189484,
0.10911233723163605,
0.13726645708084106,
-0.21249806880950928,
-0.0022835638374090195,
-0.2750873863697052,
-0.02024896815419197,
-0.24124152958393097,
0.14299720525741577,
-0.28467175364494324,
0.10832434147596359,
0.20134849846363068,
-0.3290292024612427,
0.16452856361865997,
0.14571724832057953,
0.33808666467666626,
0.2915351688861847,
-0.262367844581604,
0.19987109303474426,
-0.12209800630807877,
-0.14418509602546692,
0.1666317880153656,
-0.1259540170431137,
0.2890908420085907,
-0.03896999731659889,
-0.12773951888084412,
-0.04611836373806,
-0.4553190767765045,
-0.3588252067565918,
-0.31049007177352905,
-0.2523231506347656,
-0.004013273864984512,
-0.3012579083442688,
-0.4492395520210266,
0.10575219988822937,
-0.22869530320167542,
-0.10693550109863281,
0.061181824654340744,
0.10996143519878387,
-0.029643679037690163,
0.08045638352632523,
-0.01416364312171936,
-0.20543205738067627,
0.04161152243614197,
-0.08140695840120316,
-0.08350519090890884,
0.16645880043506622,
0.7155972719192505,
0.01842149719595909,
0.270399808883667,
-0.20869892835617065,
-0.05100417137145996,
0.07364761829376221,
-0.2246456742286682,
0.14333604276180267,
0.18391883373260498,
-0.10000667721033096,
0.21145376563072205,
0.3686448335647583,
0.24374891817569733,
0.1210649162530899,
0.031246419996023178,
-0.5270166397094727,
-0.11491277813911438,
-0.021429695188999176,
0.007165133953094482,
0.1741042137145996,
-0.18407288193702698,
0.38480430841445923,
0.18092916905879974,
0.0708589106798172,
-0.2499081939458847,
-0.10386644303798676,
-0.3985915184020996,
0.25725382566452026,
0.3654564619064331,
0.0564441978931427,
0.16522687673568726,
0.007198498584330082,
-0.05121716111898422,
0.07496683299541473,
-0.16478285193443298,
-0.09738773852586746,
-0.23245836794376373,
0.22693416476249695,
0.3358136713504791,
0.05326675623655319,
0.0637628510594368,
-0.22873032093048096,
-0.010739579796791077,
-0.02225770428776741,
-0.18232810497283936,
-0.1977216899394989,
-0.08710618317127228,
0.34879547357559204,
0.04695756733417511,
0.03755488991737366,
-0.07907989621162415,
-0.13610880076885223,
-0.26045358180999756,
0.19276854395866394,
-0.0389118567109108,
0.21860571205615997,
0.17050711810588837,
-0.01887870952486992,
-0.3302895128726959,
0.27626127004623413,
-0.05819252133369446,
0.3519376218318939,
0.17782887816429138,
-0.027822628617286682,
0.1621653139591217,
-0.15041981637477875,
0.21814383566379547,
0.5118472576141357,
-0.3861505091190338,
0.27487632632255554,
0.005684308707714081,
0.11023183166980743,
-0.18536943197250366,
0.01322911586612463,
-0.08607067167758942,
-0.04908129200339317,
0.02701558545231819,
0.17795567214488983,
0.15024100244045258,
-0.28301650285720825,
0.01975221186876297,
-0.07807612419128418,
0.23482264578342438,
-0.3252020478248596,
-0.22841797769069672,
0.1292976588010788,
-0.1829622983932495,
-0.054389018565416336,
0.2846857011318207,
-0.08796891570091248,
0.10894697904586792,
-0.06984135508537292,
0.03008897602558136,
0.3455740511417389,
0.23596322536468506,
0.09079980850219727,
-0.04765535145998001,
0.0010919645428657532,
0.25599437952041626,
0.10944835841655731,
0.16796568036079407,
-0.031235069036483765,
0.015936337411403656,
0.8696638345718384,
-0.38729649782180786,
-0.1871027797460556,
-0.15530343353748322,
0.03235247731208801,
-0.04653513431549072,
-0.05818460136651993,
-0.6161136031150818,
-0.006797425448894501,
-0.4789208471775055,
-0.11711141467094421,
-0.08474172651767731,
-0.0833127349615097,
0.2920328974723816,
0.14522573351860046,
-0.18444330990314484,
-0.4394710958003998,
0.038499943912029266,
0.2830508053302765,
0.06292470544576645,
-0.387898713350296,
0.45244649052619934,
0.15401965379714966,
-0.23001495003700256,
-0.06862132251262665,
0.3265698254108429,
0.6937118172645569,
0.2772137522697449,
0.036217086017131805,
-0.06632497161626816,
-0.1936243623495102,
-0.047141820192337036,
0.135919988155365,
0.4170365333557129,
0.21092545986175537,
-0.11833623051643372,
0.22189892828464508,
0.08514874428510666,
-0.054937656968832016,
0.14571277797222137,
0.15425999462604523,
-0.18774506449699402,
-0.20555788278579712,
0.5201923251152039,
0.02328883484005928,
-0.30994874238967896,
-0.26154208183288574,
0.10657042264938354,
-0.28215155005455017,
0.17886832356452942,
0.5161811113357544,
0.28261798620224,
0.13810056447982788,
-0.1855165809392929,
0.028992224484682083,
0.0629982203245163,
0.301742285490036,
0.5124397873878479,
-0.07411106675863266,
-0.5605831146240234,
-0.5673846006393433,
-0.5244814157485962,
0.18212664127349854,
-0.11895953118801117,
-0.21052445471286774,
0.028235437348484993,
0.2379368096590042,
0.20031675696372986,
0.015532409772276878,
-0.3634205460548401,
0.3780096471309662,
-0.13021956384181976,
-0.061511844396591187,
-0.5150269865989685,
-0.12093375623226166,
-0.1632978618144989,
0.11496321111917496,
-0.04817986488342285,
-0.30393004417419434,
-0.17694684863090515,
-0.2110164761543274,
-0.020981181412935257,
-0.12804384529590607,
-0.10604189336299896,
0.2971038520336151,
0.365325003862381,
0.31061673164367676,
0.11604331433773041,
0.6337554454803467,
0.022689033299684525,
-0.14955869317054749,
-0.14839965105056763,
-0.18024751543998718,
-0.23702365159988403,
0.2532530725002289,
-0.17721067368984222,
0.5543428659439087,
-0.13875627517700195,
0.1058269590139389,
-0.27411121129989624,
-0.1034376472234726,
-0.0031448490917682648,
-0.3456936776638031,
-0.2840114235877991,
0.08942034095525742,
-0.3533635437488556,
0.3470104932785034,
0.21479275822639465,
0.31196457147598267,
-0.1183432936668396,
0.20289766788482666,
-0.35050469636917114,
-0.3913169205188751,
0.5193189382553101,
-0.2565729320049286,
-0.20753361284732819,
0.2689626216888428,
0.23678608238697052,
-0.28173378109931946,
0.1667327880859375,
-0.2971312701702118,
-0.08849082142114639,
0.32670074701309204,
-0.015516102313995361,
-0.2832271158695221,
0.38801607489585876,
0.2654430568218231,
0.21632076799869537,
0.057798366993665695,
0.25200963020324707,
0.06346975266933441,
-0.15930858254432678,
0.034986432641744614,
-0.1722211092710495
] |
https://github.com/huggingface/datasets/pull/452 | Guardian authorship dataset | Is there anything else that I should do? and would the new dataset be available via the NLP package now? | A new dataset: Guardian news articles for authorship attribution
**tests passed:**
python nlp-cli dummy_data datasets/guardian_authorship --save_infos --all_configs
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_guardian_authorship
**Tests failed:**
Real data: RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_guardian_authorship
output: __init__() missing 3 required positional arguments: 'train_folder', 'valid_folder', and 'tes...'
Remarks: This is the init function of my class. I am not sure why it passes in both my tests and with nlp-cli, but fails here. By the way, I ran this command with another 2 datasets and they failed:
* _glue - OSError: Cannot find data file.
*_newsgroup - FileNotFoundError: Local file datasets/newsgroup/dummy/18828_comp.graphics/3.0.0/dummy_data.zip doesn't exist
Thank you for letting us contribute to such a huge and important library!
EDIT:
I was able to fix the dummy_data issue. This dataset has around 14 configurations. I was testing with only 2, but their versions were not in a sequence, they were V1.0.0 and V.12.0.0. It seems that the testing code generates testes for all the versions from 0 to MAX, and was testing for versions (and dummy_data.zip files) that do not exist. I fixed that by changing the versions to 1 and 2.
| 20 | text: Guardian authorship dataset
A new dataset: Guardian news articles for authorship attribution
**tests passed:**
python nlp-cli dummy_data datasets/guardian_authorship --save_infos --all_configs
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_guardian_authorship
**Tests failed:**
Real data: RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_guardian_authorship
output: __init__() missing 3 required positional arguments: 'train_folder', 'valid_folder', and 'tes...'
Remarks: This is the init function of my class. I am not sure why it passes in both my tests and with nlp-cli, but fails here. By the way, I ran this command with another 2 datasets and they failed:
* _glue - OSError: Cannot find data file.
*_newsgroup - FileNotFoundError: Local file datasets/newsgroup/dummy/18828_comp.graphics/3.0.0/dummy_data.zip doesn't exist
Thank you for letting us contribute to such a huge and important library!
EDIT:
I was able to fix the dummy_data issue. This dataset has around 14 configurations. I was testing with only 2, but their versions were not in a sequence, they were V1.0.0 and V.12.0.0. It seems that the testing code generates testes for all the versions from 0 to MAX, and was testing for versions (and dummy_data.zip files) that do not exist. I fixed that by changing the versions to 1 and 2.
Is there anything else that I should do? and would the new dataset be available via the NLP package now? | [
-0.06916725635528564,
0.2084459662437439,
0.06632819771766663,
0.04073011875152588,
0.04176108539104462,
0.19143635034561157,
0.10518389940261841,
0.3547089993953705,
-0.18567273020744324,
-0.10061918199062347,
0.3384050130844116,
0.18408262729644775,
-0.2881340980529785,
-0.2339489758014679,
0.27150022983551025,
-0.13567903637886047,
0.005762912333011627,
0.2848920226097107,
0.2606707811355591,
-0.3156416416168213,
-0.2104569673538208,
0.2371625006198883,
-0.12481605261564255,
-0.0805949866771698,
-0.23140479624271393,
-0.1018385961651802,
-0.48988083004951477,
0.4444054067134857,
-0.08442836999893188,
-0.46778109669685364,
0.3086300492286682,
0.047151897102594376,
0.035320356488227844,
0.26689550280570984,
-0.00012706860434263945,
0.005181603133678436,
0.37639254331588745,
-0.24794848263263702,
-0.4783968925476074,
-0.31565701961517334,
0.07586690783500671,
-0.46550291776657104,
0.1593320667743683,
-0.2994100749492645,
-0.15588292479515076,
-0.07163214683532715,
0.0637124627828598,
-0.15500015020370483,
0.26497116684913635,
0.7150231003761292,
0.08561625331640244,
0.08406942337751389,
-0.34280821681022644,
-0.1275356262922287,
-0.13391542434692383,
0.35866469144821167,
-0.13191254436969757,
0.4709617793560028,
0.2723868489265442,
-0.2348669022321701,
0.24165815114974976,
-0.1830516755580902,
-0.10249362140893936,
0.08826248347759247,
0.14013046026229858,
-0.012188536114990711,
0.06583216786384583,
-0.08215856552124023,
-0.220780611038208,
0.06967847794294357,
0.18060851097106934,
-0.40736913681030273,
-0.2609805166721344,
-0.18980908393859863,
0.2675551474094391,
-0.1327051818370819,
0.2714405357837677,
0.13869045674800873,
-0.2544240653514862,
0.052179113030433655,
-0.21898868680000305,
-0.16782039403915405,
-0.16732701659202576,
0.49460238218307495,
0.25500065088272095,
0.12396851181983948,
0.16537857055664062,
0.22376394271850586,
0.17445316910743713,
0.2460194081068039,
-0.09151078015565872,
0.035998329520225525,
-0.11347660422325134,
0.2614055573940277,
0.05678541958332062,
-0.08701085299253464,
0.14070263504981995,
0.2897629737854004,
0.16975721716880798,
0.21539372205734253,
-0.16234692931175232,
-0.3388872444629669,
0.08057801425457001,
0.17135922610759735,
-0.1663934588432312,
0.22755371034145355,
0.17524585127830505,
0.4767824709415436,
-0.08241304755210876,
-0.11221329867839813,
-0.028040442615747452,
-0.04016643017530441,
-0.19582431018352509,
-0.21968568861484528,
0.037447843700647354,
0.08015988767147064,
0.29827189445495605,
-0.2687090337276459,
-0.18164753913879395,
0.046736735850572586,
-0.3045167326927185,
0.012695126235485077,
-0.03522876277565956,
0.3353182077407837,
0.24178728461265564,
-0.026494000107049942,
0.2602614760398865,
0.34107571840286255,
-0.23285192251205444,
0.03762435168027878,
-0.16349662840366364,
0.3147009313106537,
-0.24479852616786957,
0.2075096070766449,
0.42542755603790283,
-0.012085963040590286,
0.4130781292915344,
-0.017124149948358536,
0.0858566090464592,
-0.057383324950933456,
0.341810017824173,
-0.17689166963100433,
0.15156090259552002,
0.2734144330024719,
-0.18468528985977173,
0.24032603204250336,
0.20087280869483948,
-0.5028843283653259,
-0.26604920625686646,
0.25659698247909546,
-0.0670781210064888,
-0.5724354386329651,
0.009864915162324905,
0.021695677191019058,
-0.2885851263999939,
-0.0675610601902008,
0.023996852338314056,
0.1920037716627121,
0.03223126381635666,
-0.2891123592853546,
-0.05259227007627487,
-0.41713982820510864,
-0.00486394390463829,
0.03251570835709572,
0.03294069319963455,
0.571201503276825,
-0.37235674262046814,
-0.13142621517181396,
-0.1155124381184578,
0.3055150806903839,
0.19699591398239136,
-0.038860928267240524,
-0.2709942162036896,
0.2712920904159546,
-0.18042343854904175,
0.030790388584136963,
0.3703573942184448,
-0.39827612042427063,
-0.1445607990026474,
0.1871701180934906,
-0.06693033128976822,
-0.23308910429477692,
0.09480207413434982,
0.014609120786190033,
-0.15138906240463257,
-0.2063142955303192,
-0.46664711833000183,
0.3076830506324768,
-0.06213401257991791,
0.051356345415115356,
-0.3046448528766632,
-0.07338852435350418,
0.49355554580688477,
0.3110868036746979,
-0.015044238418340683,
0.051373448222875595,
-0.171963632106781,
0.1314566284418106,
0.2287309169769287,
0.009168319404125214,
0.03186701238155365,
0.3749842047691345,
0.3035558760166168,
-0.11329972743988037,
0.014334769919514656,
0.19945701956748962,
-0.21583133935928345,
0.18091797828674316,
0.24063363671302795,
0.4357396364212036,
-0.12070877850055695,
0.018648352473974228,
-0.4107142388820648,
-0.04759422317147255,
-0.130234494805336,
-0.19978493452072144,
-0.11730824410915375,
0.5385943651199341,
0.31569579243659973,
0.055894885212183,
-0.1803196668624878,
0.09095863252878189,
-0.6325358748435974,
-0.016260886564850807,
-0.014762917533516884,
0.18842768669128418,
-0.27481305599212646,
-0.05928536504507065,
0.09869402647018433,
0.10003447532653809,
0.24285852909088135,
-0.2292252629995346,
-0.06763208657503128,
0.26820918917655945,
-0.14707568287849426,
-0.030558601021766663,
0.1340739130973816,
-0.01017431914806366,
0.2086714506149292,
-0.308173269033432,
-0.11540330201387405,
0.1481337696313858,
0.03172242268919945,
-0.18178875744342804,
-0.09270552545785904,
0.3040972352027893,
0.038545072078704834,
0.22989556193351746,
-0.088388592004776,
-0.027985595166683197,
0.10459326207637787,
-0.28102654218673706,
-0.020803365856409073,
-0.008426833897829056,
0.4272203743457794,
0.20135770738124847,
0.6188730001449585,
-0.08700108528137207,
-0.1766672432422638,
-0.0014354139566421509,
0.16752120852470398,
-0.028647635132074356,
-0.09618053585290909,
0.206759512424469,
0.008169211447238922,
-0.0915232002735138,
0.29442867636680603,
0.23890335857868195,
0.7670063376426697,
0.026295695453882217,
-0.15909528732299805,
0.06896105408668518,
-0.3987295627593994,
-0.33874624967575073,
0.15476588904857635,
-0.19874976575374603,
-0.038995400071144104,
0.28680241107940674,
0.12910038232803345,
0.016245370730757713,
-0.46944835782051086,
-0.20882174372673035,
0.3682554066181183,
0.430033802986145,
-0.3054989278316498,
0.11592603474855423,
0.1502026468515396,
-0.15547224879264832,
-0.13057208061218262,
-0.26106393337249756,
0.03303871303796768,
-0.1986236423254013,
0.02462286502122879,
-0.059611912816762924,
0.09063343703746796,
0.10630674660205841,
-0.1033535748720169,
0.33068299293518066,
-0.21128490567207336,
-0.45402583479881287,
-0.33695194125175476,
-0.05537530034780502,
-0.41865330934524536,
-0.03715694695711136,
0.20686320960521698,
0.2551526427268982,
0.2918793261051178,
-0.05229803919792175,
-0.1885025054216385,
-0.1393500715494156,
-0.2979867160320282,
0.03523414582014084,
-0.12992872297763824,
0.6786984801292419,
-0.04683183133602142,
0.2647809386253357,
0.02895370125770569,
-0.28580111265182495,
0.28710493445396423,
-0.13996966183185577,
-0.06479430943727493,
0.09091349691152573,
-0.1472080796957016,
-0.24739593267440796,
-0.30273720622062683,
-0.6534801721572876,
-0.31358909606933594,
-0.21324937045574188,
0.057488806545734406,
0.21717478334903717,
0.06852264702320099,
0.4923083186149597,
0.05636598542332649,
0.012378190644085407,
0.012594757601618767,
0.27024221420288086,
-0.12287669628858566,
-0.18897254765033722,
0.15577605366706848,
-0.1052560806274414,
-0.3191000521183014,
-0.3008551299571991,
-0.18142680823802948,
0.09725402295589447,
-0.020684590563178062,
-0.47455835342407227,
-0.620895504951477,
-0.10094763338565826,
0.18359166383743286,
-0.2941339313983917,
-0.15472452342510223,
0.5000100135803223,
-0.08165394514799118,
0.17139078676700592,
-0.23673281073570251,
-0.2038668394088745,
0.21415093541145325,
0.22426491975784302,
0.22561165690422058,
-0.03865697979927063,
0.23845121264457703,
-0.08706552535295486,
0.4340781569480896,
0.4176451861858368,
-0.28675195574760437,
0.23819194734096527,
0.0010740738362073898,
0.40978875756263733,
-0.008920922875404358,
-0.3773252069950104,
0.2924342155456543,
0.29040202498435974,
-0.22341342270374298,
0.11470675468444824,
0.03259957581758499,
-0.23981724679470062,
-0.022136757150292397,
0.5362401604652405,
-0.2827068567276001,
0.04120202735066414,
0.1528124362230301,
-0.05232193320989609,
0.33339568972587585,
0.0875805914402008,
0.009128019213676453,
-0.2334214150905609,
-0.18240433931350708,
0.005897903814911842,
0.48092031478881836,
0.19973649084568024,
0.22093906998634338,
-0.5598323941230774,
-0.25185662508010864,
-0.3894256055355072,
-0.09202346205711365,
0.21629303693771362,
0.46132349967956543,
-0.21429355442523956,
0.026317887008190155,
0.1759357452392578,
0.07061183452606201,
0.11030393838882446,
-0.3881697356700897,
-0.12805113196372986,
0.5508241653442383,
0.1213449090719223,
-0.3149510324001312,
-0.12397332489490509,
-0.27806729078292847,
0.22583633661270142,
0.25815340876579285,
0.2777159810066223,
-0.19090718030929565,
-0.1473994106054306,
0.18701498210430145,
0.16919192671775818,
-0.04453936964273453,
-0.2080041766166687,
-0.13833610713481903,
-0.6217016577720642,
-0.3029935657978058,
-0.04863186925649643,
-0.12923181056976318,
0.10803467035293579,
-0.11078932136297226,
0.3273302912712097,
0.0774385929107666,
-0.020913876593112946,
0.2620050311088562,
0.10241638123989105,
0.15712207555770874,
0.18292908370494843,
-0.015537705272436142,
0.12686266005039215,
0.08050203323364258,
0.0391082689166069,
0.5169050693511963,
-0.10922445356845856,
0.3113967776298523,
-0.016248248517513275,
-0.21274185180664062,
0.6172777414321899,
0.5681977272033691,
0.0469924658536911,
-0.013879433274269104,
-0.513981819152832,
-0.1446884572505951,
-0.412318617105484,
0.3379775285720825,
0.32737767696380615,
-0.15505164861679077,
-0.08984432369470596,
-0.30307015776634216,
0.38964012265205383,
-0.008055766113102436,
-0.20369893312454224,
0.45416370034217834,
-0.07943381369113922,
-0.3217236399650574,
0.36306387186050415,
-0.02755824476480484,
1.2388941049575806,
0.11393864452838898,
0.2707645893096924,
0.25367629528045654,
0.34624403715133667,
0.27064093947410583,
0.1359543800354004,
0.13915523886680603,
-0.3992709219455719,
-0.07619297504425049,
0.007367147132754326,
-0.2549043297767639,
-0.016796745359897614,
0.18300063908100128,
-0.28486329317092896,
0.07497391104698181,
0.060617297887802124,
0.03169115260243416,
0.26782411336898804,
0.45404553413391113,
-0.0340157151222229,
0.0032849591225385666,
-0.206670880317688,
0.08587894588708878,
0.07541774213314056,
0.2020961493253708,
-0.25883251428604126,
0.02723671868443489,
-0.2879083752632141,
0.03306766599416733,
-0.23606495559215546,
0.05203571915626526,
-0.3017975986003876,
0.13574686646461487,
0.1579531580209732,
-0.4302460551261902,
0.14492562413215637,
0.10673060268163681,
0.31473833322525024,
0.2327306568622589,
-0.25096988677978516,
0.15933659672737122,
-0.19395765662193298,
-0.16875237226486206,
0.280173122882843,
-0.12855927646160126,
0.3493794798851013,
-0.0031498633325099945,
-0.07728706300258636,
-0.0026989728212356567,
-0.40720242261886597,
-0.37305283546447754,
-0.3296997845172882,
-0.24649687111377716,
0.1474362313747406,
-0.3364697992801666,
-0.48277661204338074,
0.17162206768989563,
-0.21769675612449646,
-0.07963141798973083,
0.023308802396059036,
0.13650614023208618,
-0.02640547789633274,
0.015384148806333542,
-0.018717940896749496,
-0.19475871324539185,
0.031558964401483536,
-0.10800570994615555,
-0.007128644734621048,
0.11025683581829071,
0.7466320991516113,
-0.059755995869636536,
0.32447266578674316,
-0.1167273074388504,
-0.014713071286678314,
0.06951501965522766,
-0.30103328824043274,
0.07942158728837967,
0.16261133551597595,
-0.07376566529273987,
0.22694413363933563,
0.2887971103191376,
0.31661123037338257,
0.12486913800239563,
-0.0032150931656360626,
-0.45940274000167847,
-0.08894208818674088,
0.010739028453826904,
-0.008081693202257156,
0.15569399297237396,
-0.22926515340805054,
0.40659329295158386,
0.2017085701227188,
0.11968634277582169,
-0.20594468712806702,
-0.012314550578594208,
-0.3683570325374603,
0.27041226625442505,
0.3390358090400696,
0.09348852932453156,
0.1251818984746933,
-0.047611963003873825,
-0.07287044823169708,
0.045110058039426804,
-0.0383387990295887,
-0.05753488838672638,
-0.23494920134544373,
0.2452867031097412,
0.35198232531547546,
0.039410851895809174,
0.08720472455024719,
-0.290229856967926,
0.027201402932405472,
0.04739132151007652,
-0.2535514235496521,
-0.2784174680709839,
-0.09694306552410126,
0.4132492244243622,
0.16167928278446198,
-0.0033756792545318604,
-0.14296630024909973,
-0.0640520304441452,
-0.293298602104187,
0.1714560091495514,
-0.03662794083356857,
0.21400679647922516,
0.27018144726753235,
0.0485430508852005,
-0.2731250822544098,
0.2628576159477234,
-0.021346747875213623,
0.2799716293811798,
0.15427696704864502,
-0.039488017559051514,
0.24086716771125793,
-0.0724261924624443,
0.21167148649692535,
0.41077056527137756,
-0.2992030382156372,
0.26201727986335754,
0.05464515462517738,
0.08915837854146957,
-0.30317065119743347,
0.04505502060055733,
-0.04790704324841499,
-0.022288471460342407,
0.03794438764452934,
0.16117174923419952,
0.21518629789352417,
-0.2951767146587372,
0.07877980917692184,
-0.06143849343061447,
0.132782980799675,
-0.309312641620636,
-0.19347326457500458,
0.12622672319412231,
-0.12917017936706543,
-0.05000751093029976,
0.30094391107559204,
-0.09135973453521729,
0.009959481656551361,
0.017323043197393417,
0.03816403076052666,
0.42221012711524963,
0.1619928777217865,
0.07659045606851578,
0.05658799782395363,
-0.0318913608789444,
0.16312097012996674,
0.15389017760753632,
0.3182813823223114,
0.017170116305351257,
-0.04643109440803528,
0.9378372430801392,
-0.4255358874797821,
-0.25584176182746887,
-0.05330287665128708,
-0.016168277710676193,
-0.0739838033914566,
-0.008642180822789669,
-0.4918910562992096,
0.00010278075933456421,
-0.48837748169898987,
-0.14390155673027039,
-0.07135128974914551,
-0.15653911232948303,
0.3165281414985657,
0.1352013498544693,
-0.1784127801656723,
-0.5050798058509827,
-0.02901160717010498,
0.31028980016708374,
0.05690216273069382,
-0.38046813011169434,
0.483537495136261,
0.20392996072769165,
-0.2723546326160431,
0.05203471705317497,
0.3982437252998352,
0.6101910471916199,
0.18680284917354584,
0.0003765299916267395,
0.008497729897499084,
-0.17638283967971802,
-0.024379074573516846,
0.09334462881088257,
0.41334229707717896,
0.2631836533546448,
-0.022096075117588043,
0.18278591334819794,
0.04477055370807648,
-0.039752986282110214,
0.16679954528808594,
0.140913188457489,
-0.23377937078475952,
-0.32402926683425903,
0.6061364412307739,
0.05012451857328415,
-0.31476208567619324,
-0.32324618101119995,
0.15656504034996033,
-0.22612062096595764,
0.2146959900856018,
0.5584918260574341,
0.17306183278560638,
0.08365347236394882,
-0.11996765434741974,
-0.0035841278731822968,
0.09979598224163055,
0.22680498659610748,
0.5468262434005737,
0.01816108450293541,
-0.5587837100028992,
-0.6218127608299255,
-0.647900402545929,
0.2360479235649109,
-0.12236645817756653,
-0.17072351276874542,
0.03280128538608551,
0.19260764122009277,
0.26038670539855957,
-0.013037964701652527,
-0.41128218173980713,
0.38960257172584534,
-0.13041582703590393,
-0.19106245040893555,
-0.49487999081611633,
-0.1441224068403244,
-0.20425976812839508,
0.10164173692464828,
-0.12112146615982056,
-0.249681293964386,
-0.13548190891742706,
-0.24676863849163055,
-0.06704618781805038,
-0.09106208384037018,
-0.15581321716308594,
0.2808937132358551,
0.4252619445323944,
0.22653506696224213,
0.15022815763950348,
0.659522294998169,
0.07699315994977951,
-0.1431695967912674,
-0.14628709852695465,
-0.21910716593265533,
-0.27094534039497375,
0.19515499472618103,
-0.24757114052772522,
0.541307806968689,
-0.17232060432434082,
0.13478446006774902,
-0.20213636755943298,
-0.11868015676736832,
0.024712592363357544,
-0.2476627677679062,
-0.3459363579750061,
0.12363804131746292,
-0.405280739068985,
0.30256012082099915,
0.27751585841178894,
0.4254741668701172,
-0.06393737345933914,
0.1844525933265686,
-0.3234325051307678,
-0.38603511452674866,
0.4565601944923401,
-0.30259713530540466,
-0.16443341970443726,
0.2072770744562149,
0.21810123324394226,
-0.2079036831855774,
0.1677362024784088,
-0.3153248727321625,
-0.21517053246498108,
0.3637649118900299,
0.017382245510816574,
-0.19746306538581848,
0.3836078345775604,
0.35416534543037415,
0.14336062967777252,
0.08106650412082672,
0.28235477209091187,
0.02787606231868267,
-0.16374993324279785,
0.05447153374552727,
-0.1515991985797882
] |
https://github.com/huggingface/datasets/pull/452 | Guardian authorship dataset | No worries, this is my first contribution to an online package, and I feel very proud it's part of this library :) Thank you very much! | A new dataset: Guardian news articles for authorship attribution
**tests passed:**
python nlp-cli dummy_data datasets/guardian_authorship --save_infos --all_configs
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_guardian_authorship
**Tests failed:**
Real data: RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_guardian_authorship
output: __init__() missing 3 required positional arguments: 'train_folder', 'valid_folder', and 'tes...'
Remarks: This is the init function of my class. I am not sure why it passes in both my tests and with nlp-cli, but fails here. By the way, I ran this command with another 2 datasets and they failed:
* _glue - OSError: Cannot find data file.
*_newsgroup - FileNotFoundError: Local file datasets/newsgroup/dummy/18828_comp.graphics/3.0.0/dummy_data.zip doesn't exist
Thank you for letting us contribute to such a huge and important library!
EDIT:
I was able to fix the dummy_data issue. This dataset has around 14 configurations. I was testing with only 2, but their versions were not in a sequence, they were V1.0.0 and V.12.0.0. It seems that the testing code generates testes for all the versions from 0 to MAX, and was testing for versions (and dummy_data.zip files) that do not exist. I fixed that by changing the versions to 1 and 2.
| 26 | text: Guardian authorship dataset
A new dataset: Guardian news articles for authorship attribution
**tests passed:**
python nlp-cli dummy_data datasets/guardian_authorship --save_infos --all_configs
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_guardian_authorship
**Tests failed:**
Real data: RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_guardian_authorship
output: __init__() missing 3 required positional arguments: 'train_folder', 'valid_folder', and 'tes...'
Remarks: This is the init function of my class. I am not sure why it passes in both my tests and with nlp-cli, but fails here. By the way, I ran this command with another 2 datasets and they failed:
* _glue - OSError: Cannot find data file.
*_newsgroup - FileNotFoundError: Local file datasets/newsgroup/dummy/18828_comp.graphics/3.0.0/dummy_data.zip doesn't exist
Thank you for letting us contribute to such a huge and important library!
EDIT:
I was able to fix the dummy_data issue. This dataset has around 14 configurations. I was testing with only 2, but their versions were not in a sequence, they were V1.0.0 and V.12.0.0. It seems that the testing code generates testes for all the versions from 0 to MAX, and was testing for versions (and dummy_data.zip files) that do not exist. I fixed that by changing the versions to 1 and 2.
No worries, this is my first contribution to an online package, and I feel very proud it's part of this library :) Thank you very much! | [
-0.057915784418582916,
0.17443493008613586,
0.04085967317223549,
0.0727134495973587,
0.13865965604782104,
0.17242079973220825,
0.2572936713695526,
0.34374016523361206,
-0.1729186624288559,
-0.02488674223423004,
0.3417566120624542,
0.17272579669952393,
-0.21958941221237183,
-0.21293102204799652,
0.2689479887485504,
-0.1744377166032791,
0.023366324603557587,
0.2867819368839264,
0.18188808858394623,
-0.325816810131073,
-0.11911793798208237,
0.2806510031223297,
-0.22182494401931763,
-0.07347975671291351,
-0.17474257946014404,
0.0027903150767087936,
-0.4907032251358032,
0.42376983165740967,
-0.07547152042388916,
-0.3681181073188782,
0.34629109501838684,
0.03749915584921837,
-0.04097050428390503,
0.2932022511959076,
-0.0001263983576791361,
0.0111469104886055,
0.3177717924118042,
-0.24246591329574585,
-0.5469469428062439,
-0.3259902000427246,
0.09060514718294144,
-0.40754976868629456,
0.1769176423549652,
-0.3517419695854187,
-0.15897831320762634,
-0.033023010939359665,
0.02868032082915306,
-0.16464075446128845,
0.27696871757507324,
0.6848475933074951,
0.08931122720241547,
0.13341018557548523,
-0.3306311070919037,
-0.12144487351179123,
-0.07859935611486435,
0.43504273891448975,
-0.21926558017730713,
0.5194745659828186,
0.28961220383644104,
-0.2599591016769409,
0.2388448715209961,
-0.12918879091739655,
-0.18612489104270935,
0.05018696188926697,
0.17012804746627808,
-0.07178078591823578,
0.03911281377077103,
-0.059885457158088684,
-0.17235079407691956,
0.04177847132086754,
0.17849405109882355,
-0.4047698378562927,
-0.14921355247497559,
-0.16487354040145874,
0.19803911447525024,
-0.06949906796216965,
0.26639047265052795,
0.20594970881938934,
-0.2263426035642624,
0.06693055480718613,
-0.2214614450931549,
-0.041351933032274246,
-0.19600582122802734,
0.4931259751319885,
0.23577505350112915,
0.12406997382640839,
0.10796350985765457,
0.2244284749031067,
0.21053007245063782,
0.22942067682743073,
-0.16281850636005402,
0.009122652001678944,
-0.05172106251120567,
0.23593385517597198,
-0.007427472621202469,
-0.04253457486629486,
0.18251457810401917,
0.3395169675350189,
0.20553594827651978,
0.2621074318885803,
-0.10487579554319382,
-0.3687973618507385,
0.1501132696866989,
0.19216188788414001,
-0.17286719381809235,
0.3466995358467102,
0.2716224491596222,
0.46389997005462646,
-0.053313806653022766,
-0.062316324561834335,
-0.0602368488907814,
0.0018206648528575897,
-0.17480655014514923,
-0.16183631122112274,
0.039303187280893326,
0.06490643322467804,
0.28638315200805664,
-0.2808239459991455,
-0.24056366086006165,
0.0661129504442215,
-0.34178030490875244,
0.0619749054312706,
0.01699453964829445,
0.3791457712650299,
0.23647426068782806,
-0.01914096251130104,
0.2767249345779419,
0.37165290117263794,
-0.18626776337623596,
0.04315269738435745,
-0.1747460812330246,
0.3844447135925293,
-0.2579784691333771,
0.17977997660636902,
0.48860862851142883,
-0.10639391839504242,
0.4061204493045807,
-0.05177140608429909,
0.22061333060264587,
-0.14497476816177368,
0.3903966248035431,
-0.21567130088806152,
0.1524510681629181,
0.33116069436073303,
-0.17961955070495605,
0.1834830343723297,
0.27525830268859863,
-0.5049566626548767,
-0.25601229071617126,
0.27393874526023865,
-0.0741693302989006,
-0.6105020642280579,
0.08356043696403503,
0.030125226825475693,
-0.2557598948478699,
-0.04818960279226303,
0.00868164747953415,
0.09477224946022034,
0.066217340528965,
-0.25477614998817444,
0.012688368558883667,
-0.40480226278305054,
0.05249479040503502,
0.023000109940767288,
0.09210781753063202,
0.5153244733810425,
-0.3533805310726166,
-0.10161593556404114,
-0.1787438541650772,
0.2910449802875519,
0.18811669945716858,
-0.053770359605550766,
-0.27329620718955994,
0.2976469397544861,
-0.16899904608726501,
0.03347107768058777,
0.4208683669567108,
-0.4424062669277191,
-0.13114142417907715,
0.23798754811286926,
-0.018499936908483505,
-0.3044889271259308,
0.056453682482242584,
-0.04741092771291733,
-0.12629719078540802,
-0.18177664279937744,
-0.5012435913085938,
0.31614309549331665,
-0.022959662601351738,
0.15467612445354462,
-0.30175238847732544,
-0.0884488895535469,
0.4543013572692871,
0.39539477229118347,
-0.06839008629322052,
-0.0287138894200325,
-0.1781916320323944,
-0.0013649314641952515,
0.23341545462608337,
-0.06264176964759827,
0.014928379096090794,
0.37239766120910645,
0.2858385443687439,
-0.07983459532260895,
0.05557551234960556,
0.21298375725746155,
-0.2489457130432129,
0.17617306113243103,
0.30566123127937317,
0.4779025614261627,
-0.2036847323179245,
-0.00016533955931663513,
-0.35368767380714417,
-0.00180775485932827,
-0.10991960763931274,
-0.20746980607509613,
-0.10481741279363632,
0.46758392453193665,
0.23414647579193115,
0.046815481036901474,
-0.1855328381061554,
0.08130792528390884,
-0.6053689122200012,
-0.013662036508321762,
-0.027405496686697006,
0.16877664625644684,
-0.27580830454826355,
-0.00408327579498291,
0.062222205102443695,
0.07005342841148376,
0.24069809913635254,
-0.2297430783510208,
-0.125504732131958,
0.2737269401550293,
-0.16706185042858124,
-0.05500860512256622,
0.1576801836490631,
0.06803089380264282,
0.19325746595859528,
-0.3789496421813965,
-0.08320212364196777,
0.1253548562526703,
0.06020709127187729,
-0.23635029792785645,
-0.12581172585487366,
0.2945437431335449,
-0.021074432879686356,
0.2565493583679199,
-0.14381980895996094,
0.00839981622993946,
0.09962256252765656,
-0.23942461609840393,
-0.0686585009098053,
-0.025222741067409515,
0.519474983215332,
0.20574851334095,
0.6570356488227844,
-0.07685917615890503,
-0.15286266803741455,
-0.015131726861000061,
0.08848454058170319,
-0.045461855828762054,
-0.07812028378248215,
0.194524884223938,
0.002540409564971924,
-0.07854413241147995,
0.3167942762374878,
0.16741830110549927,
0.7752977013587952,
-0.027189191430807114,
-0.1745949536561966,
0.04921930655837059,
-0.3775619864463806,
-0.36726656556129456,
0.22539468109607697,
-0.18273194134235382,
-0.09462813287973404,
0.19885796308517456,
0.12523561716079712,
0.046037282794713974,
-0.5084608197212219,
-0.2569909989833832,
0.3291351795196533,
0.363802045583725,
-0.3164460062980652,
0.1541808694601059,
0.15275999903678894,
-0.2072744369506836,
-0.044407919049263,
-0.28955090045928955,
-0.01132824644446373,
-0.20420217514038086,
0.003994602710008621,
-0.08125053346157074,
0.02073737606406212,
0.13393108546733856,
-0.06143612787127495,
0.4589121639728546,
-0.19781388342380524,
-0.620861828327179,
-0.3642994165420532,
-0.043793391436338425,
-0.416898638010025,
-0.04267250373959541,
0.2137020230293274,
0.23603737354278564,
0.3649187982082367,
-0.0851454883813858,
-0.1726851910352707,
-0.10982314497232437,
-0.3274778127670288,
0.054126352071762085,
-0.1212177574634552,
0.6394862532615662,
-0.028061576187610626,
0.3156219720840454,
-0.024387136101722717,
-0.22638550400733948,
0.3535672426223755,
-0.09022115916013718,
0.0071121081709861755,
0.08733704686164856,
-0.08943089097738266,
-0.2876465320587158,
-0.41871413588523865,
-0.535171389579773,
-0.23577038943767548,
-0.21159693598747253,
0.07248478382825851,
0.17221806943416595,
0.12316519767045975,
0.4630260467529297,
0.02289792150259018,
0.009198089130222797,
0.004662313498556614,
0.3746110200881958,
-0.12586477398872375,
-0.2918893098831177,
0.1666824221611023,
-0.08753678947687149,
-0.3190506398677826,
-0.30652299523353577,
-0.07202620804309845,
0.11970435082912445,
-0.009942017495632172,
-0.49184542894363403,
-0.6309236288070679,
-0.07943155616521835,
0.13577033579349518,
-0.2552679479122162,
-0.12162886559963226,
0.48008495569229126,
-0.09939200431108475,
0.17041586339473724,
-0.2599289119243622,
-0.2290130853652954,
0.2346920371055603,
0.2129654884338379,
0.18729445338249207,
-0.05218495428562164,
0.23921874165534973,
-0.08170784264802933,
0.43185901641845703,
0.3978012204170227,
-0.25202247500419617,
0.26378506422042847,
0.06306631118059158,
0.3674260973930359,
-0.054837413132190704,
-0.3751346170902252,
0.2626304030418396,
0.2787635326385498,
-0.33145231008529663,
0.17151278257369995,
0.0587182380259037,
-0.2908507287502289,
-0.09852834045886993,
0.5655902624130249,
-0.3173210322856903,
-0.00006159767508506775,
0.150282621383667,
-0.04117898643016815,
0.3024365305900574,
0.037439096719026566,
0.026695869863033295,
-0.16804848611354828,
-0.16730567812919617,
0.060863252729177475,
0.533416748046875,
0.16240817308425903,
0.18505416810512543,
-0.4743165671825409,
-0.23893892765045166,
-0.35635989904403687,
-0.12249894440174103,
0.14979612827301025,
0.3984869420528412,
-0.21315890550613403,
0.016442228108644485,
0.17937368154525757,
0.04921536520123482,
0.09937496483325958,
-0.304238498210907,
-0.09173782169818878,
0.5403866767883301,
0.08661176264286041,
-0.26829710602760315,
-0.18023057281970978,
-0.24522869288921356,
0.12270732969045639,
0.2847880423069,
0.2672743499279022,
-0.21734866499900818,
-0.18843679130077362,
0.16772721707820892,
0.09623927623033524,
0.03668839856982231,
-0.30537888407707214,
-0.09956321120262146,
-0.5945465564727783,
-0.3334547281265259,
-0.04839556664228439,
-0.060688719153404236,
0.10485850274562836,
-0.12126698344945908,
0.33823761343955994,
0.12246941030025482,
-0.015441044233739376,
0.27089762687683105,
0.04997120425105095,
0.15787991881370544,
0.0675325095653534,
-0.015673983842134476,
0.09123234450817108,
0.12476035207509995,
0.03772144764661789,
0.4749390780925751,
-0.08367130160331726,
0.31993380188941956,
-0.00646870955824852,
-0.21153725683689117,
0.5223869681358337,
0.5852071046829224,
0.0021545481868088245,
-0.08998674899339676,
-0.5776939392089844,
-0.07290200889110565,
-0.4040369391441345,
0.3156895935535431,
0.3033546507358551,
-0.2250966727733612,
-0.02870756760239601,
-0.2921120524406433,
0.4473969042301178,
-0.024928048253059387,
-0.2030819058418274,
0.48178592324256897,
-0.07316868007183075,
-0.27378425002098083,
0.4046694040298462,
0.026194769889116287,
1.3509242534637451,
0.17052122950553894,
0.31068676710128784,
0.2978096306324005,
0.37365520000457764,
0.22458313405513763,
0.07900677621364594,
0.11659147590398788,
-0.47718191146850586,
-0.13541105389595032,
-0.009026693180203438,
-0.29421523213386536,
-0.0043709054589271545,
0.15633322298526764,
-0.2920757830142975,
0.02662595547735691,
0.020110033452510834,
0.0844864621758461,
0.21786314249038696,
0.3266477584838867,
-0.02474001981317997,
-0.031176775693893433,
-0.2298780381679535,
0.09074599295854568,
0.178094282746315,
0.18778492510318756,
-0.28786706924438477,
0.003608468919992447,
-0.24844790995121002,
0.0012248046696186066,
-0.2709978222846985,
0.1081124022603035,
-0.25609880685806274,
0.17503829300403595,
0.16624712944030762,
-0.34101372957229614,
0.1143290102481842,
0.15783043205738068,
0.254189133644104,
0.21126769483089447,
-0.276056706905365,
0.17422476410865784,
-0.14506185054779053,
-0.09746972471475601,
0.27413076162338257,
-0.12643657624721527,
0.33773311972618103,
-0.04069977253675461,
-0.02765817940235138,
-0.04511767625808716,
-0.4717797040939331,
-0.36923468112945557,
-0.32582223415374756,
-0.23620395362377167,
0.09132750332355499,
-0.3194766640663147,
-0.469101220369339,
0.12088580429553986,
-0.18258458375930786,
-0.028175219893455505,
0.028035998344421387,
0.1544874906539917,
-0.019824963063001633,
0.0561889223754406,
-0.06592638790607452,
-0.21021106839179993,
0.011461451649665833,
-0.09853934496641159,
-0.05072733759880066,
0.03904980421066284,
0.6617226600646973,
-0.042340800166130066,
0.2782788872718811,
-0.145015686750412,
-0.0027059055864810944,
-0.02227848954498768,
-0.30259227752685547,
0.04351050779223442,
0.07751347124576569,
-0.09181158244609833,
0.22343455255031586,
0.29532524943351746,
0.3201092481613159,
0.16534744203090668,
0.025500331073999405,
-0.4916963279247284,
-0.08590533584356308,
-0.026677824556827545,
0.007595758885145187,
0.15460443496704102,
-0.1953808069229126,
0.3467414975166321,
0.2817423641681671,
0.04314248263835907,
-0.21304665505886078,
-0.03732362389564514,
-0.3724483847618103,
0.2269372195005417,
0.32243818044662476,
0.11407837271690369,
0.19413839280605316,
0.009445451200008392,
-0.07533879578113556,
0.11261165142059326,
-0.12523511052131653,
-0.0648135095834732,
-0.2516879439353943,
0.2515619397163391,
0.3943597674369812,
0.04586150497198105,
0.08463078737258911,
-0.2935835123062134,
0.009244547225534916,
-0.01728169247508049,
-0.20895174145698547,
-0.2917831242084503,
-0.08898808062076569,
0.3195631206035614,
0.1896088421344757,
0.055434975773096085,
-0.18139831721782684,
-0.12251532077789307,
-0.24019527435302734,
0.15104621648788452,
-0.008427039720118046,
0.13990414142608643,
0.2059044986963272,
-0.040960244834423065,
-0.23710905015468597,
0.2781021296977997,
-0.030093543231487274,
0.2591276168823242,
0.19959193468093872,
0.003798052668571472,
0.2113243043422699,
-0.11382089555263519,
0.22247076034545898,
0.4302184581756592,
-0.4033554792404175,
0.26128140091896057,
-0.009506290778517723,
0.09095975756645203,
-0.21623824536800385,
0.01773105375468731,
-0.16766519844532013,
0.05345236882567406,
-0.012160755693912506,
0.12677963078022003,
0.1862436980009079,
-0.2775864899158478,
0.10930069535970688,
-0.09471435099840164,
0.1725112348794937,
-0.2699620723724365,
-0.19880788028240204,
0.08595328032970428,
-0.25239846110343933,
0.011126141995191574,
0.19922003149986267,
-0.07093542814254761,
0.03208308666944504,
0.005416933447122574,
0.02396620810031891,
0.38187330961227417,
0.20172935724258423,
0.07663675397634506,
-0.00722590833902359,
0.0010409168899059296,
0.20396357774734497,
0.22265951335430145,
0.2941243052482605,
-0.012784071266651154,
-0.06347993016242981,
0.8852085471153259,
-0.41372764110565186,
-0.2334926277399063,
-0.07636015117168427,
-0.024667125195264816,
-0.04644312709569931,
0.014109741896390915,
-0.5325609445571899,
0.0026681944727897644,
-0.5654904842376709,
-0.15154922008514404,
-0.10579943656921387,
-0.08582021296024323,
0.34832075238227844,
0.14504244923591614,
-0.17951954901218414,
-0.49643808603286743,
-0.08560919761657715,
0.39105725288391113,
0.07275818288326263,
-0.415850430727005,
0.4486842155456543,
0.22764350473880768,
-0.25530901551246643,
-0.04753989353775978,
0.3074966073036194,
0.6112616658210754,
0.2409481555223465,
0.06562085449695587,
-0.037512730807065964,
-0.23989038169384003,
-0.01046174205839634,
0.12666261196136475,
0.34906840324401855,
0.23765799403190613,
0.03723340481519699,
0.24844838678836823,
0.02834409661591053,
-0.031600527465343475,
0.20493076741695404,
0.12606854736804962,
-0.19565826654434204,
-0.33307209610939026,
0.6217602491378784,
-0.026095345616340637,
-0.3007109761238098,
-0.30717381834983826,
0.11109820753335953,
-0.23614564538002014,
0.22164353728294373,
0.563149094581604,
0.2504121661186218,
0.10044277459383011,
-0.12339925765991211,
0.0009714700281620026,
0.14972814917564392,
0.31775611639022827,
0.5827769041061401,
0.008050277829170227,
-0.5678746104240417,
-0.6857696771621704,
-0.6221312880516052,
0.22904008626937866,
-0.06709074974060059,
-0.0685928612947464,
0.07004490494728088,
0.16958530247211456,
0.2968571186065674,
0.0526142381131649,
-0.39095497131347656,
0.3785017132759094,
-0.061339523643255234,
-0.1938793957233429,
-0.4923861026763916,
-0.10341960191726685,
-0.2402925044298172,
0.09274554252624512,
-0.08967936784029007,
-0.2969714105129242,
-0.14087609946727753,
-0.2824316620826721,
-0.059114694595336914,
-0.09026892483234406,
-0.1409389078617096,
0.2531694173812866,
0.335775226354599,
0.27950578927993774,
0.10749054700136185,
0.6465674638748169,
0.09496857970952988,
-0.14674140512943268,
-0.08324788510799408,
-0.15167772769927979,
-0.17111273109912872,
0.16996532678604126,
-0.21921393275260925,
0.4579172134399414,
-0.13321202993392944,
0.10766628384590149,
-0.15752831101417542,
-0.07393267750740051,
0.044455282390117645,
-0.3275851011276245,
-0.35938024520874023,
0.015430919826030731,
-0.35964882373809814,
0.2886631190776825,
0.2174224704504013,
0.3777468502521515,
-0.09060943126678467,
0.18301457166671753,
-0.3451293110847473,
-0.41188275814056396,
0.5289808511734009,
-0.2528552711009979,
-0.17583239078521729,
0.1731853485107422,
0.2802223265171051,
-0.2080511450767517,
0.23286078870296478,
-0.373384952545166,
-0.21842922270298004,
0.32507044076919556,
0.009060624986886978,
-0.22601501643657684,
0.3827298581600189,
0.41234031319618225,
0.21950022876262665,
0.049597810953855515,
0.26397716999053955,
0.030149444937705994,
-0.14535698294639587,
0.06488737463951111,
-0.18244881927967072
] |
https://github.com/huggingface/datasets/pull/451 | Fix csv/json/txt cache dir | I think this is the way to go but I’m afraid this might be a little slow. I was thinking that we could use a high quality very fast non crypto hash like xxhash for these stuff (hashing data files) | The cache dir for csv/json/txt datasets was always the same. This is an issue because it should be different depending on the data files provided by the user.
To fix that, I added a line that use the hash of the data files provided by the user to define the cache dir.
This should fix #444 | 40 | text: Fix csv/json/txt cache dir
The cache dir for csv/json/txt datasets was always the same. This is an issue because it should be different depending on the data files provided by the user.
To fix that, I added a line that use the hash of the data files provided by the user to define the cache dir.
This should fix #444
I think this is the way to go but I’m afraid this might be a little slow. I was thinking that we could use a high quality very fast non crypto hash like xxhash for these stuff (hashing data files) | [
0.04497462138533592,
0.23956996202468872,
-0.22585606575012207,
0.14270147681236267,
0.20911507308483124,
0.009260475635528564,
0.35166406631469727,
0.4951486885547638,
-0.12198156118392944,
-0.016072288155555725,
0.2369052916765213,
-0.100404754281044,
0.11666932702064514,
-0.13819001615047455,
-0.0077205197885632515,
0.3748629093170166,
-0.017143458127975464,
0.13963040709495544,
-0.1430346816778183,
0.10542508959770203,
-0.10345955938100815,
-0.06179080903530121,
0.31957006454467773,
-0.1418970823287964,
-0.12309496849775314,
0.015033025294542313,
0.10026440024375916,
0.2108563780784607,
0.03571879118680954,
-0.40449029207229614,
0.13552144169807434,
0.1233113557100296,
0.013436885550618172,
0.24636664986610413,
-0.00010043204383691773,
-0.045647259801626205,
0.15121886134147644,
-0.09638778120279312,
-0.1188732385635376,
0.21280819177627563,
-0.5816934704780579,
-0.440089613199234,
-0.1905268281698227,
-0.29743218421936035,
-0.0037140026688575745,
-0.05180812254548073,
0.11304199695587158,
-0.29070353507995605,
0.4295603036880493,
0.24483951926231384,
0.3069400489330292,
-0.40305525064468384,
-0.22015786170959473,
0.3072068989276886,
0.247035950422287,
0.01132228597998619,
-0.12627561390399933,
0.16434091329574585,
-0.0033940523862838745,
0.1084798276424408,
-0.4074414372444153,
0.5159062743186951,
-0.10310754925012589,
0.3551326096057892,
0.19666913151741028,
0.1977660208940506,
0.13247272372245789,
0.08186887204647064,
0.16360169649124146,
-0.01672915369272232,
0.5810307264328003,
-0.04852737486362457,
-0.102654829621315,
-0.1099553108215332,
-0.22999751567840576,
-0.5073527693748474,
0.5332370400428772,
-0.06028340011835098,
-0.03540075942873955,
0.08187709003686905,
-0.17228706181049347,
-0.18172043561935425,
-0.1392384171485901,
0.0063181668519973755,
0.15092599391937256,
-0.20193815231323242,
-0.1124066710472107,
-0.2508649230003357,
0.19466587901115417,
-0.18337282538414001,
0.2649967670440674,
0.14729508757591248,
-0.17477715015411377,
-0.012098056264221668,
-0.09452863037586212,
-0.05421643704175949,
-0.028761684894561768,
-0.2218048870563507,
-0.03623315691947937,
0.09884063154459,
0.3805449306964874,
0.3416717052459717,
0.0858803391456604,
-0.033807024359703064,
-0.19036127626895905,
0.4212039113044739,
-0.003423035144805908,
-0.2071632742881775,
0.549083948135376,
-0.257395476102829,
-0.19342496991157532,
-0.07368847727775574,
0.08830051124095917,
-0.43846920132637024,
0.1824517697095871,
0.33691030740737915,
0.05982549488544464,
-0.18535473942756653,
0.09197881817817688,
0.21179760992527008,
-0.16144059598445892,
-0.08420218527317047,
-0.0071046845987439156,
0.3582402169704437,
-0.01970652863383293,
0.07786450535058975,
0.06279230862855911,
-0.18200820684432983,
-0.1421433389186859,
0.09972982108592987,
-0.06557615101337433,
-0.022154249250888824,
-0.08330202102661133,
0.22851267457008362,
0.26953452825546265,
0.21940699219703674,
0.059220366179943085,
-0.18624529242515564,
0.22107580304145813,
-0.2824528217315674,
0.23764270544052124,
-0.08417104184627533,
0.3685654103755951,
0.2680438458919525,
-0.06885935366153717,
0.06720416247844696,
0.0018232837319374084,
-0.015961728990077972,
-0.09217949211597443,
0.06324232369661331,
-0.5361282825469971,
-0.4987681210041046,
0.15737131237983704,
0.26713961362838745,
-0.09504108130931854,
-0.0003656148910522461,
0.04881636053323746,
-0.005989082157611847,
0.12071318924427032,
-0.0600438266992569,
0.17314986884593964,
0.2865324020385742,
0.09407179057598114,
-0.27518031001091003,
-0.07036881893873215,
0.3829341530799866,
0.012343168258666992,
0.15535971522331238,
-0.2607385516166687,
0.22905367612838745,
-0.035553134977817535,
0.25970596075057983,
-0.023156674578785896,
0.0037209168076515198,
-0.19381055235862732,
0.27784043550491333,
0.2839600741863251,
-0.25419312715530396,
-0.4388006031513214,
0.14393696188926697,
-0.24249929189682007,
-0.1419275999069214,
0.36422857642173767,
0.1701483130455017,
0.09173726290464401,
-0.3857230246067047,
0.14286892116069794,
-0.00971832312643528,
0.1206086054444313,
0.2600034475326538,
-0.4615876078605652,
-0.3302716910839081,
-0.1755535751581192,
0.06734628975391388,
0.08858253061771393,
-0.050342537462711334,
0.15939092636108398,
-0.22637252509593964,
-0.1580927073955536,
-0.1930347979068756,
0.11923827975988388,
0.2510767877101898,
0.6680630445480347,
0.10350017994642258,
-0.0023440360091626644,
0.4658721685409546,
-0.5616845488548279,
-0.09194905310869217,
0.00455087423324585,
-0.2016301453113556,
-0.04517465829849243,
-0.29062867164611816,
0.1392924189567566,
-0.4084230661392212,
-0.019799623638391495,
-0.08166979253292084,
0.299121230840683,
0.10091910511255264,
0.15976136922836304,
-0.3437672555446625,
0.07698109745979309,
0.323000431060791,
0.06359405070543289,
0.01099066436290741,
0.11968542635440826,
-0.03346296399831772,
-0.21790429949760437,
0.048737820237874985,
0.005819067358970642,
0.10773852467536926,
0.27121856808662415,
-0.25375083088874817,
-0.07686103880405426,
0.22547051310539246,
-0.17896077036857605,
0.11614108830690384,
0.341194748878479,
0.8310308456420898,
0.07264119386672974,
-0.049050766974687576,
-0.04266331344842911,
0.09943191707134247,
-0.018054012209177017,
0.09702155739068985,
-0.04265974462032318,
0.4161838889122009,
-0.10329633951187134,
-0.20824381709098816,
-0.18749737739562988,
-0.14713460206985474,
0.4482475519180298,
-0.12313762307167053,
0.1074499636888504,
-0.17682631313800812,
0.15573540329933167,
0.06597035378217697,
0.00979132205247879,
0.241842582821846,
0.0051461681723594666,
0.17418980598449707,
0.2975500822067261,
0.08006562292575836,
0.2805822193622589,
0.3618330955505371,
0.20454436540603638,
-0.323114812374115,
-0.08375360816717148,
0.27244338393211365,
0.31827667355537415,
0.22691823542118073,
-0.060398805886507034,
-0.021801097318530083,
0.4287111163139343,
-0.3277711868286133,
0.3932398855686188,
-0.21343384683132172,
-0.07123029232025146,
0.2447342872619629,
0.0031204121187329292,
-0.2013573795557022,
-0.1359957754611969,
0.0342034213244915,
0.1556619554758072,
0.30050116777420044,
-0.33525508642196655,
0.03146661818027496,
-0.2600453794002533,
-0.11211168020963669,
-0.09559652954339981,
-0.2673383951187134,
-0.16527724266052246,
-0.21990565955638885,
0.24230848252773285,
0.016231626272201538,
-0.5163664221763611,
0.08587794005870819,
-0.07725377380847931,
0.39756661653518677,
0.02509966678917408,
0.047343600541353226,
-0.4309823513031006,
-0.26435521245002747,
-0.14625295996665955,
0.13024917244911194,
0.31996551156044006,
-0.2630561590194702,
0.263290673494339,
-0.25467512011528015,
0.26485663652420044,
-0.5831806659698486,
-0.29360222816467285,
0.00007162243127822876,
0.16640117764472961,
0.1640722155570984,
0.0052143484354019165,
0.375399112701416,
-0.06911326199769974,
-0.15784481167793274,
-0.15140067040920258,
-0.11909852176904678,
-0.0284503772854805,
-0.0019613951444625854,
-0.10190512239933014,
0.2504788041114807,
-0.13773906230926514,
-0.380192369222641,
-0.08417445421218872,
-0.393738716840744,
0.28381967544555664,
-0.1183190643787384,
0.25760418176651,
0.0124176274985075,
-0.016710296273231506,
-0.08277850598096848,
-0.1797885000705719,
0.046365685760974884,
-0.4305027723312378,
-0.4779958426952362,
0.32845714688301086,
-0.24296891689300537,
-0.1557689905166626,
-0.023964762687683105,
0.18213872611522675,
-0.06568317115306854,
0.034724362194538116,
-0.31542545557022095,
-0.3463068902492523,
-0.04691952466964722,
0.24320858716964722,
-0.23727372288703918,
-0.10725663602352142,
0.3285622000694275,
-0.1059204488992691,
-0.30052831768989563,
-0.07039063423871994,
-0.05231105163693428,
0.22036868333816528,
0.1287735104560852,
-0.0652715191245079,
-0.006422467529773712,
0.018153689801692963,
0.33668628334999084,
0.6501297950744629,
-0.02736538089811802,
-0.0013758651912212372,
0.17313390970230103,
0.27092307806015015,
0.35508114099502563,
0.08389580249786377,
0.032288141548633575,
0.03565697744488716,
0.1375180333852768,
-0.18487124145030975,
0.35176563262939453,
0.07778522372245789,
-0.11870252341032028,
-0.02394719421863556,
-0.15856175124645233,
-0.6300401091575623,
-0.4491002857685089,
0.4910600483417511,
-0.18889640271663666,
-0.03873658925294876,
0.22132357954978943,
-0.036567457020282745,
-0.30277523398399353,
-0.3511615991592407,
0.01878024823963642,
0.4025079011917114,
0.007537379860877991,
0.1415608674287796,
-0.13563139736652374,
-0.24037376046180725,
-0.24721503257751465,
0.4627951979637146,
0.16312137246131897,
0.3708231449127197,
-0.1321360170841217,
-0.07823209464550018,
-0.0020630061626434326,
-0.2699071764945984,
0.4992697238922119,
-0.029230499640107155,
0.15374675393104553,
-0.2639230787754059,
0.06248285621404648,
0.5531259179115295,
-0.03019621968269348,
0.18125313520431519,
0.2738896310329437,
0.22043266892433167,
0.05160367488861084,
-0.2970859408378601,
-0.11015892028808594,
-0.310747355222702,
-0.2275993674993515,
-0.11283467710018158,
-0.10212720185518265,
0.05051827058196068,
-0.23045367002487183,
-0.05927273631095886,
0.16313356161117554,
0.040056005120277405,
-0.32107773423194885,
-0.03338427096605301,
0.10535784065723419,
0.1253943294286728,
-0.0650772750377655,
0.03393975645303726,
-0.08399231731891632,
0.24478518962860107,
-0.06192198023200035,
-0.08406632393598557,
0.08101178705692291,
0.07516784220933914,
0.3571781516075134,
0.1661452054977417,
-0.1197613775730133,
0.0038709118962287903,
-0.0577673614025116,
-0.2467818260192871,
0.04394379258155823,
0.399314284324646,
-0.014837191440165043,
-0.010190434753894806,
0.2069098949432373,
0.16102385520935059,
-0.010520116426050663,
-0.07748230546712875,
-0.07434836030006409,
0.16797174513339996,
-0.08733375370502472,
-0.3575494587421417,
0.3113142251968384,
0.04618370160460472,
-0.10338669270277023,
0.35568588972091675,
0.0004086419939994812,
-0.3089693784713745,
0.04039983078837395,
0.2053242325782776,
1.0306379795074463,
0.10846379399299622,
0.24060723185539246,
-0.20816567540168762,
-0.1167588159441948,
0.327668696641922,
-0.8885543346405029,
0.19000354409217834,
-0.22756217420101166,
-0.015587774105370045,
-0.0556035190820694,
-0.11967998743057251,
-0.04052411764860153,
-0.06275155395269394,
-0.32486528158187866,
0.13201938569545746,
0.04504723846912384,
0.39887019991874695,
-0.08893142640590668,
0.08051450550556183,
-0.33689558506011963,
-0.15660586953163147,
-0.21422341465950012,
0.20128193497657776,
-0.2808097004890442,
0.045317187905311584,
-0.2629244923591614,
-0.19285812973976135,
-0.08795063197612762,
-0.21314628422260284,
-0.11943700164556503,
-0.28943613171577454,
-0.28678613901138306,
0.2847824692726135,
-0.11825376749038696,
0.06593269109725952,
-0.4434511363506317,
-0.17013508081436157,
0.3049171268939972,
0.08095143735408783,
-0.3724583089351654,
0.1390271633863449,
0.3297918438911438,
0.2662220597267151,
0.0651916041970253,
-0.3698911964893341,
0.09925071895122528,
-0.11329221725463867,
0.09991390258073807,
-0.13455671072006226,
-0.1463671624660492,
-0.4547635316848755,
-0.09886938333511353,
0.022728659212589264,
-0.4037242531776428,
0.047421716153621674,
0.07809111475944519,
0.20719218254089355,
-0.3784841001033783,
-0.08715401589870453,
0.24124066531658173,
0.23377227783203125,
-0.04567331820726395,
0.18323063850402832,
0.0538005493581295,
-0.2726718783378601,
-0.015166226774454117,
0.16779759526252747,
-0.0013807453215122223,
-0.03404809907078743,
0.21443840861320496,
-0.12016715109348297,
-0.2973232865333557,
-0.3026750683784485,
0.023282065987586975,
-0.041023921221494675,
-0.18400640785694122,
0.16275067627429962,
-0.18218280375003815,
-0.30488574504852295,
-0.061712075024843216,
-0.1603262722492218,
0.1983603984117508,
0.2057448923587799,
0.01302524283528328,
-0.3169982433319092,
-0.21247117221355438,
0.11611192673444748,
-0.2234538346529007,
0.07263117283582687,
-0.010065989568829536,
-0.0023124869912862778,
-0.0655205249786377,
-0.027778292074799538,
-0.459144651889801,
0.18005073070526123,
-0.1281537115573883,
0.04772700369358063,
0.12058832496404648,
-0.16779258847236633,
0.45815712213516235,
0.05837331339716911,
0.11448146402835846,
0.17271651327610016,
-0.4286079704761505,
-0.3441636562347412,
0.13317547738552094,
0.0945180356502533,
-0.12887555360794067,
-0.10803377628326416,
-0.01685495674610138,
-0.07327543944120407,
0.1175251305103302,
0.0004383586347103119,
-0.09583061933517456,
0.20232993364334106,
-0.007282748818397522,
0.25592973828315735,
-0.2511896789073944,
-0.026857219636440277,
0.13262125849723816,
0.010809024795889854,
-0.18371352553367615,
0.2800152599811554,
-0.39135444164276123,
0.17890508472919464,
-0.2692522406578064,
0.07411353290081024,
0.19288873672485352,
0.19610217213630676,
-0.0862429141998291,
0.20000314712524414,
0.03562554344534874,
-0.08903974294662476,
0.03795699402689934,
0.28472810983657837,
-0.022696321830153465,
0.21678034961223602,
-0.14394749701023102,
-0.04460364952683449,
0.1374090015888214,
0.35936084389686584,
0.07375171035528183,
-0.009254534728825092,
-0.08178029954433441,
-0.09038095921278,
0.042413901537656784,
0.14949510991573334,
0.31879526376724243,
-0.34797561168670654,
0.14236408472061157,
0.1910407543182373,
0.33511537313461304,
-0.5410851240158081,
0.14796307682991028,
-0.01880795881152153,
-0.14709621667861938,
-0.022412654012441635,
0.17580585181713104,
-0.03352228179574013,
0.11740116775035858,
0.398101806640625,
-0.07545050233602524,
0.04516801983118057,
0.26198461651802063,
-0.016447175294160843,
-0.5077139735221863,
-0.18922840058803558,
0.17050009965896606,
0.39989590644836426,
-0.11890837550163269,
0.3025238513946533,
0.2620839476585388,
0.23357495665550232,
0.08013822883367538,
0.13132399320602417,
-0.20560479164123535,
-0.005491822957992554,
-0.2500607669353485,
-0.08088284730911255,
0.00890658050775528,
0.03370732069015503,
-0.009563632309436798,
0.09989218413829803,
-0.08810077607631683,
0.18874379992485046,
0.09692534804344177,
0.3415195941925049,
0.055890653282403946,
0.006653222255408764,
0.3660513460636139,
-0.002272099256515503,
0.21561197936534882,
-0.3030013144016266,
0.1639707386493683,
0.1449590027332306,
-0.2671888470649719,
0.42475342750549316,
0.11594180762767792,
0.38208168745040894,
0.1356177031993866,
0.005993722006678581,
-0.0051080770790576935,
-0.011967774480581284,
-0.030560685321688652,
-0.40656375885009766,
0.43799087405204773,
0.2201012820005417,
-0.11841849982738495,
-0.06704941391944885,
0.23519176244735718,
-0.28795844316482544,
0.27259498834609985,
-0.1184190958738327,
-0.03719358518719673,
0.1757935881614685,
-0.13695254921913147,
0.3085103929042816,
-0.156239852309227,
-0.11261090636253357,
0.09299781918525696,
-0.31903108954429626,
-0.23573896288871765,
0.35084083676338196,
-0.06316150724887848,
0.1623041033744812,
-0.010779228992760181,
0.12661954760551453,
0.2984967827796936,
0.4148760437965393,
0.015407364815473557,
-0.3688112795352936,
-0.23427274823188782,
0.1896585375070572,
-0.4506314694881439,
0.11262225359678268,
0.01570611447095871,
0.3245512843132019,
-0.26917046308517456,
0.23181097209453583,
0.18700802326202393,
0.0834391862154007,
0.13582156598567963,
-0.07444460690021515,
0.22767576575279236,
-0.03099236637353897,
-0.4537798762321472,
0.24890916049480438,
0.3235684037208557,
0.1770717054605484,
0.13922767341136932,
-0.38477441668510437,
0.169952854514122,
0.30350708961486816,
0.2877079248428345,
-0.11834648251533508,
0.02458506077528,
0.13141144812107086,
0.3048272132873535,
0.41084784269332886,
0.16493910551071167,
0.009048521518707275,
-0.1536591798067093,
-0.1546684056520462,
-0.3201776444911957,
-0.019069796428084373,
-0.020197849720716476,
-0.08215279132127762,
0.13086962699890137,
0.10722866654396057,
-0.28440746665000916,
-0.07382984459400177,
-0.40064316987991333,
0.010724468156695366,
-0.27890145778656006,
0.2170642465353012,
-0.1416856199502945,
0.21660713851451874,
-0.012437708675861359,
0.08600064367055893,
-0.16112111508846283,
0.3516348600387573,
0.03804758936166763,
-0.054722487926483154,
-0.4023953676223755,
-0.31276556849479675,
0.3162694275379181,
-0.3532874584197998,
-0.1529909372329712,
0.15945172309875488,
0.5473169088363647,
0.3667829930782318,
0.13393904268741608,
-0.14854352176189423,
0.25505849719047546,
0.22094042599201202,
0.11041484773159027,
-0.26370203495025635,
0.13394638895988464,
-0.28211867809295654,
-0.061346739530563354,
-0.07827344536781311,
0.31619060039520264,
0.34620293974876404,
-0.22079357504844666,
-0.27413296699523926,
-0.30161964893341064
] |
https://github.com/huggingface/datasets/pull/451 | Fix csv/json/txt cache dir | I tested the hashing speed [here](https://colab.research.google.com/drive/1hlhP84kLIHmOzMRQN1h8x10hKWpXXyud?usp=sharing).
I was able to get 8x speed with `xxhashlib` (42ms vs 345ms for 100MiB of data).
What do you think @thomwolf ? | The cache dir for csv/json/txt datasets was always the same. This is an issue because it should be different depending on the data files provided by the user.
To fix that, I added a line that use the hash of the data files provided by the user to define the cache dir.
This should fix #444 | 28 | text: Fix csv/json/txt cache dir
The cache dir for csv/json/txt datasets was always the same. This is an issue because it should be different depending on the data files provided by the user.
To fix that, I added a line that use the hash of the data files provided by the user to define the cache dir.
This should fix #444
I tested the hashing speed [here](https://colab.research.google.com/drive/1hlhP84kLIHmOzMRQN1h8x10hKWpXXyud?usp=sharing).
I was able to get 8x speed with `xxhashlib` (42ms vs 345ms for 100MiB of data).
What do you think @thomwolf ? | [
0.10177211463451385,
0.052855268120765686,
-0.21090567111968994,
0.25955742597579956,
0.15870769321918488,
0.07101722806692123,
0.271793931722641,
0.4521419107913971,
-0.14507585763931274,
-0.09931561350822449,
0.22414278984069824,
-0.08028267323970795,
0.1804952770471573,
-0.13561616837978363,
-0.021728515625,
0.30986884236335754,
0.019334442913532257,
0.04223661497235298,
-0.17925602197647095,
0.09831690788269043,
-0.06327516585588455,
0.05923713743686676,
0.07517614960670471,
-0.2537120580673218,
-0.1695626825094223,
0.1907651424407959,
0.1203790009021759,
0.2517857849597931,
-0.1038072481751442,
-0.4050562083721161,
0.17735527455806732,
0.10440227389335632,
-0.019482804462313652,
0.22358867526054382,
-0.00010177562944591045,
-0.07102587819099426,
0.19272512197494507,
-0.0950484499335289,
-0.03306996077299118,
0.12207918614149094,
-0.5271508097648621,
-0.38922643661499023,
-0.173219233751297,
-0.17211852967739105,
-0.04414808005094528,
0.0003841351717710495,
0.08874247223138809,
-0.3072874844074249,
0.22814974188804626,
0.34243300557136536,
0.29033204913139343,
-0.3644050657749176,
-0.26048505306243896,
0.2593698799610138,
0.1817295253276825,
0.014532718807458878,
-0.2323325127363205,
0.20672091841697693,
-0.06007130444049835,
0.18464668095111847,
-0.45432060956954956,
0.49078238010406494,
0.015795351937413216,
0.47106030583381653,
0.2879799008369446,
0.13862045109272003,
0.08382655680179596,
0.03020845539867878,
0.33620554208755493,
0.020871907472610474,
0.6717405319213867,
0.055929891765117645,
0.010606348514556885,
-0.024514686316251755,
-0.3871232271194458,
-0.4036387801170349,
0.5925065875053406,
-0.11454422771930695,
0.05738353356719017,
-0.07536472380161285,
-0.3226586580276489,
-0.024495871737599373,
-0.03359699994325638,
-0.11691990494728088,
0.02464338392019272,
-0.17957547307014465,
-0.1794436126947403,
-0.23914441466331482,
0.18449237942695618,
-0.09297284483909607,
0.3395358920097351,
0.1029781773686409,
-0.19776184856891632,
0.09520403295755386,
-0.23051805794239044,
0.02188364416360855,
0.0851915031671524,
-0.15945345163345337,
-0.08809222280979156,
0.08928991854190826,
0.3197072446346283,
0.3973730206489563,
0.13752415776252747,
-0.14383551478385925,
-0.189798504114151,
0.45857030153274536,
0.04180186241865158,
-0.14284057915210724,
0.41043543815612793,
-0.12423645704984665,
-0.2342933863401413,
-0.0936908945441246,
0.15821759402751923,
-0.4251657724380493,
0.17071452736854553,
0.17364037036895752,
-0.05392222851514816,
-0.22766423225402832,
0.030397089198231697,
0.21338507533073425,
-0.24801799654960632,
-0.21522624790668488,
0.0025930916890501976,
0.293807715177536,
-0.06949406117200851,
0.047913335263729095,
-0.0009227991104125977,
-0.22734130918979645,
-0.2149568647146225,
0.12737597525119781,
-0.12023938447237015,
-0.04521523788571358,
-0.21781854331493378,
0.2048884928226471,
0.23165981471538544,
0.14979521930217743,
0.16707442700862885,
-0.10577086359262466,
0.24914439022541046,
-0.19350995123386383,
0.14488773047924042,
-0.07592462003231049,
0.4385085105895996,
0.22254566848278046,
-0.11456769704818726,
0.2112572193145752,
0.031472474336624146,
0.05602686107158661,
-0.1552482396364212,
0.17850783467292786,
-0.4925234913825989,
-0.5217276811599731,
0.30047646164894104,
0.24331572651863098,
-0.11269958317279816,
-0.02333943545818329,
0.027870729565620422,
0.13586583733558655,
0.07200133800506592,
0.04240858927369118,
0.20286786556243896,
0.15831561386585236,
0.012064974755048752,
-0.31364157795906067,
-0.07154609262943268,
0.3937467932701111,
-0.030213546007871628,
0.19067269563674927,
-0.21058012545108795,
0.2702983319759369,
0.12012515217065811,
0.35497182607650757,
-0.051458507776260376,
-0.09750331193208694,
-0.28069770336151123,
0.349892795085907,
0.19651976227760315,
-0.18315298855304718,
-0.480208158493042,
0.23068413138389587,
-0.13268259167671204,
-0.054205358028411865,
0.26832160353660583,
0.071712926030159,
0.10717180371284485,
-0.263912558555603,
0.15774592757225037,
0.029437635093927383,
0.24009260535240173,
0.19581615924835205,
-0.5808767676353455,
-0.22108495235443115,
-0.16210883855819702,
0.0292687825858593,
-0.04997929558157921,
-0.028651677072048187,
0.1478450745344162,
-0.12250842154026031,
-0.06397821754217148,
-0.13339783251285553,
0.15118305385112762,
0.29932576417922974,
0.5393531322479248,
0.015617813915014267,
0.16092784702777863,
0.5571354031562805,
-0.5474987626075745,
0.05184892565011978,
-0.038797907531261444,
0.01504603773355484,
0.0989287868142128,
-0.11179707199335098,
0.10171572118997574,
-0.4327859580516815,
-0.1047295331954956,
-0.2356674075126648,
0.25899064540863037,
-0.06911921501159668,
0.2502903342247009,
-0.3850109577178955,
0.10085014998912811,
0.35211363434791565,
-0.0006154924631118774,
-0.03918718174099922,
0.10687167942523956,
-0.02188323438167572,
-0.17432430386543274,
0.05598236992955208,
0.06086702644824982,
-0.014843203127384186,
0.2672371566295624,
-0.24950331449508667,
-0.15872541069984436,
0.15470841526985168,
-0.2289317399263382,
0.1478237509727478,
0.327701210975647,
0.8218793272972107,
0.075111024081707,
-0.09504485130310059,
0.1047602966427803,
0.047278374433517456,
0.025013167411088943,
0.0044202059507369995,
-0.02122410386800766,
0.314130961894989,
-0.04035189375281334,
-0.13834071159362793,
-0.09515303373336792,
-0.281419575214386,
0.35379812121391296,
-0.01025484874844551,
0.20659062266349792,
-0.1839715838432312,
0.1650937795639038,
0.10912564396858215,
0.05266808345913887,
0.3098146617412567,
0.07573600113391876,
0.21748483180999756,
0.349117249250412,
0.10965113341808319,
0.02715311199426651,
0.4048135578632355,
0.12424416840076447,
-0.5345733165740967,
-0.09953723102807999,
0.1843228042125702,
0.45999252796173096,
0.13260598480701447,
0.10858269035816193,
-0.03575470298528671,
0.3732524514198303,
-0.39869704842567444,
0.4860031306743622,
-0.31113582849502563,
-0.03967732936143875,
0.1937793791294098,
-0.004390279296785593,
-0.2200295627117157,
-0.17971926927566528,
-0.028287144377827644,
0.22031746804714203,
0.3982546329498291,
-0.27615857124328613,
-0.08820531517267227,
-0.28184619545936584,
-0.05393616482615471,
-0.028515543788671494,
-0.2673740088939667,
-0.18560791015625,
-0.3006601631641388,
0.124454565346241,
-0.08544968068599701,
-0.3474279046058655,
-0.08043069392442703,
0.008911043405532837,
0.24728532135486603,
0.040300153195858,
0.10160303860902786,
-0.4155254662036896,
-0.1020011305809021,
-0.19769468903541565,
0.137144535779953,
0.18014255166053772,
-0.22724509239196777,
0.07424517720937729,
-0.20782095193862915,
0.22944220900535583,
-0.6024824380874634,
-0.29616764187812805,
0.024714654311537743,
0.08035732805728912,
0.1539134532213211,
-0.04460404813289642,
0.31547802686691284,
-0.1297050416469574,
-0.04585752263665199,
0.0024338094517588615,
-0.12088067829608917,
-0.010481567122042179,
-0.06766461580991745,
-0.08782055974006653,
0.17180678248405457,
-0.02189590036869049,
-0.3664543926715851,
0.011250725015997887,
-0.33317065238952637,
0.2934627830982208,
-0.08073633909225464,
0.26218098402023315,
-0.014520763419568539,
-0.0935635194182396,
-0.016656912863254547,
-0.09164003282785416,
-0.07518088072538376,
-0.4671141803264618,
-0.5597264766693115,
0.26380056142807007,
-0.1837536096572876,
-0.14397481083869934,
0.025708872824907303,
0.387481153011322,
0.04583149030804634,
0.022955872118473053,
-0.32854729890823364,
-0.19280007481575012,
-0.21181662380695343,
0.36857572197914124,
-0.17702963948249817,
-0.09788878262042999,
0.34047114849090576,
-0.20591574907302856,
-0.3052215874195099,
-0.07286714762449265,
-0.2014850378036499,
0.2568804621696472,
0.22313886880874634,
-0.030305959284305573,
0.03746165707707405,
0.0004661194980144501,
0.33031290769577026,
0.7346538305282593,
0.15976843237876892,
-0.03545818850398064,
0.1646755486726761,
0.2620677649974823,
0.2315172404050827,
-0.0359516367316246,
0.07404922693967819,
0.08495799452066422,
0.008810877799987793,
-0.20397214591503143,
0.4338117241859436,
0.06397001445293427,
-0.19619345664978027,
-0.026952268555760384,
-0.26404112577438354,
-0.5229915976524353,
-0.2831009328365326,
0.4580521285533905,
-0.2341720461845398,
0.0017622262239456177,
0.2896248996257782,
-0.0904647558927536,
-0.2955959439277649,
-0.3935883045196533,
0.055542390793561935,
0.3434462547302246,
-0.025804072618484497,
0.0806100070476532,
-0.15332403779029846,
-0.22985590994358063,
-0.3993673026561737,
0.42983657121658325,
0.11469714343547821,
0.4166610836982727,
-0.10815544426441193,
-0.01614483818411827,
0.13024282455444336,
-0.23569323122501373,
0.48701924085617065,
-0.19432616233825684,
0.1995755434036255,
-0.1688503921031952,
-0.018997937440872192,
0.4555535614490509,
-0.1170339584350586,
0.13749262690544128,
0.3193468451499939,
0.24029766023159027,
-0.07143773138523102,
-0.22173985838890076,
-0.20585627853870392,
-0.17256462574005127,
-0.30550476908683777,
-0.000772569328546524,
-0.11191070824861526,
-0.009208057075738907,
-0.16646060347557068,
0.08844275772571564,
0.14275267720222473,
0.04082103073596954,
-0.22638832032680511,
-0.02249390073120594,
0.0601956807076931,
0.27385595440864563,
-0.14215534925460815,
0.030238620936870575,
-0.0945160984992981,
0.2951414883136749,
-0.022290566936135292,
0.02571384608745575,
0.10993107408285141,
-0.002813737839460373,
0.21688874065876007,
0.22945334017276764,
-0.13384659588336945,
0.11812132596969604,
0.010775834321975708,
-0.16978730261325836,
0.00621379166841507,
0.48082435131073,
-0.014636769890785217,
0.02648176997900009,
0.17683151364326477,
0.15897074341773987,
0.031962014734745026,
-0.18812277913093567,
0.008075602352619171,
0.17392636835575104,
-0.09362991899251938,
-0.3064141869544983,
0.45865705609321594,
0.10087791085243225,
-0.05705134943127632,
0.41542673110961914,
-0.004411526024341583,
-0.32299116253852844,
-0.04137903079390526,
0.16605281829833984,
0.9769725799560547,
0.14073556661605835,
0.14707012474536896,
-0.28296083211898804,
-0.135585218667984,
0.1532955765724182,
-0.8435906767845154,
0.22522522509098053,
-0.2885778546333313,
-0.09122469276189804,
-0.0009309649467468262,
-0.15991921722888947,
0.014099135994911194,
-0.05003397911787033,
-0.2785132825374603,
-0.03310194984078407,
0.03955550491809845,
0.4755237400531769,
-0.06141313165426254,
0.14638257026672363,
-0.3550448417663574,
-0.043612271547317505,
-0.12213902175426483,
0.1887776255607605,
-0.16907775402069092,
0.10489970445632935,
-0.19379577040672302,
-0.1460183560848236,
-0.2664961516857147,
-0.11043213307857513,
-0.2500131130218506,
-0.24802950024604797,
-0.27622655034065247,
0.24142363667488098,
-0.07323715090751648,
0.08507929742336273,
-0.3065200448036194,
-0.25428178906440735,
0.2998088598251343,
0.02730235829949379,
-0.47090408205986023,
0.18890853226184845,
0.2833292484283447,
0.2355167120695114,
0.17901819944381714,
-0.344576358795166,
0.06897060573101044,
-0.17181891202926636,
0.03796396404504776,
-0.1424930989742279,
-0.3038281500339508,
-0.4105527400970459,
-0.20671972632408142,
0.12915968894958496,
-0.3732994794845581,
-0.004701126366853714,
-0.0736432820558548,
0.23549097776412964,
-0.39317551255226135,
-0.08016049861907959,
0.23554007709026337,
0.24812622368335724,
-0.08280547708272934,
0.22139978408813477,
0.05209899693727493,
-0.29245930910110474,
-0.10287638008594513,
0.2502889335155487,
0.07949233055114746,
0.0005874931812286377,
0.15250162780284882,
-0.09684531390666962,
-0.38403546810150146,
-0.1945095956325531,
0.04710915684700012,
0.07838254421949387,
-0.19945257902145386,
0.1852668970823288,
-0.23063741624355316,
-0.1893690824508667,
0.013241949491202831,
-0.05821206793189049,
0.17774152755737305,
0.2254708707332611,
-0.08358816802501678,
-0.3097570538520813,
-0.055663399398326874,
-0.07932564616203308,
-0.3756174147129059,
0.08349870145320892,
-0.25047585368156433,
-0.08128765225410461,
0.1466759592294693,
0.028185078874230385,
-0.43079885840415955,
0.24514953792095184,
-0.05613512545824051,
0.08302594721317291,
0.09511639922857285,
-0.2566438317298889,
0.49652189016342163,
0.05800054594874382,
0.09926895797252655,
0.22571410238742828,
-0.4660731256008148,
-0.3135875463485718,
0.25063377618789673,
0.11224981397390366,
-0.06975430250167847,
-0.27125728130340576,
-0.06733694672584534,
-0.033561669290065765,
-0.03173545375466347,
0.01920318230986595,
-0.05842429772019386,
0.20871856808662415,
-0.052149780094623566,
0.19071489572525024,
-0.13963457942008972,
-0.13320806622505188,
0.10474474728107452,
0.022422663867473602,
-0.1453932523727417,
0.2784603238105774,
-0.2879294753074646,
0.09458662569522858,
-0.2563767731189728,
0.06675112247467041,
0.19823956489562988,
0.20394811034202576,
-0.22479291260242462,
0.20424583554267883,
0.0799214094877243,
-0.1960427612066269,
0.06544280052185059,
0.14298322796821594,
0.04381150007247925,
0.22475861012935638,
0.00965093169361353,
-0.21885092556476593,
0.015422736294567585,
0.269311785697937,
0.11049257218837738,
-0.12821312248706818,
-0.04138895869255066,
-0.03381757438182831,
0.007419746369123459,
0.11988547444343567,
0.4930334985256195,
-0.25085151195526123,
0.22356905043125153,
0.18744543194770813,
0.45041623711586,
-0.5864654779434204,
0.09620371460914612,
-0.11254030466079712,
-0.07471652328968048,
0.08136031031608582,
0.28266027569770813,
-0.07263526320457458,
0.13141705095767975,
0.44246989488601685,
-0.0005143210291862488,
0.12271986156702042,
0.32796403765678406,
0.13324014842510223,
-0.5042337775230408,
-0.26847729086875916,
0.1889289766550064,
0.39814621210098267,
-0.2574804723262787,
0.3294932246208191,
0.2190575748682022,
0.21324396133422852,
0.04820727929472923,
0.14500407874584198,
-0.14703474938869476,
-0.10379701852798462,
-0.27537092566490173,
-0.1934131681919098,
0.12908299267292023,
-0.10105554759502411,
-0.12060782313346863,
0.20644670724868774,
-0.16406258940696716,
0.19693464040756226,
0.2516304850578308,
0.21732763946056366,
0.05479986220598221,
0.09485417604446411,
0.3128889799118042,
-0.11258042603731155,
0.18807268142700195,
-0.23896269500255585,
0.19703617691993713,
-0.030189931392669678,
-0.3391549289226532,
0.3722098469734192,
0.13998247683048248,
0.37447360157966614,
0.19329136610031128,
0.052920129150152206,
-0.051135800778865814,
0.06078686565160751,
-0.11304210126399994,
-0.21795886754989624,
0.5100338459014893,
0.2246020883321762,
-0.2611774206161499,
-0.14389170706272125,
0.2011038064956665,
-0.2964000999927521,
0.2192784547805786,
-0.02382475510239601,
0.09679880738258362,
0.1589500457048416,
-0.2015606164932251,
0.28089404106140137,
-0.12994179129600525,
-0.04987707734107971,
0.017029419541358948,
-0.2568590044975281,
-0.24753473699092865,
0.3313245177268982,
-0.16112934052944183,
0.1184430792927742,
-0.01487295888364315,
0.13051067292690277,
0.2580236792564392,
0.5581209063529968,
0.003251694142818451,
-0.4141342341899872,
-0.2901363670825958,
0.05997011065483093,
-0.4329284727573395,
0.010855205357074738,
0.035179853439331055,
0.4239945709705353,
-0.13497991859912872,
0.3654841482639313,
0.17361925542354584,
0.017439674586057663,
0.25523829460144043,
-0.02251507341861725,
0.2455342710018158,
0.009633876383304596,
-0.41577789187431335,
0.30723753571510315,
0.2213052213191986,
0.1472058743238449,
0.04629874229431152,
-0.3644074499607086,
0.30230480432510376,
0.2876671552658081,
0.267273873090744,
-0.24765606224536896,
-0.09079170972108841,
0.2978014349937439,
0.3273348808288574,
0.35406604409217834,
0.14209558069705963,
-0.03154529631137848,
-0.07644550502300262,
-0.19460326433181763,
-0.3246733844280243,
0.08121947944164276,
0.13243362307548523,
-0.02143576741218567,
0.16225017607212067,
0.17342989146709442,
-0.23614837229251862,
-0.1261691153049469,
-0.3121291697025299,
0.06361667066812515,
-0.3616397976875305,
0.19527579843997955,
-0.1392982453107834,
0.20785202085971832,
0.027212001383304596,
0.17563103139400482,
-0.14888782799243927,
0.3360265791416168,
0.07387015968561172,
-0.0929306223988533,
-0.5434408187866211,
-0.26723289489746094,
0.35598987340927124,
-0.3943727910518646,
-0.15740062296390533,
0.08079304546117783,
0.4216800034046173,
0.3155973553657532,
0.08785513788461685,
-0.31850242614746094,
0.15670233964920044,
0.3019445240497589,
0.07259552925825119,
-0.2196875363588333,
0.22252409160137177,
-0.24111884832382202,
-0.013945657759904861,
-0.058351680636405945,
0.2537059187889099,
0.3058549761772156,
-0.28374266624450684,
-0.36341074109077454,
-0.24289172887802124
] |
https://github.com/huggingface/datasets/pull/449 | add reuters21578 dataset | > Awesome !
> Good job on parsing these files :O
>
> Do you think it would be hard to get the two other split configurations ?
It shouldn't be that hard, I think I can consider different config names for each split | This PR adds the `Reuters_21578` dataset https://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html
#353
The datasets is a lit of `.sgm` files which are a bit different from xml file indeed `xml.etree` couldn't be used to read files. I consider them as text file (to avoid using external library) and read line by line (maybe there is a better way to do, happy to get your opinion on it)
In the Readme file 3 ways to split the dataset are given.:
- The Modified Lewis ("ModLewis") Split: train, test and unused-set
- The Modified Apte ("ModApte") Split : train, test and unused-set
- The Modified Hayes ("ModHayes") Split: train and test
Here I consider the last one as the readme file highlight that this split provides the ability to compare results with those of the 2 first splits.
| 44 | text: add reuters21578 dataset
This PR adds the `Reuters_21578` dataset https://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html
#353
The datasets is a lit of `.sgm` files which are a bit different from xml file indeed `xml.etree` couldn't be used to read files. I consider them as text file (to avoid using external library) and read line by line (maybe there is a better way to do, happy to get your opinion on it)
In the Readme file 3 ways to split the dataset are given.:
- The Modified Lewis ("ModLewis") Split: train, test and unused-set
- The Modified Apte ("ModApte") Split : train, test and unused-set
- The Modified Hayes ("ModHayes") Split: train and test
Here I consider the last one as the readme file highlight that this split provides the ability to compare results with those of the 2 first splits.
> Awesome !
> Good job on parsing these files :O
>
> Do you think it would be hard to get the two other split configurations ?
It shouldn't be that hard, I think I can consider different config names for each split | [
-0.38160330057144165,
0.056641265749931335,
-0.12096026539802551,
0.20846915245056152,
0.017716826871037483,
0.12616512179374695,
0.26553505659103394,
0.18744990229606628,
-0.15172259509563446,
0.1842784732580185,
-0.2555229365825653,
-0.008757014758884907,
-0.1493266373872757,
0.171827495098114,
0.04324249178171158,
-0.10727742314338684,
0.003947898745536804,
-0.004940785467624664,
0.02260664477944374,
-0.012879747897386551,
-0.1547442078590393,
0.1664348691701889,
-0.21817326545715332,
-0.23519302904605865,
-0.1841115951538086,
-0.19915340840816498,
-0.14207139611244202,
0.3122764825820923,
-0.39744436740875244,
-0.24978876113891602,
-0.3800784945487976,
0.20059522986412048,
-0.16439329087734222,
0.4140603244304657,
-0.00011045419523725286,
-0.0787486582994461,
-0.09566885232925415,
-0.2548597753047943,
-0.0689740851521492,
0.09771460294723511,
-0.7082905769348145,
-0.2463008165359497,
-0.1971248835325241,
-0.35661742091178894,
-0.09215032309293747,
-0.37112957239151,
-0.00894295983016491,
-0.3427332639694214,
0.5926406979560852,
0.4948178231716156,
0.19181916117668152,
-0.018843956291675568,
-0.16397669911384583,
-0.12285266816616058,
0.6725190281867981,
0.4298180341720581,
-0.13200919330120087,
-0.12592898309230804,
0.1576884388923645,
0.6171532273292542,
0.03767544403672218,
0.3992621600627899,
0.0873350128531456,
-0.03202586621046066,
0.014651313424110413,
0.08331074565649033,
0.21389415860176086,
-0.2514193654060364,
0.20037248730659485,
0.22826820611953735,
0.7167772650718689,
0.02217826433479786,
-0.1643897444009781,
-0.3788737654685974,
-0.2014334797859192,
-0.13566584885120392,
0.025491725653409958,
0.25986018776893616,
0.03748840093612671,
0.14346444606781006,
0.15084269642829895,
-0.32620102167129517,
-0.34163251519203186,
0.08618836104869843,
-0.17793241143226624,
0.32683759927749634,
-0.1145237386226654,
-0.0037153735756874084,
0.06338313221931458,
0.021949689835309982,
0.02384311705827713,
-0.07516591995954514,
0.03154439479112625,
0.14548492431640625,
0.10734215378761292,
0.03000684082508087,
-0.2921084761619568,
-0.014764785766601562,
-0.143304705619812,
0.20421640574932098,
-0.345272034406662,
0.31231120228767395,
0.2146262228488922,
-0.005588896572589874,
0.09072110056877136,
-0.24316413700580597,
-0.18168923258781433,
0.5025015473365784,
0.04594051465392113,
0.06689257174730301,
-0.0021605193614959717,
0.04421753063797951,
0.15581652522087097,
-0.29948529601097107,
-0.408531129360199,
-0.12084365636110306,
0.05690755695104599,
-0.1980535387992859,
-0.11659012734889984,
-0.05682814121246338,
-0.08251069486141205,
-0.35389822721481323,
-0.025540534406900406,
0.2879069745540619,
0.0638606995344162,
-0.02561064437031746,
0.12956829369068146,
0.004371250048279762,
-0.257317453622818,
-0.2983744144439697,
-0.22896544635295868,
0.25327011942863464,
-0.250841349363327,
0.06371188163757324,
0.18567487597465515,
-0.03391989693045616,
-0.0020424434915184975,
-0.006262799724936485,
-0.249351367354393,
-0.07345470041036606,
0.13288623094558716,
-0.014840716496109962,
0.3733241558074951,
0.26139146089553833,
0.12629468739032745,
0.06848064810037613,
-0.2145700305700302,
-0.054918043315410614,
-0.3330046236515045,
-0.17517396807670593,
0.039841391146183014,
-0.2573931813240051,
-0.1334763467311859,
0.2570493519306183,
-0.032277241349220276,
0.045434437692165375,
0.08317412436008453,
0.4876083433628082,
-0.07841988652944565,
0.10339416563510895,
0.1070147380232811,
0.24817043542861938,
-0.26739320158958435,
-0.08993032574653625,
0.18941736221313477,
0.5119460225105286,
-0.5089123845100403,
0.005585707724094391,
-0.33073025941848755,
-0.3165943920612335,
0.2603372633457184,
-0.0676794946193695,
-0.08737045526504517,
0.3027656078338623,
-0.08459404110908508,
0.2286764532327652,
0.7438281774520874,
-0.003557838499546051,
-0.18766145408153534,
0.2790120244026184,
0.023471206426620483,
-0.27515408396720886,
0.547904908657074,
0.12271727621555328,
0.29636454582214355,
-0.017272373661398888,
-0.14129623770713806,
-0.009595414623618126,
-0.3003329336643219,
0.02110906131565571,
-0.15153078734874725,
-0.25260215997695923,
0.043916698545217514,
0.3213830888271332,
0.4714190363883972,
-0.34082505106925964,
0.27620023488998413,
0.233109712600708,
0.5111952424049377,
-0.08183495700359344,
0.271960973739624,
0.005447860807180405,
0.11254312843084335,
0.1857444792985916,
0.005524937529116869,
-0.44291502237319946,
-0.31543228030204773,
0.029049374163150787,
-0.12038698047399521,
0.1926662027835846,
0.007589079439640045,
-0.2060059905052185,
-0.29610568284988403,
-0.3141631782054901,
-0.27276611328125,
-0.17360913753509521,
0.11885139346122742,
0.2565850615501404,
-0.0676613375544548,
-0.15069514513015747,
-0.21552233397960663,
0.3726029694080353,
-0.13039462268352509,
0.1430400013923645,
-0.2840404510498047,
0.058380141854286194,
-0.2551323473453522,
-0.03619353473186493,
-0.08380500227212906,
0.058609381318092346,
0.05342133715748787,
-0.28669872879981995,
0.047952234745025635,
0.2557024657726288,
0.34486544132232666,
0.2502354383468628,
0.05264868214726448,
0.22733280062675476,
0.15070699155330658,
-0.17369087040424347,
0.1489846110343933,
-0.1727769523859024,
-0.035915084183216095,
-0.19742920994758606,
-0.4003022015094757,
0.14323922991752625,
0.07924926280975342,
0.022606275975704193,
0.04262828826904297,
-0.15461288392543793,
0.09964875876903534,
-0.04729644954204559,
-0.11309663951396942,
-0.43638861179351807,
0.03886762261390686,
0.22137810289859772,
0.17869281768798828,
-0.09884926676750183,
-0.29145896434783936,
0.13161207735538483,
0.4057966470718384,
-0.09278787672519684,
-0.10756247490644455,
-0.20995911955833435,
0.006230659782886505,
-0.01871781423687935,
-0.0464145690202713,
0.35688862204551697,
0.2799674868583679,
0.32458803057670593,
0.36413100361824036,
0.2826668322086334,
0.15970872342586517,
-0.15005643665790558,
0.26506784558296204,
0.29265639185905457,
-0.06552567332983017,
0.32591697573661804,
-0.10042636841535568,
-0.08580028265714645,
-0.18240505456924438,
0.07679334282875061,
0.29886195063591003,
0.15390992164611816,
-0.2699584662914276,
0.06535202264785767,
-0.04544977843761444,
-0.09139334410429001,
-0.5973175764083862,
-0.05349506810307503,
0.007693599909543991,
-0.41019630432128906,
0.21125827729701996,
-0.11864547431468964,
-0.14184361696243286,
0.1576618254184723,
-0.29978933930397034,
0.4702824354171753,
-0.1043928861618042,
0.024640843272209167,
-0.29231271147727966,
0.08282285183668137,
-0.017871465533971786,
0.16874827444553375,
0.5567584037780762,
0.40420016646385193,
0.5236967206001282,
-0.27725571393966675,
-0.008432385511696339,
-0.307406485080719,
-0.4582963287830353,
0.44429558515548706,
-0.14988502860069275,
0.18054059147834778,
0.36054715514183044,
-0.08095908164978027,
0.42272377014160156,
-0.10391318798065186,
0.08328542858362198,
0.12790969014167786,
-0.2055494338274002,
-0.18356232345104218,
-0.11516828089952469,
-0.2161768227815628,
-0.07946375012397766,
-1.0105255842208862,
-0.3261858820915222,
-0.31739261746406555,
0.1751435399055481,
0.05935439094901085,
0.31621474027633667,
0.12145166099071503,
-0.15120862424373627,
0.1872936487197876,
-0.03942278027534485,
0.09283743798732758,
-0.22148552536964417,
-0.032143883407115936,
0.3482886552810669,
-0.37807324528694153,
-0.04086989536881447,
0.4038684368133545,
0.22516678273677826,
-0.07801258563995361,
0.09311379492282867,
-0.23107321560382843,
0.4022904932498932,
-0.06076507270336151,
0.009840060025453568,
-0.004167359322309494,
0.16688905656337738,
0.40387898683547974,
0.06155654042959213,
-0.08203213661909103,
-0.12911385297775269,
0.17011158168315887,
0.12589241564273834,
0.023247601464390755,
0.06958076357841492,
-0.23398995399475098,
-0.06999781727790833,
-0.07420407235622406,
0.6777125597000122,
0.13669084012508392,
0.009537048637866974,
-0.11550518870353699,
-0.10124831646680832,
0.08785660564899445,
0.057243622839450836,
-0.26458996534347534,
0.27803555130958557,
0.15713155269622803,
-0.022723769769072533,
0.5017172694206238,
0.01361357793211937,
-0.12498728185892105,
-0.14744701981544495,
0.2809130847454071,
-0.2706742584705353,
-0.43912264704704285,
0.16013669967651367,
0.39698663353919983,
0.3194270133972168,
-0.19163015484809875,
-0.13571956753730774,
0.025008603930473328,
-0.21254968643188477,
-0.07352088391780853,
0.2890516519546509,
-0.25089922547340393,
-0.04924529045820236,
-0.25425997376441956,
0.3543113172054291,
-0.1920807957649231,
0.41253674030303955,
0.20941703021526337,
-0.16627620160579681,
-0.16568021476268768,
-0.19994321465492249,
0.18919572234153748,
-0.04328138753771782,
0.38835543394088745,
-0.543355405330658,
-0.12528318166732788,
0.25609090924263,
0.3812525272369385,
-0.05308501049876213,
-0.08005184680223465,
-0.449431836605072,
0.27602100372314453,
0.3102801740169525,
0.47464367747306824,
-0.2262324094772339,
-0.32682928442955017,
0.4757489562034607,
0.12455831468105316,
-0.19838324189186096,
-0.036100391298532486,
-0.021383650600910187,
-0.1826193630695343,
-0.014529974199831486,
0.17224787175655365,
0.06631096452474594,
0.02581641636788845,
0.20863403379917145,
-0.1550537794828415,
0.2854244112968445,
0.06901510804891586,
0.3959318995475769,
0.07868382334709167,
0.04776813089847565,
0.1764262318611145,
-0.09981054067611694,
0.35437145829200745,
0.19862359762191772,
0.23260848224163055,
0.6371046304702759,
-0.18936511874198914,
-0.20029902458190918,
0.33251166343688965,
-0.5784913301467896,
0.303180992603302,
0.5524277687072754,
-0.09666775166988373,
-0.09781341999769211,
0.3072887659072876,
0.14327824115753174,
-0.14305062592029572,
0.29493358731269836,
0.2023872584104538,
-0.13754844665527344,
-0.40370839834213257,
-0.4758644998073578,
0.23002436757087708,
-0.06238388642668724,
-0.2535201907157898,
-0.040275007486343384,
0.09749559313058853,
-0.5441716909408569,
0.02911056950688362,
0.13936644792556763,
1.171087384223938,
0.007395695894956589,
0.0005116313695907593,
0.1649065613746643,
-0.15167249739170074,
0.22318609058856964,
-0.5802462697029114,
0.03109954670071602,
-0.20556579530239105,
0.11416120827198029,
-0.23107077181339264,
-0.13338449597358704,
0.28039732575416565,
0.15457279980182648,
-0.28266650438308716,
0.1314857453107834,
0.12609802186489105,
0.1379934400320053,
-0.18706609308719635,
0.6214675307273865,
0.045443639159202576,
-0.016664505004882812,
-0.11141139268875122,
0.1165880411863327,
-0.03217421472072601,
-0.16266946494579315,
0.006814837455749512,
-0.11316020786762238,
-0.2543227970600128,
0.06629913300275803,
-0.38512122631073,
-0.20624575018882751,
-0.27746766805648804,
0.04770151898264885,
-0.30855831503868103,
0.06312152743339539,
0.502467930316925,
-0.0996367484331131,
0.053214117884635925,
-0.05627628043293953,
-0.1408253163099289,
0.1689179539680481,
-0.15203914046287537,
-0.0794992670416832,
0.010546394623816013,
-0.03899875655770302,
0.3107098937034607,
-0.11191488057374954,
-0.10821841657161713,
0.17592822015285492,
-0.11483480781316757,
-0.30371028184890747,
-0.40424999594688416,
-0.10883061587810516,
0.48257797956466675,
-0.5076681971549988,
0.027044329792261124,
0.3695486783981323,
-0.15836749970912933,
-0.13517050445079803,
0.10917666554450989,
-0.3284153342247009,
-0.14683063328266144,
0.44203293323516846,
-0.19750776886940002,
-0.27742835879325867,
-0.15117400884628296,
0.08140015602111816,
0.05919138342142105,
-0.09621880203485489,
0.09095802903175354,
0.47224289178848267,
-0.3376656770706177,
-0.44447386264801025,
0.0514274463057518,
-0.11183755099773407,
-0.20549288392066956,
-0.1454903483390808,
-0.09329225867986679,
-0.10685138404369354,
0.25015711784362793,
0.3979247212409973,
0.18670126795768738,
0.017472799867391586,
-0.10656794160604477,
-0.22541366517543793,
-0.08585897088050842,
-0.01883530616760254,
0.3524031341075897,
0.41361117362976074,
-0.28972071409225464,
0.0781232938170433,
-0.08806584030389786,
0.08914509415626526,
-0.40172216296195984,
0.19068974256515503,
0.18191048502922058,
0.2785985767841339,
0.16132457554340363,
-0.10137077420949936,
0.1534155309200287,
-0.10658234357833862,
0.11846643686294556,
-0.11565148830413818,
-0.5977030396461487,
-0.19351482391357422,
-0.06329345703125,
0.1970006227493286,
-0.09589387476444244,
-0.1737373173236847,
0.17922262847423553,
0.07403778284788132,
-0.07250204682350159,
0.022712210193276405,
0.28832268714904785,
0.14630094170570374,
-0.008327305316925049,
0.1420518457889557,
0.12817704677581787,
-0.03711135685443878,
-0.1795857548713684,
0.1217324510216713,
0.10057253390550613,
0.2471972107887268,
0.1205676794052124,
0.3617914617061615,
-0.1840108036994934,
-0.22620481252670288,
0.16682617366313934,
0.34874188899993896,
0.39894282817840576,
0.1129421591758728,
0.03087693080306053,
-0.04048514366149902,
0.02662290260195732,
0.3930067718029022,
0.3568005859851837,
0.44623178243637085,
-0.12477345019578934,
-0.08267643302679062,
-0.040964365005493164,
0.2604210376739502,
-0.324614942073822,
0.11200637370347977,
0.1558244377374649,
-0.08810504525899887,
0.18859970569610596,
0.3608974516391754,
0.2966810464859009,
0.04887084662914276,
-0.07072806358337402,
0.19434133172035217,
0.1925763636827469,
-0.0014204494655132294,
0.3829576373100281,
0.19446030259132385,
-0.27000901103019714,
-0.017543982714414597,
0.35067513585090637,
0.16841933131217957,
-0.0014755353331565857,
0.3119676113128662,
-0.15475866198539734,
0.45107173919677734,
0.08571571111679077,
0.2284250110387802,
0.16289551556110382,
-0.23701211810112,
0.41822969913482666,
0.46129000186920166,
-0.1557406485080719,
0.17373505234718323,
0.1174667552113533,
0.22790595889091492,
0.0012136222794651985,
0.02098323404788971,
-0.0638347715139389,
0.25529277324676514,
-0.06640255451202393,
0.16009867191314697,
-0.055988557636737823,
-0.49569928646087646,
-0.5493454933166504,
-0.026163775473833084,
0.05584503337740898,
-0.2691274881362915,
0.29619988799095154,
0.217794269323349,
0.0594293475151062,
0.10865140706300735,
0.2333773672580719,
-0.3384103775024414,
0.23699980974197388,
-0.5035125017166138,
0.15432678163051605,
0.1086106076836586,
-0.20874318480491638,
0.37671783566474915,
0.01973843201994896,
0.0003660134971141815,
0.039479076862335205,
-0.16848085820674896,
0.07073378562927246,
-0.06037556007504463,
-0.09546343982219696,
0.0558001771569252,
0.1165124922990799,
-0.11090119183063507,
-0.04548443481326103,
0.40684249997138977,
0.11870646476745605,
-0.21525737643241882,
-0.17038190364837646,
0.2196468710899353,
-0.06273922324180603,
-0.20204082131385803,
-0.13759398460388184,
0.1575814187526703,
-0.0022720210254192352,
-0.2116820216178894,
-0.20303577184677124,
-0.5115092992782593,
-0.4355122447013855,
0.21769779920578003,
-0.1778467446565628,
0.25237494707107544,
0.17406581342220306,
0.08261624723672867,
0.042420290410518646,
0.31599363684654236,
0.05650616064667702,
0.03712429106235504,
-0.09469262510538101,
-0.18741434812545776,
-0.39107587933540344,
-0.04787137359380722,
-0.049713101238012314,
-0.2653852701187134,
-0.08942924439907074,
0.47286808490753174,
0.3099686801433563,
0.08097155392169952,
0.37155795097351074,
0.13856269419193268,
-0.08908230811357498,
0.1735043227672577,
-0.3529930114746094,
0.14609168469905853,
0.24350564181804657,
-0.03494323045015335,
-0.054143328219652176,
-0.23403656482696533,
0.08546460419893265,
-0.03291817754507065,
-0.008739322423934937,
-0.22398003935813904,
-0.29685625433921814,
0.30775701999664307,
0.04589788615703583,
0.20856459438800812,
-0.08618234843015671,
0.4211510717868805,
-0.18681243062019348,
-0.2274680733680725,
-0.18527817726135254,
0.05829145386815071,
-0.2599240243434906,
0.3621548116207123,
0.09043526649475098,
0.3941730558872223,
-0.09200801700353622,
0.06230391934514046,
-0.3661534786224365,
0.029126442968845367,
-0.13023704290390015,
-0.09603489190340042,
-0.3534926474094391,
0.11296748369932175,
-0.11970669031143188,
0.3553399443626404,
0.053789172321558,
0.15698374807834625,
-0.06936788558959961,
-0.12660489976406097,
-0.24265357851982117,
-0.3235436677932739,
0.37301525473594666,
-0.02348301373422146,
-0.1455794870853424,
-0.1036422848701477,
0.32889053225517273,
0.46245306730270386,
0.4856351315975189,
-0.563925564289093,
-0.12591442465782166,
0.420693963766098,
-0.19650432467460632,
0.2094271332025528,
0.1669633686542511,
0.13897839188575745,
-0.28296786546707153,
-0.1380629986524582,
-0.04030473530292511,
0.03641673922538757,
-0.17438861727714539,
-0.26946911215782166,
-0.4170457124710083
] |
https://github.com/huggingface/datasets/pull/449 | add reuters21578 dataset | > > Awesome !
> > Good job on parsing these files :O
> > Do you think it would be hard to get the two other split configurations ?
>
> It shouldn't be that hard, I think I can consider different config names for each split
Yes that would be perfect | This PR adds the `Reuters_21578` dataset https://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html
#353
The datasets is a lit of `.sgm` files which are a bit different from xml file indeed `xml.etree` couldn't be used to read files. I consider them as text file (to avoid using external library) and read line by line (maybe there is a better way to do, happy to get your opinion on it)
In the Readme file 3 ways to split the dataset are given.:
- The Modified Lewis ("ModLewis") Split: train, test and unused-set
- The Modified Apte ("ModApte") Split : train, test and unused-set
- The Modified Hayes ("ModHayes") Split: train and test
Here I consider the last one as the readme file highlight that this split provides the ability to compare results with those of the 2 first splits.
| 53 | text: add reuters21578 dataset
This PR adds the `Reuters_21578` dataset https://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html
#353
The datasets is a lit of `.sgm` files which are a bit different from xml file indeed `xml.etree` couldn't be used to read files. I consider them as text file (to avoid using external library) and read line by line (maybe there is a better way to do, happy to get your opinion on it)
In the Readme file 3 ways to split the dataset are given.:
- The Modified Lewis ("ModLewis") Split: train, test and unused-set
- The Modified Apte ("ModApte") Split : train, test and unused-set
- The Modified Hayes ("ModHayes") Split: train and test
Here I consider the last one as the readme file highlight that this split provides the ability to compare results with those of the 2 first splits.
> > Awesome !
> > Good job on parsing these files :O
> > Do you think it would be hard to get the two other split configurations ?
>
> It shouldn't be that hard, I think I can consider different config names for each split
Yes that would be perfect | [
-0.37741273641586304,
0.04802662134170532,
-0.12697945535182953,
0.18981236219406128,
0.021075613796710968,
0.10706328600645065,
0.2673153579235077,
0.17953051626682281,
-0.1481226235628128,
0.17226804792881012,
-0.23497824370861053,
-0.002419345313683152,
-0.16059109568595886,
0.19564324617385864,
0.051088131964206696,
-0.11818566918373108,
-0.00006720423698425293,
-0.011934593319892883,
0.03122584894299507,
0.006685726344585419,
-0.16390693187713623,
0.15590298175811768,
-0.21862466633319855,
-0.2233971804380417,
-0.1791439652442932,
-0.1911323070526123,
-0.1549774706363678,
0.3138633966445923,
-0.4074390232563019,
-0.2542390525341034,
-0.3876205086708069,
0.2024734616279602,
-0.16557516157627106,
0.4213714599609375,
-0.00011008073488483205,
-0.08887715637683868,
-0.08795922994613647,
-0.24053211510181427,
-0.06324052810668945,
0.11048216372728348,
-0.710074782371521,
-0.23926585912704468,
-0.21777358651161194,
-0.3522965610027313,
-0.08721533417701721,
-0.3580642342567444,
-0.020038703456521034,
-0.3318530321121216,
0.5938951969146729,
0.48725923895835876,
0.196890190243721,
-0.04828054457902908,
-0.14574220776557922,
-0.11761641502380371,
0.6521405577659607,
0.42607831954956055,
-0.13865162432193756,
-0.12565122544765472,
0.175263449549675,
0.6036257147789001,
0.04307567700743675,
0.38629549741744995,
0.08639464527368546,
-0.053425099700689316,
0.04683731868863106,
0.07070386409759521,
0.22341316938400269,
-0.25600919127464294,
0.18799003958702087,
0.21905961632728577,
0.7301612496376038,
0.008088313043117523,
-0.1560327112674713,
-0.374254047870636,
-0.20381642878055573,
-0.1527387946844101,
0.002984181046485901,
0.2499302625656128,
0.03370502218604088,
0.1590697467327118,
0.14191552996635437,
-0.32270848751068115,
-0.35682061314582825,
0.07102050632238388,
-0.1884959191083908,
0.32129162549972534,
-0.12522809207439423,
-0.003713667392730713,
0.04865773394703865,
0.01876719854772091,
0.03565340116620064,
-0.07483045756816864,
0.031778011471033096,
0.14956243336200714,
0.11806084215641022,
0.010769709944725037,
-0.2893311679363251,
-0.0122557133436203,
-0.1297527402639389,
0.203174889087677,
-0.34012290835380554,
0.310285747051239,
0.20712971687316895,
0.002133753150701523,
0.09967829287052155,
-0.22899989783763885,
-0.17406976222991943,
0.5057916045188904,
0.02817925252020359,
0.07146595418453217,
0.005103100091218948,
0.04870022088289261,
0.1598535031080246,
-0.28774046897888184,
-0.4181099236011505,
-0.1274223029613495,
0.04994615167379379,
-0.19692933559417725,
-0.10924951732158661,
-0.026777807623147964,
-0.0716509222984314,
-0.3554269075393677,
-0.04479951784014702,
0.3089750111103058,
0.05436545982956886,
-0.023263752460479736,
0.13772739470005035,
-0.00041757524013519287,
-0.23284079134464264,
-0.29146361351013184,
-0.21746030449867249,
0.2567029297351837,
-0.25673985481262207,
0.06440499424934387,
0.16526088118553162,
-0.00900055281817913,
-0.014257922768592834,
-0.006113443523645401,
-0.2368842214345932,
-0.08601847290992737,
0.14453911781311035,
0.0008667986840009689,
0.3766348958015442,
0.2616955637931824,
0.1097099632024765,
0.05824751406908035,
-0.2170381098985672,
-0.08029114454984665,
-0.32267093658447266,
-0.12827184796333313,
0.049190737307071686,
-0.25475242733955383,
-0.1423918753862381,
0.2662673890590668,
-0.037668853998184204,
0.025189228355884552,
0.09651194512844086,
0.4947611391544342,
-0.07300614565610886,
0.10588665306568146,
0.13069133460521698,
0.2459404021501541,
-0.2592182159423828,
-0.09928600490093231,
0.1850714534521103,
0.4991109371185303,
-0.519254744052887,
0.007996052503585815,
-0.3210086524486542,
-0.3207312524318695,
0.26188725233078003,
-0.07773247361183167,
-0.08569686859846115,
0.30438217520713806,
-0.0717352107167244,
0.2175595909357071,
0.748513400554657,
0.013648279011249542,
-0.17033816874027252,
0.2971026599407196,
0.022112317383289337,
-0.27651774883270264,
0.5270181894302368,
0.12220139056444168,
0.2912784218788147,
-0.01956528052687645,
-0.13725318014621735,
-0.013228010386228561,
-0.3067066967487335,
0.030121712014079094,
-0.18329991400241852,
-0.23896966874599457,
0.04872883856296539,
0.3333781063556671,
0.45040208101272583,
-0.3326387405395508,
0.2759881019592285,
0.23402824997901917,
0.5323777794837952,
-0.08292479813098907,
0.2667006254196167,
-0.0018814243376255035,
0.13037800788879395,
0.20007427036762238,
0.006853847298771143,
-0.43919387459754944,
-0.31256791949272156,
0.02392769604921341,
-0.10595455765724182,
0.19511593878269196,
0.019139781594276428,
-0.20928235352039337,
-0.30164414644241333,
-0.3144903779029846,
-0.26940521597862244,
-0.19940757751464844,
0.12393061816692352,
0.2447158396244049,
-0.10243073105812073,
-0.1572970598936081,
-0.23127399384975433,
0.3783855736255646,
-0.12532614171504974,
0.14918678998947144,
-0.2824316620826721,
0.051149047911167145,
-0.2658025026321411,
-0.027692444622516632,
-0.10678248107433319,
0.06932143121957779,
0.03588660806417465,
-0.2760310173034668,
0.05523401126265526,
0.2560432255268097,
0.3342127501964569,
0.2331686019897461,
0.06510673463344574,
0.23417815566062927,
0.16218717396259308,
-0.1822674423456192,
0.1700897365808487,
-0.18062962591648102,
-0.030107799917459488,
-0.2077697515487671,
-0.4092099368572235,
0.15335769951343536,
0.06791865825653076,
0.0031839758157730103,
0.03065110743045807,
-0.1710468977689743,
0.08017236739397049,
-0.060977376997470856,
-0.13392585515975952,
-0.41371652483940125,
0.05292787402868271,
0.21984344720840454,
0.16904230415821075,
-0.1077510416507721,
-0.283701092004776,
0.1283317506313324,
0.38955411314964294,
-0.10537490248680115,
-0.12390819936990738,
-0.20272788405418396,
0.008402682840824127,
-0.017426691949367523,
-0.046582385897636414,
0.3653823435306549,
0.2786860466003418,
0.32434964179992676,
0.35830190777778625,
0.30169135332107544,
0.15790429711341858,
-0.13882587850093842,
0.2676095962524414,
0.28816938400268555,
-0.061932556331157684,
0.3183065950870514,
-0.1249949261546135,
-0.0810830146074295,
-0.16665147244930267,
0.06459188461303711,
0.2808012068271637,
0.1624300628900528,
-0.269225537776947,
0.06646103411912918,
-0.0014951657503843307,
-0.09155812859535217,
-0.5916797518730164,
-0.06284058839082718,
0.008000832051038742,
-0.39800748229026794,
0.20306429266929626,
-0.13521350920200348,
-0.1392965167760849,
0.1445365846157074,
-0.2979666590690613,
0.47863805294036865,
-0.10613282024860382,
0.010084341280162334,
-0.2827903628349304,
0.07514846324920654,
0.006034225225448608,
0.17846308648586273,
0.5562492609024048,
0.3862548768520355,
0.5369737148284912,
-0.2550428509712219,
-0.016330141574144363,
-0.29509830474853516,
-0.4589972198009491,
0.43308326601982117,
-0.16722029447555542,
0.18132151663303375,
0.36126574873924255,
-0.06907683610916138,
0.41423267126083374,
-0.11139590293169022,
0.07483319938182831,
0.1432780623435974,
-0.1982075721025467,
-0.19501015543937683,
-0.0936933159828186,
-0.21657180786132812,
-0.10162028670310974,
-0.9927468299865723,
-0.32841014862060547,
-0.3224759101867676,
0.1933826208114624,
0.06688855588436127,
0.3047417402267456,
0.13339506089687347,
-0.13093701004981995,
0.19076716899871826,
-0.032806649804115295,
0.07990605384111404,
-0.22694724798202515,
-0.040409430861473083,
0.32296302914619446,
-0.37264320254325867,
-0.03826671466231346,
0.386347234249115,
0.2346360832452774,
-0.07811982929706573,
0.07525981962680817,
-0.23350642621517181,
0.4080316424369812,
-0.04519769549369812,
0.02152210846543312,
0.005341462790966034,
0.1768091917037964,
0.39311179518699646,
0.07119306176900864,
-0.07945531606674194,
-0.12255407124757767,
0.15877684950828552,
0.0778999924659729,
0.020239457488059998,
0.08301981538534164,
-0.2155390977859497,
-0.06494971364736557,
-0.06669115275144577,
0.6728856563568115,
0.13847245275974274,
0.0019652023911476135,
-0.11428222060203552,
-0.09921283274888992,
0.08751264214515686,
0.05602877214550972,
-0.26759660243988037,
0.2971517741680145,
0.1449214667081833,
-0.03550863265991211,
0.4892879128456116,
0.019448744133114815,
-0.13282880187034607,
-0.1595361828804016,
0.2797444462776184,
-0.281798779964447,
-0.4168373942375183,
0.16834622621536255,
0.3914656639099121,
0.3194648027420044,
-0.18932028114795685,
-0.16196659207344055,
0.023465387523174286,
-0.21567025780677795,
-0.06024860590696335,
0.3000481426715851,
-0.2555297911167145,
-0.04864462837576866,
-0.2459079772233963,
0.37370359897613525,
-0.19404196739196777,
0.4122738242149353,
0.20055514574050903,
-0.1895608752965927,
-0.15724216401576996,
-0.2081296145915985,
0.18395325541496277,
-0.04847879707813263,
0.39279502630233765,
-0.5385452508926392,
-0.13086757063865662,
0.2518659234046936,
0.3944515883922577,
-0.033731747418642044,
-0.0638340562582016,
-0.4516606628894806,
0.27494916319847107,
0.3042713403701782,
0.45562025904655457,
-0.21712720394134521,
-0.3140585422515869,
0.4706285297870636,
0.12010229378938675,
-0.19592443108558655,
-0.05026913806796074,
-0.021024689078330994,
-0.17293590307235718,
-0.03173193335533142,
0.17480912804603577,
0.08354166895151138,
0.007287155371159315,
0.20087949931621552,
-0.16691206395626068,
0.3033820390701294,
0.0918305516242981,
0.38132840394973755,
0.08341580629348755,
0.026120122522115707,
0.16950540244579315,
-0.09689326584339142,
0.33414870500564575,
0.18514515459537506,
0.2301967889070511,
0.6199862957000732,
-0.20070989429950714,
-0.19302591681480408,
0.30753523111343384,
-0.5820662975311279,
0.32059773802757263,
0.5350803136825562,
-0.07523809373378754,
-0.12053888291120529,
0.3125738203525543,
0.1650095134973526,
-0.1570395827293396,
0.28157752752304077,
0.2067386358976364,
-0.13287033140659332,
-0.424753338098526,
-0.49394434690475464,
0.249988853931427,
-0.06318649649620056,
-0.25471001863479614,
-0.03269796818494797,
0.11857052147388458,
-0.5328855514526367,
0.03234320878982544,
0.14125336706638336,
1.1800740957260132,
0.0026762112975120544,
0.010217614471912384,
0.14918482303619385,
-0.16391420364379883,
0.2256489098072052,
-0.597886323928833,
0.01853165775537491,
-0.22562715411186218,
0.11506319791078568,
-0.23002222180366516,
-0.14083650708198547,
0.2911331057548523,
0.16173416376113892,
-0.3001634180545807,
0.11610834300518036,
0.13355566561222076,
0.10553142428398132,
-0.1799788773059845,
0.6091393828392029,
0.043908022344112396,
-0.0029986724257469177,
-0.10849298536777496,
0.1250111162662506,
-0.030125856399536133,
-0.17894862592220306,
-0.015861742198467255,
-0.10259813815355301,
-0.255221426486969,
0.06762942671775818,
-0.38684511184692383,
-0.21475675702095032,
-0.2791332006454468,
0.010035425424575806,
-0.2928929328918457,
0.07325518131256104,
0.5167691111564636,
-0.09534986317157745,
0.049614984542131424,
-0.050532396882772446,
-0.13623706996440887,
0.1683489829301834,
-0.1516185700893402,
-0.05922587960958481,
0.017054975032806396,
-0.03398189693689346,
0.3177932798862457,
-0.1177002415060997,
-0.11086960136890411,
0.17864373326301575,
-0.11319968104362488,
-0.30791234970092773,
-0.3995661735534668,
-0.09689129889011383,
0.4978156089782715,
-0.5170134902000427,
0.02165115252137184,
0.38084349036216736,
-0.16393733024597168,
-0.1254369020462036,
0.11711984872817993,
-0.3134942650794983,
-0.1690520942211151,
0.4532010555267334,
-0.18778665363788605,
-0.27031195163726807,
-0.1323336362838745,
0.06618902087211609,
0.04209979251027107,
-0.11257346719503403,
0.06739161908626556,
0.47147035598754883,
-0.34807705879211426,
-0.44765549898147583,
0.07082926481962204,
-0.10335953533649445,
-0.19562307000160217,
-0.17085961997509003,
-0.0944141298532486,
-0.11600154638290405,
0.25987759232521057,
0.3957583010196686,
0.1958305984735489,
0.027495916932821274,
-0.09781143069267273,
-0.21675176918506622,
-0.08515440672636032,
-0.023326963186264038,
0.3339322805404663,
0.4161241054534912,
-0.2933855652809143,
0.08730290830135345,
-0.06914082914590836,
0.06291132420301437,
-0.41018617153167725,
0.18442939221858978,
0.18942484259605408,
0.27673107385635376,
0.1697210818529129,
-0.09816990047693253,
0.13321112096309662,
-0.12482744455337524,
0.1236857920885086,
-0.10398600995540619,
-0.6013697385787964,
-0.2003248631954193,
-0.06122196093201637,
0.19540153443813324,
-0.07293067872524261,
-0.17926788330078125,
0.16800400614738464,
0.09047744423151016,
-0.06249867007136345,
0.04652423784136772,
0.2894209921360016,
0.14232346415519714,
-0.00935402512550354,
0.16024725139141083,
0.11882606148719788,
-0.018836960196495056,
-0.17095912992954254,
0.1143374815583229,
0.11449696123600006,
0.26769357919692993,
0.1245807409286499,
0.35978659987449646,
-0.19556552171707153,
-0.22218456864356995,
0.17301075160503387,
0.3696303367614746,
0.3966582417488098,
0.11447609215974808,
0.04820842295885086,
-0.048749879002571106,
0.03000698611140251,
0.38094666600227356,
0.3755461573600769,
0.4433489441871643,
-0.1475353091955185,
-0.08218107372522354,
-0.02854272350668907,
0.2694958448410034,
-0.3056672513484955,
0.12365531921386719,
0.14999134838581085,
-0.09081115573644638,
0.18821726739406586,
0.357042521238327,
0.2860618531703949,
0.05681362748146057,
-0.08126004040241241,
0.1956145465373993,
0.21543703973293304,
-0.015687141567468643,
0.37070903182029724,
0.19328787922859192,
-0.2886529266834259,
-0.022794824093580246,
0.34111645817756653,
0.1830197125673294,
-0.01885121315717697,
0.31226646900177,
-0.14282965660095215,
0.44213613867759705,
0.0881144180893898,
0.2402489185333252,
0.1665244996547699,
-0.21975648403167725,
0.4388159215450287,
0.4491703510284424,
-0.16306546330451965,
0.16995075345039368,
0.12968184053897858,
0.21948975324630737,
0.02414882183074951,
0.0104998629540205,
-0.03600950539112091,
0.238942489027977,
-0.0643450990319252,
0.17341308295726776,
-0.06213390454649925,
-0.49741536378860474,
-0.5702898502349854,
-0.037389423698186874,
0.03762909397482872,
-0.2788047194480896,
0.31108635663986206,
0.21533308923244476,
0.051263611763715744,
0.1091693863272667,
0.22840169072151184,
-0.34921544790267944,
0.23674410581588745,
-0.5152322053909302,
0.15113399922847748,
0.11319591850042343,
-0.20094364881515503,
0.35567837953567505,
0.01880630850791931,
0.010811477899551392,
0.04401221126317978,
-0.18853573501110077,
0.09030959010124207,
-0.07769565284252167,
-0.08878729492425919,
0.0569220706820488,
0.10306324064731598,
-0.1048942357301712,
-0.056677307933568954,
0.39287158846855164,
0.12687157094478607,
-0.21539458632469177,
-0.15791155397891998,
0.236814484000206,
-0.05914273485541344,
-0.19856245815753937,
-0.15206986665725708,
0.16238543391227722,
-0.007528647780418396,
-0.20407210290431976,
-0.2007899284362793,
-0.5252215266227722,
-0.4341801106929779,
0.2310381978750229,
-0.17930352687835693,
0.25588035583496094,
0.17243202030658722,
0.08648306131362915,
0.061751946806907654,
0.30962422490119934,
0.062460269778966904,
0.0381239578127861,
-0.08768283575773239,
-0.18654794991016388,
-0.4031003713607788,
-0.04315043240785599,
-0.03279826417565346,
-0.25692108273506165,
-0.08901052176952362,
0.45394739508628845,
0.309652179479599,
0.09872866421937943,
0.35034510493278503,
0.12909622490406036,
-0.08650609105825424,
0.17576852440834045,
-0.34475502371788025,
0.14592522382736206,
0.2522091865539551,
-0.014243504032492638,
-0.047795966267585754,
-0.2200394570827484,
0.07265114784240723,
-0.03455423563718796,
-0.002903558313846588,
-0.23932971060276031,
-0.2928008437156677,
0.31051525473594666,
0.054017968475818634,
0.20959950983524323,
-0.09424398094415665,
0.41223928332328796,
-0.19049912691116333,
-0.23216736316680908,
-0.16588981449604034,
0.0700574517250061,
-0.2520388066768646,
0.35905271768569946,
0.10464338958263397,
0.37624651193618774,
-0.07722466439008713,
0.028687329962849617,
-0.35925978422164917,
0.01229053270071745,
-0.1284732073545456,
-0.09894882142543793,
-0.36802059412002563,
0.10364177823066711,
-0.08190478384494781,
0.34110525250434875,
0.03476438671350479,
0.16686466336250305,
-0.07458077371120453,
-0.10586797446012497,
-0.2503059208393097,
-0.32326754927635193,
0.388741135597229,
0.0009115301072597504,
-0.15417398512363434,
-0.08956852555274963,
0.31662696599960327,
0.44417428970336914,
0.4787473976612091,
-0.5717388987541199,
-0.12342123687267303,
0.41308099031448364,
-0.20457234978675842,
0.1856350302696228,
0.17063336074352264,
0.13318680226802826,
-0.2844272255897522,
-0.14269648492336273,
-0.04824638366699219,
0.03485564887523651,
-0.15592758357524872,
-0.2660347819328308,
-0.4189959764480591
] |
https://github.com/huggingface/datasets/pull/448 | add aws load metric test | Could you run `make style` to fix the code_quality fail ?
You'll need `black` and `isort` that you can install by doing `pip install -e .[quality]` | Following issue #445
Added a test to recognize import errors of all metrics | 26 | text: add aws load metric test
Following issue #445
Added a test to recognize import errors of all metrics
Could you run `make style` to fix the code_quality fail ?
You'll need `black` and `isort` that you can install by doing `pip install -e .[quality]` | [
-0.5422965884208679,
-0.11232948303222656,
-0.2753813862800598,
-0.12098082900047302,
0.27693575620651245,
-0.12722423672676086,
0.20447508990764618,
0.3115297257900238,
0.033760081976652145,
0.25892964005470276,
0.1367405354976654,
0.2573094069957733,
0.07198438793420792,
0.38947439193725586,
0.023555662482976913,
0.038303717970848083,
-0.1328844428062439,
0.2273598313331604,
-0.12099750339984894,
0.05802150070667267,
-0.2600899934768677,
0.18182744085788727,
0.05095642805099487,
-0.2647475004196167,
-0.09403175115585327,
0.16406778991222382,
0.22469854354858398,
-0.06025751680135727,
-0.4100963771343231,
-0.4241299033164978,
0.12014096975326538,
0.14946003258228302,
-0.18555812537670135,
0.15385688841342926,
-0.00010819471208378673,
-0.1300675868988037,
0.43543416261672974,
-0.038339052349328995,
0.04252336546778679,
-0.2078215628862381,
-0.3411719501018524,
-0.3189489245414734,
0.21772116422653198,
-0.11308041214942932,
-0.048641055822372437,
0.17262203991413116,
-0.3371429443359375,
0.13596302270889282,
0.6119168996810913,
0.49383172392845154,
0.29956451058387756,
0.38798943161964417,
0.1242825835943222,
0.01658378355205059,
0.07025657594203949,
-0.32275617122650146,
-0.09747480601072311,
0.18309378623962402,
0.16509225964546204,
-0.01746831275522709,
0.041997279971838,
0.3334644138813019,
0.06178733706474304,
0.2989075779914856,
0.1615135669708252,
-0.1988489031791687,
0.5164504051208496,
-0.0775413066148758,
-0.1600504219532013,
0.019261788576841354,
0.34820979833602905,
0.007732078433036804,
-0.3058737516403198,
0.15278586745262146,
0.09515455365180969,
-0.5564189553260803,
0.13261978328227997,
-0.05607166141271591,
0.08604219555854797,
0.11784926056861877,
-0.2626446783542633,
-0.1617756485939026,
-0.35304340720176697,
0.15165597200393677,
-0.08422795683145523,
0.1466052383184433,
-0.20585496723651886,
-0.14388608932495117,
-0.06283015012741089,
0.03538430854678154,
0.05982886254787445,
0.11099714785814285,
-0.3311818242073059,
0.1434408724308014,
-0.24000005424022675,
-0.054513201117515564,
0.22587689757347107,
-0.09041848033666611,
-0.054296161979436874,
0.4488881230354309,
0.09058574587106705,
0.1949273645877838,
0.25053250789642334,
0.29172560572624207,
-0.325445294380188,
0.39055269956588745,
0.49450773000717163,
0.013194055296480656,
0.14605844020843506,
0.07673211395740509,
0.1683860868215561,
-0.13817977905273438,
0.1818874478340149,
-0.4337509274482727,
-0.03028648905456066,
0.14090487360954285,
0.13748785853385925,
-0.33280330896377563,
-0.45967093110084534,
0.17513421177864075,
0.17309284210205078,
-0.28941723704338074,
0.06577928364276886,
0.2958918511867523,
0.2109857052564621,
-0.15332412719726562,
0.2505117654800415,
0.4052826762199402,
-0.246295765042305,
0.0024427277967333794,
-0.12352005392313004,
0.10363788902759552,
-0.19280114769935608,
-0.07271143049001694,
0.14730991423130035,
0.05977905914187431,
0.3170909285545349,
0.05630091577768326,
0.12220627814531326,
-0.28997939825057983,
0.22298511862754822,
0.28066492080688477,
-0.026978008449077606,
0.4416537284851074,
0.04100115969777107,
0.044523194432258606,
0.096102274954319,
-0.2802596986293793,
0.14448463916778564,
-0.05532518029212952,
-0.3599016070365906,
-0.3201155960559845,
-0.08503774553537369,
0.3358311057090759,
-0.33593881130218506,
-0.1588331013917923,
-0.1257915198802948,
-0.05182895436882973,
-0.06324031203985214,
-0.18032129108905792,
-0.05054561048746109,
-0.07367335259914398,
0.17401620745658875,
0.08207156509160995,
0.22607195377349854,
0.29510071873664856,
-0.09758935123682022,
-0.37435877323150635,
-0.2494402825832367,
-0.046655695885419846,
0.4387515187263489,
0.06989678740501404,
0.19593290984630585,
-0.005657076835632324,
0.008912215009331703,
-0.07531537115573883,
0.7000573873519897,
-0.3698025941848755,
-0.12405720353126526,
0.3128730058670044,
-0.23508748412132263,
-0.26964351534843445,
0.19995343685150146,
-0.3651253581047058,
-0.07010786980390549,
0.0667029470205307,
0.11098677664995193,
0.01621164195239544,
0.11464294791221619,
-0.05560455098748207,
-0.34498968720436096,
0.03780201077461243,
-0.20249831676483154,
0.04493146762251854,
0.2943486273288727,
-0.045540399849414825,
0.34387731552124023,
-0.16189903020858765,
-0.05321447551250458,
-0.09403973817825317,
-0.33673006296157837,
0.023036951199173927,
0.64508455991745,
-0.2773118019104004,
0.0377190001308918,
-0.07813864946365356,
0.1993940770626068,
0.037004679441452026,
-0.43430301547050476,
0.10657989978790283,
-0.02136879414319992,
0.06075332313776016,
-0.46192842721939087,
0.045660264790058136,
-0.18291564285755157,
-0.13913840055465698,
0.2330927550792694,
-0.24358034133911133,
-0.240464985370636,
-0.03948425501585007,
-0.04926176369190216,
-0.12160790711641312,
-0.4280364513397217,
0.09470129758119583,
0.10688742995262146,
0.05505462735891342,
-0.08380088210105896,
-0.21917852759361267,
0.323481947183609,
-0.029247716069221497,
0.26672616600990295,
-0.18143513798713684,
-0.44932955503463745,
0.3550412952899933,
-0.18736688792705536,
0.393307626247406,
0.023593103513121605,
0.3434864282608032,
0.11524458974599838,
-0.2717239260673523,
-0.14793166518211365,
-0.06699784100055695,
-0.07010553777217865,
-0.05623193457722664,
-0.13240447640419006,
0.21049275994300842,
-0.15672607719898224,
0.11167941242456436,
-0.20713987946510315,
0.003958089277148247,
0.19978325068950653,
-0.09458164870738983,
-0.06084205210208893,
-0.39990952610969543,
0.5031799077987671,
-0.17751926183700562,
0.14935243129730225,
-0.3227950930595398,
0.6397885084152222,
-0.26553499698638916,
0.13869565725326538,
0.007934778928756714,
0.23146486282348633,
0.04281601682305336,
0.32806310057640076,
-0.08771640062332153,
0.11628446727991104,
0.06487995386123657,
0.2894572615623474,
0.20442837476730347,
-0.1718476414680481,
0.07076144963502884,
0.005865760147571564,
-0.2889966070652008,
0.3565220236778259,
0.005458332598209381,
-0.13280931115150452,
0.4722233712673187,
0.09446991235017776,
-0.2292904257774353,
-0.37704354524612427,
-0.025991134345531464,
0.012477105483412743,
0.01503786351531744,
-0.3648827075958252,
0.030162973329424858,
-0.14006377756595612,
0.3959655463695526,
-0.10692082345485687,
0.07309222966432571,
-0.11265656352043152,
-0.26896631717681885,
0.2479199320077896,
-0.12383654713630676,
-0.2914285659790039,
0.23475152254104614,
0.31401509046554565,
0.1829279512166977,
0.14580021798610687,
-0.12366314977407455,
-0.325110524892807,
-0.21995916962623596,
0.07231846451759338,
0.18182848393917084,
0.05696771293878555,
0.18036331236362457,
0.4733709394931793,
-0.3652191162109375,
0.29705679416656494,
-0.0968075543642044,
-0.5489250421524048,
-0.008534334599971771,
-0.07458287477493286,
0.6103036403656006,
0.14997488260269165,
0.08389442414045334,
0.13702401518821716,
-0.02850499004125595,
0.2633008360862732,
-0.19076892733573914,
0.059558719396591187,
0.028514545410871506,
-0.24381403625011444,
-0.16452202200889587,
-0.09724076092243195,
-0.3788806200027466,
0.07667318731546402,
-0.35612207651138306,
0.022011395543813705,
0.2957246005535126,
-0.11236132681369781,
-0.31679481267929077,
0.23013809323310852,
0.14417269825935364,
0.2377718836069107,
0.035189662128686905,
-0.1580902487039566,
-0.333901047706604,
0.1700722575187683,
-0.3041013777256012,
-0.21237550675868988,
0.07259838283061981,
0.32395046949386597,
0.44441771507263184,
-0.16278095543384552,
-0.12358786165714264,
-0.23744864761829376,
0.06676443666219711,
0.183747336268425,
0.014188311994075775,
0.21219563484191895,
0.1658157855272293,
-0.027694756165146828,
-0.13016706705093384,
-0.3021598756313324,
0.0840781182050705,
-0.1185888722538948,
0.07012449204921722,
0.2162555456161499,
-0.33812105655670166,
0.22807380557060242,
-0.29329150915145874,
0.5652734637260437,
0.13098423182964325,
-0.013004779815673828,
0.3175368309020996,
0.1580737829208374,
0.32296836376190186,
-0.07290593534708023,
-0.046015940606594086,
0.01608298160135746,
0.17634239792823792,
0.04609069228172302,
0.11971739679574966,
0.026286711916327477,
-0.05867178738117218,
-0.20513339340686798,
-0.22388318181037903,
-0.3754865527153015,
-0.08653172105550766,
0.07451941072940826,
0.01423293724656105,
0.15846017003059387,
0.11121189594268799,
0.009158819913864136,
0.0031331703066825867,
0.015051454305648804,
0.230625718832016,
0.16178826987743378,
-0.001946181058883667,
-0.15107911825180054,
-0.10958407074213028,
-0.4035865366458893,
-0.10054218024015427,
0.4574313163757324,
-0.07244455814361572,
0.11343494802713394,
-0.28248295187950134,
0.1305960714817047,
0.017466112971305847,
-0.23323743045330048,
0.26079773902893066,
-0.5187821388244629,
0.10423814505338669,
0.06704854965209961,
0.13280779123306274,
-0.10811449587345123,
-0.13832931220531464,
-0.34910550713539124,
-0.07095298916101456,
0.1729065179824829,
-0.14555160701274872,
-0.29699283838272095,
-0.006742911413311958,
0.1594788134098053,
-0.05333881452679634,
-0.09611344337463379,
-0.30474957823753357,
-0.3265547454357147,
0.0024628154933452606,
-0.30313387513160706,
0.10151595622301102,
0.07012906670570374,
0.1466641128063202,
-0.3878878653049469,
0.041318345814943314,
-0.015703612938523293,
-0.15619418025016785,
0.0934816300868988,
0.2459840327501297,
0.03431727737188339,
-0.2797476649284363,
-0.10800731182098389,
0.03579939901828766,
-0.6190029382705688,
-0.0029304008930921555,
0.4610803723335266,
-0.07261976599693298,
-0.19857832789421082,
-0.06642143428325653,
-0.09060030430555344,
0.19316095113754272,
0.1449277251958847,
-0.03632136434316635,
-0.2231120467185974,
0.1020025983452797,
0.23820166289806366,
-0.03707995265722275,
0.06976976990699768,
0.16661876440048218,
0.2837926745414734,
0.11454083770513535,
0.053964994847774506,
0.5347576141357422,
0.02729194238781929,
-0.14095769822597504,
0.35639601945877075,
0.08695918321609497,
-0.12083201110363007,
0.5022596120834351,
0.1609446406364441,
0.5965344309806824,
0.1194792240858078,
-0.2839876711368561,
0.07554223388433456,
-0.011547930538654327,
0.040270138531923294,
-0.6420429944992065,
-0.06155721843242645,
-0.14917828142642975,
-0.028185024857521057,
0.09066735208034515,
-0.070916086435318,
0.42734968662261963,
-0.022026412189006805,
-0.09565488994121552,
0.19742144644260406,
0.050491899251937866,
0.09219002723693848,
-0.010173657909035683,
0.20170627534389496,
-0.3174227774143219,
-0.02108515053987503,
-0.2838378846645355,
0.261882483959198,
0.04428034648299217,
0.22203145921230316,
-0.30673903226852417,
0.08725801855325699,
0.3082267642021179,
-0.5355190634727478,
-0.28462034463882446,
-0.10011923313140869,
-0.06398622691631317,
0.06800082325935364,
-0.08880998194217682,
-0.16803628206253052,
0.05142300948500633,
0.023141171783208847,
0.0793151706457138,
0.40540027618408203,
-0.2667933404445648,
0.46851810812950134,
-0.043432414531707764,
0.0454135499894619,
-0.14932560920715332,
0.18449121713638306,
0.008689183741807938,
-0.29541054368019104,
-0.17716531455516815,
0.22699588537216187,
-0.06495936959981918,
0.11978895962238312,
0.25592416524887085,
0.026499610394239426,
-0.14154763519763947,
-0.2183953821659088,
-0.10465739667415619,
-0.03535902500152588,
-0.0670539066195488,
-0.24121786653995514,
0.25124961137771606,
0.057143718004226685,
-0.3318551778793335,
0.23874574899673462,
0.24455830454826355,
-0.16126641631126404,
-0.09523236751556396,
0.17992661893367767,
-0.13758039474487305,
-0.26412564516067505,
0.027926716953516006,
-0.16827791929244995,
-0.039450619369745255,
-0.40475720167160034,
0.09297803789377213,
0.0802510678768158,
-0.3493981659412384,
0.173289954662323,
0.12137677520513535,
-0.2388448715209961,
0.13118846714496613,
0.11173805594444275,
0.16399455070495605,
0.2234594225883484,
0.0346120186150074,
-0.3446142375469208,
0.18064358830451965,
-0.06398171186447144,
-0.04780847951769829,
0.2883167862892151,
-0.13338741660118103,
0.0784638375043869,
-0.16628047823905945,
0.2506609857082367,
-0.3886617124080658,
-0.012594733387231827,
-0.1848335564136505,
0.06507246941328049,
0.1712246835231781,
-0.01818247139453888,
0.23603494465351105,
-0.03673471510410309,
0.18734240531921387,
0.15098223090171814,
-0.35111016035079956,
-0.32711100578308105,
-0.12791025638580322,
0.07426180690526962,
-0.046107009053230286,
0.20311188697814941,
0.13789702951908112,
0.2738953232765198,
-0.04334338381886482,
0.06804436445236206,
0.2213403880596161,
-0.3182654082775116,
-0.11745890974998474,
0.12113232910633087,
0.0733356773853302,
-0.09846461564302444,
0.13831894099712372,
0.010704455897212029,
-0.05030106008052826,
0.23897607624530792,
-0.26362544298171997,
-0.1163654625415802,
0.10954448580741882,
0.0748247355222702,
0.24599380791187286,
-0.16430160403251648,
-0.034262850880622864,
0.27885714173316956,
0.08614276349544525,
-0.13875658810138702,
0.015930477529764175,
-0.27268803119659424,
0.022752530872821808,
0.2598344683647156,
-0.1868515908718109,
0.0680258572101593,
-0.08113154768943787,
0.3614538908004761,
-0.1472606062889099,
-0.09269675612449646,
-0.3476036787033081,
0.1447245478630066,
0.26005905866622925,
0.027336694300174713,
0.17995288968086243,
-0.4277547299861908,
0.29795780777931213,
0.25091373920440674,
0.1875746250152588,
-0.4611302614212036,
0.13758526742458344,
0.06290802359580994,
-0.16976137459278107,
0.04350001737475395,
0.04651012271642685,
-0.24653801321983337,
-0.08534330874681473,
-0.049197301268577576,
-0.3380875885486603,
0.3544349670410156,
0.1153586283326149,
0.28298071026802063,
-0.1859007477760315,
-0.07235881686210632,
-0.15696237981319427,
-0.23433196544647217,
-0.10042907297611237,
0.4828857481479645,
0.32140079140663147,
-0.013261735439300537,
-0.029499482363462448,
0.02349143847823143,
-0.24766363203525543,
-0.003417450934648514,
-0.005531534552574158,
-0.025715671479701996,
-0.35443761944770813,
-0.10607844591140747,
0.0074039027094841,
-0.11153404414653778,
0.19055570662021637,
0.30747219920158386,
-0.12376943230628967,
0.3662635087966919,
0.0802915021777153,
-0.13632990419864655,
-0.13187715411186218,
-0.06783608347177505,
0.2505680322647095,
-0.25325506925582886,
0.19919461011886597,
0.4453052282333374,
0.003190264105796814,
0.08670663088560104,
0.14948992431163788,
0.7146512866020203,
0.0254158154129982,
0.050879355520009995,
-0.011552722193300724,
-0.21537241339683533,
-0.17457640171051025,
-0.052032653242349625,
0.4715774655342102,
0.14015167951583862,
-0.060763824731111526,
0.000019820407032966614,
0.29108744859695435,
-0.3868270218372345,
0.2532201111316681,
-0.18029743432998657,
-0.08757291734218597,
-0.16324742138385773,
0.31147924065589905,
0.14253844320774078,
-0.1000409796833992,
-0.5122153759002686,
-0.1289108395576477,
-0.394503116607666,
0.20980171859264374,
0.3119046986103058,
0.005652579478919506,
-0.08055803924798965,
-0.10428445041179657,
0.12556925415992737,
0.06240411475300789,
0.5048759579658508,
0.04484488070011139,
0.22306054830551147,
-0.2475733458995819,
0.12705157697200775,
-0.38816288113594055,
-0.09130019694566727,
-0.0172116719186306,
0.35271137952804565,
0.028750617057085037,
-0.03624749928712845,
-0.13984888792037964,
0.31557297706604004,
0.2743143141269684,
0.006238107103854418,
-0.0038141440600156784,
0.004071235656738281,
-0.5137269496917725,
0.23707455396652222,
0.07490619271993637,
0.08379560708999634,
0.011531617492437363,
-0.11398737877607346,
0.07620557397603989,
-0.19493603706359863,
0.13946905732154846,
-0.10761728882789612,
-0.20176762342453003,
0.16013602912425995,
0.26216769218444824,
0.3666835427284241,
0.24280469119548798,
0.5383180379867554,
-0.2617972493171692,
0.17046017944812775,
-0.010681051760911942,
-0.3765522539615631,
0.09566695243120193,
0.17172843217849731,
0.13801872730255127,
0.35735344886779785,
0.19048239290714264,
-0.29653501510620117,
-0.18902520835399628,
0.3438229262828827,
-0.08241316676139832,
-0.14960891008377075,
-0.16527409851551056,
0.10043767839670181,
-0.06207482889294624,
0.14618995785713196,
-0.16057710349559784,
0.23100998997688293,
0.017025377601385117,
0.030762163922190666,
-0.027462005615234375,
-0.40168333053588867,
0.42906928062438965,
-0.2126195728778839,
-0.16628789901733398,
0.09135810285806656,
0.353004515171051,
0.3494686186313629,
0.07954192906618118,
-0.5448666214942932,
0.177323579788208,
0.25423291325569153,
0.10401157289743423,
-0.1575356423854828,
0.4324752986431122,
0.1269140988588333,
0.23203222453594208,
-0.07703202962875366,
-0.02707381546497345,
0.12846961617469788,
-0.08844262361526489,
-0.18859340250492096,
-0.27876055240631104
] |
https://github.com/huggingface/datasets/pull/441 | Add features parameter in load dataset | I changed to using features only, instead of info.
Let mw know if it sounds good to you now @thomwolf | Added `features` argument in `nlp.load_dataset`.
If they don't match the data type, it raises a `ValueError`.
It's a draft PR because #440 needs to be merged first. | 20 | text: Add features parameter in load dataset
Added `features` argument in `nlp.load_dataset`.
If they don't match the data type, it raises a `ValueError`.
It's a draft PR because #440 needs to be merged first.
I changed to using features only, instead of info.
Let mw know if it sounds good to you now @thomwolf | [
-0.17449085414409637,
-0.1580926924943924,
-0.1315532922744751,
-0.08782923221588135,
0.16884745657444,
-0.118642158806324,
0.17737480998039246,
0.41896456480026245,
-0.04840156063437462,
0.0662175714969635,
0.18469630181789398,
0.5910493731498718,
-0.06491782516241074,
0.3696456849575043,
0.0006288308650255203,
-0.2526920437812805,
0.023861296474933624,
0.36938509345054626,
0.05972404032945633,
0.06429876387119293,
-0.3139345645904541,
0.24245591461658478,
-0.03845694661140442,
0.07822426408529282,
-0.19682522118091583,
0.12830664217472076,
-0.10102140158414841,
0.3845718204975128,
-0.1584177017211914,
-0.3561117649078369,
0.04967712610960007,
-0.12029118835926056,
0.20582571625709534,
-0.01628374308347702,
-0.00009351110202260315,
-0.0656825453042984,
0.3068045973777771,
-0.051017314195632935,
-0.16382572054862976,
-0.04280300438404083,
-0.07687713205814362,
-0.40580451488494873,
0.05491626262664795,
-0.2727806270122528,
-0.0818992555141449,
-0.15179412066936493,
-0.021173791959881783,
0.18492983281612396,
0.10278907418251038,
0.2948088049888611,
0.3722945749759674,
0.29946261644363403,
0.2456883043050766,
-0.2786051034927368,
0.1528228223323822,
-0.05836649239063263,
-0.08250250667333603,
0.02422919124364853,
0.19544273614883423,
-0.11823119223117828,
0.09067386388778687,
0.25774189829826355,
0.05183347314596176,
-0.08787357807159424,
0.37360143661499023,
-0.06770902872085571,
0.196437805891037,
-0.09516781568527222,
-0.0885387435555458,
0.017978839576244354,
0.3870849311351776,
0.15575650334358215,
-0.00007911538705229759,
-0.07711434364318848,
0.043731749057769775,
-0.4315326511859894,
0.17601536214351654,
-0.050673045217990875,
-0.01693134382367134,
-0.010291919112205505,
0.01492985337972641,
-0.11726339161396027,
-0.23758578300476074,
0.09081508219242096,
0.10784836113452911,
0.2970135807991028,
-0.02128535881638527,
0.04211472347378731,
0.11336031556129456,
-0.30281633138656616,
-0.055792976170778275,
0.09667789936065674,
-0.06998695433139801,
0.001913601066917181,
-0.07328668236732483,
-0.3328416347503662,
0.18967826664447784,
-0.10577560216188431,
0.10525087267160416,
0.008267272263765335,
-0.002431144006550312,
0.12526169419288635,
0.060249146074056625,
0.29720449447631836,
0.30193594098091125,
0.015777625143527985,
0.3278515934944153,
-0.007024910766631365,
0.013595089316368103,
-0.03246064856648445,
-0.07691015303134918,
0.006660403683781624,
0.09116807579994202,
-0.2670102119445801,
0.08839903771877289,
-0.06960883736610413,
0.5259716510772705,
-0.16817516088485718,
-0.2031410038471222,
-0.07747531682252884,
0.0587395578622818,
-0.004153676331043243,
-0.11150073260068893,
0.4694449305534363,
-0.02015673741698265,
0.1546032428741455,
0.3668566942214966,
0.220016211271286,
-0.12128054350614548,
-0.31381890177726746,
-0.20257721841335297,
0.1317451298236847,
-0.20583458244800568,
-0.21003830432891846,
0.16287918388843536,
0.336378812789917,
0.34706708788871765,
-0.006431625224649906,
-0.09543658792972565,
0.07403265684843063,
0.08069104701280594,
0.13784614205360413,
-0.05089462548494339,
0.014377448707818985,
0.1388048231601715,
-0.2495887577533722,
0.14201143383979797,
-0.0703495442867279,
-0.1031026542186737,
0.16289344429969788,
-0.24736681580543518,
-0.38791483640670776,
-0.1932174563407898,
0.423654168844223,
0.03965377062559128,
-0.3276868462562561,
0.08270136266946793,
0.3605981171131134,
0.12454552948474884,
-0.29975053668022156,
-0.1513138711452484,
0.0026519708335399628,
-0.19049064815044403,
-0.19311337172985077,
-0.07685679942369461,
0.16933566331863403,
-0.19652624428272247,
-0.10662256181240082,
-0.03914672136306763,
-0.1525050848722458,
0.18260899186134338,
0.10176505148410797,
-0.28151988983154297,
0.1897309422492981,
-0.023544570431113243,
0.2060878723859787,
0.5955216288566589,
-0.0009635277092456818,
0.03664480149745941,
0.3266066610813141,
-0.21690766513347626,
-0.2515854835510254,
0.0593109130859375,
0.13910551369190216,
0.007999155670404434,
-0.05663907527923584,
0.3316706418991089,
0.34076446294784546,
-0.240775465965271,
0.1274406760931015,
-0.27650174498558044,
0.06523218750953674,
0.2747870087623596,
0.05329621210694313,
-0.08355346322059631,
0.21158966422080994,
0.08496629446744919,
0.09675323963165283,
0.07038270682096481,
-0.14995406568050385,
-0.09666076302528381,
0.16879989206790924,
0.22437943518161774,
0.014391075819730759,
-0.13518564403057098,
-0.0845460370182991,
-0.20668679475784302,
-0.07241450995206833,
-0.3864578306674957,
0.22337350249290466,
0.3049110770225525,
-0.04338085278868675,
-0.39672645926475525,
0.09187033027410507,
-0.030726145952939987,
-0.18156535923480988,
0.33577680587768555,
0.054752759635448456,
-0.2516479194164276,
-0.19780737161636353,
-0.13706307113170624,
0.13690727949142456,
-0.2028324007987976,
-0.14286887645721436,
-0.21023006737232208,
0.14665472507476807,
-0.2903191149234772,
-0.16990727186203003,
0.2245241105556488,
0.082575723528862,
0.27857014536857605,
0.14799807965755463,
-0.14797762036323547,
0.32715940475463867,
-0.2359035164117813,
0.10309948772192001,
0.23016762733459473,
-0.10645507276058197,
0.0995856523513794,
-0.10283264517784119,
0.02234480157494545,
0.022515680640935898,
0.21263310313224792,
-0.1357727348804474,
-0.1226750835776329,
0.23557472229003906,
0.12970292568206787,
0.04426712170243263,
0.14795449376106262,
0.039487145841121674,
0.35596272349357605,
-0.21342603862285614,
0.004277670755982399,
-0.0040217116475105286,
0.1456311196088791,
-0.07170122861862183,
-0.2370653748512268,
0.08898082375526428,
-0.5345550775527954,
0.07300664484500885,
0.3824070990085602,
0.1288624256849289,
0.1370231807231903,
0.16348454356193542,
0.06898364424705505,
-0.210106760263443,
0.13524818420410156,
-0.1482260376214981,
0.5784297585487366,
0.3037138283252716,
-0.13245125114917755,
0.06708431988954544,
-0.10079839825630188,
-0.11878974735736847,
0.24935510754585266,
-0.09054110944271088,
0.058709464967250824,
0.10505865514278412,
0.12003396451473236,
-0.04882271960377693,
-0.2501583993434906,
-0.02101307362318039,
0.09616515785455704,
0.1766584813594818,
-0.31427353620529175,
-0.10224892199039459,
-0.11862550675868988,
-0.37415260076522827,
-0.15217621624469757,
-0.018773861229419708,
-0.14809885621070862,
-0.3968903720378876,
0.13529570400714874,
0.13511542975902557,
-0.28250494599342346,
0.22136805951595306,
-0.036525774747133255,
0.30769479274749756,
0.14019247889518738,
0.017395323142409325,
0.02675400674343109,
0.06300833076238632,
-0.23286846280097961,
0.25527679920196533,
-0.055504705756902695,
0.4308592975139618,
0.430460661649704,
0.02582084946334362,
0.17237979173660278,
-0.22915787994861603,
-0.46252191066741943,
0.01800459250807762,
-0.19948738813400269,
0.21272559463977814,
0.23206356167793274,
0.21722355484962463,
0.21681182086467743,
-0.42332562804222107,
0.3674720227718353,
-0.18356624245643616,
-0.1593639850616455,
0.022777192294597626,
-0.012901131995022297,
-0.11692050844430923,
-0.15589171648025513,
-0.627197265625,
-0.1457231342792511,
-0.5830003619194031,
-0.0006431862711906433,
0.23052145540714264,
0.16878114640712738,
0.19552825391292572,
0.2924787998199463,
0.1658000946044922,
0.07021505385637283,
0.056745514273643494,
-0.2539742887020111,
0.10221941769123077,
0.15059392154216766,
-0.30811771750450134,
-0.32970738410949707,
-0.006325084716081619,
-0.008168814703822136,
0.14248083531856537,
-0.21317549049854279,
-0.05549291521310806,
-0.3486129343509674,
-0.09542287141084671,
0.08167828619480133,
0.010236043483018875,
0.08027493953704834,
0.25196415185928345,
-0.034270625561475754,
-0.26257726550102234,
-0.12762731313705444,
-0.41836780309677124,
0.290042906999588,
0.13834676146507263,
0.4922279119491577,
0.00826103612780571,
0.3061547577381134,
-0.25310221314430237,
0.3229547441005707,
-0.11809892952442169,
-0.22223643958568573,
0.4588645398616791,
-0.032690808176994324,
0.28506171703338623,
-0.08905226737260818,
-0.3332551121711731,
-0.024735813960433006,
-0.018988341093063354,
0.12523631751537323,
0.3260710537433624,
-0.13719037175178528,
-0.57146817445755,
-0.21465334296226501,
-0.3356285095214844,
-0.005992908030748367,
-0.12147878110408783,
0.2990080714225769,
0.08737033605575562,
0.11293311417102814,
-0.02412036806344986,
-0.30923280119895935,
-0.4618034064769745,
0.05043019726872444,
-0.06001235172152519,
0.282393217086792,
-0.03140862286090851,
-0.023996252566576004,
-0.4602014124393463,
0.011642361991107464,
-0.20344755053520203,
0.2876250743865967,
-0.030148813501000404,
0.30373528599739075,
-0.26364222168922424,
-0.3330896198749542,
-0.12078258395195007,
-0.06342818588018417,
0.3495650291442871,
-0.18589350581169128,
-0.06928747892379761,
0.060144875198602676,
0.164938822388649,
0.05889376252889633,
0.012576725333929062,
-0.1595916897058487,
0.28000760078430176,
0.4215339720249176,
0.36211949586868286,
-0.22540384531021118,
-0.03354973345994949,
0.2966000437736511,
-0.1437402218580246,
-0.16222582757472992,
-0.2540534436702728,
-0.20893442630767822,
-0.07198908179998398,
-0.518868625164032,
-0.044456847012043,
0.027661236003041267,
0.1690492033958435,
-0.03235384821891785,
-0.09112681448459625,
-0.05139264464378357,
-0.05257471278309822,
0.11946806311607361,
0.19109302759170532,
0.14370986819267273,
-0.04133523255586624,
-0.06485448777675629,
-0.35413092374801636,
0.22373829782009125,
-0.17080742120742798,
0.47200772166252136,
-0.0431550107896328,
-0.23456686735153198,
-0.002710184082388878,
-0.2169935256242752,
0.4911658465862274,
0.18390193581581116,
0.03208937495946884,
0.2480437159538269,
-0.11489653587341309,
0.03557237982749939,
0.07833266258239746,
0.301984041929245,
0.1619202196598053,
0.025839906185865402,
-0.18272919952869415,
-0.22683799266815186,
0.32618629932403564,
-0.09234634041786194,
-0.04288753494620323,
-0.033246688544750214,
-0.12649866938591003,
-0.24847738444805145,
0.3089298605918884,
0.019959941506385803,
0.8644971251487732,
0.22105629742145538,
0.029694493860006332,
0.20208090543746948,
0.0319228395819664,
0.4786483645439148,
-0.12048203498125076,
0.033970318734645844,
-0.4254523813724518,
-0.10320501774549484,
0.0856826901435852,
0.003028556704521179,
0.13137292861938477,
0.11674654483795166,
-0.6099677085876465,
0.16170282661914825,
0.13510896265506744,
0.06337441504001617,
-0.0034376587718725204,
0.5238938331604004,
-0.03485654294490814,
-0.10908810794353485,
-0.591724693775177,
0.27589768171310425,
-0.24597494304180145,
-0.016788043081760406,
-0.14148053526878357,
-0.4793325662612915,
0.03953203186392784,
-0.3281029462814331,
0.029529444873332977,
0.19261327385902405,
0.1296994686126709,
0.020574145019054413,
0.2084648162126541,
-0.054510295391082764,
0.07202376425266266,
0.0028239041566848755,
0.12554411590099335,
-0.023864764720201492,
-0.15326686203479767,
0.08157500624656677,
0.0006305500864982605,
-0.07795410603284836,
-0.22954556345939636,
0.12762194871902466,
0.2887878715991974,
-0.32125604152679443,
-0.36373141407966614,
0.14786988496780396,
-0.08915268629789352,
-0.5121262669563293,
-0.12370677292346954,
-0.02476552128791809,
-0.22672851383686066,
-0.39351022243499756,
-0.46413394808769226,
0.12515535950660706,
-0.26241469383239746,
-0.18308064341545105,
0.30509185791015625,
0.01662794128060341,
-0.2504098415374756,
-0.010465174913406372,
0.5021045804023743,
-0.14822441339492798,
0.07195687294006348,
0.05351318418979645,
-0.050899945199489594,
0.12199953198432922,
0.45567572116851807,
0.14014160633087158,
0.024006027728319168,
-0.2948809266090393,
-0.17566853761672974,
0.13430234789848328,
-0.20863613486289978,
0.060935359448194504,
0.21882480382919312,
-0.2897670865058899,
0.17398390173912048,
0.3487298786640167,
0.026093551889061928,
0.30063575506210327,
0.13675150275230408,
-0.23755817115306854,
-0.41193750500679016,
0.016145646572113037,
-0.29792171716690063,
0.28801172971725464,
-0.037350837141275406,
0.24048690497875214,
0.26226696372032166,
0.23748639225959778,
-0.5334957242012024,
-0.17155733704566956,
-0.3711172640323639,
0.3504447042942047,
0.2679012417793274,
-0.22895634174346924,
-0.1566867083311081,
0.12962055206298828,
0.22655050456523895,
0.08240754157304764,
-0.1793588548898697,
-0.36339637637138367,
0.03635011985898018,
0.08094311505556107,
0.06770266592502594,
0.07900407910346985,
-0.251727819442749,
-0.16093510389328003,
-0.14919303357601166,
0.08507047593593597,
-0.13162140548229218,
-0.27262264490127563,
-0.17642423510551453,
0.24826602637767792,
-0.12660999596118927,
0.11360187828540802,
0.22818179428577423,
0.005113387480378151,
-0.0416196808218956,
0.06580619513988495,
-0.23116055130958557,
-0.021682851016521454,
-0.24579335749149323,
-0.09259336441755295,
0.0762801393866539,
0.11173240840435028,
0.0472688190639019,
0.2200944423675537,
0.10306879878044128,
-0.06613866984844208,
-0.09169023483991623,
0.026752637699246407,
-0.04054196923971176,
0.198038712143898,
-0.26101550459861755,
0.1754721701145172,
0.026732532307505608,
0.3674514889717102,
-0.4799169898033142,
0.09248504787683487,
0.2060316801071167,
-0.12721508741378784,
0.1130843460559845,
0.15281888842582703,
0.23520436882972717,
0.029807597398757935,
0.08841928839683533,
0.24902895092964172,
0.13641324639320374,
-0.20943202078342438,
-0.08872795104980469,
0.08625324070453644,
-0.24941961467266083,
0.00376095250248909,
0.1662130206823349,
0.2480299472808838,
0.14984804391860962,
0.11734478175640106,
-0.07121288031339645,
0.19272975623607635,
0.07502128183841705,
0.017807461321353912,
0.3091176152229309,
-0.20507153868675232,
0.14274458587169647,
0.29794958233833313,
0.014122940599918365,
0.23616984486579895,
0.28980952501296997,
0.2877139747142792,
-0.11612244695425034,
-0.1469005048274994,
-0.120216503739357,
0.1396515965461731,
-0.21926698088645935,
0.02517101541161537,
-0.2555769383907318,
-0.17712587118148804,
-0.34003734588623047,
-0.21126887202262878,
0.0743236392736435,
0.09501619637012482,
0.16005106270313263,
-0.02908468246459961,
-0.06392824649810791,
-0.29434934258461,
0.2821887135505676,
0.10180269181728363,
-0.038672931492328644,
-0.17268013954162598,
0.14680524170398712,
0.04713703691959381,
-0.125679612159729,
0.40114083886146545,
0.18503819406032562,
0.4517679512500763,
0.5663214325904846,
0.04288211092352867,
0.017601706087589264,
-0.027663379907608032,
-0.18535815179347992,
-0.13382360339164734,
0.07202853262424469,
0.2071121484041214,
0.13412784039974213,
0.2267148196697235,
0.28007644414901733,
-0.2838195562362671,
0.2367720603942871,
-0.0703345537185669,
0.00021523796021938324,
-0.18382756412029266,
0.3963140547275543,
0.3060264587402344,
-0.22778815031051636,
-0.2970427870750427,
0.01541145145893097,
-0.3627149760723114,
-0.1281920075416565,
0.31269657611846924,
0.20845457911491394,
0.1938980221748352,
-0.18378496170043945,
0.1873369663953781,
0.024277012795209885,
0.3792831301689148,
0.10952463746070862,
0.024965304881334305,
-0.20843817293643951,
0.07558710873126984,
-0.6544143557548523,
0.08433979749679565,
0.12602414190769196,
-0.021363768726587296,
0.1115042120218277,
0.2336881011724472,
0.18904052674770355,
0.09448312222957611,
-0.1639411300420761,
-0.10535965859889984,
0.212243914604187,
-0.1655128002166748,
-0.3532285988330841,
-0.0761035680770874,
0.10322320461273193,
0.11582286655902863,
0.13446974754333496,
-0.10188452899456024,
-0.08332052826881409,
-0.05191131681203842,
0.2915929853916168,
-0.23341836035251617,
-0.30837780237197876,
0.07776717841625214,
0.3875011205673218,
0.04613116756081581,
0.11692900210618973,
0.49658259749412537,
-0.2844286262989044,
0.0656660795211792,
0.012994997203350067,
-0.30526667833328247,
-0.39178165793418884,
-0.08138907700777054,
0.2025272250175476,
0.2971942722797394,
0.09244178235530853,
0.298361599445343,
-0.25075075030326843,
0.15679459273815155,
-0.14811013638973236,
-0.08340179175138474,
-0.084523506462574,
0.30718091130256653,
0.03529908508062363,
0.028139203786849976,
-0.11640086024999619,
0.08686010539531708,
0.06456886976957321,
0.021207598969340324,
-0.27572935819625854,
-0.37170401215553284,
0.5648567080497742,
-0.1075417771935463,
-0.4252420663833618,
0.0734969824552536,
0.11028420925140381,
0.030042920261621475,
0.15269580483436584,
-0.6605733036994934,
-0.11624875664710999,
0.184281125664711,
-0.10493851453065872,
-0.1013428121805191,
0.26650211215019226,
-0.20044293999671936,
0.004674438387155533,
-0.06659744679927826,
0.2970488667488098,
0.12717387080192566,
0.0021041911095380783,
-0.05569951608777046,
-0.2971477508544922
] |
https://github.com/huggingface/datasets/pull/437 | Fix XTREME PAN-X loading | There is an interesting design question here (cc @lhoestq).
I guess the labels form a closed set so we could also use a [nlp.ClassLabel](https://huggingface.co/nlp/package_reference/main_classes.html#nlp.ClassLabel) instead of a string. The differences will be mainly that:
- the labels are stored as integers and thus ready for training a model
- the string to int conversion methods are handled by the `nlp.ClassLabel` feature (see the [doc](https://huggingface.co/nlp/package_reference/main_classes.html#nlp.ClassLabel) and [here](https://huggingface.co/nlp/features.html) and [here](https://huggingface.co/nlp/quicktour.html#fine-tuning-a-deep-learning-model)).
In my opinion, storing the labels as integers instead of strings makes it:
- slightly less readable when accessing a dataset example (e.g. with `dataset[0]`)
- force you with a specific mapping from string to integers
- more clear that there is a fixed and predefined list of labels
- easier to list all the labels (directly visible in the features).
=> overall I'm pretty neutral about using one or the other option (`nlp.string` or `nlp.ClassLabel`).
Note that we can now rather easily convert from one to the other with the map function and something like:
```python
dataset = dataset.map(lambda x: x, features=nlp.Features({'labels': nlp.ClassLabel(MY_LABELS_NAMES)}))
dataset = dataset.map(lambda x: {'labels': dataset.features['labels'].int2str(x['labels'])}, features=nlp.Features({'labels': nlp.Value('string')}))
```
^^ this could probably be made even simpler (in particular for the second case) | Hi 🤗
In response to the discussion in #425 @lewtun and I made some fixes to the repo. In the original XTREME implementation the PAN-X dataset for named entity recognition loaded each word/tag pair as a single row and the sentence relation was lost. With the fix each row contains the list of all words in a single sentence and their NER tags. This is also in agreement with the [NER example](https://github.com/huggingface/transformers/tree/master/examples/token-classification) in the transformers repo.
With the fix the output of the dataset should look as follows:
```python
>>> dataset = load_dataset("xtreme", "PAN-X.en", data_dir='./data')
>>> dataset['train'][0]
{'words': ['R.H.', 'Saunders', '(', 'St.', 'Lawrence', 'River', ')', '(', '968', 'MW', ')'],
'ner_tags': ['B-ORG', 'I-ORG', 'O', 'B-ORG', 'I-ORG', 'I-ORG', 'O', 'O', 'O', 'O', 'O'],
'langs': ['en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en']}
``` | 195 | text: Fix XTREME PAN-X loading
Hi 🤗
In response to the discussion in #425 @lewtun and I made some fixes to the repo. In the original XTREME implementation the PAN-X dataset for named entity recognition loaded each word/tag pair as a single row and the sentence relation was lost. With the fix each row contains the list of all words in a single sentence and their NER tags. This is also in agreement with the [NER example](https://github.com/huggingface/transformers/tree/master/examples/token-classification) in the transformers repo.
With the fix the output of the dataset should look as follows:
```python
>>> dataset = load_dataset("xtreme", "PAN-X.en", data_dir='./data')
>>> dataset['train'][0]
{'words': ['R.H.', 'Saunders', '(', 'St.', 'Lawrence', 'River', ')', '(', '968', 'MW', ')'],
'ner_tags': ['B-ORG', 'I-ORG', 'O', 'B-ORG', 'I-ORG', 'I-ORG', 'O', 'O', 'O', 'O', 'O'],
'langs': ['en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en']}
```
There is an interesting design question here (cc @lhoestq).
I guess the labels form a closed set so we could also use a [nlp.ClassLabel](https://huggingface.co/nlp/package_reference/main_classes.html#nlp.ClassLabel) instead of a string. The differences will be mainly that:
- the labels are stored as integers and thus ready for training a model
- the string to int conversion methods are handled by the `nlp.ClassLabel` feature (see the [doc](https://huggingface.co/nlp/package_reference/main_classes.html#nlp.ClassLabel) and [here](https://huggingface.co/nlp/features.html) and [here](https://huggingface.co/nlp/quicktour.html#fine-tuning-a-deep-learning-model)).
In my opinion, storing the labels as integers instead of strings makes it:
- slightly less readable when accessing a dataset example (e.g. with `dataset[0]`)
- force you with a specific mapping from string to integers
- more clear that there is a fixed and predefined list of labels
- easier to list all the labels (directly visible in the features).
=> overall I'm pretty neutral about using one or the other option (`nlp.string` or `nlp.ClassLabel`).
Note that we can now rather easily convert from one to the other with the map function and something like:
```python
dataset = dataset.map(lambda x: x, features=nlp.Features({'labels': nlp.ClassLabel(MY_LABELS_NAMES)}))
dataset = dataset.map(lambda x: {'labels': dataset.features['labels'].int2str(x['labels'])}, features=nlp.Features({'labels': nlp.Value('string')}))
```
^^ this could probably be made even simpler (in particular for the second case) | [
0.21599359810352325,
-0.35714471340179443,
0.06746233999729156,
0.19545923173427582,
0.20308245718479156,
-0.19420847296714783,
0.10499556362628937,
0.01907481998205185,
-0.17049750685691833,
-0.032121554017066956,
-0.3977072536945343,
0.2852362096309662,
0.0011213859543204308,
-0.07907246798276901,
0.22565509378910065,
-0.285741925239563,
0.07904911041259766,
0.10312110185623169,
0.13797837495803833,
-0.22244855761528015,
-0.005092889070510864,
0.37405073642730713,
-0.03960385173559189,
0.2568095624446869,
-0.6961687803268433,
0.17435498535633087,
0.07599635422229767,
0.10379508137702942,
-0.01924884133040905,
-0.6394615173339844,
0.23083259165287018,
0.1653485745191574,
0.0404183566570282,
0.15936227142810822,
-0.0001090360019588843,
-0.18523797392845154,
0.15674835443496704,
-0.23680928349494934,
-0.06136416271328926,
-0.27117931842803955,
0.023658141493797302,
-0.22903768718242645,
0.18907283246517181,
-0.13058516383171082,
-0.2236986756324768,
-0.11684993654489517,
0.11543423682451248,
0.11858928203582764,
0.44998300075531006,
0.16185742616653442,
0.14140360057353973,
0.10731813311576843,
-0.11825306713581085,
-0.0031372294761240482,
0.16888156533241272,
0.1305711567401886,
-0.096673883497715,
0.09136758744716644,
0.5564407110214233,
-0.024064183235168457,
-0.3711465895175934,
0.35983172059059143,
0.1474461704492569,
-0.2109048217535019,
0.3978896141052246,
0.33061909675598145,
0.12602809071540833,
-0.4883088171482086,
-0.1631951928138733,
0.18827185034751892,
-0.17569094896316528,
-0.10143967717885971,
-0.2354540228843689,
-0.5679041743278503,
0.098263218998909,
-0.4595182538032532,
0.06622464209794998,
-0.1272640824317932,
-0.28497105836868286,
0.039880868047475815,
-0.009672069922089577,
-0.014007105492055416,
-0.128729909658432,
-0.08391094207763672,
-0.13899800181388855,
0.7443145513534546,
-0.02795420214533806,
-0.11639638990163803,
-0.10553695261478424,
-0.15115991234779358,
0.15767326951026917,
0.14373892545700073,
0.07482586055994034,
0.293767511844635,
-0.304018497467041,
-0.12244432419538498,
-0.012728147208690643,
-0.06804095953702927,
0.04964010417461395,
-0.09486857056617737,
-0.2162628471851349,
0.162937730550766,
0.22104164958000183,
-0.04124166816473007,
0.3029939532279968,
0.4062954783439636,
0.43288058042526245,
0.07402452081441879,
-0.015232793986797333,
-0.07012126594781876,
0.04534928873181343,
-0.0014549456536769867,
-0.36962124705314636,
0.44452086091041565,
0.27297094464302063,
-0.18584010004997253,
-0.060027122497558594,
-0.2521444261074066,
-0.10882849991321564,
-0.07093200087547302,
-0.06354857981204987,
0.15260739624500275,
0.15912823379039764,
0.28100746870040894,
-0.056272201240062714,
0.6363021731376648,
-0.09087656438350677,
-0.052086539566516876,
-0.18235048651695251,
-0.1867797076702118,
-0.14878670871257782,
-0.0815398246049881,
-0.5846995711326599,
-0.06836214661598206,
0.20344002544879913,
0.2606163024902344,
0.2625061571598053,
-0.2131795436143875,
0.29790619015693665,
-0.2453455924987793,
-0.31602808833122253,
0.06254386901855469,
0.04019542410969734,
0.006363231688737869,
-0.09476108103990555,
0.047892116010189056,
-0.08236445486545563,
-0.32289987802505493,
-0.13880667090415955,
-0.0419442355632782,
-0.5208000540733337,
0.03908358886837959,
-0.054251283407211304,
0.19631247222423553,
-0.25571322441101074,
-0.10584647953510284,
-0.10094817727804184,
0.24674135446548462,
-0.009378306567668915,
0.15478934347629547,
0.05623263120651245,
-0.2665477991104126,
-0.23969125747680664,
0.07310011982917786,
0.10396110266447067,
0.09643424302339554,
-0.15628193318843842,
-0.4781050682067871,
0.32872143387794495,
0.04275029897689819,
-0.03073032945394516,
0.3156062960624695,
-0.0788758397102356,
0.1058274656534195,
-0.05908007174730301,
0.614969789981842,
0.1377939134836197,
-0.5629777312278748,
-0.2520638406276703,
-0.11295148730278015,
-0.16831688582897186,
0.24949036538600922,
-0.06360187381505966,
0.24044333398342133,
0.27293866872787476,
-0.2498270869255066,
0.5362659096717834,
0.28093212842941284,
0.032634180039167404,
0.02343774028122425,
-0.19152119755744934,
0.10378628969192505,
-0.30251508951187134,
0.14119042456150055,
-0.05161571875214577,
0.006953224539756775,
-0.2878166139125824,
0.3023563623428345,
0.2335379421710968,
-0.14277097582817078,
0.1884889155626297,
0.275809645652771,
-0.05936843529343605,
0.17647035419940948,
0.06511806696653366,
-0.10184430330991745,
-0.5495667457580566,
0.15627112984657288,
-0.6311899423599243,
0.5860161781311035,
-0.18764175474643707,
-0.2436063289642334,
-0.34437721967697144,
0.033358268439769745,
-0.24910388886928558,
-0.2913867235183716,
0.19892020523548126,
-0.10447892546653748,
-0.09145325422286987,
-0.14550653100013733,
-0.10684311389923096,
0.20557107031345367,
-0.08101721853017807,
0.19570748507976532,
-0.371849924325943,
0.07225091755390167,
0.05617550015449524,
-0.08344508707523346,
-0.23726606369018555,
0.44028475880622864,
0.14894142746925354,
0.08894691616296768,
-0.04702569544315338,
0.34860727190971375,
-0.1420901119709015,
-0.005000412464141846,
-0.2977236211299896,
0.17739394307136536,
0.1992078423500061,
-0.4734025001525879,
0.09216383099555969,
0.15309745073318481,
0.05821923911571503,
-0.266277939081192,
-0.42216727137565613,
0.4403854012489319,
0.28752678632736206,
0.15964281558990479,
0.06659896671772003,
-0.003057904541492462,
0.12643064558506012,
-0.11331603676080704,
-0.38966330885887146,
-0.18335172533988953,
0.15159595012664795,
-0.08441461622714996,
0.17409515380859375,
0.27030542492866516,
-0.27408623695373535,
-0.08820187300443649,
0.4599776268005371,
0.02237895503640175,
0.09494718164205551,
0.21206286549568176,
-0.42948025465011597,
-0.039974816143512726,
-0.06530992686748505,
0.19784735143184662,
0.1791413426399231,
0.23985761404037476,
-0.02095361426472664,
0.2508644461631775,
-0.08978880941867828,
0.0803714394569397,
0.019956909120082855,
0.31277555227279663,
0.0912843868136406,
0.03163642808794975,
0.2759062647819519,
0.11060082912445068,
-0.3397429585456848,
-0.2957538068294525,
-0.26041510701179504,
-0.04368584603071213,
-0.38482552766799927,
0.07264070212841034,
0.20620331168174744,
-0.486822247505188,
-0.11129837483167648,
-0.026540737599134445,
-0.42317330837249756,
-0.336724191904068,
0.2711035907268524,
-0.10853558778762817,
0.12762562930583954,
0.29902786016464233,
-0.12066657841205597,
0.08483172953128815,
-0.20268020033836365,
-0.04492931813001633,
-0.2652342915534973,
-0.07950083911418915,
-0.3028506636619568,
0.06780704855918884,
-0.08569890260696411,
0.28861019015312195,
-0.023300038650631905,
-0.29053637385368347,
0.18412338197231293,
0.06291880458593369,
-0.6147667169570923,
0.35374656319618225,
-0.39845705032348633,
0.3581339418888092,
0.2746959328651428,
-0.21679843962192535,
-0.3262519836425781,
0.10858764499425888,
0.34732523560523987,
-0.43926626443862915,
-0.11631809920072556,
0.08259613811969757,
0.0011656528804451227,
-0.0886780247092247,
-0.09119100868701935,
-0.34006306529045105,
-0.08712157607078552,
-0.22528447210788727,
0.20425143837928772,
0.15681838989257812,
0.2231576144695282,
0.41436171531677246,
-0.3824899196624756,
0.03424568101763725,
-0.2384617179632187,
-0.0616258904337883,
-0.012463657185435295,
-0.19633492827415466,
0.31464460492134094,
-0.14301495254039764,
-0.17989765107631683,
-0.28362199664115906,
-0.20403102040290833,
0.2904549837112427,
-0.24687983095645905,
0.10525085031986237,
-0.1734050065279007,
-0.07605108618736267,
-0.13890409469604492,
0.1438433676958084,
-0.08858241140842438,
0.21242111921310425,
0.1359986960887909,
-0.09767233580350876,
-0.09510338306427002,
-0.032467931509017944,
0.2460014820098877,
0.24633103609085083,
0.06610756367444992,
-0.11576417833566666,
-0.019171282649040222,
0.015494905412197113,
0.20251089334487915,
0.09252162277698517,
0.11467109620571136,
0.23953059315681458,
0.09831750392913818,
0.02388899028301239,
-0.06983716040849686,
-0.051531076431274414,
-0.285616397857666,
-0.15376371145248413,
0.15437087416648865,
0.26226866245269775,
0.2978796362876892,
0.025819066911935806,
0.01558506116271019,
0.18215864896774292,
0.1712348461151123,
-0.1695643812417984,
0.26687389612197876,
-0.00202019140124321,
-0.04507181793451309,
-0.02351614460349083,
-0.015728101134300232,
0.006043370813131332,
-0.24518296122550964,
-0.011655416339635849,
-0.23002363741397858,
0.01609671860933304,
0.09005966782569885,
-0.6943185925483704,
0.47299689054489136,
-0.5553097724914551,
-0.07018698751926422,
0.2789621353149414,
0.16862685978412628,
0.11574935913085938,
-0.0978127121925354,
0.3057386875152588,
0.07816803455352783,
0.44201159477233887,
-0.02694866992533207,
-0.08335621654987335,
0.19443954527378082,
0.13387826085090637,
-0.07974456250667572,
0.09277109801769257,
-0.37999069690704346,
-0.48853471875190735,
0.5772194266319275,
0.3749489188194275,
-0.20658034086227417,
-0.5387458205223083,
0.09779820591211319,
-0.23011323809623718,
-0.1741442084312439,
-0.17709720134735107,
-0.19178920984268188,
-0.07023675739765167,
-0.2208651304244995,
0.15741756558418274,
0.57624351978302,
0.05541820079088211,
0.13636928796768188,
0.017537612468004227,
-0.02502037025988102,
0.02166128158569336,
0.40702682733535767,
0.19659142196178436,
0.19429898262023926,
-0.24779033660888672,
-0.09749209880828857,
-0.012867026031017303,
0.18720923364162445,
-0.1598847508430481,
0.442446231842041,
-0.11654137074947357,
-0.34727713465690613,
0.16711169481277466,
-0.028232254087924957,
0.46119382977485657,
0.29796093702316284,
0.19955630600452423,
0.11749393492937088,
-0.13478213548660278,
0.19276922941207886,
-0.08735442906618118,
0.1427805870771408,
0.23280377686023712,
0.14729824662208557,
-0.45957377552986145,
0.009021863341331482,
0.5269187688827515,
0.2108030915260315,
-0.213008314371109,
-0.30384737253189087,
0.4314696192741394,
-0.32579073309898376,
0.23815585672855377,
0.2869674265384674,
1.202570915222168,
-0.008053764700889587,
0.47153210639953613,
0.09194393455982208,
0.1612289696931839,
0.6133246421813965,
-0.24226781725883484,
0.11677331477403641,
-0.21759377419948578,
0.09683902561664581,
-0.11432681232690811,
0.023483362048864365,
-0.22664576768875122,
0.19342967867851257,
-0.08501899242401123,
0.5750303268432617,
0.13281644880771637,
0.09141441434621811,
0.20676323771476746,
0.20425400137901306,
0.1394425332546234,
-0.5672141909599304,
-0.4608902037143707,
0.052857451140880585,
-0.04840005934238434,
0.18328849971294403,
-0.050302889198064804,
-0.17807792127132416,
-0.09319334477186203,
-0.02652706392109394,
0.05767133831977844,
0.32947295904159546,
0.052864544093608856,
-0.17579646408557892,
0.31580185890197754,
-0.11698156595230103,
0.09312382340431213,
0.18817253410816193,
0.1285388171672821,
-0.1237398087978363,
-0.10039836168289185,
0.34832680225372314,
0.23602402210235596,
0.060419607907533646,
0.270974338054657,
-0.10235091298818588,
0.3439488708972931,
0.008664865046739578,
0.03768474608659744,
-0.03778974711894989,
-0.04920506849884987,
-0.02577275224030018,
-0.41823485493659973,
-0.022353410720825195,
0.22893674671649933,
-0.2532432973384857,
0.0927477478981018,
0.03397927060723305,
-0.027297386899590492,
-0.2852502167224884,
0.1257539540529251,
0.0407717302441597,
-0.174756720662117,
-0.01780228316783905,
0.3592797815799713,
-0.23607829213142395,
0.022840213030576706,
0.23075059056282043,
0.2573433518409729,
-0.49019134044647217,
0.2922270894050598,
0.15432408452033997,
-0.04377145692706108,
-0.11772678047418594,
-0.2325792908668518,
0.40251314640045166,
-0.9317247867584229,
0.1050017774105072,
-0.0003664037212729454,
-0.42375773191452026,
0.007297083269804716,
0.36932799220085144,
0.16261588037014008,
-0.04683995246887207,
-0.04142436012625694,
-0.09619574248790741,
-0.46282094717025757,
0.3332673907279968,
0.025660356506705284,
0.3006632328033447,
0.04508373141288757,
0.13623513281345367,
-0.007042454555630684,
0.13574399054050446,
-0.36594364047050476,
-0.113503098487854,
-0.32021668553352356,
0.1716155856847763,
0.04491594433784485,
-0.17081576585769653,
0.11152975261211395,
0.06654290854930878,
0.10393242537975311,
0.41084182262420654,
-0.15573345124721527,
-0.14669929444789886,
-0.10912251472473145,
0.09786432981491089,
0.07325278222560883,
-0.08204863965511322,
-0.03681843727827072,
0.530121386051178,
0.11830084025859833,
-0.2151627540588379,
0.13258230686187744,
0.24510249495506287,
0.15137219429016113,
0.17785318195819855,
0.06673168390989304,
0.20873987674713135,
-0.054440803825855255,
0.09283660352230072,
0.20480817556381226,
-0.16058357059955597,
-0.008623777888715267,
0.01625913567841053,
-0.2559211552143097,
-0.03625502437353134,
-0.3761656582355499,
0.36993080377578735,
0.2587810158729553,
0.11981583386659622,
0.11806374043226242,
-0.09971322119235992,
-0.12937697768211365,
-0.05016818642616272,
0.16973885893821716,
0.07346974313259125,
-0.057860590517520905,
-0.2773759961128235,
0.23132050037384033,
0.2661149501800537,
-0.27079376578330994,
0.022077837958931923,
0.12424905598163605,
-0.025150492787361145,
0.11678943037986755,
0.4212489128112793,
0.3601866066455841,
0.1295267641544342,
0.2683894634246826,
0.03614383190870285,
0.3531055152416229,
-0.2607216238975525,
0.0880875438451767,
0.3729395568370819,
0.05187517777085304,
0.06461302191019058,
0.6166306734085083,
0.010453535243868828,
0.20229071378707886,
0.4288937449455261,
-0.007364407181739807,
0.46518296003341675,
-0.004316646605730057,
0.6176832318305969,
0.04846131056547165,
0.2914538085460663,
-0.30638793110847473,
0.1963181048631668,
-0.08773894608020782,
0.21335771679878235,
-0.16838493943214417,
-0.009925901889801025,
0.07641803473234177,
-0.28987810015678406,
-0.10318654030561447,
0.3770610988140106,
-0.27673882246017456,
-0.2775622308254242,
-0.1273936927318573,
-0.21635833382606506,
-0.22784221172332764,
-0.12188923358917236,
-0.12033919990062714,
-0.09377385675907135,
-0.11657220125198364,
-0.09951403737068176,
0.05972861498594284,
-0.2677880525588989,
-0.3361453711986542,
0.074308380484581,
0.4216044247150421,
-0.18117377161979675,
0.5200300812721252,
0.02439797669649124,
-0.000011831521987915039,
0.06182003766298294,
0.3867166042327881,
0.327610045671463,
0.17749911546707153,
0.2525227963924408,
-0.028384841978549957,
0.05042388290166855,
-0.081154964864254,
-0.006607094779610634,
0.1280287653207779,
0.185004323720932,
0.13999338448047638,
0.026582341641187668,
0.12071220576763153,
-0.20741114020347595,
-0.09630829095840454,
-0.1834307163953781,
-0.03782139718532562,
0.10037125647068024,
0.4177974760532379,
0.09980056434869766,
-0.17601189017295837,
-0.2273801863193512,
-0.14075788855552673,
-0.32490354776382446,
-0.05828550457954407,
0.18735091388225555,
-0.14119601249694824,
0.09970264881849289,
-0.18738329410552979,
0.10970908403396606,
0.10560041666030884,
0.24754101037979126,
0.27847588062286377,
-0.10958393663167953,
-0.28341948986053467,
0.025713078677654266,
-0.639641523361206,
0.10610473155975342,
0.10881543159484863,
-0.1852390021085739,
0.2144087851047516,
-0.14641597867012024,
-0.08822975307703018,
0.14628437161445618,
-0.3463587760925293,
0.27326637506484985,
-0.22025257349014282,
-0.024995170533657074,
-0.3586571216583252,
0.36969229578971863,
0.30382996797561646,
0.18933597207069397,
0.15823842585086823,
0.018773071467876434,
-0.21705512702465057,
0.2746414244174957,
-0.029279328882694244,
-0.061483725905418396,
0.23195263743400574,
-0.09491382539272308,
0.03368425369262695,
0.09247764945030212,
0.11487150937318802,
0.37238216400146484,
0.06732236593961716,
-0.062469400465488434,
-0.07391449809074402,
-0.2632526755332947,
-0.34630468487739563,
-0.10151109844446182,
0.11896190047264099,
0.4274821877479553,
0.09570419788360596,
-0.07231904566287994,
-0.14712843298912048,
-0.3396624028682709,
0.121501624584198,
0.22406311333179474,
-0.405170738697052,
0.2961723208427429,
-0.23325896263122559,
0.3112163841724396,
-0.018534190952777863,
0.15442176163196564,
0.21457567811012268,
0.00801054760813713,
-0.17593789100646973,
-0.6390144228935242,
0.5244708061218262,
-0.04222720488905907,
-0.27441027760505676,
-0.1311611831188202,
0.06465232372283936,
0.18235214054584503,
-0.1270979791879654,
-0.574516236782074,
-0.11150988191366196,
0.23829635977745056,
0.07406570017337799,
-0.3635948598384857,
0.25120294094085693,
-0.17469841241836548,
-0.18726332485675812,
-0.23846863210201263,
0.22548151016235352,
0.01676740124821663,
0.12414819002151489,
0.02802606299519539,
-0.33365577459335327
] |
https://github.com/huggingface/datasets/pull/437 | Fix XTREME PAN-X loading | I see. This is an interesting question.
Maybe as the dataset doesn't provide the mapping we shouldn't force an arbitrary one, and keep them as strings ?
Moreover for NER the labels are often different from a dataset to the other so it's probably good to keep strings (there is no conventional mapping).
Also as the column is called "ner_tags" (or "langs"), you can already assume that there is a fixed and predefined list of labels. | Hi 🤗
In response to the discussion in #425 @lewtun and I made some fixes to the repo. In the original XTREME implementation the PAN-X dataset for named entity recognition loaded each word/tag pair as a single row and the sentence relation was lost. With the fix each row contains the list of all words in a single sentence and their NER tags. This is also in agreement with the [NER example](https://github.com/huggingface/transformers/tree/master/examples/token-classification) in the transformers repo.
With the fix the output of the dataset should look as follows:
```python
>>> dataset = load_dataset("xtreme", "PAN-X.en", data_dir='./data')
>>> dataset['train'][0]
{'words': ['R.H.', 'Saunders', '(', 'St.', 'Lawrence', 'River', ')', '(', '968', 'MW', ')'],
'ner_tags': ['B-ORG', 'I-ORG', 'O', 'B-ORG', 'I-ORG', 'I-ORG', 'O', 'O', 'O', 'O', 'O'],
'langs': ['en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en']}
``` | 76 | text: Fix XTREME PAN-X loading
Hi 🤗
In response to the discussion in #425 @lewtun and I made some fixes to the repo. In the original XTREME implementation the PAN-X dataset for named entity recognition loaded each word/tag pair as a single row and the sentence relation was lost. With the fix each row contains the list of all words in a single sentence and their NER tags. This is also in agreement with the [NER example](https://github.com/huggingface/transformers/tree/master/examples/token-classification) in the transformers repo.
With the fix the output of the dataset should look as follows:
```python
>>> dataset = load_dataset("xtreme", "PAN-X.en", data_dir='./data')
>>> dataset['train'][0]
{'words': ['R.H.', 'Saunders', '(', 'St.', 'Lawrence', 'River', ')', '(', '968', 'MW', ')'],
'ner_tags': ['B-ORG', 'I-ORG', 'O', 'B-ORG', 'I-ORG', 'I-ORG', 'O', 'O', 'O', 'O', 'O'],
'langs': ['en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en']}
```
I see. This is an interesting question.
Maybe as the dataset doesn't provide the mapping we shouldn't force an arbitrary one, and keep them as strings ?
Moreover for NER the labels are often different from a dataset to the other so it's probably good to keep strings (there is no conventional mapping).
Also as the column is called "ner_tags" (or "langs"), you can already assume that there is a fixed and predefined list of labels. | [
0.1711902618408203,
-0.29755088686943054,
0.0783170610666275,
0.12758219242095947,
0.23019368946552277,
-0.15036287903785706,
0.21057778596878052,
0.06883804500102997,
-0.10109208524227142,
0.10554829984903336,
-0.3721424639225006,
0.24178577959537506,
0.07959301024675369,
-0.1271202117204666,
0.11624988168478012,
-0.18671871721744537,
0.05949786305427551,
0.1928887665271759,
0.17429900169372559,
-0.25379854440689087,
-0.09547530114650726,
0.32633188366889954,
-0.006078943610191345,
0.27472493052482605,
-0.7440946102142334,
0.2468486875295639,
0.1880519986152649,
0.05479368939995766,
0.02716028317809105,
-0.5526934266090393,
0.17162969708442688,
0.17350557446479797,
0.0969170406460762,
0.10989860445261002,
-0.0001107691932702437,
-0.1360725313425064,
0.11029191315174103,
-0.26864102482795715,
-0.0043974369764328,
-0.3448619246482849,
-0.06744581460952759,
-0.2476520836353302,
0.14736083149909973,
-0.17507819831371307,
-0.24517366290092468,
-0.12808693945407867,
0.17510664463043213,
0.08067378401756287,
0.406494677066803,
0.27885520458221436,
0.15224172174930573,
0.146853506565094,
-0.14375761151313782,
-0.04804707318544388,
0.2965661883354187,
0.17404386401176453,
-0.16647419333457947,
-0.0006409492343664169,
0.4217537045478821,
-0.023552406579256058,
-0.3767310082912445,
0.36325469613075256,
0.09008629620075226,
-0.1561528444290161,
0.33729681372642517,
0.3615276515483856,
0.21078181266784668,
-0.5564401149749756,
-0.005098652094602585,
0.28308138251304626,
0.03625873848795891,
-0.04593047499656677,
-0.20941664278507233,
-0.41238656640052795,
-0.0593634732067585,
-0.39884456992149353,
0.15637336671352386,
-0.1242285966873169,
-0.2612171173095703,
0.06017455831170082,
0.20202794671058655,
-0.018304768949747086,
-0.002369016408920288,
-0.07333464920520782,
-0.35327577590942383,
0.744350790977478,
0.0013358849100768566,
-0.08546976000070572,
-0.1605687439441681,
-0.16444678604602814,
0.20502562820911407,
0.07881653308868408,
0.08423978090286255,
0.2513314485549927,
-0.41475093364715576,
-0.08746767044067383,
-0.09334295243024826,
-0.15256109833717346,
-0.04112035036087036,
-0.03526103496551514,
-0.18439079821109772,
0.14183256030082703,
0.21903440356254578,
0.03177839517593384,
0.24364903569221497,
0.34428948163986206,
0.3709545135498047,
0.23574532568454742,
0.15059781074523926,
-0.16403533518314362,
0.08035363256931305,
-0.02724345773458481,
-0.3155963718891144,
0.4611545205116272,
0.38941553235054016,
-0.21955448389053345,
0.09099928289651871,
-0.2971712052822113,
-0.17556534707546234,
0.0018003657460212708,
-0.04624832794070244,
0.18525904417037964,
0.0441681370139122,
0.29011473059654236,
-0.0041810618713498116,
0.6598345041275024,
-0.12027386575937271,
-0.038207560777664185,
-0.11371377110481262,
-0.11823921650648117,
-0.15715301036834717,
-0.14105243980884552,
-0.5166624188423157,
-0.03470297157764435,
0.1806401163339615,
0.23517973721027374,
0.26627975702285767,
-0.2412523776292801,
0.23691223561763763,
-0.15403978526592255,
-0.34478825330734253,
-0.09755823016166687,
0.0448523610830307,
0.15548866987228394,
-0.04098504036664963,
0.19730521738529205,
-0.07407249510288239,
-0.3998044729232788,
-0.14561866223812103,
0.1046295166015625,
-0.6745550036430359,
-0.04537125676870346,
-0.1538121998310089,
0.19480957090854645,
-0.3033236861228943,
-0.08146855235099792,
-0.13843142986297607,
0.13376642763614655,
0.06082788109779358,
0.0799945592880249,
-0.00932232290506363,
-0.28506577014923096,
-0.21489013731479645,
0.014497572556138039,
0.0743425264954567,
0.10970649123191833,
-0.3119167685508728,
-0.38217172026634216,
0.2410203218460083,
0.03083796426653862,
0.0723646804690361,
0.4069303870201111,
-0.04774182289838791,
0.09578306972980499,
-0.06481009721755981,
0.6233993768692017,
0.17414453625679016,
-0.5231719613075256,
-0.31883475184440613,
-0.1878097653388977,
-0.17851215600967407,
0.2494460791349411,
-0.07637166231870651,
0.31189587712287903,
0.37049272656440735,
-0.20073075592517853,
0.3887776732444763,
0.24676819145679474,
0.07057561725378036,
0.1012875959277153,
-0.14841783046722412,
0.20452843606472015,
-0.23338554799556732,
0.12848851084709167,
0.0869167149066925,
0.10175161063671112,
-0.2607712745666504,
0.23985572159290314,
0.18654143810272217,
-0.09618870913982391,
0.22699102759361267,
0.28573840856552124,
0.043265778571367264,
0.2057788074016571,
0.16373789310455322,
-0.07632578909397125,
-0.6358481645584106,
0.15015658736228943,
-0.5263127684593201,
0.6439449191093445,
-0.2518373131752014,
-0.2511293292045593,
-0.34387683868408203,
0.043412476778030396,
-0.2323414534330368,
-0.12935054302215576,
0.18397098779678345,
-0.03969474881887436,
-0.1777215152978897,
-0.10236625373363495,
-0.11107823252677917,
0.2207164466381073,
-0.07591190189123154,
0.24010010063648224,
-0.32441186904907227,
0.18227019906044006,
-0.011534525081515312,
-0.10553424805402756,
-0.2925637364387512,
0.2793753147125244,
0.08371125906705856,
0.16131900250911713,
-0.046612780541181564,
0.29414454102516174,
-0.017713164910674095,
-0.045028895139694214,
-0.39543959498405457,
0.2727962136268616,
0.10913393646478653,
-0.4851328730583191,
0.0753491222858429,
0.19800639152526855,
0.07537906616926193,
-0.23891347646713257,
-0.33007845282554626,
0.3481961488723755,
0.3826998472213745,
0.25275811553001404,
-0.011631481349468231,
0.05471262335777283,
0.11923810839653015,
-0.07939957827329636,
-0.4072936475276947,
-0.20103268325328827,
0.03165968507528305,
-0.062623992562294,
0.13484473526477814,
0.2708333134651184,
-0.20446737110614777,
-0.19332066178321838,
0.5280985236167908,
0.0268264040350914,
0.12897565960884094,
0.17826834321022034,
-0.4243842363357544,
-0.005890462547540665,
-0.1080537736415863,
0.20711319148540497,
0.19765397906303406,
0.2086845487356186,
0.023972410708665848,
0.15912340581417084,
-0.060445547103881836,
0.06406739354133606,
-0.0031005069613456726,
0.2881597876548767,
0.09963285177946091,
0.05635055899620056,
0.237929105758667,
0.08642997592687607,
-0.3326161503791809,
-0.31187519431114197,
-0.22080640494823456,
0.10275387018918991,
-0.44174936413764954,
-0.008778966031968594,
0.15854087471961975,
-0.3524107038974762,
-0.1157366931438446,
-0.03949163481593132,
-0.417007178068161,
-0.41401126980781555,
0.31152254343032837,
-0.11346995830535889,
0.08645011484622955,
0.3712676465511322,
-0.18567419052124023,
0.008071750402450562,
-0.13729287683963776,
-0.07262960821390152,
-0.32302001118659973,
-0.020413581281900406,
-0.2887594699859619,
0.0847831666469574,
-0.17970013618469238,
0.22399583458900452,
-0.13444219529628754,
-0.37836897373199463,
0.20633265376091003,
-0.05585304647684097,
-0.5774977207183838,
0.36966368556022644,
-0.363319993019104,
0.3306523561477661,
0.2550851106643677,
-0.027122527360916138,
-0.1817544549703598,
0.0800899863243103,
0.31114423274993896,
-0.4386661648750305,
-0.15522485971450806,
0.12126915156841278,
-0.02164539135992527,
-0.1041971892118454,
0.048008885234594345,
-0.4146204888820648,
-0.10710107535123825,
-0.28037288784980774,
0.04774123802781105,
0.15138566493988037,
0.262185275554657,
0.32689568400382996,
-0.38866761326789856,
-0.12276039272546768,
-0.22113101184368134,
-0.08408527076244354,
-0.03550461679697037,
-0.1280078887939453,
0.42697158455848694,
-0.06312396377325058,
-0.1725766509771347,
-0.13728785514831543,
-0.18569891154766083,
0.25752130150794983,
-0.1422489434480667,
0.183855339884758,
-0.06225366145372391,
-0.14173057675361633,
-0.06019340828061104,
0.22173617780208588,
-0.07389051467180252,
0.29428115487098694,
0.16371574997901917,
-0.108986034989357,
0.015583701431751251,
-0.07951897382736206,
0.2337627410888672,
0.3651418089866638,
0.0696675255894661,
-0.118697889149189,
0.02257853001356125,
0.02208731323480606,
0.1623135507106781,
-0.001374194398522377,
0.04333227127790451,
0.25745758414268494,
-0.02104048989713192,
0.09779980778694153,
-0.08464924246072769,
0.004837639629840851,
-0.40343204140663147,
-0.10998809337615967,
0.11242172122001648,
0.22278988361358643,
0.21924343705177307,
-0.0768691748380661,
-0.03222041577100754,
0.19608740508556366,
0.1558639407157898,
-0.1737746149301529,
0.29144716262817383,
-0.04539403319358826,
-0.01665867120027542,
0.05560534819960594,
0.02324914187192917,
0.03988012671470642,
-0.36829423904418945,
-0.013544104062020779,
-0.14440827071666718,
0.017452210187911987,
0.08709694445133209,
-0.759278416633606,
0.4670700132846832,
-0.4759328365325928,
-0.004117816686630249,
0.21146619319915771,
0.1802956610918045,
0.10747906565666199,
-0.12552955746650696,
0.24264895915985107,
0.14019736647605896,
0.46268320083618164,
-0.22134758532047272,
-0.1858852356672287,
0.1381354182958603,
0.20795351266860962,
-0.04699402302503586,
0.041314344853162766,
-0.36601749062538147,
-0.47037914395332336,
0.42580121755599976,
0.2714245319366455,
-0.17877119779586792,
-0.4966476857662201,
0.14243048429489136,
-0.1815800666809082,
-0.2723284065723419,
-0.21656924486160278,
-0.28080204129219055,
-0.046138256788253784,
-0.2640545070171356,
0.11920705437660217,
0.5678182244300842,
-0.030364790931344032,
0.14749547839164734,
-0.033044420182704926,
-0.06806464493274689,
0.003503836691379547,
0.4270300269126892,
0.21699105203151703,
0.21295768022537231,
-0.23614048957824707,
-0.124504953622818,
0.040681030601263046,
0.2100885510444641,
-0.04312270134687424,
0.4066597819328308,
-0.10975158214569092,
-0.39967548847198486,
0.21022436022758484,
-0.14265404641628265,
0.4682626724243164,
0.2373022437095642,
0.12976816296577454,
0.11560818552970886,
-0.08022823184728622,
0.11482526361942291,
-0.0645829290151596,
0.1051386222243309,
0.33777856826782227,
0.12569266557693481,
-0.5309110283851624,
-0.04945879429578781,
0.3966810703277588,
0.28894659876823425,
-0.21439030766487122,
-0.3785270154476166,
0.43049782514572144,
-0.2664714455604553,
0.25744521617889404,
0.2525651454925537,
1.2492581605911255,
-0.09174121916294098,
0.40117281675338745,
0.021660642698407173,
0.21021248400211334,
0.5929833650588989,
-0.3449585437774658,
0.095499686896801,
-0.19716252386569977,
-0.04314669594168663,
-0.20322109758853912,
0.038869258016347885,
-0.15599381923675537,
0.24366095662117004,
-0.10691869258880615,
0.6872270107269287,
0.11512750387191772,
0.23352256417274475,
0.19739431142807007,
0.10806882381439209,
0.12099618464708328,
-0.5738048553466797,
-0.29904162883758545,
0.04179474711418152,
-0.06194598227739334,
0.27742329239845276,
0.02942725270986557,
-0.09402130544185638,
-0.08116357028484344,
-0.1372826099395752,
0.040489599108695984,
0.22049027681350708,
0.1284281611442566,
-0.238007590174675,
0.2980736792087555,
-0.054513346403837204,
0.0020107217133045197,
0.20623847842216492,
0.09282657504081726,
-0.017626963555812836,
-0.0599503293633461,
0.23924502730369568,
0.30658501386642456,
0.09082748740911484,
0.2425137758255005,
-0.12164066731929779,
0.3250599205493927,
0.024729564785957336,
-0.06711424887180328,
0.10830695927143097,
-0.051658228039741516,
-0.09620579332113266,
-0.38845157623291016,
-0.08628454804420471,
0.24224889278411865,
-0.23494894802570343,
0.1539158970117569,
0.046212952584028244,
-0.11553540825843811,
-0.2504989206790924,
0.13482420146465302,
-0.08584555983543396,
-0.17257586121559143,
0.08716794103384018,
0.2400554120540619,
-0.22427907586097717,
-0.031414877623319626,
0.30672362446784973,
0.37927940487861633,
-0.40180322527885437,
0.2952917814254761,
0.04992971941828728,
-0.09359250962734222,
-0.13317686319351196,
-0.23400792479515076,
0.4602709114551544,
-0.869490921497345,
0.04795646294951439,
-0.14058849215507507,
-0.4284011721611023,
-0.0021770510356873274,
0.3801618218421936,
0.16259732842445374,
-0.11036371439695358,
-0.11389261484146118,
-0.17147883772850037,
-0.4871196746826172,
0.31841087341308594,
0.0932968333363533,
0.30705878138542175,
-0.0084600318223238,
0.06595530360937119,
-0.013776151463389397,
0.1405520886182785,
-0.3715296685695648,
-0.11328049004077911,
-0.37807464599609375,
0.2469094693660736,
-0.014369059354066849,
-0.10574448853731155,
0.13559506833553314,
-0.0107792429625988,
0.11962801218032837,
0.3508104681968689,
-0.12927381694316864,
-0.15209844708442688,
-0.07928559184074402,
0.10897624492645264,
0.08342897891998291,
-0.007790794596076012,
-0.08053958415985107,
0.38161802291870117,
0.08524943888187408,
-0.25232142210006714,
0.1742369532585144,
0.32328709959983826,
0.11687927693128586,
0.19028043746948242,
0.08089789748191833,
0.19264346361160278,
-0.07240484654903412,
0.13855904340744019,
0.06663143634796143,
-0.24585427343845367,
0.04028121754527092,
0.06569825857877731,
-0.2559695839881897,
-0.030425753444433212,
-0.4201139509677887,
0.38532695174217224,
0.22400733828544617,
0.08868372440338135,
0.14219242334365845,
-0.17509229481220245,
-0.1466021090745926,
-0.031664106994867325,
0.23509129881858826,
0.029716122895479202,
-0.06524644792079926,
-0.29208263754844666,
0.23664474487304688,
0.2758125364780426,
-0.3751291036605835,
-0.034446101635694504,
0.11600077152252197,
-0.04258584976196289,
0.2281225323677063,
0.5010792016983032,
0.40956902503967285,
0.08200384676456451,
0.31837987899780273,
0.034822337329387665,
0.3954228162765503,
-0.35828930139541626,
0.033886440098285675,
0.3851705491542816,
0.0806972086429596,
0.17783142626285553,
0.6070654392242432,
0.04157276824116707,
0.13110263645648956,
0.4503253698348999,
0.0599922314286232,
0.4308287799358368,
0.09238572418689728,
0.5752184391021729,
0.11996757984161377,
0.21429389715194702,
-0.18240143358707428,
0.1862078309059143,
-0.1670946478843689,
0.139516681432724,
-0.036354899406433105,
-0.19925236701965332,
0.164119154214859,
-0.13227401673793793,
-0.23359334468841553,
0.2665935754776001,
-0.3532055616378784,
-0.25615406036376953,
-0.10282470285892487,
-0.2949887812137604,
-0.23350882530212402,
-0.21435052156448364,
-0.03541285917162895,
-0.06925848126411438,
-0.08497686684131622,
-0.1177213191986084,
0.14574268460273743,
-0.15799714624881744,
-0.2205606997013092,
0.012200139462947845,
0.3991665542125702,
-0.17627693712711334,
0.4926083981990814,
-0.08299314975738525,
-0.02519766241312027,
0.12013465166091919,
0.3045406937599182,
0.32855847477912903,
0.1895773559808731,
0.2912161648273468,
0.004577741026878357,
0.02747264690697193,
-0.17541925609111786,
0.043819937855005264,
0.1852627396583557,
0.09996360540390015,
0.1433221399784088,
-0.007907601073384285,
0.1289324313402176,
-0.20987355709075928,
-0.12240071594715118,
-0.22765673696994781,
0.07595083117485046,
0.13114438951015472,
0.4588558077812195,
0.13157600164413452,
-0.17242595553398132,
-0.16814649105072021,
-0.1640540361404419,
-0.27935731410980225,
-0.04183054342865944,
0.17460457980632782,
-0.19631822407245636,
0.11874959617853165,
-0.14980536699295044,
0.10572175681591034,
0.09607915580272675,
0.19298431277275085,
0.2584797441959381,
-0.086065374314785,
-0.2795957624912262,
0.1398433893918991,
-0.6060155034065247,
0.2098020315170288,
-0.03878844156861305,
-0.16718511283397675,
0.19800883531570435,
-0.09543952345848083,
0.09576675295829773,
0.24953852593898773,
-0.27388232946395874,
0.275987446308136,
-0.32694384455680847,
0.03359457850456238,
-0.28056806325912476,
0.2630966305732727,
0.27575910091400146,
0.18110887706279755,
0.05984967201948166,
-0.07786448299884796,
-0.22159944474697113,
0.35360512137413025,
-0.04736608639359474,
-0.17105944454669952,
0.17588579654693604,
-0.07926484942436218,
0.04468047618865967,
0.16996827721595764,
0.0573338121175766,
0.3678044378757477,
0.029456183314323425,
0.04184590280056,
-0.08304207026958466,
-0.26264581084251404,
-0.3735022246837616,
-0.14747127890586853,
0.19150890409946442,
0.35005316138267517,
0.16483893990516663,
-0.06037740781903267,
-0.22361686825752258,
-0.36418139934539795,
0.16707193851470947,
0.3008570075035095,
-0.476406067609787,
0.2948729395866394,
-0.14670982956886292,
0.2485940158367157,
-0.023861292749643326,
0.055433571338653564,
0.2620466351509094,
-0.09314119070768356,
-0.12857094407081604,
-0.6138669848442078,
0.49923714995384216,
0.1367281973361969,
-0.23486162722110748,
-0.2821657657623291,
0.0771406888961792,
0.19734400510787964,
-0.022841045632958412,
-0.5190902948379517,
-0.03703002259135246,
0.2722732722759247,
0.012893052771687508,
-0.39670294523239136,
0.1595921665430069,
-0.1023116409778595,
-0.10477256774902344,
-0.2586382031440735,
0.1536126434803009,
0.013837074860930443,
0.11588090658187866,
-0.1539718508720398,
-0.3858535885810852
] |
https://github.com/huggingface/datasets/pull/437 | Fix XTREME PAN-X loading | Yes sounds good to me.
This make me wonder if we don’t want to have a default identity function in `map` so this method could also be used to easily cast features. What do you think? | Hi 🤗
In response to the discussion in #425 @lewtun and I made some fixes to the repo. In the original XTREME implementation the PAN-X dataset for named entity recognition loaded each word/tag pair as a single row and the sentence relation was lost. With the fix each row contains the list of all words in a single sentence and their NER tags. This is also in agreement with the [NER example](https://github.com/huggingface/transformers/tree/master/examples/token-classification) in the transformers repo.
With the fix the output of the dataset should look as follows:
```python
>>> dataset = load_dataset("xtreme", "PAN-X.en", data_dir='./data')
>>> dataset['train'][0]
{'words': ['R.H.', 'Saunders', '(', 'St.', 'Lawrence', 'River', ')', '(', '968', 'MW', ')'],
'ner_tags': ['B-ORG', 'I-ORG', 'O', 'B-ORG', 'I-ORG', 'I-ORG', 'O', 'O', 'O', 'O', 'O'],
'langs': ['en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en']}
``` | 36 | text: Fix XTREME PAN-X loading
Hi 🤗
In response to the discussion in #425 @lewtun and I made some fixes to the repo. In the original XTREME implementation the PAN-X dataset for named entity recognition loaded each word/tag pair as a single row and the sentence relation was lost. With the fix each row contains the list of all words in a single sentence and their NER tags. This is also in agreement with the [NER example](https://github.com/huggingface/transformers/tree/master/examples/token-classification) in the transformers repo.
With the fix the output of the dataset should look as follows:
```python
>>> dataset = load_dataset("xtreme", "PAN-X.en", data_dir='./data')
>>> dataset['train'][0]
{'words': ['R.H.', 'Saunders', '(', 'St.', 'Lawrence', 'River', ')', '(', '968', 'MW', ')'],
'ner_tags': ['B-ORG', 'I-ORG', 'O', 'B-ORG', 'I-ORG', 'I-ORG', 'O', 'O', 'O', 'O', 'O'],
'langs': ['en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en']}
```
Yes sounds good to me.
This make me wonder if we don’t want to have a default identity function in `map` so this method could also be used to easily cast features. What do you think? | [
0.12155111134052277,
-0.32705608010292053,
0.11673244833946228,
-0.04383104294538498,
0.3090822100639343,
-0.037240490317344666,
0.2885206937789917,
0.11890022456645966,
0.027523554861545563,
-0.0409763902425766,
-0.24534711241722107,
0.22058594226837158,
0.020107926800847054,
-0.10383020341396332,
0.20383456349372864,
-0.13921549916267395,
0.05837947875261307,
0.17721928656101227,
0.09912525117397308,
-0.30174675583839417,
-0.10861842334270477,
0.2703333795070648,
0.04966585338115692,
0.2308102697134018,
-0.48507457971572876,
0.33680328726768494,
0.18767447769641876,
-0.07497129589319229,
0.05021157115697861,
-0.4230949580669403,
0.11253443360328674,
0.22964125871658325,
0.00013290345668792725,
-0.02815379947423935,
-0.00011989811901003122,
-0.10517016053199768,
0.2525075674057007,
-0.2245735377073288,
0.1560826599597931,
-0.27335596084594727,
-0.3675844073295593,
-0.05080169439315796,
0.16253334283828735,
-0.3257666826248169,
-0.1273079514503479,
0.016068870201706886,
0.24791793525218964,
-0.0348161980509758,
0.29263556003570557,
0.09405525028705597,
0.06303691864013672,
0.12571053206920624,
-0.2733577787876129,
0.08322940766811371,
0.26790568232536316,
0.30844056606292725,
-0.0909118801355362,
-0.0028265882283449173,
0.3066549301147461,
-0.13216407597064972,
-0.2608296871185303,
0.37485483288764954,
0.029888717457652092,
-0.3064524531364441,
0.5700543522834778,
0.33360376954078674,
0.3886823356151581,
-0.4517517387866974,
-0.243438720703125,
0.23300495743751526,
-0.023112080991268158,
-0.030202165246009827,
-0.18069876730442047,
-0.362522155046463,
0.05933225899934769,
-0.3341345489025116,
0.1168181300163269,
-0.0657803937792778,
-0.20856431126594543,
0.047431085258722305,
-0.07620310038328171,
-0.0736415833234787,
0.14222273230552673,
-0.013680405914783478,
-0.3750377297401428,
0.6304794549942017,
0.1993522346019745,
0.04647073149681091,
-0.08579520881175995,
-0.1474829614162445,
0.1166590079665184,
0.04741217941045761,
0.0060286931693553925,
0.13704070448875427,
-0.21369950473308563,
-0.1812274307012558,
0.1905718743801117,
-0.14789295196533203,
-0.11291202157735825,
-0.056161895394325256,
-0.09580269455909729,
0.1904151439666748,
0.08071146160364151,
0.008067745715379715,
0.3979133069515228,
0.3815082311630249,
0.42416611313819885,
0.07337730377912521,
0.2544204592704773,
-0.2830779552459717,
0.06866209208965302,
0.0963372141122818,
-0.18091902136802673,
0.5797021389007568,
0.42954885959625244,
0.035199567675590515,
0.1329089254140854,
-0.1540623903274536,
0.0003367643803358078,
-0.048516836017370224,
-0.04807871952652931,
0.05744873732328415,
0.13088546693325043,
0.30209046602249146,
0.05170074850320816,
0.6682456135749817,
-0.09914787113666534,
-0.0768454298377037,
-0.03726871684193611,
-0.20817109942436218,
-0.09927051514387131,
-0.20142239332199097,
-0.3567797839641571,
-0.2812823951244354,
0.04038596525788307,
0.25504082441329956,
0.1805441677570343,
-0.47321346402168274,
0.48906421661376953,
0.015256963670253754,
-0.2654588222503662,
-0.03381386026740074,
0.16163165867328644,
0.17626385390758514,
-0.21219398081302643,
0.17332711815834045,
-0.036409784108400345,
-0.257022887468338,
-0.24009642004966736,
0.06494053453207016,
-0.5839991569519043,
-0.32666251063346863,
0.008306249976158142,
0.10579928010702133,
-0.2026948481798172,
0.07690195739269257,
-0.2901402413845062,
0.2250252664089203,
0.12148310244083405,
-0.19396984577178955,
0.03368266671895981,
-0.320196270942688,
-0.24138714373111725,
-0.01982792094349861,
-0.08683818578720093,
0.07610571384429932,
-0.0697234496474266,
-0.4291495978832245,
0.19405020773410797,
-0.06289888918399811,
-0.039500705897808075,
0.40095415711402893,
-0.2741573452949524,
0.3307454288005829,
-0.15754403173923492,
0.7128576040267944,
0.27435430884361267,
-0.4285379946231842,
-0.41183236241340637,
-0.19459430873394012,
-0.08149521052837372,
0.13627587258815765,
-0.13430142402648926,
0.32019466161727905,
0.445126473903656,
-0.41866758465766907,
0.30200299620628357,
0.378451943397522,
0.09555815905332565,
0.3148655295372009,
-0.031434789299964905,
-0.028698114678263664,
-0.07897806167602539,
0.0760534405708313,
-0.003457222133874893,
0.11605490744113922,
-0.1607595980167389,
0.3616439700126648,
0.11491528153419495,
-0.1783912479877472,
0.14213299751281738,
0.12205106019973755,
0.06142233684659004,
-0.09881632030010223,
0.07426989078521729,
-0.007369786500930786,
-0.6455724835395813,
0.10623257607221603,
-0.30083566904067993,
0.5226700901985168,
-0.2628042697906494,
-0.3343261480331421,
-0.03956740349531174,
0.026819979771971703,
-0.2142423838376999,
0.13362497091293335,
0.0336957648396492,
-0.1740136444568634,
-0.1750563234090805,
-0.22792939841747284,
-0.23462428152561188,
0.09705491364002228,
0.057783059775829315,
0.057568930089473724,
-0.31692904233932495,
0.0928933247923851,
0.05584251880645752,
0.11553582549095154,
-0.44606801867485046,
0.10557173192501068,
-0.04942738264799118,
-0.06193377450108528,
-0.0024669943377375603,
0.29404744505882263,
-0.12571337819099426,
0.12819425761699677,
-0.43717437982559204,
0.3354872167110443,
0.26228877902030945,
-0.5994624495506287,
-0.008722236379981041,
0.37686190009117126,
0.07103737443685532,
-0.41395139694213867,
-0.524382472038269,
0.3341936767101288,
0.2663169205188751,
0.20419929921627045,
0.008109424263238907,
0.15924522280693054,
0.13033752143383026,
-0.10809879004955292,
-0.540899395942688,
-0.3083604574203491,
-0.010216880589723587,
-0.08785323798656464,
0.060636911541223526,
0.231935515999794,
-0.17081911861896515,
-0.14837431907653809,
0.5243006348609924,
-0.06646443903446198,
0.24439319968223572,
0.0972316563129425,
-0.20438185334205627,
-0.07545559108257294,
0.03193323314189911,
0.02147946134209633,
0.3783639669418335,
0.06615398079156876,
0.16026613116264343,
0.20140740275382996,
0.15125662088394165,
0.22512869536876678,
0.14027297496795654,
0.18722155690193176,
-0.01832374930381775,
0.04934263601899147,
0.25895658135414124,
0.08626040071249008,
-0.31853780150413513,
-0.23321355879306793,
-0.025874348357319832,
-0.015509800985455513,
-0.461765855550766,
-0.08098380267620087,
0.2591906189918518,
-0.26568126678466797,
0.12593823671340942,
0.05564557760953903,
-0.3097028136253357,
-0.4838903248310089,
0.2173139750957489,
0.0038310959935188293,
-0.15521962940692902,
0.43389493227005005,
-0.3222666084766388,
0.05192945897579193,
-0.14570781588554382,
-0.34051159024238586,
-0.24709242582321167,
-0.06135696545243263,
0.045280080288648605,
-0.048371054232120514,
-0.11696086078882217,
0.12951408326625824,
-0.1272760033607483,
-0.35231536626815796,
0.1552056074142456,
-0.06537825614213943,
-0.6305887699127197,
0.5263640880584717,
-0.1484450250864029,
0.1597026139497757,
0.35627415776252747,
-0.10166202485561371,
-0.23876383900642395,
-0.031217176467180252,
0.24898666143417358,
-0.5526202321052551,
-0.3190257251262665,
0.22042347490787506,
-0.00939973909407854,
-0.0597229078412056,
-0.12342225015163422,
-0.19541597366333008,
-0.05774301290512085,
-0.28474774956703186,
0.013889111578464508,
0.07538647949695587,
0.24023301899433136,
0.20315766334533691,
-0.41536465287208557,
-0.19632872939109802,
-0.15644216537475586,
-0.09116064757108688,
-0.11685134470462799,
-0.08156413584947586,
0.3939099609851837,
-0.03547196462750435,
-0.09816110134124756,
-0.33702555298805237,
-0.34847354888916016,
0.24712775647640228,
0.018246110528707504,
0.012281060218811035,
-0.1435193121433258,
-0.015363341197371483,
0.15259218215942383,
0.16367168724536896,
0.012775477021932602,
0.3859323263168335,
0.3626238703727722,
0.06569060683250427,
0.07414624840021133,
-0.09118896722793579,
0.13658425211906433,
0.676764190196991,
0.0649666041135788,
0.17950975894927979,
0.16258233785629272,
-0.043942444026470184,
0.39781951904296875,
0.1820930391550064,
0.2310369610786438,
0.1958172768354416,
0.024609364569187164,
-0.06083432212471962,
-0.10185704380273819,
-0.22001264989376068,
-0.3885989487171173,
-0.17087405920028687,
0.03058536723256111,
0.11592819541692734,
0.09924271702766418,
-0.2983458936214447,
-0.006922461092472076,
0.40093231201171875,
0.07064474374055862,
-0.37354138493537903,
0.2725140154361725,
-0.1819154918193817,
-0.0178573876619339,
0.013305280357599258,
0.04988682270050049,
-0.06969568133354187,
-0.23349159955978394,
0.2951427102088928,
-0.16896767914295197,
0.11897622793912888,
0.010925514623522758,
-0.7755557298660278,
0.37112072110176086,
-0.332189679145813,
-0.03086450695991516,
0.19920097291469574,
-0.03991377726197243,
0.20882628858089447,
-0.32016053795814514,
0.21910858154296875,
-0.02873164787888527,
0.609886109828949,
-0.24387605488300323,
-0.13684464991092682,
0.06503419578075409,
0.21004024147987366,
0.10271032899618149,
0.004587158560752869,
-0.18942205607891083,
-0.37708422541618347,
0.5676620006561279,
0.17595767974853516,
-0.43479493260383606,
-0.32016411423683167,
0.23191680014133453,
-0.30386313796043396,
-0.2658764123916626,
-0.12897519767284393,
-0.18641705811023712,
-0.13088713586330414,
-0.25748851895332336,
-0.03699991852045059,
0.43418705463409424,
-0.17014314234256744,
0.22828443348407745,
0.2848927676677704,
-0.19851841032505035,
0.054267317056655884,
0.4415166974067688,
0.273915559053421,
0.20676055550575256,
-0.16247884929180145,
0.03442302718758583,
0.04222635552287102,
-0.035746000707149506,
-0.306878000497818,
0.6092073917388916,
0.022810250520706177,
-0.42379236221313477,
0.11158229410648346,
-0.056981783360242844,
0.5164912343025208,
0.3512599766254425,
0.15756745636463165,
-0.10975734144449234,
-0.15032079815864563,
0.015314657241106033,
-0.07398007065057755,
0.17752867937088013,
0.15157316625118256,
-0.054120954126119614,
-0.49712371826171875,
-0.09082405269145966,
0.36675822734832764,
0.20148971676826477,
-0.29556745290756226,
-0.2952004373073578,
0.29084038734436035,
-0.30118632316589355,
0.31048673391342163,
0.20689556002616882,
1.3751046657562256,
-0.02087251842021942,
0.44751298427581787,
-0.04174990952014923,
0.37574559450149536,
0.5576756596565247,
-0.2768428325653076,
0.1701454073190689,
-0.3098514676094055,
-0.02910696342587471,
-0.2674195468425751,
-0.07804349809885025,
-0.3171069622039795,
0.24320949614048004,
-0.12368600070476532,
0.5345242619514465,
0.19399942457675934,
0.44664743542671204,
0.109922394156456,
0.12310163676738739,
0.2444320023059845,
-0.5040587186813354,
-0.10152863711118698,
-0.044438235461711884,
-0.12006920576095581,
0.17087341845035553,
0.04877205565571785,
-0.18600928783416748,
0.05101792886853218,
-0.2728942334651947,
0.16449697315692902,
0.1565861999988556,
0.04370003193616867,
0.07060354948043823,
0.24040086567401886,
-0.008229903876781464,
0.06943504512310028,
0.19797144830226898,
-0.07867877185344696,
-0.0270855613052845,
-0.028319796547293663,
0.13543333113193512,
0.5938130021095276,
0.3262004256248474,
0.24594543874263763,
-0.06389407068490982,
0.2850200831890106,
0.12072860449552536,
0.04626775532960892,
0.0378585085272789,
-0.16823291778564453,
-0.15403836965560913,
-0.48119428753852844,
-0.023988373577594757,
0.1907351016998291,
-0.2936753034591675,
-0.007219055667519569,
0.2895280122756958,
-0.05066511034965515,
-0.17918407917022705,
0.0043381741270422935,
-0.09193570911884308,
-0.05842118337750435,
0.20078054070472717,
0.12967205047607422,
-0.19711381196975708,
0.10463911294937134,
0.2732401490211487,
0.3508543372154236,
-0.4432877004146576,
0.265175998210907,
-0.1778736710548401,
-0.0606464147567749,
-0.08779025077819824,
-0.18985140323638916,
0.3035729229450226,
-0.908502995967865,
0.06643068045377731,
-0.2217169851064682,
-0.5730412006378174,
-0.19480149447917938,
0.3547022342681885,
0.13372644782066345,
0.06873883306980133,
-0.09310530126094818,
-0.009449481964111328,
-0.5142161250114441,
0.5458411574363708,
0.14061428606510162,
0.34905633330345154,
0.010574795305728912,
0.07482744753360748,
-0.19862237572669983,
0.001082317903637886,
-0.26942241191864014,
-0.10484207421541214,
-0.06258003413677216,
0.21114268898963928,
0.10001006722450256,
0.011599656194448471,
0.02533159777522087,
-0.0622737817466259,
0.051835112273693085,
0.26276159286499023,
-0.23763149976730347,
-0.026237444952130318,
-0.08455982804298401,
0.19903120398521423,
0.12239784002304077,
-0.16259779036045074,
0.15852756798267365,
0.25700843334198,
-0.0011256709694862366,
-0.31734520196914673,
0.1955355554819107,
0.30481621623039246,
0.07140503823757172,
0.16813404858112335,
0.27576392889022827,
-0.010380074381828308,
-0.06434889882802963,
0.2507469654083252,
0.24800679087638855,
-0.13138803839683533,
-0.13497093319892883,
0.19327431917190552,
-0.3177422881126404,
0.0619683563709259,
-0.18039961159229279,
0.5080692172050476,
0.2545474171638489,
0.18763324618339539,
0.24558904767036438,
-0.13067203760147095,
-0.03598492220044136,
-0.04173273965716362,
0.1392792910337448,
0.12261725962162018,
-0.2793532609939575,
-0.1878751814365387,
0.07217410206794739,
0.18606610596179962,
-0.35375162959098816,
-0.16128455102443695,
0.2427958846092224,
0.029107801616191864,
0.14119473099708557,
0.553333580493927,
0.3637447655200958,
0.053892314434051514,
0.26797088980674744,
0.010289192199707031,
0.3508818745613098,
-0.39337027072906494,
0.09569554030895233,
0.5106878280639648,
-0.13357552886009216,
0.12370061874389648,
0.5555375218391418,
0.02732101082801819,
0.15377451479434967,
0.3951234221458435,
0.0447547622025013,
0.2899419665336609,
0.24421539902687073,
0.564031720161438,
0.2576543390750885,
0.1711445301771164,
-0.05473973974585533,
0.07400932163000107,
-0.2170645296573639,
0.3397429585456848,
0.25028863549232483,
-0.2793102562427521,
0.027574148029088974,
-0.19944480061531067,
-0.2122521996498108,
0.26230588555336,
-0.271567165851593,
-0.24336378276348114,
-0.06976877152919769,
-0.166033074259758,
-0.10602357238531113,
-0.09694872051477432,
-0.2156788408756256,
-0.05933652073144913,
0.1397140622138977,
0.0938420295715332,
0.17291773855686188,
-0.05412086099386215,
-0.12014221400022507,
-0.2972883880138397,
0.5676667094230652,
-0.3392728269100189,
0.27202343940734863,
-0.030690118670463562,
0.044682517647743225,
0.1132315844297409,
0.5264889001846313,
0.2495584934949875,
0.2758326828479767,
0.10361163318157196,
-0.01574936881661415,
0.05667412281036377,
-0.08278794586658478,
-0.22582565248012543,
0.10749812424182892,
0.28034496307373047,
0.16071632504463196,
-0.03800158575177193,
0.027132252231240273,
-0.12089906632900238,
-0.1590450257062912,
-0.11784544587135315,
0.03750629723072052,
0.06439636647701263,
0.48537304997444153,
0.08127523213624954,
-0.33646664023399353,
0.06714938580989838,
-0.1107567623257637,
-0.14251652359962463,
-0.13469816744327545,
0.2687585651874542,
-0.11621551960706711,
0.21374273300170898,
-0.1306760162115097,
0.055710747838020325,
0.17674076557159424,
0.08630069345235825,
0.19174617528915405,
-0.17566493153572083,
-0.36285606026649475,
0.19473330676555634,
-0.570259153842926,
0.19010591506958008,
0.21064911782741547,
0.03984388709068298,
0.21338309347629547,
0.018447181209921837,
0.06649650633335114,
0.3836965560913086,
-0.3266991376876831,
0.13122789561748505,
-0.30276358127593994,
0.07392898947000504,
-0.17707477509975433,
0.22412559390068054,
0.2677186131477356,
0.18953780829906464,
0.05454137176275253,
-0.28435537219047546,
-0.0689835399389267,
0.27896133065223694,
-0.07344931364059448,
-0.14361582696437836,
0.1424957662820816,
-0.0699767917394638,
0.048481911420822144,
0.3267408311367035,
0.14485591650009155,
0.2789153456687927,
0.08947091549634933,
-0.004868708550930023,
0.10129590332508087,
-0.31778109073638916,
-0.3129034638404846,
-0.0019849762320518494,
0.10168930888175964,
0.3816350996494293,
0.09085679799318314,
-0.04409534111618996,
-0.1759127974510193,
-0.649747908115387,
0.15930907428264618,
0.18946418166160583,
-0.6131017804145813,
0.25543683767318726,
-0.38958072662353516,
0.32619956135749817,
-0.22344091534614563,
0.1296035647392273,
0.17247025668621063,
-0.03918379917740822,
-0.10142241418361664,
-0.7060492634773254,
0.48070722818374634,
0.09795266389846802,
-0.22174760699272156,
-0.2849308252334595,
0.15283377468585968,
-0.050860144197940826,
-0.015815475955605507,
-0.6857258677482605,
-0.16732215881347656,
0.19225509464740753,
-0.18959996104240417,
-0.4096202254295349,
0.12601381540298462,
-0.04924624785780907,
-0.17505179345607758,
-0.3476359248161316,
0.31641966104507446,
-0.06737522780895233,
-0.03789921849966049,
-0.1806660294532776,
-0.23259323835372925
] |
https://github.com/huggingface/datasets/pull/437 | Fix XTREME PAN-X loading | Yes sounds good. I also noticed that people use map with identity to write a dataset into a specified cache file. | Hi 🤗
In response to the discussion in #425 @lewtun and I made some fixes to the repo. In the original XTREME implementation the PAN-X dataset for named entity recognition loaded each word/tag pair as a single row and the sentence relation was lost. With the fix each row contains the list of all words in a single sentence and their NER tags. This is also in agreement with the [NER example](https://github.com/huggingface/transformers/tree/master/examples/token-classification) in the transformers repo.
With the fix the output of the dataset should look as follows:
```python
>>> dataset = load_dataset("xtreme", "PAN-X.en", data_dir='./data')
>>> dataset['train'][0]
{'words': ['R.H.', 'Saunders', '(', 'St.', 'Lawrence', 'River', ')', '(', '968', 'MW', ')'],
'ner_tags': ['B-ORG', 'I-ORG', 'O', 'B-ORG', 'I-ORG', 'I-ORG', 'O', 'O', 'O', 'O', 'O'],
'langs': ['en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en']}
``` | 21 | text: Fix XTREME PAN-X loading
Hi 🤗
In response to the discussion in #425 @lewtun and I made some fixes to the repo. In the original XTREME implementation the PAN-X dataset for named entity recognition loaded each word/tag pair as a single row and the sentence relation was lost. With the fix each row contains the list of all words in a single sentence and their NER tags. This is also in agreement with the [NER example](https://github.com/huggingface/transformers/tree/master/examples/token-classification) in the transformers repo.
With the fix the output of the dataset should look as follows:
```python
>>> dataset = load_dataset("xtreme", "PAN-X.en", data_dir='./data')
>>> dataset['train'][0]
{'words': ['R.H.', 'Saunders', '(', 'St.', 'Lawrence', 'River', ')', '(', '968', 'MW', ')'],
'ner_tags': ['B-ORG', 'I-ORG', 'O', 'B-ORG', 'I-ORG', 'I-ORG', 'O', 'O', 'O', 'O', 'O'],
'langs': ['en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en', 'en']}
```
Yes sounds good. I also noticed that people use map with identity to write a dataset into a specified cache file. | [
0.05012897029519081,
-0.21100860834121704,
0.03949465975165367,
0.1822148561477661,
0.19034451246261597,
-0.12551361322402954,
0.11925190687179565,
0.15416599810123444,
-0.09180617332458496,
-0.03570021688938141,
-0.3711909353733063,
0.1826680451631546,
0.08905943483114243,
-0.14464767277240753,
0.09470667690038681,
-0.1604093760251999,
0.08061765134334564,
0.1589508354663849,
0.10389256477355957,
-0.22025354206562042,
0.02094518393278122,
0.3702342212200165,
-0.017787810415029526,
0.19643744826316833,
-0.784054160118103,
0.2103583961725235,
0.14575257897377014,
0.1047767847776413,
-0.002704763785004616,
-0.5765238404273987,
0.18434058129787445,
0.22026067972183228,
0.08126312494277954,
0.2821310758590698,
-0.00010762232705019414,
-0.10776389390230179,
0.17640185356140137,
-0.25676989555358887,
-0.03104380890727043,
-0.2552703022956848,
-0.10021469742059708,
-0.22391413152217865,
0.19964765012264252,
-0.13199050724506378,
-0.2649802565574646,
-0.12440090626478195,
0.1706857979297638,
0.021301254630088806,
0.5043333172798157,
0.24017333984375,
0.18247577548027039,
0.18882744014263153,
-0.0831817239522934,
-0.06822962313890457,
0.20507577061653137,
0.15379294753074646,
-0.2091653048992157,
-0.08332903683185577,
0.43649476766586304,
-0.08851341158151627,
-0.3944636583328247,
0.3846453130245209,
0.08437387645244598,
-0.09380805492401123,
0.306468665599823,
0.28881680965423584,
0.1762012243270874,
-0.5038585662841797,
-0.02351308986544609,
0.22964802384376526,
0.03397181257605553,
-0.06373035162687302,
-0.2586880326271057,
-0.39720025658607483,
-0.11931977421045303,
-0.44632288813591003,
0.24267524480819702,
-0.07205712050199509,
-0.30677446722984314,
0.1070454865694046,
0.0468444898724556,
-0.0032555877696722746,
-0.04672049358487129,
-0.10204538702964783,
-0.27230367064476013,
0.7096534967422485,
-0.025788534432649612,
-0.16333964467048645,
-0.09098798036575317,
-0.19618870317935944,
0.26877060532569885,
0.17500121891498566,
-0.0070766881108284,
0.267221599817276,
-0.5152039527893066,
-0.0738602802157402,
-0.025732338428497314,
-0.20308774709701538,
0.06287040561437607,
-0.05513385683298111,
-0.13759377598762512,
0.21412864327430725,
0.19597245752811432,
-0.013320103287696838,
0.34310007095336914,
0.46540719270706177,
0.314005583524704,
0.13832218945026398,
0.15077632665634155,
-0.11195838451385498,
0.030261170119047165,
-0.01269439235329628,
-0.3468621075153351,
0.37257713079452515,
0.36958223581314087,
-0.13609439134597778,
0.01738516241312027,
-0.33470040559768677,
-0.10278549790382385,
0.0040976316668093204,
-0.01687142811715603,
0.17837278544902802,
0.029997792094945908,
0.35398462414741516,
-0.043218519538640976,
0.5811789035797119,
-0.12348638474941254,
-0.025172986090183258,
-0.22634261846542358,
-0.1036081612110138,
-0.1897699385881424,
-0.09754911065101624,
-0.5600665807723999,
-0.07170554250478745,
0.18061651289463043,
0.2633694112300873,
0.2769731283187866,
-0.31070423126220703,
0.31484678387641907,
-0.2047416865825653,
-0.22478927671909332,
-0.03193650394678116,
0.05593661963939667,
0.13473573327064514,
0.049240920692682266,
0.17660552263259888,
-0.07709233462810516,
-0.340135395526886,
-0.1350979208946228,
0.07666420936584473,
-0.5876760482788086,
-0.10327772051095963,
-0.10880452394485474,
0.213225856423378,
-0.3599151372909546,
-0.02444981038570404,
-0.08810130506753922,
0.13525940477848053,
0.10411813855171204,
0.0892365425825119,
-0.0277840718626976,
-0.19710075855255127,
-0.22425824403762817,
0.018232958391308784,
0.11709020286798477,
0.216962993144989,
-0.20311227440834045,
-0.3422778248786926,
0.2569689452648163,
0.0548110194504261,
0.03918829560279846,
0.43039146065711975,
-0.035224348306655884,
0.07919906079769135,
-0.0796692818403244,
0.5823626518249512,
0.20391243696212769,
-0.526006817817688,
-0.3735232353210449,
-0.07864633947610855,
-0.1713341772556305,
0.20622403919696808,
-0.09640879184007645,
0.2883327901363373,
0.35691142082214355,
-0.18831567466259003,
0.3649131953716278,
0.3690764307975769,
0.12737040221691132,
0.11115575581789017,
-0.22553829848766327,
0.0813271626830101,
-0.33405256271362305,
0.12091995775699615,
0.09221851825714111,
-0.01672351360321045,
-0.2237246334552765,
0.23285159468650818,
0.18856799602508545,
-0.07730977237224579,
0.2613569498062134,
0.3532310724258423,
0.04201103374361992,
0.17557351291179657,
0.18480174243450165,
-0.06268960237503052,
-0.5598668456077576,
0.20329347252845764,
-0.5191433429718018,
0.5566544532775879,
-0.2753579020500183,
-0.20970743894577026,
-0.3108513057231903,
0.013022908940911293,
-0.36682048439979553,
-0.27819690108299255,
0.21692612767219543,
-0.11622650921344757,
-0.08937636017799377,
-0.09715311229228973,
-0.0759403258562088,
0.2563363313674927,
0.1010042279958725,
0.20518749952316284,
-0.3751377463340759,
0.14945650100708008,
-0.053671978414058685,
-0.1444517821073532,
-0.21533291041851044,
0.22114446759223938,
0.07881242036819458,
0.12788227200508118,
-0.11809631437063217,
0.2916419506072998,
-0.07884708046913147,
0.11208678781986237,
-0.26029956340789795,
0.30840009450912476,
0.13198988139629364,
-0.5359984636306763,
0.16962392628192902,
0.20389342308044434,
0.017787404358386993,
-0.25679075717926025,
-0.4312010109424591,
0.32387998700141907,
0.3857208490371704,
0.14694084227085114,
0.02063853293657303,
0.06970296800136566,
0.258237361907959,
-0.13087762892246246,
-0.2539977729320526,
-0.23387044668197632,
0.12056128680706024,
-0.009716235101222992,
0.08906881511211395,
0.2051033228635788,
-0.08632437884807587,
-0.14702871441841125,
0.46468889713287354,
0.061023611575365067,
0.2131713330745697,
0.16571179032325745,
-0.4750862717628479,
-0.09339290857315063,
-0.09832005947828293,
0.15103010833263397,
0.19572098553180695,
0.20561939477920532,
0.08616936951875687,
0.18438343703746796,
0.026563216000795364,
0.04905939847230911,
0.022494658827781677,
0.1966528743505478,
0.03508101403713226,
0.09075896441936493,
0.3387603759765625,
0.09758195281028748,
-0.3779917061328888,
-0.2556428909301758,
-0.1898866444826126,
0.08298661559820175,
-0.37751615047454834,
-0.016473105177283287,
0.13302552700042725,
-0.34201371669769287,
-0.030022237449884415,
0.038827866315841675,
-0.4281843304634094,
-0.3820788562297821,
0.294356107711792,
-0.011606603860855103,
0.0923331081867218,
0.3406583070755005,
-0.16550575196743011,
-0.0022763460874557495,
-0.029533758759498596,
-0.09238804131746292,
-0.21678534150123596,
-0.13727402687072754,
-0.2718062400817871,
0.08878898620605469,
-0.06433623284101486,
0.24410201609134674,
-0.04189446568489075,
-0.30641263723373413,
0.19252094626426697,
-0.10717896372079849,
-0.5105128884315491,
0.37852486968040466,
-0.31190693378448486,
0.3016623258590698,
0.200626403093338,
-0.06899745762348175,
-0.22923539578914642,
0.04156355559825897,
0.3388630151748657,
-0.5333895087242126,
-0.18810079991817474,
0.13912609219551086,
0.006605326198041439,
-0.11707420647144318,
0.009530261158943176,
-0.3830447494983673,
-0.06466405093669891,
-0.32189440727233887,
0.09332926571369171,
0.14970313012599945,
0.26423704624176025,
0.40533512830734253,
-0.3398679494857788,
-0.1310562640428543,
-0.22935186326503754,
-0.16625705361366272,
-0.04607577621936798,
-0.20931877195835114,
0.44476789236068726,
-0.1574244350194931,
-0.2251841276884079,
-0.09047476947307587,
-0.1605999916791916,
0.2687753736972809,
-0.10250186175107956,
0.10759086906909943,
-0.13599996268749237,
-0.19251790642738342,
-0.045366737991571426,
0.20041348040103912,
-0.12967224419116974,
0.32354527711868286,
0.17314015328884125,
-0.13725848495960236,
-0.032562293112277985,
-0.08882196247577667,
0.21536719799041748,
0.33081960678100586,
0.1442444920539856,
-0.11472070962190628,
0.003125544637441635,
0.11873264610767365,
0.2969704270362854,
0.07005931437015533,
0.11971153318881989,
0.2709502577781677,
0.07075263559818268,
0.03289244696497917,
-0.11446235328912735,
-0.01752437651157379,
-0.3583563566207886,
-0.19644352793693542,
0.011684048920869827,
0.22186949849128723,
0.3435346186161041,
-0.1065206304192543,
-0.03703873232007027,
0.1713767796754837,
0.15909743309020996,
-0.2095656394958496,
0.2777688205242157,
-0.06150812655687332,
0.05776594579219818,
0.004478206858038902,
0.017201334238052368,
-0.011406585574150085,
-0.313757061958313,
0.07916286587715149,
-0.14018498361110687,
-0.008630499243736267,
0.03480308875441551,
-0.733516275882721,
0.5186949372291565,
-0.5299679636955261,
0.00780399888753891,
0.15844136476516724,
0.1703416109085083,
0.06426529586315155,
-0.1379372775554657,
0.2534219026565552,
0.06378398835659027,
0.4400697350502014,
-0.16829383373260498,
-0.06702206283807755,
0.12388108670711517,
0.08410118520259857,
-0.01937926560640335,
-0.006507650017738342,
-0.28844940662384033,
-0.38370707631111145,
0.4206099212169647,
0.19332340359687805,
-0.16359207034111023,
-0.4392775297164917,
0.10873875021934509,
-0.24138318002223969,
-0.2625109851360321,
-0.22380360960960388,
-0.23197147250175476,
-0.050905581563711166,
-0.3628063201904297,
0.08353342860937119,
0.5538613200187683,
-0.13887055218219757,
0.12140412628650665,
-0.12658251821994781,
-0.050345659255981445,
0.09982118755578995,
0.39056456089019775,
0.24960853159427643,
0.30536141991615295,
-0.29277828335762024,
-0.014281457290053368,
0.10176658630371094,
0.08290727436542511,
-0.06754591315984726,
0.44109976291656494,
-0.09227688610553741,
-0.34755977988243103,
0.12240501493215561,
-0.0987718477845192,
0.3543713092803955,
0.22629691660404205,
0.1524883359670639,
0.05385996028780937,
-0.1442900449037552,
0.12234953045845032,
-0.05614384636282921,
0.19419120252132416,
0.31373730301856995,
0.11866758018732071,
-0.5062776207923889,
-0.058225713670253754,
0.3914574086666107,
0.26585081219673157,
-0.19676154851913452,
-0.29474326968193054,
0.23072996735572815,
-0.2412671446800232,
0.3123648166656494,
0.21513080596923828,
1.2160340547561646,
-0.0847083181142807,
0.39655250310897827,
-0.058318912982940674,
0.22863255441188812,
0.4786233901977539,
-0.42477166652679443,
0.14502999186515808,
-0.2007216066122055,
-0.05912461131811142,
-0.18578669428825378,
0.03562166914343834,
-0.20033881068229675,
0.17325560748577118,
-0.17772598564624786,
0.6056941747665405,
0.06159549951553345,
0.25018155574798584,
0.18372097611427307,
0.10905472934246063,
0.11939529329538345,
-0.55256587266922,
-0.3393719494342804,
0.11095969378948212,
-0.008321836590766907,
0.25693032145500183,
0.019113928079605103,
-0.17231853306293488,
-0.03426281362771988,
-0.0510404109954834,
-0.012380264699459076,
0.33208712935447693,
0.038455117493867874,
-0.09208234399557114,
0.21405278146266937,
-0.10501092672348022,
0.03136923536658287,
0.16255319118499756,
0.11750110983848572,
0.006309080868959427,
-0.1013290137052536,
0.3131040036678314,
0.3939190208911896,
0.031282175332307816,
0.14814165234565735,
-0.1697975993156433,
0.23962445557117462,
-0.0432174950838089,
-0.09142781049013138,
0.04723506420850754,
-0.08045502007007599,
-0.07981090247631073,
-0.31185483932495117,
-0.025965161621570587,
0.20467349886894226,
-0.2229345738887787,
0.15838263928890228,
0.045900046825408936,
-0.11821006238460541,
-0.24332159757614136,
0.17226557433605194,
0.03989102691411972,
-0.21588748693466187,
0.02954888343811035,
0.34790825843811035,
-0.23338423669338226,
0.008716898038983345,
0.3098595440387726,
0.3263498842716217,
-0.4440042972564697,
0.3795337677001953,
0.12536174058914185,
-0.07574044913053513,
-0.17108967900276184,
-0.3417521119117737,
0.36099958419799805,
-0.8350993990898132,
0.05642082542181015,
-0.17025455832481384,
-0.5159653425216675,
0.05125374719500542,
0.36910760402679443,
0.14636433124542236,
-0.1334483027458191,
-0.09372648596763611,
-0.15878064930438995,
-0.43181222677230835,
0.28810417652130127,
-0.05094520375132561,
0.29371240735054016,
-0.02995697408914566,
0.028446082025766373,
-0.021880021318793297,
0.20009182393550873,
-0.40175101161003113,
-0.10782985389232635,
-0.36583489179611206,
0.1881789118051529,
-0.03135336935520172,
-0.2073003351688385,
0.1917451024055481,
-0.025588994845747948,
0.12162858247756958,
0.40472590923309326,
-0.22169649600982666,
-0.1810329556465149,
-0.03740081191062927,
0.09989195317029953,
0.044244177639484406,
-0.07365251332521439,
-0.06471209228038788,
0.4333716034889221,
0.06734967231750488,
-0.2533036172389984,
0.20759542286396027,
0.3657294511795044,
0.0994909331202507,
0.17905807495117188,
0.17484194040298462,
0.12331627309322357,
-0.0669565200805664,
0.11149891465902328,
0.11142319440841675,
-0.18580232560634613,
0.013154122978448868,
-0.001059122383594513,
-0.2293885499238968,
-0.032494038343429565,
-0.3046337962150574,
0.33720457553863525,
0.3210250735282898,
0.12026164680719376,
0.19291380047798157,
-0.19661180675029755,
-0.2056637853384018,
0.041976120322942734,
0.22524283826351166,
0.09021271020174026,
-0.10225339978933334,
-0.20792166888713837,
0.17633098363876343,
0.3129090368747711,
-0.31106263399124146,
-0.11567984521389008,
0.13037993013858795,
-0.08321651071310043,
0.14801080524921417,
0.39647945761680603,
0.48422345519065857,
0.053364455699920654,
0.3255299925804138,
0.20133325457572937,
0.4496006965637207,
-0.3798428177833557,
0.1237885057926178,
0.30947157740592957,
0.05239139124751091,
0.08460911363363266,
0.5458467602729797,
-0.07071824371814728,
0.21091458201408386,
0.4872731566429138,
0.05521714314818382,
0.4625231921672821,
0.18968167901039124,
0.586452066898346,
0.06650431454181671,
0.1407083123922348,
-0.20286107063293457,
0.09860482811927795,
-0.14663246273994446,
0.20582249760627747,
-0.05373559892177582,
-0.10710018128156662,
0.10953810065984726,
-0.16547448933124542,
-0.28841182589530945,
0.2950206696987152,
-0.3254479169845581,
-0.22654114663600922,
0.05409058928489685,
-0.2881621718406677,
-0.19834595918655396,
-0.14120244979858398,
-0.04817957058548927,
-0.001216791570186615,
-0.04239277541637421,
-0.03441305458545685,
0.11427086591720581,
-0.1898903250694275,
-0.11464612931013107,
0.0558331161737442,
0.3877032697200775,
-0.23552943766117096,
0.5065890550613403,
-0.02119813859462738,
-0.06863605976104736,
0.027886085212230682,
0.37367376685142517,
0.4009858965873718,
0.21040582656860352,
0.12114030122756958,
0.05552063509821892,
-0.02881476655602455,
-0.14164958894252777,
-0.006769414991140366,
0.1745653748512268,
0.04360610991716385,
0.08558803051710129,
-0.02876853197813034,
0.15094617009162903,
-0.23801648616790771,
-0.12192697823047638,
-0.233042910695076,
0.027500227093696594,
0.08053196966648102,
0.3526522219181061,
0.11327329277992249,
-0.15166324377059937,
-0.1863635778427124,
-0.15576213598251343,
-0.3471529483795166,
-0.1410060077905655,
0.35410284996032715,
-0.19944359362125397,
0.11161798983812332,
-0.21285298466682434,
0.11195598542690277,
0.06215883791446686,
0.3020816445350647,
0.2905051112174988,
-0.08747995644807816,
-0.30965128540992737,
0.06889505684375763,
-0.631619930267334,
0.20339280366897583,
-0.026905354112386703,
-0.02753012627363205,
0.1281713843345642,
-0.03266441822052002,
-0.07574845105409622,
0.25441664457321167,
-0.2385539561510086,
0.197590634226799,
-0.23327521979808807,
0.0692737028002739,
-0.4443345367908478,
0.3151542544364929,
0.25876060128211975,
0.16631267964839935,
0.13915476202964783,
-0.14916089177131653,
-0.18049073219299316,
0.3762747347354889,
0.01831372082233429,
-0.09824544936418533,
0.05234865844249725,
-0.017547203227877617,
0.05538404732942581,
0.22551189363002777,
0.1024201363325119,
0.37464821338653564,
0.06052469462156296,
-0.05013013631105423,
-0.17301036417484283,
-0.30336910486221313,
-0.29799985885620117,
-0.18890082836151123,
0.21588465571403503,
0.36372509598731995,
0.06820247322320938,
-0.05500614270567894,
-0.2174934595823288,
-0.29294702410697937,
0.12196455895900726,
0.13432317972183228,
-0.46561482548713684,
0.20376108586788177,
-0.12716050446033478,
0.3806157112121582,
-0.031615544110536575,
0.07003147155046463,
0.18133564293384552,
-0.09878690540790558,
-0.17949658632278442,
-0.6889223456382751,
0.4520978033542633,
0.0707535445690155,
-0.290309876203537,
-0.28338733315467834,
0.07763552665710449,
0.121766597032547,
-0.021978816017508507,
-0.5486121773719788,
0.030083507299423218,
0.21346819400787354,
0.04814668372273445,
-0.3653219938278198,
0.19787989556789398,
-0.08380058407783508,
-0.12946288287639618,
-0.20902112126350403,
0.26023805141448975,
0.07630659639835358,
0.07632599771022797,
-0.07020307332277298,
-0.30100393295288086
] |
https://github.com/huggingface/datasets/pull/432 | Fix handling of config files while loading datasets from multiple processes | Ok for this but I think we may want to use the general `filelock` method we are using at other places in the library instead of filecmp (in particular `filelock` take care of being an atomic operation which is safer for concurrent processes) | When loading shards on several processes, each process upon loading the dataset will overwrite dataset_infos.json in <package path>/datasets/<dataset name>/<hash>/dataset_infos.json. It does so every time, even when the target file already exists and is identical. Because multiple processes rewrite the same file in parallel, it creates a race condition when a process tries to load the file, often resulting in a JSON decoding exception because the file is only partially written.
This pull requests partially address this by comparing if the files are already identical before copying over the downloaded copy to the cached destination. There's still a race condition, but now it's less likely to occur if some basic precautions are taken by the library user, e.g., download all datasets to cache before spawning multiple processes. | 43 | text: Fix handling of config files while loading datasets from multiple processes
When loading shards on several processes, each process upon loading the dataset will overwrite dataset_infos.json in <package path>/datasets/<dataset name>/<hash>/dataset_infos.json. It does so every time, even when the target file already exists and is identical. Because multiple processes rewrite the same file in parallel, it creates a race condition when a process tries to load the file, often resulting in a JSON decoding exception because the file is only partially written.
This pull requests partially address this by comparing if the files are already identical before copying over the downloaded copy to the cached destination. There's still a race condition, but now it's less likely to occur if some basic precautions are taken by the library user, e.g., download all datasets to cache before spawning multiple processes.
Ok for this but I think we may want to use the general `filelock` method we are using at other places in the library instead of filecmp (in particular `filelock` take care of being an atomic operation which is safer for concurrent processes) | [
-0.382903128862381,
0.040570929646492004,
-0.0952763706445694,
0.2548125982284546,
-0.21252183616161346,
-0.1932455599308014,
0.10346148908138275,
0.1276225447654724,
-0.05891890823841095,
0.058221690356731415,
0.32386574149131775,
0.10395734012126923,
-0.02370549365878105,
0.1896781176328659,
-0.10414062440395355,
0.12625500559806824,
-0.21564802527427673,
0.04119853675365448,
-0.003739401698112488,
0.06490646302700043,
-0.2335592806339264,
0.33034834265708923,
-0.014402814209461212,
-0.07870566844940186,
-0.1848546415567398,
-0.2227502465248108,
0.07275161892175674,
0.5418063998222351,
-0.15781058371067047,
-0.2541904151439667,
0.011287586763501167,
0.32150185108184814,
-0.3749181032180786,
0.3345961570739746,
-0.00010930257849395275,
0.02582637220621109,
0.31286656856536865,
0.002437850460410118,
-0.15442687273025513,
-0.002566888928413391,
-0.5375657677650452,
-0.3615693747997284,
0.09620870649814606,
-0.31614306569099426,
0.19853535294532776,
0.07554672658443451,
-0.03244859725236893,
-0.07482434809207916,
0.42328858375549316,
-0.15197141468524933,
0.19817626476287842,
0.0004812590777873993,
-0.07080691307783127,
0.20254451036453247,
0.4240163564682007,
0.048822373151779175,
0.07627695053815842,
0.0787564367055893,
0.3522161543369293,
0.07826833426952362,
0.029486380517482758,
0.2533023953437805,
-0.3073148727416992,
0.020484119653701782,
0.2165333330631256,
-0.30049940943717957,
0.12888222932815552,
-0.32497426867485046,
-0.15012165904045105,
0.05951164662837982,
0.3388720154762268,
-0.44420886039733887,
-0.10079995542764664,
-0.4967416524887085,
-0.015980534255504608,
-0.05257697403430939,
0.36665189266204834,
0.15715883672237396,
-0.17982082068920135,
0.030457552522420883,
-0.3209892511367798,
-0.3155333995819092,
0.1256052851676941,
-0.17390334606170654,
0.2543947398662567,
0.13273853063583374,
0.16038021445274353,
0.13625729084014893,
0.21002475917339325,
0.08600553870201111,
-0.11101736128330231,
-0.08304022997617722,
-0.28329330682754517,
-0.1212611049413681,
-0.34781304001808167,
-0.13600745797157288,
-0.18478131294250488,
-0.19883406162261963,
0.16109144687652588,
0.15793946385383606,
0.0021583838388323784,
0.2652761936187744,
0.20277869701385498,
0.4158739745616913,
0.32197681069374084,
-0.03595025837421417,
0.30134645104408264,
-0.14948813617229462,
0.3521426320075989,
-0.05265519767999649,
-0.04542392119765282,
0.15953506529331207,
0.3298545181751251,
-0.3934578001499176,
-0.4590904712677002,
0.21459007263183594,
-0.020820943638682365,
-0.22283129394054413,
0.09588748961687088,
0.06605798006057739,
-0.11227137595415115,
-0.20814035832881927,
-0.008497427217662334,
0.17478930950164795,
0.07531340420246124,
0.23631253838539124,
0.10975039005279541,
-0.23875115811824799,
-0.2634483873844147,
0.004887950606644154,
-0.2259659618139267,
-0.013386998325586319,
-0.26362407207489014,
0.15027394890785217,
0.17396557331085205,
-0.15662944316864014,
0.23789441585540771,
0.17775611579418182,
0.057589754462242126,
-0.16200587153434753,
0.4209388494491577,
0.24337433278560638,
-0.05485043674707413,
0.5880882143974304,
0.08548301458358765,
-0.07311591506004333,
0.023134376853704453,
-0.24787792563438416,
-0.24195072054862976,
0.16773992776870728,
-0.6838382482528687,
-0.23804046213626862,
0.2796686887741089,
0.26136085391044617,
-0.2884066700935364,
0.2367568165063858,
-0.3342239558696747,
-0.06947791576385498,
0.09412818402051926,
-0.16262678802013397,
0.07568025588989258,
-0.08265558630228043,
0.009078595787286758,
-0.15373291075229645,
-0.2588858902454376,
0.44516730308532715,
-0.2373359054327011,
-0.05315171182155609,
0.14135190844535828,
-0.17100663483142853,
0.1065552607178688,
0.2577846050262451,
-0.5355240702629089,
-0.3236946165561676,
-0.2540323734283447,
0.37031424045562744,
0.4154413938522339,
-0.2834066152572632,
-0.27177491784095764,
0.4372507631778717,
-0.4029194712638855,
0.07648275047540665,
0.3231099247932434,
0.016136186197400093,
0.1003209799528122,
-0.02585498057305813,
-0.056058138608932495,
0.04819954186677933,
0.267548531293869,
0.22024023532867432,
-0.25020116567611694,
-0.42063260078430176,
-0.35080254077911377,
0.0855989158153534,
-0.22407294809818268,
-0.05811341851949692,
0.35551542043685913,
0.014284276403486729,
0.43890517950057983,
0.00162481889128685,
0.03369177132844925,
0.22357796132564545,
0.35407963395118713,
0.025166671723127365,
0.08960004895925522,
0.14583104848861694,
-0.4601818323135376,
0.23139390349388123,
-0.00343460775911808,
-0.006216034293174744,
0.18498928844928741,
-0.1731330007314682,
0.17132404446601868,
-0.1423605978488922,
-0.1441870480775833,
0.029530664905905724,
0.12026607990264893,
0.018680352717638016,
-0.36952683329582214,
-0.2594664990901947,
-0.30758750438690186,
0.6715971231460571,
-0.5667527318000793,
0.022175466641783714,
-0.22208549082279205,
-0.008876499719917774,
-0.27797046303749084,
-0.0884803757071495,
0.07401999831199646,
-0.17047438025474548,
0.10534006357192993,
-0.3338457942008972,
0.05228724703192711,
0.29432928562164307,
0.23496374487876892,
0.2241818904876709,
0.01866232603788376,
0.4284859299659729,
0.41797709465026855,
0.23325487971305847,
-0.0837680995464325,
-0.502613365650177,
-0.058689601719379425,
-0.22827821969985962,
-0.19652807712554932,
0.4660791754722595,
0.08953265845775604,
0.021378152072429657,
-0.025236599147319794,
-0.2670857012271881,
0.2037065476179123,
-0.24109333753585815,
-0.10631285607814789,
-0.07091439515352249,
0.006068389862775803,
0.24108482897281647,
-0.1522418111562729,
0.22851426899433136,
0.004874281585216522,
0.06044742837548256,
0.44574061036109924,
0.12607064843177795,
-0.15045753121376038,
0.09865787625312805,
0.30522096157073975,
-0.08225998282432556,
0.24001231789588928,
0.6624541878700256,
0.22910694777965546,
0.30664873123168945,
-0.1961660087108612,
0.12414722144603729,
-0.05362190306186676,
-0.44270753860473633,
0.2682550549507141,
0.10533562302589417,
0.09592285007238388,
0.34785014390945435,
0.08377169817686081,
-0.1786452829837799,
-0.3193773031234741,
-0.32095712423324585,
0.3003815710544586,
0.11862485110759735,
-0.24050681293010712,
-0.0280291810631752,
-0.28691160678863525,
-0.14882268011569977,
-0.3307477533817291,
0.2517695426940918,
-0.27646470069885254,
-0.3283105194568634,
0.03482769802212715,
0.23714330792427063,
-0.2630491256713867,
0.13343685865402222,
0.09645937383174896,
0.22156517207622528,
-0.27654311060905457,
-0.21191568672657013,
-0.25663354992866516,
-0.21292483806610107,
-0.060284994542598724,
0.044384557753801346,
0.4968857169151306,
0.2084655463695526,
0.23332196474075317,
-0.07154108583927155,
-0.2739468216896057,
-0.1473061591386795,
-0.33319252729415894,
0.16650113463401794,
-0.11922433972358704,
0.038962867110967636,
0.17926910519599915,
-0.14178337156772614,
-0.11418218910694122,
-0.47949543595314026,
-0.02421746216714382,
0.06354784220457077,
-0.26643308997154236,
-0.0943881943821907,
0.03286627680063248,
-0.2017688751220703,
-0.5138888359069824,
-0.3973957896232605,
0.1018739864230156,
-0.3855207860469818,
0.22320210933685303,
0.05910932645201683,
0.3466342091560364,
0.42868003249168396,
0.19984057545661926,
-0.08476604521274567,
-0.023127198219299316,
0.06681652367115021,
-0.15071265399456024,
-0.5058871507644653,
-0.1187542974948883,
-0.017214491963386536,
-0.06259573996067047,
0.39146244525909424,
0.2932524085044861,
-0.14829222857952118,
0.5170401334762573,
-0.49564969539642334,
-0.3658389151096344,
-0.011344274505972862,
0.0412929467856884,
0.07467377185821533,
-0.02998197264969349,
0.12518846988677979,
0.16877317428588867,
-0.20605027675628662,
-0.1773625612258911,
-0.14614561200141907,
0.38777995109558105,
0.36457735300064087,
0.06235821172595024,
0.03351989760994911,
0.18897798657417297,
-0.02391476184129715,
0.6300103068351746,
0.08211810886859894,
-0.05698772147297859,
0.06778828054666519,
0.24507248401641846,
0.26796573400497437,
0.07481435686349869,
0.022200768813490868,
0.21818755567073822,
0.207986518740654,
-0.10035362094640732,
0.11465272307395935,
-0.10261408984661102,
-0.18510589003562927,
-0.10664710402488708,
0.09833291172981262,
-0.1277710497379303,
-0.2989727854728699,
0.041239745914936066,
0.2670368552207947,
0.1439472734928131,
0.2215394526720047,
-0.01877458393573761,
0.09846663475036621,
0.15347647666931152,
0.0576043464243412,
0.6879807114601135,
0.021952971816062927,
0.11811817437410355,
0.023214351385831833,
-0.038830824196338654,
-0.06089211255311966,
0.11979737877845764,
0.027035681530833244,
0.287661075592041,
-0.24162420630455017,
-0.04501856490969658,
0.20468121767044067,
-0.3872250020503998,
0.5688542127609253,
-0.35440993309020996,
0.05395632982254028,
0.17929702997207642,
-0.038950566202402115,
0.24950958788394928,
-0.09138892590999603,
-0.10362215340137482,
0.1545352190732956,
0.4993131160736084,
0.5015717148780823,
-0.36699607968330383,
-0.41715207695961,
-0.31559035181999207,
-0.07729373872280121,
-0.12108463048934937,
-0.16952115297317505,
-0.2240753471851349,
-0.3112133741378784,
-0.5450905561447144,
0.0392296276986599,
-0.07669248431921005,
-0.11851303279399872,
-0.2832978665828705,
-0.08454643189907074,
0.06555408239364624,
0.10362028330564499,
0.04671957716345787,
0.15070100128650665,
0.2136620581150055,
0.09840814024209976,
0.04944509640336037,
0.055966898798942566,
0.21160918474197388,
0.372048556804657,
0.24819131195545197,
0.20169027149677277,
0.3310105800628662,
0.1960107684135437,
0.005397968925535679,
0.09153424948453903,
0.49382635951042175,
0.15421228110790253,
0.11667712777853012,
0.19821619987487793,
-0.08760261535644531,
-0.0171794630587101,
0.06008076295256615,
-0.12428823113441467,
0.01316062267869711,
0.11607252806425095,
-0.5679488778114319,
0.29967066645622253,
0.18233110010623932,
-0.26909923553466797,
0.21114394068717957,
0.03119872510433197,
-0.24854739010334015,
0.18998515605926514,
0.3848284184932709,
0.9043465256690979,
-0.2477174550294876,
-0.0380285419523716,
0.016731273382902145,
-0.252572238445282,
0.3525146245956421,
-0.571533203125,
0.19072014093399048,
-0.3945784270763397,
0.05428154394030571,
-0.013497591949999332,
-0.35673072934150696,
0.27988505363464355,
0.19382721185684204,
-0.296674907207489,
0.050887592136859894,
0.07395192980766296,
-0.05773993209004402,
-0.12482693791389465,
0.6311035752296448,
-0.1515476554632187,
-0.1326475292444229,
0.00020646490156650543,
0.16839341819286346,
-0.22536112368106842,
0.037327591329813004,
-0.10119344294071198,
-0.2163979858160019,
0.12568414211273193,
-0.05630361661314964,
-0.1891036331653595,
0.0732760801911354,
0.022411691024899483,
0.2884887456893921,
-0.27669253945350647,
-0.3756282925605774,
0.22960630059242249,
-0.14986082911491394,
-0.16274382174015045,
0.24059131741523743,
-0.06949851661920547,
0.303718239068985,
0.1596699208021164,
-0.05582227185368538,
-0.09265381842851639,
-0.00310620479285717,
0.0771317258477211,
-0.13307416439056396,
-0.10607664287090302,
-0.15063384175300598,
-0.18980784714221954,
-0.48671555519104004,
0.01659950613975525,
0.2820621728897095,
-0.007941670715808868,
0.11894489824771881,
0.031463272869586945,
0.30207258462905884,
-0.19787977635860443,
-0.12618833780288696,
0.15125548839569092,
-0.014954626560211182,
-0.04424065351486206,
0.3922508656978607,
0.04161559045314789,
-0.25046056509017944,
-0.004651889204978943,
0.23158517479896545,
0.11056432127952576,
-0.4667953848838806,
0.28352051973342896,
-0.022795086726546288,
-0.09696650505065918,
-0.325932115316391,
-0.17598101496696472,
-0.4886693060398102,
0.10121975094079971,
0.040044888854026794,
-0.01623833179473877,
-0.23674234747886658,
0.33897626399993896,
0.2721051275730133,
0.22384020686149597,
0.2180233895778656,
-0.024123890325427055,
-0.4086550772190094,
-0.0805128738284111,
0.08116231858730316,
-0.3332776725292206,
0.3618268370628357,
0.13137000799179077,
0.04086361452937126,
-0.17672693729400635,
0.06891708821058273,
-0.38071849942207336,
0.10483486205339432,
-0.2362118512392044,
0.07994747161865234,
0.23730194568634033,
-0.10784728080034256,
-0.24060991406440735,
-0.051059093326330185,
0.04703080654144287,
0.09767073392868042,
-0.4205123484134674,
-0.18067267537117004,
-0.08710287511348724,
0.10847965627908707,
-0.05265764147043228,
0.19926416873931885,
-0.28056347370147705,
-0.234552800655365,
-0.14815755188465118,
0.17966826260089874,
0.2768336832523346,
0.005900409072637558,
-0.19911156594753265,
-0.06573523581027985,
0.4343198537826538,
-0.04225883632898331,
-0.18141435086727142,
0.26623374223709106,
0.05516539141535759,
-0.06426115334033966,
-0.11056077480316162,
0.10035677254199982,
-0.2989153265953064,
0.06296837329864502,
0.27700695395469666,
0.17286020517349243,
0.06352812796831131,
0.34140637516975403,
0.10998498648405075,
-0.06418642401695251,
-0.059880971908569336,
0.42292386293411255,
0.3401031494140625,
0.5137743353843689,
0.07088390737771988,
-0.34507131576538086,
0.2091529369354248,
0.1955062747001648,
-0.005619602277874947,
-0.3969520628452301,
0.410735547542572,
0.1124194860458374,
-0.06641539931297302,
0.10523997247219086,
0.5327572226524353,
-0.17145395278930664,
0.1014207974076271,
0.38192418217658997,
0.5661640763282776,
-0.17518147826194763,
0.024674881249666214,
-0.09244832396507263,
-0.17026114463806152,
-0.2305435985326767,
0.2984071969985962,
0.052713558077812195,
0.49003443121910095,
0.06485407054424286,
-0.1336997151374817,
0.25362759828567505,
0.4274640679359436,
0.20116931200027466,
-0.31086069345474243,
-0.49996417760849,
0.24433955550193787,
0.24214136600494385,
0.10113134980201721,
0.31566905975341797,
0.13440698385238647,
0.3839172422885895,
0.03744186833500862,
-0.09456226974725723,
0.05770067870616913,
0.3403019905090332,
-0.3047167956829071,
0.11073261499404907,
-0.2927764058113098,
-0.08068069070577621,
-0.0288669653236866,
0.03066551312804222,
0.005241375416517258,
0.24445752799510956,
0.5351762175559998,
0.1869238018989563,
-0.029891662299633026,
0.05363310128450394,
-0.005808807909488678,
0.037692610174417496,
0.13689495623111725,
-0.40318846702575684,
0.1071317195892334,
0.08657167851924896,
-0.18387830257415771,
0.1441957801580429,
-0.13839997351169586,
0.33040642738342285,
0.230487659573555,
0.06009576469659805,
-0.11283494532108307,
0.18198195099830627,
0.22158941626548767,
-0.27678143978118896,
0.2586575150489807,
0.09351059794425964,
-0.03537088260054588,
0.19133463501930237,
0.18738512694835663,
-0.1384417861700058,
-0.49130475521087646,
0.1111205667257309,
-0.05386406555771828,
-0.010671745985746384,
0.14428631961345673,
0.28892120718955994,
-0.19588717818260193,
0.2462301254272461,
0.11724315583705902,
-0.29179897904396057,
-0.12242420017719269,
0.5235499739646912,
0.12718932330608368,
0.09296571463346481,
-0.04428158327937126,
0.11585313081741333,
-0.09526053071022034,
0.6036970615386963,
0.055892422795295715,
-0.2506115436553955,
-0.16750170290470123,
-0.1916646808385849,
-0.8014613389968872,
0.03342273831367493,
-0.07467947900295258,
-0.06902660429477692,
0.2089826613664627,
0.3066014051437378,
0.22525036334991455,
0.10955387353897095,
-0.2193344384431839,
-0.0912841185927391,
0.02850881591439247,
0.08994399756193161,
-0.45509499311447144,
0.17951145768165588,
0.32598018646240234,
-0.37741395831108093,
0.14374509453773499,
-0.22245213389396667,
0.35911792516708374,
0.1742115020751953,
0.09105280786752701,
-0.24029792845249176,
-0.026797909289598465,
0.5079936385154724,
-0.22550976276397705,
0.22425784170627594,
0.010109460912644863,
0.23401176929473877,
-0.06460188329219818,
-0.16115644574165344,
-0.24632978439331055,
-0.29870927333831787,
-0.05667726323008537,
-0.20972701907157898,
-0.08001486957073212,
0.30833128094673157,
-0.20475323498249054,
0.3077375888824463,
-0.3392331600189209,
0.22468869388103485,
-0.10116133093833923,
-0.033731430768966675,
0.008658204227685928,
-0.003897714428603649,
-0.13042010366916656,
0.2592296898365021,
-0.03051476925611496,
0.3608618378639221,
0.35203635692596436,
0.06794729828834534,
-0.3909417986869812,
-0.23300784826278687,
0.6639050245285034,
-0.004744409117847681,
-0.12360824644565582,
0.04420864209532738,
0.2990446388721466,
-0.20482972264289856,
0.1224045604467392,
-0.23953652381896973,
-0.15331579744815826,
0.17956355214118958,
-0.024056818336248398,
-0.3747803866863251,
0.2405996322631836,
-0.0957871675491333,
-0.4288816452026367,
-0.10033980756998062,
-0.13158082962036133,
0.10140732675790787,
-0.44695162773132324,
-0.2603096663951874,
-0.10702919960021973
] |
https://github.com/huggingface/datasets/pull/432 | Fix handling of config files while loading datasets from multiple processes | Thanks for approving my patch.
I agree that if copying is needed then some locking mechanism should be put in place. But, I don't think a file should be needlessly copied without a check. So I guess the flow should be, lock => copy if needed => unlock, and add locks wherever else that file is being accessed.
I'll also add that my personal experience with filelock on a different project hasn't been that great, and on some occasions a process somehow got through the lock -- I've never gotten to the bottom of that but it tainted my view of that module. Perhaps it's been fixed (or I just miss used it), but thought you should know to take steps to test it. | When loading shards on several processes, each process upon loading the dataset will overwrite dataset_infos.json in <package path>/datasets/<dataset name>/<hash>/dataset_infos.json. It does so every time, even when the target file already exists and is identical. Because multiple processes rewrite the same file in parallel, it creates a race condition when a process tries to load the file, often resulting in a JSON decoding exception because the file is only partially written.
This pull requests partially address this by comparing if the files are already identical before copying over the downloaded copy to the cached destination. There's still a race condition, but now it's less likely to occur if some basic precautions are taken by the library user, e.g., download all datasets to cache before spawning multiple processes. | 124 | text: Fix handling of config files while loading datasets from multiple processes
When loading shards on several processes, each process upon loading the dataset will overwrite dataset_infos.json in <package path>/datasets/<dataset name>/<hash>/dataset_infos.json. It does so every time, even when the target file already exists and is identical. Because multiple processes rewrite the same file in parallel, it creates a race condition when a process tries to load the file, often resulting in a JSON decoding exception because the file is only partially written.
This pull requests partially address this by comparing if the files are already identical before copying over the downloaded copy to the cached destination. There's still a race condition, but now it's less likely to occur if some basic precautions are taken by the library user, e.g., download all datasets to cache before spawning multiple processes.
Thanks for approving my patch.
I agree that if copying is needed then some locking mechanism should be put in place. But, I don't think a file should be needlessly copied without a check. So I guess the flow should be, lock => copy if needed => unlock, and add locks wherever else that file is being accessed.
I'll also add that my personal experience with filelock on a different project hasn't been that great, and on some occasions a process somehow got through the lock -- I've never gotten to the bottom of that but it tainted my view of that module. Perhaps it's been fixed (or I just miss used it), but thought you should know to take steps to test it. | [
-0.1688719093799591,
0.13646379113197327,
-0.07932017743587494,
0.15226200222969055,
-0.20037692785263062,
-0.27333584427833557,
0.3441471755504608,
0.2649831771850586,
0.12157183885574341,
-0.09064936637878418,
0.2678411900997162,
0.15082086622714996,
0.05654274299740791,
0.10920950025320053,
0.05520826205611229,
0.30499839782714844,
-0.030816741287708282,
-0.26675447821617126,
0.01421540230512619,
0.12596462666988373,
-0.2620326280593872,
0.2693520188331604,
0.04746067523956299,
-0.09347414970397949,
-0.23796401917934418,
0.014115653932094574,
0.11340939998626709,
0.38479143381118774,
-0.10162301361560822,
-0.1818133294582367,
0.12877528369426727,
0.5042314529418945,
-0.48530200123786926,
0.3145180940628052,
-0.00011324157821945846,
0.042348913848400116,
0.3121919631958008,
-0.007127437740564346,
-0.014375830069184303,
0.13895706832408905,
-0.4887947738170624,
-0.44576603174209595,
-0.044061899185180664,
-0.242163747549057,
0.3470569849014282,
0.07424526661634445,
-0.14533846080303192,
-0.23563767969608307,
0.4256836771965027,
-0.28450727462768555,
0.15405133366584778,
-0.029898906126618385,
0.17415335774421692,
0.20637251436710358,
0.5222558379173279,
-0.18578679859638214,
0.024661531671881676,
0.24790608882904053,
0.30509138107299805,
0.12295560538768768,
-0.14229387044906616,
0.28684210777282715,
-0.45934563875198364,
0.03807394951581955,
0.25809353590011597,
-0.38771843910217285,
-0.006042443215847015,
-0.3286491930484772,
-0.010981075465679169,
0.22489920258522034,
0.35913601517677307,
-0.38056543469429016,
-0.37741008400917053,
-0.4804483652114868,
-0.0004909245762974024,
0.059323087334632874,
0.461262047290802,
0.022208336740732193,
0.040286313742399216,
0.033706601709127426,
-0.1875968873500824,
-0.5341677069664001,
0.07392098009586334,
-0.26155269145965576,
0.21042388677597046,
-0.009777911007404327,
0.14555853605270386,
0.23612788319587708,
0.27268141508102417,
0.08558987826108932,
0.054175350815057755,
-0.020351063460111618,
-0.33299702405929565,
-0.02891751006245613,
-0.45593637228012085,
-0.16680949926376343,
-0.2150651514530182,
-0.12182988971471786,
0.21716517210006714,
0.486674427986145,
-0.2710377275943756,
0.42811518907546997,
0.1840762197971344,
0.2619365155696869,
0.21829526126384735,
-0.006704041268676519,
0.20688948035240173,
0.2768039107322693,
0.3292655348777771,
-0.131136953830719,
-0.11893637478351593,
0.2552092969417572,
0.2986063063144684,
-0.38755252957344055,
-0.44522950053215027,
0.14249467849731445,
0.020939458161592484,
-0.31462040543556213,
0.12505082786083221,
0.22463195025920868,
0.009438052773475647,
-0.24611352384090424,
-0.09589828550815582,
0.19461585581302643,
0.16848918795585632,
0.05508975684642792,
0.2731272578239441,
-0.1591484099626541,
-0.17298929393291473,
0.0366516150534153,
-0.13223321735858917,
-0.053886886686086655,
-0.12678222358226776,
0.32164666056632996,
0.09748302400112152,
-0.07694444060325623,
0.15340441465377808,
0.041638679802417755,
-0.04411914944648743,
-0.277381956577301,
0.37493348121643066,
0.1420670598745346,
0.038356002420186996,
0.4875057339668274,
0.03070354089140892,
0.042594559490680695,
0.02395343966782093,
-0.2765946388244629,
-0.23352769017219543,
0.27534884214401245,
-0.7381590008735657,
-0.25684237480163574,
0.1655636876821518,
0.1510692834854126,
-0.5325902700424194,
0.23609979450702667,
-0.011936664581298828,
-0.23057807981967926,
0.16344618797302246,
-0.2667630910873413,
0.2299279272556305,
0.061362721025943756,
0.048448074609041214,
-0.2317132204771042,
-0.19753721356391907,
0.540054440498352,
-0.19793647527694702,
-0.012311771512031555,
0.14513267576694489,
-0.2264886200428009,
-0.022946074604988098,
0.13208861649036407,
-0.36866194009780884,
-0.16318917274475098,
-0.07208845764398575,
0.2980691194534302,
0.38249891996383667,
-0.1315150409936905,
-0.5774826407432556,
0.4267005920410156,
-0.33863943815231323,
0.14756347239017487,
0.2983647286891937,
0.18346774578094482,
0.19659660756587982,
-0.061350226402282715,
0.017436441034078598,
0.05138092488050461,
0.3383449614048004,
0.20816290378570557,
-0.3341541588306427,
-0.40352171659469604,
-0.3621675372123718,
0.16534961760044098,
-0.025983791798353195,
-0.07616870850324631,
0.1850847452878952,
0.2209717333316803,
0.3528580665588379,
0.07964573800563812,
0.027802683413028717,
0.3459073305130005,
0.29976189136505127,
0.2553326487541199,
0.09306193143129349,
0.23750215768814087,
-0.5643483400344849,
0.23033782839775085,
-0.004000477492809296,
-0.16467377543449402,
0.18941017985343933,
-0.19859375059604645,
0.16200271248817444,
-0.23584352433681488,
-0.3484323024749756,
0.02175256982445717,
0.046298056840896606,
0.06902864575386047,
-0.3849959075450897,
-0.09999558329582214,
-0.2987251579761505,
0.7127366065979004,
-0.4466280937194824,
0.1087518036365509,
-0.31225109100341797,
-0.02902105823159218,
-0.22310961782932281,
-0.09837045520544052,
-0.10173733532428741,
-0.19872426986694336,
0.04891327768564224,
-0.3584446609020233,
0.0009598638862371445,
0.45614954829216003,
0.359960675239563,
0.2301318347454071,
0.04923565685749054,
0.441522479057312,
0.27582353353500366,
0.24503687024116516,
-0.009618787094950676,
-0.4109779894351959,
0.036725617945194244,
-0.1888050138950348,
-0.21637174487113953,
0.5083611011505127,
-0.2943914234638214,
-0.1431041657924652,
-0.17895282804965973,
-0.21456269919872284,
0.13915081322193146,
-0.17692546546459198,
-0.39941731095314026,
0.004900835454463959,
-0.13459284603595734,
0.10468614101409912,
-0.050555165857076645,
0.20037859678268433,
0.2186633050441742,
-0.014234699308872223,
0.48330235481262207,
0.07462877035140991,
-0.05049918591976166,
0.00036432966589927673,
0.3148755431175232,
0.06014470010995865,
0.06559565663337708,
0.8527804017066956,
0.358400821685791,
0.20965012907981873,
-0.1389089673757553,
0.08141402900218964,
0.07577820867300034,
-0.35465365648269653,
0.3348824679851532,
0.15463975071907043,
-0.027951443567872047,
0.38201555609703064,
-0.11161401867866516,
-0.12974779307842255,
-0.21078431606292725,
-0.16811604797840118,
0.4080377221107483,
0.06647834926843643,
-0.35983806848526,
-0.1894531100988388,
-0.34206801652908325,
0.029663361608982086,
-0.4234277904033661,
0.08480282127857208,
-0.3988271653652191,
-0.3255675733089447,
0.13510191440582275,
0.14090216159820557,
-0.27969324588775635,
0.13574182987213135,
-0.024701790884137154,
0.16245603561401367,
-0.20747815072536469,
-0.42783910036087036,
-0.08880305290222168,
-0.1473429799079895,
0.029198365285992622,
-0.03908596932888031,
0.5765264630317688,
-0.010073048993945122,
0.2888103127479553,
0.005451604723930359,
-0.333304762840271,
-0.2862255573272705,
-0.2769436538219452,
-0.008551348000764847,
-0.23526914417743683,
0.12416655570268631,
0.09815826267004013,
0.08265972137451172,
-0.1360958367586136,
-0.3499312698841095,
-0.16763383150100708,
0.06785851716995239,
-0.23473773896694183,
-0.06466097384691238,
0.13507214188575745,
-0.004130810499191284,
-0.47619250416755676,
-0.4092216193675995,
0.24086537957191467,
-0.3226325511932373,
0.27724489569664,
-0.05566791445016861,
0.16438114643096924,
0.2761003077030182,
0.19456546008586884,
0.007159247994422913,
-0.09153059870004654,
-0.1288405805826187,
-0.2620325982570648,
-0.3677520453929901,
-0.05777239426970482,
0.05071081221103668,
-0.04125741496682167,
0.36788082122802734,
0.39933526515960693,
-0.24061208963394165,
0.4134429693222046,
-0.34323614835739136,
-0.2132778763771057,
0.009179218672215939,
0.12571056187152863,
-0.014114480465650558,
0.12273216992616653,
0.34519943594932556,
0.15620863437652588,
-0.10098055750131607,
-0.12427274137735367,
-0.04871352016925812,
0.32727333903312683,
-0.00005774199962615967,
0.08261772990226746,
0.20969101786613464,
0.05201258510351181,
-0.019376175478100777,
0.7777997851371765,
0.32845139503479004,
0.14265255630016327,
0.08425991982221603,
0.1764015406370163,
0.34901729226112366,
-0.015909112989902496,
0.009243110194802284,
0.19970133900642395,
0.14651666581630707,
-0.03431840240955353,
-0.1036934107542038,
-0.13470345735549927,
0.05542975664138794,
-0.05358848720788956,
-0.056273043155670166,
-0.23797959089279175,
-0.3827786445617676,
0.18443578481674194,
0.13907727599143982,
0.12119784951210022,
0.11701026558876038,
-0.08152411878108978,
0.17757263779640198,
0.04371150955557823,
0.10723711550235748,
0.6104928255081177,
0.14675095677375793,
0.10263504832983017,
-0.20721766352653503,
-0.08483657985925674,
0.12223432213068008,
0.27393674850463867,
-0.086546890437603,
0.21683359146118164,
-0.10380619764328003,
-0.13272356986999512,
0.14370155334472656,
-0.2223825305700302,
0.6681801676750183,
-0.2611086070537567,
0.1711546778678894,
0.08754810690879822,
0.010096900165081024,
0.1647738665342331,
-0.19074052572250366,
-0.01808631606400013,
0.06575571745634079,
0.36350613832473755,
0.4576774835586548,
-0.37787872552871704,
-0.18977101147174835,
-0.1647636443376541,
-0.09269025921821594,
-0.13251926004886627,
-0.17948037385940552,
-0.21770413219928741,
-0.20514196157455444,
-0.6362573504447937,
0.18341052532196045,
-0.028902772814035416,
-0.22587402164936066,
-0.30389681458473206,
-0.11553309857845306,
0.07626001536846161,
0.14145022630691528,
-0.07382181286811829,
0.0024580862373113632,
0.3136102557182312,
-0.05528661236166954,
0.173786923289299,
0.13454604148864746,
-0.04354608803987503,
0.085252545773983,
0.28260499238967896,
0.1542215347290039,
0.3646928071975708,
0.11031582206487656,
-0.20136436820030212,
-0.007260948419570923,
0.650598406791687,
0.059500813484191895,
0.04549819976091385,
0.2072710543870926,
-0.2910382151603699,
-0.006615283899009228,
-0.282601922750473,
-0.2045508325099945,
-0.04654652997851372,
0.24829204380512238,
-0.515207827091217,
0.3263992369174957,
0.18164190649986267,
-0.324881374835968,
0.36705392599105835,
0.1951235681772232,
-0.17002485692501068,
0.3392346501350403,
0.22712606191635132,
1.0175493955612183,
-0.15672671794891357,
-0.09214480221271515,
-0.08437629789113998,
-0.1616697460412979,
0.32069632411003113,
-0.476687490940094,
0.11645271629095078,
-0.4552166759967804,
-0.06271559745073318,
0.012809580191969872,
-0.25266939401626587,
0.29751479625701904,
-0.004253685474395752,
-0.28915688395500183,
0.10376457870006561,
0.1791108101606369,
-0.18938836455345154,
-0.27238884568214417,
0.3294534385204315,
-0.1833057403564453,
-0.04874834045767784,
0.22200843691825867,
0.10907989740371704,
-0.18479704856872559,
0.2241882085800171,
0.045735593885183334,
-0.1413261741399765,
-0.06483795493841171,
-0.3059331178665161,
-0.321903258562088,
-0.038211263716220856,
0.22600612044334412,
0.25469523668289185,
-0.14227411150932312,
-0.08222983777523041,
0.05697933956980705,
-0.27991053462028503,
-0.16061855852603912,
0.3520456850528717,
0.0034353993833065033,
0.280977338552475,
0.12084677815437317,
0.07845119386911392,
0.010505751706659794,
-0.031153790652751923,
0.13106271624565125,
-0.08694276213645935,
-0.29350951313972473,
-0.28502899408340454,
-0.22557590901851654,
-0.4694456458091736,
-0.11290668696165085,
0.2710617780685425,
0.1368424892425537,
0.02929479070007801,
-0.15357613563537598,
0.3792545795440674,
-0.2160618007183075,
-0.2062690705060959,
0.12418004870414734,
0.007345549762248993,
-0.0807701051235199,
0.49623265862464905,
-0.1650165468454361,
-0.13226810097694397,
0.12789927423000336,
0.4549722373485565,
0.08205129206180573,
-0.360357403755188,
0.2904195785522461,
-0.11537034809589386,
-0.12507236003875732,
-0.22264406085014343,
0.05991939455270767,
-0.3386521339416504,
-0.031155455857515335,
-0.1194586232304573,
-0.32293301820755005,
-0.2052271068096161,
0.32619431614875793,
0.034056469798088074,
0.27773648500442505,
0.4198634922504425,
0.00475718080997467,
-0.3983815312385559,
0.0696859359741211,
0.21405014395713806,
-0.3298015892505646,
0.3869346082210541,
-0.0547652505338192,
-0.14627251029014587,
-0.07210858166217804,
0.24697746336460114,
-0.30593568086624146,
0.1582350879907608,
-0.22271113097667694,
0.024969272315502167,
0.15452110767364502,
0.051229462027549744,
-0.2423916459083557,
-0.19083432853221893,
-0.01688288152217865,
0.28750932216644287,
-0.27499058842658997,
-0.12974315881729126,
-0.14717179536819458,
0.1337370127439499,
-0.11000566929578781,
0.296111524105072,
-0.3353829085826874,
-0.41180622577667236,
-0.12484535574913025,
0.2332049310207367,
0.26734820008277893,
-0.011914145201444626,
-0.14027413725852966,
0.0526312030851841,
0.32186904549598694,
0.0939432680606842,
-0.03861080855131149,
0.2131134569644928,
-0.07546655833721161,
-0.15301968157291412,
0.007081544492393732,
0.17700448632240295,
-0.16056863963603973,
0.09829676151275635,
0.09192098677158356,
0.0647263154387474,
0.20337136089801788,
0.25241658091545105,
0.12530487775802612,
-0.13522185385227203,
-0.1448126584291458,
0.39419564604759216,
0.3125345706939697,
0.6182746291160583,
-0.09640508145093918,
-0.4299767315387726,
0.07039518654346466,
0.15291377902030945,
-0.016964435577392578,
-0.48905929923057556,
0.542549192905426,
0.03565392643213272,
-0.18157200515270233,
0.1904294490814209,
0.4257163405418396,
-0.234584242105484,
0.1591755747795105,
0.37019094824790955,
0.4983427822589874,
-0.36808860301971436,
0.22351787984371185,
-0.06260809302330017,
-0.1867421269416809,
-0.22628702223300934,
0.3404453992843628,
-0.028110157698392868,
0.35997921228408813,
0.19635489583015442,
0.011939704418182373,
0.18376074731349945,
0.16793617606163025,
0.3023033142089844,
-0.28338906168937683,
-0.5033618807792664,
0.28392839431762695,
0.2657640874385834,
-0.06752856075763702,
0.19664323329925537,
0.16676902770996094,
0.0562165305018425,
0.10716009140014648,
0.059389378875494,
0.07644237577915192,
0.22999267280101776,
-0.22236835956573486,
-0.07112327963113785,
-0.06809806823730469,
-0.20088231563568115,
-0.06968861818313599,
0.024216633290052414,
-0.05526622757315636,
0.15794405341148376,
0.7206286191940308,
0.3092396557331085,
-0.022790618240833282,
0.12852410972118378,
0.013646714389324188,
-0.09169553965330124,
0.12977096438407898,
-0.4482984244823456,
-0.02375206910073757,
0.07032977044582367,
-0.15381470322608948,
0.18116673827171326,
-0.030145088210701942,
0.15340225398540497,
0.024070482701063156,
0.18963246047496796,
0.03144729882478714,
0.050356797873973846,
0.19815531373023987,
-0.2758904993534088,
0.3350330591201782,
-0.042078256607055664,
-0.25396105647087097,
0.16929370164871216,
0.13178421556949615,
-0.05520625784993172,
-0.4103488624095917,
0.08495476841926575,
0.05519169941544533,
-0.11026616394519806,
0.33083581924438477,
0.16521930694580078,
-0.20421549677848816,
0.2246113121509552,
0.12249858677387238,
-0.2929386496543884,
-0.09109239280223846,
0.46744078397750854,
0.20759330689907074,
0.009325791150331497,
-0.15467804670333862,
0.09158872812986374,
0.024843554943799973,
0.583284318447113,
-0.004071172326803207,
-0.32320186495780945,
-0.14352120459079742,
-0.12367846071720123,
-0.6596705913543701,
0.1529824286699295,
-0.004980601370334625,
0.04413287341594696,
0.2937079668045044,
0.33544930815696716,
0.17252373695373535,
0.0836779773235321,
-0.10472148656845093,
-0.3890504837036133,
0.1389918029308319,
0.22834010422229767,
-0.30193817615509033,
0.16796433925628662,
0.39579880237579346,
-0.35416409373283386,
0.12823934853076935,
-0.33740100264549255,
0.2665015161037445,
0.30440035462379456,
0.008385099470615387,
-0.11221593618392944,
-0.15439248085021973,
0.47894972562789917,
-0.23791474103927612,
0.3879811465740204,
0.056551866233348846,
0.16411235928535461,
-0.013960609212517738,
-0.14585712552070618,
-0.41233688592910767,
-0.1850528120994568,
-0.10916904360055923,
-0.12938952445983887,
0.009368324652314186,
0.13918323814868927,
-0.23905901610851288,
0.19200827181339264,
-0.3782528340816498,
0.17985540628433228,
-0.39148157835006714,
-0.06828486919403076,
-0.06721626222133636,
-0.16150222718715668,
0.07483953982591629,
0.20750974118709564,
-0.135177880525589,
0.3614765703678131,
0.18611282110214233,
0.34614282846450806,
-0.3925069570541382,
-0.09068150073289871,
0.5692108869552612,
0.018609218299388885,
-0.026377469301223755,
0.1250348538160324,
0.2964255213737488,
-0.19953575730323792,
0.0730220228433609,
-0.4779543876647949,
-0.07451612502336502,
0.17662672698497772,
-0.014315836131572723,
-0.2779804766178131,
0.26193708181381226,
-0.1572723686695099,
-0.24337880313396454,
-0.07356885075569153,
-0.24695107340812683,
0.08578766882419586,
-0.240066796541214,
-0.10991877317428589,
-0.12716048955917358
] |
https://github.com/huggingface/datasets/pull/431 | Specify split post processing + Add post processing resources downloading | I was using a hack in `wiki_dpr` to download the index from GCS even for the configurations without the embeddings.
However as GCS is something internal, I changed the logic to add a download step for indexes directly in the dataset script, using the `DownloadManager`.
This change was directly linked to the changes I did to take into account the split name in the post processing, so I included this change in this PR too.
To summarize:
Dataset builders can now implement
- `_post_processing_resources(split)`: return a dict `resource_name -> resource_file_name`. It defines the additional resources such as indexes or arrow files that you need in post processing
- `_download_post_processing_resources(split, resource_name, dl_manager))`: if some resources can be downloaded, you can use the download_manager to download them
- `_post_process(dataset, resources_path)`: (main function for post processing) given a dataset, you can apply dataset transforms or add indexes. For resources that have been downloaded, you can load them. For the others, you can generate and save them. The paths to load/save resources are in `resources_path` which is a dictionary `resource_name -> resource_path`
About the CI:
```
=========================== short test summary info ============================
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
```
It fails because I changed the input of post processing functions (to include the split name) | Previously if you tried to do
```python
from nlp import load_dataset
wiki = load_dataset("wiki_dpr", "psgs_w100_with_nq_embeddings", split="train[:100]", with_index=True)
```
Then you'd get an error `Index size should match Dataset size...`
This was because it was trying to use the full index (21M elements).
To fix that I made it so post processing resources can be named according to the split.
I'm going to add tests on post processing too.
Note that the CI will fail as I added a new argument in `_post_processing_resources`: the AWS version of wiki_dpr fails, and there's also an error telling that it is not synced (it'll be synced once it's merged):
```
=========================== short test summary info ============================
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
FAILED tests/test_hf_gcp.py::TestDatasetSynced::test_script_synced_with_s3_wiki_dpr
```
EDIT: I did a change to ignore the script hash to locate the arrow files on GCS, so I removed the sync test. It was there just because of the hash logic for files on GCS | 207 | text: Specify split post processing + Add post processing resources downloading
Previously if you tried to do
```python
from nlp import load_dataset
wiki = load_dataset("wiki_dpr", "psgs_w100_with_nq_embeddings", split="train[:100]", with_index=True)
```
Then you'd get an error `Index size should match Dataset size...`
This was because it was trying to use the full index (21M elements).
To fix that I made it so post processing resources can be named according to the split.
I'm going to add tests on post processing too.
Note that the CI will fail as I added a new argument in `_post_processing_resources`: the AWS version of wiki_dpr fails, and there's also an error telling that it is not synced (it'll be synced once it's merged):
```
=========================== short test summary info ============================
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
FAILED tests/test_hf_gcp.py::TestDatasetSynced::test_script_synced_with_s3_wiki_dpr
```
EDIT: I did a change to ignore the script hash to locate the arrow files on GCS, so I removed the sync test. It was there just because of the hash logic for files on GCS
I was using a hack in `wiki_dpr` to download the index from GCS even for the configurations without the embeddings.
However as GCS is something internal, I changed the logic to add a download step for indexes directly in the dataset script, using the `DownloadManager`.
This change was directly linked to the changes I did to take into account the split name in the post processing, so I included this change in this PR too.
To summarize:
Dataset builders can now implement
- `_post_processing_resources(split)`: return a dict `resource_name -> resource_file_name`. It defines the additional resources such as indexes or arrow files that you need in post processing
- `_download_post_processing_resources(split, resource_name, dl_manager))`: if some resources can be downloaded, you can use the download_manager to download them
- `_post_process(dataset, resources_path)`: (main function for post processing) given a dataset, you can apply dataset transforms or add indexes. For resources that have been downloaded, you can load them. For the others, you can generate and save them. The paths to load/save resources are in `resources_path` which is a dictionary `resource_name -> resource_path`
About the CI:
```
=========================== short test summary info ============================
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
```
It fails because I changed the input of post processing functions (to include the split name) | [
-0.32495415210723877,
-0.07501383125782013,
-0.08974656462669373,
-0.03135368227958679,
-0.10907836258411407,
-0.04253590479493141,
0.26738399267196655,
0.4424207806587219,
0.17599625885486603,
0.07507091760635376,
0.13142909109592438,
0.5988532304763794,
0.03454727306962013,
0.4335240125656128,
0.13298934698104858,
-0.32527074217796326,
0.17846015095710754,
0.3333171606063843,
0.1306167095899582,
0.29746854305267334,
-0.44916844367980957,
0.31111741065979004,
-0.19179490208625793,
-0.13048434257507324,
-0.13656498491764069,
-0.3738277852535248,
-0.3079929053783417,
-0.029788747429847717,
-0.14990882575511932,
-0.5278540849685669,
0.04125441610813141,
0.1939523071050644,
0.03882831707596779,
0.1862141489982605,
-0.0001057524568750523,
-0.0889768898487091,
0.3310529589653015,
-0.1373319774866104,
-0.3890417516231537,
0.04791567474603653,
-0.24469152092933655,
-0.27413347363471985,
0.23173558712005615,
-0.3466090261936188,
0.015313703566789627,
-0.1197076216340065,
-0.11628209054470062,
-0.038862667977809906,
0.4403679370880127,
0.08475904911756516,
0.21854360401630402,
0.24119478464126587,
-0.1482803374528885,
-0.25887224078178406,
0.06499949842691422,
-0.14187027513980865,
-0.08753956854343414,
-0.3087623715400696,
0.23784340918064117,
0.05288652330636978,
0.027270197868347168,
0.2879331707954407,
-0.13974574208259583,
0.2500835061073303,
0.00643492117524147,
0.028047211468219757,
0.0584879070520401,
-0.4164960980415344,
-0.016424603760242462,
0.18038108944892883,
0.42072954773902893,
0.1796938180923462,
-0.3259994685649872,
-0.3677831292152405,
-0.06974256783723831,
-0.5658321380615234,
0.1603994518518448,
0.11490213871002197,
-0.1736893355846405,
0.042946334928274155,
-0.13072316348552704,
0.023242944851517677,
-0.0853838324546814,
0.039996884763240814,
0.13697949051856995,
0.5668622255325317,
-0.03662173077464104,
0.09874802082777023,
0.12284037470817566,
0.2161533683538437,
0.16366077959537506,
0.06585319340229034,
-0.09276533126831055,
0.04250699281692505,
-0.20781953632831573,
-0.26181498169898987,
0.1101856678724289,
0.09257270395755768,
-0.16541200876235962,
0.6105389595031738,
-0.09310664236545563,
0.0750480517745018,
0.43623554706573486,
0.1260017454624176,
-0.036003708839416504,
0.28603383898735046,
-0.16863220930099487,
0.14069262146949768,
0.05991062521934509,
0.2157467156648636,
-0.07558529824018478,
-0.18432706594467163,
0.22056938707828522,
-0.4057426452636719,
-0.38453978300094604,
-0.03780415281653404,
-0.22604480385780334,
0.08672259747982025,
-0.19462092220783234,
-0.12038712948560715,
0.2297441065311432,
-0.14588521420955658,
-0.10162771493196487,
0.25275444984436035,
0.13099753856658936,
0.2928403317928314,
0.2579987645149231,
0.2409687042236328,
-0.3276943564414978,
0.20001213252544403,
-0.1732426881790161,
0.034047067165374756,
-0.16460387408733368,
0.2793436050415039,
0.0363890565931797,
0.12766392529010773,
0.40859168767929077,
-0.0438278391957283,
0.012814413756132126,
-0.09742214530706406,
0.23686742782592773,
0.289266437292099,
0.322693794965744,
0.4367777705192566,
0.2209075391292572,
0.12348008900880814,
-0.008234605193138123,
-0.20359954237937927,
-0.33574891090393066,
-0.02209487557411194,
-0.238141268491745,
-0.374821275472641,
-0.294916570186615,
0.24455489218235016,
-0.1767536848783493,
-0.09279926121234894,
-0.0020262449979782104,
0.2842208445072174,
0.30333930253982544,
-0.15228046476840973,
0.22768929600715637,
0.06500901281833649,
-0.24189472198486328,
-0.26506420969963074,
0.19412483274936676,
0.17316937446594238,
-0.1748305708169937,
-0.2707090973854065,
-0.19605939090251923,
-0.007509678602218628,
0.326419472694397,
0.07297977805137634,
-0.10483188927173615,
0.11246305704116821,
-0.09618633985519409,
0.42249923944473267,
0.2584688663482666,
-0.1059383824467659,
-0.15776890516281128,
0.60080885887146,
-0.05287257954478264,
-0.23115599155426025,
0.349394291639328,
-0.10642068833112717,
0.2827472686767578,
0.0884905457496643,
-0.045652054250240326,
0.3607448935508728,
-0.06192201375961304,
0.05690556764602661,
-0.21645940840244293,
-0.3645614981651306,
-0.06899259984493256,
-0.1048479676246643,
0.22297920286655426,
-0.05316322296857834,
0.016278408467769623,
0.03914521262049675,
0.3239297866821289,
-0.12678347527980804,
0.23670832812786102,
0.004831891506910324,
0.10958539694547653,
-0.20511753857135773,
0.11711802333593369,
-0.13104671239852905,
-0.2349521815776825,
0.2103978395462036,
-0.18212676048278809,
0.31462788581848145,
-0.14156660437583923,
-0.16376259922981262,
-0.4007623791694641,
-0.10524021834135056,
-0.26890262961387634,
-0.5049406886100769,
0.10317325592041016,
-0.11213065683841705,
0.19456006586551666,
-0.11170995235443115,
-0.21412524580955505,
0.001923607662320137,
0.17671987414360046,
0.0617155060172081,
-0.09876672923564911,
0.25069305300712585,
-0.21634547412395477,
-0.20625321567058563,
0.11963769793510437,
0.08575126528739929,
0.026613149791955948,
0.07742857933044434,
-0.13761815428733826,
0.3512062728404999,
-0.007554467301815748,
0.2715032696723938,
0.11971104145050049,
-0.10628373920917511,
0.13859890401363373,
-0.1952689290046692,
0.0458914190530777,
-0.12185278534889221,
0.02747569978237152,
-0.00007358938455581665,
-0.037838906049728394,
0.4833334684371948,
-0.20900899171829224,
0.32283544540405273,
0.10380066931247711,
0.07234698534011841,
0.3241391181945801,
-0.25196900963783264,
-0.054185278713703156,
-0.34446999430656433,
-0.10480457544326782,
0.09041662514209747,
-0.010166646912693977,
-0.08256333321332932,
-0.024865198880434036,
0.17519736289978027,
0.40874066948890686,
-0.003177216276526451,
-0.21172738075256348,
-0.10914532095193863,
-0.1334921419620514,
-0.14769406616687775,
0.2993541955947876,
0.32805362343788147,
0.4334964156150818,
0.2300664782524109,
0.2998256981372833,
-0.05078914016485214,
0.00585727347061038,
-0.37196165323257446,
0.3778958022594452,
0.19113248586654663,
0.14042213559150696,
0.28474295139312744,
-0.08952607959508896,
-0.09166236221790314,
-0.17811712622642517,
0.0929022878408432,
0.2406865358352661,
0.09035636484622955,
-0.10031424462795258,
0.15434496104717255,
-0.19442889094352722,
-0.15771549940109253,
-0.0022502485662698746,
0.08356986194849014,
0.03284377232193947,
-0.5081086158752441,
0.29127323627471924,
-0.20739030838012695,
-0.2975154221057892,
0.2715826630592346,
-0.24799416959285736,
0.07293088734149933,
-0.04515110328793526,
-0.21121351420879364,
-0.21156089007854462,
-0.18875139951705933,
-0.04914837330579758,
0.15319442749023438,
0.1630551815032959,
0.30253782868385315,
0.4612013101577759,
0.15820427238941193,
-0.08302906900644302,
-0.07240397483110428,
-0.3370821177959442,
0.24755236506462097,
-0.24840138852596283,
0.22124391794204712,
0.2009679079055786,
0.019469022750854492,
-0.1348516345024109,
-0.6147451400756836,
0.10171496123075485,
-0.3282187283039093,
-0.12943769991397858,
-0.2854694128036499,
-0.05904882401227951,
0.00284340581856668,
-0.3921683430671692,
-0.6609166264533997,
-0.2450883835554123,
-0.36354348063468933,
0.20429173111915588,
0.33793625235557556,
0.1110352873802185,
-0.23093672096729279,
0.14777439832687378,
-0.10149442404508591,
0.20895126461982727,
-0.2261768877506256,
-0.3121137022972107,
-0.21981723606586456,
0.1984400898218155,
-0.4194144308567047,
-0.04756859317421913,
0.18646830320358276,
-0.31188178062438965,
0.4750572443008423,
-0.08037924766540527,
-0.1499529927968979,
0.27738845348358154,
-0.16244135797023773,
0.22877556085586548,
0.3154926002025604,
0.3439112603664398,
0.3693356215953827,
0.16432103514671326,
-0.17353105545043945,
-0.12235694378614426,
0.3061355948448181,
-0.06782423704862595,
0.00587853416800499,
0.26720666885375977,
-0.024397913366556168,
0.1618058681488037,
0.021467294543981552,
0.8540170788764954,
0.29646211862564087,
-0.0015221983194351196,
0.2499239444732666,
-0.10796146839857101,
0.1765611320734024,
-0.17915380001068115,
-0.05987829715013504,
-0.012610102072358131,
-0.26865506172180176,
-0.016352344304323196,
0.3353779911994934,
-0.023844312876462936,
-0.5165042877197266,
-0.20452307164669037,
0.06558309495449066,
-0.4301025867462158,
-0.3274090588092804,
0.1380278617143631,
0.03379986435174942,
0.3505724370479584,
-0.09024615585803986,
-0.10585477948188782,
-0.19943968951702118,
-0.055268947035074234,
-0.13803504407405853,
0.058550383895635605,
0.19406825304031372,
-0.050424885004758835,
-0.11287425458431244,
-0.05933584272861481,
-0.5078297257423401,
0.35300493240356445,
0.0840371698141098,
-0.14350424706935883,
0.09358496963977814,
-0.30533722043037415,
0.03489399328827858,
-0.10152357071638107,
0.1022757813334465,
-0.5860292315483093,
-0.26219069957733154,
0.23746025562286377,
0.03635750710964203,
0.08332647383213043,
-0.06581873446702957,
-0.1382155418395996,
-0.11905087530612946,
0.2182440608739853,
0.30696141719818115,
-0.42378586530685425,
-0.15192750096321106,
0.3244653046131134,
-0.13849158585071564,
-0.19295504689216614,
-0.17379321157932281,
-0.2285686582326889,
-0.37568992376327515,
-0.5800731182098389,
0.2671526372432709,
0.2943527400493622,
0.2210223525762558,
-0.37144726514816284,
-0.08841730654239655,
0.035801153630018234,
0.033753182739019394,
-0.011759094893932343,
0.2728451192378998,
0.07884000241756439,
-0.07194505631923676,
-0.020802326500415802,
-0.11748972535133362,
-0.1384502798318863,
0.13766992092132568,
0.5516638159751892,
-0.17174780368804932,
0.4631231129169464,
-0.033897947520017624,
-0.08608667552471161,
0.4106987416744232,
0.4023597538471222,
-0.09428325295448303,
0.2342214286327362,
0.07354435324668884,
0.31333914399147034,
-0.22817015647888184,
0.02079194039106369,
0.020685754716396332,
-0.2772301137447357,
-0.0583600215613842,
-0.24315083026885986,
0.47661787271499634,
0.14487744867801666,
-0.14795592427253723,
-0.03121452033519745,
0.15802925825119019,
-0.33590763807296753,
0.5690228343009949,
0.23827555775642395,
0.9141784906387329,
0.052441857755184174,
0.21300441026687622,
0.1875411570072174,
0.05845273286104202,
0.8013275861740112,
-0.22170612215995789,
0.12694907188415527,
-0.30233117938041687,
-0.08820582926273346,
-0.018243534490466118,
-0.09687453508377075,
0.22181913256645203,
0.32295989990234375,
-0.546896755695343,
0.2677106559276581,
0.13491679728031158,
-0.014209810644388199,
-0.09618812799453735,
0.4631120562553406,
-0.40946492552757263,
-0.3851504325866699,
-0.09830367565155029,
0.11450672149658203,
0.07961980998516083,
0.06584924459457397,
-0.026114385575056076,
-0.1849418729543686,
-0.09785403311252594,
-0.22623595595359802,
-0.19266614317893982,
0.12103342264890671,
-0.08892742544412613,
0.08729258179664612,
-0.2537880539894104,
-0.26240283250808716,
0.32133498787879944,
0.05819119140505791,
0.046241018921136856,
0.14270341396331787,
-0.11686868965625763,
0.41315019130706787,
-0.067214734852314,
-0.11999829113483429,
-0.005200142040848732,
-0.062146272510290146,
0.5640838742256165,
-0.13319526612758636,
-0.20648156106472015,
-0.20919141173362732,
-0.14398840069770813,
-0.12356728315353394,
0.11836564540863037,
0.06838218122720718,
-0.18523037433624268,
-0.18489688634872437,
-0.25013574957847595,
0.14273367822170258,
-0.29292163252830505,
-0.4392606317996979,
0.20725922286510468,
-0.20253519713878632,
-0.41022971272468567,
0.42152971029281616,
-0.04448767378926277,
-0.05507078766822815,
-0.10074891149997711,
0.0595867782831192,
0.13450679183006287,
-0.15480422973632812,
0.32845422625541687,
0.2094278484582901,
-0.2800581455230713,
-0.344157338142395,
-0.18277311325073242,
0.011596085503697395,
-0.25045129656791687,
0.331462562084198,
0.2674448788166046,
-0.16235482692718506,
0.08451126515865326,
0.18514655530452728,
0.13848134875297546,
0.4968331754207611,
-0.09357539564371109,
-0.04930407181382179,
-0.2562379539012909,
0.26949554681777954,
-0.13955536484718323,
0.5389753580093384,
-0.005744714289903641,
0.2477894425392151,
0.13262461125850677,
0.3910578787326813,
-0.3599587380886078,
-0.01920105330646038,
-0.32393941283226013,
0.24231372773647308,
0.012735031545162201,
-0.13145118951797485,
0.07553904503583908,
0.05364031344652176,
0.07953328639268875,
0.2031460702419281,
-0.05021446570754051,
-0.26216721534729004,
-0.20239350199699402,
0.13328492641448975,
0.26595744490623474,
-0.10016324371099472,
0.19719049334526062,
0.025063179433345795,
-0.22636646032333374,
-0.2010638266801834,
0.30464476346969604,
-0.12595848739147186,
-0.17289769649505615,
0.16397948563098907,
0.26998570561408997,
0.008117694407701492,
-0.14533889293670654,
0.10145778208971024,
-0.023238331079483032,
0.5232862234115601,
0.002164354082196951,
0.16395854949951172,
0.06299371272325516,
0.035354532301425934,
0.219390869140625,
0.17420807480812073,
0.13975198566913605,
0.2237216830253601,
0.36332032084465027,
-0.12625353038311005,
-0.3509347438812256,
-0.31820061802864075,
0.33248353004455566,
0.3676404058933258,
0.22572511434555054,
0.10876712203025818,
0.137409508228302,
0.23755423724651337,
-0.28973081707954407,
0.05046501383185387,
0.17978189885616302,
-0.08465621620416641,
0.21044433116912842,
0.33836856484413147,
0.6799399852752686,
-0.1761842966079712,
-0.34222906827926636,
0.06458083540201187,
0.1214904636144638,
-0.37236201763153076,
0.27016735076904297,
0.3716556429862976,
0.08296935260295868,
0.0835684984922409,
0.13470812141895294,
-0.23979276418685913,
0.17786948382854462,
0.08080936968326569,
-0.08376242965459824,
0.3434629440307617,
0.24908164143562317,
0.16670790314674377,
0.030144665390253067,
-0.13258671760559082,
-0.1523282825946808,
-0.2115427553653717,
-0.03810933232307434,
0.25023725628852844,
0.05212691053748131,
0.09144283086061478,
-0.04209323972463608,
0.02510395459830761,
-0.15238124132156372,
0.5879063010215759,
-0.08599849790334702,
-0.27716341614723206,
-0.42978277802467346,
-0.12260672450065613,
-0.23450398445129395,
0.10943193733692169,
0.1237310916185379,
-0.1585397571325302,
0.28716611862182617,
0.10971985757350922,
0.1562524139881134,
0.1695147454738617,
0.2882261574268341,
-0.12955212593078613,
0.25724199414253235,
-0.24741414189338684,
-0.08259329199790955,
0.10698304325342178,
-0.06676630675792694,
-0.015689611434936523,
-0.03179918974637985,
0.4403165876865387,
-0.11514545977115631,
-0.4911971688270569,
-0.19962279498577118,
0.14840875566005707,
-0.0362587496638298,
-0.0756540596485138,
0.20227712392807007,
0.16304560005664825,
0.1958950161933899,
0.20945429801940918,
0.1457485556602478,
-0.24899783730506897,
-0.42948779463768005,
0.1401546746492386,
-0.0409359484910965,
0.00016170600429177284,
0.32413744926452637,
0.08110351860523224,
-0.2923457622528076,
0.0017693713307380676,
0.28901228308677673,
-0.4875689744949341,
0.16662776470184326,
0.30493685603141785,
-0.11311652511358261,
0.23813188076019287,
-0.0998348742723465,
0.09636300802230835,
-0.041832488030195236,
0.46175605058670044,
-0.023929115384817123,
0.053230367600917816,
-0.3184303045272827,
-0.2616582214832306,
-0.24345600605010986,
-0.17243456840515137,
0.11961758136749268,
0.021304087713360786,
0.02122139185667038,
0.42571961879730225,
0.04001840576529503,
-0.03491850197315216,
-0.027682363986968994,
0.0024295980110764503,
0.15137062966823578,
0.24334828555583954,
-0.13590183854103088,
-0.021768461912870407,
-0.32768726348876953,
-0.03730691224336624,
0.0517275407910347,
-0.17953231930732727,
-0.21462737023830414,
0.020630132406949997,
0.015914984047412872,
-0.10811124742031097,
-0.07262616604566574,
0.417490154504776,
0.2035718709230423,
0.19889120757579803,
0.11046312004327774,
0.3944339156150818,
-0.28966477513313293,
0.19437740743160248,
-0.2487686574459076,
-0.3250472843647003,
-0.42305701971054077,
0.3346843123435974,
-0.07070238888263702,
0.466776579618454,
-0.06359416246414185,
0.2252226173877716,
-0.39251846075057983,
-0.281016081571579,
-0.06120176985859871,
0.11191850900650024,
-0.12384356558322906,
0.023317256942391396,
-0.22938469052314758,
0.26662516593933105,
0.47625917196273804,
0.40847131609916687,
-0.23397895693778992,
-0.004572315141558647,
-0.2221493273973465,
-0.6831032037734985,
0.3318011462688446,
-0.14575666189193726,
-0.32183539867401123,
0.11472293734550476,
0.09875009953975677,
0.2659953236579895,
0.26783400774002075,
-0.35701262950897217,
-0.022918686270713806,
0.18747104704380035,
-0.048614732921123505,
-0.24092553555965424,
0.17416703701019287,
0.07794880867004395,
-0.18451328575611115,
-0.19467253983020782,
0.14029832184314728,
0.10780225694179535,
-0.12257973849773407,
-0.44824716448783875,
-0.3147229552268982
] |
https://github.com/huggingface/datasets/pull/431 | Specify split post processing + Add post processing resources downloading | I started to add metadata in the DatasetInfo.
Note that because there are new fields, **ALL the dataset_info[s].json generated after these changes won't be loadable from older versions of the lib**
Right now it looks like this:
```json
"post_processing_resources_checksums": {
"train": {
"embeddings_index": {
"num_bytes": 30720045,
"checksum": "b04fb4f4f3ab83b9d1b9f6f9eb236f1c04a9fd61bef7cee16b12df8ac911766a"
}
}
},
"post_processing_size": 30720045,
``` | Previously if you tried to do
```python
from nlp import load_dataset
wiki = load_dataset("wiki_dpr", "psgs_w100_with_nq_embeddings", split="train[:100]", with_index=True)
```
Then you'd get an error `Index size should match Dataset size...`
This was because it was trying to use the full index (21M elements).
To fix that I made it so post processing resources can be named according to the split.
I'm going to add tests on post processing too.
Note that the CI will fail as I added a new argument in `_post_processing_resources`: the AWS version of wiki_dpr fails, and there's also an error telling that it is not synced (it'll be synced once it's merged):
```
=========================== short test summary info ============================
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
FAILED tests/test_hf_gcp.py::TestDatasetSynced::test_script_synced_with_s3_wiki_dpr
```
EDIT: I did a change to ignore the script hash to locate the arrow files on GCS, so I removed the sync test. It was there just because of the hash logic for files on GCS | 54 | text: Specify split post processing + Add post processing resources downloading
Previously if you tried to do
```python
from nlp import load_dataset
wiki = load_dataset("wiki_dpr", "psgs_w100_with_nq_embeddings", split="train[:100]", with_index=True)
```
Then you'd get an error `Index size should match Dataset size...`
This was because it was trying to use the full index (21M elements).
To fix that I made it so post processing resources can be named according to the split.
I'm going to add tests on post processing too.
Note that the CI will fail as I added a new argument in `_post_processing_resources`: the AWS version of wiki_dpr fails, and there's also an error telling that it is not synced (it'll be synced once it's merged):
```
=========================== short test summary info ============================
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
FAILED tests/test_hf_gcp.py::TestDatasetSynced::test_script_synced_with_s3_wiki_dpr
```
EDIT: I did a change to ignore the script hash to locate the arrow files on GCS, so I removed the sync test. It was there just because of the hash logic for files on GCS
I started to add metadata in the DatasetInfo.
Note that because there are new fields, **ALL the dataset_info[s].json generated after these changes won't be loadable from older versions of the lib**
Right now it looks like this:
```json
"post_processing_resources_checksums": {
"train": {
"embeddings_index": {
"num_bytes": 30720045,
"checksum": "b04fb4f4f3ab83b9d1b9f6f9eb236f1c04a9fd61bef7cee16b12df8ac911766a"
}
}
},
"post_processing_size": 30720045,
``` | [
-0.23940899968147278,
-0.04988076537847519,
-0.07842960953712463,
-0.019384801387786865,
-0.14622598886489868,
-0.002832069993019104,
0.12351907789707184,
0.5262822508811951,
0.1732485145330429,
-0.021124571561813354,
0.19875115156173706,
0.550724446773529,
0.08728640526533127,
0.3343954384326935,
0.04258062690496445,
-0.2727428078651428,
0.1403515338897705,
0.39666640758514404,
0.09502962231636047,
0.22324027121067047,
-0.3930574655532837,
0.3551572561264038,
-0.17972540855407715,
-0.19159917533397675,
-0.11253117024898529,
-0.4055466949939728,
-0.2579774260520935,
0.056435417383909225,
-0.15996117889881134,
-0.46415942907333374,
0.049416787922382355,
0.17099852859973907,
0.08055052161216736,
0.19933615624904633,
-0.00010537897469475865,
-0.23451153934001923,
0.3159935474395752,
-0.16365720331668854,
-0.35211819410324097,
0.06671406328678131,
-0.14139750599861145,
-0.21091049909591675,
0.32555654644966125,
-0.40512552857398987,
0.02004661038517952,
-0.03869914263486862,
-0.1833307147026062,
-0.05630674958229065,
0.44653284549713135,
0.21606554090976715,
0.23753750324249268,
0.19919826090335846,
-0.14163348078727722,
-0.19341789186000824,
0.14458149671554565,
-0.24428118765354156,
-0.05997192859649658,
-0.22433367371559143,
0.1854860782623291,
0.04113258421421051,
0.03896491602063179,
0.41323596239089966,
-0.13474637269973755,
0.19259822368621826,
0.010626047849655151,
-0.005783445201814175,
0.10392361134290695,
-0.28681573271751404,
0.051795244216918945,
0.15682479739189148,
0.31413695216178894,
0.09514377266168594,
-0.31086117029190063,
-0.2969789206981659,
-0.1187908723950386,
-0.5243497490882874,
0.17755934596061707,
0.1024763435125351,
-0.06982190907001495,
0.036441586911678314,
-0.0792488157749176,
-0.051980629563331604,
-0.004971712827682495,
0.16387078166007996,
0.12845800817012787,
0.6602439880371094,
-0.04450977221131325,
0.07295984029769897,
0.1687747836112976,
0.1705722212791443,
-0.05802125111222267,
0.11246050149202347,
-0.1827494353055954,
0.04970918223261833,
-0.17601872980594635,
-0.32748422026634216,
0.05928974598646164,
0.006456434726715088,
-0.09487628191709518,
0.6276496052742004,
-0.06830912828445435,
0.07915588468313217,
0.28751054406166077,
0.09852607548236847,
0.044969700276851654,
0.3738570213317871,
-0.11318159848451614,
0.183828666806221,
0.0481388159096241,
0.32966482639312744,
-0.134627103805542,
-0.08979793637990952,
0.17831160128116608,
-0.2943935692310333,
-0.33380311727523804,
0.027986934408545494,
-0.1434928923845291,
-0.0398385189473629,
-0.09121015667915344,
-0.08409388363361359,
0.21436521410942078,
-0.1630144864320755,
-0.09183227270841599,
0.37358981370925903,
0.04341994971036911,
0.3406745493412018,
0.29176777601242065,
0.2483486533164978,
-0.32754722237586975,
0.21751300990581512,
-0.16065078973770142,
0.13438498973846436,
-0.24012809991836548,
0.30779075622558594,
0.11095139384269714,
0.16180193424224854,
0.5072439312934875,
-0.07128605991601944,
-0.04657050967216492,
-0.19469040632247925,
0.19383510947227478,
0.21432821452617645,
0.2580079138278961,
0.3998512625694275,
0.2340831458568573,
0.2385779768228531,
0.016520963981747627,
-0.17846029996871948,
-0.3672712445259094,
-0.034640200436115265,
-0.2381681501865387,
-0.2936503291130066,
-0.3054881691932678,
0.2687200605869293,
-0.18016433715820312,
-0.13487794995307922,
-0.08729704469442368,
0.1936097890138626,
0.30112582445144653,
-0.2215198576450348,
0.22381263971328735,
0.0879385769367218,
-0.21114154160022736,
-0.32008326053619385,
0.16895730793476105,
0.14927023649215698,
-0.11161375045776367,
-0.25041383504867554,
-0.14043933153152466,
0.020281588658690453,
0.282530814409256,
0.1274440735578537,
-0.05770396441221237,
0.0579245388507843,
-0.04543302580714226,
0.4389439821243286,
0.26641586422920227,
-0.22770234942436218,
-0.2267463058233261,
0.6011066436767578,
-0.11266690492630005,
-0.20707178115844727,
0.27452516555786133,
-0.03884672373533249,
0.23147599399089813,
0.06094993278384209,
-0.09123961627483368,
0.45155131816864014,
-0.05851791799068451,
0.15283556282520294,
-0.26886695623397827,
-0.36168819665908813,
-0.04827632009983063,
-0.09368543326854706,
0.18345992267131805,
-0.11725408583879471,
0.0378386415541172,
0.1392630785703659,
0.40597617626190186,
-0.13012370467185974,
0.1984628289937973,
0.060435306280851364,
0.21143724024295807,
-0.2563331127166748,
0.08188379555940628,
-0.11959656327962875,
-0.25337889790534973,
0.14442047476768494,
-0.14517125487327576,
0.23572313785552979,
-0.1473313868045807,
-0.20391391217708588,
-0.3967401087284088,
-0.20273542404174805,
-0.2304057627916336,
-0.44363802671432495,
0.13134390115737915,
-0.061741918325424194,
0.19809018075466156,
-0.033227015286684036,
-0.16932281851768494,
-0.06767640262842178,
0.09101391583681107,
0.08733368664979935,
-0.06078369542956352,
0.19929498434066772,
-0.25435036420822144,
-0.29428428411483765,
0.20834577083587646,
0.07418974488973618,
0.08115091174840927,
0.11057719588279724,
-0.12407248467206955,
0.3447032868862152,
-0.007019853685051203,
0.33650463819503784,
0.15231609344482422,
-0.030704781413078308,
0.10417458415031433,
-0.15110152959823608,
-0.03484644740819931,
-0.031244724988937378,
-0.04984903708100319,
0.0015082582831382751,
-0.10352989286184311,
0.5287837982177734,
-0.1554504632949829,
0.2758726179599762,
0.15115447342395782,
-0.03521241992712021,
0.317272424697876,
-0.382424920797348,
-0.05126642435789108,
-0.31998875737190247,
-0.02206229791045189,
0.10305061936378479,
-0.12908054888248444,
-0.10883517563343048,
0.033694736659526825,
0.18927520513534546,
0.4659426212310791,
-0.01139533519744873,
-0.09070832282304764,
-0.06974735110998154,
-0.1234867200255394,
-0.13182185590267181,
0.2935401499271393,
0.33296656608581543,
0.3469219207763672,
0.260751873254776,
0.2996135354042053,
-0.028399063274264336,
-0.02747446671128273,
-0.3018503487110138,
0.31800878047943115,
0.1667756885290146,
0.24213087558746338,
0.2761220932006836,
0.01240406185388565,
-0.10697858035564423,
-0.11455554515123367,
0.1569872498512268,
0.11590129882097244,
0.1454140990972519,
-0.07455215603113174,
0.13774481415748596,
-0.2820805609226227,
-0.07410544902086258,
-0.06904999911785126,
0.004643080290406942,
0.04037446901202202,
-0.4530629813671112,
0.2758878171443939,
-0.1069413274526596,
-0.2753657400608063,
0.26255741715431213,
-0.2946067750453949,
0.015149563550949097,
-0.013595746830105782,
-0.2596800625324249,
-0.14088872075080872,
-0.1881607621908188,
-0.15918844938278198,
0.1575290560722351,
0.18729989230632782,
0.31088167428970337,
0.5230550169944763,
0.20098215341567993,
-0.014934062026441097,
-0.008571170270442963,
-0.42268770933151245,
0.16512581706047058,
-0.21432273089885712,
0.13828720152378082,
0.0627567395567894,
0.13579779863357544,
-0.17131434381008148,
-0.6859411597251892,
0.10927553474903107,
-0.3546668589115143,
-0.18905577063560486,
-0.23664073646068573,
-0.06056505814194679,
-0.08083173632621765,
-0.3561590313911438,
-0.7499212026596069,
-0.1662847101688385,
-0.3365625739097595,
0.25175929069519043,
0.3937312960624695,
0.16014041006565094,
-0.23099054396152496,
0.21370434761047363,
-0.1082206666469574,
0.14056499302387238,
-0.06652756035327911,
-0.26400843262672424,
-0.16048862040042877,
0.2103361040353775,
-0.3482130169868469,
-0.11078111827373505,
0.2536391317844391,
-0.35195374488830566,
0.48214226961135864,
-0.12909740209579468,
-0.26441681385040283,
0.21742556989192963,
-0.11037899553775787,
0.13359634578227997,
0.27020949125289917,
0.25501394271850586,
0.4459143877029419,
0.13005152344703674,
-0.15489748120307922,
-0.08157265186309814,
0.24053722620010376,
-0.05325690656900406,
-0.040139853954315186,
0.3138760030269623,
-0.16456541419029236,
0.1702863574028015,
0.03240121528506279,
0.796639621257782,
0.28477397561073303,
-0.011137861758470535,
0.22129441797733307,
-0.07987454533576965,
0.08084989339113235,
-0.13986065983772278,
-0.05649702250957489,
-0.07439685612916946,
-0.28799009323120117,
-0.01886492222547531,
0.3955335021018982,
-0.018827315419912338,
-0.5481311678886414,
-0.21118684113025665,
0.08237768709659576,
-0.6281229257583618,
-0.3494180142879486,
0.20865744352340698,
0.0255727656185627,
0.27599889039993286,
-0.13796678185462952,
-0.08899915218353271,
-0.17794464528560638,
-0.15376022458076477,
-0.014196710661053658,
0.17281731963157654,
-0.028213687241077423,
-0.049524225294589996,
-0.14449870586395264,
-0.2379714399576187,
-0.4007434546947479,
0.35754382610321045,
0.10519973188638687,
-0.08909798413515091,
0.06837628781795502,
-0.28023868799209595,
0.03286248818039894,
-0.23780691623687744,
0.018367961049079895,
-0.49360907077789307,
-0.19369687139987946,
0.14784488081932068,
0.03964924067258835,
0.10349536687135696,
-0.055966269224882126,
-0.2285158932209015,
-0.2263040989637375,
0.37167298793792725,
0.2938043475151062,
-0.4569965898990631,
-0.026621568948030472,
0.29282477498054504,
-0.10482988506555557,
-0.21212831139564514,
-0.1191217452287674,
-0.25952595472335815,
-0.398125022649765,
-0.6488367915153503,
0.2698957920074463,
0.20393384993076324,
0.22161050140857697,
-0.3573687970638275,
-0.11021029949188232,
0.12162801623344421,
-0.01653532311320305,
0.07485851645469666,
0.2685038447380066,
0.12328291684389114,
0.07112039625644684,
-0.09903435409069061,
-0.2230071723461151,
-0.08156971633434296,
0.1062159389257431,
0.5519458055496216,
-0.027469076216220856,
0.5040541887283325,
-0.1727313995361328,
-0.04812735319137573,
0.30987927317619324,
0.3668587803840637,
-0.07626646012067795,
0.31323352456092834,
0.12590116262435913,
0.2575274407863617,
-0.17222459614276886,
0.1126323789358139,
0.041296184062957764,
-0.2983558177947998,
-0.007571379188448191,
-0.2096889168024063,
0.48955073952674866,
0.07556721568107605,
-0.13854506611824036,
0.033171117305755615,
0.10408638417720795,
-0.29461556673049927,
0.552673876285553,
0.21220842003822327,
0.980414092540741,
0.04191632941365242,
0.1374618113040924,
0.2580859363079071,
0.05357833951711655,
0.747506856918335,
-0.2822059988975525,
0.08388626575469971,
-0.38014867901802063,
0.03746030852198601,
0.041139304637908936,
-0.06794942170381546,
0.10688953101634979,
0.20332276821136475,
-0.6431140899658203,
0.21852834522724152,
0.1609289050102234,
-0.04115534946322441,
-0.1335459053516388,
0.563373327255249,
-0.294766902923584,
-0.3393259048461914,
-0.23658207058906555,
0.13210442662239075,
0.0025845207273960114,
0.13207218050956726,
-0.016375022009015083,
-0.2262621372938156,
-0.24774567782878876,
-0.3348270654678345,
-0.213678777217865,
0.18255141377449036,
-0.03681274130940437,
0.08327987790107727,
-0.24516862630844116,
-0.18628256022930145,
0.14839483797550201,
-0.030123692005872726,
0.05200275033712387,
0.2198847234249115,
-0.13883860409259796,
0.3522289991378784,
-0.19528937339782715,
-0.22593097388744354,
-0.05150006711483002,
-0.0042157405987381935,
0.49068552255630493,
-0.1954309046268463,
-0.25277355313301086,
-0.1385905146598816,
-0.12974995374679565,
-0.1835007220506668,
0.1994265913963318,
-0.03466063737869263,
-0.23456551134586334,
-0.17548932135105133,
-0.32354703545570374,
0.22476106882095337,
-0.3911438584327698,
-0.3961782157421112,
0.20726826786994934,
-0.137148916721344,
-0.40561771392822266,
0.36320820450782776,
0.11742530763149261,
-0.05763353407382965,
-0.10306331515312195,
0.12865085899829865,
0.16684159636497498,
-0.22432029247283936,
0.42113760113716125,
0.3170408010482788,
-0.18948818743228912,
-0.35782018303871155,
-0.22238034009933472,
-0.05433659255504608,
-0.1715216338634491,
0.23761588335037231,
0.2363140732049942,
-0.23313823342323303,
0.11917129904031754,
0.25411471724510193,
0.21634210646152496,
0.5267395973205566,
-0.026801882311701775,
-0.17439590394496918,
-0.30576276779174805,
0.36858510971069336,
-0.14188197255134583,
0.46967682242393494,
-0.04679914191365242,
0.2685747742652893,
0.07493466883897781,
0.4554283022880554,
-0.37560707330703735,
0.024183616042137146,
-0.38989192247390747,
0.27240628004074097,
0.01331893727183342,
-0.09665680676698685,
0.04235627502202988,
0.06622152030467987,
0.10210646688938141,
0.15159735083580017,
-0.0032842354848980904,
-0.28574785590171814,
-0.17753058671951294,
0.12872414290905,
0.2726850211620331,
-0.01056366041302681,
0.15903647243976593,
-0.0036653969436883926,
-0.1188013106584549,
-0.18825089931488037,
0.20689710974693298,
-0.19115814566612244,
-0.07108719646930695,
0.2682522237300873,
0.2370591163635254,
0.029448922723531723,
-0.15244297683238983,
0.046671491116285324,
-0.1803683042526245,
0.4434322714805603,
-0.0346195325255394,
0.10929232835769653,
0.14331722259521484,
0.005136407911777496,
0.22234754264354706,
0.17155931890010834,
0.10192865133285522,
0.24980339407920837,
0.2937575876712799,
-0.11598560214042664,
-0.3299712836742401,
-0.24525140225887299,
0.2849509119987488,
0.3516392111778259,
0.11768156290054321,
0.16532786190509796,
0.02828114479780197,
0.2789589762687683,
-0.3219778537750244,
0.12956339120864868,
0.16841797530651093,
-0.06703449785709381,
0.1858956515789032,
0.3382566571235657,
0.48002901673316956,
-0.2522001266479492,
-0.15090131759643555,
0.11908488720655441,
0.06657348573207855,
-0.33576685190200806,
0.20498016476631165,
0.2857058644294739,
0.006191004067659378,
-0.030329007655382156,
0.017517447471618652,
-0.18277299404144287,
0.18821224570274353,
-0.004513431340456009,
-0.057964570820331573,
0.31246015429496765,
0.18033742904663086,
0.23355238139629364,
-0.04262334853410721,
-0.11599195003509521,
-0.23989419639110565,
-0.1592804491519928,
0.07394539564847946,
0.20554980635643005,
0.11224013566970825,
0.21512266993522644,
0.10254713147878647,
-0.0012629167176783085,
-0.1918192058801651,
0.5635476112365723,
-0.08955886214971542,
-0.23372557759284973,
-0.4896303713321686,
-0.13355867564678192,
-0.22498472034931183,
0.07710851728916168,
0.15504556894302368,
-0.12479855120182037,
0.18963932991027832,
0.16492190957069397,
0.058340102434158325,
0.10820284485816956,
0.22205722332000732,
-0.11500398069620132,
0.23245584964752197,
-0.23348510265350342,
0.010413853451609612,
0.1736159473657608,
0.0018431469798088074,
-0.02806977555155754,
-0.12306308001279831,
0.3951937258243561,
-0.04410450905561447,
-0.5115965604782104,
-0.12037497013807297,
0.13731303811073303,
-0.10268660634756088,
0.000941811129450798,
0.24937698245048523,
0.3016459345817566,
0.25123679637908936,
0.18962933123111725,
0.17693841457366943,
-0.2990456223487854,
-0.24225182831287384,
0.010744113475084305,
-0.1510699838399887,
0.13482250273227692,
0.36207473278045654,
0.128840371966362,
-0.26134851574897766,
-0.1204211413860321,
0.26845747232437134,
-0.5655792951583862,
0.11253737658262253,
0.17539915442466736,
-0.0554845817387104,
0.23026326298713684,
-0.0890343189239502,
0.10526524484157562,
-0.06043485924601555,
0.3873594105243683,
0.044460542500019073,
0.12483629584312439,
-0.296794593334198,
-0.33174198865890503,
-0.2890167534351349,
-0.07224220782518387,
0.03596076741814613,
-0.07936888188123703,
-0.04733498394489288,
0.4485893249511719,
0.047618888318538666,
0.06515289098024368,
0.00742059201002121,
-0.05162070319056511,
0.14139175415039062,
0.22408196330070496,
-0.159364253282547,
0.02903095819056034,
-0.3227928876876831,
-0.07194007933139801,
0.058400750160217285,
-0.1398344337940216,
-0.1865229457616806,
-0.0014800671488046646,
0.034664757549762726,
-0.12109023332595825,
-0.13613182306289673,
0.2911669909954071,
0.206263929605484,
0.24391335248947144,
0.0776359811425209,
0.5025818347930908,
-0.3075493276119232,
0.11600086838006973,
-0.2213144600391388,
-0.22755980491638184,
-0.3238576352596283,
0.2804115414619446,
-0.11830061674118042,
0.5843355655670166,
0.02437867783010006,
0.29289302229881287,
-0.4052934944629669,
-0.1843418926000595,
-0.05482809990644455,
0.02311111055314541,
-0.1225898489356041,
0.04955285042524338,
-0.17391487956047058,
0.2983582615852356,
0.40989336371421814,
0.41546881198883057,
-0.2458120584487915,
0.05553203821182251,
-0.2503645122051239,
-0.6264062523841858,
0.3674633502960205,
-0.18872632086277008,
-0.26927700638771057,
0.1563102751970291,
0.18728291988372803,
0.16993647813796997,
0.24090218544006348,
-0.4897325932979584,
0.023286335170269012,
0.14435796439647675,
0.016330931335687637,
-0.26908284425735474,
0.19828355312347412,
0.011776905506849289,
-0.1442802995443344,
-0.1082325130701065,
0.1294749230146408,
0.10557553172111511,
-0.10482097417116165,
-0.520001232624054,
-0.33352988958358765
] |
https://github.com/huggingface/datasets/pull/431 | Specify split post processing + Add post processing resources downloading | Good point. Should we anticipate already that we may add other fields in the future and change the code to support the addition of new fields without breaking backward compatibility in the future? | Previously if you tried to do
```python
from nlp import load_dataset
wiki = load_dataset("wiki_dpr", "psgs_w100_with_nq_embeddings", split="train[:100]", with_index=True)
```
Then you'd get an error `Index size should match Dataset size...`
This was because it was trying to use the full index (21M elements).
To fix that I made it so post processing resources can be named according to the split.
I'm going to add tests on post processing too.
Note that the CI will fail as I added a new argument in `_post_processing_resources`: the AWS version of wiki_dpr fails, and there's also an error telling that it is not synced (it'll be synced once it's merged):
```
=========================== short test summary info ============================
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
FAILED tests/test_hf_gcp.py::TestDatasetSynced::test_script_synced_with_s3_wiki_dpr
```
EDIT: I did a change to ignore the script hash to locate the arrow files on GCS, so I removed the sync test. It was there just because of the hash logic for files on GCS | 33 | text: Specify split post processing + Add post processing resources downloading
Previously if you tried to do
```python
from nlp import load_dataset
wiki = load_dataset("wiki_dpr", "psgs_w100_with_nq_embeddings", split="train[:100]", with_index=True)
```
Then you'd get an error `Index size should match Dataset size...`
This was because it was trying to use the full index (21M elements).
To fix that I made it so post processing resources can be named according to the split.
I'm going to add tests on post processing too.
Note that the CI will fail as I added a new argument in `_post_processing_resources`: the AWS version of wiki_dpr fails, and there's also an error telling that it is not synced (it'll be synced once it's merged):
```
=========================== short test summary info ============================
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
FAILED tests/test_hf_gcp.py::TestDatasetSynced::test_script_synced_with_s3_wiki_dpr
```
EDIT: I did a change to ignore the script hash to locate the arrow files on GCS, so I removed the sync test. It was there just because of the hash logic for files on GCS
Good point. Should we anticipate already that we may add other fields in the future and change the code to support the addition of new fields without breaking backward compatibility in the future? | [
-0.2091076672077179,
-0.08577440679073334,
-0.08777863532304764,
-0.04283253103494644,
-0.17577549815177917,
-0.055136844515800476,
0.23113571107387543,
0.46479979157447815,
0.2717328369617462,
0.016450852155685425,
0.30672314763069153,
0.49524736404418945,
0.11043164134025574,
0.32763782143592834,
0.020507274195551872,
-0.32122692465782166,
0.18899762630462646,
0.3717934787273407,
0.12240692973136902,
0.14359122514724731,
-0.48489272594451904,
0.3498716950416565,
-0.1935463547706604,
-0.15253952145576477,
-0.16289466619491577,
-0.3773127496242523,
-0.3035346269607544,
0.04049701988697052,
-0.10595429688692093,
-0.4532691240310669,
-0.08741971105337143,
0.19315111637115479,
0.035856690257787704,
0.18459290266036987,
-0.0001071683582267724,
-0.29990530014038086,
0.32611769437789917,
-0.17900891602039337,
-0.3550567924976349,
0.05151280015707016,
-0.14648139476776123,
-0.15736369788646698,
0.3345595598220825,
-0.4408911168575287,
0.03641030192375183,
0.05804620310664177,
-0.1625046730041504,
0.0059576742351055145,
0.3943325877189636,
0.15645253658294678,
0.2201487123966217,
0.18999190628528595,
-0.13121308386325836,
-0.21710899472236633,
0.25656256079673767,
-0.19511227309703827,
-0.09049500524997711,
-0.2540970742702484,
0.24556323885917664,
0.012894177809357643,
0.019771642982959747,
0.461838036775589,
-0.15525120496749878,
0.16262425482273102,
0.004217185080051422,
0.06641934812068939,
0.1623639464378357,
-0.3896820545196533,
0.07416818290948868,
0.11280319839715958,
0.2930644154548645,
0.13257557153701782,
-0.3263814151287079,
-0.3230264186859131,
-0.16787134110927582,
-0.5783675909042358,
0.15461376309394836,
0.07844522595405579,
-0.09431548416614532,
0.012372992932796478,
0.042078934609889984,
-0.1161947101354599,
-0.055575210601091385,
0.18729624152183533,
0.1884825974702835,
0.6870304346084595,
-0.022648993879556656,
0.12191952764987946,
0.1267026662826538,
0.28567391633987427,
-0.026962749660015106,
0.09255532175302505,
-0.12569360435009003,
0.01934538036584854,
-0.1924581080675125,
-0.3318012058734894,
-0.03073226660490036,
-0.0009544640779495239,
-0.19868847727775574,
0.6555319428443909,
0.009568273089826107,
0.019048549234867096,
0.42365536093711853,
0.12063632905483246,
0.09200097620487213,
0.33179256319999695,
-0.2335185706615448,
0.16087137162685394,
0.05680275335907936,
0.25096336007118225,
-0.15801280736923218,
-0.10684963315725327,
0.21563675999641418,
-0.27164506912231445,
-0.35364648699760437,
-0.010480526834726334,
-0.07153157889842987,
0.0818743109703064,
-0.0973147451877594,
-0.06165789067745209,
0.2748119831085205,
-0.19920524954795837,
-0.13677649199962616,
0.3353535532951355,
0.10563698410987854,
0.3368373215198517,
0.2142886370420456,
0.3372806906700134,
-0.23549120128154755,
0.15000788867473602,
-0.13354219496250153,
0.08992043137550354,
-0.19966882467269897,
0.3023049235343933,
0.04732922092080116,
0.2406168431043625,
0.42546722292900085,
-0.068649061024189,
-0.0028837770223617554,
-0.17853949964046478,
0.14933325350284576,
0.16257645189762115,
0.35966217517852783,
0.41498205065727234,
0.20269134640693665,
0.23858918249607086,
-0.020659539848566055,
-0.21477675437927246,
-0.29610514640808105,
0.011813867837190628,
-0.3350839912891388,
-0.3058698773384094,
-0.2983723282814026,
0.24118052423000336,
-0.14457286894321442,
-0.2241748571395874,
-0.08079225569963455,
0.28475868701934814,
0.3302024304866791,
-0.16623729467391968,
0.31961286067962646,
0.14287447929382324,
-0.19857823848724365,
-0.31950297951698303,
0.027067212387919426,
0.12283438444137573,
-0.07129061222076416,
-0.2215936779975891,
-0.13594487309455872,
0.07025066763162613,
0.2624627649784088,
0.1394687443971634,
-0.02992677316069603,
0.05632822960615158,
-0.033688582479953766,
0.38049590587615967,
0.34270399808883667,
-0.29135456681251526,
-0.13481855392456055,
0.5933327674865723,
-0.16544602811336517,
-0.20778849720954895,
0.3519570827484131,
-0.04936584085226059,
0.24070893228054047,
-0.04407661035656929,
-0.09564419090747833,
0.31945711374282837,
-0.129009410738945,
0.08584097027778625,
-0.24463126063346863,
-0.36024022102355957,
-0.07508079707622528,
-0.02067626267671585,
0.24028028547763824,
-0.07478200644254684,
0.08755527436733246,
0.05757846683263779,
0.3623928427696228,
-0.11826568841934204,
0.14727309346199036,
-0.01572922244668007,
0.21744856238365173,
-0.21771369874477386,
0.13739944994449615,
-0.09127729386091232,
-0.21079596877098083,
0.11176937073469162,
-0.17014509439468384,
0.25712865591049194,
-0.04139995574951172,
-0.23632220923900604,
-0.3181220591068268,
-0.12881651520729065,
-0.22924761474132538,
-0.42382189631462097,
0.11364804208278656,
-0.11142320930957794,
0.14299918711185455,
-0.09222185611724854,
-0.19040246307849884,
-0.12484098225831985,
0.07246067374944687,
0.053188249468803406,
0.06256449222564697,
0.13706974685192108,
-0.324618399143219,
-0.2235366255044937,
0.11498613655567169,
0.15990868210792542,
0.11342908442020416,
0.07045520097017288,
-0.038155846297740936,
0.3098057508468628,
0.04879317805171013,
0.3552432656288147,
0.1790424883365631,
-0.015189170837402344,
0.045127175748348236,
-0.10433657467365265,
-0.11961082369089127,
-0.014749005436897278,
-0.026400413364171982,
-0.025948330760002136,
0.0045976340770721436,
0.4487340450286865,
-0.16859383881092072,
0.2676233947277069,
0.1379033774137497,
-0.0609159916639328,
0.2918066680431366,
-0.3249935209751129,
-0.054938480257987976,
-0.3129274845123291,
-0.04679803177714348,
0.0930575579404831,
-0.16271686553955078,
-0.10253620147705078,
-0.06311682611703873,
0.2138671576976776,
0.48461711406707764,
-0.031342823058366776,
-0.08174694329500198,
-0.04534495621919632,
-0.07411845773458481,
-0.1475660800933838,
0.25174635648727417,
0.35365164279937744,
0.378451406955719,
0.2787557542324066,
0.22649246454238892,
-0.06198861449956894,
0.03376585990190506,
-0.3357217609882355,
0.42368820309638977,
0.3084953725337982,
0.19934646785259247,
0.28423938155174255,
0.015546869486570358,
-0.0028289025649428368,
-0.10415737330913544,
0.14179883897304535,
0.11882714182138443,
0.04612526297569275,
-0.10913354158401489,
0.14527395367622375,
-0.1111990213394165,
-0.060923077166080475,
-0.028396572917699814,
0.09035193920135498,
0.09543204307556152,
-0.43397870659828186,
0.3443830609321594,
-0.10187752544879913,
-0.34247887134552,
0.21463477611541748,
-0.3059968948364258,
0.13078805804252625,
-0.09480991214513779,
-0.25060248374938965,
-0.2753622531890869,
-0.16180862486362457,
-0.1547415554523468,
0.13964733481407166,
0.18542951345443726,
0.14440365135669708,
0.5488571524620056,
0.18466144800186157,
0.009643670171499252,
-0.04053642600774765,
-0.4690978229045868,
0.2036632001399994,
-0.2552015781402588,
0.12444256246089935,
0.015473887324333191,
0.10414295643568039,
-0.19016647338867188,
-0.7399783730506897,
0.09386076778173447,
-0.35388121008872986,
-0.1518372744321823,
-0.2436748594045639,
-0.028081471100449562,
-0.13404221832752228,
-0.3339746594429016,
-0.7197179794311523,
-0.13735438883304596,
-0.36455389857292175,
0.2982311248779297,
0.41468584537506104,
0.1229342445731163,
-0.13099214434623718,
0.1733924150466919,
-0.16394177079200745,
0.11732747405767441,
-0.10523885488510132,
-0.33470281958580017,
-0.11567796766757965,
0.21475860476493835,
-0.3509122431278229,
-0.15652689337730408,
0.2257487177848816,
-0.3861541152000427,
0.4493313729763031,
-0.09359367191791534,
-0.19376100599765778,
0.24844031035900116,
-0.011549187824130058,
0.07074511051177979,
0.2547551691532135,
0.2657705247402191,
0.4623880684375763,
0.1204165518283844,
-0.16189679503440857,
-0.06861042976379395,
0.3552245497703552,
-0.022598952054977417,
0.02662019431591034,
0.26334962248802185,
-0.1764916479587555,
0.10034686326980591,
-0.044410157948732376,
0.8476263284683228,
0.24387076497077942,
0.0962207019329071,
0.27689629793167114,
-0.1176258996129036,
0.12361940741539001,
-0.17080393433570862,
-0.04112929850816727,
-0.06404227763414383,
-0.3184007704257965,
-0.097059465944767,
0.42898935079574585,
-0.10506971925497055,
-0.5667842030525208,
-0.2259940356016159,
0.16439469158649445,
-0.632647693157196,
-0.34974679350852966,
0.21737980842590332,
0.009888935834169388,
0.3031286597251892,
-0.1098002940416336,
-0.07907860726118088,
-0.14305362105369568,
-0.14217543601989746,
-0.0009567728266119957,
0.11794963479042053,
0.029828034341335297,
-0.05053912475705147,
-0.11597412824630737,
-0.27104437351226807,
-0.45484864711761475,
0.33910828828811646,
0.12433478981256485,
-0.07295463979244232,
0.009149674326181412,
-0.28600913286209106,
0.02885209023952484,
-0.18209241330623627,
0.0457586869597435,
-0.5363578796386719,
-0.31163501739501953,
0.14328213036060333,
-0.01977064646780491,
0.11502987891435623,
-0.08608876168727875,
-0.2606472969055176,
-0.29484909772872925,
0.3011550307273865,
0.3007064461708069,
-0.382612943649292,
-0.03869667649269104,
0.3486821949481964,
-0.17536234855651855,
-0.1924617886543274,
-0.1644200086593628,
-0.2668350636959076,
-0.32012489438056946,
-0.6120223999023438,
0.22888806462287903,
0.2835179269313812,
0.15579460561275482,
-0.42458629608154297,
-0.1128849983215332,
0.13191288709640503,
-0.029466234147548676,
0.07869569957256317,
0.2752430737018585,
0.05536322668194771,
-0.00942536536604166,
-0.15354520082473755,
-0.19563576579093933,
-0.16602204740047455,
0.06827618181705475,
0.5453498363494873,
-0.012710489332675934,
0.5317504405975342,
-0.10005073249340057,
-0.18540365993976593,
0.38364630937576294,
0.42998987436294556,
-0.07118169963359833,
0.35467806458473206,
0.018097857013344765,
0.29696813225746155,
-0.24128413200378418,
0.029423793777823448,
0.12934207916259766,
-0.2506220042705536,
-0.0028680977411568165,
-0.10980923473834991,
0.5258250832557678,
-0.018565034493803978,
-0.15579715371131897,
0.017159152776002884,
0.18643556535243988,
-0.2786499857902527,
0.6813191175460815,
0.22103828191757202,
1.0273752212524414,
0.06594268232584,
0.22858239710330963,
0.2722650468349457,
-0.008570052683353424,
0.7604277729988098,
-0.25282061100006104,
0.06847943365573883,
-0.359251469373703,
0.057165876030921936,
-0.018171701580286026,
-0.06674954295158386,
0.10974683612585068,
0.27076780796051025,
-0.6653053164482117,
0.2166372835636139,
0.22826053202152252,
0.03337516635656357,
-0.1494530886411667,
0.544849693775177,
-0.22931553423404694,
-0.3122374415397644,
-0.15072321891784668,
0.07689902186393738,
0.089995376765728,
0.14126324653625488,
-0.07150614261627197,
-0.2541850805282593,
-0.2906811237335205,
-0.3673057556152344,
-0.1718215048313141,
0.11613526195287704,
-0.05090828984975815,
0.015451787039637566,
-0.26367053389549255,
-0.2686370313167572,
0.17410707473754883,
-0.029622342437505722,
0.09480664134025574,
0.13485132157802582,
-0.1676539182662964,
0.3274947702884674,
-0.18709129095077515,
-0.18364892899990082,
-0.02788703329861164,
-0.03472377359867096,
0.4883915185928345,
-0.22303256392478943,
-0.17058193683624268,
-0.12877273559570312,
-0.19850625097751617,
-0.15520989894866943,
0.04792770743370056,
-0.008569687604904175,
-0.22595544159412384,
-0.12945851683616638,
-0.3646433651447296,
0.16292418539524078,
-0.511639416217804,
-0.4009909927845001,
0.18902403116226196,
-0.24663226306438446,
-0.3172925114631653,
0.32526078820228577,
0.11501829326152802,
-0.05680758133530617,
-0.1408216804265976,
0.0533817782998085,
0.11614195257425308,
-0.19655199348926544,
0.4339423179626465,
0.21778078377246857,
-0.21328449249267578,
-0.3595254421234131,
-0.2769579291343689,
-0.049133531749248505,
-0.2615351378917694,
0.21363772451877594,
0.26530706882476807,
-0.2970196008682251,
0.10812754929065704,
0.2972211539745331,
0.2289000302553177,
0.5009440779685974,
-0.06401576101779938,
-0.13862477242946625,
-0.30799582600593567,
0.3459625244140625,
-0.1320648044347763,
0.4510672390460968,
0.05612800270318985,
0.22009511291980743,
0.12842907011508942,
0.4877662658691406,
-0.35110118985176086,
-0.04369314759969711,
-0.3661417067050934,
0.27647000551223755,
0.08172786980867386,
-0.15406534075737,
0.08280213177204132,
0.10083453357219696,
0.10204775631427765,
0.14454378187656403,
0.007001667283475399,
-0.2613808512687683,
-0.19712257385253906,
0.14744678139686584,
0.3068389296531677,
0.029116665944457054,
0.20926345884799957,
0.034057650715112686,
-0.11830496788024902,
-0.17857906222343445,
0.1859455108642578,
-0.18096300959587097,
-0.08326208591461182,
0.24481351673603058,
0.21201801300048828,
0.0797041729092598,
-0.1740846037864685,
0.06866437196731567,
-0.1600806564092636,
0.5069707036018372,
-0.012677965685725212,
0.12240753322839737,
0.12806235253810883,
-0.007082000374794006,
0.18444804847240448,
0.21964198350906372,
0.10350669175386429,
0.20968344807624817,
0.3492611050605774,
-0.10870654881000519,
-0.28756245970726013,
-0.23996098339557648,
0.2487647533416748,
0.3160140812397003,
0.09043183922767639,
0.06713099032640457,
-0.0033333199098706245,
0.2474500983953476,
-0.3676123023033142,
0.08514959365129471,
0.08179767429828644,
-0.037059538066387177,
0.19201023876667023,
0.4112122356891632,
0.6020821332931519,
-0.318473756313324,
-0.13967058062553406,
0.14774936437606812,
0.0051338085904717445,
-0.35094404220581055,
0.2200373411178589,
0.25299742817878723,
0.057976480573415756,
0.08483357727527618,
0.0012116506695747375,
-0.16422870755195618,
0.11852538585662842,
0.034444063901901245,
-0.0757107213139534,
0.3332326114177704,
0.25762462615966797,
0.21885234117507935,
0.03632844612002373,
-0.06121474504470825,
-0.1715557724237442,
-0.21516045928001404,
0.05704959109425545,
0.2352958619594574,
0.15500327944755554,
0.0657053142786026,
0.15806306898593903,
0.05469305440783501,
-0.21022458374500275,
0.4619319438934326,
-0.115501768887043,
-0.20864781737327576,
-0.38098326325416565,
-0.10195206850767136,
-0.1808578073978424,
0.017151571810245514,
0.15498949587345123,
-0.08781030774116516,
0.23185302317142487,
0.1472194492816925,
0.09793775528669357,
0.23707298934459686,
0.23658818006515503,
-0.16412323713302612,
0.33963918685913086,
-0.24105732142925262,
0.025988712906837463,
0.1338052749633789,
-0.04116704314947128,
0.06654685735702515,
-0.13001835346221924,
0.45301327109336853,
0.028961481526494026,
-0.529876172542572,
-0.15120619535446167,
0.16558240354061127,
-0.13227888941764832,
0.03149639070034027,
0.23212406039237976,
0.374716192483902,
0.30230703949928284,
0.21453484892845154,
0.15522295236587524,
-0.27883002161979675,
-0.2557128369808197,
0.13967040181159973,
-0.1777092069387436,
0.06322488188743591,
0.37122219800949097,
0.1413276642560959,
-0.3315269649028778,
-0.09783513844013214,
0.2928704023361206,
-0.5392138361930847,
0.16335803270339966,
0.15001070499420166,
-0.10144730657339096,
0.2208196222782135,
-0.066861592233181,
0.09512337297201157,
0.014499099925160408,
0.4207117259502411,
0.005487136542797089,
0.13110630214214325,
-0.33510783314704895,
-0.28201526403427124,
-0.25584715604782104,
-0.035480476915836334,
0.060766395181417465,
0.04598601162433624,
0.006180976517498493,
0.44734641909599304,
0.09026173502206802,
0.061175957322120667,
0.05451623350381851,
-0.09187771379947662,
0.1304951161146164,
0.2502928078174591,
-0.14920134842395782,
0.055978916585445404,
-0.33062589168548584,
-0.06726404279470444,
0.015417475253343582,
-0.09066393226385117,
-0.0966050773859024,
0.03517679125070572,
0.011291127651929855,
-0.16861023008823395,
-0.1032194197177887,
0.2727450132369995,
0.19250062108039856,
0.25339195132255554,
0.026024330407381058,
0.49186429381370544,
-0.36171770095825195,
0.1297057569026947,
-0.23956412076950073,
-0.28340333700180054,
-0.3662591576576233,
0.2681584656238556,
-0.08949637413024902,
0.4502061903476715,
0.04545339196920395,
0.2159055471420288,
-0.38524678349494934,
-0.21340754628181458,
-0.12460920214653015,
0.06393000483512878,
-0.1579054743051529,
0.12958629429340363,
-0.10011067986488342,
0.38011476397514343,
0.46099215745925903,
0.3468862771987915,
-0.23581025004386902,
0.027365511283278465,
-0.2806249260902405,
-0.6446155905723572,
0.3859744668006897,
-0.16534852981567383,
-0.3344201445579529,
0.1567242592573166,
0.2303234189748764,
0.18043547868728638,
0.320976197719574,
-0.5228089690208435,
-0.061493292450904846,
0.15927639603614807,
0.023560361936688423,
-0.231548473238945,
0.1986885517835617,
0.0015685157850384712,
-0.1842121034860611,
-0.1051449328660965,
0.15327757596969604,
0.04813578724861145,
-0.07281140238046646,
-0.4596244692802429,
-0.3615385890007019
] |
https://github.com/huggingface/datasets/pull/431 | Specify split post processing + Add post processing resources downloading | I added:
- post processing features (inside a PostProcessedInfo object)
- backward compatibility for dataset info
- post processing tests (as_dataset and download_and_prepare) for map (change features), select (change number of elements) and add_faiss_index (add indexes)
And I fixed a bug in `map` that I found thanks to the new tests
Now I just have to move `post_processing_resources_checksums` to PostProcessedInfo as well and everything should be good :)
Edit: done | Previously if you tried to do
```python
from nlp import load_dataset
wiki = load_dataset("wiki_dpr", "psgs_w100_with_nq_embeddings", split="train[:100]", with_index=True)
```
Then you'd get an error `Index size should match Dataset size...`
This was because it was trying to use the full index (21M elements).
To fix that I made it so post processing resources can be named according to the split.
I'm going to add tests on post processing too.
Note that the CI will fail as I added a new argument in `_post_processing_resources`: the AWS version of wiki_dpr fails, and there's also an error telling that it is not synced (it'll be synced once it's merged):
```
=========================== short test summary info ============================
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
FAILED tests/test_hf_gcp.py::TestDatasetSynced::test_script_synced_with_s3_wiki_dpr
```
EDIT: I did a change to ignore the script hash to locate the arrow files on GCS, so I removed the sync test. It was there just because of the hash logic for files on GCS | 70 | text: Specify split post processing + Add post processing resources downloading
Previously if you tried to do
```python
from nlp import load_dataset
wiki = load_dataset("wiki_dpr", "psgs_w100_with_nq_embeddings", split="train[:100]", with_index=True)
```
Then you'd get an error `Index size should match Dataset size...`
This was because it was trying to use the full index (21M elements).
To fix that I made it so post processing resources can be named according to the split.
I'm going to add tests on post processing too.
Note that the CI will fail as I added a new argument in `_post_processing_resources`: the AWS version of wiki_dpr fails, and there's also an error telling that it is not synced (it'll be synced once it's merged):
```
=========================== short test summary info ============================
FAILED tests/test_dataset_common.py::AWSDatasetTest::test_load_dataset_wiki_dpr
FAILED tests/test_hf_gcp.py::TestDatasetSynced::test_script_synced_with_s3_wiki_dpr
```
EDIT: I did a change to ignore the script hash to locate the arrow files on GCS, so I removed the sync test. It was there just because of the hash logic for files on GCS
I added:
- post processing features (inside a PostProcessedInfo object)
- backward compatibility for dataset info
- post processing tests (as_dataset and download_and_prepare) for map (change features), select (change number of elements) and add_faiss_index (add indexes)
And I fixed a bug in `map` that I found thanks to the new tests
Now I just have to move `post_processing_resources_checksums` to PostProcessedInfo as well and everything should be good :)
Edit: done | [
-0.26879268884658813,
-0.10568951815366745,
-0.11236323416233063,
-0.012768462300300598,
-0.11365632712841034,
-0.04723362624645233,
0.1698981076478958,
0.4950794577598572,
0.24622347950935364,
0.02572815865278244,
0.14800812304019928,
0.5507459044456482,
0.10805502533912659,
0.3930943012237549,
-0.009610033594071865,
-0.2601914703845978,
0.14186646044254303,
0.328037828207016,
0.0517047718167305,
0.21535135805606842,
-0.4064805209636688,
0.3534047603607178,
-0.22260190546512604,
-0.16814382374286652,
-0.09253419935703278,
-0.3961493670940399,
-0.2548336982727051,
0.023378334939479828,
-0.14073069393634796,
-0.41229087114334106,
-0.049706727266311646,
0.19221840798854828,
0.048204101622104645,
0.2713533043861389,
-0.00010461514466442168,
-0.21031491458415985,
0.26617753505706787,
-0.1393987536430359,
-0.2704785466194153,
0.12374715507030487,
-0.20550638437271118,
-0.12330134958028793,
0.246395081281662,
-0.40676677227020264,
-0.028637440875172615,
0.04680653661489487,
-0.2177465260028839,
0.03769002854824066,
0.4470532536506653,
0.21751505136489868,
0.2478669136762619,
0.1830899566411972,
-0.11751195788383484,
-0.17979548871517181,
0.16466765105724335,
-0.2334236055612564,
-0.08090262860059738,
-0.2761729657649994,
0.21333035826683044,
-0.029631320387125015,
0.016477368772029877,
0.41678738594055176,
-0.15037451684474945,
0.193612203001976,
-0.03639955073595047,
-0.0002724509686231613,
0.20430892705917358,
-0.38938429951667786,
0.026749396696686745,
0.12322206795215607,
0.25761693716049194,
0.15916724503040314,
-0.3077775835990906,
-0.2572983503341675,
-0.16898128390312195,
-0.5651407837867737,
0.1874934434890747,
0.09018348902463913,
-0.11786897480487823,
0.07629150152206421,
-0.14202694594860077,
0.009292191825807095,
0.032019369304180145,
0.1039549708366394,
0.08818556368350983,
0.696333646774292,
-0.038484975695610046,
0.054096005856990814,
0.14480488002300262,
0.17216140031814575,
-0.056944359093904495,
0.0909235030412674,
-0.19080519676208496,
0.09401002526283264,
-0.20758666098117828,
-0.31083545088768005,
0.11411003768444061,
0.03992322459816933,
-0.11725680530071259,
0.522328794002533,
-0.03536257520318031,
0.04959165304899216,
0.37134861946105957,
0.07074226438999176,
0.06620918214321136,
0.33688271045684814,
-0.16379660367965698,
0.1681160181760788,
0.020847663283348083,
0.28272515535354614,
-0.19699837267398834,
-0.08794040232896805,
0.20947495102882385,
-0.34815192222595215,
-0.3245997130870819,
0.035875365138053894,
-0.15730267763137817,
-0.04729888215661049,
-0.0467483252286911,
-0.12765224277973175,
0.25568169355392456,
-0.11181999742984772,
-0.09939726442098618,
0.4062197506427765,
0.07226663827896118,
0.3097533881664276,
0.25642096996307373,
0.2446388155221939,
-0.3385961353778839,
0.2557241916656494,
-0.16524899005889893,
0.041079334914684296,
-0.2322768121957779,
0.3260882794857025,
0.04494654759764671,
0.20600402355194092,
0.40031418204307556,
-0.02316536009311676,
-0.07869385182857513,
-0.25287505984306335,
0.2317652851343155,
0.18918538093566895,
0.2997986674308777,
0.428202360868454,
0.2675342559814453,
0.2050728052854538,
-0.005917444825172424,
-0.16342896223068237,
-0.31548571586608887,
-0.013613611459732056,
-0.23688673973083496,
-0.28961700201034546,
-0.24032165110111237,
0.2878466248512268,
-0.1494535505771637,
-0.10760344564914703,
-0.005368635058403015,
0.2150360345840454,
0.3239029347896576,
-0.20630836486816406,
0.20639365911483765,
0.09110680222511292,
-0.23278726637363434,
-0.28383609652519226,
0.1566842645406723,
0.10273458063602448,
0.0025626346468925476,
-0.21313220262527466,
-0.13177412748336792,
0.03967934846878052,
0.3195324242115021,
0.14709393680095673,
-0.03499319404363632,
0.12299883365631104,
-0.06567519903182983,
0.40561747550964355,
0.25213518738746643,
-0.232040137052536,
-0.21281883120536804,
0.6555690169334412,
-0.1249384880065918,
-0.2303062230348587,
0.234134703874588,
-0.08635246008634567,
0.22974300384521484,
0.03348608687520027,
-0.04983966052532196,
0.40856045484542847,
-0.10018230974674225,
0.18315577507019043,
-0.3144218325614929,
-0.32190170884132385,
-0.05410919338464737,
-0.10829691588878632,
0.18287119269371033,
-0.12817701697349548,
0.03730562701821327,
-0.041063517332077026,
0.3868562579154968,
-0.16304385662078857,
0.17623500525951385,
0.08829128742218018,
0.2070719599723816,
-0.24086584150791168,
0.06900022178888321,
-0.03346170485019684,
-0.17784500122070312,
0.1543799340724945,
-0.20216548442840576,
0.24147705733776093,
-0.08661749958992004,
-0.22386986017227173,
-0.3899610638618469,
-0.19123969972133636,
-0.22217775881290436,
-0.473116010427475,
0.17333628237247467,
-0.15430597960948944,
0.22619187831878662,
-0.06753325462341309,
-0.08203616738319397,
-0.11132746189832687,
0.1542387753725052,
0.026749374344944954,
0.047430843114852905,
0.14990626275539398,
-0.29801908135414124,
-0.2724260687828064,
0.2045951783657074,
0.0421886220574379,
0.09000320732593536,
0.14384569227695465,
-0.15304070711135864,
0.31347131729125977,
0.02978508733212948,
0.309594988822937,
0.20613166689872742,
-0.01719669997692108,
0.05165959149599075,
-0.1607103794813156,
-0.116767518222332,
-0.0790589302778244,
-0.05853994935750961,
-0.08390013873577118,
-0.13181543350219727,
0.48765861988067627,
-0.21447373926639557,
0.28784826397895813,
0.1220826655626297,
0.0327717661857605,
0.33029213547706604,
-0.39588961005210876,
-0.028831271454691887,
-0.21028481423854828,
-0.032826017588377,
0.05504588410258293,
-0.11593103408813477,
-0.08044791221618652,
0.05517388880252838,
0.16434282064437866,
0.3491351306438446,
0.04528812691569328,
-0.06528588384389877,
-0.10228904336690903,
-0.11000262945890427,
-0.1036001592874527,
0.2921093702316284,
0.2742721736431122,
0.3356233835220337,
0.263020396232605,
0.29025503993034363,
-0.05709639936685562,
-0.006966830231249332,
-0.2732330560684204,
0.3455355167388916,
0.13340120017528534,
0.2077527940273285,
0.27354896068573,
-0.004412537906318903,
-0.12014832347631454,
-0.09786663949489594,
0.16186679899692535,
0.1395477056503296,
0.09404870122671127,
-0.056830115616321564,
0.10949120670557022,
-0.10569031536579132,
-0.05347154289484024,
0.04362601786851883,
0.062412772327661514,
0.0811258926987648,
-0.4247780442237854,
0.30816811323165894,
-0.06073195859789848,
-0.32418450713157654,
0.2906370460987091,
-0.28932398557662964,
-0.01901562511920929,
0.031483784317970276,
-0.2792874574661255,
-0.1265547275543213,
-0.27769163250923157,
-0.12022482603788376,
0.16965505480766296,
0.19795508682727814,
0.2912111282348633,
0.4940723180770874,
0.18787439167499542,
-0.06813178956508636,
0.0004064701497554779,
-0.38955336809158325,
0.18861164152622223,
-0.22585152089595795,
0.1469813585281372,
0.0069412365555763245,
0.13444682955741882,
-0.22490733861923218,
-0.602997362613678,
0.1158469170331955,
-0.3361261188983917,
-0.18510332703590393,
-0.21040867269039154,
-0.013168077915906906,
-0.14991630613803864,
-0.37823930382728577,
-0.6904093623161316,
-0.1581600308418274,
-0.39005047082901,
0.20806340873241425,
0.31951263546943665,
0.1303451657295227,
-0.20461979508399963,
0.23811256885528564,
-0.15567871928215027,
0.1341388076543808,
-0.15653526782989502,
-0.29874059557914734,
-0.13293634355068207,
0.21778060495853424,
-0.3525392711162567,
-0.17501729726791382,
0.1850517988204956,
-0.36472439765930176,
0.4803892970085144,
-0.08122513443231583,
-0.2530965209007263,
0.27318820357322693,
-0.1301645189523697,
0.15454085171222687,
0.2995481789112091,
0.24850602447986603,
0.4922449588775635,
0.09977215528488159,
-0.15379618108272552,
-0.1180846244096756,
0.27220603823661804,
-0.012551739811897278,
0.017078813165426254,
0.2717783749103546,
-0.15034478902816772,
0.06344769895076752,
-0.011192034929990768,
0.8302667737007141,
0.29074910283088684,
0.061072904616594315,
0.22392672300338745,
-0.07098028063774109,
0.05838032066822052,
-0.09007032960653305,
-0.035510946065187454,
-0.04836724326014519,
-0.28784415125846863,
-0.11122837662696838,
0.42306995391845703,
-0.04628436267375946,
-0.6680224537849426,
-0.21116343140602112,
0.13030506670475006,
-0.6168245673179626,
-0.37683308124542236,
0.21776151657104492,
0.09879311919212341,
0.352411150932312,
-0.13364337384700775,
-0.11154257506132126,
-0.21044673025608063,
-0.12181360274553299,
0.027033153921365738,
0.09839323908090591,
0.06131621077656746,
-0.07067414373159409,
-0.1471417099237442,
-0.1762862503528595,
-0.4619829058647156,
0.33020687103271484,
0.1391891986131668,
-0.13732858002185822,
0.012916360050439835,
-0.27879858016967773,
-0.018189311027526855,
-0.21398785710334778,
0.05072183907032013,
-0.5364190340042114,
-0.1821676790714264,
0.21125084161758423,
-0.015416113659739494,
0.1288558840751648,
-0.08307427167892456,
-0.2628057599067688,
-0.224758118391037,
0.3696252703666687,
0.29851770401000977,
-0.3977457880973816,
-0.0008453624323010445,
0.19771364331245422,
-0.1824931800365448,
-0.2115771770477295,
-0.17140606045722961,
-0.21251080930233002,
-0.3825950026512146,
-0.6025790572166443,
0.30223846435546875,
0.28757452964782715,
0.17969171702861786,
-0.3947332203388214,
-0.12751992046833038,
0.0769919753074646,
0.03892605006694794,
0.039860352873802185,
0.3301871418952942,
0.1564275622367859,
0.010038978420197964,
-0.04354654252529144,
-0.20071133971214294,
-0.15837639570236206,
0.01638329029083252,
0.5425244569778442,
-0.0007285065948963165,
0.559577226638794,
-0.1515083611011505,
-0.1327536553144455,
0.3107968866825104,
0.327467143535614,
-0.05257369205355644,
0.22332113981246948,
0.04771637171506882,
0.30938881635665894,
-0.25172194838523865,
0.10878896713256836,
0.06231185048818588,
-0.1966879665851593,
-0.03222082927823067,
-0.13147537410259247,
0.44972938299179077,
0.10248547792434692,
-0.19995853304862976,
0.054064080119132996,
0.04856113716959953,
-0.2920285165309906,
0.5953056216239929,
0.2386036515235901,
0.9551810622215271,
0.015714142471551895,
0.11680980026721954,
0.23318547010421753,
0.07618094980716705,
0.5927749276161194,
-0.19952154159545898,
0.10639003664255142,
-0.37904804944992065,
-0.052404291927814484,
0.054531633853912354,
-0.0809970423579216,
0.0549778938293457,
0.27776336669921875,
-0.66989666223526,
0.22214968502521515,
0.20269639790058136,
-0.06810811161994934,
-0.15072520077228546,
0.48474711179733276,
-0.1853811889886856,
-0.3070557117462158,
-0.1467495858669281,
0.14724333584308624,
0.05198032036423683,
0.18515953421592712,
-0.02792757749557495,
-0.22012747824192047,
-0.23692713677883148,
-0.29479461908340454,
-0.2112458050251007,
0.1429949402809143,
-0.12262023240327835,
0.06092660501599312,
-0.29016855359077454,
-0.13962224125862122,
0.1324228048324585,
0.04342208802700043,
-0.06631943583488464,
0.19636787474155426,
-0.14465180039405823,
0.3570205569267273,
-0.08056513220071793,
-0.1904446929693222,
-0.06502345204353333,
0.04944930225610733,
0.42268434166908264,
-0.19556450843811035,
-0.20836029946804047,
-0.14627531170845032,
-0.12488837540149689,
-0.08189810067415237,
0.10278728604316711,
-0.07466275990009308,
-0.24139876663684845,
-0.1976572424173355,
-0.27533116936683655,
0.18838338553905487,
-0.4204825460910797,
-0.35045507550239563,
0.2219255566596985,
-0.2195792943239212,
-0.38835710287094116,
0.4397355914115906,
0.11324404180049896,
-0.08893711119890213,
-0.07934430241584778,
0.07681171596050262,
0.12321193516254425,
-0.2172311395406723,
0.33115318417549133,
0.2818473279476166,
-0.17694155871868134,
-0.38586190342903137,
-0.2609611749649048,
-0.15301920473575592,
-0.13930195569992065,
0.29629647731781006,
0.179424449801445,
-0.2625144124031067,
0.0986386314034462,
0.2195582091808319,
0.23785659670829773,
0.4643809199333191,
-0.022883113473653793,
-0.10780550539493561,
-0.29194653034210205,
0.300066739320755,
-0.09893625974655151,
0.48806869983673096,
-0.08427506685256958,
0.21958006918430328,
0.06600308418273926,
0.4827212393283844,
-0.3940337300300598,
-0.04741330444812775,
-0.40299510955810547,
0.2946375012397766,
0.05540991947054863,
-0.12874871492385864,
0.004156473558396101,
0.044487014412879944,
0.12158270180225372,
0.15868157148361206,
-0.0021560275927186012,
-0.3157123625278473,
-0.1779811978340149,
0.1116553395986557,
0.2772532105445862,
-0.039553090929985046,
0.22734017670154572,
0.061757124960422516,
-0.08388686180114746,
-0.23072944581508636,
0.19785170257091522,
-0.20717564225196838,
-0.08921720087528229,
0.22350332140922546,
0.22913241386413574,
0.03573530539870262,
-0.1559244692325592,
0.07870984077453613,
-0.1712069809436798,
0.4445432424545288,
-0.044200822710990906,
0.09615455567836761,
0.23118242621421814,
-0.015179529786109924,
0.23979835212230682,
0.12003716826438904,
0.13140128552913666,
0.2493482530117035,
0.33070579171180725,
-0.08154918253421783,
-0.2955347001552582,
-0.20594839751720428,
0.25521960854530334,
0.2926105856895447,
0.09656105190515518,
0.2004978060722351,
0.02169548161327839,
0.3159095048904419,
-0.2983390688896179,
0.14146128296852112,
0.18245577812194824,
-0.06409811228513718,
0.2432638704776764,
0.30643460154533386,
0.4860350787639618,
-0.22808118164539337,
-0.2103269249200821,
0.1695050597190857,
-0.009151282720267773,
-0.25154340267181396,
0.14865638315677643,
0.293311208486557,
0.0566125251352787,
-0.007072199136018753,
-0.002068663015961647,
-0.227576345205307,
0.14152052998542786,
0.05467275157570839,
-0.0346127524971962,
0.280589759349823,
0.17329692840576172,
0.257235586643219,
0.02641388773918152,
-0.06384069472551346,
-0.20703162252902985,
-0.19308534264564514,
0.01936119794845581,
0.2539328634738922,
0.09919410198926926,
0.07444644719362259,
0.06800568103790283,
-0.08101537078619003,
-0.14202280342578888,
0.5777066349983215,
-0.10241586714982986,
-0.21749600768089294,
-0.4477327764034271,
-0.10973682999610901,
-0.21204613149166107,
0.08966609835624695,
0.15961110591888428,
-0.08173568546772003,
0.3065395951271057,
0.18335333466529846,
0.09769398719072342,
0.1297464519739151,
0.14292778074741364,
-0.07468550652265549,
0.31695646047592163,
-0.23952776193618774,
0.011773752048611641,
0.13734273612499237,
-0.011509105563163757,
-0.027182724326848984,
-0.06311794370412827,
0.42109575867652893,
0.007904162630438805,
-0.5886417627334595,
-0.10628745704889297,
0.16943708062171936,
-0.09740389883518219,
-0.05050858110189438,
0.22692479193210602,
0.2305615246295929,
0.26968687772750854,
0.18932266533374786,
0.18137109279632568,
-0.3001112639904022,
-0.30914708971977234,
-0.013192299753427505,
-0.1485057771205902,
0.16189005970954895,
0.28759703040122986,
0.12637826800346375,
-0.27972036600112915,
-0.1021890938282013,
0.23767346143722534,
-0.48247143626213074,
0.1648528277873993,
0.18594443798065186,
-0.08128376305103302,
0.2997188866138458,
-0.04095781594514847,
0.11069442331790924,
-0.02841215580701828,
0.4022791087627411,
0.026241257786750793,
0.16622820496559143,
-0.35437190532684326,
-0.3117094039916992,
-0.2998170852661133,
-0.08793020993471146,
-0.015748318284749985,
-0.07937018573284149,
-0.03375263884663582,
0.42871782183647156,
0.015305750072002411,
0.0940369963645935,
0.029144860804080963,
-0.06314685940742493,
0.13712117075920105,
0.32682403922080994,
-0.21864831447601318,
0.047368310391902924,
-0.3783320188522339,
-0.058463871479034424,
0.07915271818637848,
-0.15744562447071075,
-0.14702147245407104,
0.06512568145990372,
0.06398924440145493,
-0.10424347221851349,
-0.11880754679441452,
0.26192209124565125,
0.22258341312408447,
0.21893912553787231,
0.11928457766771317,
0.5285505056381226,
-0.3440174162387848,
0.14139236509799957,
-0.17007535696029663,
-0.22815950214862823,
-0.289296954870224,
0.1993039846420288,
-0.08267685770988464,
0.46762627363204956,
0.0312278363853693,
0.23674990236759186,
-0.3697931170463562,
-0.17279598116874695,
0.01271265372633934,
0.06641647219657898,
-0.09986814856529236,
0.004253063350915909,
-0.10602033138275146,
0.32098817825317383,
0.4321894645690918,
0.4741988182067871,
-0.26783740520477295,
0.020540980622172356,
-0.2306411862373352,
-0.672156810760498,
0.3363182842731476,
-0.24094457924365997,
-0.3000383675098419,
0.16739168763160706,
0.15206852555274963,
0.18027152121067047,
0.2626720368862152,
-0.38802722096443176,
0.015533261001110077,
0.13200609385967255,
-0.014554865658283234,
-0.2222338318824768,
0.17462638020515442,
0.05039976164698601,
-0.15390551090240479,
-0.10494150221347809,
0.1391555666923523,
0.1125573217868805,
-0.08944297581911087,
-0.4804985523223877,
-0.29271626472473145
] |
https://github.com/huggingface/datasets/pull/430 | add DatasetDict | I did the changes in the docstrings and I added a type check in each `DatasetDict` method to make sure all values are of type `Dataset` | ## Add DatasetDict
### Overview
When you call `load_dataset` it can return a dictionary of datasets if there are several splits (train/test for example).
If you wanted to apply dataset transforms you had to iterate over each split and apply the transform.
Instead of returning a dict, it now returns a `nlp.DatasetDict` object which inherits from dict and contains the same data as before, except that now users can call dataset transforms directly from the output, and they'll be applied on each split.
Before:
```python
from nlp import load_dataset
squad = load_dataset("squad")
print(squad.keys())
# dict_keys(['train', 'validation'])
squad = {
split_name: dataset.map(my_func) for split_name, dataset in squad.items()
}
print(squad.keys())
# dict_keys(['train', 'validation'])
```
Now:
```python
from nlp import load_dataset
squad = load_dataset("squad")
print(squad.keys())
# dict_keys(['train', 'validation'])
squad = squad.map(my_func)
print(squad.keys())
# dict_keys(['train', 'validation'])
```
### Dataset transforms
`nlp.DatasetDict` implements the following dataset transforms:
- map
- filter
- sort
- shuffle
### Arguments
The arguments of the methods are the same except for split-specific arguments like `cache_file_name`.
For such arguments, the expected input is a dictionary `{split_name: argument_value}`
It concerns:
- `cache_file_name` in map, filter, sort, shuffle
- `seed` and `generator` in shuffle | 26 | text: add DatasetDict
## Add DatasetDict
### Overview
When you call `load_dataset` it can return a dictionary of datasets if there are several splits (train/test for example).
If you wanted to apply dataset transforms you had to iterate over each split and apply the transform.
Instead of returning a dict, it now returns a `nlp.DatasetDict` object which inherits from dict and contains the same data as before, except that now users can call dataset transforms directly from the output, and they'll be applied on each split.
Before:
```python
from nlp import load_dataset
squad = load_dataset("squad")
print(squad.keys())
# dict_keys(['train', 'validation'])
squad = {
split_name: dataset.map(my_func) for split_name, dataset in squad.items()
}
print(squad.keys())
# dict_keys(['train', 'validation'])
```
Now:
```python
from nlp import load_dataset
squad = load_dataset("squad")
print(squad.keys())
# dict_keys(['train', 'validation'])
squad = squad.map(my_func)
print(squad.keys())
# dict_keys(['train', 'validation'])
```
### Dataset transforms
`nlp.DatasetDict` implements the following dataset transforms:
- map
- filter
- sort
- shuffle
### Arguments
The arguments of the methods are the same except for split-specific arguments like `cache_file_name`.
For such arguments, the expected input is a dictionary `{split_name: argument_value}`
It concerns:
- `cache_file_name` in map, filter, sort, shuffle
- `seed` and `generator` in shuffle
I did the changes in the docstrings and I added a type check in each `DatasetDict` method to make sure all values are of type `Dataset` | [
0.06265948712825775,
0.04244905710220337,
-0.07104980945587158,
-0.12785117328166962,
0.24336020648479462,
-0.1357530653476715,
0.18767759203910828,
0.3599434494972229,
0.22964808344841003,
-0.005428396165370941,
-0.06406242400407791,
0.7778928279876709,
-0.32042449712753296,
-0.008369162678718567,
0.1721811443567276,
-0.04720092564821243,
0.027472086250782013,
0.023717597126960754,
-0.09571810066699982,
-0.193355530500412,
-0.19816094636917114,
0.13694512844085693,
-0.2247307300567627,
0.06921596080064774,
-0.19693893194198608,
-0.15692788362503052,
-0.16273590922355652,
0.13411206007003784,
-0.0710616260766983,
-0.5579975843429565,
0.2818037271499634,
0.2508259117603302,
-0.06254930794239044,
0.16915835440158844,
-0.0001095271873055026,
0.003734298050403595,
0.15339812636375427,
-0.06911635398864746,
-0.36982813477516174,
-0.09608738124370575,
-0.20701074600219727,
-0.23002511262893677,
0.2542749047279358,
-0.5374827980995178,
0.0009209662675857544,
-0.13055108487606049,
0.08640076220035553,
-0.3857777714729309,
0.4815797805786133,
0.3381345272064209,
0.23827363550662994,
-0.0026272479444742203,
-0.12861309945583344,
-0.037324465811252594,
0.11248308420181274,
0.167372465133667,
-0.05706861615180969,
-0.04512791335582733,
0.17307943105697632,
-0.1285879909992218,
-0.008257672190666199,
0.16890962421894073,
-0.20753216743469238,
-0.13395021855831146,
0.2708406150341034,
-0.013435003347694874,
-0.161199688911438,
-0.25679609179496765,
-0.15535542368888855,
0.03904574364423752,
0.08262020349502563,
-0.34002846479415894,
-0.35054612159729004,
-0.44832488894462585,
0.012561080977320671,
-0.10642625391483307,
-0.17251303791999817,
-0.2010985165834427,
-0.03207569569349289,
-0.058982472866773605,
-0.19511614739894867,
-0.004996845498681068,
0.11563462018966675,
0.19065353274345398,
0.003568597137928009,
0.48054301738739014,
-0.014406112022697926,
0.07207299768924713,
0.15025809407234192,
0.005767498165369034,
0.15559065341949463,
-0.0365915410220623,
-0.0404391773045063,
0.1909930408000946,
-0.21370981633663177,
-0.2465204894542694,
0.45411962270736694,
-0.013143911957740784,
0.07518065720796585,
-0.12471801042556763,
0.19565120339393616,
0.15679800510406494,
-0.11906667053699493,
0.008117061108350754,
0.213081955909729,
0.2857246398925781,
0.37037044763565063,
0.2871100902557373,
0.06313902884721756,
-0.1096736490726471,
-0.11641082167625427,
0.06720991432666779,
0.10621748119592667,
-0.15485474467277527,
-0.05198340862989426,
0.22243347764015198,
0.36716026067733765,
-0.01620366796851158,
-0.16323760151863098,
-0.28036949038505554,
0.008141245692968369,
-0.19530977308750153,
0.08436217159032822,
0.2507573664188385,
0.05218588933348656,
0.3062141239643097,
0.0681740790605545,
0.14413554966449738,
-0.09278223663568497,
-0.023546649143099785,
-0.2823619246482849,
-0.008797414600849152,
-0.33531537652015686,
0.0103065837174654,
0.43338561058044434,
0.18621504306793213,
0.14031420648097992,
0.011042862199246883,
-0.12216557562351227,
0.07688777148723602,
0.005922611802816391,
0.024802278727293015,
0.383203387260437,
-0.06781278550624847,
-0.07067789137363434,
0.012593911960721016,
0.28898802399635315,
-0.32571083307266235,
-0.2408413589000702,
0.1066141128540039,
-0.39029863476753235,
-0.21521592140197754,
0.03314652666449547,
0.26121652126312256,
-0.12235486507415771,
-0.16758494079113007,
-0.17854991555213928,
0.3963521122932434,
0.24024340510368347,
-0.27055823802948,
0.05555551499128342,
-0.2605820298194885,
-0.24443365633487701,
-0.3468794524669647,
0.07587610185146332,
0.337909996509552,
-0.44357830286026,
-0.23297426104545593,
-0.2458505481481552,
0.04426199570298195,
0.036346435546875,
0.2285449504852295,
-0.3038901090621948,
0.42329299449920654,
-0.16524985432624817,
0.06550607085227966,
0.7698102593421936,
-0.4121762812137604,
-0.4189915359020233,
-0.07442910969257355,
0.04032456874847412,
0.19013240933418274,
0.06957250833511353,
-0.07868363708257675,
0.5466241836547852,
-0.06446797400712967,
0.2631494998931885,
0.22370430827140808,
0.032586660236120224,
0.20099467039108276,
-0.2357156127691269,
0.07167789340019226,
0.42351484298706055,
-0.05820140987634659,
-0.009040262550115585,
0.26808279752731323,
0.14404651522636414,
0.31715503334999084,
0.32501575350761414,
-0.09128226339817047,
-0.016966169700026512,
-0.10523316264152527,
0.022907719016075134,
0.21677382290363312,
0.12369772791862488,
-0.30157971382141113,
-0.38704270124435425,
0.08796074241399765,
-0.2155350148677826,
0.039644692093133926,
-0.08870573341846466,
-0.25980231165885925,
-0.2882630527019501,
-0.16206231713294983,
-0.2573486566543579,
-0.1767030954360962,
0.25230565667152405,
-0.01662791520357132,
0.22089487314224243,
-0.09271235764026642,
-0.13965937495231628,
0.19583198428153992,
-0.1709170639514923,
-0.18846656382083893,
-0.3721756339073181,
0.2230493277311325,
-0.1394948661327362,
-0.17473679780960083,
-0.08150272071361542,
0.4252687692642212,
0.19769242405891418,
-0.056257348507642746,
-0.11790022999048233,
0.25692206621170044,
0.17897458374500275,
-0.23238788545131683,
-0.03499298542737961,
0.0184144526720047,
0.12604555487632751,
-0.13110804557800293,
0.2762865722179413,
0.14022623002529144,
0.12509749829769135,
-0.26500293612480164,
-0.31485432386398315,
0.4500802755355835,
-0.10497687757015228,
0.291585773229599,
-0.05086417868733406,
0.12678863108158112,
0.2126980870962143,
-0.09308701753616333,
-0.26721519231796265,
-0.20031282305717468,
-0.22342823445796967,
0.04338660091161728,
0.2349730283021927,
-0.11289921402931213,
-0.0045334696769714355,
0.21761053800582886,
0.8848965764045715,
0.07959169149398804,
0.15400630235671997,
0.09156657755374908,
0.09974198043346405,
-0.12070250511169434,
-0.13946382701396942,
0.3011825680732727,
0.5888963937759399,
0.34004926681518555,
0.03131863474845886,
0.05182064324617386,
-0.08896823227405548,
-0.10150881111621857,
0.2360912710428238,
0.08998154103755951,
0.03978591039776802,
0.16787317395210266,
0.22443747520446777,
0.10352631658315659,
-0.40849563479423523,
-0.29481786489486694,
0.022780707105994225,
0.0756898894906044,
-0.3061673939228058,
0.0817146971821785,
-0.24778081476688385,
-0.23388567566871643,
-0.11658374965190887,
-0.1726725548505783,
-0.05493171885609627,
-0.5711672902107239,
0.019750544801354408,
-0.18784037232398987,
-0.07829967141151428,
0.2916162610054016,
0.2288711667060852,
0.2023572027683258,
0.0624748170375824,
-0.11410727351903915,
-0.1593177616596222,
-0.40264979004859924,
-0.15721961855888367,
0.07738631963729858,
0.10251541435718536,
0.11597760766744614,
0.38843512535095215,
0.030575545504689217,
-0.0912422239780426,
-0.02605232410132885,
-0.41682499647140503,
-0.002584584057331085,
-0.3209739923477173,
0.003593403846025467,
0.37211042642593384,
0.05434311553835869,
0.012915581464767456,
-0.40113237500190735,
0.13604965806007385,
-0.19591030478477478,
-0.19565977156162262,
0.08220616728067398,
0.011555886827409267,
-0.010679568164050579,
-0.36772236227989197,
-0.5724377632141113,
-0.3106139600276947,
-0.48173511028289795,
0.15583601593971252,
0.09846685826778412,
0.27921241521835327,
0.309227854013443,
0.024109702557325363,
0.33174625039100647,
-0.029149485751986504,
0.22477658092975616,
-0.2534867525100708,
0.16582196950912476,
0.2255355566740036,
-0.2596053183078766,
-0.20748938620090485,
-0.20754413306713104,
-0.1861913502216339,
0.11270146071910858,
0.044672220945358276,
-0.12106914818286896,
0.004429326392710209,
-0.27800452709198,
0.1493641883134842,
0.0777508020401001,
0.2039460837841034,
0.565441906452179,
0.17018243670463562,
-0.06629597395658493,
-0.11321993172168732,
-0.2028599977493286,
-0.08494441956281662,
0.1469542384147644,
0.1617426574230194,
-0.00006833486258983612,
0.34735310077667236,
0.16194456815719604,
0.6067910194396973,
0.023664958775043488,
-0.12321411073207855,
0.19584184885025024,
0.011746581643819809,
0.27268701791763306,
-0.27594810724258423,
-0.5529290437698364,
0.12932823598384857,
-0.12717881798744202,
0.045681580901145935,
0.05945052206516266,
-0.169122576713562,
-0.20717018842697144,
-0.008188605308532715,
0.09225311875343323,
-0.2655758857727051,
-0.32868778705596924,
0.1500515639781952,
-0.31013497710227966,
-0.06042870134115219,
0.10760931670665741,
0.20714318752288818,
-0.4344092607498169,
0.07532601803541183,
-0.11241637170314789,
0.14379946887493134,
-0.0565747395157814,
-0.053053196519613266,
-0.6398361921310425,
-0.12240643799304962,
-0.3658260405063629,
0.30497485399246216,
-0.07265649735927582,
0.2127557396888733,
0.04759036377072334,
-0.23380720615386963,
-0.011568859219551086,
-0.0359257273375988,
0.754853367805481,
-0.10753796249628067,
-0.06683804094791412,
0.3058658540248871,
0.17003300786018372,
-0.43065011501312256,
-0.11923909187316895,
-0.32663705945014954,
0.4397372603416443,
0.40180879831314087,
0.3208406865596771,
-0.3551943302154541,
-0.3012998402118683,
0.007041197270154953,
-0.08897794038057327,
-0.11457301676273346,
0.08945102989673615,
-0.27444183826446533,
-0.24358594417572021,
-0.23376703262329102,
0.028822243213653564,
-0.03491615504026413,
0.06862248480319977,
-0.2888880968093872,
0.007792819291353226,
-0.016690125688910484,
-0.11600983142852783,
0.09883924573659897,
0.28828170895576477,
0.28447943925857544,
0.2828109860420227,
-0.21206942200660706,
0.0035303905606269836,
0.09118573367595673,
-0.34412360191345215,
0.3541058599948883,
-0.1178727000951767,
-0.01016417145729065,
-0.006146933883428574,
-0.019394930452108383,
0.2921711504459381,
0.28625595569610596,
0.059284329414367676,
-0.0896533951163292,
-0.11821101605892181,
0.0770440399646759,
-0.0967487022280693,
0.043866921216249466,
0.31329345703125,
-0.31543654203414917,
-0.24485409259796143,
-0.7602172493934631,
0.3840775191783905,
0.20578186213970184,
-0.2556909918785095,
0.4541788697242737,
0.07985461503267288,
-0.4328877329826355,
0.6788661479949951,
0.02396458387374878,
0.8961154818534851,
-0.012963004410266876,
0.35717296600341797,
0.3111361563205719,
-0.030804026871919632,
0.7671789526939392,
-0.013685915619134903,
0.11603956669569016,
-0.23766325414180756,
-0.04872385784983635,
0.11437471210956573,
-0.10913971811532974,
0.1335916519165039,
0.34228813648223877,
-0.601604163646698,
0.325190007686615,
-0.09442219883203506,
-0.1480235904455185,
0.03863629698753357,
0.39400598406791687,
-0.0011942163109779358,
-0.23733463883399963,
-0.3951215147972107,
0.20641370117664337,
-0.2150571197271347,
-0.056019049137830734,
-0.027008987963199615,
-0.11854065954685211,
-0.11270777881145477,
-0.20720942318439484,
-0.22021490335464478,
0.14051803946495056,
0.0026483475230634212,
0.33874398469924927,
0.09376935660839081,
-0.057269349694252014,
0.3133486807346344,
0.41923558712005615,
0.13930828869342804,
0.20920342206954956,
-0.08703875541687012,
0.1391369253396988,
0.11436927318572998,
0.24014224112033844,
0.13716694712638855,
-0.03847888857126236,
0.3312860131263733,
0.2090146541595459,
-0.2072320282459259,
0.006418086588382721,
-0.002581301610916853,
-0.2936592698097229,
-0.43889135122299194,
0.2810632288455963,
0.15109117329120636,
-0.5359147191047668,
-0.2107839286327362,
0.1797148883342743,
-0.2220778614282608,
-0.18410518765449524,
0.17250438034534454,
-0.08357980847358704,
-0.18291737139225006,
0.5466768145561218,
-0.06704618036746979,
-0.12483035773038864,
0.12817472219467163,
0.24575471878051758,
0.1280774474143982,
0.11182849109172821,
0.4295205771923065,
-0.07886528968811035,
-0.09003685414791107,
-0.3204684555530548,
-0.21420741081237793,
-0.16631247103214264,
-0.10246898233890533,
0.250702440738678,
0.005388464778661728,
-0.27193182706832886,
0.11632028967142105,
0.1082964837551117,
-0.02328827977180481,
0.4126951992511749,
-0.11966204643249512,
-0.2577037513256073,
-0.13960985839366913,
0.22654002904891968,
0.01298581250011921,
0.24211221933364868,
0.14867788553237915,
0.38469430804252625,
-0.046790916472673416,
0.2329077124595642,
-0.3978090286254883,
-0.014096083119511604,
-0.06073629856109619,
0.33224326372146606,
-0.020445525646209717,
-0.28211721777915955,
-0.05710281431674957,
-0.0549076646566391,
0.14853301644325256,
0.10897234082221985,
-0.1357669085264206,
-0.3172265887260437,
-0.09953325986862183,
0.10359922796487808,
0.1308601200580597,
0.1507292091846466,
-0.19746597111225128,
-0.08690917491912842,
0.028691919520497322,
-0.1729610413312912,
0.0918978899717331,
0.2907146215438843,
-0.00855708122253418,
0.6433345079421997,
0.33811715245246887,
0.08849923312664032,
0.4401921033859253,
0.019348014146089554,
-0.07607048749923706,
-0.15062740445137024,
0.034739550203084946,
0.4324584901332855,
-0.10546578466892242,
-0.03279387205839157,
-0.41498640179634094,
0.1817476451396942,
-0.0036859065294265747,
0.30748769640922546,
0.3130303621292114,
-0.1552998423576355,
-0.06581243872642517,
0.0771106407046318,
0.19957350194454193,
0.4974249005317688,
-0.18004511296749115,
-0.18102774024009705,
0.012895539402961731,
0.21373742818832397,
-0.24504205584526062,
-0.13885626196861267,
0.41285818815231323,
0.09789693355560303,
0.12279294431209564,
0.216465562582016,
-0.09816034138202667,
-0.12209651619195938,
-0.026124954223632812,
0.019753195345401764,
0.3959258794784546,
-0.2909800410270691,
0.3413403332233429,
0.18168361485004425,
0.10021379590034485,
-0.2374074012041092,
0.2498750537633896,
-0.23333948850631714,
-0.030642859637737274,
0.3887137770652771,
0.07272744178771973,
0.4528702199459076,
-0.039827898144721985,
-0.06502678990364075,
0.22201690077781677,
-0.016841910779476166,
0.21980930864810944,
0.2750263810157776,
-0.12968511879444122,
0.2740805447101593,
0.05287613719701767,
0.2256617546081543,
-0.12908349931240082,
-0.22413146495819092,
0.05535494536161423,
0.1405998021364212,
-0.1512877643108368,
-0.04280848056077957,
-0.2746802270412445,
-0.04338020831346512,
-0.10091699659824371,
-0.23346981406211853,
-0.09856458008289337,
-0.05031763017177582,
0.3315701484680176,
0.010118208825588226,
-0.05314666032791138,
-0.26950007677078247,
0.26489683985710144,
-0.08200723677873611,
0.3839375376701355,
-0.19740723073482513,
0.0859300047159195,
0.04292873665690422,
0.061540573835372925,
0.19465495645999908,
0.24143041670322418,
0.2390030026435852,
0.5238999724388123,
-0.27945825457572937,
0.0258486308157444,
0.02338089421391487,
-0.2492607980966568,
-0.15283039212226868,
0.13212382793426514,
0.07341849058866501,
-0.013397756963968277,
0.20186828076839447,
0.2529122531414032,
-0.16263140738010406,
-0.2605089247226715,
0.2700835168361664,
-0.06153002008795738,
-0.09519906342029572,
0.46025514602661133,
0.19373777508735657,
-0.14995212852954865,
0.1676197052001953,
0.2512519657611847,
-0.5767674446105957,
-0.34139764308929443,
0.064557746052742,
0.13188672065734863,
0.28896844387054443,
-0.3750234544277191,
0.11721642315387726,
0.18007637560367584,
0.5035596489906311,
0.1215486079454422,
0.08211962878704071,
-0.08736580610275269,
-0.1332043558359146,
-0.5994910001754761,
-0.15445905923843384,
0.12647680938243866,
-0.19693614542484283,
0.038756608963012695,
0.46558699011802673,
-0.08079224079847336,
0.11325185000896454,
-0.13554434478282928,
-0.1098819449543953,
-0.14785777032375336,
-0.12167039513587952,
-0.30583426356315613,
-0.05577054247260094,
-0.09097731113433838,
0.07990345358848572,
0.06323611736297607,
-0.34557244181632996,
-0.06308521330356598,
0.04484543949365616,
0.09870866686105728,
-0.04165947437286377,
-0.06884938478469849,
0.2730894982814789,
0.3892967402935028,
-0.035707972943782806,
0.21576566994190216,
0.39359286427497864,
-0.1583895981311798,
0.09533006697893143,
-0.21982845664024353,
-0.24801082909107208,
-0.2657864987850189,
0.21009337902069092,
-0.009014599025249481,
0.4183087646961212,
-0.17348234355449677,
-0.11132596433162689,
-0.12267733365297318,
0.2633010149002075,
0.12476198375225067,
-0.03683869540691376,
-0.3917185068130493,
0.22225375473499298,
0.04718734323978424,
0.17194850742816925,
-0.3412776589393616,
0.5420498251914978,
-0.05856262147426605,
0.3955480456352234,
-0.23331965506076813,
-0.3540797829627991,
0.38921186327934265,
-0.31387707591056824,
-0.3843444585800171,
0.04917288199067116,
0.2804693579673767,
-0.11077200621366501,
-0.027620652690529823,
-0.3386463522911072,
-0.2660447061061859,
0.4095136523246765,
-0.1920803189277649,
-0.047618310898542404,
0.2882530689239502,
-0.13208286464214325,
-0.1552669107913971,
-0.10194485634565353,
0.0678793415427208,
0.008103268221020699,
-0.11411882191896439,
0.17383767664432526,
-0.37178611755371094
] |
https://github.com/huggingface/datasets/pull/430 | add DatasetDict | I'm trying to follow along with the following about datasets from the docs:
https://huggingface.co/nlp/loading_datasets.html
https://huggingface.co/nlp/processing.html
However the train_test_split method no longer works as it is expecting a dataset, rather than a datsetdict. How would I got about splitting a CSV into a train and test set?
I'm trying to utilize the Trainer() class, but am having trouble converting my data from a csv into dataset objects to pass in. | ## Add DatasetDict
### Overview
When you call `load_dataset` it can return a dictionary of datasets if there are several splits (train/test for example).
If you wanted to apply dataset transforms you had to iterate over each split and apply the transform.
Instead of returning a dict, it now returns a `nlp.DatasetDict` object which inherits from dict and contains the same data as before, except that now users can call dataset transforms directly from the output, and they'll be applied on each split.
Before:
```python
from nlp import load_dataset
squad = load_dataset("squad")
print(squad.keys())
# dict_keys(['train', 'validation'])
squad = {
split_name: dataset.map(my_func) for split_name, dataset in squad.items()
}
print(squad.keys())
# dict_keys(['train', 'validation'])
```
Now:
```python
from nlp import load_dataset
squad = load_dataset("squad")
print(squad.keys())
# dict_keys(['train', 'validation'])
squad = squad.map(my_func)
print(squad.keys())
# dict_keys(['train', 'validation'])
```
### Dataset transforms
`nlp.DatasetDict` implements the following dataset transforms:
- map
- filter
- sort
- shuffle
### Arguments
The arguments of the methods are the same except for split-specific arguments like `cache_file_name`.
For such arguments, the expected input is a dictionary `{split_name: argument_value}`
It concerns:
- `cache_file_name` in map, filter, sort, shuffle
- `seed` and `generator` in shuffle | 69 | text: add DatasetDict
## Add DatasetDict
### Overview
When you call `load_dataset` it can return a dictionary of datasets if there are several splits (train/test for example).
If you wanted to apply dataset transforms you had to iterate over each split and apply the transform.
Instead of returning a dict, it now returns a `nlp.DatasetDict` object which inherits from dict and contains the same data as before, except that now users can call dataset transforms directly from the output, and they'll be applied on each split.
Before:
```python
from nlp import load_dataset
squad = load_dataset("squad")
print(squad.keys())
# dict_keys(['train', 'validation'])
squad = {
split_name: dataset.map(my_func) for split_name, dataset in squad.items()
}
print(squad.keys())
# dict_keys(['train', 'validation'])
```
Now:
```python
from nlp import load_dataset
squad = load_dataset("squad")
print(squad.keys())
# dict_keys(['train', 'validation'])
squad = squad.map(my_func)
print(squad.keys())
# dict_keys(['train', 'validation'])
```
### Dataset transforms
`nlp.DatasetDict` implements the following dataset transforms:
- map
- filter
- sort
- shuffle
### Arguments
The arguments of the methods are the same except for split-specific arguments like `cache_file_name`.
For such arguments, the expected input is a dictionary `{split_name: argument_value}`
It concerns:
- `cache_file_name` in map, filter, sort, shuffle
- `seed` and `generator` in shuffle
I'm trying to follow along with the following about datasets from the docs:
https://huggingface.co/nlp/loading_datasets.html
https://huggingface.co/nlp/processing.html
However the train_test_split method no longer works as it is expecting a dataset, rather than a datsetdict. How would I got about splitting a CSV into a train and test set?
I'm trying to utilize the Trainer() class, but am having trouble converting my data from a csv into dataset objects to pass in. | [
0.16168572008609772,
-0.0025204047560691833,
0.011034049093723297,
-0.04263623058795929,
0.1288156807422638,
-0.036972030997276306,
0.22123414278030396,
0.08598724007606506,
0.18197906017303467,
-0.1570480316877365,
-0.059642620384693146,
0.5812265276908875,
-0.3028711974620819,
0.045082978904247284,
0.25130996108055115,
-0.24037650227546692,
-0.03976090997457504,
-0.045272499322891235,
-0.1587003469467163,
-0.09903901815414429,
-0.21818749606609344,
0.16089458763599396,
-0.344616174697876,
0.07586952298879623,
-0.29579395055770874,
-0.24683967232704163,
-0.27798566222190857,
0.21907472610473633,
-0.14368051290512085,
-0.47376328706741333,
0.3735552132129669,
0.33985379338264465,
0.07518720626831055,
0.13210554420948029,
-0.0001231864298461005,
0.05453801155090332,
0.22004321217536926,
-0.16379086673259735,
-0.4225888252258301,
-0.30302464962005615,
-0.2311018705368042,
-0.19245220720767975,
0.28661879897117615,
-0.49708840250968933,
0.020260680466890335,
-0.24193628132343292,
0.13945455849170685,
-0.3882271647453308,
0.6483014822006226,
0.32163771986961365,
0.09437288343906403,
-0.035613127052783966,
-0.17254626750946045,
-0.047131504863500595,
-0.06444769352674484,
0.2817539572715759,
0.1179262176156044,
0.07934992015361786,
0.16896852850914001,
-0.12776459753513336,
-0.08609060198068619,
0.12089471518993378,
-0.18050292134284973,
-0.06846049427986145,
0.3187449276447296,
0.008572297170758247,
-0.19684121012687683,
-0.20472946763038635,
-0.2398148775100708,
-0.046857237815856934,
0.1501266360282898,
-0.3319891393184662,
-0.36582690477371216,
-0.6878856420516968,
-0.10562586039304733,
-0.19226251542568207,
-0.21849438548088074,
-0.22165487706661224,
-0.1072947084903717,
0.058879554271698,
-0.2782304286956787,
-0.23677727580070496,
0.0042410194873809814,
0.24942660331726074,
-0.039083950221538544,
0.442003071308136,
-0.08500993996858597,
0.19085627794265747,
0.24823062121868134,
0.10776294767856598,
0.28146177530288696,
-0.02263423055410385,
0.18642625212669373,
0.30455368757247925,
-0.07988974452018738,
-0.079476498067379,
0.4331137537956238,
0.10813470184803009,
0.17274829745292664,
-0.003957975655794144,
0.16684146225452423,
0.14736677706241608,
-0.3745032846927643,
0.05651470273733139,
0.33815914392471313,
0.286875456571579,
0.4023595154285431,
0.2368115335702896,
-0.0020715557038784027,
0.014895780012011528,
0.021680954843759537,
-0.0925588384270668,
0.056361716240644455,
-0.19155080616474152,
-0.19572973251342773,
0.1685841679573059,
0.43867772817611694,
-0.010072994977235794,
-0.1310330033302307,
-0.269074410200119,
-0.038440313190221786,
-0.29631730914115906,
0.1114274114370346,
0.1959325075149536,
-0.03460473567247391,
0.3562328815460205,
0.1328313648700714,
0.17805412411689758,
-0.15309853851795197,
-0.07761136442422867,
-0.15307573974132538,
-0.0012720059603452682,
-0.33656126260757446,
0.00977756455540657,
0.41684746742248535,
0.020311271771788597,
0.2473221719264984,
0.020368508994579315,
-0.06978483498096466,
0.08812811970710754,
-0.05308625102043152,
0.052330631762742996,
0.4435516893863678,
-0.02327052131295204,
-0.06293550133705139,
0.02022218517959118,
0.25514689087867737,
-0.17069979012012482,
-0.20306330919265747,
0.019527144730091095,
-0.41377970576286316,
-0.2856931686401367,
0.09590527415275574,
0.09130008518695831,
-0.24208742380142212,
-0.06827957183122635,
-0.3249351680278778,
0.5305188894271851,
0.06756430864334106,
-0.21875399351119995,
0.001610592007637024,
-0.33404433727264404,
-0.2706957161426544,
-0.23196278512477875,
0.21623079478740692,
0.36180222034454346,
-0.4686996340751648,
-0.39310547709465027,
-0.21952416002750397,
-0.07271246612071991,
0.006419636309146881,
0.2056005448102951,
-0.3630698323249817,
0.5187892317771912,
-0.24772429466247559,
0.055636242032051086,
0.640677809715271,
-0.30860939621925354,
-0.3373381197452545,
-0.0846177414059639,
0.07913656532764435,
0.32097384333610535,
0.05923885852098465,
-0.1414148509502411,
0.411348432302475,
-0.006031982135027647,
0.34795650839805603,
0.22188526391983032,
-0.1338702291250229,
-0.0524473711848259,
-0.0790163055062294,
-0.055938720703125,
0.3589422106742859,
-0.07174327969551086,
0.07545832544565201,
0.31988057494163513,
-0.016606785356998444,
0.4048972725868225,
0.3539884388446808,
-0.0027358122169971466,
-0.03502216935157776,
-0.16952238976955414,
-0.13223981857299805,
0.23811739683151245,
0.08817233145236969,
-0.27513250708580017,
-0.5419356822967529,
0.1472288966178894,
-0.02033540979027748,
-0.09807825088500977,
-0.13339805603027344,
-0.2596888542175293,
-0.3808930218219757,
-0.06863776594400406,
-0.2618841528892517,
-0.05904450640082359,
0.04537564516067505,
-0.04324004799127579,
0.3187836706638336,
-0.10478697717189789,
-0.3481278717517853,
0.26700302958488464,
-0.26609671115875244,
0.019287405535578728,
-0.4867631196975708,
0.24805502593517303,
0.03217962384223938,
-0.06594900041818619,
-0.055936794728040695,
0.49612870812416077,
0.2704707682132721,
-0.15140338242053986,
0.07346818596124649,
0.3105047047138214,
0.22221669554710388,
-0.10956992208957672,
-0.08047226816415787,
0.0564132034778595,
0.20454633235931396,
-0.13913895189762115,
0.27069202065467834,
0.1134805828332901,
0.12739671766757965,
-0.24427872896194458,
-0.3466237485408783,
0.39813196659088135,
-0.2687232792377472,
0.431702196598053,
0.08911722898483276,
0.08891357481479645,
0.19242484867572784,
-0.08520539849996567,
-0.3552172780036926,
-0.14756986498832703,
-0.14447841048240662,
-0.1376619040966034,
0.39718690514564514,
-0.14874501526355743,
-0.08056096732616425,
0.0534299835562706,
0.7155799269676208,
0.039919573813676834,
0.06494295597076416,
0.02350018173456192,
0.05399635434150696,
-0.15494227409362793,
0.02824324555695057,
0.2903278172016144,
0.5305696725845337,
0.21731716394424438,
0.13848361372947693,
0.14683207869529724,
-0.17970024049282074,
-0.19633060693740845,
0.09470797330141068,
0.20483683049678802,
-0.003300054930150509,
0.15117284655570984,
-0.0029905852861702442,
0.07170320302248001,
-0.37882623076438904,
-0.21636386215686798,
0.034812383353710175,
0.0227948110550642,
-0.37908321619033813,
0.11649303883314133,
-0.3500156104564667,
-0.4304036498069763,
-0.22343869507312775,
-0.2596161663532257,
-0.06974968314170837,
-0.5996593832969666,
-0.062101416289806366,
-0.10812196135520935,
-0.02420376054942608,
0.27757516503334045,
0.1853884607553482,
0.27179840207099915,
-0.12567223608493805,
-0.0863097533583641,
-0.15537971258163452,
-0.3948109745979309,
-0.06344930827617645,
-0.040899693965911865,
0.08423984050750732,
0.1411144882440567,
0.4134672284126282,
-0.04875217750668526,
-0.2211279720067978,
0.03221410512924194,
-0.27953270077705383,
0.1646186113357544,
-0.21032403409481049,
0.059095971286296844,
0.4015566110610962,
0.09879616647958755,
0.06530086696147919,
-0.316157728433609,
0.13230644166469574,
-0.0817212387919426,
-0.04710322618484497,
-0.0844959244132042,
0.15967094898223877,
0.13863296806812286,
-0.318231463432312,
-0.41299840807914734,
-0.2946280241012573,
-0.3636063039302826,
0.29635193943977356,
0.06501828134059906,
0.15896400809288025,
0.3338501751422882,
-0.03500502556562424,
0.4709237217903137,
-0.04461391270160675,
0.14825311303138733,
-0.26980406045913696,
0.027569439262151718,
0.16859832406044006,
-0.2098756730556488,
-0.1618717908859253,
-0.20351968705654144,
-0.10469453781843185,
0.14316412806510925,
0.16608493030071259,
-0.17307049036026,
-0.07540034502744675,
-0.13890798389911652,
0.16597743332386017,
0.172987699508667,
0.31751060485839844,
0.5807911157608032,
0.0631486028432846,
0.1268172413110733,
-0.16545751690864563,
-0.2662772238254547,
-0.03198782354593277,
0.08514566719532013,
0.06085902079939842,
0.2360265851020813,
0.4994673430919647,
0.1782802939414978,
0.9145947694778442,
0.12407280504703522,
-0.1399000734090805,
0.15815326571464539,
0.04814089089632034,
0.3679284155368805,
-0.12257706373929977,
-0.5194772481918335,
-0.017720773816108704,
-0.16082099080085754,
0.07057755440473557,
0.09155640006065369,
-0.09216659516096115,
0.042733464390039444,
-0.18290789425373077,
0.07456307113170624,
-0.27748414874076843,
-0.40354442596435547,
0.16587020456790924,
-0.5305502414703369,
0.08052923530340195,
0.09809352457523346,
0.26385992765426636,
-0.37407612800598145,
0.176327645778656,
-0.1696312129497528,
0.10292612016201019,
0.25036054849624634,
-0.04681582748889923,
-0.7010639309883118,
-0.1342025101184845,
-0.4443763494491577,
0.38582003116607666,
-0.027393408119678497,
0.2685867249965668,
0.025082681328058243,
-0.15908844769001007,
0.10153774917125702,
0.03160672262310982,
0.8242582678794861,
0.03533339500427246,
-0.19939206540584564,
0.21490904688835144,
0.0493045300245285,
-0.4425877332687378,
-0.005999747663736343,
-0.19756989181041718,
0.5187644362449646,
0.24711976945400238,
0.3476400375366211,
-0.4572722613811493,
-0.37567761540412903,
0.04831857234239578,
0.055161844938993454,
-0.21453092992305756,
0.15762197971343994,
-0.06093791127204895,
-0.2778542935848236,
-0.2690751254558563,
0.02557675540447235,
-0.027293218299746513,
-0.08692862093448639,
-0.2414703071117401,
0.11129473149776459,
-0.06566114723682404,
-0.21629634499549866,
0.15573295950889587,
0.19926373660564423,
0.1625809371471405,
0.3054071366786957,
-0.2502947747707367,
0.3514364957809448,
0.06128357723355293,
-0.24098369479179382,
0.47739744186401367,
-0.23017609119415283,
-0.14815965294837952,
-0.10737048834562302,
0.1475057303905487,
0.5213581919670105,
0.4426572620868683,
0.07907220721244812,
-0.07153304666280746,
0.020811300724744797,
-0.07239560782909393,
-0.30838972330093384,
0.10362878441810608,
0.42375850677490234,
-0.29486775398254395,
-0.3337373435497284,
-0.8155204653739929,
0.5481312274932861,
0.22738736867904663,
-0.2522059679031372,
0.4248432219028473,
0.11191534996032715,
-0.5290015935897827,
0.4916481375694275,
-0.1015077456831932,
0.9053027629852295,
0.06125596538186073,
0.33632850646972656,
0.25899404287338257,
0.03993569314479828,
0.8159207701683044,
0.06524306535720825,
-0.07561936229467392,
-0.07084974646568298,
0.00250852108001709,
0.007525475695729256,
-0.107094407081604,
0.24793189764022827,
0.46551328897476196,
-0.3694975972175598,
0.38063785433769226,
-0.11517277359962463,
-0.19815395772457123,
0.17594130337238312,
0.44692304730415344,
-0.00531238317489624,
-0.22025416791439056,
-0.4892081022262573,
0.04147879779338837,
-0.20948846638202667,
-0.005932077765464783,
-0.07760616391897202,
0.04060591757297516,
-0.042297668755054474,
-0.20035943388938904,
-0.15608923137187958,
0.049842916429042816,
-0.12772884964942932,
0.24747928977012634,
0.02615226060152054,
-0.1725250780582428,
0.3308047950267792,
0.39455944299697876,
0.1771751046180725,
0.052662599831819534,
-0.1142493337392807,
0.11727701127529144,
-0.08094889670610428,
0.11767313629388809,
0.13030554354190826,
0.014963575638830662,
0.45689842104911804,
0.289223313331604,
-0.1333036869764328,
0.04369039833545685,
-0.07325103133916855,
-0.31990712881088257,
-0.516423225402832,
0.17912153899669647,
0.21691903471946716,
-0.5303064584732056,
-0.40447792410850525,
0.19624096155166626,
0.028698589652776718,
-0.05369633436203003,
0.027342427521944046,
0.04253885895013809,
-0.14386385679244995,
0.4850732982158661,
-0.17207258939743042,
-0.0441327802836895,
0.11210460960865021,
0.22871547937393188,
0.0025086142122745514,
-0.03041653521358967,
0.3378412425518036,
0.042164016515016556,
0.011600475758314133,
-0.11899834126234055,
-0.3040446639060974,
-0.01847020909190178,
-0.15784496068954468,
0.31741276383399963,
0.1478039175271988,
0.015490397810935974,
-0.10643579810857773,
0.1319136768579483,
-0.0071644894778728485,
0.16589607298374176,
-0.22454532980918884,
-0.23428453505039215,
-0.06928779184818268,
0.40543490648269653,
0.0590592697262764,
0.25183025002479553,
0.31981682777404785,
0.35825833678245544,
0.02075439877808094,
0.28211236000061035,
-0.23564885556697845,
0.08449025452136993,
0.12410076707601547,
0.3486728072166443,
0.19597676396369934,
-0.1724722981452942,
-0.06572474539279938,
-0.10256356000900269,
-0.03391154110431671,
0.016059257090091705,
-0.0738716796040535,
-0.1530141532421112,
-0.1941891610622406,
0.20006313920021057,
0.2436026930809021,
0.014178352430462837,
-0.058775924146175385,
-0.18780934810638428,
0.06013486534357071,
-0.19329985976219177,
0.08885011076927185,
0.36017364263534546,
0.06383074820041656,
0.6871269345283508,
0.4991379380226135,
0.24575269222259521,
0.15620945394039154,
0.07294166088104248,
-0.007292851805686951,
-0.016572579741477966,
0.09413077682256699,
0.4151032567024231,
-0.18197591602802277,
-0.048038169741630554,
-0.4478515088558197,
0.21672502160072327,
0.20058797299861908,
0.15112952888011932,
0.3392121493816376,
-0.12133108079433441,
0.08614522218704224,
-0.018003355711698532,
0.34879612922668457,
0.5406988859176636,
-0.07674499601125717,
-0.062068477272987366,
0.18166989088058472,
0.061274878680706024,
-0.19075319170951843,
-0.014863265678286552,
0.42057645320892334,
0.12338221073150635,
0.060177821666002274,
0.28297901153564453,
-0.06239765137434006,
0.051060616970062256,
0.0023644044995307922,
-0.06550274789333344,
0.34861618280410767,
-0.19000457227230072,
0.3901458978652954,
0.40858107805252075,
0.12339906394481659,
-0.1768665909767151,
0.27031588554382324,
-0.15728293359279633,
0.1519504189491272,
0.3347729444503784,
-0.0504130944609642,
0.435405433177948,
-0.0713147297501564,
0.07336777448654175,
0.35366198420524597,
-0.19110903143882751,
-0.00394255667924881,
0.2035008668899536,
-0.0741136372089386,
0.31459078192710876,
-0.15688475966453552,
0.5552094578742981,
-0.2224636971950531,
-0.13657121360301971,
0.08519968390464783,
0.3709257245063782,
-0.04172747582197189,
-0.17742134630680084,
-0.3932347595691681,
-0.1034349873661995,
-0.13431863486766815,
-0.19928470253944397,
-0.25490352511405945,
-0.22399891912937164,
0.3527759611606598,
-0.11090417206287384,
-0.04350055754184723,
-0.33597588539123535,
0.22439256310462952,
-0.12441889196634293,
0.41964656114578247,
-0.08557923138141632,
0.08055547624826431,
-0.03390568494796753,
-0.02885199338197708,
0.23410438001155853,
0.2997588813304901,
0.17523737251758575,
0.24618417024612427,
-0.29959022998809814,
-0.03339870646595955,
0.015553915873169899,
-0.18044693768024445,
-0.17323942482471466,
0.22891093790531158,
-0.03123871237039566,
-0.013524912297725677,
0.21850518882274628,
0.11332932114601135,
-0.07063353806734085,
-0.2737535834312439,
0.2979664206504822,
-0.10082818567752838,
-0.2923273742198944,
0.5388858914375305,
0.13117562234401703,
-0.21181702613830566,
0.21786098182201385,
0.20537230372428894,
-0.5191920399665833,
-0.3832264244556427,
0.07661215215921402,
-0.017217986285686493,
0.26255902647972107,
-0.20463399589061737,
0.04281969368457794,
0.09384781122207642,
0.4577754735946655,
0.24209454655647278,
0.17599573731422424,
-0.16735056042671204,
-0.2266891598701477,
-0.6700506806373596,
-0.37440651655197144,
0.1381329596042633,
-0.24190981686115265,
0.11142334342002869,
0.20781514048576355,
-0.031029194593429565,
0.17325395345687866,
-0.3004191517829895,
-0.18942922353744507,
-0.14652463793754578,
-0.20477136969566345,
-0.16292491555213928,
-0.10456925630569458,
-0.22575406730175018,
0.11706894636154175,
-0.011405125260353088,
-0.27397629618644714,
-0.1541958898305893,
0.09794344753026962,
-0.15949329733848572,
-0.023136962205171585,
0.023826979100704193,
0.22883951663970947,
0.3544171452522278,
-0.11542162299156189,
0.2580863833427429,
0.43706318736076355,
0.0020817220211029053,
0.20499418675899506,
-0.2900298535823822,
-0.17738080024719238,
-0.2734627425670624,
0.3112814724445343,
-0.09561425447463989,
0.4623875617980957,
-0.32761499285697937,
-0.12334373593330383,
-0.15581828355789185,
0.19488690793514252,
0.13091830909252167,
-0.08182937651872635,
-0.3946530222892761,
0.18668727576732635,
-0.28004100918769836,
0.09207619726657867,
-0.02835717611014843,
0.723763644695282,
-0.09796477854251862,
0.37516921758651733,
-0.24177634716033936,
-0.17453041672706604,
0.2864030599594116,
-0.3939112424850464,
-0.26708346605300903,
0.05156726762652397,
0.14566582441329956,
-0.030778959393501282,
-0.23935198783874512,
-0.3556407690048218,
-0.3056839406490326,
0.47764503955841064,
-0.2207428216934204,
0.008855137974023819,
0.30219534039497375,
0.003370471764355898,
-0.22523602843284607,
-0.15736901760101318,
0.23210643231868744,
0.12142781913280487,
-0.20879530906677246,
0.2041163146495819,
-0.3555753827095032
] |
https://github.com/huggingface/datasets/pull/429 | mlsum | Thanks @RachelKer for this PR.
I think the dummy_data structure does not also match. In the `_split_generator` you have something like `os.path.join(downloaded_files["validation"], lang+'_val.jsonl')` but in you dummy_data you have `os.path.join(downloaded_files["validation"], lang+"_val.zip", lang+'_val.jsonl')`. I think ` jsonl` files should be directly in the `dummy_data` folder without the sub-folder
@lhoestq | Hello,
The tests for the load_real_data fail, as there is no default language subset to download it looks for a file that does not exist. This bug does not happen when using the load_dataset function, as it asks you to specify a language if you do not, so I submit this PR anyway. The dataset is avalaible on : https://gitlab.lip6.fr/scialom/mlsum_data | 48 | text: mlsum
Hello,
The tests for the load_real_data fail, as there is no default language subset to download it looks for a file that does not exist. This bug does not happen when using the load_dataset function, as it asks you to specify a language if you do not, so I submit this PR anyway. The dataset is avalaible on : https://gitlab.lip6.fr/scialom/mlsum_data
Thanks @RachelKer for this PR.
I think the dummy_data structure does not also match. In the `_split_generator` you have something like `os.path.join(downloaded_files["validation"], lang+'_val.jsonl')` but in you dummy_data you have `os.path.join(downloaded_files["validation"], lang+"_val.zip", lang+'_val.jsonl')`. I think ` jsonl` files should be directly in the `dummy_data` folder without the sub-folder
@lhoestq | [
-0.1252143532037735,
0.04293185472488403,
-0.045362379401922226,
0.3388352394104004,
0.19155679643154144,
-0.07001668214797974,
0.2311675250530243,
0.32031506299972534,
0.18249239027500153,
0.15559321641921997,
-0.03408225625753403,
0.24262480437755585,
-0.05064070224761963,
0.10997568815946579,
0.011040179058909416,
-0.15371407568454742,
-0.04950558394193649,
-0.06546138226985931,
0.06513754278421402,
-0.0810280367732048,
-0.16090551018714905,
0.4168102443218231,
-0.14272314310073853,
-0.09090636670589447,
-0.21605184674263,
0.073308065533638,
-0.12758071720600128,
0.4334047734737396,
-0.43517136573791504,
-0.1727578043937683,
-0.04997509717941284,
-0.054465021938085556,
0.10454697161912918,
0.42696523666381836,
-0.00010562016541371122,
-0.02229509875178337,
0.42853283882141113,
-0.3937169015407562,
-0.2867499589920044,
-0.3638703227043152,
0.056223735213279724,
-0.006931479088962078,
-0.10969333350658417,
-0.20563024282455444,
-0.1884695291519165,
0.038747113198041916,
-0.1613607406616211,
-0.4141292870044708,
0.33224621415138245,
0.42392170429229736,
0.26956459879875183,
0.16272568702697754,
-0.06033611297607422,
-0.11499294638633728,
0.42329612374305725,
0.36082327365875244,
-0.061493463814258575,
0.3773777484893799,
0.13707731664180756,
0.1706695407629013,
0.15665189921855927,
0.24959371984004974,
0.09323956072330475,
-0.0019992366433143616,
-0.07372608035802841,
0.0017271628603339195,
-0.02443443238735199,
-0.36657068133354187,
0.02653033845126629,
0.2932802140712738,
0.5585188269615173,
-0.21926572918891907,
-0.2102603316307068,
-0.03675017133355141,
-0.1473352462053299,
-0.1895020604133606,
0.43468335270881653,
0.3874635100364685,
0.005869705229997635,
0.14890797436237335,
0.14612162113189697,
-0.14161822199821472,
0.11120308935642242,
0.09675173461437225,
-0.3188139796257019,
0.5152449011802673,
-0.09377644956111908,
0.06694401055574417,
0.16347403824329376,
0.006874512881040573,
0.05361325293779373,
-0.17643487453460693,
-0.24065929651260376,
0.03498699888586998,
-0.221334770321846,
-0.3093886077404022,
-0.2320074439048767,
-0.06205008178949356,
0.25634559988975525,
0.1415984034538269,
0.014780904166400433,
0.06193898618221283,
-0.11159532517194748,
0.21505481004714966,
0.2037830650806427,
0.17212249338626862,
0.17518657445907593,
0.16074152290821075,
0.15526878833770752,
-0.07165555655956268,
0.0033827610313892365,
0.08880235999822617,
-0.12127231061458588,
-0.04894115775823593,
-0.2051776796579361,
0.2167685627937317,
-0.0544486865401268,
-0.2201484888792038,
-0.3631669282913208,
0.050974514335393906,
-0.29146265983581543,
-0.24514560401439667,
-0.02914605662226677,
0.40355029702186584,
-0.06101135537028313,
0.10258594155311584,
0.04685026407241821,
0.46653228998184204,
-0.1724882423877716,
-0.42417365312576294,
-0.1617935746908188,
0.3307085335254669,
-0.31050270795822144,
-0.029443880543112755,
0.23214156925678253,
0.092484250664711,
0.5575863718986511,
0.015127916820347309,
-0.15357176959514618,
-0.1476123034954071,
0.27176591753959656,
-0.17075572907924652,
0.02930872142314911,
0.299712210893631,
0.22271311283111572,
-0.008601866662502289,
0.1650676727294922,
-0.1294686496257782,
-0.22257009148597717,
0.19044524431228638,
-0.3027466833591461,
-0.1167670339345932,
-0.16067779064178467,
0.26707130670547485,
-0.39425522089004517,
0.102390818297863,
-0.13268059492111206,
0.13915535807609558,
-0.10015272349119186,
0.026929017156362534,
-0.0005845129489898682,
-0.09479595720767975,
-0.044034525752067566,
-0.05505216494202614,
0.14943952858448029,
0.49488532543182373,
-0.42028534412384033,
-0.0011660903692245483,
-0.43471983075141907,
-0.08694800734519958,
0.2865043878555298,
-0.053523432463407516,
-0.11077041923999786,
0.23974403738975525,
-0.3419334292411804,
0.533421516418457,
0.26160064339637756,
-0.23332037031650543,
-0.07997129112482071,
0.2035130262374878,
-0.16872091591358185,
0.1443595141172409,
-0.00045990943908691406,
-0.22593918442726135,
0.04092685505747795,
0.07194916903972626,
0.1532766968011856,
0.21706977486610413,
0.04887533187866211,
-0.006567716598510742,
-0.4068845212459564,
-0.2036486715078354,
0.08522182703018188,
0.163907989859581,
-0.10010260343551636,
-0.05858845263719559,
0.26269692182540894,
0.10045883059501648,
0.2607455551624298,
-0.09593465924263,
-0.02112024836242199,
0.25483420491218567,
0.10061733424663544,
-0.28609228134155273,
0.13758878409862518,
-0.014382058754563332,
-0.44835853576660156,
0.15479311347007751,
-0.08801045268774033,
0.4301919639110565,
-0.09257625043392181,
-0.03598019480705261,
-0.37677517533302307,
-0.07223177701234818,
-0.028617355972528458,
-0.19955864548683167,
0.22494956851005554,
0.2101549357175827,
0.07489153742790222,
-0.028808653354644775,
-0.15811395645141602,
0.07010281831026077,
0.005984591320157051,
0.03594450652599335,
-0.2171867936849594,
0.3500223755836487,
-0.24404461681842804,
-0.13849963247776031,
0.16558142006397247,
-0.19829061627388,
0.1060335636138916,
-0.3646169602870941,
-0.1626673936843872,
0.34335869550704956,
0.31225645542144775,
0.05752439424395561,
-0.08162254840135574,
-0.0923028439283371,
0.2151697278022766,
-0.17673277854919434,
0.018601365387439728,
0.1375868171453476,
0.021825063973665237,
0.06309185177087784,
-0.25468897819519043,
0.3588045835494995,
-0.06214575842022896,
-0.08359503000974655,
-0.045409515500068665,
-0.07034589350223541,
0.5059276819229126,
-0.1786852478981018,
-0.08780104666948318,
-0.35325926542282104,
0.35644984245300293,
0.2939804494380951,
0.05749232694506645,
0.03314971923828125,
-0.07886436581611633,
0.07429727911949158,
0.7165656089782715,
-0.08273687958717346,
0.1765323281288147,
0.02458004839718342,
-0.1846119463443756,
-0.13433463871479034,
0.12768378853797913,
0.2861672341823578,
0.6656568050384521,
0.09783115237951279,
0.12875324487686157,
0.22771595418453217,
-0.020013760775327682,
-0.2812827229499817,
0.3096502721309662,
-0.2631171941757202,
0.30355530977249146,
0.33254531025886536,
-0.06200011819601059,
-0.2675914168357849,
-0.44278618693351746,
0.057068850845098495,
0.22180254757404327,
0.31226104497909546,
-0.2359411120414734,
0.03187809884548187,
-0.24131642282009125,
0.27593299746513367,
-0.2596198320388794,
-0.06879030913114548,
-0.31082090735435486,
-0.27101582288742065,
0.0826827734708786,
0.1858377605676651,
-0.2980929911136627,
0.001568748615682125,
0.09844237565994263,
0.1468932032585144,
0.040695950388908386,
-0.17941951751708984,
-0.34466809034347534,
-0.25681209564208984,
-0.33072012662887573,
0.15382319688796997,
0.41718313097953796,
0.19112960994243622,
0.03213728964328766,
-0.5453444719314575,
-0.06657478958368301,
0.06637419760227203,
-0.3313935399055481,
0.42051631212234497,
0.053025249391794205,
0.38964828848838806,
0.10973101109266281,
0.18300625681877136,
0.15267880260944366,
0.008379979990422726,
0.17136496305465698,
-0.16424670815467834,
-0.2798246145248413,
0.1611921638250351,
0.12587246298789978,
-0.08426674455404282,
-0.40609994530677795,
-0.6534028649330139,
-0.38367074728012085,
-0.34569045901298523,
-0.1765325963497162,
0.07613925635814667,
0.1804424673318863,
0.01669803448021412,
0.26533809304237366,
-0.08347155898809433,
-0.06487583369016647,
0.031073778867721558,
-0.40037432312965393,
-0.5593018531799316,
0.23701851069927216,
-0.2472582906484604,
-0.32716670632362366,
0.21870705485343933,
-0.15477673709392548,
0.3185238838195801,
-0.0712168887257576,
-0.31926876306533813,
-0.1477862447500229,
0.2032904326915741,
-0.10568836331367493,
-0.1612546145915985,
-0.08876525610685349,
0.2871702313423157,
0.008223552256822586,
-0.053765617311000824,
-0.4207533895969391,
-0.054493729025125504,
0.17092424631118774,
0.19958612322807312,
0.42035430669784546,
-0.17997431755065918,
0.051519088447093964,
-0.04396585375070572,
0.20581573247909546,
0.18506532907485962,
-0.05399070307612419,
0.2899092733860016,
0.21951857209205627,
0.2599388360977173,
0.03142136335372925,
0.01926824264228344,
0.013714906759560108,
0.04102599620819092,
-0.0721069797873497,
0.4868205785751343,
0.04266952723264694,
-0.306152880191803,
-0.21635553240776062,
0.0880308598279953,
-0.10229118168354034,
-0.2725226879119873,
0.19697625935077667,
0.042923275381326675,
-0.06729482859373093,
0.09870761632919312,
0.14031139016151428,
0.007662935182452202,
0.15963396430015564,
0.1412837654352188,
0.3013821244239807,
0.12040489166975021,
0.03421253710985184,
-0.5135780572891235,
-0.006341380532830954,
-0.1782427728176117,
0.09141264855861664,
-0.027523428201675415,
0.25343233346939087,
-0.09845346212387085,
-0.04901335760951042,
0.02357364445924759,
-0.24978379905223846,
0.4870568513870239,
-0.5414690971374512,
0.04838031157851219,
0.16924196481704712,
0.24795615673065186,
-0.01576957479119301,
-0.03473937511444092,
-0.2276928573846817,
-0.024700067937374115,
0.5308966636657715,
0.4362505376338959,
-0.4552212953567505,
-0.12727627158164978,
-0.0187380313873291,
0.2982265055179596,
-0.07468106597661972,
-0.31805193424224854,
-0.35205942392349243,
-0.3007793426513672,
-0.40966349840164185,
-0.0028197690844535828,
0.13175387680530548,
0.10298623889684677,
-0.141363263130188,
0.13890908658504486,
0.22285348176956177,
-0.08327244967222214,
0.07997402548789978,
0.3246529996395111,
0.3681007921695709,
-0.12290108948945999,
-0.10178214311599731,
0.11643169820308685,
0.26552894711494446,
0.16543513536453247,
0.8753127455711365,
-0.1018187552690506,
-0.0510765016078949,
0.3023250102996826,
-0.46676814556121826,
-0.040392227470874786,
0.20796117186546326,
0.07027566432952881,
-0.053062908351421356,
-0.12164507806301117,
-0.0746707022190094,
-0.12708057463169098,
0.31697946786880493,
0.09558191895484924,
0.03906015679240227,
0.07557293772697449,
-0.2932276725769043,
0.08225811272859573,
-0.011838178150355816,
-0.004081308841705322,
0.31600096821784973,
-0.3818439245223999,
-0.2798207104206085,
0.3606131672859192,
0.0750604048371315,
0.9137191772460938,
0.13133099675178528,
-0.13729754090309143,
0.1675451695919037,
0.00321800634264946,
0.0871337354183197,
-0.6460006833076477,
0.06606234610080719,
-0.33674633502960205,
0.003935171291232109,
-0.018102116882801056,
-0.17465639114379883,
0.29125067591667175,
0.27605146169662476,
-0.47448989748954773,
0.068083256483078,
0.06536102294921875,
0.2525936961174011,
0.15592844784259796,
0.47082144021987915,
-0.08753926306962967,
0.06785343587398529,
-0.07981008291244507,
0.247290700674057,
0.11776087433099747,
0.29141902923583984,
-0.11140557378530502,
-0.20853754878044128,
-0.27044478058815,
-0.20355430245399475,
-0.09114880114793777,
0.31983229517936707,
-0.20799948275089264,
-0.2995401620864868,
-0.20088016986846924,
0.05045348405838013,
0.1600484848022461,
-0.09954443573951721,
0.2585673928260803,
0.23235562443733215,
-0.21022558212280273,
0.29595768451690674,
0.06097298860549927,
0.1094822809100151,
0.13492104411125183,
-0.08083716034889221,
0.2567538917064667,
-0.20473170280456543,
-0.3928195536136627,
0.21514460444450378,
-0.1887410283088684,
-0.015661872923374176,
0.06292414665222168,
-0.0942690372467041,
-0.0012567900121212006,
-0.20759476721286774,
-0.0390971302986145,
0.09000290930271149,
-0.06195972114801407,
-0.16855449974536896,
0.2097543179988861,
0.03325654938817024,
-0.3493492603302002,
0.06623098254203796,
-0.08012759685516357,
-0.3997659981250763,
-0.2977052927017212,
0.16856786608695984,
0.021237360313534737,
0.19168993830680847,
0.027868526056408882,
0.08283178508281708,
0.0808270201086998,
-0.3893086612224579,
0.1397186517715454,
-0.0309922993183136,
-0.4064875543117523,
0.08912861347198486,
-0.22633647918701172,
-0.3956250548362732,
-0.0026796176098287106,
0.0884854793548584,
0.17728321254253387,
0.025457657873630524,
0.09215198457241058,
-0.5307276844978333,
-0.09247586876153946,
-0.03392452746629715,
0.12126842141151428,
0.020701849833130836,
-0.013070685788989067,
0.16504864394664764,
-0.12216253578662872,
0.1140444204211235,
-0.424198180437088,
0.10567311197519302,
-0.23004688322544098,
0.22425390779972076,
-0.09677670896053314,
-0.17027169466018677,
0.1570107489824295,
-0.054100971668958664,
0.16089150309562683,
0.13806554675102234,
-0.2601372301578522,
-0.2863386571407318,
-0.21874183416366577,
0.11091115325689316,
0.09388257563114166,
-0.17788293957710266,
0.18093398213386536,
-0.10754019021987915,
-0.0536029152572155,
-0.04024818167090416,
0.03851889446377754,
-0.3479669690132141,
-0.09487052261829376,
0.04077756777405739,
0.1512417197227478,
0.027700718492269516,
-0.30492568016052246,
-0.1059567928314209,
-0.08628641068935394,
0.39115315675735474,
-0.10123060643672943,
0.11550683528184891,
0.05144888535141945,
0.0034247860312461853,
-0.19195716083049774,
0.012695930898189545,
-0.08023013174533844,
0.3754844069480896,
0.17740784585475922,
-0.07036104798316956,
0.08216147124767303,
-0.13333190977573395,
0.2753496766090393,
0.3785672187805176,
-0.22138890624046326,
0.12659813463687897,
0.24638044834136963,
0.3222956657409668,
-0.33609452843666077,
-0.02760324813425541,
0.28152909874916077,
-0.12585248053073883,
0.26159265637397766,
0.278731107711792,
0.3865847587585449,
0.10285355150699615,
0.28586864471435547,
0.070370614528656,
0.549225389957428,
0.26316529512405396,
0.21571728587150574,
0.5309292674064636,
-0.36221474409103394,
0.3818110525608063,
0.23383155465126038,
-0.1834549456834793,
0.07042735815048218,
0.2670248746871948,
0.09541676938533783,
0.3186638653278351,
-0.03942505270242691,
0.09448367357254028,
-0.10560067743062973,
-0.19060808420181274,
0.42062246799468994,
0.4159376919269562,
0.1454240083694458,
0.1672104001045227,
0.08358066529035568,
0.05845876410603523,
-0.3469393849372864,
-0.20211850106716156,
-0.18094125390052795,
0.14353476464748383,
-0.1257597804069519,
0.05899648740887642,
-0.374990850687027,
-0.3207755982875824,
-0.45368248224258423,
0.15469683706760406,
-0.022993672639131546,
0.1551850140094757,
-0.06336411833763123,
0.2067469209432602,
-0.15462884306907654,
-0.2629513740539551,
-0.20356535911560059,
-0.012901369482278824,
-0.16929355263710022,
-0.43106234073638916,
0.5242277383804321,
0.26157113909721375,
-0.1881941854953766,
0.11098358035087585,
0.022493360564112663,
0.29868656396865845,
0.35281410813331604,
0.020952461287379265,
-0.3488321900367737,
-0.059261780232191086,
0.018132755532860756,
-0.1627749651670456,
0.15731105208396912,
0.136734277009964,
-0.15924477577209473,
0.42302095890045166,
0.21043053269386292,
-0.28537964820861816,
-0.07244229316711426,
0.2314489781856537,
-0.25849416851997375,
-0.05346021056175232,
0.20169366896152496,
-0.03302174061536789,
0.24214154481887817,
-0.272603839635849,
-0.25961947441101074,
-0.45548805594444275,
0.012861489318311214,
0.08446449041366577,
-0.0961105078458786,
0.23597243428230286,
-0.3370372951030731,
0.1264188289642334,
-0.04160105809569359,
0.41589272022247314,
0.015460412949323654,
0.017790134996175766,
-0.34264278411865234,
-0.2625887989997864,
-0.6446928381919861,
0.23323707282543182,
-0.3489569425582886,
-0.13423635065555573,
-0.10711812227964401,
0.09958192706108093,
0.32398462295532227,
0.29024243354797363,
-0.08742782473564148,
0.413095086812973,
0.13895486295223236,
0.07628001272678375,
-0.5194700360298157,
-0.049268800765275955,
0.03777485340833664,
0.2134663164615631,
-0.0587235651910305,
-0.41777241230010986,
0.12665747106075287,
-0.08228001743555069,
0.10507982224225998,
-0.15932291746139526,
-0.3149452805519104,
0.12209273874759674,
0.18695932626724243,
0.4133222997188568,
0.15128318965435028,
0.5235422849655151,
-0.28056812286376953,
-0.2526018023490906,
-0.042281460016965866,
0.024570530280470848,
-0.13537628948688507,
-0.07030204683542252,
0.2694169878959656,
0.40420088171958923,
-0.061602622270584106,
0.028458766639232635,
-0.4602065980434418,
0.11304469406604767,
0.05008263885974884,
-0.05055849254131317,
-0.2788103520870209,
0.16704124212265015,
-0.17438149452209473,
0.04528133571147919,
0.08326657861471176,
0.2646573781967163,
-0.09746980667114258,
0.08854695409536362,
-0.20630687475204468,
0.06970657408237457,
0.3789253830909729,
0.07341256737709045,
-0.22091901302337646,
-0.06221076101064682,
-0.10841572284698486,
0.0362757109105587,
-0.021237412467598915,
-0.31772705912590027,
0.16606777906417847,
0.2644011974334717,
0.09575200825929642,
-0.029390299692749977,
0.14062964916229248,
0.27769333124160767,
-0.050084710121154785,
-0.03851919621229172,
0.09661202132701874,
0.4267514944076538,
-0.2749609351158142,
0.12965527176856995,
-0.2082516849040985
] |
https://github.com/huggingface/datasets/pull/429 | mlsum | Hi @RachelKer :)
Thanks for adding MLSUM !
To fix the CI I think you just have to rebase from master | Hello,
The tests for the load_real_data fail, as there is no default language subset to download it looks for a file that does not exist. This bug does not happen when using the load_dataset function, as it asks you to specify a language if you do not, so I submit this PR anyway. The dataset is avalaible on : https://gitlab.lip6.fr/scialom/mlsum_data | 21 | text: mlsum
Hello,
The tests for the load_real_data fail, as there is no default language subset to download it looks for a file that does not exist. This bug does not happen when using the load_dataset function, as it asks you to specify a language if you do not, so I submit this PR anyway. The dataset is avalaible on : https://gitlab.lip6.fr/scialom/mlsum_data
Hi @RachelKer :)
Thanks for adding MLSUM !
To fix the CI I think you just have to rebase from master | [
-0.2737111747264862,
0.04337695240974426,
-0.07631896436214447,
0.11820974946022034,
0.3036800026893616,
-0.02737734466791153,
0.2855320870876312,
0.22658278048038483,
0.08446532487869263,
0.3399125337600708,
0.059857651591300964,
-0.03141528367996216,
-0.020800258964300156,
0.3243471384048462,
0.006012058816850185,
0.04970751702785492,
-0.0980047658085823,
-0.13097825646400452,
-0.03261313587427139,
-0.10854105651378632,
0.03665433079004288,
0.2710760533809662,
-0.051647961139678955,
-0.07586954534053802,
-0.21672721207141876,
0.050910238176584244,
-0.12390449643135071,
0.39612212777137756,
-0.328387975692749,
-0.13880816102027893,
0.10891643166542053,
0.06986931711435318,
0.17568805813789368,
0.518254280090332,
-0.00010417902376502752,
-0.003457583487033844,
0.43986743688583374,
-0.3973561227321625,
-0.3811798095703125,
-0.4110724925994873,
0.1449154019355774,
0.060310184955596924,
-0.07739324867725372,
-0.20087453722953796,
-0.35273757576942444,
0.3398846685886383,
-0.14489254355430603,
-0.45736318826675415,
0.12210328876972198,
0.4694790542125702,
0.3510054349899292,
0.22429710626602173,
-0.31206417083740234,
-0.3344893157482147,
0.3550037443637848,
0.22233931720256805,
-0.056132666766643524,
0.5028898119926453,
0.3352125287055969,
0.13578401505947113,
0.1496872901916504,
0.17007984220981598,
0.009248165413737297,
-0.1177753359079361,
-0.18578720092773438,
-0.09495788812637329,
0.25913724303245544,
-0.38994044065475464,
0.23263290524482727,
0.10878676176071167,
0.719066858291626,
-0.15111806988716125,
-0.08649013191461563,
0.2556791305541992,
0.050678808242082596,
-0.20559974014759064,
0.4327889680862427,
0.15287579596042633,
-0.03677721694111824,
0.15210452675819397,
-0.049173079431056976,
-0.2111799716949463,
0.1298311948776245,
0.08357788622379303,
-0.21916551887989044,
0.2887643277645111,
-0.15856339037418365,
0.06909291446208954,
0.040974847972393036,
0.0686330795288086,
-0.03767110034823418,
-0.0025838036090135574,
-0.2623477280139923,
0.0687219500541687,
-0.09033253788948059,
-0.19020666182041168,
-0.15913435816764832,
0.3273327648639679,
0.0739535316824913,
0.26399001479148865,
-0.003947206772863865,
0.09802952408790588,
-0.02364698424935341,
0.1419079750776291,
0.10243712365627289,
0.16524067521095276,
0.17518001794815063,
0.0019447356462478638,
0.22857624292373657,
0.026892052963376045,
-0.01050073653459549,
0.0724274143576622,
-0.20104414224624634,
-0.10891973972320557,
-0.2217370569705963,
0.16799798607826233,
0.009499665349721909,
-0.3125273287296295,
-0.26214149594306946,
0.11946221441030502,
0.06477654725313187,
-0.05759294331073761,
-0.013234307058155537,
0.4272039830684662,
-0.05941770225763321,
0.04200291633605957,
0.1525549292564392,
0.36026060581207275,
-0.19244049489498138,
-0.4564557671546936,
-0.1965206265449524,
0.2041267603635788,
-0.3929130434989929,
-0.015995658934116364,
0.22785185277462006,
-0.2164347767829895,
0.47912582755088806,
-0.043226566165685654,
0.33850544691085815,
-0.17698056995868683,
-0.08006253093481064,
-0.08596216142177582,
-0.03179481625556946,
0.4067840874195099,
0.2853739261627197,
0.08372320234775543,
0.3511236906051636,
-0.41454029083251953,
-0.010295405983924866,
0.13601946830749512,
-0.32985377311706543,
-0.05582594498991966,
-0.2869103252887726,
0.27418041229248047,
-0.25974828004837036,
0.0034624040126800537,
-0.25884971022605896,
0.03631167486310005,
-0.02001349627971649,
-0.05225613713264465,
0.04150751978158951,
-0.07115350663661957,
0.0391281358897686,
-0.010605295188724995,
0.16542501747608185,
0.4950305223464966,
-0.1851116269826889,
0.018471941351890564,
-0.26000821590423584,
-0.08723251521587372,
0.31478121876716614,
-0.021150927990674973,
-0.16233858466148376,
-0.051500506699085236,
-0.2596830725669861,
0.19894982874393463,
0.37916427850723267,
-0.3518761098384857,
-0.25839129090309143,
0.16287611424922943,
-0.2153349220752716,
-0.11557335406541824,
-0.10557492822408676,
-0.13811679184436798,
0.1718781739473343,
-0.06422789394855499,
0.15918302536010742,
0.19997702538967133,
-0.03357543796300888,
-0.036976058036088943,
-0.43160900473594666,
-0.17221255600452423,
-0.13760961592197418,
0.29299435019493103,
-0.004698637872934341,
0.05967261269688606,
0.4596160650253296,
-0.05634510889649391,
0.25400933623313904,
-0.09521950781345367,
-0.11737186461687088,
0.2648487091064453,
0.1766631156206131,
-0.17127707600593567,
0.04935546591877937,
0.06361724436283112,
-0.2599773705005646,
0.14609768986701965,
0.07060325145721436,
0.5432050228118896,
0.04085329547524452,
0.002318732440471649,
-0.44006189703941345,
-0.072633296251297,
-0.09828868508338928,
-0.07655413448810577,
0.2037615180015564,
0.19984394311904907,
-0.1696997880935669,
-0.01416611485183239,
-0.028255602344870567,
-0.05314720422029495,
-0.3732588291168213,
-0.12554913759231567,
0.018065018579363823,
0.24592344462871552,
-0.23798058927059174,
-0.09752898663282394,
0.10005156695842743,
-0.2701324224472046,
0.16592513024806976,
-0.23893879354000092,
-0.3929004669189453,
0.345281720161438,
0.013348288834095001,
0.23419779539108276,
0.021401826292276382,
0.0498921275138855,
0.18542957305908203,
-0.32909002900123596,
-0.017941469326615334,
0.0931849330663681,
0.07061492651700974,
0.17646008729934692,
-0.21795833110809326,
0.31568852066993713,
-0.11547988653182983,
-0.27008163928985596,
-0.025428352877497673,
0.10011414438486099,
0.6435048580169678,
-0.1769072562456131,
-0.31459569931030273,
-0.409685343503952,
0.39062947034835815,
0.22368291020393372,
-0.006111208349466324,
-0.006579982116818428,
-0.0030170828104019165,
-0.132220059633255,
0.4252493679523468,
-0.07326845824718475,
0.21872970461845398,
0.014256812632083893,
-0.07944194227457047,
-0.10932937264442444,
0.09842585772275925,
0.1635693609714508,
0.5703749656677246,
0.09689831733703613,
0.15610873699188232,
0.17714181542396545,
0.07357072085142136,
-0.2795902490615845,
0.3398410379886627,
-0.23295734822750092,
0.38281920552253723,
0.19272765517234802,
0.1143154725432396,
-0.1111942008137703,
-0.40743738412857056,
0.10612080991268158,
0.12878906726837158,
0.288747638463974,
-0.25512221455574036,
0.06389066576957703,
-0.13967463374137878,
0.26631107926368713,
-0.0054243868216872215,
-0.007191185839474201,
-0.19295169413089752,
-0.16705502569675446,
-0.038586944341659546,
0.11773726344108582,
-0.24609385430812836,
0.13180023431777954,
-0.10731178522109985,
0.20171159505844116,
0.007435569539666176,
-0.23973111808300018,
-0.15102419257164001,
-0.2928107976913452,
-0.29247188568115234,
0.15497946739196777,
0.34429723024368286,
-0.031145494431257248,
0.1075362041592598,
-0.5415762662887573,
-0.03475937992334366,
-0.09679966419935226,
-0.37979283928871155,
0.3764980733394623,
0.1867992877960205,
0.41181546449661255,
-0.008678674697875977,
0.17447763681411743,
0.084455706179142,
0.0030560502782464027,
0.17734965682029724,
-0.3223125636577606,
-0.18187215924263,
0.1555028259754181,
0.032437365502119064,
-0.24064873158931732,
-0.3225543797016144,
-0.403553307056427,
-0.3657049536705017,
-0.2685948312282562,
-0.43538910150527954,
0.1639268696308136,
0.013435225933790207,
0.1928536295890808,
0.13358111679553986,
-0.19205638766288757,
0.07189389318227768,
-0.03561313450336456,
-0.5305662155151367,
-0.6242426633834839,
0.12771153450012207,
-0.21394897997379303,
-0.47288015484809875,
0.292720228433609,
-0.01140413898974657,
0.43736302852630615,
0.047013819217681885,
-0.4573596715927124,
-0.03056718036532402,
0.2397945374250412,
-0.024139385670423508,
-0.012036796659231186,
-0.055875442922115326,
0.23281915485858917,
-0.0828666239976883,
-0.17609387636184692,
-0.35305294394493103,
-0.09222784638404846,
0.09683511406183243,
0.22247150540351868,
0.3485000431537628,
-0.22050487995147705,
0.20649483799934387,
-0.05338068678975105,
0.15095429122447968,
0.19420580565929413,
-0.07213251292705536,
0.3617672920227051,
0.1554664820432663,
0.399514377117157,
-0.016655027866363525,
-0.12091933935880661,
0.17284008860588074,
0.00895071029663086,
-0.19204235076904297,
0.5914751887321472,
-0.11257640272378922,
-0.4626082181930542,
-0.3039797842502594,
-0.041022058576345444,
-0.012003175914287567,
-0.23048245906829834,
0.11692366003990173,
-0.35251638293266296,
0.08118514716625214,
0.09779651463031769,
0.038999319076538086,
-0.09209656715393066,
-0.01149690430611372,
0.18943364918231964,
0.31861448287963867,
-0.006300479173660278,
0.009236185811460018,
-0.34771591424942017,
0.028995564207434654,
-0.07363792508840561,
0.18190744519233704,
0.011371523141860962,
0.4523905813694,
-0.25476303696632385,
0.02073514461517334,
0.0650826171040535,
-0.08092812448740005,
0.2224617749452591,
-0.4580935835838318,
-0.01666753739118576,
0.16743682324886322,
0.06097683310508728,
-0.05790604650974274,
-0.1721806675195694,
-0.1863953024148941,
0.21458207070827484,
0.40767902135849,
0.4270190894603729,
-0.1662333905696869,
-0.1460162103176117,
0.14238004386425018,
0.23875264823436737,
-0.12159563601016998,
-0.1526997834444046,
-0.3733430802822113,
-0.42725133895874023,
-0.4771995544433594,
0.13203300535678864,
0.07433908432722092,
0.04601721465587616,
-0.249540776014328,
0.22902105748653412,
0.10329627245664597,
0.10645609349012375,
0.052019063383340836,
0.20041438937187195,
0.22554415464401245,
0.20516224205493927,
-0.13608060777187347,
0.009347314015030861,
0.13687148690223694,
0.10253780335187912,
0.8224062323570251,
0.022663885727524757,
-0.03660561144351959,
0.36499279737472534,
-0.31662681698799133,
0.12086866050958633,
0.25875476002693176,
0.02976568043231964,
-0.2074820101261139,
0.10825295001268387,
-0.04684245586395264,
-0.11070002615451813,
0.2630178928375244,
-0.02820168249309063,
0.04630298912525177,
-0.2521924376487732,
-0.19964027404785156,
0.1126527488231659,
-0.12092766165733337,
0.0299903005361557,
0.3094555139541626,
-0.27752751111984253,
-0.21022582054138184,
0.27307945489883423,
0.18725401163101196,
0.9398185610771179,
0.09910392016172409,
-0.0026831291615962982,
-0.017452489584684372,
0.34520334005355835,
0.007853304967284203,
-0.2446676641702652,
-0.07901652157306671,
-0.2599217891693115,
-0.3069591522216797,
0.06604990363121033,
-0.08219464123249054,
0.22793641686439514,
0.12008967995643616,
-0.40824151039123535,
0.03529342636466026,
-0.025203216820955276,
0.3939492404460907,
0.31568703055381775,
0.13234518468379974,
-0.08620420843362808,
0.04417844116687775,
-0.06177233159542084,
0.26737064123153687,
0.07008284330368042,
0.31036072969436646,
-0.169694185256958,
-0.08202917873859406,
-0.18335586786270142,
-0.1204453557729721,
-0.20559968054294586,
0.2449139952659607,
-0.3566378951072693,
-0.1841600239276886,
-0.42803850769996643,
-0.11280811578035355,
0.26575565338134766,
-0.0027806945145130157,
0.4687598943710327,
0.4183984696865082,
-0.22866827249526978,
0.35589420795440674,
0.15366137027740479,
0.11022541671991348,
0.10564852505922318,
0.036364976316690445,
0.24403168261051178,
-0.189750075340271,
-0.4344400465488434,
0.25351768732070923,
-0.09697522222995758,
0.008169170469045639,
0.13521775603294373,
-0.11203046143054962,
0.06992952525615692,
-0.12703554332256317,
-0.09427127242088318,
-0.059234485030174255,
0.04713228717446327,
-0.1971680372953415,
0.23178400099277496,
-0.046333327889442444,
-0.21417734026908875,
-0.06693088263273239,
0.22613713145256042,
-0.42564335465431213,
-0.22419117391109467,
0.24380254745483398,
0.13128472864627838,
-0.1438782662153244,
0.15970882773399353,
0.09802193939685822,
0.04134766012430191,
-0.3594897985458374,
0.06786590069532394,
-0.11525317281484604,
-0.41909298300743103,
0.08213145285844803,
-0.0767572671175003,
-0.29515624046325684,
-0.06308472901582718,
0.4125980734825134,
0.15110912919044495,
-0.055051691830158234,
0.038023706525564194,
-0.44137173891067505,
-0.32656073570251465,
-0.05897362530231476,
-0.03666515275835991,
0.11247798800468445,
0.05372203141450882,
0.07108958065509796,
-0.04179967939853668,
0.07400497049093246,
-0.4473447799682617,
0.01782025396823883,
-0.3970067799091339,
0.2053316980600357,
0.31410008668899536,
0.020769352093338966,
0.09679491072893143,
-0.014989558607339859,
0.17968234419822693,
0.00764460489153862,
-0.1609577238559723,
-0.33908799290657043,
-0.067754827439785,
0.12567508220672607,
0.049812182784080505,
-0.11883047968149185,
0.2413501739501953,
-0.1809912770986557,
-0.04066479578614235,
-0.08762498944997787,
0.07169637084007263,
-0.1929403841495514,
-0.018850967288017273,
-0.14155030250549316,
0.02702135220170021,
0.006461292505264282,
-0.23726606369018555,
-0.06932826340198517,
0.0027141422033309937,
0.26834094524383545,
-0.20546945929527283,
0.07427117228507996,
0.08706167340278625,
-0.07551981508731842,
0.0003024121397174895,
0.02925940975546837,
0.007924467325210571,
0.45008254051208496,
0.012933816760778427,
-0.17697454988956451,
0.20747727155685425,
0.16445264220237732,
0.0934576466679573,
0.06085225194692612,
-0.2868940830230713,
0.08152540028095245,
0.2662819027900696,
0.35630080103874207,
-0.4439266622066498,
-0.09355611354112625,
0.08929945528507233,
-0.19605161249637604,
0.09487590193748474,
0.255836546421051,
0.4073081910610199,
-0.05155933275818825,
0.4016428589820862,
0.10328949242830276,
0.40298992395401,
-0.057889215648174286,
0.24026770889759064,
0.2831590175628662,
-0.20215429365634918,
0.29541015625,
0.1832675039768219,
-0.16584646701812744,
-0.059485189616680145,
0.2641006112098694,
-0.015116207301616669,
0.3357647657394409,
0.04510456323623657,
0.07112953066825867,
-0.20058265328407288,
-0.4054916203022003,
0.610316812992096,
0.10452081263065338,
-0.003924757242202759,
0.11373446881771088,
0.11798163503408432,
-0.10935945063829422,
-0.2964356541633606,
-0.20306183397769928,
-0.2876865267753601,
0.041020046919584274,
-0.22241458296775818,
0.10130469501018524,
-0.3908587396144867,
-0.23824599385261536,
-0.32831668853759766,
0.18570339679718018,
-0.11824429035186768,
0.3785565495491028,
-0.03474639356136322,
0.2840808629989624,
-0.12183260917663574,
-0.2739155888557434,
-0.3185712993144989,
0.09167693555355072,
-0.24080297350883484,
-0.3599003553390503,
0.5639927983283997,
0.2082568109035492,
-0.07541203498840332,
0.054285928606987,
0.05025260150432587,
0.44206783175468445,
0.25526973605155945,
0.18534334003925323,
-0.22089022397994995,
-0.03024117276072502,
-0.0061204805970191956,
-0.21866931021213531,
0.13195857405662537,
0.3766925036907196,
0.012865675613284111,
0.1600380688905716,
0.24751800298690796,
-0.2732033133506775,
0.06868812441825867,
0.13159973919391632,
-0.3516009449958801,
-0.080829918384552,
0.127161905169487,
0.09104184806346893,
0.19288578629493713,
-0.4346974194049835,
-0.05717620998620987,
-0.2786702513694763,
0.1745830774307251,
0.2582545578479767,
-0.09521524608135223,
0.17415973544120789,
-0.26603808999061584,
0.14930196106433868,
0.11470748484134674,
0.4187791347503662,
0.113133005797863,
0.1293824166059494,
-0.30490559339523315,
-0.29232460260391235,
-0.6494157314300537,
0.2998526394367218,
0.024782968685030937,
0.08062521368265152,
0.03848147392272949,
-0.047346848994493484,
0.6116455793380737,
0.21415124833583832,
0.05105407536029816,
0.1860407590866089,
0.2889781594276428,
-0.14260752499103546,
-0.3890269100666046,
-0.00016040727496147156,
-0.008016623556613922,
0.15361127257347107,
-0.05491873621940613,
-0.40615910291671753,
0.053849585354328156,
-0.14078959822654724,
0.18970826268196106,
-0.21126140654087067,
-0.3458835482597351,
0.10437476634979248,
-0.061905279755592346,
0.45254001021385193,
0.05631079524755478,
0.4513409733772278,
-0.293119877576828,
-0.18487712740898132,
-0.09355290234088898,
-0.07878617197275162,
-0.05507015436887741,
0.04411032050848007,
0.19507665932178497,
0.26249605417251587,
0.0298448633402586,
-0.02530163899064064,
-0.33465951681137085,
-0.10970735549926758,
0.17133362591266632,
-0.0007620382239110768,
-0.28601089119911194,
-0.03586042672395706,
-0.0918620154261589,
0.015323365107178688,
0.08981852978467941,
0.23221838474273682,
-0.1301143616437912,
0.13796217739582062,
-0.17719337344169617,
0.01598982699215412,
0.5662386417388916,
-0.0016559269279241562,
-0.34082162380218506,
-0.17522090673446655,
0.02769313007593155,
-0.04804687947034836,
0.025129295885562897,
-0.10352639108896255,
0.24003008008003235,
0.19145315885543823,
0.110380619764328,
-0.17483913898468018,
0.28313174843788147,
0.1396690160036087,
0.1878635734319687,
0.026585381478071213,
0.15997524559497833,
0.16732162237167358,
-0.23276661336421967,
-0.10362184047698975,
-0.2766830325126648
] |
https://github.com/huggingface/datasets/pull/429 | mlsum | It looks like your PR does tons of changes in other datasets.
Maybe this is because of the merge from master ? | Hello,
The tests for the load_real_data fail, as there is no default language subset to download it looks for a file that does not exist. This bug does not happen when using the load_dataset function, as it asks you to specify a language if you do not, so I submit this PR anyway. The dataset is avalaible on : https://gitlab.lip6.fr/scialom/mlsum_data | 22 | text: mlsum
Hello,
The tests for the load_real_data fail, as there is no default language subset to download it looks for a file that does not exist. This bug does not happen when using the load_dataset function, as it asks you to specify a language if you do not, so I submit this PR anyway. The dataset is avalaible on : https://gitlab.lip6.fr/scialom/mlsum_data
It looks like your PR does tons of changes in other datasets.
Maybe this is because of the merge from master ? | [
-0.2766866087913513,
-0.03312402218580246,
-0.06681965291500092,
0.1992259919643402,
0.4062339663505554,
-0.050589561462402344,
0.1591511070728302,
0.24512924253940582,
0.09311309456825256,
0.30641019344329834,
-0.02816573902964592,
0.007948271930217743,
0.07643726468086243,
0.059778496623039246,
0.10499373078346252,
-0.007687948644161224,
0.057083845138549805,
-0.059270963072776794,
-0.05105865001678467,
-0.15191219747066498,
-0.040587980300188065,
0.19383776187896729,
-0.114595428109169,
-0.00874413549900055,
-0.34895163774490356,
0.15158432722091675,
-0.18813320994377136,
0.4715368151664734,
-0.2844185531139374,
-0.24234119057655334,
-0.07600853592157364,
0.09177573770284653,
0.1577897071838379,
0.5074684619903564,
-0.00010218245006399229,
-0.01921750232577324,
0.42180562019348145,
-0.35549911856651306,
-0.30309417843818665,
-0.260134756565094,
0.1166025772690773,
-0.03870115801692009,
-0.007901065051555634,
-0.11183230578899384,
-0.2196391224861145,
0.11785298585891724,
-0.174203559756279,
-0.3999735116958618,
-0.029681488871574402,
0.464207261800766,
0.3322429060935974,
0.20439587533473969,
-0.28110143542289734,
-0.36596715450286865,
0.413079172372818,
0.10391616076231003,
0.0433066189289093,
0.41159576177597046,
0.24467824399471283,
0.07969560474157333,
0.11508660763502121,
0.20258884131908417,
-0.026320330798625946,
-0.06338673830032349,
0.006241787225008011,
-0.03155498951673508,
0.39553093910217285,
-0.34703612327575684,
0.22192752361297607,
0.2613467276096344,
0.5789621472358704,
-0.2979062795639038,
-0.06879739463329315,
0.037258706986904144,
-0.04970738664269447,
-0.3221910297870636,
0.39387696981430054,
0.22991850972175598,
0.01142958365380764,
0.1377239227294922,
0.07904285937547684,
-0.11684881895780563,
0.18415987491607666,
0.001986078917980194,
-0.47166261076927185,
0.3879077732563019,
-0.08889525383710861,
0.06674838066101074,
0.16240985691547394,
0.05718209594488144,
-0.014539754949510098,
-0.13216274976730347,
-0.3094261884689331,
-0.13808220624923706,
-0.2624695301055908,
-0.10110235214233398,
-0.2341153621673584,
0.1400025486946106,
0.1167830154299736,
0.24204975366592407,
-0.09135154634714127,
0.08913113176822662,
-0.03998725116252899,
0.14793168008327484,
0.12425108253955841,
0.15752200782299042,
0.06922800838947296,
-0.020034803077578545,
0.23368221521377563,
-0.07389175891876221,
-0.0003342926502227783,
0.06780849397182465,
-0.07906915247440338,
-0.12304548174142838,
-0.1231156587600708,
0.10126782208681107,
0.01449340209364891,
-0.29766055941581726,
-0.32583242654800415,
0.13729213178157806,
-0.11013957113027573,
-0.15638130903244019,
-0.1360587328672409,
0.4610556662082672,
-0.0821826234459877,
0.19784420728683472,
0.13299958407878876,
0.41584938764572144,
-0.21320854127407074,
-0.3856399357318878,
-0.24053002893924713,
0.1348935216665268,
-0.5350908637046814,
0.04516087844967842,
0.057654742151498795,
-0.15777480602264404,
0.4149476885795593,
0.055408693850040436,
0.13385967910289764,
-0.24162831902503967,
-0.022797763347625732,
-0.16538779437541962,
0.1116393581032753,
0.31442391872406006,
0.30858027935028076,
0.06195138394832611,
0.23281286656856537,
-0.2527209520339966,
-0.06574782729148865,
0.13802987337112427,
-0.21097970008850098,
-0.08011914789676666,
-0.16654396057128906,
0.2978794574737549,
-0.22918996214866638,
0.07458512485027313,
-0.16531449556350708,
0.167673259973526,
-0.09804031997919083,
0.0017717741429805756,
0.14550483226776123,
-0.15998737514019012,
0.012313712388277054,
0.025837671011686325,
0.10538158565759659,
0.525726854801178,
-0.25344353914260864,
0.020912207663059235,
-0.11366799473762512,
-0.15405374765396118,
0.3440384268760681,
0.05831127241253853,
-0.06207052618265152,
0.04081049934029579,
-0.21977292001247406,
0.1632283627986908,
0.29395443201065063,
-0.1796521246433258,
-0.1698026955127716,
0.04905058071017265,
-0.27060800790786743,
-0.06914082914590836,
-0.003701023757457733,
-0.21410918235778809,
0.07640299946069717,
-0.14649425446987152,
0.24570515751838684,
0.12113390117883682,
0.10339697450399399,
0.04498621076345444,
-0.4303303360939026,
-0.09215286374092102,
-0.1007491797208786,
0.13598226010799408,
-0.03436356410384178,
0.03176458179950714,
0.3251188397407532,
0.13551202416419983,
0.22016718983650208,
-0.08501587808132172,
-0.01630721427500248,
0.3269272446632385,
0.11114577949047089,
-0.05277338624000549,
0.026460722088813782,
-0.113949254155159,
-0.1579417586326599,
0.16417208313941956,
0.09053847193717957,
0.5770938396453857,
0.09590522944927216,
0.031138859689235687,
-0.3347892761230469,
-0.0647350549697876,
-0.09632404148578644,
-0.18851350247859955,
0.2119954377412796,
0.3842315971851349,
-0.11697454750537872,
-0.05646534636616707,
-0.05953698605298996,
0.002969578839838505,
-0.2560132145881653,
-0.02587505429983139,
-0.08217716217041016,
0.28174054622650146,
-0.1418755054473877,
-0.19794392585754395,
0.02198464423418045,
-0.15230128169059753,
0.13131636381149292,
-0.1693078577518463,
-0.31197941303253174,
0.31865182518959045,
0.07485298812389374,
0.2265942543745041,
0.010316245257854462,
0.011076867580413818,
0.21979789435863495,
-0.21481996774673462,
0.1585162729024887,
-0.048954326659440994,
0.08300287276506424,
0.12843453884124756,
-0.29331064224243164,
0.2632557451725006,
0.08502092957496643,
-0.10449636727571487,
-0.030716340988874435,
-0.051705073565244675,
0.4969712197780609,
-0.13973334431648254,
-0.04468526691198349,
-0.28592023253440857,
0.3954278826713562,
0.35512301325798035,
0.18606522679328918,
0.1041741669178009,
-0.14069288969039917,
-0.03642425686120987,
0.5490500926971436,
-0.20685948431491852,
0.11744821071624756,
0.06451236456632614,
-0.34477609395980835,
-0.17707908153533936,
0.0929548591375351,
0.12871003150939941,
0.5972791314125061,
0.22551660239696503,
0.20180554687976837,
0.27400705218315125,
-0.07926040887832642,
-0.2979905903339386,
0.3624803125858307,
-0.10570111870765686,
0.3463437855243683,
0.1673070639371872,
0.17398393154144287,
-0.06922439485788345,
-0.4450264573097229,
0.1656857281923294,
0.10083936899900436,
0.32877445220947266,
-0.2540687322616577,
0.0660473182797432,
-0.30548328161239624,
0.2844265401363373,
-0.23402944207191467,
0.06230028718709946,
-0.3320925533771515,
-0.24522340297698975,
-0.10901109874248505,
0.08610311150550842,
-0.15285278856754303,
0.10071291774511337,
0.08572964370250702,
0.09656201303005219,
-0.03390975669026375,
-0.10598284751176834,
-0.2335338443517685,
-0.28150153160095215,
-0.41258594393730164,
0.14552363753318787,
0.36218374967575073,
0.004027494695037603,
0.08615117520093918,
-0.4383385479450226,
-0.11768374592065811,
-0.11379200965166092,
-0.3508312404155731,
0.4174080789089203,
0.0791601687669754,
0.23427310585975647,
-0.020078331232070923,
0.10985646396875381,
0.2935637831687927,
0.16076132655143738,
0.18023820221424103,
-0.30830270051956177,
-0.21748226881027222,
0.1433870494365692,
-0.023851750418543816,
-0.15388023853302002,
-0.21189187467098236,
-0.5271212458610535,
-0.33590927720069885,
-0.31401094794273376,
-0.17972685396671295,
0.21990488469600677,
0.03959076479077339,
-0.009715580381453037,
0.1246551126241684,
-0.14894025027751923,
-0.057403597980737686,
0.03349361941218376,
-0.48556700348854065,
-0.4037591814994812,
0.028904033824801445,
-0.08419562131166458,
-0.35074031352996826,
0.23657646775245667,
0.06151179224252701,
0.18809552490711212,
0.05242126062512398,
-0.4162197709083557,
-0.12843818962574005,
0.10532835870981216,
0.027522962540388107,
-0.07335852831602097,
0.010579707100987434,
0.2559216618537903,
0.027025043964385986,
-0.2229752391576767,
-0.27676647901535034,
-0.20087026059627533,
-0.022481374442577362,
0.19186186790466309,
0.3342476487159729,
-0.29489588737487793,
0.0790492445230484,
-0.1370779275894165,
0.21767646074295044,
0.23254746198654175,
-0.13897493481636047,
0.31329435110092163,
0.05379972606897354,
0.38725101947784424,
-0.15398573875427246,
-0.0057200295850634575,
0.09463535994291306,
-0.07724159955978394,
-0.06558755785226822,
0.5623312592506409,
-0.0743132010102272,
-0.32320544123649597,
-0.23620249330997467,
-0.03228791430592537,
-0.0014664456248283386,
-0.22675621509552002,
0.09917308390140533,
-0.17574182152748108,
-0.02099671959877014,
0.08097881078720093,
0.059247709810733795,
-0.09445798397064209,
-0.009122494608163834,
0.18952162563800812,
0.21503253281116486,
-0.16330283880233765,
0.026829669252038002,
-0.41946104168891907,
0.16876652836799622,
-0.13140329718589783,
0.24511873722076416,
-0.05360677093267441,
0.33582672476768494,
-0.1017245352268219,
-0.10722853243350983,
0.08450862020254135,
-0.05995246395468712,
0.4582279920578003,
-0.44834163784980774,
0.00269249826669693,
0.08440373837947845,
0.07510872185230255,
0.02961057610809803,
-0.20108523964881897,
-0.32532837986946106,
0.004029748495668173,
0.5452640056610107,
0.46752405166625977,
-0.2434414029121399,
-0.3091541826725006,
0.061417534947395325,
0.32977551221847534,
-0.05772847309708595,
-0.19325275719165802,
-0.4547788202762604,
-0.2236444652080536,
-0.456307977437973,
0.08422302454710007,
-0.005102371796965599,
0.03789203613996506,
-0.3458338975906372,
0.16244688630104065,
0.10415813326835632,
0.06444697827100754,
0.16390062868595123,
0.19552601873874664,
0.26781973242759705,
-0.020552165806293488,
-0.13511067628860474,
0.10870133340358734,
0.2928844690322876,
0.22117282450199127,
0.9346017837524414,
-0.13104306161403656,
-0.2100811004638672,
0.39228737354278564,
-0.3100872039794922,
0.1676371693611145,
0.38188281655311584,
0.23711228370666504,
-0.07927290350198746,
-0.05786720663309097,
0.00926651805639267,
-0.18182452023029327,
0.3069157600402832,
0.1609949767589569,
0.1639019101858139,
-0.2282009869813919,
-0.3492874503135681,
0.280519038438797,
0.1070592999458313,
-0.08112497627735138,
0.263858437538147,
-0.386028528213501,
-0.2508370280265808,
0.22298648953437805,
0.20125891268253326,
1.0403920412063599,
-0.028964556753635406,
0.1441567838191986,
0.034928303211927414,
0.10203278064727783,
0.14701277017593384,
-0.4222525358200073,
-0.02776940166950226,
-0.33155199885368347,
-0.18439844250679016,
0.009715469554066658,
-0.11337641626596451,
0.20889312028884888,
-0.030006490647792816,
-0.3257060945034027,
0.22099028527736664,
0.017701268196105957,
0.2551516890525818,
0.3191879391670227,
0.2616422474384308,
-0.03343307971954346,
0.03946905583143234,
-0.1913648247718811,
0.246905118227005,
0.1346825510263443,
0.20234373211860657,
-0.058909785002470016,
-0.16470392048358917,
-0.25328654050827026,
0.020357202738523483,
-0.1936679184436798,
0.21206960082054138,
-0.3269193470478058,
-0.3144535422325134,
-0.2844800651073456,
-0.09958940744400024,
0.06578311324119568,
-0.06759639084339142,
0.3153904676437378,
0.32076460123062134,
-0.18264316022396088,
0.3154031038284302,
0.17965832352638245,
0.23372219502925873,
0.16237272322177887,
-0.03554840758442879,
0.3351837694644928,
-0.14792108535766602,
-0.5016970634460449,
0.33526745438575745,
-0.10420066863298416,
0.055561602115631104,
-0.11016562581062317,
-0.049231842160224915,
0.12284994125366211,
-0.0985734835267067,
-0.09555155038833618,
0.06544274091720581,
-0.0049752723425626755,
-0.22782331705093384,
0.2570030987262726,
-0.07241110503673553,
-0.2870837152004242,
-0.03907898813486099,
0.15179838240146637,
-0.5221775770187378,
-0.31299635767936707,
0.2670503258705139,
0.07017824798822403,
-0.0028668679296970367,
0.0994378998875618,
0.12904025614261627,
0.05425218492746353,
-0.3544509708881378,
0.051718875765800476,
-0.07971049845218658,
-0.4905393719673157,
0.027324173599481583,
-0.11667077988386154,
-0.34342771768569946,
0.09195465594530106,
0.23019981384277344,
0.190434992313385,
-0.14638245105743408,
-0.013306628912687302,
-0.39897292852401733,
-0.16073468327522278,
-0.2223087102174759,
0.09119251370429993,
0.09789397567510605,
0.0719873309135437,
0.21582797169685364,
-0.16952857375144958,
0.11542230099439621,
-0.46368658542633057,
-0.016174104064702988,
-0.3260934054851532,
0.23822994530200958,
0.010166254825890064,
-0.07431875169277191,
0.000029000570066273212,
-0.10341911017894745,
0.21033607423305511,
0.09660964459180832,
-0.2771972417831421,
-0.35761380195617676,
-0.1773005872964859,
0.13261526823043823,
0.04155859723687172,
-0.10540027916431427,
0.08009383827447891,
-0.09370895475149155,
0.0908198356628418,
-0.14635057747364044,
0.07078945636749268,
-0.23528370261192322,
-0.09983798861503601,
-0.08327057957649231,
0.2044176310300827,
0.0289686918258667,
-0.14472544193267822,
-0.20453764498233795,
-0.06293641030788422,
0.14551526308059692,
-0.17804546654224396,
0.0280730240046978,
0.06105782836675644,
-0.03892391175031662,
-0.09114288538694382,
0.024365480989217758,
0.022674545645713806,
0.42686226963996887,
0.04089609533548355,
-0.12397205829620361,
0.07209250330924988,
0.016032749786973,
0.23429957032203674,
0.31517493724823,
-0.25878041982650757,
-0.13483408093452454,
0.22580313682556152,
0.3396797478199005,
-0.45334556698799133,
-0.1664002239704132,
0.12405994534492493,
-0.12471552938222885,
0.12466180324554443,
0.2866014838218689,
0.5469871163368225,
-0.06626315414905548,
0.2550463080406189,
0.13537803292274475,
0.37172621488571167,
-0.12581075727939606,
0.10247902572154999,
0.3798302710056305,
-0.06628048419952393,
0.33877187967300415,
0.3613877296447754,
0.07179751992225647,
-0.06659872084856033,
0.49351340532302856,
0.18590402603149414,
0.42219650745391846,
-0.07933545857667923,
-0.012028049677610397,
-0.17046725749969482,
-0.37056952714920044,
0.7188054919242859,
0.21483749151229858,
-0.0829145610332489,
0.07724195718765259,
0.15049409866333008,
0.04715462401509285,
-0.40929317474365234,
-0.27271294593811035,
-0.19373762607574463,
0.07472419738769531,
-0.17407062649726868,
0.04920472204685211,
-0.28190943598747253,
-0.22597390413284302,
-0.2583690285682678,
0.1936602145433426,
-0.10769391059875488,
0.19955264031887054,
0.06856115162372589,
0.2661539912223816,
-0.09564682841300964,
-0.4134174883365631,
-0.3933749496936798,
-0.03906150162220001,
-0.12348482757806778,
-0.37770015001296997,
0.5066526532173157,
0.25008904933929443,
-0.18517595529556274,
0.2187412679195404,
-0.022926049306988716,
0.4406414031982422,
0.35280776023864746,
0.024311672896146774,
-0.21032597124576569,
-0.04426756128668785,
-0.049098387360572815,
-0.12498491257429123,
0.06173953413963318,
0.3328474164009094,
-0.03075406327843666,
0.21932238340377808,
0.24620842933654785,
-0.3001779317855835,
0.028897762298583984,
0.134351447224617,
-0.2130499929189682,
-0.17884832620620728,
0.39672109484672546,
0.11231875419616699,
0.08207931369543076,
-0.4037477374076843,
-0.03560710698366165,
-0.3115023672580719,
0.2849268913269043,
0.39447978138923645,
-0.08162502199411392,
0.21910050511360168,
-0.2557871341705322,
0.16063369810581207,
0.22178234159946442,
0.39201676845550537,
0.05773752182722092,
0.0924338847398758,
-0.2942284941673279,
-0.09609895944595337,
-0.6899151802062988,
0.4301883280277252,
-0.1792195737361908,
-0.022999335080385208,
0.05197833105921745,
-0.13879956305027008,
0.5292622447013855,
0.24990427494049072,
-0.04592452943325043,
0.34965160489082336,
0.20019222795963287,
-0.01000240445137024,
-0.5996702909469604,
-0.0852384865283966,
-0.03720229119062424,
0.19145098328590393,
0.024234123528003693,
-0.3124828338623047,
0.1703452467918396,
-0.21270950138568878,
0.188684344291687,
-0.2562856674194336,
-0.21631599962711334,
0.16710735857486725,
0.20598649978637695,
0.458335816860199,
0.09088519215583801,
0.5287997722625732,
-0.32110023498535156,
-0.192134290933609,
-0.014233816415071487,
0.02871752716600895,
-0.183961421251297,
-0.03911494463682175,
0.05387040972709656,
0.15690138936042786,
0.024488644674420357,
-0.19998231530189514,
-0.3153740465641022,
0.10705443471670151,
0.2244369238615036,
0.04185076057910919,
-0.24039793014526367,
-0.07345829159021378,
0.025619149208068848,
-0.014446805231273174,
0.1069464385509491,
0.2968776822090149,
-0.006182581186294556,
0.042283833026885986,
-0.27942216396331787,
0.05027090013027191,
0.5516360998153687,
0.005029371939599514,
-0.3871556222438812,
-0.19430018961429596,
0.0033661499619483948,
0.0347791351377964,
0.03336643427610397,
-0.2843429446220398,
0.21135598421096802,
0.274293452501297,
0.03480399399995804,
-0.27479276061058044,
0.27262377738952637,
0.07785843312740326,
0.15013530850410461,
-0.02354021742939949,
0.12792560458183289,
0.2369946539402008,
-0.32856816053390503,
0.01950088143348694,
-0.33715081214904785
] |
https://github.com/huggingface/datasets/pull/429 | mlsum | Hmm, I see, sorry I messed up somewhere. Maybe it's easier if we close the pull request and I do another one ? | Hello,
The tests for the load_real_data fail, as there is no default language subset to download it looks for a file that does not exist. This bug does not happen when using the load_dataset function, as it asks you to specify a language if you do not, so I submit this PR anyway. The dataset is avalaible on : https://gitlab.lip6.fr/scialom/mlsum_data | 23 | text: mlsum
Hello,
The tests for the load_real_data fail, as there is no default language subset to download it looks for a file that does not exist. This bug does not happen when using the load_dataset function, as it asks you to specify a language if you do not, so I submit this PR anyway. The dataset is avalaible on : https://gitlab.lip6.fr/scialom/mlsum_data
Hmm, I see, sorry I messed up somewhere. Maybe it's easier if we close the pull request and I do another one ? | [
-0.23025359213352203,
-0.0791454017162323,
-0.09820830821990967,
0.13864223659038544,
0.25666260719299316,
-0.06348124891519547,
0.16016347706317902,
0.17165258526802063,
0.17028428614139557,
0.24987804889678955,
0.18081063032150269,
-0.041523322463035583,
0.011841152794659138,
0.11590958386659622,
0.15761400759220123,
-0.042867667973041534,
-0.0026826560497283936,
-0.13983818888664246,
0.1764296591281891,
-0.1223970279097557,
-0.11267071217298508,
0.30185914039611816,
-0.18589895963668823,
-0.0936332494020462,
-0.15505677461624146,
0.0571962371468544,
-0.09459342062473297,
0.4484102427959442,
-0.41877099871635437,
-0.15224139392375946,
0.14036397635936737,
0.019513264298439026,
0.18058916926383972,
0.42806780338287354,
-0.00010445251973578706,
-0.10983027517795563,
0.46455198526382446,
-0.38449469208717346,
-0.2548016905784607,
-0.4810584783554077,
0.0070053935050964355,
-0.018980203196406364,
-0.04760336875915527,
-0.2088952362537384,
-0.22418054938316345,
0.15781976282596588,
-0.11172953248023987,
-0.5328295230865479,
0.11473777145147324,
0.4600049555301666,
0.3136368691921234,
0.18787585198879242,
-0.2389991283416748,
-0.3863403797149658,
0.43967339396476746,
0.207672581076622,
-0.06075076758861542,
0.4375242292881012,
0.4240546226501465,
0.03520598262548447,
0.22301626205444336,
0.19309037923812866,
0.007107743993401527,
-0.041382815688848495,
-0.10262662917375565,
-0.08469851315021515,
0.0862167626619339,
-0.4135444760322571,
0.19098952412605286,
0.23140519857406616,
0.6417228579521179,
-0.30625319480895996,
-0.15505190193653107,
0.07029265910387039,
0.018853817135095596,
-0.21000605821609497,
0.32456761598587036,
0.34561580419540405,
-0.07370147109031677,
0.1535567194223404,
0.0815434455871582,
-0.3129335343837738,
0.16097311675548553,
0.12154091149568558,
-0.2734242081642151,
0.3891668915748596,
-0.12126213312149048,
0.04802417755126953,
0.08535513281822205,
0.021897364407777786,
0.023502826690673828,
0.023766811937093735,
-0.19511526823043823,
0.01757972687482834,
-0.32030925154685974,
-0.1705912947654724,
-0.19209465384483337,
0.0004836916923522949,
0.26048216223716736,
0.21241390705108643,
0.009942907840013504,
0.13166406750679016,
-0.13514591753482819,
0.11627938598394394,
0.1428312063217163,
0.30379244685173035,
0.23447978496551514,
-0.06985506415367126,
0.1917232722043991,
-0.008423581719398499,
0.09483030438423157,
0.05930091068148613,
-0.12147791683673859,
-0.09890173375606537,
-0.1847752034664154,
0.19637572765350342,
0.10115176439285278,
-0.23469960689544678,
-0.27449148893356323,
0.05976886302232742,
-0.25091904401779175,
-0.13507984578609467,
-0.1584903746843338,
0.3539774715900421,
-0.0298675075173378,
0.14314040541648865,
0.1887802630662918,
0.4456135630607605,
-0.16267406940460205,
-0.47805672883987427,
-0.22128494083881378,
0.30426257848739624,
-0.39080744981765747,
0.021072909235954285,
0.2047746181488037,
-0.1801988035440445,
0.4994654357433319,
-0.02312096580862999,
0.08026298880577087,
-0.16393521428108215,
0.10196228325366974,
-0.054925620555877686,
0.02398236095905304,
0.46672797203063965,
0.3551737070083618,
0.06762397289276123,
0.32680952548980713,
-0.20531722903251648,
-0.13554933667182922,
0.20023521780967712,
-0.3415951430797577,
-0.10074340552091599,
-0.2310589700937271,
0.29573529958724976,
-0.2732580900192261,
0.06046890467405319,
-0.33847662806510925,
0.19943195581436157,
-0.17960748076438904,
0.11948694288730621,
0.18540284037590027,
-0.10863503813743591,
0.06789849698543549,
0.0005216425051912665,
0.20851123332977295,
0.4543471336364746,
-0.2728142738342285,
0.03734087198972702,
-0.3786071538925171,
-0.06235750392079353,
0.33836767077445984,
0.024657053872942924,
-0.16295811533927917,
-0.04763800650835037,
-0.310138076543808,
0.5138086080551147,
0.42519527673721313,
-0.3201172649860382,
-0.16601452231407166,
0.07572223246097565,
-0.32709789276123047,
-0.0742209181189537,
-0.05685921758413315,
-0.19386370480060577,
0.11890221387147903,
0.014097935520112514,
0.3034517168998718,
0.10627545416355133,
0.07606272399425507,
-0.06211882829666138,
-0.4231525957584381,
-0.3217643201351166,
-0.05654005706310272,
0.24033887684345245,
0.027938634157180786,
0.05627846717834473,
0.36025798320770264,
0.13049358129501343,
0.2684035003185272,
0.0026884712278842926,
-0.11214395612478256,
0.2726297974586487,
0.27041390538215637,
-0.15291054546833038,
0.0034974729642271996,
-0.12288148701190948,
-0.30104535818099976,
0.20543283224105835,
0.10601097345352173,
0.6640453338623047,
-0.03261193633079529,
0.002309538424015045,
-0.38826894760131836,
-0.012944892048835754,
-0.04160764440894127,
-0.09631918370723724,
0.1873125433921814,
0.1543712019920349,
-0.17260323464870453,
0.027927197515964508,
-0.16289742290973663,
-0.04258667677640915,
-0.44401177763938904,
-0.06257694959640503,
-0.05628042295575142,
0.28981027007102966,
-0.16290052235126495,
-0.14768435060977936,
0.07594002038240433,
-0.3424837291240692,
0.2014385163784027,
-0.1902456134557724,
-0.2720280885696411,
0.2813853919506073,
0.08460360020399094,
0.058522600680589676,
-0.051539450883865356,
0.1119297593832016,
0.2804756462574005,
-0.2649398148059845,
0.024211421608924866,
0.045846156775951385,
0.021122075617313385,
0.13465765118598938,
-0.21539264917373657,
0.2733950614929199,
0.13076341152191162,
-0.16576185822486877,
-0.08075796812772751,
0.05746334791183472,
0.5813987255096436,
-0.11285413056612015,
-0.1587131917476654,
-0.23730605840682983,
0.4020189046859741,
0.23175206780433655,
0.059235457330942154,
-0.04395323991775513,
-0.07899998873472214,
-0.03527287393808365,
0.5800227522850037,
-0.15031544864177704,
0.24168282747268677,
0.07473281025886536,
-0.22625026106834412,
-0.12177767604589462,
0.25155794620513916,
0.12216708064079285,
0.4966377019882202,
0.16167286038398743,
0.064508818089962,
0.15805648267269135,
-0.009523930959403515,
-0.2853272259235382,
0.29482582211494446,
-0.10078215599060059,
0.3943447768688202,
0.049230434000492096,
0.1343054622411728,
-0.18737363815307617,
-0.4825561046600342,
0.06929706037044525,
0.10028276592493057,
0.35534825921058655,
-0.27085843682289124,
-0.005220158025622368,
-0.20082351565361023,
0.19522243738174438,
-0.139033704996109,
0.04546813294291496,
-0.31660932302474976,
-0.2227383255958557,
-0.06358209252357483,
0.08091957122087479,
-0.1573249250650406,
0.044999390840530396,
0.013203367590904236,
0.21586638689041138,
0.07182437181472778,
-0.22949282824993134,
-0.2781482934951782,
-0.2670873701572418,
-0.2437974512577057,
0.15036731958389282,
0.3678255081176758,
0.06533920019865036,
0.133061021566391,
-0.47346851229667664,
-0.14859747886657715,
-0.1581437736749649,
-0.32699504494667053,
0.42829233407974243,
0.11569033563137054,
0.2207142412662506,
0.06794923543930054,
0.23583319783210754,
0.17887012660503387,
0.04529665783047676,
0.09957417845726013,
-0.26554930210113525,
-0.20368483662605286,
0.039536379277706146,
0.07657387852668762,
-0.10352637618780136,
-0.32385244965553284,
-0.4961937367916107,
-0.3451842963695526,
-0.26264601945877075,
-0.18917514383792877,
0.15088975429534912,
-0.06776268780231476,
0.1407613754272461,
0.2168327420949936,
-0.09625796973705292,
0.06720481812953949,
-0.02531980164349079,
-0.4350994825363159,
-0.47173428535461426,
0.06008877605199814,
-0.026002148166298866,
-0.3910711109638214,
0.34093475341796875,
-0.005817161872982979,
0.1930120587348938,
0.12203526496887207,
-0.42537081241607666,
-0.20706678926944733,
0.16727504134178162,
0.011508353054523468,
-0.07788967341184616,
-0.015643620863556862,
0.2864547371864319,
-0.10929407924413681,
-0.1771964430809021,
-0.26344606280326843,
-0.16393032670021057,
0.07724346220493317,
0.3745999038219452,
0.26116856932640076,
-0.09637347608804703,
0.10742556303739548,
-0.06756733357906342,
0.22674451768398285,
0.12935452163219452,
-0.10490480065345764,
0.3516496419906616,
0.12573853135108948,
0.31794607639312744,
-0.002804376184940338,
-0.026287445798516273,
-0.024648593738675117,
0.04369119554758072,
-0.029523946344852448,
0.4877811074256897,
-0.010481039062142372,
-0.37903231382369995,
-0.2737821936607361,
-0.03887128829956055,
-0.05668042600154877,
-0.24298690259456635,
0.05951885133981705,
-0.14935728907585144,
0.024207837879657745,
0.1405077576637268,
0.10896147042512894,
-0.05658688768744469,
0.07853236794471741,
0.23025384545326233,
0.2401764988899231,
-0.00994783639907837,
0.0535171777009964,
-0.31678691506385803,
0.21209417283535004,
-0.2650786340236664,
0.1613970398902893,
-0.01875794120132923,
0.47664085030555725,
-0.18165551126003265,
0.04505544155836105,
0.09239653497934341,
-0.1210777536034584,
0.43863487243652344,
-0.5566874146461487,
0.05873481556773186,
0.14177706837654114,
0.049772314727306366,
0.11996319144964218,
-0.0936441570520401,
-0.2638227939605713,
0.1497865915298462,
0.6033320426940918,
0.4655166268348694,
-0.28394001722335815,
-0.23386546969413757,
0.028453724458813667,
0.28390830755233765,
-0.08886964619159698,
-0.20364117622375488,
-0.3539687395095825,
-0.446647047996521,
-0.41659411787986755,
0.03950570523738861,
0.2495153397321701,
0.08593431115150452,
-0.17757846415042877,
0.24816100299358368,
0.1301800161600113,
-0.033584561198949814,
0.08077716827392578,
0.11233903467655182,
0.23642879724502563,
0.15351304411888123,
-0.15892420709133148,
0.1384458839893341,
0.13572117686271667,
0.080010324716568,
0.8720285296440125,
0.030119379982352257,
-0.20821991562843323,
0.4063256084918976,
-0.26613935828208923,
0.045960552990436554,
0.3343745470046997,
0.11010167747735977,
-0.026343829929828644,
0.11989443749189377,
-0.008884988725185394,
-0.1519591063261032,
0.31612005829811096,
0.14242799580097198,
-0.0010155029594898224,
-0.09322679042816162,
-0.410793274641037,
0.26180294156074524,
-0.03619280457496643,
0.08137086033821106,
0.4078904092311859,
-0.1507774442434311,
-0.2347668558359146,
0.21617484092712402,
0.16847233474254608,
1.031270980834961,
-0.07513599097728729,
0.01771450787782669,
0.03572588786482811,
0.1864076405763626,
0.19917792081832886,
-0.4855688810348511,
-0.006694488227367401,
-0.29018908739089966,
-0.1491706669330597,
-0.019012808799743652,
-0.13665764033794403,
0.19390588998794556,
0.04428976774215698,
-0.2907576858997345,
0.15535102784633636,
0.0445840060710907,
0.3406201899051666,
0.4387536644935608,
0.3171641230583191,
-0.10546271502971649,
0.05220646783709526,
-0.18534766137599945,
0.24775484204292297,
0.09668916463851929,
0.299091100692749,
-0.09834467619657516,
-0.09418658912181854,
-0.1630692034959793,
-0.11035936325788498,
-0.30651867389678955,
0.19605040550231934,
-0.36830490827560425,
-0.26630347967147827,
-0.40081772208213806,
-0.1730765402317047,
0.2999955713748932,
-0.10083030164241791,
0.28401535749435425,
0.3173657953739166,
-0.3251098096370697,
0.31954172253608704,
0.25720125436782837,
-0.020967306569218636,
0.18728739023208618,
0.05176901817321777,
0.2851532995700836,
-0.17464116215705872,
-0.4310314357280731,
0.41797104477882385,
-0.12473012506961823,
-0.07328823208808899,
-0.033205799758434296,
-0.05490092933177948,
0.012025386095046997,
-0.10565957427024841,
-0.1794852912425995,
0.08475058525800705,
0.09062303602695465,
-0.1783752739429474,
0.23162518441677094,
0.08150101453065872,
-0.15997914969921112,
-0.165541410446167,
0.18797703087329865,
-0.3806454539299011,
-0.28910350799560547,
0.2712005376815796,
0.03319993242621422,
-0.09638282656669617,
0.014097440987825394,
0.21494577825069427,
0.019597679376602173,
-0.35927537083625793,
0.013304322957992554,
-0.1091490387916565,
-0.5507878065109253,
0.048490334302186966,
-0.128589928150177,
-0.2903958261013031,
0.012817570939660072,
0.3916705250740051,
0.13301177322864532,
-0.11663604527711868,
0.10255713760852814,
-0.48052486777305603,
-0.06986606121063232,
-0.08148929476737976,
-0.026378024369478226,
0.057640716433525085,
0.056297361850738525,
0.05711318179965019,
-0.10738736391067505,
-0.08045898377895355,
-0.44464999437332153,
0.03738857060670853,
-0.3660986125469208,
0.09110362827777863,
-0.01766551285982132,
-0.007149986922740936,
0.14009131491184235,
-0.051368288695812225,
0.190341517329216,
0.015443636104464531,
-0.24039116501808167,
-0.3234768509864807,
-0.10518676042556763,
0.13621681928634644,
0.09660569578409195,
-0.10673324763774872,
0.17114809155464172,
-0.3075748682022095,
-0.09419691562652588,
-0.013455323874950409,
-0.05010627210140228,
-0.09822039306163788,
-0.08408474922180176,
-0.10963895916938782,
0.20593047142028809,
0.005265668034553528,
-0.39900344610214233,
-0.03573671728372574,
0.03558384254574776,
0.2277224063873291,
-0.17372725903987885,
0.11205746978521347,
0.11073222756385803,
0.08186459541320801,
-0.014830517582595348,
0.047755077481269836,
-0.024456806480884552,
0.33278682827949524,
0.06313967704772949,
-0.1910347193479538,
0.14493301510810852,
0.018645884469151497,
0.29844847321510315,
0.15906450152397156,
-0.33880898356437683,
0.014066150411963463,
0.2909737825393677,
0.33276012539863586,
-0.47609373927116394,
-0.045758169144392014,
0.13011351227760315,
-0.08732881397008896,
0.11635284125804901,
0.3091822862625122,
0.40905269980430603,
0.04213924705982208,
0.43949955701828003,
0.17066192626953125,
0.5873883962631226,
0.0329001247882843,
0.12453590333461761,
0.18914775550365448,
-0.20727473497390747,
0.26591309905052185,
0.23295177519321442,
0.017675086855888367,
0.046939458698034286,
0.19190363585948944,
0.03872911259531975,
0.27014243602752686,
-0.04066235572099686,
0.03159307315945625,
-0.26635265350341797,
-0.3380924165248871,
0.5838736295700073,
0.23010653257369995,
-0.03645709156990051,
0.10490886867046356,
0.094797283411026,
0.13007622957229614,
-0.3151629865169525,
-0.08694051206111908,
-0.1691814512014389,
0.10048764944076538,
-0.20622119307518005,
0.23666170239448547,
-0.30649057030677795,
-0.2488574981689453,
-0.25683078169822693,
0.15943078696727753,
-0.0884695053100586,
0.1705467253923416,
-0.02506440132856369,
0.2254975140094757,
-0.07480286061763763,
-0.24745409190654755,
-0.3080986738204956,
-0.018223106861114502,
-0.18790829181671143,
-0.4250010848045349,
0.4674263596534729,
0.22238531708717346,
-0.17442621290683746,
0.09111980348825455,
0.0766771137714386,
0.4074579179286957,
0.2939978241920471,
-0.01954711601138115,
-0.32043954730033875,
0.07251718640327454,
0.0031887907534837723,
-0.07457683980464935,
0.04486832767724991,
0.3299884498119354,
0.02052498050034046,
0.20867373049259186,
0.23973143100738525,
-0.28603121638298035,
0.04215574637055397,
0.15958796441555023,
-0.2589082717895508,
-0.08574706315994263,
0.22338992357254028,
-0.030146323144435883,
0.16026216745376587,
-0.41390910744667053,
-0.06242499500513077,
-0.288828581571579,
0.26123303174972534,
0.21208220720291138,
-0.0436147078871727,
0.13220998644828796,
-0.3292916417121887,
0.14676515758037567,
0.04322624206542969,
0.2513675093650818,
0.10634481906890869,
0.1554904580116272,
-0.318947434425354,
-0.2655274569988251,
-0.748156726360321,
0.2918561100959778,
-0.17379307746887207,
-0.11271513253450394,
0.10956954210996628,
-0.04078446701169014,
0.6113494634628296,
0.2809084951877594,
-0.13778339326381683,
0.3392642140388489,
0.10506431013345718,
-0.0475233718752861,
-0.4366842806339264,
-0.0620448924601078,
0.07119721919298172,
0.22219686210155487,
-0.03778672218322754,
-0.32741230726242065,
0.13859698176383972,
-0.38057172298431396,
0.15843340754508972,
-0.3907862901687622,
-0.24505683779716492,
0.22670096158981323,
0.06408572196960449,
0.4428514838218689,
-0.045781925320625305,
0.4199140667915344,
-0.27356067299842834,
-0.21171337366104126,
-0.014446016401052475,
-0.0640932098031044,
-0.04494217783212662,
-0.10693252831697464,
0.0915801078081131,
0.24007028341293335,
0.02383550815284252,
-0.13716214895248413,
-0.4282175600528717,
0.09377602487802505,
0.07185289263725281,
-0.059546470642089844,
-0.3545234203338623,
0.08316388726234436,
-0.16197754442691803,
-0.04369989037513733,
0.06425730139017105,
0.08404508978128433,
-0.10549260675907135,
0.03513573110103607,
-0.25291645526885986,
0.0190031286329031,
0.5426114797592163,
-0.054152727127075195,
-0.35518679022789,
-0.12352652102708817,
0.009573236107826233,
0.06239978224039078,
0.043150320649147034,
-0.1567985713481903,
0.19966086745262146,
0.2534576952457428,
0.19227102398872375,
-0.22231847047805786,
0.2336541712284088,
0.10589255392551422,
0.06086089089512825,
-0.013482216745615005,
0.09039433300495148,
0.2737245559692383,
-0.2755275368690491,
-0.04620763659477234,
-0.3088732361793518
] |
https://github.com/huggingface/datasets/pull/423 | Change features vs schema logic | I had to make `SplitDict` serializable to be able to copy `DatasetInfo` objects properly.
Serialization was also asked in #389 | ## New logic for `nlp.Features` in datasets
Previously, it was confusing to have `features` and pyarrow's `schema` in `nlp.Dataset`.
However `features` is supposed to be the front-facing object to define the different fields of a dataset, while `schema` is only used to write arrow files.
Changes:
- Remove `schema` field in `nlp.Dataset`
- Make `features` the source of truth to read/write examples
- `features` can no longer be `None` in `nlp.Dataset`
- Update `features` after each dataset transform such as `nlp.Dataset.map`
Todo: change the tests to take these changes into account | 20 | text: Change features vs schema logic
## New logic for `nlp.Features` in datasets
Previously, it was confusing to have `features` and pyarrow's `schema` in `nlp.Dataset`.
However `features` is supposed to be the front-facing object to define the different fields of a dataset, while `schema` is only used to write arrow files.
Changes:
- Remove `schema` field in `nlp.Dataset`
- Make `features` the source of truth to read/write examples
- `features` can no longer be `None` in `nlp.Dataset`
- Update `features` after each dataset transform such as `nlp.Dataset.map`
Todo: change the tests to take these changes into account
I had to make `SplitDict` serializable to be able to copy `DatasetInfo` objects properly.
Serialization was also asked in #389 | [
0.17792494595050812,
0.24958640336990356,
-0.13152818381786346,
-0.10125790536403656,
0.02054472640156746,
-0.1728951632976532,
0.12106446921825409,
0.3747556805610657,
0.029524151235818863,
-0.07844740152359009,
0.1115606501698494,
0.5696375370025635,
0.10622670501470566,
0.5193547606468201,
0.24816133081912994,
-0.25532519817352295,
0.29324379563331604,
0.25049787759780884,
0.011376775801181793,
0.0270320326089859,
-0.1162666529417038,
0.08547933399677277,
-0.23974917829036713,
0.1355254054069519,
-0.166326642036438,
-0.120664082467556,
-0.24268695712089539,
0.25562557578086853,
-0.3432655334472656,
-0.7162510752677917,
0.0035125277936458588,
0.4572221338748932,
-0.06296594440937042,
-0.005664996802806854,
-0.00010404814383946359,
-0.21396158635616302,
0.31762391328811646,
0.08718959242105484,
-0.11731591820716858,
-0.04126535356044769,
-0.1762881577014923,
-0.4145928621292114,
0.21064987778663635,
-0.3962784707546234,
0.1949498951435089,
-0.1587633192539215,
0.03923335671424866,
0.11424282193183899,
0.17714259028434753,
0.32391056418418884,
0.22802667319774628,
0.02736685797572136,
0.17202810943126678,
0.06353666633367538,
0.22922810912132263,
0.3185405433177948,
-0.11868543922901154,
-0.11639134585857391,
0.13624230027198792,
-0.01774466037750244,
-0.0936553105711937,
0.20724818110466003,
-0.1987333744764328,
-0.18551728129386902,
0.4892810881137848,
-0.17365358769893646,
-0.1027502492070198,
-0.2600008547306061,
-0.054071441292762756,
0.13084936141967773,
0.5096558332443237,
-0.5777634978294373,
-0.18290404975414276,
-0.25007760524749756,
-0.08779851347208023,
-0.30769044160842896,
0.0619424469769001,
0.10604089498519897,
0.06604824960231781,
0.2027219533920288,
-0.09860292822122574,
-0.38446757197380066,
-0.11225007474422455,
-0.07468312978744507,
-0.32746943831443787,
0.31226983666419983,
0.09232527762651443,
0.11235357820987701,
-0.17591296136379242,
0.030866829678416252,
0.13810637593269348,
-0.1812390685081482,
-0.291366845369339,
-0.03404390439391136,
-0.0379115454852581,
-0.3000175356864929,
0.08286623656749725,
-0.0365862101316452,
0.08678317070007324,
0.10361575335264206,
0.06482937186956406,
0.18815338611602783,
-0.13905587792396545,
0.11962521821260452,
0.19165170192718506,
0.17251695692539215,
0.23658111691474915,
0.02041999250650406,
0.06579697132110596,
0.0073257023468613625,
-0.15674352645874023,
-0.11490049213171005,
0.2078598439693451,
-0.30283990502357483,
0.04227820411324501,
0.16683194041252136,
0.6107136607170105,
-0.20958635210990906,
-0.2631944715976715,
-0.09062767028808594,
-0.26685425639152527,
-0.3325599431991577,
-0.0853927880525589,
0.1438899040222168,
0.17852935194969177,
0.14149458706378937,
-0.03273968771100044,
0.20548158884048462,
-0.17043443024158478,
-0.23158958554267883,
-0.24871833622455597,
0.05090484023094177,
-0.21257701516151428,
0.20393408834934235,
0.05715754255652428,
0.36739251017570496,
0.15517862141132355,
0.19096434116363525,
-0.1086457222700119,
-0.05709802731871605,
0.10531605035066605,
-0.024056125432252884,
0.16294965147972107,
0.07187541574239731,
-0.2780262231826782,
-0.04378337413072586,
0.01671099290251732,
-0.02369776740670204,
-0.3110979497432709,
0.35941097140312195,
0.023796409368515015,
-0.31838226318359375,
-0.16300655901432037,
0.25589367747306824,
-0.33884817361831665,
-0.29199787974357605,
0.09640780091285706,
0.3923495411872864,
-0.13972455263137817,
-0.24926234781742096,
0.3881045877933502,
-0.18372738361358643,
-0.07004781812429428,
-0.27194252610206604,
0.06828717142343521,
0.11984078586101532,
-0.32492417097091675,
0.033898189663887024,
-0.016269836574792862,
-0.2997281551361084,
0.06570354104042053,
0.1049266904592514,
-0.3189101815223694,
0.372264564037323,
0.10418584197759628,
0.3918037414550781,
0.7058800458908081,
-0.02014761045575142,
-0.2014024555683136,
0.16733713448047638,
-0.014893125742673874,
-0.12187522649765015,
0.15129630267620087,
0.003017488867044449,
0.09388359636068344,
0.010691034607589245,
-0.30903294682502747,
0.10484592616558075,
0.06805119663476944,
0.003607584163546562,
-0.2885182499885559,
-0.3820050060749054,
0.3460971713066101,
-0.09593436121940613,
-0.06566286087036133,
-0.03066503256559372,
0.06220708042383194,
0.23664632439613342,
0.3924624025821686,
-0.16651903092861176,
-0.1559673398733139,
-0.08930891752243042,
0.479092001914978,
0.14207851886749268,
0.05955705791711807,
-0.2410656213760376,
-0.4718812108039856,
-0.018531424924731255,
-0.15559081733226776,
0.11482677608728409,
-0.21798564493656158,
-0.28227299451828003,
-0.308879017829895,
0.006537541747093201,
0.0065701864659786224,
-0.22923851013183594,
0.20740371942520142,
-0.16858233511447906,
-0.014296848326921463,
-0.11600041389465332,
-0.28183913230895996,
-0.09259399026632309,
0.06494063138961792,
0.08371815085411072,
-0.16017037630081177,
0.27040156722068787,
-0.15974199771881104,
-0.18825358152389526,
-0.037827566266059875,
0.40402403473854065,
0.20058995485305786,
-0.08712327480316162,
-0.1498105823993683,
0.38039442896842957,
0.024800287559628487,
0.13986633718013763,
-0.07835707813501358,
0.28031256794929504,
0.13452836871147156,
-0.18202026188373566,
0.32801353931427,
0.15013284981250763,
0.059031277894973755,
0.16249942779541016,
-0.4374149441719055,
0.23341166973114014,
-0.24271200597286224,
-0.06939106434583664,
0.16985322535037994,
-0.1610776036977768,
0.07527904212474823,
-0.2696719765663147,
-0.19082210958003998,
-0.07095284759998322,
-0.10290071368217468,
0.07365401089191437,
-0.3104393482208252,
0.5070781707763672,
-0.41674330830574036,
0.3670329749584198,
0.9256144165992737,
-0.26051563024520874,
-0.05963920056819916,
0.08559831976890564,
0.04841382056474686,
-0.3603266179561615,
0.07126683741807938,
0.03719588741660118,
0.2999945282936096,
0.3043457269668579,
0.11294528841972351,
0.2198067307472229,
-0.11529526859521866,
-0.18234315514564514,
0.4089623987674713,
0.002345837652683258,
0.1376546025276184,
0.07369548082351685,
0.20587870478630066,
0.08601425588130951,
-0.21518781781196594,
-0.21935325860977173,
0.07914163172245026,
0.08094334602355957,
-0.25943881273269653,
-0.044148869812488556,
-0.23250450193881989,
-0.15755528211593628,
-0.4411552846431732,
-0.11374890059232712,
-0.09960252046585083,
-0.42460134625434875,
0.22134724259376526,
0.0200265571475029,
-0.24085906147956848,
-0.011054549366235733,
-0.3275805115699768,
0.1836910843849182,
-0.2346472591161728,
0.2533816695213318,
-0.1633313149213791,
-0.2038663774728775,
-0.1392735242843628,
0.062186937779188156,
0.19139966368675232,
0.6572849154472351,
0.273728609085083,
0.07761472463607788,
0.05411512404680252,
-0.4210756719112396,
-0.5215765833854675,
-0.0770677775144577,
-0.16506575047969818,
0.0391278937458992,
0.2835237979888916,
0.04335501790046692,
0.1532464623451233,
-0.43254825472831726,
0.010189482942223549,
-0.06703834235668182,
-0.18362204730510712,
0.0132218636572361,
0.008852338418364525,
0.011011333204805851,
-0.244631826877594,
-0.6851027011871338,
-0.24217833578586578,
-0.5041077136993408,
0.4442517161369324,
-0.005544586107134819,
0.20815561711788177,
0.06257376074790955,
-0.14992986619472504,
0.09322531521320343,
-0.12126730382442474,
0.10970664769411087,
0.03355906903743744,
0.1336965709924698,
-0.09591697156429291,
0.048133958131074905,
-0.19126783311367035,
-0.1108405813574791,
0.03818260878324509,
0.061416082084178925,
-0.10970088094472885,
-0.12543320655822754,
-0.10242869704961777,
-0.28424128890037537,
0.5234697461128235,
0.03901820629835129,
-0.09259539842605591,
0.44846633076667786,
0.34357431530952454,
-0.19313174486160278,
0.007807709276676178,
-0.1686183214187622,
0.005574829876422882,
0.19570061564445496,
-0.03001425415277481,
-0.15439322590827942,
0.12882578372955322,
0.08478321135044098,
0.35372865200042725,
-0.04376700520515442,
0.037608664482831955,
0.14103105664253235,
0.1378592848777771,
0.07137693464756012,
-0.14885133504867554,
-0.12131237983703613,
0.14858604967594147,
-0.15740638971328735,
-0.1209370419383049,
0.30801934003829956,
-0.27198219299316406,
-0.0368170365691185,
0.3044181168079376,
-0.19743171334266663,
-0.14997880160808563,
-0.3126593828201294,
0.32817256450653076,
-0.23242419958114624,
0.23048177361488342,
-0.06236381083726883,
-0.20944392681121826,
-0.27329298853874207,
0.14397022128105164,
0.06105134263634682,
0.24148310720920563,
0.17160874605178833,
0.06858642399311066,
-0.914165735244751,
-0.34908291697502136,
-0.28530803322792053,
0.05619232356548309,
-0.1589772254228592,
0.1370023488998413,
0.009157437831163406,
-0.3403390944004059,
0.09838918596506119,
-0.14441397786140442,
0.45469069480895996,
0.1259189248085022,
-0.12254360318183899,
0.2928856611251831,
0.15406088531017303,
-0.03774987533688545,
-0.22266189754009247,
-0.4280671179294586,
0.4268221855163574,
0.4275403320789337,
0.4070224463939667,
-0.26742610335350037,
-0.5262702703475952,
0.34770721197128296,
0.061448484659194946,
-0.08351390808820724,
-0.18839889764785767,
-0.15852318704128265,
-0.22058263421058655,
-0.3041144013404846,
0.029096528887748718,
0.14300355315208435,
0.09571976959705353,
-0.4312196373939514,
-0.08415743708610535,
-0.01959456317126751,
0.11152824014425278,
0.030000902712345123,
0.17697566747665405,
0.13291066884994507,
-0.08666633814573288,
-0.2623644471168518,
-0.07684250175952911,
0.28370505571365356,
-0.06633179634809494,
0.2805866599082947,
-0.04356543347239494,
-0.06313712894916534,
-0.27964356541633606,
-0.024641696363687515,
0.45532262325286865,
0.3189511299133301,
0.21768449246883392,
0.19285458326339722,
-0.042789533734321594,
-0.06539984047412872,
-0.36884933710098267,
0.02419390343129635,
0.21056854724884033,
0.0014610467478632927,
-0.21541054546833038,
-0.2789527475833893,
0.572668731212616,
0.21461433172225952,
-0.34520184993743896,
0.02894279733300209,
0.21643030643463135,
-0.4100067913532257,
0.6241739392280579,
0.15874968469142914,
0.9683647751808167,
0.0247085802257061,
0.20066551864147186,
0.32024577260017395,
-0.17156435549259186,
0.6090151071548462,
-0.06052176281809807,
0.1136738657951355,
-0.41229182481765747,
-0.22737954556941986,
-0.04134814441204071,
-0.22432032227516174,
0.26824575662612915,
0.03968191146850586,
-0.6322603821754456,
0.18412277102470398,
0.08053512871265411,
-0.14916366338729858,
0.10953407734632492,
0.433197945356369,
-0.09152275323867798,
0.1895766407251358,
-0.1004524752497673,
0.08436226844787598,
-0.026332475244998932,
-0.19104209542274475,
0.0940958559513092,
-0.19035279750823975,
-0.14544060826301575,
0.024042271077632904,
-0.07915130257606506,
-0.07850384712219238,
0.0376758836209774,
0.12526215612888336,
0.22606924176216125,
0.0725669115781784,
0.3578090965747833,
-0.01717444136738777,
0.19729094207286835,
-0.0010199546813964844,
-0.05013924837112427,
0.022626878693699837,
0.2298121154308319,
0.1405109167098999,
0.22853530943393707,
0.07533224672079086,
0.3043740689754486,
-0.042903877794742584,
-0.4273824393749237,
-0.1561819612979889,
-0.24448855221271515,
0.03119833767414093,
-0.3927847445011139,
-0.1573767066001892,
0.31470704078674316,
-0.5416902899742126,
-0.49723392724990845,
0.1033882349729538,
-0.20717526972293854,
-0.23566880822181702,
0.19407781958580017,
-0.0839751809835434,
-0.13334113359451294,
0.25090187788009644,
-0.02141169086098671,
-0.3118799328804016,
0.09004607796669006,
-0.2675715684890747,
0.08233766257762909,
0.3126598000526428,
0.5000101923942566,
-0.026839695870876312,
-0.06880804896354675,
-0.28829142451286316,
-0.005884528160095215,
0.25344333052635193,
-0.2948724031448364,
0.08011381328105927,
-0.1368621289730072,
-0.15055370330810547,
0.14840777218341827,
0.4340773820877075,
0.0006547160446643829,
0.19740435481071472,
-0.4251435399055481,
-0.05761159956455231,
-0.012406552210450172,
0.3921118378639221,
-0.013423193246126175,
0.41107428073883057,
0.07155454158782959,
0.37962445616722107,
0.0016587097197771072,
0.20293501019477844,
-0.403353750705719,
0.013522098772227764,
-0.1753821074962616,
0.383757084608078,
0.21670469641685486,
-0.230255126953125,
-0.45046696066856384,
-0.06178140267729759,
0.10559840500354767,
-0.15049579739570618,
-0.019520238041877747,
-0.27067986130714417,
-0.04028063267469406,
0.13297200202941895,
-0.008965715765953064,
0.12797902524471283,
-0.01570729911327362,
0.07226116955280304,
0.18808826804161072,
0.03666706383228302,
-0.06088859215378761,
-0.09415760636329651,
0.01877216249704361,
0.6643130779266357,
0.055467478930950165,
-0.035869501531124115,
-0.0391625314950943,
-0.0044351182878017426,
0.061496805399656296,
-0.13888543844223022,
-0.11914756149053574,
0.4771155118942261,
-0.23237848281860352,
-0.00819716602563858,
-0.17026259005069733,
0.12629027664661407,
0.1829197257757187,
0.3466137945652008,
-0.010267965495586395,
0.19615113735198975,
-0.04073449224233627,
-0.09074453264474869,
0.13209959864616394,
0.3477920889854431,
-0.06606907397508621,
-0.12110242247581482,
0.06291286647319794,
0.3064612150192261,
-0.25725221633911133,
-0.13171622157096863,
0.3176449239253998,
-0.3540050685405731,
0.05758694186806679,
0.03572634607553482,
0.449814110994339,
0.08363936841487885,
-0.06804732978343964,
0.06892161816358566,
0.3257219195365906,
-0.06423252075910568,
0.3035924434661865,
0.5068073868751526,
-0.12524452805519104,
-0.11426734924316406,
0.446668803691864,
0.10935676097869873,
0.25819727778434753,
0.34572458267211914,
0.41967207193374634,
0.39798253774642944,
0.4453783333301544,
0.27009958028793335,
0.36099064350128174,
0.10490663349628448,
-0.041899506002664566,
0.0071776509284973145,
0.2149772346019745,
-0.3048385977745056,
0.18185755610466003,
0.23194602131843567,
-0.025136686861515045,
-0.2671021819114685,
0.28251004219055176,
0.1444597840309143,
-0.03457380831241608,
-0.2649637460708618,
-0.25223568081855774,
-0.15967229008674622,
-0.2811278998851776,
-0.20717185735702515,
-0.31299325823783875,
0.052136920392513275,
0.3553020656108856,
0.016148414462804794,
0.02671775221824646,
-0.2571863830089569,
0.3247719407081604,
-0.14121711254119873,
0.23474523425102234,
-0.10181601345539093,
0.16304518282413483,
-0.019578449428081512,
-0.1865113377571106,
0.2256246656179428,
0.36250820755958557,
0.37431278824806213,
0.3212616443634033,
-0.29650750756263733,
-0.068269282579422,
-0.17198476195335388,
-0.1273016333580017,
0.029294118285179138,
-0.0901813730597496,
0.07556691020727158,
0.205318883061409,
0.11567234992980957,
0.2204178124666214,
-0.04254942014813423,
-0.024458985775709152,
0.19005098938941956,
-0.2441956102848053,
-0.1581171602010727,
0.6681538820266724,
0.22204652428627014,
-0.49883314967155457,
0.24324828386306763,
0.12908916175365448,
-0.4840189814567566,
-0.12920285761356354,
0.394989550113678,
0.054874055087566376,
0.16241315007209778,
-0.18913672864437103,
0.1436639428138733,
0.2350372076034546,
0.38560765981674194,
0.15455162525177002,
0.343105673789978,
-0.03364294767379761,
0.06822387874126434,
-0.4989980161190033,
0.02910192310810089,
0.22192861139774323,
-0.214064359664917,
0.4304191768169403,
0.2668565511703491,
-0.12411042302846909,
-0.0576445609331131,
-0.23203696310520172,
0.18441924452781677,
-0.07906831055879593,
-0.14549501240253448,
-0.2849865257740021,
0.24441330134868622,
0.22905629873275757,
-0.013854959979653358,
-0.13398975133895874,
-0.10190482437610626,
0.2865580916404724,
0.021611642092466354,
0.08824234455823898,
-0.052658483386039734,
-0.11129166185855865,
0.49881595373153687,
0.17063379287719727,
0.09662330895662308,
0.1559676080942154,
0.2113511562347412,
-0.05138959363102913,
-0.033730581402778625,
-0.12939901649951935,
-0.06600899994373322,
-0.4254639744758606,
0.30111566185951233,
-0.007449597120285034,
0.2820535898208618,
-0.04004211723804474,
0.2165239453315735,
-0.0396692268550396,
0.11427894979715347,
-0.2966851592063904,
-0.2696383595466614,
-0.31602171063423157,
0.034458085894584656,
0.009180814027786255,
-0.052487295120954514,
0.13901346921920776,
0.33574432134628296,
-0.015538699924945831,
-0.01185575220733881,
-0.29431647062301636,
-0.18741388618946075,
0.4585723876953125,
-0.08021724969148636,
-0.331447958946228,
0.06458459049463272,
0.15475225448608398,
0.22288602590560913,
-0.016429034993052483,
-0.5324493050575256,
-0.36284708976745605,
0.3011021614074707,
-0.1177307739853859,
0.04865700379014015,
0.34670644998550415,
0.2798307538032532,
-0.08835548162460327,
-0.15996873378753662,
0.14389829337596893,
-0.06199916452169418,
-0.1322011947631836,
-0.20103192329406738,
-0.226690411567688
] |
https://github.com/huggingface/datasets/pull/423 | Change features vs schema logic | One thing I forgot to say here, is that we also want to use the features arguments of `load_dataset` (which goes in the builder’s config) to override the default features of a dataset script. | ## New logic for `nlp.Features` in datasets
Previously, it was confusing to have `features` and pyarrow's `schema` in `nlp.Dataset`.
However `features` is supposed to be the front-facing object to define the different fields of a dataset, while `schema` is only used to write arrow files.
Changes:
- Remove `schema` field in `nlp.Dataset`
- Make `features` the source of truth to read/write examples
- `features` can no longer be `None` in `nlp.Dataset`
- Update `features` after each dataset transform such as `nlp.Dataset.map`
Todo: change the tests to take these changes into account | 34 | text: Change features vs schema logic
## New logic for `nlp.Features` in datasets
Previously, it was confusing to have `features` and pyarrow's `schema` in `nlp.Dataset`.
However `features` is supposed to be the front-facing object to define the different fields of a dataset, while `schema` is only used to write arrow files.
Changes:
- Remove `schema` field in `nlp.Dataset`
- Make `features` the source of truth to read/write examples
- `features` can no longer be `None` in `nlp.Dataset`
- Update `features` after each dataset transform such as `nlp.Dataset.map`
Todo: change the tests to take these changes into account
One thing I forgot to say here, is that we also want to use the features arguments of `load_dataset` (which goes in the builder’s config) to override the default features of a dataset script. | [
-0.08801645040512085,
0.43669044971466064,
-0.1413048654794693,
-0.13210304081439972,
0.14485463500022888,
-0.1918306052684784,
0.18914221227169037,
0.3858037292957306,
0.08932587504386902,
0.08528297394514084,
0.2971070408821106,
0.5951181054115295,
-0.07403873652219772,
0.4323471784591675,
0.2699130177497864,
-0.08339506387710571,
0.22355645895004272,
0.3884335458278656,
-0.004087574779987335,
0.12197977304458618,
-0.1713339388370514,
0.004801513627171516,
-0.11716599017381668,
0.19406525790691376,
-0.21077284216880798,
0.026483532041311264,
0.07155133038759232,
0.21821853518486023,
-0.30415695905685425,
-0.7781110405921936,
0.030093563720583916,
0.5525135397911072,
-0.06440439075231552,
-0.082221619784832,
-0.00010295194806531072,
-0.12305362522602081,
0.42990976572036743,
0.12705731391906738,
-0.1732046753168106,
-0.17870579659938812,
-0.19027665257453918,
-0.3332988917827606,
0.13156388700008392,
-0.40812501311302185,
0.06393742561340332,
-0.21605952084064484,
0.10548553615808487,
0.18407276272773743,
-0.03188507258892059,
0.40234407782554626,
0.2301611304283142,
0.03383064642548561,
0.0063447654247283936,
0.025456493720412254,
0.3547767400741577,
0.1804245114326477,
-0.02525598555803299,
-0.08987288177013397,
0.050042636692523956,
-0.16389736533164978,
-0.16041970252990723,
0.1422276645898819,
-0.3356176018714905,
-0.2020241767168045,
0.7311244606971741,
-0.03062070906162262,
0.22059136629104614,
-0.19431717693805695,
-0.08268800377845764,
0.12661141157150269,
0.5174392461776733,
-0.5274280309677124,
-0.026366589590907097,
-0.17030957341194153,
-0.027367524802684784,
-0.17851948738098145,
0.18085257709026337,
0.08080242574214935,
-0.08829113841056824,
0.11729224026203156,
-0.233628511428833,
-0.4387405514717102,
-0.04784324765205383,
0.11473897099494934,
-0.23566749691963196,
0.19011162221431732,
0.1113281324505806,
0.12052123248577118,
-0.03148728981614113,
0.04181833192706108,
0.37180936336517334,
-0.32186195254325867,
-0.3627646565437317,
-0.09871222078800201,
0.03499051183462143,
-0.2519860863685608,
0.2190791666507721,
0.17883765697479248,
0.1907605528831482,
0.21715445816516876,
0.12946215271949768,
0.1695224642753601,
-0.09679965674877167,
0.14330047369003296,
0.035337843000888824,
0.2386815994977951,
0.3010053038597107,
-0.09196735918521881,
0.1586286872625351,
0.3019319176673889,
-0.27276715636253357,
-0.13079962134361267,
0.3261604607105255,
-0.4965995252132416,
0.26327985525131226,
0.10631779581308365,
0.657005250453949,
-0.09983037412166595,
-0.19202330708503723,
-0.05589771270751953,
0.025083981454372406,
-0.30770382285118103,
0.07148562371730804,
0.21175679564476013,
0.0745784118771553,
0.011650113388895988,
0.009990006685256958,
0.32250744104385376,
-0.20792347192764282,
-0.15926328301429749,
-0.25184324383735657,
0.04582139104604721,
-0.2699494957923889,
0.1951323002576828,
0.12646730244159698,
0.18067285418510437,
0.27878135442733765,
0.308896005153656,
-0.05330798029899597,
-0.07723471522331238,
0.12326541543006897,
0.05169745534658432,
0.06866182386875153,
0.007110923528671265,
-0.24894392490386963,
-0.13561928272247314,
-0.07338710129261017,
-0.10747557133436203,
-0.33014994859695435,
0.42252519726753235,
-0.05246108025312424,
-0.33774933218955994,
-0.0985558032989502,
0.2633149325847626,
-0.41303884983062744,
-0.14969502389431,
-0.07747312635183334,
0.2879687547683716,
-0.23252081871032715,
-0.3478128910064697,
0.2577468156814575,
-0.12852124869823456,
-0.102505624294281,
-0.24520505964756012,
0.04734744876623154,
0.2376135140657425,
-0.18342183530330658,
-0.028615891933441162,
0.05530017614364624,
-0.26637834310531616,
-0.016025684773921967,
-0.15203453600406647,
-0.451752632856369,
0.3539213538169861,
-0.018870677798986435,
0.0882195234298706,
0.7923963665962219,
-0.035057879984378815,
-0.23239219188690186,
0.1930558979511261,
0.11933669447898865,
-0.12836728990077972,
0.10839556157588959,
0.045284345746040344,
-0.12063118815422058,
0.021422289311885834,
-0.3706001043319702,
0.2245057076215744,
0.04809006303548813,
0.054268866777420044,
-0.16942261159420013,
-0.3885404169559479,
0.36524128913879395,
-0.1513611227273941,
-0.017552178353071213,
0.11930300295352936,
0.008129790425300598,
0.1524309366941452,
0.24833306670188904,
-0.15628325939178467,
-0.2321234494447708,
-0.03944692760705948,
0.1994817852973938,
-0.05753292143344879,
-0.07420548051595688,
-0.2900208532810211,
-0.5576237440109253,
0.10127099603414536,
-0.1464322805404663,
0.09447039663791656,
-0.1818855255842209,
-0.21566402912139893,
-0.23713788390159607,
0.03682583570480347,
-0.07833302021026611,
-0.17047655582427979,
0.2092539519071579,
-0.02774903178215027,
-0.0870591402053833,
-0.167768657207489,
-0.31239596009254456,
-0.15398375689983368,
0.06964703649282455,
0.057141561061143875,
-0.1412893384695053,
0.27371782064437866,
-0.1316135972738266,
-0.1963384747505188,
-0.09088364243507385,
0.2499164342880249,
0.11179777979850769,
0.024114485830068588,
-0.1930927038192749,
0.43893080949783325,
-0.03432526811957359,
0.1983351707458496,
-0.11740828305482864,
0.3046952486038208,
0.03420570120215416,
-0.08174281567335129,
0.4220832288265228,
0.13049744069576263,
-0.05383659526705742,
0.12428725510835648,
-0.338373064994812,
0.20155061781406403,
-0.1517939418554306,
0.018508225679397583,
0.11936613917350769,
-0.20231539011001587,
0.007557528093457222,
-0.25880077481269836,
-0.3285890817642212,
-0.132362961769104,
-0.1625852733850479,
0.1292160600423813,
-0.2348455786705017,
0.44179052114486694,
-0.3435826897621155,
0.1870100200176239,
0.8838894367218018,
-0.2505088746547699,
-0.08938788622617722,
0.05582570284605026,
0.0925109013915062,
-0.26490071415901184,
0.017751475796103477,
-0.09746381640434265,
0.3619045615196228,
0.20708343386650085,
0.01463489979505539,
0.18240725994110107,
-0.1883000135421753,
-0.13200074434280396,
0.31995290517807007,
0.019535377621650696,
0.21940985321998596,
0.024370282888412476,
0.2261071503162384,
-0.023415107280015945,
-0.21173632144927979,
-0.282195121049881,
0.06431656330823898,
0.021757693961262703,
-0.31079554557800293,
0.00007841922342777252,
-0.19313280284404755,
-0.11179614067077637,
-0.29294639825820923,
-0.036539267748594284,
-0.12368135154247284,
-0.3176537752151489,
0.1663401871919632,
0.031007302924990654,
-0.20603781938552856,
0.03726000338792801,
-0.28348177671432495,
0.14858666062355042,
-0.22687071561813354,
-0.012242982164025307,
-0.18899624049663544,
-0.19195957481861115,
-0.2266802191734314,
0.0304589681327343,
0.2809849977493286,
0.6243792772293091,
0.1292775571346283,
0.041057996451854706,
-0.008761531673371792,
-0.3908241093158722,
-0.333233118057251,
0.005936209112405777,
0.03721045330166817,
0.31142473220825195,
0.3446539044380188,
0.04456333816051483,
0.34905558824539185,
-0.3395214378833771,
0.12842462956905365,
-0.09238174557685852,
-0.04921680688858032,
0.10645462572574615,
0.01775195449590683,
0.011040636338293552,
-0.1715746521949768,
-0.5688794255256653,
-0.018653174862265587,
-0.5105516910552979,
0.04648618400096893,
0.1842947155237198,
0.20947693288326263,
0.09774039685726166,
0.0761035680770874,
-0.06445132941007614,
-0.16093730926513672,
0.20615056157112122,
0.07338627427816391,
0.011871706694364548,
-0.013655956834554672,
0.024140210822224617,
-0.15289627015590668,
-0.16587869822978973,
-0.15155817568302155,
0.19155265390872955,
-0.13376830518245697,
-0.24243517220020294,
-0.18010923266410828,
-0.25203394889831543,
0.496826708316803,
-0.032373324036598206,
-0.12183229625225067,
0.3235703706741333,
0.49965888261795044,
-0.1753501296043396,
0.06705796718597412,
-0.16103637218475342,
-0.04621098190546036,
0.16416874527931213,
0.003873966634273529,
0.014419501647353172,
0.17253965139389038,
-0.11632096767425537,
0.2631385326385498,
-0.10592043399810791,
-0.07251395285129547,
0.14608806371688843,
-0.13476671278476715,
0.13211490213871002,
-0.18789780139923096,
-0.12654843926429749,
0.0931573137640953,
0.05464450269937515,
-0.059952449053525925,
0.22728806734085083,
-0.29820090532302856,
0.005736104212701321,
0.14405030012130737,
-0.10684701800346375,
-0.08519724756479263,
-0.3565100133419037,
0.41773080825805664,
-0.3811289072036743,
0.09965193271636963,
-0.07986124604940414,
-0.11001437157392502,
-0.3441414535045624,
0.049345243722200394,
0.07470041513442993,
0.2500258684158325,
0.2398664653301239,
0.09730710089206696,
-0.7333440780639648,
-0.14022547006607056,
-0.19493496417999268,
0.07277698814868927,
-0.20004521310329437,
-0.0865572839975357,
0.036341119557619095,
-0.2209167182445526,
0.06344561278820038,
-0.194296196103096,
0.4253460764884949,
-0.002871790900826454,
-0.06001764535903931,
0.2512388229370117,
0.2828851044178009,
-0.17325958609580994,
-0.2921344041824341,
-0.2525333762168884,
0.40814295411109924,
0.17756111919879913,
0.41302159428596497,
-0.1948891282081604,
-0.61415696144104,
0.39882892370224,
0.13645917177200317,
-0.07682350277900696,
-0.26594871282577515,
-0.1984378844499588,
-0.12081149220466614,
-0.3730752468109131,
-0.012476913630962372,
-0.06534425914287567,
0.16748473048210144,
-0.3931604027748108,
-0.19546087086200714,
0.07628828287124634,
0.18037936091423035,
-0.08574084937572479,
0.1871739774942398,
0.17735019326210022,
-0.12136349827051163,
-0.22755560278892517,
-0.18262597918510437,
0.07563759386539459,
-0.19526702165603638,
0.3206978440284729,
0.04049469158053398,
-0.10444425046443939,
-0.2849362790584564,
0.08983021974563599,
0.38429439067840576,
0.21556246280670166,
0.049888547509908676,
0.14338216185569763,
-0.09123525023460388,
-0.019950084388256073,
-0.3277905285358429,
0.11532764136791229,
0.2810596227645874,
-0.0365259014070034,
-0.08344098925590515,
-0.43025845289230347,
0.6240742802619934,
0.07572606205940247,
-0.29141926765441895,
-0.1901848465204239,
0.010531708598136902,
-0.42050686478614807,
0.6038859486579895,
0.21995681524276733,
0.8746249079704285,
0.11105597019195557,
0.2012857049703598,
0.34341564774513245,
0.03803440183401108,
0.518545389175415,
-0.2518267035484314,
0.10751626640558243,
-0.388567715883255,
-0.14285379648208618,
0.01833743415772915,
-0.3057810664176941,
0.2335941195487976,
0.2777177393436432,
-0.474098265171051,
0.30035606026649475,
-0.027382362633943558,
0.04599092900753021,
0.08752118796110153,
0.4997637867927551,
-0.15413303673267365,
0.1066264659166336,
-0.05067029595375061,
0.11672040820121765,
-0.06625571101903915,
-0.12478099763393402,
0.032645657658576965,
-0.056468069553375244,
0.13824285566806793,
-0.040175747126340866,
0.06859515607357025,
0.027736999094486237,
-0.14932972192764282,
-0.05295637249946594,
0.29352816939353943,
-0.01897631585597992,
0.36894315481185913,
0.18555428087711334,
0.03334076702594757,
0.10295391082763672,
0.004337890073657036,
0.1500038206577301,
0.2790532410144806,
0.2792613208293915,
0.12029188126325607,
0.027745801955461502,
0.3699432611465454,
-0.11955403536558151,
-0.5489742159843445,
-0.15289437770843506,
-0.1729418784379959,
-0.04655042290687561,
-0.1778610348701477,
-0.21319301426410675,
0.2420768290758133,
-0.5249635577201843,
-0.5133306384086609,
-0.023840978741645813,
-0.09506010264158249,
-0.09939876198768616,
0.20671501755714417,
-0.0590788871049881,
-0.14501036703586578,
0.2550979554653168,
0.04321851208806038,
-0.2727695405483246,
0.1118268221616745,
-0.3078051507472992,
0.012639455497264862,
0.23637771606445312,
0.4103490114212036,
-0.12642493844032288,
0.04076658934354782,
-0.2558619976043701,
-0.15474334359169006,
0.4416353404521942,
-0.278955340385437,
0.08172032237052917,
0.011714610271155834,
-0.12809132039546967,
0.20455563068389893,
0.41311028599739075,
-0.1198190450668335,
0.3346477746963501,
-0.2487058937549591,
-0.1259637326002121,
-0.10641267150640488,
0.3635912537574768,
0.17634811997413635,
0.43153151869773865,
0.0551760271191597,
0.17267149686813354,
-0.039121225476264954,
0.1526905596256256,
-0.40216243267059326,
-0.021183686330914497,
-0.15468041598796844,
0.38593289256095886,
0.2706221342086792,
0.008791409432888031,
-0.43430158495903015,
-0.020634261891245842,
0.13292986154556274,
-0.2919083833694458,
-0.10890445858240128,
-0.2873978018760681,
-0.017966117709875107,
0.11671743541955948,
-0.04755449295043945,
0.19178809225559235,
0.008932411670684814,
0.02510804310441017,
0.19750475883483887,
-0.09719478338956833,
0.07831944525241852,
-0.2516792118549347,
-0.09510496258735657,
0.631935715675354,
-0.07098415493965149,
0.01684322953224182,
0.03336290270090103,
0.012721186503767967,
-0.09777222573757172,
-0.03699289262294769,
-0.06756846606731415,
0.5484718084335327,
-0.20633256435394287,
-0.012546390295028687,
-0.061966672539711,
0.19914424419403076,
-0.02205716073513031,
0.541562557220459,
-0.021021053194999695,
0.15992701053619385,
0.07816098630428314,
-0.09999837726354599,
0.07655428349971771,
0.2994692921638489,
-0.21230864524841309,
-0.17385829985141754,
0.08010668307542801,
0.30912044644355774,
-0.2746107578277588,
-0.15145617723464966,
0.23636186122894287,
-0.34284543991088867,
0.2082497775554657,
0.033052824437618256,
0.38564440608024597,
0.08465272188186646,
-0.01490853726863861,
0.03961343690752983,
0.09721875935792923,
-0.18349675834178925,
0.18447597324848175,
0.477011501789093,
-0.21756693720817566,
-0.1587086170911789,
0.497377872467041,
0.1036948561668396,
0.1638171374797821,
0.47489380836486816,
0.29629021883010864,
0.39663517475128174,
0.43894606828689575,
0.15043291449546814,
0.2743254601955414,
-0.10613837838172913,
0.09757949411869049,
0.05473718047142029,
0.12651705741882324,
-0.2319248914718628,
0.22367775440216064,
0.19723501801490784,
0.15874649584293365,
-0.2038729190826416,
0.19590625166893005,
0.11744160950183868,
0.023749472573399544,
-0.308922678232193,
-0.3740631639957428,
-0.22327527403831482,
-0.16147160530090332,
-0.10044655203819275,
-0.2763180732727051,
-0.016850881278514862,
0.1260814368724823,
0.06859349459409714,
-0.05352981388568878,
-0.08320838212966919,
0.5242159366607666,
-0.17398980259895325,
0.03929559886455536,
-0.06829483807086945,
0.15505729615688324,
0.005341805517673492,
-0.04395533353090286,
0.24273672699928284,
0.30880284309387207,
0.43024343252182007,
0.3265730142593384,
-0.281512051820755,
-0.0465177558362484,
-0.07561936974525452,
-0.1785832941532135,
-0.10937955230474472,
-0.22429902851581573,
0.08889757841825485,
0.26826879382133484,
0.09042742848396301,
0.2559395432472229,
-0.06946484744548798,
-0.04827985540032387,
0.17090387642383575,
-0.2547846734523773,
-0.22125229239463806,
0.5978645086288452,
0.5379382371902466,
-0.4483507573604584,
0.06156989932060242,
0.1751512885093689,
-0.31518158316612244,
-0.40710973739624023,
0.4441467225551605,
0.18895535171031952,
0.227677583694458,
-0.16378948092460632,
0.15189234912395477,
0.22686965763568878,
0.46821802854537964,
-0.013046365231275558,
0.3328093886375427,
-0.1404072344303131,
0.12084509432315826,
-0.5271676778793335,
0.03592756390571594,
0.2760443091392517,
-0.024344604462385178,
0.46746885776519775,
0.10333183407783508,
-0.14919310808181763,
0.009838227182626724,
-0.21678845584392548,
0.1166592687368393,
0.04265456274151802,
-0.0404781848192215,
-0.21840040385723114,
0.10186266899108887,
0.1645524501800537,
0.0650693029165268,
-0.12395837157964706,
-0.1521960198879242,
0.11911995708942413,
-0.16879938542842865,
0.11248085647821426,
-0.04508424550294876,
0.034591615200042725,
0.5562943816184998,
0.08269427716732025,
0.23026935756206512,
0.060633204877376556,
0.22485148906707764,
-0.08777303993701935,
0.0363171249628067,
-0.19731786847114563,
-0.036151982843875885,
-0.4805769622325897,
0.1548539102077484,
-0.08432666957378387,
0.19683398306369781,
-0.0013528428971767426,
0.27324938774108887,
-0.25975531339645386,
0.06813694536685944,
-0.26269832253456116,
-0.23172707855701447,
-0.2176925539970398,
-0.015366570092737675,
0.01835668832063675,
0.057646460831165314,
0.07962996512651443,
0.14557236433029175,
-0.07831177115440369,
-0.0001423284411430359,
-0.28586503863334656,
-0.10829146951436996,
0.44407132267951965,
0.08954028785228729,
-0.39325228333473206,
0.0038327621296048164,
0.1900823563337326,
-0.0004948675632476807,
-0.04043460637331009,
-0.45806682109832764,
-0.24025648832321167,
0.2156679779291153,
-0.13350507616996765,
0.017893504351377487,
0.42394721508026123,
0.1594376415014267,
0.07117928564548492,
-0.13714025914669037,
0.09389519691467285,
-0.0641695111989975,
-0.08405633270740509,
-0.4766184091567993,
-0.27499985694885254
] |
https://github.com/huggingface/datasets/pull/421 | Style change | Oh this is the PR where I ran make quality and make style and some previous files from master were changed | make quality and make style ran on scripts | 21 | text: Style change
make quality and make style ran on scripts
Oh this is the PR where I ran make quality and make style and some previous files from master were changed | [
-0.3438059687614441,
-0.2793262302875519,
-0.2222490906715393,
0.11002945899963379,
0.38268226385116577,
-0.1424333155155182,
0.10614921152591705,
0.316739022731781,
-0.21847598254680634,
0.3498203754425049,
0.0754491537809372,
0.06015758216381073,
0.13349610567092896,
0.19854316115379333,
0.03708132356405258,
0.015101194381713867,
-0.27096179127693176,
0.22471721470355988,
-0.33755791187286377,
-0.033463865518569946,
-0.03041331097483635,
0.1197485402226448,
0.09023928642272949,
0.11360260844230652,
-0.1893848031759262,
0.015782469883561134,
0.12068384885787964,
0.15630638599395752,
-0.08451932668685913,
-0.29333192110061646,
-0.1657133847475052,
0.2788916230201721,
-0.27807843685150146,
-0.009644269943237305,
-0.00009877733828034252,
-0.10573727637529373,
0.34442079067230225,
-0.05539156496524811,
0.166107639670372,
0.19606266915798187,
0.08536448329687119,
0.024184053763747215,
-0.007053951267153025,
-0.04499207064509392,
-0.027208924293518066,
-0.19363190233707428,
0.04380697011947632,
0.3082882761955261,
0.3348206877708435,
0.41989976167678833,
0.37010321021080017,
-0.03797177970409393,
0.1365485042333603,
-0.07321374863386154,
0.38871052861213684,
-0.10279403626918793,
0.08742626756429672,
-0.08038587868213654,
0.24334649741649628,
0.05997834354639053,
0.2553475499153137,
0.1690794825553894,
-0.17467065155506134,
-0.07336349785327911,
0.2307325303554535,
-0.33434027433395386,
0.3987266421318054,
-0.34817591309547424,
0.174066424369812,
-0.00658031553030014,
0.17558419704437256,
0.02644839510321617,
0.12277666479349136,
0.05566415190696716,
0.15672634541988373,
-0.09337168186903,
0.12400919198989868,
0.09054575860500336,
-0.05697445571422577,
-0.0168871209025383,
-0.24921096861362457,
-0.07634229212999344,
0.0950237363576889,
-0.11640369892120361,
0.4093385636806488,
-0.0606364905834198,
-0.13595561683177948,
-0.09914610534906387,
0.11993587017059326,
0.2343376725912094,
-0.01716316118836403,
0.013076567091047764,
-0.45141807198524475,
-0.30970996618270874,
0.31717371940612793,
0.0008645281195640564,
0.16751790046691895,
0.10142602026462555,
-0.190434068441391,
0.1521834135055542,
-0.04063183814287186,
0.1547439694404602,
0.09093356132507324,
0.16944347321987152,
-0.3451828956604004,
0.06868693232536316,
0.1984996348619461,
-0.00998528953641653,
0.0715380609035492,
-0.03027876280248165,
-0.023575589060783386,
-0.06689675152301788,
0.11064405739307404,
-0.5705690383911133,
-0.07990191876888275,
0.3227899968624115,
0.2715088129043579,
-0.09536391496658325,
-0.05687084048986435,
0.0373958982527256,
-0.04709490016102791,
-0.2521675229072571,
-0.17050431668758392,
0.3140794038772583,
0.023431774228811264,
-0.006687212735414505,
0.302768349647522,
0.07795684039592743,
-0.186216801404953,
-0.13032546639442444,
-0.27792754769325256,
0.1404668092727661,
-0.2253505140542984,
-0.05449696630239487,
0.00985107570886612,
0.06475360691547394,
0.1324145793914795,
0.2773872911930084,
-0.00005270540714263916,
-0.32878902554512024,
0.19904468953609467,
0.1927996128797531,
0.2053271234035492,
0.12176458537578583,
-0.12049129605293274,
-0.08790427446365356,
0.3135778307914734,
-0.08833935856819153,
0.0937465950846672,
0.22120770812034607,
-0.26429370045661926,
-0.11704976111650467,
0.1979847103357315,
0.40033501386642456,
0.3362405300140381,
0.09866499900817871,
0.13818347454071045,
-0.08057497441768646,
0.27056583762168884,
0.061400216072797775,
0.3187433183193207,
-0.21343538165092468,
-0.013163402676582336,
0.06229996681213379,
0.08309569209814072,
0.2976841628551483,
-0.42419353127479553,
-0.25959500670433044,
0.2599199414253235,
-0.07339803874492645,
0.11430767923593521,
0.009435158222913742,
0.0686192661523819,
0.24432966113090515,
-0.2663572430610657,
-0.6210359334945679,
0.5953536033630371,
-0.1624969094991684,
0.015423024073243141,
0.0577968955039978,
-0.2788017690181732,
-0.26830342411994934,
0.3775408864021301,
-0.33565405011177063,
-0.011345455422997475,
-0.06749659031629562,
-0.12163650989532471,
-0.14962449669837952,
0.03802083432674408,
0.05503368377685547,
-0.17989706993103027,
-0.04645198583602905,
-0.4942520260810852,
-0.16892194747924805,
0.24611014127731323,
0.11480870097875595,
-0.12604773044586182,
-0.33956000208854675,
0.20307719707489014,
-0.1250387579202652,
-0.1421869993209839,
0.044403403997421265,
0.26174840331077576,
0.49148499965667725,
0.01640736684203148,
-0.0068250130861997604,
0.5276158452033997,
-0.020930126309394836,
-0.4691213369369507,
0.058121208101511,
0.15411575138568878,
-0.04773201048374176,
-0.06839478015899658,
-0.3791327476501465,
-0.22157521545886993,
-0.42008107900619507,
0.36127927899360657,
0.4312075972557068,
-0.3010251820087433,
-0.23090331256389618,
-0.008288975805044174,
-0.173162579536438,
-0.17058156430721283,
-0.04878304526209831,
-0.010599164292216301,
-0.004011290147900581,
-0.37810221314430237,
-0.35468852519989014,
0.023240819573402405,
-0.08924409002065659,
0.07728773355484009,
-0.15649016201496124,
-0.39000535011291504,
0.32526418566703796,
-0.2556169033050537,
0.19600899517536163,
-0.07814984768629074,
-0.10380490124225616,
-0.08640817552804947,
-0.31025779247283936,
0.1967298686504364,
0.10734479129314423,
-0.11811240762472153,
-0.05427202582359314,
0.154619038105011,
0.018058456480503082,
-0.0489644892513752,
0.08175690472126007,
-0.014433152973651886,
-0.14533072710037231,
-0.07204662263393402,
-0.06099903956055641,
0.24201607704162598,
-0.3518404960632324,
-0.06276737153530121,
0.2054416835308075,
0.1597883105278015,
-0.041251040995121,
0.04254806041717529,
0.2328971028327942,
0.5446841716766357,
-0.031690970063209534,
0.06369904428720474,
0.07651190459728241,
0.2319762408733368,
-0.11501435190439224,
-0.38022804260253906,
-0.034790053963661194,
-0.052320197224617004,
0.2730959951877594,
-0.2783642113208771,
0.10121658444404602,
0.1757536679506302,
-0.32512804865837097,
0.3472149670124054,
-0.07653483748435974,
-0.15934163331985474,
0.20294824242591858,
-0.11888086050748825,
-0.13593444228172302,
-0.3482723832130432,
-0.0065269991755485535,
-0.12206654250621796,
-0.14395909011363983,
-0.2146250307559967,
-0.02160779945552349,
-0.14282411336898804,
0.11662235110998154,
-0.2105158269405365,
0.2903161346912384,
0.10441023111343384,
0.04360516369342804,
0.0898713767528534,
0.017466193065047264,
-0.07622577250003815,
0.36033740639686584,
0.43616655468940735,
0.14611488580703735,
0.04875028133392334,
0.341397225856781,
-0.3575055003166199,
-0.1295643001794815,
-0.1439487636089325,
0.2279590368270874,
0.0931941568851471,
0.06481706351041794,
0.3019159436225891,
-0.39526286721229553,
0.1357056349515915,
-0.21771472692489624,
-0.05811544135212898,
0.05447846278548241,
-0.11918076872825623,
0.001088794320821762,
0.22817720472812653,
-0.012147553265094757,
0.41970205307006836,
0.11977382004261017,
0.27798399329185486,
-0.08956923335790634,
-0.10357489436864853,
-0.2892898619174957,
-0.1608930379152298,
-0.197235107421875,
-0.07920047640800476,
-0.22987985610961914,
0.18865354359149933,
-0.32845428586006165,
0.18285048007965088,
0.21482424437999725,
0.08469784259796143,
-0.2002449929714203,
0.006591194309294224,
0.060972657054662704,
0.0028216084465384483,
0.6269158720970154,
-0.08799538016319275,
-0.19377501308918,
-0.10951212048530579,
-0.20076259970664978,
-0.01597589999437332,
0.03176866099238396,
0.23310382664203644,
0.16956213116645813,
-0.46765440702438354,
-0.17379546165466309,
-0.15135294198989868,
-0.30501195788383484,
-0.08149297535419464,
-0.009883597493171692,
0.08751416951417923,
0.4294607639312744,
0.32765695452690125,
-0.3886665403842926,
-0.11354970186948776,
-0.05446469038724899,
-0.01450221985578537,
-0.25537189841270447,
0.0383291095495224,
-0.28755196928977966,
0.3702772855758667,
-0.553691029548645,
0.46964842081069946,
-0.2172519415616989,
0.0313308984041214,
0.1387416422367096,
0.20048639178276062,
0.4892013669013977,
-0.2794070839881897,
-0.2938689887523651,
0.22236084938049316,
0.0649261623620987,
0.013362623751163483,
0.138125479221344,
-0.21289318799972534,
0.21314801275730133,
-0.007659655064344406,
-0.09758001565933228,
-0.26165205240249634,
0.003760058432817459,
-0.08365268260240555,
0.049380574375391006,
-0.2327667772769928,
-0.13949333131313324,
0.3030494153499603,
0.06727451086044312,
0.07021256536245346,
0.3748641014099121,
0.3185684084892273,
0.20198273658752441,
-0.1977369785308838,
-0.29365184903144836,
-0.1263924241065979,
0.21313881874084473,
0.24904300272464752,
-0.003712012432515621,
-0.15723824501037598,
-0.2716468274593353,
-0.22331345081329346,
0.1384998857975006,
-0.1904236078262329,
0.4877389669418335,
-0.2868182063102722,
0.14748887717723846,
0.2852678596973419,
-0.002876739948987961,
0.2407306283712387,
-0.27540838718414307,
-0.23129990696907043,
-0.2519558370113373,
0.4334110915660858,
-0.11352729797363281,
-0.0182863250374794,
-0.2127731740474701,
0.1615205556154251,
-0.10471867769956589,
-0.15487761795520782,
-0.16759710013866425,
-0.34156981110572815,
0.09408081322908401,
-0.2675142288208008,
0.15201038122177124,
-0.20788879692554474,
-0.09674722701311111,
-0.5975494384765625,
-0.20107972621917725,
0.06971140205860138,
-0.11955723911523819,
-0.09380312263965607,
-0.1089293360710144,
0.05946773290634155,
-0.12825892865657806,
-0.24594344198703766,
-0.172573059797287,
0.09755037724971771,
0.004525752738118172,
0.12318117171525955,
-0.17111840844154358,
-0.01913531869649887,
0.04547370225191116,
-0.21428154408931732,
0.03377658873796463,
0.19781307876110077,
0.0799267441034317,
-0.09664229303598404,
-0.06603392213582993,
0.38937562704086304,
-0.04641326516866684,
-0.04638858512043953,
0.3963780105113983,
0.18739935755729675,
-0.08763633668422699,
-0.3715313673019409,
0.04858359321951866,
0.03283754363656044,
-0.07270762324333191,
0.24825294315814972,
-0.11268843710422516,
-0.20185048878192902,
0.07558022439479828,
0.3114892244338989,
0.9336134791374207,
-0.03402049094438553,
0.11176302284002304,
-0.19862475991249084,
-0.25896674394607544,
0.002481554402038455,
-0.06368272751569748,
0.022621456533670425,
-0.3600241243839264,
-0.3122695982456207,
0.13159464299678802,
-0.10382984578609467,
0.10630448907613754,
0.051137614995241165,
-0.4168078303337097,
0.18911798298358917,
-0.10886789858341217,
-0.037568312138319016,
0.05757827311754227,
0.13092023134231567,
-0.06400126963853836,
0.10999919474124908,
0.2095024734735489,
0.30816102027893066,
0.11689601838588715,
0.07898958027362823,
-0.154299795627594,
0.05041735619306564,
0.2574768662452698,
0.041698604822158813,
-0.1312819868326187,
0.23226067423820496,
-0.2075892686843872,
-0.026475731283426285,
0.0027298927307128906,
-0.2991786003112793,
-0.004822304472327232,
0.10432137548923492,
0.4343380928039551,
0.40394964814186096,
0.12836943566799164,
0.5280516147613525,
0.42237669229507446,
0.04387684911489487,
-0.07792441546916962,
0.16238124668598175,
0.04681851342320442,
-0.11387655884027481,
-0.3494892418384552,
0.2948206663131714,
0.01964598149061203,
0.18427209556102753,
-0.38769233226776123,
-0.08622357249259949,
0.023868370801210403,
-0.13927079737186432,
-0.2859358787536621,
-0.06942887604236603,
-0.13561712205410004,
-0.19205205142498016,
0.3160322308540344,
-0.20136843621730804,
-0.014324160292744637,
-0.008371442556381226,
0.023063352331519127,
-0.34362274408340454,
-0.11220334470272064,
-0.00048847496509552,
-0.013303816318511963,
0.16448643803596497,
0.21105073392391205,
0.04294908419251442,
-0.19906355440616608,
-0.4608509838581085,
0.022394925355911255,
0.06446035206317902,
-0.28757596015930176,
0.1716879904270172,
0.180555060505867,
-0.37761956453323364,
0.23380360007286072,
0.17478378117084503,
-0.10946957767009735,
0.5231395959854126,
-0.12532939016819,
0.038165248930454254,
-0.2962436079978943,
-0.23092027008533478,
0.1127392053604126,
0.20606786012649536,
0.12571129202842712,
0.056030359119176865,
0.20727534592151642,
0.29167038202285767,
-0.47945496439933777,
-0.11838175356388092,
-0.05041498690843582,
0.018296409398317337,
0.0902768149971962,
-0.22425630688667297,
-0.05191488564014435,
0.08437380194664001,
0.2432260513305664,
0.10062507539987564,
-0.2202892303466797,
-0.3788754642009735,
-0.006350107491016388,
0.04646478593349457,
-0.22917187213897705,
0.10095299780368805,
-0.10438112169504166,
0.15613257884979248,
0.09538039565086365,
-0.09771255403757095,
0.20560407638549805,
-0.24380800127983093,
-0.018900610506534576,
0.1649419218301773,
-0.12781883776187897,
-0.2495112121105194,
0.14773285388946533,
-0.05479815602302551,
-0.15624649822711945,
-0.01177167147397995,
-0.24496224522590637,
-0.2303493618965149,
-0.11669714748859406,
-0.23120467364788055,
-0.2248198390007019,
0.14166554808616638,
0.14102229475975037,
0.48865535855293274,
0.056027136743068695,
-0.02817092090845108,
-0.10993801057338715,
-0.12180537730455399,
0.15467971563339233,
0.09388299286365509,
0.014749032445251942,
-0.08578420430421829,
0.02487279288470745,
0.39521241188049316,
-0.1660090535879135,
0.08533038944005966,
-0.3081319332122803,
-0.11646612733602524,
0.10473982989788055,
-0.0013528019189834595,
-0.31211403012275696,
-0.2472425252199173,
0.0025657489895820618,
0.4325595796108246,
-0.03042750433087349,
-0.4107286334037781,
-0.003239912446588278,
0.17313213646411896,
0.08903457224369049,
-0.09622137248516083,
0.3641616702079773,
-0.124336376786232,
-0.030258066952228546,
-0.021564364433288574,
0.17684361338615417,
0.2901960015296936,
0.07513348758220673,
0.0946396142244339,
0.23138177394866943,
-0.12344381213188171,
0.15773862600326538,
0.17320024967193604,
0.02780918776988983,
0.048588261008262634,
0.09640786051750183,
0.17374828457832336,
0.10669253021478653,
-0.3955709636211395,
-0.1276402324438095,
0.22663213312625885,
-0.0564378947019577,
-0.04381464049220085,
-0.20725561678409576,
-0.026228468865156174,
0.14959566295146942,
0.002567235380411148,
0.2792157530784607,
0.4640117883682251,
-0.1504444181919098,
0.17622849345207214,
-0.17388074100017548,
0.049175284802913666,
-0.23986482620239258,
-0.42770206928253174,
0.14271464943885803,
-0.15397126972675323,
0.31584227085113525,
0.17744438350200653,
0.24359972774982452,
0.19537462294101715,
0.20354010164737701,
0.41115885972976685,
0.26468831300735474,
-0.06446497142314911,
0.0223649051040411,
-0.04830781742930412,
-0.10108425468206406,
-0.0340605229139328,
0.1813002973794937,
0.19876989722251892,
-0.08028963208198547,
-0.21142908930778503,
0.3532854914665222,
-0.4331889748573303,
0.13371862471103668,
-0.06590378284454346,
-0.13321001827716827,
0.05079047009348869,
0.2738039493560791,
0.30961596965789795,
-0.3682127296924591,
-0.42932385206222534,
-0.03753357380628586,
-0.49237868189811707,
0.010944749228656292,
0.44244036078453064,
0.017715943977236748,
-0.1143326684832573,
-0.20769774913787842,
0.18356853723526,
0.08938480913639069,
0.3735465705394745,
0.20954005420207977,
0.04589155316352844,
0.10428021103143692,
0.060289204120635986,
0.006342247128486633,
0.28112873435020447,
0.1371939331293106,
0.13278955221176147,
-0.17453980445861816,
-0.10374313592910767,
-0.048070721328258514,
-0.1394241601228714,
0.5190436840057373,
0.08967074006795883,
0.0245920829474926,
0.10834697633981705,
-0.3226373493671417,
0.3025541305541992,
0.009807392954826355,
0.12926293909549713,
0.1530301570892334,
-0.15322905778884888,
0.026791874319314957,
-0.192651629447937,
0.3410235047340393,
0.031492166221141815,
-0.0023030154407024384,
0.0769738107919693,
0.2987951934337616,
0.29114916920661926,
-0.0891614556312561,
0.2564829885959625,
-0.29186132550239563,
-0.06863583624362946,
0.3177582919597626,
-0.2077660858631134,
-0.08803969621658325,
0.3182658553123474,
0.1139104962348938,
0.11978447437286377,
0.10473240166902542,
-0.04223893955349922,
-0.34453514218330383,
0.5714165568351746,
0.02832019329071045,
0.09008778631687164,
-0.1787167191505432,
-0.03204769268631935,
0.1401137411594391,
-0.00798124447464943,
0.180019348859787,
0.04766130819916725,
0.10480907559394836,
0.02947540022432804,
-0.39129841327667236,
-0.20504796504974365,
0.5358012318611145,
0.150925874710083,
-0.2570762038230896,
-0.07300012558698654,
0.27598702907562256,
-0.18291068077087402,
0.0034747831523418427,
-0.1389031708240509,
0.085968516767025,
0.19089479744434357,
0.2574698328971863,
-0.18800583481788635,
0.21435153484344482,
-0.15058167278766632,
0.23507188260555267,
-0.0017349496483802795,
0.05820457637310028,
0.23134231567382812,
-0.05420056730508804,
-0.19841942191123962,
-0.12731681764125824
] |
https://github.com/huggingface/datasets/pull/416 | Fix xtreme panx directory | great, I think I did not download the data the way you do, but yours is more reasonable. | Fix #412 | 18 | text: Fix xtreme panx directory
Fix #412
great, I think I did not download the data the way you do, but yours is more reasonable. | [
-0.3403434753417969,
-0.3768346309661865,
-0.19260892271995544,
0.16978710889816284,
0.24497045576572418,
-0.09306040406227112,
-0.05017514154314995,
0.35805097222328186,
-0.124249666929245,
-0.02008412778377533,
-0.1660522073507309,
0.05426099896430969,
0.1282660961151123,
0.0688856989145279,
-0.030560679733753204,
0.08044251799583435,
-0.16266655921936035,
0.31275272369384766,
-0.04829353094100952,
-0.1504538655281067,
-0.09946298599243164,
-0.03004293330013752,
0.0939570814371109,
0.12229979038238525,
-0.2104206681251526,
0.09339345246553421,
0.20017114281654358,
0.4524681866168976,
-0.15917031466960907,
-0.285074919462204,
0.17753835022449493,
0.11333383619785309,
0.04030608758330345,
0.2460428774356842,
-0.00009975983994081616,
-0.07086777687072754,
0.24338121712207794,
-0.0943388044834137,
0.15139135718345642,
0.4175698757171631,
-0.44011351466178894,
-0.2756384015083313,
-0.27375859022140503,
-0.19040578603744507,
-0.03785395622253418,
-0.08389025926589966,
-0.25820115208625793,
-0.10182589292526245,
0.17327123880386353,
0.2387608289718628,
0.36764761805534363,
-0.04201742261648178,
0.023980800062417984,
-0.00413078349083662,
0.3183807134628296,
-0.036023013293743134,
-0.13051338493824005,
-0.12185730040073395,
0.6045114994049072,
0.17100739479064941,
0.12027600407600403,
0.48319822549819946,
0.016531238332390785,
0.0865074098110199,
0.013252202421426773,
-0.12504719197750092,
0.3579366207122803,
-0.23263606429100037,
0.14736542105674744,
-0.08854302018880844,
0.27655285596847534,
-0.024007081985473633,
0.03309622406959534,
-0.08269867300987244,
0.016309641301631927,
-0.41522127389907837,
0.27993014454841614,
0.023025915026664734,
-0.15381048619747162,
-0.10646320879459381,
0.006481277756392956,
-0.19319559633731842,
0.005565166473388672,
-0.11991265416145325,
-0.27124789357185364,
0.34254011511802673,
-0.18013246357440948,
-0.21135005354881287,
-0.03591732308268547,
-0.07987222075462341,
0.5349635481834412,
0.2536412179470062,
-0.21425634622573853,
-0.14901939034461975,
-0.013605501502752304,
-0.1002575010061264,
0.03434289991855621,
-0.09224651008844376,
0.012680094689130783,
-0.1153368353843689,
-0.013462853617966175,
0.2847374379634857,
0.03884432092308998,
-0.12370473891496658,
-0.06661000847816467,
0.23691695928573608,
0.11891809105873108,
-0.06880674511194229,
0.2920873165130615,
0.08103925734758377,
0.10289870202541351,
-0.018776413053274155,
0.03420622646808624,
-0.1191648542881012,
-0.003043968230485916,
0.2596287727355957,
0.1691780537366867,
-0.381127268075943,
-0.1466679573059082,
0.1205114796757698,
0.05621575564146042,
0.15691642463207245,
0.038406554609537125,
0.1398926079273224,
-0.028498724102973938,
0.3253065049648285,
-0.009616287425160408,
0.037407249212265015,
-0.3044467568397522,
0.015509218908846378,
-0.24063017964363098,
0.13450564444065094,
-0.2717677652835846,
-0.2878026068210602,
0.151087686419487,
0.306682825088501,
0.12790483236312866,
-0.12159475684165955,
0.2829095125198364,
-0.20077015459537506,
-0.13071469962596893,
0.03737901151180267,
-0.02155747264623642,
0.31441882252693176,
0.22725138068199158,
0.1691998690366745,
-0.13115327060222626,
0.26031941175460815,
0.10909714549779892,
0.27089086174964905,
-0.4331260323524475,
-0.14373743534088135,
-0.07847992330789566,
0.4326905310153961,
0.14953093230724335,
0.08293847739696503,
-0.07794546335935593,
-0.2968984544277191,
-0.08565644174814224,
0.2255498468875885,
0.19101890921592712,
0.04305363446474075,
0.21422913670539856,
-0.05850866809487343,
0.0029677096754312515,
0.03356894850730896,
-0.10451473295688629,
0.13613757491111755,
0.04375917464494705,
-0.16248618066310883,
0.1774374544620514,
0.04701391980051994,
0.06607081741094589,
0.07621078193187714,
-0.3792741298675537,
0.3136231303215027,
0.3613211512565613,
-0.5015263557434082,
-0.3902888000011444,
-0.030640292912721634,
-0.32165729999542236,
-0.2536890208721161,
-0.06064995378255844,
0.13518734276294708,
0.1526142656803131,
-0.0351557657122612,
0.2970409393310547,
0.17857356369495392,
0.010387107729911804,
0.1570366770029068,
-0.5109380483627319,
-0.053643643856048584,
-0.654780924320221,
0.17220275104045868,
0.363628625869751,
-0.24892917275428772,
0.014160379767417908,
-0.05750378593802452,
0.35999029874801636,
-0.06361733376979828,
0.15256479382514954,
0.34885239601135254,
0.3627725839614868,
-0.04830379784107208,
-0.12161160260438919,
0.13238570094108582,
-0.15005189180374146,
0.135460764169693,
-0.17468750476837158,
-0.04562651365995407,
0.025189809501171112,
-0.04731091111898422,
-0.3424621820449829,
-0.15065772831439972,
-0.22208718955516815,
-0.04919392243027687,
0.33442407846450806,
0.09179049730300903,
-0.0952453464269638,
-0.21765753626823425,
0.021219920367002487,
0.06722432374954224,
0.049623288214206696,
0.051711685955524445,
0.0517677366733551,
0.07212105393409729,
-0.1992483288049698,
-0.16394560039043427,
0.028010889887809753,
0.07363472878932953,
0.1750396192073822,
-0.16124050319194794,
-0.04302753508090973,
0.372210294008255,
-0.21678534150123596,
0.2991268038749695,
0.1243903636932373,
0.11956378817558289,
0.2392532378435135,
-0.5118573307991028,
0.16565212607383728,
0.11098617315292358,
0.056541673839092255,
-0.05685398727655411,
-0.020722530782222748,
0.18391065299510956,
0.015074212104082108,
-0.22863000631332397,
-0.05262047424912453,
0.06499140709638596,
0.2415841817855835,
-0.2938200533390045,
0.1811302751302719,
-0.17748050391674042,
0.08533351123332977,
0.22873665392398834,
-0.07004524022340775,
-0.12702429294586182,
-0.16466185450553894,
0.23068174719810486,
0.11732074618339539,
-0.09947782754898071,
0.18289929628372192,
0.1213313490152359,
-0.20899483561515808,
0.15480077266693115,
-0.05001536011695862,
0.24798433482646942,
0.25219663977622986,
0.2572861611843109,
0.13349653780460358,
0.18736253678798676,
0.17339123785495758,
-0.22788694500923157,
0.2094421088695526,
-0.06928099691867828,
-0.26724621653556824,
0.31885334849357605,
-0.06155906617641449,
-0.14930053055286407,
-0.38971203565597534,
0.007480259984731674,
-0.10857955366373062,
0.20787107944488525,
-0.21478690207004547,
-0.48892727494239807,
0.05998414009809494,
-0.424051433801651,
0.07061664015054703,
-0.15063710510730743,
0.1051424890756607,
-0.3628328740596771,
0.16402365267276764,
0.05941373482346535,
0.008159510791301727,
0.17179976403713226,
-0.48094257712364197,
0.058374449610710144,
0.15053707361221313,
-0.012140294536948204,
-0.16264379024505615,
0.20313304662704468,
-0.15729933977127075,
0.23817265033721924,
-0.010007479228079319,
0.09861093014478683,
0.11529768258333206,
-0.38251256942749023,
0.5721980333328247,
-0.3373224437236786,
-0.21597713232040405,
0.06993424147367477,
-0.06259579956531525,
0.03978869318962097,
0.06562173366546631,
0.30063533782958984,
-0.0014417245984077454,
0.0909525454044342,
0.2846318781375885,
-0.433856338262558,
-0.03936397656798363,
-0.13962344825267792,
0.02240094356238842,
-0.08229680359363556,
-0.1794777661561966,
-0.16289275884628296,
0.028474699705839157,
-0.4022998809814453,
-0.17689600586891174,
0.11748386919498444,
0.17727766931056976,
-0.1465197503566742,
-0.13508829474449158,
0.03571396693587303,
-0.01623721234500408,
-0.1659703105688095,
-0.2346188724040985,
-0.31335368752479553,
0.4044460356235504,
-0.14070917665958405,
-0.1885117143392563,
0.14018873870372772,
0.0561603382229805,
0.08788465708494186,
-0.05222374573349953,
-0.37404048442840576,
-0.2535321116447449,
-0.210370734333992,
0.05045986548066139,
-0.15615113079547882,
0.0951123833656311,
0.2670336365699768,
0.00718127004802227,
-0.33118581771850586,
-0.11200273782014847,
-0.16481566429138184,
-0.23030170798301697,
0.2439025342464447,
0.23515737056732178,
-0.261772483587265,
0.04476175457239151,
-0.002024974673986435,
0.2943672835826874,
-0.05692810192704201,
0.31321951746940613,
0.43866878747940063,
-0.0294105913490057,
0.22790288925170898,
0.14021286368370056,
-0.12553197145462036,
-0.06917962431907654,
0.17682889103889465,
0.059572942554950714,
0.13754791021347046,
0.2308787703514099,
-0.011974196881055832,
-0.11907564848661423,
0.0012742336839437485,
-0.2902935743331909,
-0.37577491998672485,
0.109700508415699,
0.11038346588611603,
-0.0632869228720665,
0.07006029784679413,
0.2256036400794983,
-0.0769297331571579,
-0.08041709661483765,
0.23522669076919556,
0.13303862512111664,
-0.11737100034952164,
-0.05551889166235924,
-0.3365333378314972,
0.08479152619838715,
-0.33476728200912476,
0.3002929985523224,
0.06253056228160858,
0.25073739886283875,
-0.0123191699385643,
-0.1264551281929016,
0.17262901365756989,
-0.1786975860595703,
0.18063393235206604,
-0.19895224273204803,
0.24406778812408447,
-0.008679083548486233,
0.025150038301944733,
-0.06942423433065414,
-0.260916531085968,
-0.1991959810256958,
-0.006838823202997446,
0.14305414259433746,
0.20599809288978577,
-0.0815303698182106,
-0.06402049958705902,
0.018617358058691025,
-0.1773831695318222,
-0.10338082909584045,
0.08047734946012497,
-0.04789748787879944,
-0.5051071643829346,
-0.14141277968883514,
0.1891017109155655,
0.08000046759843826,
-0.11585838347673416,
0.1515468806028366,
-0.2624848186969757,
-0.08620231598615646,
-0.32914999127388,
0.18103742599487305,
0.10589927434921265,
0.35645297169685364,
0.009743751958012581,
0.033826958388090134,
-0.08020739257335663,
-0.12343017756938934,
0.23265422880649567,
0.31227943301200867,
0.018318183720111847,
0.3688202202320099,
0.01402201782912016,
-0.5843765735626221,
0.11041325330734253,
0.2721852660179138,
0.05749804154038429,
-0.17767572402954102,
-0.4385029077529907,
0.2924843728542328,
-0.011393616907298565,
0.16919995844364166,
0.22784850001335144,
-0.08236214518547058,
-0.15328170359134674,
0.14442822337150574,
0.17375652492046356,
0.05770225450396538,
-0.1273864209651947,
0.18413537740707397,
0.032292693853378296,
-0.18867997825145721,
-0.3559892773628235,
0.2665765881538391,
0.9755772352218628,
0.0848800390958786,
0.042149268090724945,
-0.02274356409907341,
-0.12501463294029236,
-0.14309623837471008,
-0.08390375971794128,
0.31513863801956177,
-0.17504216730594635,
-0.3745368719100952,
-0.06520222872495651,
0.022454556077718735,
-0.0871419832110405,
-0.216826930642128,
-0.08078532665967941,
0.0609469898045063,
-0.18951965868473053,
0.08263389766216278,
0.0439046248793602,
-0.19360145926475525,
-0.1304871290922165,
-0.12277187407016754,
-0.21822546422481537,
0.2973106801509857,
-0.07204607129096985,
0.09916667640209198,
-0.31504297256469727,
-0.17308162152767181,
0.025797966867685318,
-0.1650983691215515,
-0.11215790361166,
0.14804556965827942,
-0.1311608850955963,
-0.12513791024684906,
-0.1924659162759781,
-0.223380908370018,
-0.44411128759384155,
-0.237559974193573,
-0.07919448614120483,
0.10556250065565109,
-0.11409454047679901,
0.33575761318206787,
0.4624914228916168,
0.06606290489435196,
0.0223934855312109,
-0.0723593682050705,
-0.20042194426059723,
-0.09956951439380646,
-0.03495302051305771,
0.09020044654607773,
-0.032513152807950974,
-0.027205737307667732,
-0.26766014099121094,
0.11002133786678314,
0.08704698830842972,
-0.09517740458250046,
-0.0494091771543026,
-0.08555470407009125,
-0.04016224294900894,
-0.11933326721191406,
0.2965831458568573,
0.0029577240347862244,
0.027257826179265976,
0.2554091811180115,
0.24567876756191254,
-0.3416678309440613,
-0.15259958803653717,
0.2599828839302063,
0.09847357869148254,
-0.17453545331954956,
0.10570888221263885,
-0.13792726397514343,
-0.12524178624153137,
-0.3402925729751587,
0.13073304295539856,
0.11314103752374649,
-0.370491623878479,
-0.12560221552848816,
-0.28035518527030945,
-0.23906785249710083,
0.24231378734111786,
0.10182126611471176,
0.14505675435066223,
-0.07039273530244827,
0.03654159978032112,
-0.20664182305335999,
-0.33340874314308167,
0.15297314524650574,
0.07246476411819458,
0.2995525002479553,
-0.30343377590179443,
0.10339829325675964,
0.23069751262664795,
-0.26674872636795044,
-0.5175366997718811,
0.1738979071378708,
-0.20405089855194092,
-0.09925203025341034,
-0.11783184111118317,
0.03612730652093887,
0.20284874737262726,
0.026701822876930237,
0.2867727279663086,
0.2763524651527405,
-0.33105385303497314,
-0.3594207465648651,
0.16581417620182037,
0.037539273500442505,
0.010867360047996044,
-0.1712842732667923,
0.12791073322296143,
0.0126664899289608,
-0.1403997540473938,
0.17445263266563416,
-0.14113523066043854,
0.06641111522912979,
0.09933458268642426,
-0.19652706384658813,
0.031358953565359116,
-0.025371916592121124,
-0.06210058927536011,
0.15758481621742249,
0.07946480810642242,
0.3377179205417633,
-0.2506989538669586,
-0.002344563603401184,
-0.18174365162849426,
-0.1745237112045288,
0.02071167342364788,
0.0928078219294548,
0.2509491443634033,
0.3717891275882721,
0.07785644382238388,
-0.11484654247760773,
0.1686708927154541,
0.3674759268760681,
0.1923331916332245,
0.3598352074623108,
-0.17176131904125214,
-0.12361279129981995,
-0.08858396857976913,
0.5159281492233276,
-0.2689323425292969,
-0.07130324840545654,
0.02562885731458664,
-0.10975135117769241,
0.15428555011749268,
0.35313817858695984,
0.24133914709091187,
-0.15608525276184082,
0.44427239894866943,
0.3081681728363037,
0.26667121052742004,
-0.2241217941045761,
-0.0608186312019825,
0.45066946744918823,
-0.24900555610656738,
-0.1070874035358429,
0.300039142370224,
0.14531724154949188,
0.16577351093292236,
0.6525651216506958,
0.02493216097354889,
0.2992798984050751,
0.24526697397232056,
0.16483524441719055,
-0.2688582241535187,
-0.21900607645511627,
-0.15822915732860565,
0.11341032385826111,
-0.1131892055273056,
0.23432907462120056,
0.20452338457107544,
-0.12267877906560898,
-0.31039735674858093,
-0.14749182760715485,
-0.31699511408805847,
0.08069351315498352,
-0.2867374122142792,
0.11905260384082794,
0.06883818656206131,
-0.209172785282135,
-0.12704354524612427,
-0.05764998495578766,
0.02211257442831993,
0.34329599142074585,
0.06739448755979538,
-0.04976806044578552,
-0.16327552497386932,
-0.09907416254281998,
-0.11200293153524399,
0.10156814754009247,
0.16083398461341858,
-0.31394681334495544,
0.2841498553752899,
0.13001365959644318,
-0.01928619295358658,
0.12723882496356964,
0.46513161063194275,
0.23181968927383423,
0.26717400550842285,
-0.1368720382452011,
-0.0314192920923233,
0.2571904957294464,
-0.06673727929592133,
-0.2694838345050812,
0.091147281229496,
0.2484900802373886,
0.15018713474273682,
0.10253340005874634,
0.3915066421031952,
-0.3788611888885498,
0.27966147661209106,
-0.10558757185935974,
-0.02776363119482994,
0.4391095042228699,
-0.04134441167116165,
0.03734063357114792,
-0.06076350063085556,
-0.1903369128704071,
-0.318354070186615,
-0.31325533986091614,
-0.0774678960442543,
0.19717012345790863,
-0.22333551943302155,
0.20140182971954346,
-0.10690882056951523,
0.16069847345352173,
0.08351512998342514,
0.32130828499794006,
0.14741167426109314,
-0.1870456039905548,
-0.1892293095588684,
-0.14591708779335022,
-0.48628413677215576,
0.19907690584659576,
0.03330019861459732,
-0.17046648263931274,
0.05352598428726196,
-0.05530320107936859,
-0.03503616154193878,
0.07286867499351501,
0.4737570881843567,
0.1913445144891739,
0.12464215606451035,
0.06896485388278961,
-0.49810197949409485,
0.20731861889362335,
0.5405173301696777,
0.006914620287716389,
0.25849804282188416,
-0.3938862085342407,
0.27618229389190674,
0.026847422122955322,
0.39411866664886475,
0.10129813849925995,
-0.11971387267112732,
-0.01780003309249878,
0.03777968883514404,
0.57803875207901,
-0.010538214817643166,
0.022361278533935547,
-0.16819798946380615,
-0.18549856543540955,
-0.13508136570453644,
-0.1288963109254837,
-0.04298027232289314,
-0.15265142917633057,
0.3835843801498413,
0.02099580317735672,
0.1074344664812088,
0.07547702640295029,
-0.3333361744880676,
0.06861159205436707,
0.23559491336345673,
0.3623983561992645,
-0.21767236292362213,
0.3195539116859436,
-0.10455631464719772,
0.03476991131901741,
0.0852804183959961,
0.1421847939491272,
0.09933534264564514,
0.05709512531757355,
-0.31877565383911133,
-0.7693244814872742,
0.4229465425014496,
0.415079802274704,
-0.24475181102752686,
-0.1491270512342453,
0.26381197571754456,
0.11151349544525146,
0.21715989708900452,
-0.1580502986907959,
0.17542636394500732,
0.08170637488365173,
-0.10038142651319504,
-0.2568585276603699,
0.18060293793678284,
-0.1647789478302002,
-0.2307680994272232,
0.102055624127388,
0.41778406500816345,
0.1961551308631897,
-0.017919344827532768,
-0.042156003415584564,
0.06823465973138809
] |
https://github.com/huggingface/datasets/pull/398 | Add inline links | Do you mind adding a link to the much more extended pages on adding and sharing a dataset in the new documentation? | Add inline links to `Contributing.md` | 22 | text: Add inline links
Add inline links to `Contributing.md`
Do you mind adding a link to the much more extended pages on adding and sharing a dataset in the new documentation? | [
-0.165715292096138,
0.09789851307868958,
-0.2216305434703827,
-0.36207377910614014,
0.0581202358007431,
0.3171743154525757,
0.13463471829891205,
0.07615232467651367,
-0.09229636192321777,
0.22929367423057556,
0.015848083421587944,
0.20524023473262787,
0.04682595282793045,
-0.0015926938503980637,
0.36415329575538635,
-0.030435748398303986,
0.13321338593959808,
0.06008073315024376,
0.013996154069900513,
-0.07410216331481934,
-0.18007344007492065,
-0.013948844745755196,
-0.07612279057502747,
-0.14963620901107788,
-0.029461249709129333,
0.22236154973506927,
-0.008256874978542328,
-0.05202064663171768,
-0.1575053334236145,
-0.5508375763893127,
-0.2251884639263153,
0.3464907109737396,
-0.12948784232139587,
-0.1146433874964714,
-0.00009942414908437058,
-0.2849690318107605,
0.41923511028289795,
0.17090357840061188,
-0.4977886974811554,
0.000889509916305542,
-0.5810289978981018,
-0.42165032029151917,
0.10120006650686264,
-0.03387711942195892,
0.05874601751565933,
-0.019921496510505676,
0.14909528195858002,
-0.054448943585157394,
-0.36648786067962646,
-0.23317474126815796,
0.3625464141368866,
-0.026275519281625748,
0.1563093513250351,
-0.48563292622566223,
0.33571964502334595,
0.2145850956439972,
-0.22342778742313385,
0.13757462799549103,
0.49172574281692505,
0.18971878290176392,
0.10472472757101059,
0.279800683259964,
-0.011293023824691772,
-0.23040513694286346,
0.4919932186603546,
0.04798309504985809,
0.1507030725479126,
0.05024556443095207,
-0.0148923359811306,
0.1176510602235794,
0.8556071519851685,
0.0169699527323246,
-0.11955326050519943,
-0.13744185864925385,
0.001095110783353448,
-0.04774290323257446,
-0.13313370943069458,
0.07213874161243439,
-0.06886842846870422,
0.013037499040365219,
-0.07067032903432846,
-0.5296319127082825,
-0.1977403312921524,
0.16410332918167114,
0.2851099669933319,
0.10974089801311493,
-0.051817722618579865,
-0.2898518741130829,
0.2831471562385559,
-0.016034387052059174,
-0.041124723851680756,
0.13309043645858765,
-0.07030177116394043,
0.09546758234500885,
0.549440324306488,
-0.11632779240608215,
0.2310045063495636,
-0.18435949087142944,
0.38239628076553345,
0.1414710283279419,
0.2426077127456665,
-0.15546372532844543,
-0.10357192158699036,
0.11834754049777985,
0.13297975063323975,
-0.2690389156341553,
-0.11399038881063461,
0.1320146918296814,
0.25658392906188965,
0.24568277597427368,
0.29710763692855835,
-0.14334651827812195,
0.09596270322799683,
-0.13446593284606934,
-0.13658814132213593,
-0.10151275247335434,
0.1262100338935852,
-0.005912810564041138,
-0.03803224116563797,
0.07831580936908722,
0.4062693417072296,
-0.329595148563385,
-0.134491428732872,
0.136520653963089,
0.1453869342803955,
-0.21649718284606934,
-0.10439017415046692,
-0.016005370765924454,
0.10796784609556198,
-0.0734899714589119,
-0.1190127357840538,
0.18052345514297485,
-0.2591511309146881,
0.09118826687335968,
0.0713951587677002,
0.12373077869415283,
0.06131581962108612,
0.007039499469101429,
0.37098854780197144,
-0.057895585894584656,
-0.10758984088897705,
0.3113202452659607,
0.23620668053627014,
0.1938392072916031,
0.05038118734955788,
0.15203838050365448,
-0.10992476344108582,
-0.2646758556365967,
-0.202670618891716,
0.2032884955406189,
-0.13202378153800964,
-0.32460424304008484,
-0.2606353163719177,
0.294978529214859,
0.2808910608291626,
-0.20210912823677063,
0.07875882834196091,
0.24538834393024445,
-0.3267418146133423,
-0.15250933170318604,
0.2386896312236786,
0.5459722280502319,
0.06511171162128448,
-0.19637823104858398,
0.22455696761608124,
0.37739866971969604,
0.015263322740793228,
-0.23207911849021912,
-0.28450143337249756,
0.02069450169801712,
-0.10066882520914078,
0.09861467778682709,
-0.043243806809186935,
0.16628211736679077,
-0.16088494658470154,
0.16448239982128143,
0.4961566925048828,
-0.2323225438594818,
0.03756330907344818,
0.05134207010269165,
-0.11066082119941711,
-0.2626970410346985,
0.08299187570810318,
0.2542981505393982,
0.3955410420894623,
-0.170312762260437,
0.19627097249031067,
0.0457078292965889,
-0.21168863773345947,
0.04576174169778824,
-0.25317618250846863,
-0.00984562374651432,
0.12325689941644669,
-0.01301666721701622,
-0.22135566174983978,
0.009142160415649414,
0.29112592339515686,
0.025499124079942703,
0.29443421959877014,
-0.13713796436786652,
0.1209997609257698,
0.06613752245903015,
0.5829058885574341,
-0.0025977790355682373,
-0.12020532041788101,
0.006910219788551331,
-0.20608946681022644,
-0.2147652804851532,
0.22165775299072266,
0.1747605800628662,
0.20131374895572662,
-0.3284692168235779,
-0.3174087107181549,
-0.056343987584114075,
0.09925611317157745,
-0.2872825860977173,
0.22345110774040222,
-0.15086476504802704,
-0.2410239428281784,
0.2780706286430359,
-0.2018076479434967,
-0.1939569115638733,
-0.1390346884727478,
0.19788768887519836,
0.20497934520244598,
0.1497873067855835,
-0.12091615051031113,
0.23237060010433197,
0.09214489161968231,
0.2574632465839386,
-0.08332937210798264,
0.06303466111421585,
0.06585078686475754,
0.17787206172943115,
-0.13058966398239136,
0.34183570742607117,
0.46296826004981995,
0.32242757081985474,
0.4070836007595062,
-0.27831482887268066,
0.19384856522083282,
-0.19011971354484558,
-0.08970066905021667,
0.10140099376440048,
-0.23800447583198547,
-0.12789283692836761,
-0.4648505747318268,
0.18994289636611938,
0.1554495394229889,
0.14409972727298737,
0.0517331063747406,
0.10471147298812866,
-0.0424962118268013,
-0.32851335406303406,
-0.19520187377929688,
0.42677122354507446,
0.13667581975460052,
-0.10421961545944214,
-0.1386047899723053,
0.5466336011886597,
0.028310557827353477,
-0.12383349239826202,
-0.05248662084341049,
0.278889924287796,
-0.1378365159034729,
0.0018024183809757233,
0.16795571148395538,
0.31742238998413086,
-0.06451620161533356,
0.2851422429084778,
0.36888059973716736,
0.16380426287651062,
0.08696795254945755,
-0.24458719789981842,
0.32406675815582275,
0.012240283191204071,
-0.12190531194210052,
0.03865847364068031,
0.009156424552202225,
0.19921435415744781,
-0.011900432407855988,
0.17788165807724,
-0.19643673300743103,
-0.03270549327135086,
0.014009308069944382,
-0.24465972185134888,
0.12973889708518982,
-0.41964006423950195,
0.07552120089530945,
-0.3395223915576935,
-0.3525363504886627,
-0.5158575773239136,
0.1325589418411255,
0.1697731465101242,
-0.2954196333885193,
0.07465153932571411,
-0.24896669387817383,
0.7687163352966309,
-0.2650192975997925,
0.43709462881088257,
-0.10677621513605118,
0.050208840519189835,
-0.014520570635795593,
0.258430540561676,
0.11008308082818985,
-0.004873615223914385,
0.44896790385246277,
0.08036788552999496,
0.4358450174331665,
-0.6298032999038696,
-0.3161742389202118,
-0.027424432337284088,
0.08075807243585587,
-0.15288342535495758,
0.20765218138694763,
0.09160300344228745,
0.1712213009595871,
-0.49411314725875854,
0.06990627199411392,
-0.040080808103084564,
0.004721801728010178,
-0.5410060286521912,
0.07055047154426575,
-0.056499283760786057,
-0.16226688027381897,
-0.17315179109573364,
-0.00250091589987278,
-0.40378430485725403,
0.21773511171340942,
-0.20885176956653595,
0.21409392356872559,
-0.040762752294540405,
-0.05740397796034813,
0.07463110238313675,
-0.16562420129776,
0.04347509145736694,
-0.008118814788758755,
-0.006403561681509018,
0.16496747732162476,
-0.4975418746471405,
-0.10507014393806458,
0.11682404577732086,
0.0704534575343132,
0.1409941166639328,
-0.3008947968482971,
-0.1519463062286377,
0.11856838315725327,
-0.010180676355957985,
-0.028332676738500595,
0.10303446650505066,
0.3261549472808838,
0.06200220063328743,
0.23060713708400726,
-0.37377598881721497,
-0.0569085031747818,
-0.26053112745285034,
-0.16014263033866882,
0.015502408146858215,
0.0023132488131523132,
-0.2893996834754944,
-0.10190349072217941,
-0.017964553087949753,
0.5297949910163879,
0.1899368017911911,
0.30342158675193787,
0.05378178134560585,
-0.07171335071325302,
0.4552209675312042,
0.06432397663593292,
-0.29897040128707886,
-0.02113289013504982,
-0.004887431859970093,
-0.11666959524154663,
0.08751463145017624,
0.37749922275543213,
-0.2674761116504669,
0.09130176901817322,
-0.21431706845760345,
-0.3230142593383789,
-0.4033035635948181,
0.017844470217823982,
-0.03762568533420563,
0.16154912114143372,
0.06161406263709068,
-0.38964101672172546,
-0.32860442996025085,
-0.09835142642259598,
0.028569672256708145,
0.4209442734718323,
0.20239296555519104,
-0.16026227176189423,
-0.13108065724372864,
-0.023834144696593285,
-0.41328880190849304,
-0.08125956356525421,
0.07654210180044174,
-0.09908769279718399,
-0.24399137496948242,
-0.4475694000720978,
-0.0351799875497818,
0.08061548322439194,
0.17658808827400208,
-0.5428741574287415,
-0.36037856340408325,
0.12098444998264313,
0.3014039695262909,
0.34254199266433716,
0.17808176577091217,
0.07627686858177185,
0.3299022614955902,
0.4388798177242279,
-0.26549240946769714,
0.07262308150529861,
-0.09980320930480957,
0.5302037000656128,
-0.20667631924152374,
0.15176589787006378,
0.03489915281534195,
0.15098905563354492,
0.07045304030179977,
-0.04198985919356346,
-0.08288610726594925,
-0.012979076243937016,
-0.066765695810318,
-0.05393920838832855,
-0.28284353017807007,
0.4572584927082062,
-0.04167291522026062,
-0.025919541716575623,
-0.06478284299373627,
0.01625291258096695,
0.3911827504634857,
0.06649045646190643,
0.11580726504325867,
0.1868605762720108,
0.2916085720062256,
0.17504966259002686,
-0.4338829219341278,
0.08490952849388123,
-0.010712604969739914,
-0.42497918009757996,
0.661831259727478,
0.2697177529335022,
0.4077644944190979,
0.38834112882614136,
-0.1770835667848587,
-0.03234795480966568,
-0.22903858125209808,
-0.06657726317644119,
0.04457627236843109,
0.07465063780546188,
-0.15168744325637817,
-0.2522921562194824,
0.2637391686439514,
-0.12197136878967285,
-0.11434238404035568,
0.4758991301059723,
0.4708232283592224,
-0.1204492598772049,
-0.30465346574783325,
0.10499373078346252,
0.7912885546684265,
0.07587257772684097,
0.27966564893722534,
-0.1797812581062317,
-0.3539835810661316,
0.39260733127593994,
-0.15853671729564667,
0.11825474351644516,
-0.3045460879802704,
0.19454210996627808,
-0.13340556621551514,
-0.14352141320705414,
-0.05193358659744263,
-0.3173946142196655,
-0.19982075691223145,
-0.21215970814228058,
-0.07383139431476593,
0.1692657321691513,
0.007205853704363108,
0.30302533507347107,
0.05782054364681244,
-0.2778798043727875,
0.2027430236339569,
0.1867929846048355,
0.2507675886154175,
-0.06648348271846771,
-0.1616402566432953,
-0.2829837203025818,
0.02106732502579689,
0.07239323854446411,
-0.4547806978225708,
-0.05458728224039078,
0.2617187798023224,
-0.1499938666820526,
0.19487865269184113,
-0.21860887110233307,
0.3947986960411072,
-0.2934669554233551,
0.44219017028808594,
0.2102518528699875,
-0.21307268738746643,
-0.0784246027469635,
-0.103825144469738,
0.06973808258771896,
-0.20366759598255157,
-0.1532520204782486,
0.1338280290365219,
-0.19237759709358215,
-0.1666019707918167,
0.18607959151268005,
-0.021597567945718765,
-0.47080540657043457,
-0.1754045933485031,
0.10450030863285065,
-0.012454695999622345,
-0.3326379954814911,
0.0890636295080185,
0.3055195212364197,
-0.19501839578151703,
-0.24429863691329956,
0.2068500816822052,
0.17025302350521088,
0.046518150717020035,
-0.31256985664367676,
0.5479714870452881,
-0.01714867353439331,
0.019018629565835,
-0.01724572479724884,
-0.034788042306900024,
-0.32636159658432007,
-0.016292423009872437,
-0.15823234617710114,
-0.2284681648015976,
-0.32965609431266785,
-0.021027974784374237,
0.364533394575119,
-0.025330334901809692,
-0.15555858612060547,
-0.11139746010303497,
0.07009696960449219,
-0.061087317764759064,
0.19535110890865326,
0.03734644502401352,
0.23374798893928528,
-0.2919062077999115,
0.04443325102329254,
-0.33948346972465515,
0.2228301763534546,
-0.3801301419734955,
0.2889508306980133,
-0.27319616079330444,
-0.10865801572799683,
0.17948177456855774,
0.030864467844367027,
-0.4404127299785614,
0.08635679632425308,
0.06092796474695206,
-0.21444915235042572,
0.24110272526741028,
-0.12633049488067627,
-0.0709208995103836,
-0.175461545586586,
0.15354052186012268,
-0.3910179138183594,
-0.25961682200431824,
-0.2910940647125244,
-0.015962816774845123,
0.11649421602487564,
-0.04276464879512787,
-0.11157873272895813,
-0.10443683713674545,
0.11894014477729797,
0.00990789383649826,
0.0044336942955851555,
0.05554651841521263,
-0.34305450320243835,
-0.035223595798015594,
-0.11898346245288849,
-0.022085998207330704,
0.058821581304073334,
-0.10628961026668549,
0.049871690571308136,
0.317463755607605,
0.4357016086578369,
0.039327893406152725,
0.003685835748910904,
-0.41200074553489685,
-0.04643790051341057,
0.3181625008583069,
0.5339154005050659,
0.22982580959796906,
0.029754361137747765,
0.23303815722465515,
0.09631045907735825,
-0.20001912117004395,
-0.10301731526851654,
0.05114494264125824,
-0.09664122760295868,
-0.0661877989768982,
0.03161860257387161,
-0.06585031747817993,
0.2993312180042267,
-0.10473328828811646,
-0.19483335316181183,
0.0868925154209137,
-0.2266528606414795,
0.22147515416145325,
0.036362335085868835,
0.6711299419403076,
-0.06711139529943466,
0.32239991426467896,
0.12468010932207108,
0.045726798474788666,
-0.17548604309558868,
0.15025697648525238,
-0.06138724461197853,
0.03817519173026085,
0.03908631578087807,
-0.05519426614046097,
0.17500612139701843,
0.02247009426355362,
-0.18760719895362854,
0.10650336742401123,
0.053593892604112625,
0.3877272307872772,
-0.032218847423791885,
0.13180075585842133,
0.03987998887896538,
0.45672452449798584,
-0.050141677260398865,
0.2627888321876526,
-0.1117149069905281,
0.38281717896461487,
0.15315240621566772,
0.20610615611076355,
-0.13900232315063477,
-0.037138115614652634,
-0.04613715782761574,
0.1338292360305786,
-0.06265753507614136,
0.0910586267709732,
-0.258552223443985,
-0.2444342076778412,
-0.21690963208675385,
0.08398929238319397,
-0.08737677335739136,
0.021646566689014435,
-0.25247228145599365,
0.2657879590988159,
0.011975893750786781,
0.3892040550708771,
0.19516214728355408,
0.2502632439136505,
-0.1054883673787117,
-0.1925465315580368,
-0.29016274213790894,
0.022617068141698837,
0.052665796130895615,
0.47615841031074524,
0.25680220127105713,
0.0597318671643734,
0.08763469755649567,
0.09145618975162506,
-0.24581001698970795,
-0.04214635491371155,
0.08793632686138153,
-0.07668179273605347,
0.12389680743217468,
-0.2680661380290985,
-0.07115733623504639,
0.2111688256263733,
-0.12227096408605576,
0.3693709969520569,
0.03170812875032425,
-0.24287453293800354,
0.03289131447672844,
-0.14334160089492798,
0.1709497720003128,
-0.1894771158695221,
-0.10630640387535095,
0.20097777247428894,
-0.2680663764476776,
-0.1747526377439499,
0.5655238628387451,
-0.38030970096588135,
-0.04061713069677353,
-0.0004670813214033842,
0.16533198952674866,
0.38533276319503784,
0.26527735590934753,
0.3049122393131256,
0.1907285749912262,
0.00911976769566536,
-0.5355017185211182,
-0.3034753203392029,
0.11816373467445374,
-0.007660023868083954,
0.1029748022556305,
0.08361522108316422,
0.1824425458908081,
0.09528301656246185,
0.06167224794626236,
0.4061774015426636,
0.060595881193876266,
-0.3699357509613037,
-0.25776126980781555,
-0.1760108470916748,
-0.04839422181248665,
-0.05286940187215805,
-0.06471770256757736,
-0.2897506654262543,
0.31397512555122375,
0.03383041173219681,
-0.26771047711372375,
0.15421822667121887,
0.07964837551116943,
0.36160415410995483,
0.025979965925216675,
0.27453798055648804,
0.188140869140625,
-0.1169009804725647,
0.017921194434165955,
-0.2345287799835205,
-0.4888177812099457,
-0.20429179072380066,
-0.14188723266124725,
0.08844427019357681,
0.26489943265914917,
0.06010974571108818,
-0.16971826553344727,
-0.06022033095359802,
-0.3114849925041199,
-0.04661542922258377,
0.1417994201183319,
0.1479768007993698,
0.1714739203453064,
-0.07764142751693726,
0.2904539108276367,
0.226873517036438,
0.016773274168372154,
0.12761741876602173,
-0.10378160327672958,
-0.15593673288822174,
0.026818806305527687,
-0.17999762296676636,
-0.21289360523223877,
0.215433269739151,
0.044166047126054764,
-0.09215256571769714,
-0.18173526227474213,
0.400519460439682,
0.21752506494522095,
0.2850226163864136,
-0.6363056898117065,
-0.2936191260814667,
0.3065134584903717,
-0.01274615153670311,
-0.3311518132686615,
0.3148004412651062,
0.045283880084753036,
-0.005318455398082733,
-0.2272312343120575,
0.16132879257202148,
0.03424667567014694,
-0.00005996972322463989,
-0.2820674777030945,
-0.3363591432571411
] |
https://github.com/huggingface/datasets/pull/390 | Concatenate datasets | Looks cool :)
I feel like
```python
concatenated_dataset = dataset1.concatenate(dataset2)
```
could be more natural. What do you think ?
Also could you also concatenate the `nlp.Dataset._data_files` ?
```python
return cls(table, info=info, split=split, data_files=self._data_files + other_dataset._data_files)
``` | I'm constructing the "WikiBooks" dataset, which is a concatenation of Wikipedia & BookCorpus. So I implemented the `Dataset.from_concat()` method, which concatenates two datasets with the same schema.
This would also be useful if someone wants to pretrain on a large generic dataset + their own custom dataset. Not in love with the method name, so would love to hear suggestions.
Usage:
```python
from nlp import Dataset, load_dataset
data1, data2 = {"id": [0, 1, 2]}, {"id": [3, 4, 5]}
dset1, dset2 = Dataset.from_dict(data1), Dataset.from_dict(data2)
dset_concat = Dataset.from_concat([dset1, dset2])
print(dset_concat)
# Dataset(schema: {'id': 'int64'}, num_rows: 6)
``` | 37 | text: Concatenate datasets
I'm constructing the "WikiBooks" dataset, which is a concatenation of Wikipedia & BookCorpus. So I implemented the `Dataset.from_concat()` method, which concatenates two datasets with the same schema.
This would also be useful if someone wants to pretrain on a large generic dataset + their own custom dataset. Not in love with the method name, so would love to hear suggestions.
Usage:
```python
from nlp import Dataset, load_dataset
data1, data2 = {"id": [0, 1, 2]}, {"id": [3, 4, 5]}
dset1, dset2 = Dataset.from_dict(data1), Dataset.from_dict(data2)
dset_concat = Dataset.from_concat([dset1, dset2])
print(dset_concat)
# Dataset(schema: {'id': 'int64'}, num_rows: 6)
```
Looks cool :)
I feel like
```python
concatenated_dataset = dataset1.concatenate(dataset2)
```
could be more natural. What do you think ?
Also could you also concatenate the `nlp.Dataset._data_files` ?
```python
return cls(table, info=info, split=split, data_files=self._data_files + other_dataset._data_files)
``` | [
-0.1728041023015976,
0.11388853192329407,
0.05754168704152107,
-0.0575094148516655,
-0.16788603365421295,
0.21686497330665588,
0.04684505611658096,
0.412781685590744,
-0.18382979929447174,
-0.2674299478530884,
-0.14071732759475708,
0.41568484902381897,
0.08237987756729126,
0.1916496604681015,
0.163346067070961,
-0.009196959435939789,
0.13102850317955017,
0.05711211636662483,
-0.05665118992328644,
-0.05618545040488243,
-0.3155892789363861,
0.014158825390040874,
-0.09414072334766388,
0.03954063355922699,
-0.24895665049552917,
0.08691276609897614,
-0.2692417800426483,
0.36434561014175415,
0.028083227574825287,
-0.11214175820350647,
0.35333186388015747,
0.3199009895324707,
0.2826562225818634,
0.3628263473510742,
-0.00011783441004808992,
-0.12303359806537628,
0.21432125568389893,
-0.05533879995346069,
-0.21993938088417053,
-0.12942908704280853,
-0.40957486629486084,
-0.38790833950042725,
0.19766920804977417,
-0.3129948675632477,
-0.046325456351041794,
0.01776038482785225,
-0.17536740005016327,
-0.46222853660583496,
0.11893375217914581,
-0.04171966016292572,
0.08908994495868683,
-0.34861913323402405,
-0.0264118779450655,
0.022347183898091316,
-0.31891053915023804,
0.03497191146016121,
0.029522454366087914,
0.05706223472952843,
-0.014790236949920654,
-0.14545223116874695,
0.4379088878631592,
0.05017973110079765,
-0.2731122076511383,
-0.19044993817806244,
0.31256601214408875,
0.31297338008880615,
-0.02152705192565918,
-0.050770483911037445,
-0.004281304776668549,
0.3817209303379059,
0.5229375958442688,
-0.43172410130500793,
-0.14696024358272552,
-0.28680071234703064,
0.2893233597278595,
-0.1769559532403946,
-0.12101124972105026,
0.24313516914844513,
-0.03622712939977646,
0.1618616282939911,
-0.15800608694553375,
-0.2533367872238159,
-0.12118591368198395,
0.14204394817352295,
-0.21452243626117706,
0.29267191886901855,
0.254725843667984,
0.16319772601127625,
0.17022724449634552,
-0.2961047887802124,
0.21862560510635376,
-0.40472403168678284,
-0.09809951484203339,
0.29322290420532227,
-0.3079570531845093,
-0.2996111512184143,
0.029349904507398605,
-0.18961212038993835,
0.12244009226560593,
0.02486579120159149,
0.20114122331142426,
-0.10554615408182144,
0.032779011875391006,
-0.0003866329789161682,
0.2109760344028473,
0.007861288264393806,
0.18701839447021484,
0.3321165442466736,
-0.1848166137933731,
0.04017481580376625,
-0.2821585237979889,
0.13984467089176178,
-0.13175517320632935,
-0.20432385802268982,
-0.03536676615476608,
-0.4054097831249237,
0.1261138767004013,
-0.06730906665325165,
0.015639835968613625,
-0.01467569638043642,
-0.3900233507156372,
-0.31330224871635437,
-0.0073196617886424065,
-0.2031530737876892,
0.020706914365291595,
0.3446156680583954,
0.13289429247379303,
0.05623640865087509,
0.30455148220062256,
-0.06598710268735886,
-0.1505960077047348,
0.09700511395931244,
-0.2297104299068451,
0.12748493254184723,
-0.07944190502166748,
-0.02481113374233246,
-0.17716941237449646,
0.17381393909454346,
0.008534383028745651,
0.17052632570266724,
0.17673683166503906,
0.045204050838947296,
0.06437738239765167,
-0.19980739057064056,
0.03948163613677025,
-0.1488085389137268,
0.11894667148590088,
-0.5298944115638733,
-0.3501695692539215,
0.14908955991268158,
-0.3777475357055664,
-0.20172514021396637,
-0.4734020233154297,
0.13104276359081268,
-0.0758565291762352,
-0.1534987837076187,
-0.07362779229879379,
0.5135623216629028,
0.2853565216064453,
-0.04368842765688896,
-0.007784321904182434,
0.06135791540145874,
-0.043739862740039825,
-0.21826541423797607,
0.10384953767061234,
0.10993516445159912,
-0.31993773579597473,
0.14586712419986725,
-0.028978267684578896,
0.1253492832183838,
0.3394099175930023,
0.26763930916786194,
-0.26820528507232666,
0.6110645532608032,
-0.1109163835644722,
0.17160259187221527,
0.7068158388137817,
-0.058820322155952454,
-0.10730046033859253,
0.2918020784854889,
0.060435011982917786,
0.10449788719415665,
0.21238979697227478,
-0.03237634524703026,
-0.3197074830532074,
-0.05095525085926056,
0.5686254501342773,
0.4348827004432678,
-0.053225308656692505,
-0.28474918007850647,
-0.060470111668109894,
-0.216758593916893,
0.3279220461845398,
0.036408741027116776,
-0.23134489357471466,
-0.014367558062076569,
0.005846664309501648,
0.10791226476430893,
0.45621535181999207,
-0.24236604571342468,
-0.07263539731502533,
0.084982730448246,
-0.25127774477005005,
0.026637349277734756,
-0.31074288487434387,
-0.11593719571828842,
-0.2290745973587036,
-0.14151230454444885,
0.07279784977436066,
0.10946781933307648,
0.015988513827323914,
-0.3908328413963318,
0.014609690755605698,
-0.2058001458644867,
-0.18066060543060303,
0.10305385291576385,
0.028477109968662262,
0.19673901796340942,
0.07483389973640442,
-0.09184494614601135,
-0.17274080216884613,
0.2312268614768982,
-0.01858615130186081,
-0.1004330962896347,
-0.4482918977737427,
0.2603600025177002,
0.20632417500019073,
0.07513297349214554,
-0.2593161463737488,
0.48329076170921326,
0.09473593533039093,
0.11946137994527817,
0.20401424169540405,
0.3421503007411957,
-0.11294512450695038,
-0.20359240472316742,
0.32355767488479614,
0.14861662685871124,
-0.0983811616897583,
0.16277270019054413,
0.09199769794940948,
-0.07680745422840118,
-0.0005630841478705406,
-0.2760975956916809,
-0.23437276482582092,
0.25079458951950073,
0.04341845214366913,
0.28806576132774353,
0.08225199580192566,
-0.05540904402732849,
-0.056381955742836,
-0.10256372392177582,
-0.15933367609977722,
0.0834849625825882,
0.17338931560516357,
0.3703172504901886,
0.010755009949207306,
0.34671854972839355,
-0.4657498002052307,
0.030280090868473053,
0.32688334584236145,
-0.2543938457965851,
0.05147837847471237,
0.09859757125377655,
0.10477783530950546,
-0.1447598934173584,
-0.05870211124420166,
0.3053341209888458,
0.501447319984436,
0.08938806504011154,
0.0020026080310344696,
0.2856622338294983,
-0.2534254193305969,
-0.029800720512866974,
0.3032612204551697,
0.1295464038848877,
0.20018276572227478,
0.12041018903255463,
0.1850297898054123,
0.03809444233775139,
0.12802138924598694,
-0.19852088391780853,
0.06726454198360443,
-0.17182381451129913,
-0.07793423533439636,
0.2935216426849365,
-0.056746698915958405,
-0.10984021425247192,
-0.446011483669281,
-0.2411743849515915,
-0.1289219856262207,
-0.32882577180862427,
-0.40863847732543945,
0.03494270145893097,
-0.04596951603889465,
0.09416814148426056,
-0.30856770277023315,
0.17837703227996826,
-0.19595757126808167,
-0.6812886595726013,
0.21634837985038757,
-0.10786367952823639,
0.021258970722556114,
0.028811827301979065,
0.14873965084552765,
-0.2812575399875641,
0.22179386019706726,
-0.03988278657197952,
-0.027915652841329575,
-0.26672205328941345,
-0.25909358263015747,
0.10082277655601501,
-0.23336414992809296,
-0.12487898766994476,
0.4204777181148529,
-0.24159760773181915,
-0.21017856895923615,
-0.604191780090332,
0.061823710799217224,
0.4969402551651001,
0.19533149898052216,
0.1193314641714096,
0.013081667944788933,
-0.061960671097040176,
0.06573192775249481,
-0.08526784926652908,
-0.4023318588733673,
-0.24937604367733002,
0.23106242716312408,
-0.09755003452301025,
-0.002819940447807312,
0.4104161560535431,
-0.2795077860355377,
0.13760560750961304,
0.1426437795162201,
0.041799869388341904,
-0.1290055364370346,
-0.18301352858543396,
0.2078786939382553,
-0.05499476566910744,
-0.04712963476777077,
-0.1964818686246872,
-0.29873305559158325,
0.3964082896709442,
0.22096307575702667,
-0.16197419166564941,
0.0949111059308052,
0.045976199209690094,
0.4141618609428406,
-0.22272026538848877,
0.09637808799743652,
0.16957972943782806,
0.4079356789588928,
-0.05835314095020294,
0.034235551953315735,
-0.001071067526936531,
0.14398029446601868,
-0.02132134884595871,
0.4446428418159485,
0.13494011759757996,
-0.057084329426288605,
-0.07103385776281357,
0.24277901649475098,
0.3015759289264679,
-0.0998162180185318,
0.10913609713315964,
0.08697711676359177,
0.11221374571323395,
0.04155953228473663,
-0.3778165876865387,
-0.18346796929836273,
-0.00924430787563324,
-0.1077684611082077,
0.16320636868476868,
-0.10317336767911911,
-0.19916793704032898,
-0.22435171902179718,
0.14414574205875397,
0.014215253293514252,
-0.17891688644886017,
0.1150195524096489,
-0.3056422770023346,
0.4059407413005829,
0.0004924256354570389,
-0.09059914946556091,
-0.1276632696390152,
-0.09628232568502426,
-0.21262478828430176,
0.045552920550107956,
-0.1536521315574646,
-0.14370307326316833,
-0.7061649560928345,
-0.29105210304260254,
-0.5257713198661804,
0.2944924235343933,
0.22588296234607697,
0.19739416241645813,
0.2311316877603531,
-0.17638948559761047,
-0.3262484669685364,
-0.03131552413105965,
0.47454845905303955,
-0.12051231414079666,
-0.5435463190078735,
0.480963796377182,
0.10683149099349976,
-0.3016560673713684,
0.0602654330432415,
-0.055929720401763916,
0.25382333993911743,
0.1705360859632492,
0.030740145593881607,
-0.37372443079948425,
-0.2183336615562439,
0.40377455949783325,
0.23463743925094604,
0.09070712327957153,
0.045288119465112686,
-0.04543965309858322,
-0.4374590218067169,
-0.06546024233102798,
-0.4247758388519287,
-0.22055985033512115,
0.48619070649147034,
-0.0793147161602974,
0.2668626606464386,
-0.19830144941806793,
0.11551938205957413,
0.37615060806274414,
0.1803208887577057,
0.25758296251296997,
0.31779396533966064,
0.2906297743320465,
-0.10230475664138794,
0.357271283864975,
0.08144684135913849,
0.3924195170402527,
-0.28408166766166687,
-0.5494727492332458,
-0.3051699101924896,
-0.11157151311635971,
0.6664683222770691,
0.02975814789533615,
0.0281885527074337,
0.2534346878528595,
-0.2293456494808197,
-0.13166554272174835,
-0.18005235493183136,
0.20378808677196503,
0.31448131799697876,
0.13462798297405243,
-0.9216489195823669,
-0.8233695030212402,
0.6379774212837219,
0.23132969439029694,
-0.16726210713386536,
0.1328919231891632,
-0.16715888679027557,
-0.5278537273406982,
-0.1295243203639984,
-0.03553406894207001,
1.0622211694717407,
0.2322240173816681,
0.5168091058731079,
0.10432048887014389,
0.06786639243364334,
0.6111732125282288,
0.035216547548770905,
-0.02508699893951416,
0.003457944840192795,
0.035511258989572525,
-0.111489437520504,
-0.19843614101409912,
0.0943116545677185,
0.30048269033432007,
-0.4872433543205261,
0.3953503668308258,
-0.3850775957107544,
0.018219249323010445,
0.10659165680408478,
0.36550208926200867,
0.20931272208690643,
-0.3163556456565857,
-0.38010334968566895,
-0.04188165441155434,
-0.20654456317424774,
-0.4276774227619171,
-0.1839052438735962,
-0.11640538275241852,
-0.1658826768398285,
0.1024899035692215,
-0.1172802597284317,
0.23432940244674683,
0.21834638714790344,
0.5386987924575806,
-0.11385767161846161,
-0.4312756657600403,
0.11156713962554932,
0.13588938117027283,
0.3256679177284241,
0.2078111469745636,
-0.013126624748110771,
0.01708405837416649,
-0.15680891275405884,
-0.0857955738902092,
0.1035657450556755,
-0.34500235319137573,
0.42916160821914673,
0.21866551041603088,
-0.18212294578552246,
0.16539430618286133,
0.24573543667793274,
-0.29446643590927124,
-0.4384545087814331,
0.1430477499961853,
0.5143702030181885,
-0.328992635011673,
-0.2991954982280731,
0.4751472771167755,
-0.04713733121752739,
0.004217810928821564,
0.04352603852748871,
0.22029513120651245,
-0.1411268413066864,
0.11551085114479065,
-0.25632762908935547,
-0.310436874628067,
0.04245602339506149,
0.019398942589759827,
0.32964667677879333,
-0.1433771550655365,
0.35118523240089417,
-0.14548027515411377,
-0.0029874779284000397,
-0.032220009714365005,
0.26678645610809326,
-0.04490450397133827,
0.034646175801754,
0.06419236212968826,
0.19213330745697021,
-0.032548077404499054,
-0.0868525579571724,
0.4508565068244934,
0.19595785439014435,
0.13672418892383575,
0.0803333967924118,
0.14841189980506897,
-0.03495771437883377,
0.05294504016637802,
0.2740529477596283,
0.26381340622901917,
0.2201981246471405,
0.4426605701446533,
-0.08088933676481247,
-0.07259511202573776,
-0.1998392641544342,
0.052965715527534485,
-0.04100365564227104,
0.09196969121694565,
0.2955128848552704,
0.043532248586416245,
-0.1355704367160797,
-0.13337433338165283,
0.12054400146007538,
-0.026731424033641815,
0.031012652441859245,
-0.21946868300437927,
-0.28859743475914,
0.18637391924858093,
0.29013216495513916,
-0.23317991197109222,
0.2553577125072479,
-0.3531944751739502,
-0.012746155261993408,
-0.18966788053512573,
-0.17678014934062958,
-0.01514781266450882,
0.23750844597816467,
0.21818342804908752,
0.16877399384975433,
-0.05211768299341202,
-0.22307075560092926,
0.2743362784385681,
-0.05983544886112213,
0.42213428020477295,
-0.10742060840129852,
0.38902074098587036,
-0.09218454360961914,
-0.05343656614422798,
-0.14305375516414642,
0.17291447520256042,
0.4144648313522339,
0.1251864731311798,
0.07037893682718277,
-0.04372333735227585,
-0.23950329422950745,
-0.001197922509163618,
0.29974785447120667,
0.3954872786998749,
-0.26970306038856506,
-0.05429663509130478,
0.1434389352798462,
0.08772742003202438,
-0.29172661900520325,
-0.3496682643890381,
0.007905525155365467,
0.004164837300777435,
-0.04832836240530014,
0.15456746518611908,
-0.05472690612077713,
0.15314768254756927,
-0.42664551734924316,
-0.15994516015052795,
0.2721685767173767,
0.08312413096427917,
0.3797834813594818,
0.4589320719242096,
0.20454974472522736,
-0.022839535027742386,
0.11663905531167984,
0.3610842823982239,
-0.012038648128509521,
0.15412014722824097,
0.10842651128768921,
0.20891855657100677,
0.3638254702091217,
-0.15944015979766846,
0.31518837809562683,
0.14707887172698975,
0.37173518538475037,
0.3132300078868866,
-0.08413057029247284,
0.18127810955047607,
-0.031029395759105682,
0.13354873657226562,
-0.2783907353878021,
-0.15230008959770203,
0.19493895769119263,
0.21216557919979095,
0.08868233859539032,
-0.10922190546989441,
0.09154430031776428,
0.019971735775470734,
0.028685100376605988,
-0.04558870941400528,
0.1362335979938507,
-0.304629385471344,
0.2595251798629761,
-0.03630922734737396,
0.4228336811065674,
-0.20864875614643097,
0.5039682984352112,
0.214591383934021,
0.29160618782043457,
-0.3389773666858673,
-0.1122639998793602,
0.2748942971229553,
-0.1778799593448639,
0.19124232232570648,
0.2687009274959564,
0.4048004746437073,
0.3041422367095947,
-0.1300390660762787,
-0.07669177651405334,
-0.07531867921352386,
0.125719353556633,
-0.03988577425479889,
-0.12161283195018768,
0.13031122088432312,
-0.5652234554290771,
0.38254082202911377,
0.11001667380332947,
-0.012230747379362583,
0.10920105874538422,
0.27632492780685425,
-0.04144783318042755,
-0.6792416572570801,
0.325452595949173,
0.15993709862232208,
-0.22489860653877258,
0.11246396601200104,
0.4748292863368988,
-0.35038045048713684,
-0.04563181474804878,
0.5228939056396484,
0.2804258465766907,
0.07040726393461227,
0.0011184997856616974,
0.05066891759634018,
0.30149027705192566,
0.47976478934288025,
0.022783711552619934,
0.5014262795448303,
-0.33588463068008423,
-0.3799118995666504,
-0.2951822876930237,
-0.16219675540924072,
0.04609924927353859,
-0.4943089783191681,
-0.07468177378177643,
0.24398840963840485,
0.038888879120349884,
0.17204833030700684,
-0.17154328525066376,
-0.012009764090180397,
-0.3118249177932739,
-0.16907072067260742,
-0.19728219509124756,
-0.370848149061203,
0.1638912856578827,
-0.08399127423763275,
-0.10380092263221741,
-0.3247310221195221,
0.1563628762960434,
0.08972132951021194,
-0.058605022728443146,
-0.3115851879119873,
0.18068154156208038,
0.4387575387954712,
0.13281014561653137,
0.10430894792079926,
0.09990743547677994,
0.39265456795692444,
-0.24304869771003723,
-0.23052829504013062,
0.16151830554008484,
-0.21603791415691376,
-0.37136679887771606,
0.5485678315162659,
-0.08912435173988342,
-0.13090088963508606,
-0.3684910237789154,
0.14758749306201935,
0.014337054453790188,
0.04393165558576584,
0.2514501214027405,
0.01879649981856346,
-0.5667355060577393,
-0.09576506167650223,
0.05288274586200714,
-0.08252618461847305,
-0.060166116803884506,
0.5943907499313354,
-0.1259211301803589,
0.3772020936012268,
0.2470429390668869,
-0.22469094395637512,
0.4285512864589691,
-0.04359418526291847,
-0.35748252272605896,
-0.011295925825834274,
-0.0413488894701004,
-0.4362627863883972,
0.12614987790584564,
-0.30002859234809875,
-0.20954737067222595,
0.5598232746124268,
-0.03605186939239502,
-0.2682347595691681,
0.35556334257125854,
0.07548943161964417,
-0.13114455342292786,
-0.24408788979053497,
0.08541616797447205,
-0.20802795886993408,
-0.3567199110984802,
0.08215323090553284,
-0.17719796299934387
] |
https://github.com/huggingface/datasets/pull/390 | Concatenate datasets | I feel like "WikiBooks" would be a multi task dataset that could fit in the #217 discussion.
Not sure concatenate should be the solution for a multi task dataset. | I'm constructing the "WikiBooks" dataset, which is a concatenation of Wikipedia & BookCorpus. So I implemented the `Dataset.from_concat()` method, which concatenates two datasets with the same schema.
This would also be useful if someone wants to pretrain on a large generic dataset + their own custom dataset. Not in love with the method name, so would love to hear suggestions.
Usage:
```python
from nlp import Dataset, load_dataset
data1, data2 = {"id": [0, 1, 2]}, {"id": [3, 4, 5]}
dset1, dset2 = Dataset.from_dict(data1), Dataset.from_dict(data2)
dset_concat = Dataset.from_concat([dset1, dset2])
print(dset_concat)
# Dataset(schema: {'id': 'int64'}, num_rows: 6)
``` | 29 | text: Concatenate datasets
I'm constructing the "WikiBooks" dataset, which is a concatenation of Wikipedia & BookCorpus. So I implemented the `Dataset.from_concat()` method, which concatenates two datasets with the same schema.
This would also be useful if someone wants to pretrain on a large generic dataset + their own custom dataset. Not in love with the method name, so would love to hear suggestions.
Usage:
```python
from nlp import Dataset, load_dataset
data1, data2 = {"id": [0, 1, 2]}, {"id": [3, 4, 5]}
dset1, dset2 = Dataset.from_dict(data1), Dataset.from_dict(data2)
dset_concat = Dataset.from_concat([dset1, dset2])
print(dset_concat)
# Dataset(schema: {'id': 'int64'}, num_rows: 6)
```
I feel like "WikiBooks" would be a multi task dataset that could fit in the #217 discussion.
Not sure concatenate should be the solution for a multi task dataset. | [
-0.3317127823829651,
-0.005985192954540253,
0.040155794471502304,
0.010833699256181717,
-0.1556420773267746,
0.22982171177864075,
0.248858243227005,
0.31759002804756165,
-0.1486743539571762,
-0.2315826565027237,
-0.03447479009628296,
0.28153592348098755,
0.09275644272565842,
0.2678455412387848,
0.2080923169851303,
-0.036591917276382446,
0.11052371561527252,
-0.0246870219707489,
-0.13749462366104126,
0.056342169642448425,
-0.34847232699394226,
-0.024614503607153893,
-0.16852524876594543,
-0.13680563867092133,
-0.4312628209590912,
0.009858686476945877,
-0.3652436435222626,
0.39336881041526794,
0.1720578521490097,
-0.0276467427611351,
0.4793354868888855,
0.3498557507991791,
0.25217145681381226,
0.43452295660972595,
-0.00011560178973013535,
-0.12258614599704742,
0.1566540002822876,
-0.03916006162762642,
-0.20548519492149353,
-0.1779738813638687,
-0.44993123412132263,
-0.35291630029678345,
0.20538395643234253,
-0.2696934640407562,
-0.03260057047009468,
0.16523349285125732,
-0.09190195053815842,
-0.3990919589996338,
0.1829042136669159,
-0.051858801394701004,
0.07852593809366226,
-0.2590517997741699,
0.0643230527639389,
-0.09543260186910629,
-0.351946622133255,
0.02126706764101982,
0.1139673963189125,
0.02311909943819046,
-0.04120852053165436,
-0.12051320821046829,
0.29637253284454346,
0.08711400628089905,
-0.2129843682050705,
-0.06390763819217682,
0.09311046451330185,
0.22539609670639038,
-0.013312660157680511,
-0.2325974702835083,
0.057002291083335876,
0.41234827041625977,
0.5205422043800354,
-0.32369980216026306,
-0.12887820601463318,
-0.3340356945991516,
0.2554522752761841,
-0.12236779183149338,
-0.16526034474372864,
0.2900463044643402,
-0.0818774551153183,
0.11759240925312042,
-0.1115722581744194,
-0.26341480016708374,
-0.16970810294151306,
-0.004829913377761841,
-0.21787497401237488,
0.27469801902770996,
0.2720613479614258,
0.1828540861606598,
0.2142677903175354,
-0.21098725497722626,
0.2671089470386505,
-0.3214248716831207,
0.06462211906909943,
0.1482471376657486,
-0.5025414228439331,
-0.2721814811229706,
-0.020795926451683044,
-0.4614420235157013,
0.24890616536140442,
0.015509365126490593,
0.18907099962234497,
0.048363544046878815,
0.03036634996533394,
0.058404386043548584,
0.20262561738491058,
0.016669200733304024,
0.05516194552183151,
0.2031548172235489,
-0.21522922813892365,
-0.042505115270614624,
-0.3393721878528595,
0.15636149048805237,
-0.28170356154441833,
-0.20739205181598663,
0.005750302225351334,
-0.30608266592025757,
0.16784077882766724,
-0.0016892701387405396,
-0.19104965031147003,
-0.09890713542699814,
-0.3496904969215393,
-0.2657676637172699,
-0.09209322929382324,
-0.2361796498298645,
-0.019935600459575653,
0.39662399888038635,
0.05919427424669266,
0.19055770337581635,
0.16887259483337402,
-0.048129964619874954,
-0.10614364594221115,
0.0018569454550743103,
-0.232174351811409,
0.07617619633674622,
-0.016638832166790962,
0.06051703542470932,
-0.1862921565771103,
0.19708628952503204,
-0.0633259117603302,
0.19475117325782776,
0.33081287145614624,
-0.08840548992156982,
0.010531343519687653,
-0.12354029715061188,
0.08100089430809021,
-0.23585855960845947,
0.10918617248535156,
-0.3001387119293213,
-0.3318594992160797,
0.19595295190811157,
-0.384248822927475,
-0.28933045268058777,
-0.4486977159976959,
0.1217086911201477,
-0.017470762133598328,
-0.17667949199676514,
-0.08123736828565598,
0.6121425628662109,
0.28931576013565063,
0.08969055116176605,
-0.046792082488536835,
0.06978888064622879,
-0.14521262049674988,
-0.18302783370018005,
0.11419082432985306,
0.13767173886299133,
-0.10194611549377441,
0.11438509821891785,
0.027119945734739304,
0.10905078053474426,
0.23442170023918152,
0.3103615939617157,
-0.17987576127052307,
0.5310043692588806,
0.042796529829502106,
0.08096420764923096,
0.6659269332885742,
-0.11042559146881104,
-0.07008686661720276,
0.1906568855047226,
-0.15008467435836792,
0.12990356981754303,
0.2986806035041809,
0.056676626205444336,
-0.21849177777767181,
-0.10647062212228775,
0.6925277709960938,
0.5548394322395325,
-0.14950624108314514,
-0.2671545743942261,
-0.023281337693333626,
-0.2798355519771576,
0.3647080659866333,
0.1772824376821518,
-0.09540238976478577,
-0.10301219671964645,
-0.08925393968820572,
0.10896744579076767,
0.35861465334892273,
-0.13858090341091156,
-0.07726022601127625,
0.13707038760185242,
-0.3350677490234375,
0.05377885699272156,
-0.2840502858161926,
-0.11882833391427994,
-0.3936106562614441,
-0.0933324322104454,
0.2088908553123474,
0.13553452491760254,
0.1806490123271942,
-0.34134089946746826,
0.1062396690249443,
-0.2117786705493927,
-0.1259400099515915,
-0.04768208786845207,
0.01868170127272606,
0.19055388867855072,
0.06904841959476471,
-0.14341866970062256,
-0.137806236743927,
0.39849820733070374,
0.06461026519536972,
-0.06982804834842682,
-0.4088278114795685,
0.16336873173713684,
0.21003320813179016,
0.08665155619382858,
-0.11461389064788818,
0.6000980138778687,
0.07140742987394333,
0.12061411887407303,
0.3017030358314514,
0.30134615302085876,
-0.06905487179756165,
-0.22541426122188568,
0.3666040301322937,
0.18871517479419708,
-0.10330749303102493,
0.19810640811920166,
0.027525240555405617,
-0.07535319030284882,
-0.02613592892885208,
-0.2730243504047394,
-0.3354126811027527,
0.18032461404800415,
0.09344359487295151,
0.2602194845676422,
0.06476908177137375,
-0.016387885436415672,
0.061485521495342255,
-0.1451711803674698,
-0.07434633374214172,
0.20226410031318665,
0.23088324069976807,
0.2644675076007843,
-0.018723472952842712,
0.3832920491695404,
-0.6932169198989868,
0.13673463463783264,
0.2842208743095398,
-0.1341758370399475,
0.16467195749282837,
0.09935532510280609,
0.024267304688692093,
-0.1851617693901062,
-0.014329267665743828,
0.22150664031505585,
0.4506465792655945,
0.14124026894569397,
0.011212106794118881,
0.16877074539661407,
-0.2568625807762146,
-0.07544642686843872,
0.24550330638885498,
0.05895397812128067,
0.3715927302837372,
0.14100757241249084,
0.25555458664894104,
0.025348512455821037,
0.11536472290754318,
-0.21356920897960663,
0.13909411430358887,
-0.2905382215976715,
-0.049445588141679764,
0.23072417080402374,
-0.0758102685213089,
-0.11393646895885468,
-0.46063297986984253,
-0.15115153789520264,
-0.03823505714535713,
-0.2814732789993286,
-0.29613709449768066,
0.21792961657047272,
-0.0027227122336626053,
0.07275844365358353,
-0.28204450011253357,
0.2264488935470581,
-0.10123151540756226,
-0.5384415984153748,
0.23357397317886353,
-0.20700380206108093,
-0.014607764780521393,
0.04929591342806816,
0.20819957554340363,
-0.21864838898181915,
0.25774410367012024,
-0.13389252126216888,
-0.03514355421066284,
-0.20922143757343292,
-0.23764142394065857,
0.017439942806959152,
-0.19976769387722015,
-0.09839674830436707,
0.30435964465141296,
-0.20909671485424042,
-0.21597927808761597,
-0.5035167336463928,
-0.013771692290902138,
0.4910486936569214,
0.2419150471687317,
0.16184517741203308,
0.026690922677516937,
0.0442398376762867,
0.08441273868083954,
-0.20282572507858276,
-0.35669660568237305,
-0.28040623664855957,
0.3256087303161621,
-0.12842808663845062,
0.020188283175230026,
0.4386352002620697,
-0.2620427906513214,
0.10683930665254593,
0.12665456533432007,
0.14749933779239655,
-0.15971730649471283,
-0.22868122160434723,
0.15810292959213257,
-0.06714069098234177,
-0.16218715906143188,
-0.27112236618995667,
-0.26960885524749756,
0.30015379190444946,
0.3789513111114502,
-0.10420726239681244,
0.11614301055669785,
0.06362985819578171,
0.3753177225589752,
-0.34682783484458923,
0.013391206040978432,
0.28399381041526794,
0.3593023121356964,
-0.09864170849323273,
-0.026136644184589386,
0.014263071119785309,
0.25539347529411316,
0.07167700678110123,
0.37546858191490173,
0.12030436843633652,
-0.12115449458360672,
-0.026096489280462265,
0.33634984493255615,
0.13672848045825958,
-0.015835244208574295,
0.1140868067741394,
0.10982590913772583,
0.07364311814308167,
0.07662505656480789,
-0.31609395146369934,
-0.08029161393642426,
-0.011019676923751831,
-0.014188775792717934,
0.10612316429615021,
-0.11921796947717667,
-0.20603814721107483,
-0.2241555005311966,
0.07465960085391998,
-0.1496814489364624,
-0.17312775552272797,
0.16607166826725006,
-0.4152482748031616,
0.4034788906574249,
0.0001829247921705246,
-0.1383897066116333,
-0.20305751264095306,
-0.04441271722316742,
-0.2430243045091629,
-0.009048126637935638,
-0.22088783979415894,
-0.185379296541214,
-0.5353438258171082,
-0.23990492522716522,
-0.5818700790405273,
0.3049028515815735,
0.17138689756393433,
0.2838541865348816,
0.14576688408851624,
-0.21004924178123474,
-0.2987675666809082,
-0.09391161799430847,
0.5911906957626343,
-0.11962508410215378,
-0.45660728216171265,
0.4680674374103546,
0.015815891325473785,
-0.30088257789611816,
0.018745575100183487,
-0.11462633311748505,
0.4266399145126343,
0.11732099950313568,
0.11010895669460297,
-0.4693877696990967,
-0.2533645033836365,
0.4103965759277344,
0.12510213255882263,
0.12970952689647675,
0.06552162766456604,
-0.08027973026037216,
-0.4155331552028656,
-0.131073996424675,
-0.2597464621067047,
-0.13887730240821838,
0.533719003200531,
-0.1197972446680069,
0.23360289633274078,
-0.25473469495773315,
0.17230841517448425,
0.3118569552898407,
0.11224576830863953,
0.15246331691741943,
0.2729697525501251,
0.27336585521698,
-0.021474245935678482,
0.1684539020061493,
0.13081832230091095,
0.35999512672424316,
-0.16850540041923523,
-0.5149098634719849,
-0.1774047613143921,
-0.10761278867721558,
0.6284586787223816,
0.04204440116882324,
0.13785159587860107,
0.2808058559894562,
-0.17520365118980408,
-0.0757121592760086,
-0.23510372638702393,
0.15693321824073792,
0.35377931594848633,
0.18778735399246216,
-0.9511861801147461,
-0.8521426916122437,
0.4955688714981079,
0.2671341896057129,
-0.11868366599082947,
0.21653291583061218,
-0.5030079483985901,
-0.4411490261554718,
-0.19862672686576843,
0.12794750928878784,
0.9233090877532959,
0.11623555421829224,
0.4669244885444641,
0.03872009366750717,
-0.0264064259827137,
0.5391138195991516,
-0.09392784535884857,
0.08684372901916504,
0.06657008826732635,
-0.07842064648866653,
-0.1266089677810669,
-0.22551877796649933,
0.046478062868118286,
0.2382684350013733,
-0.5029264092445374,
0.3812534809112549,
-0.29221218824386597,
0.0014087893068790436,
0.07927700877189636,
0.351982980966568,
0.029453366994857788,
-0.3408675491809845,
-0.32129231095314026,
-0.02473677136003971,
-0.14894269406795502,
-0.4125693440437317,
-0.20774215459823608,
-0.06132630258798599,
-0.03998855501413345,
0.1177099347114563,
-0.18943721055984497,
0.25625181198120117,
0.23439304530620575,
0.553369402885437,
-0.12298305332660675,
-0.4550577402114868,
0.01952877640724182,
0.04484293609857559,
0.32647597789764404,
0.03721526637673378,
0.030729200690984726,
-0.008712194859981537,
-0.1905253529548645,
-0.04804413393139839,
0.14501821994781494,
-0.45050927996635437,
0.5523941516876221,
0.19100666046142578,
-0.20094503462314606,
0.07198325544595718,
0.25828325748443604,
-0.22394907474517822,
-0.42655593156814575,
0.11309453099966049,
0.4801359176635742,
-0.1814708709716797,
-0.1863776445388794,
0.48858022689819336,
0.00015829876065254211,
-0.1690448820590973,
0.03554806858301163,
0.1907341629266739,
-0.1776379942893982,
0.17158083617687225,
-0.3491619825363159,
-0.27515071630477905,
0.10552534461021423,
0.07587241381406784,
0.5139598846435547,
-0.03461752086877823,
0.3329351246356964,
0.09181274473667145,
0.09313291311264038,
-0.13415883481502533,
0.2976134121417999,
0.009160550311207771,
0.04378744959831238,
0.09857350587844849,
0.10857341438531876,
-0.14115312695503235,
-0.0439944826066494,
0.5379034876823425,
0.09871134161949158,
0.14424726366996765,
0.11168785393238068,
-0.01272834837436676,
-0.06526059657335281,
0.16944386065006256,
0.12204098701477051,
0.17618855834007263,
0.22383016347885132,
0.31877249479293823,
0.12046466767787933,
0.022758807986974716,
-0.21585175395011902,
0.03695985674858093,
-0.22703148424625397,
0.1596272587776184,
0.24554936587810516,
-0.023742757737636566,
0.018344689160585403,
-0.04738492891192436,
0.12135268747806549,
-0.0839703232049942,
0.01149750780314207,
-0.23348093032836914,
-0.2621934115886688,
0.17601323127746582,
0.15921366214752197,
-0.08920673280954361,
0.2194022685289383,
-0.35851842164993286,
-0.10579000413417816,
-0.09681263566017151,
-0.09389035403728485,
-0.012294428423047066,
0.18991509079933167,
0.15022501349449158,
0.13830669224262238,
0.010373424738645554,
-0.20823684334754944,
0.28975504636764526,
-0.14578649401664734,
0.2028248906135559,
-0.18886324763298035,
0.31748130917549133,
-0.04971729964017868,
-0.06846985220909119,
-0.18644709885120392,
0.0639788806438446,
0.5547255873680115,
-0.07717917114496231,
-0.04367072880268097,
-0.07256315648555756,
-0.2865505516529083,
-0.03123427741229534,
0.2450423240661621,
0.279348760843277,
-0.18154339492321014,
-0.01640513353049755,
0.12787169218063354,
0.07579430937767029,
-0.2522627115249634,
-0.3265341818332672,
0.04167022556066513,
-0.22366411983966827,
-0.08558666706085205,
0.1784418523311615,
-0.05429678410291672,
0.16225482523441315,
-0.3327915668487549,
-0.006741982884705067,
0.21815520524978638,
-0.0434938445687294,
0.42310023307800293,
0.30491554737091064,
0.1648360937833786,
0.014548622071743011,
0.15037190914154053,
0.35964155197143555,
0.03614772856235504,
0.07572899013757706,
0.23844054341316223,
0.3125607967376709,
0.4164954125881195,
-0.2148081660270691,
0.2822830080986023,
0.04399732127785683,
0.3720678985118866,
0.3236738443374634,
-0.07200850546360016,
0.13044531643390656,
-0.18813297152519226,
0.3322070240974426,
-0.3730212450027466,
-0.034503087401390076,
0.08689764887094498,
0.2660481631755829,
-0.04900704324245453,
-0.025237800553441048,
0.1395440399646759,
0.08315623551607132,
0.06894779205322266,
-0.015133487060666084,
0.1329309493303299,
-0.16154281795024872,
0.5048177242279053,
-0.03643663972616196,
0.3786934018135071,
-0.1558423489332199,
0.4509885609149933,
0.3077690899372101,
0.20455655455589294,
-0.3634682893753052,
-0.04534568637609482,
0.27829355001449585,
-0.25235021114349365,
0.16065886616706848,
0.47556769847869873,
0.4154895842075348,
0.2879543602466583,
-0.2681451439857483,
-0.14759352803230286,
0.09153172373771667,
0.08947233110666275,
-0.020065605640411377,
-0.1282591074705124,
0.20885978639125824,
-0.49593091011047363,
0.44247645139694214,
0.09742289036512375,
-0.017990875989198685,
0.25514864921569824,
0.2773188352584839,
-0.15462130308151245,
-0.71985924243927,
0.183658629655838,
0.16405045986175537,
-0.23236709833145142,
0.21440725028514862,
0.48251500725746155,
-0.4171464741230011,
-0.11131574213504791,
0.4383786916732788,
0.17066043615341187,
-0.026774249970912933,
-0.02235456183552742,
0.06519658118486404,
0.33799803256988525,
0.6006175875663757,
0.021308202296495438,
0.3954196572303772,
-0.321470707654953,
-0.31869345903396606,
-0.4073214530944824,
-0.12960168719291687,
0.007262017577886581,
-0.4234316349029541,
0.019291643053293228,
0.21900393068790436,
0.07037586718797684,
0.3023090958595276,
-0.21893711388111115,
-0.05069832503795624,
-0.11211854964494705,
-0.031084686517715454,
-0.31565624475479126,
-0.20882433652877808,
0.27476173639297485,
-0.04955027997493744,
-0.1132083311676979,
-0.3417653441429138,
0.23664255440235138,
0.1247941106557846,
-0.05206338316202164,
-0.24474532902240753,
0.11921052634716034,
0.4967377781867981,
0.013256248086690903,
0.0855923667550087,
-0.024740343913435936,
0.37703511118888855,
-0.21470099687576294,
-0.20853720605373383,
0.1865352839231491,
-0.21011818945407867,
-0.3744313716888428,
0.3690275251865387,
-0.05838571861386299,
-0.056358542293310165,
-0.497404009103775,
0.24700544774532318,
0.13515500724315643,
-0.06322135031223297,
0.15043136477470398,
0.14355053007602692,
-0.5075601935386658,
0.031412094831466675,
0.07759454101324081,
-0.02662745676934719,
0.05738706514239311,
0.6181991100311279,
-0.03945852071046829,
0.26305460929870605,
0.11449763178825378,
-0.26935839653015137,
0.3236567974090576,
0.007485023699700832,
-0.5095299482345581,
-0.25396665930747986,
-0.029336676001548767,
-0.4814871549606323,
0.16483107209205627,
-0.3105675280094147,
-0.14290723204612732,
0.46826833486557007,
0.050518523901700974,
-0.2770213186740875,
0.4301396608352661,
0.11090749502182007,
-0.2358442097902298,
-0.22904625535011292,
-0.04240769147872925,
-0.28016719222068787,
-0.30247950553894043,
-0.01186814159154892,
-0.207677960395813
] |