text
stringlengths 13
30k
|
---|
{"text": "~\"xxx\"\n", "meta": {"pile_set_name": "Github"}, "score": 0.14285714285714285} |
{"text": "xxx\r\njkl", "meta": {"pile_set_name": "Github"}, "score": 0.125} |
{"text": "hot shit", "meta": {"pile_set_name": "Enron Emails"}, "score": 0.125} |
{"text": "Ass Play - Ass whipping and Ass Fucking for Sexy sub girl", "meta": {"pile_set_name": "OpenWebText2"}, "score": 0.08771929824561403} |
{"text": "Fuck and rough the bitch up", "meta": {"pile_set_name": "OpenWebText2"}, "score": 0.07407407407407407} |
{"text": "Fucking the Bitch Out of Him", "meta": {"pile_set_name": "OpenWebText2"}, "score": 0.07142857142857142} |
{"text": "MILF Tits - This is a real MILF mom showing off her tits.", "meta": {"pile_set_name": "OpenWebText2"}, "score": 0.07017543859649122} |
{"text": "Lady with a Fan\nLet my inspiration flow\nIn token rhyme suggesting rhythm\nThat will not forsake me\nTill my tale is told and done\nWhile the firelights aglow\nStrange shadows from the flames will grow\nTill things weve never seen\nWill seem familiar\nShadows of a sailor forming\nWinds both foul and fair all swarm\nDown in Carlisle, he loved a lady\nMany years ago\nHere beside him stands a man\nA soldier from the looks of him\nWho came through many fights\nBut lost at love\nWhile the storyteller speaks\nA door within the fire creaks\nSuddenly flies open\nAnd a girl is standing there\nEyes alight with glowing hair\nAll that fancy paints as fair\nShe takes her fan and throws it\nIn the lions den\nWhich of you to gain me, tell\nWill risk uncertain pains of hell?\nI will not forgive you\nIf you will not take the chance\nThe sailor gave at least a try\nThe soldier being much too wise\nStrategy was his strength\nAnd not disaster\nThe sailor coming out again\nThe lady fairly leapt at him\nThats how it stands today\nYou decide if he was wise\nThe storyteller makes no choice\nSoon you will not hear his voice\nHis job is to shed light\nAnd not to master\nSince the end is never told\nWe pay the teller off in gold\nIn hopes he will come back\nBut he cannot be bought or sold\nTerrapin Station\nInspiration move me brightly\nLight the song with sense and color\nHold away despair\nMore than this I will not ask\nFaced with mysteries dark and vast\nStatements just seem vain at last\nSome rise, some fall, some climb\nTo get to Terrapin\nCounting stars by candlelight\nAll are dim but one is bright:\nThe spiral light of Venus\nRising first and shining best\nFrom the northwest corner\nOf a brand-new crescent moon\nCrickets and cicadas sing\nA rare and different tune\nTerrapin Station\nIn the shadow of the moon\nTerrapin Station\nAnd I know well be there soon\nTerrapin - I cant figure out\nTerrapin - if its the end or beginning\nTerrapin - but the trains put its brakes on\nAnd the whistle is screaming: Terrapin\nAt a Siding\nWhile you were gone\nThese faces filled with darkness\nThe obvious was hidden\nWith nothing to believe in\nThe compass always points to Terrapin\nSullen wings of fortune beat like rain\nYoure back in Terrapin for good or ill again\nFor good or ill again"} |
{"text": "If my words did glow with the gold of sunshine\nAnd my tunes were played on the harp unstrung\nWould you hear my voice come through the music?\nWould you hold it near as it were your own?\nIts a hand-me-down, the thoughts are broken\nPerhaps theyre better left unsung\nI dont know, dont really care\nLet there be songs to fill the air\nRipple in still water\nWhen there is no pebble tossed\nNor wind to blow\nReach out your hand, if your cup be empty\nIf your cup is full, may it be again\nLet it be known there is a fountain\nThat was not made by the hands of men\nThere is a road, no simple highway\nBetween the dawn and the dark of night\nAnd if you go, no one may follow\nThat path is for your steps alone\nRipple in still water\nWhen there is no pebble tossed\nNor wind to blow\nYou who choose to lead must follow\nBut if you fall you fall alone\nIf you should stand then whos to guide you?\nIf I knew the way I would take you home"} |
{"text": "As I was walking round Grosvenor Square\nNot a chill to the winter\nBut a nip to the air\nFrom the other direction\nShe was calling my eye\nIt could be an illusion\nBut I might as well try\nMight as well try\nShe had rings on her fingers and\nBells on her shoes\nAnd I knew without asking she was\nInto the blues\nShe wore scarlet begonias\nTucked into her curls\nI knew right away\nShe was not like other girls\nOther girls\nIn the thick of the evening\nWhen the dealing got rough\nShe was too pat to open\nAnd too cool to bluff\nAs I picked up my matches and\nWas closing the door\nI had one of those flashes:\nId been there before\nBeen there before\nI aint often right\nBut Ive never been wrong\nIt seldom turns out the way\nIt does in the song\nOnce in a while\nYou get shown the light\nIn the strangest of places\nIf you look at it right\nWell, there aint nothing wrong\nWith the way she moves\nOr scarlet begonias or a\nTouch of the blues\nAnd theres nothing wrong with\nThe look thats in her eye\nI had to learn the hard way\nTo let her pass by\nLet her pass by\nThe wind in the willows played tea for two\nThe sky was yellow and the sun was blue\nStrangers stopping strangers\nJust to shake their hand\nEverybodys playing\nIn the Heart of Gold Band\nHeart of Gold Band"} |
{"text": "I lit out from Reno, I was trailed by twenty hounds\nDidnt get to sleep that night til the morning came around\nSet out runnin but I take my time\nA friend of the devil is a friend of mine\nIf I get home before daylight\nJust might get some sleep tonight\nRan into the devil, babe, he loaned me twenty bills\nSpent the night in Utah in a cave up in the hills\nSet out runnin but I take my time\nA friend of the devil is a friend of mine\nIf I get home before daylight\nJust might get some sleep tonight\nI ran down to the levee but the devil caught me there\nHe took my twenty dollar bill and he vanished in the air\nSet out runnin but I take my time\nA friend of the devil is a friend of mine\nIf I get home before daylight\nJust might get some sleep tonight\nGot two reasons why I cry away each lonely night:\nThe first ones named sweet Anne Marie, and shes my hearts delight\nThe second one is prison, babe, and the sheriffs on my trail\nAnd if he catches up with me, Ill spend my life in jail\nGot a wife in Chino, babe, and one in Cherokee\nThe first one says shes got my child, but it dont look like me\nSet out runnin but I take my time\nA friend of the devil is a friend of mine\nIf I get home before daylight\nJust might get some sleep tonight\nGot two reasons why I cry away each lonely night:\nThe first ones named sweet Anne Marie, and shes my hearts delight\nThe second one is prison, babe, the sheriffs on my trail\nAnd if he catches up with me, Ill spend my life in jail\nGot a wife in Chino, babe, and one in Cherokee\nThe first one says shes got my child, but it dont look like me\nSet out runnin but I take my time\nA friend of the devil is a friend of mine\nIf I get home before daylight\nJust might get some sleep tonight"} |
{"text": "Truckin, got my chips cashed in\nKeep truckin, like the do-dah man\nTogether, more or less in line\nJust keep truckin on\nArrows of neon and flashing marquees out on Main Street\nChicago, New York, Detroit and its all on the same street\nYour typical city involved in a typical daydream\nHang it up and see what tomorrow brings\nDallas, got a soft machine;\nHouston, too close to New Orleans;\nNew Yorks got the ways and means\nBut just wont let you be, oh no\nMost of the cats that you meet on the streets speak of true love\nMost of the time theyre sittin and cryin at home\nOne of these days they know they gotta get goin\nOut of the door and down to the street all alone\nTruckin, like the do-dah man\nOnce told me Youve got to play your hand\nSometimes your cards aint worth a dime\nIf you dont layem down\nSometimes the lights all shinin on me\nOther times I can barely see\nLately it occurs to me\nWhat a long, strange trip its been\nWhat in the world ever became of sweet Jane?\nShe lost her sparkle, you know she isnt the same\nLivin on reds, vitamin C, and cocaine\nAll a friend can say is Aint it a shame\nTruckin, up to Buffalo\nBeen thinkin, you got to mellow slow\nTakes time to pick a place to go\nAnd just keep truckin on\nSittin and starin out of the hotel window\nGot a tip theyre gonna kick the door in again\nId like to get some sleep before I travel\nBut if you got a warrant, I guess youre gonna come in\nBusted, down on Bourbon Street\nSet up, like a bowlin pin\nKnocked down, it gets to wearin thin\nThey just wont let you be, oh no\nYoure sick of hangin around and youd like to travel\nGet tired of travelin and you want to settle down\nI guess they cant revoke your soul for tryin\nGet out of the door and light out and look all around\nSometimes the lights all shinin on me;\nOther times I can barely see\nLately it occurs to me\nWhat a long, strange trip its been\nTruckin, Im a goin home\nWhoa whoa baby, back where I belong\nBack home, sit down and patch my bones\nAnd get back truckin on\nHey now get back truckin home"} |
{"text": "Well, the first days are the hardest days\nDont you worry anymore\nCause when life looks like Easy Street\nThere is danger at your door\nThink this through with me\nLet me know your mind\nWoah, oh, what I want to know\nIs are you kind?\nIts a buck dancers choice my friend\nBetter take my advice\nYou know all the rules by now\nAnd the fire from the ice\nWill you come with me?\nWont you come with me?\nWoah, oh, what I want to know\nWill you come with me?\nGoddamn, well, I declare\nHave you seen the like\nTheir walls are built of cannon balls\nTheir motto is dont tread on me\nCome hear Uncle Johns Band\nPlaying to the tide\nCome with me or go alone\nHes come to take his children home\nIts the same story the crow told me\nIts the only one he know\nLike the morning sun you come\nAnd like the wind you go\nAint no time to hate\nBarely time to wait\nWoah, oh, what I want to know\nWhere does the time go?\nI live in a silver mine\nAnd I call it Beggars Tomb\nI got me a violin\nAnd I beg you call the tune\nAnybodys choice\nI can hear your voice\nWhoa-ho what I want to know\nHow does the song go?\nCome hear Uncle Johns Band\nBy the riverside\nGot some things to talk about\nHere beside the rising tide\nCome hear Uncle Johns Band\nPlaying to the tide\nCome on along or go alone\nHes come to take his children home\nWhoa-ho what I want to know\nHow does the song go?\nCome hear Uncle Johns Band\nBy the riverside\nGot some things to talk about\nHere beside the rising tide\nCome hear Uncle Johns Band\nPlaying to the tide\nCome on along or go alone\nHes come to take his children home\nDuh-duh-duh-duh-duh \nSongwriters: Jerry Garcia and Robert Hunter"} |
{"text": "Must be getting early\nClocks are running late\nPaint by number morning sky looks so phony\nDawn is breaking everywhere\nLight a candle, curse the glare\nDraw the curtains, I dont care cause its alright\nI will get by\nI will get by\nI will get by\nI will survive\nI see youve got your fist out\nSay your piece and get out\nYes, I get the gist of it, but its alright\nSorry that you feel that way\nThe only thing there is to say\nEvery silver linings got a touch of grey\nI will get by\nI will get by\nI will get by\nI will survive\nIts a lesson to me\nThe Ables and the Bakers and the Cs\nThe ABCs we all must face\nTry to keep a little grace\nIts a lesson to me\nThe Deltas and the East and the Freeze\nThe ABCs we all think of\nTo try to win a little love\nI know the rent is in arrears\nThe dog has not been fed in years\nIts even worse than it appears, but its alright\nCow is given kerosene\nKid cant read at seventeen\nThe words he knows are all obscene, but its alright\nI will get by\nI will get by\nI will get by\nI will survive\nThe shoe is on the hand it fits\nTheres really nothing much to it\nWhistle through your teeth and spit cause its alright\nOh, well, a touch of grey, kind of suits you anyway\nThats was all I had to say, but its alright\nI will get by\nI will get by\nI will get by\nI will survive\nWe will get by\nWe will get by\nWe will get by\nWe will survive"} |
{"text": "Driving that train, high on cocaine\nCasey Jones you better, watch your speed\nTrouble ahead, trouble behind\nAnd you know that notion just crossed my mind\nThis old engine\nMakes it on time\nLeaves Central Station\nAbout a quarter to nine\nHits river junction\nAt seventeen to\nAt a quarter to ten\nYou know its traveling again\nDriving that train, high on cocaine\nCasey Jones you better watch your speed\nTrouble ahead, trouble behind\nAnd you know that notion just crossed my mind\nTrouble ahead\nA lady in red\nTake my advice\nYoud be better off dead\nSwitch-man sleeping\nTrain hundred and two\nIs on the wrong track\nAnd headed for you\nDriving that train, high on cocaine\nCasey Jones you better, watch your speed\nTrouble ahead, trouble behind\nAnd you know that notion just crossed my mind\nTrouble with you is\nThe trouble with me\nGot two good eyes\nBut we still dont see\nCome round the bend\nYou know its the end\nThe fireman screams and\nThe engine just gleams\nDriving that train, high on cocaine\nCasey Jones you better, watch your speed\nTrouble ahead, trouble behind\nAnd you know that notion just crossed my mind\nDriving that train, high on cocaine\nCasey Jones you better, watch your speed\nTrouble ahead, trouble behind\nAnd you know that notion just crossed my mind\nAnd you know that notion\nJust crossed my mind"} |
{"text": "Look out of any window\nAny morning, any evening, any day\nMaybe the sun is shining\nBirds are winging or rain is falling from a heavy sky\nWhat do you want me to do\nTo do for you to see you through?\nFor this is all a dream we dreamed\nOne afternoon, long ago\nWalk out of any doorway\nFeel your way, feel your way like the day before\nMaybe youll find direction\nAround some corner where its been waiting to meet you\nWhat do you want me to do\nTo watch for you while you are sleeping?\nThen please dont be surprised\nWhen you find me dreaming, too\nLook into any eyes you find by you\nYou can see clear through to another day\nMaybe its been seen before through other eyes\nOn other days while going home\nWhat do you want me to do\nTo do for you, to see you through?\nIts all a dream we dreamed\nOne afternoon, long ago\nWalk into splintered sunlight\nInch your way through dead dreams to another land\nMaybe youre tired and broken\nYour tongue is twisted with words half spoken and thoughts unclear\nWhat do you want me to do\nTo do for you, to see you through?\nA box of rain will ease the pain\nAnd love will see you through\nJust a box of rain, wind, and water\nBelieve it if you need it, if you dont, just pass it on\nSun and shower, wind and rain\nIn and out the window like a moth before a flame\nAnd its just a box of rain\nI dont know who put it there\nBelieve it if you need it\nOr leave it if you dare\nAnd its just a box of rain\nOr a ribbon for your hair\nSuch a long long time to be gone\nAnd a short time to be there"} |
{"text": "I told Althea I was feeling lost\nLacking in some direction\nAlthea told me upon scrutiny\nMy back might need protection\nI told Althea that treachery\nWas tearing me limb from limb\nAlthea told me: now cool down boy\nSettle back easy Jim\nYou may be Saturdays child all grown\nMoving with a pinch of grace\nYou may be a clown in the burying ground\nOr just another pretty face\nYou may be the fate of Ophelia\nSleeping and perchance to dream\nHonest to the point of recklessness\nSelf centered to the extreme\nAint nobody messing with you but you\nYour friends are getting most concerned\nLoose with the truth\nMaybe its your fire\nBut baby...dont get burned\nWhen the smoke has cleared, she said\nThats what she said to me\nYoure going to want a bed to lay your head\nAnd a little sympathy\nThere are things you can replace\nAnd others you cannot\nThe time has come to weigh those things\nThis space is getting hot\nYou know this space is getting hot\nI told Althea\nIm a roving sign\nThat I was born to be a bachelor\nAlthea told me: Ok thats fine\nSo now Im out trying to catch her\nCant talk to you without talking to me\nWere guilty of the same old thing\nTalking a lot about less and less\nAnd forgetting the love we bring"} |
{"work": 0, "news": 0, "sports": 0, "music": 0, "movies": 0, "politics": 0, "phones": 0, "self-driving cars": 0, "family": 1, "cars": 0, "climate change": 0, "languages": 0, "business": 0, "health": 0, "science": 1, "style": 0, "opinion": 0, "economy": 0, "history": 0, "technology": 0, "affair": 0, "development": 0, "mobility": 1, "text": "And this year, the number will be over 150,000 ventilators."} |
{"work": 0, "news": 0, "sports": 0, "music": 0, "movies": 0, "politics": 0, "phones": 0, "self-driving cars": 0, "family": 0, "cars": 0, "climate change": 0, "languages": 1, "business": 0, "health": 0, "science": 0, "style": 1, "opinion": 0, "economy": 1, "history": 0, "technology": 0, "affair": 0, "development": 0, "mobility": 0, "text": "MR. SPICER: I think the campaign will make decisions with respect to how they want to spend their money and where they want to go."} |
{"work": 0, "news": 0, "sports": 0, "music": 0, "movies": 0, "politics": 0, "phones": 0, "self-driving cars": 0, "family": 1, "cars": 0, "climate change": 0, "languages": 0, "business": 0, "health": 0, "science": 0, "style": 0, "opinion": 0, "economy": 0, "history": 0, "technology": 0, "affair": 0, "development": 0, "mobility": 0, "text": "You dont have to test every person in the state of Iowa, as an example."} |
{"work": 0, "news": 0, "sports": 0, "music": 0, "movies": 0, "politics": 0, "phones": 0, "self-driving cars": 0, "family": 1, "cars": 0, "climate change": 0, "languages": 0, "business": 0, "health": 0, "science": 1, "style": 0, "opinion": 0, "economy": 0, "history": 1, "technology": 0, "affair": 0, "development": 0, "mobility": 0, "text": "And Dr. Fauci is going to emphasize this about the types of people who may not need to be tested."} |
{"work": 0, "news": 1, "sports": 0, "music": 0, "movies": 0, "politics": 0, "phones": 0, "self-driving cars": 0, "family": 0, "cars": 0, "climate change": 0, "languages": 0, "business": 0, "health": 0, "science": 1, "style": 0, "opinion": 0, "economy": 0, "history": 0, "technology": 0, "affair": 0, "development": 0, "mobility": 0, "text": "SANDERS: Certainly in a number of the conversations, including the comments, Id refer you back to also South Korean President Moon, who has said that North Korea has expressed a will for complete denuclearization."} |
{"work": 0, "news": 0, "sports": 0, "music": 0, "movies": 0, "politics": 1, "phones": 0, "self-driving cars": 0, "family": 0, "cars": 0, "climate change": 0, "languages": 0, "business": 0, "health": 0, "science": 0, "style": 0, "opinion": 0, "economy": 0, "history": 0, "technology": 0, "affair": 0, "development": 0, "mobility": 0, "text": "PRESIDENT MACRON: But Im very honored and very pleased, because whatever the context could be, this relationship is stronger than the events."} |
{"work": 0, "news": 0, "sports": 0, "music": 0, "movies": 0, "politics": 0, "phones": 0, "self-driving cars": 0, "family": 0, "cars": 0, "climate change": 0, "languages": 0, "business": 0, "health": 0, "science": 1, "style": 0, "opinion": 0, "economy": 1, "history": 0, "technology": 0, "affair": 0, "development": 0, "mobility": 0, "text": "But we will be meeting at the G20."} |
{"work": 0, "news": 0, "sports": 0, "music": 0, "movies": 0, "politics": 0, "phones": 0, "self-driving cars": 0, "family": 1, "cars": 0, "climate change": 0, "languages": 0, "business": 0, "health": 0, "science": 0, "style": 1, "opinion": 0, "economy": 0, "history": 0, "technology": 0, "affair": 1, "development": 0, "mobility": 0, "text": "And are you worried if thats encouraged?"} |
{"work": 0, "news": 0, "sports": 0, "music": 0, "movies": 0, "politics": 0, "phones": 0, "self-driving cars": 0, "family": 0, "cars": 0, "climate change": 0, "languages": 0, "business": 0, "health": 0, "science": 0, "style": 0, "opinion": 0, "economy": 0, "history": 0, "technology": 0, "affair": 0, "development": 0, "mobility": 1, "text": "Here, at this memorial, the names of those 40 men and women are etched in marble."} |
{"work": 0, "news": 1, "sports": 0, "music": 0, "movies": 0, "politics": 0, "phones": 0, "self-driving cars": 0, "family": 0, "cars": 0, "climate change": 0, "languages": 0, "business": 0, "health": 0, "science": 0, "style": 1, "opinion": 0, "economy": 1, "history": 0, "technology": 0, "affair": 0, "development": 0, "mobility": 0, "text": "We hope we still have hope that the dispute will be resolved between Qatar and its neighborly countries in the GCC."} |
{"id": 0, "comefrom": "<qiyuangong>011_Container_With_Most_Water_1.java", "code": "public int maxArea(int[] height) {\n\n int maxArea = 0;\n int left = 0;\n int right = height.length - 1;\n\n while (left < right) {\n maxArea = Math.max(maxArea, (right - left) * Math.min(height[left], height[right]));\n if (height[left] < height[right]) left++;\n else right--;\n }\n return maxArea;\n }", "masked": "public int sample_funcname ( int [ ] var_0 ) {\n int var_2 = 0 ;\n int var_3 = 0 ;\n int var_6 = var_0 . length - 1 ;\n while ( var_3 < var_6 ) {\n var_2 = Math . max ( var_2 , ( var_6 - var_3 ) * Math . min ( var_0 [ var_3 ] , var_0 [ var_6 ] ) ) ;\n if ( var_0 [ var_3 ] < var_0 [ var_6 ] ) var_3 ++ ;\n else var_6 -- ;\n }\n return var_2 ;\n}\n"} |
{"id": 3, "comefrom": "<qiyuangong>804_Unique_Morse_Code_Words_1.java", "code": "public int uniqueMorseRepresentations(String[] words) {\n String[] MORSE = new String[]{\".-\",\"-...\",\"-.-.\",\"-..\",\".\",\"..-.\",\"--.\",\n \"....\",\"..\",\".---\",\"-.-\",\".-..\",\"--\",\"-.\",\n \"---\",\".--.\",\"--.-\",\".-.\",\"...\",\"-\",\"..-\",\n \"...-\",\".--\",\"-..-\",\"-.--\",\"--..\"};\n\n Set<String> seen = new HashSet();\n for (String word: words) {\n StringBuilder code = new StringBuilder();\n for (char c: word.toCharArray())\n code.append(MORSE[c - 'a']);\n seen.add(code.toString());\n }\n\n return seen.size();\n }", "masked": "public int sample_funcname ( String [ ] var_1 ) {\n String [ ] var_28 = new String [ ] {\n \".-\" , \"-...\" , \"-.-.\" , \"-..\" , \".\" , \"..-.\" , \"--.\" , \"....\" , \"..\" , \".---\" , \"-.-\" , \".-..\" , \"--\" , \"-.\" , \"---\" , \".--.\" , \"--.-\" , \".-.\" , \"...\" , \"-\" , \"..-\" , \"...-\" , \".--\" , \"-..-\" , \"-.--\" , \"--..\" };\n Set < String > var_31 = new HashSet ( ) ;\n for ( String var_32 : var_1 ) {\n StringBuilder var_34 = new StringBuilder ( ) ;\n for ( char var_36 : var_32 . toCharArray ( ) ) var_34 . append ( var_28 [ var_36 - 'a' ] ) ;\n var_31 . add ( var_34 . toString ( ) ) ;\n }\n return var_31 . size ( ) ;\n }\n "} |
{"id": 5, "comefrom": "<qiyuangong>1323_Maximum_69_Number_1.java", "code": "public int maximum69Number (int num) {\n return Integer.valueOf(String.valueOf(num).replaceFirst(\"6\", \"9\"));\n }", "masked": "public int sample_funcname ( int var_0 ) {\n return Integer . valueOf ( String . valueOf ( var_0 ) . replaceFirst ( \"6\" , \"9\" ) ) ;\n}\n"} |
{"id": 6, "comefrom": "<qiyuangong>692_Top_K_Frequent_Words_2.java", "code": "public List<String> topKFrequent(String[] words, int k) {\n Map<String, Integer> count = new HashMap();\n for (String word: words) {\n count.put(word, count.getOrDefault(word, 0) + 1);\n }\n PriorityQueue<String> heap = new PriorityQueue<String>(\n (w1, w2) -> count.get(w1).equals(count.get(w2)) ?\n w2.compareTo(w1) : count.get(w1) - count.get(w2) );\n\n for (String word: count.keySet()) {\n heap.offer(word);\n if (heap.size() > k) heap.poll();\n }\n\n List<String> ans = new ArrayList();\n while (!heap.isEmpty()) ans.add(heap.poll());\n Collections.reverse(ans);\n return ans;\n }", "masked": "public List < String > var_1 ( String [ ] var_2 , int var_3 ) {\n Map < String , Integer > var_7 = new HashMap ( ) ;\n for ( String var_8 : var_2 ) {\n var_7 . put ( var_8 , var_7 . getOrDefault ( var_8 , 0 ) + 1 ) ;\n }\n PriorityQueue < String > var_19 = new PriorityQueue < String > ( ( var_14 , var_17 ) -> var_7 . get ( var_14 ) . equals ( var_7 . get ( var_17 ) ) ? var_17 . compareTo ( var_14 ) : var_7 . get ( var_14 ) - var_7 . get ( var_17 ) ) ;\n for ( String var_8 : var_7 . keySet ( ) ) {\n var_19 . offer ( var_8 ) ;\n if ( var_19 . size ( ) > var_3 ) var_19 . poll ( ) ;\n }\n List < String > var_26 = new ArrayList ( ) ;\n while ( ! var_19 . isEmpty ( ) ) var_26 . add ( var_19 . poll ( ) ) ;\n Collections . reverse ( var_26 ) ;\n return var_26 ;\n}\n"} |
{"html_url": "https://github.com/huggingface/datasets/issues/2945", "title": "Protect master branch", "comments": "Cool, I think we can do both :)", "body": "After accidental merge commit (91c55355b634d0dc73350a7ddee1a6776dbbdd69) into `datasets` master branch, all commits present in the feature branch were permanently added to `datasets` master branch history, as e.g.:\r\n- 00cc036fea7c7745cfe722360036ed306796a3f2\r\n- 13ae8c98602bbad8197de3b9b425f4c78f582af1\r\n- ...\r\n\r\nI propose to protect our master branch, so that we avoid we can accidentally make this kind of mistakes in the future:\r\n- [x] For Pull Requests using GitHub, allow only squash merging, so that only a single commit per Pull Request is merged into the master branch\r\n - Currently, simple merge commits are already disabled\r\n - I propose to disable rebase merging as well\r\n- ~~Protect the master branch from direct pushes (to avoid accidentally pushing of merge commits)~~\r\n - ~~This protection would reject direct pushes to master branch~~\r\n - ~~If so, for each release (when we need to commit directly to the master branch), we should previously disable the protection and re-enable it again after the release~~\r\n- [x] Protect the master branch only from direct pushing of **merge commits**\r\n - GitHub offers the possibility to protect the master branch only from merge commits (which are the ones that introduce all the commits from the feature branch into the master branch).\r\n - No need to disable/re-enable this protection on each release \r\n\r\nThis purpose of this Issue is to open a discussion about this problem and to agree in a solution.", "comment_length": 8, "text": "Protect master branch\nAfter accidental merge commit (91c55355b634d0dc73350a7ddee1a6776dbbdd69) into `datasets` master branch, all commits present in the feature branch were permanently added to `datasets` master branch history, as e.g.:\r\n- 00cc036fea7c7745cfe722360036ed306796a3f2\r\n- 13ae8c98602bbad8197de3b9b425f4c78f582af1\r\n- ...\r\n\r\nI propose to protect our master branch, so that we avoid we can accidentally make this kind of mistakes in the future:\r\n- [x] For Pull Requests using GitHub, allow only squash merging, so that only a single commit per Pull Request is merged into the master branch\r\n - Currently, simple merge commits are already disabled\r\n - I propose to disable rebase merging as well\r\n- ~~Protect the master branch from direct pushes (to avoid accidentally pushing of merge commits)~~\r\n - ~~This protection would reject direct pushes to master branch~~\r\n - ~~If so, for each release (when we need to commit directly to the master branch), we should previously disable the protection and re-enable it again after the release~~\r\n- [x] Protect the master branch only from direct pushing of **merge commits**\r\n - GitHub offers the possibility to protect the master branch only from merge commits (which are the ones that introduce all the commits from the feature branch into the master branch).\r\n - No need to disable/re-enable this protection on each release \r\n\r\nThis purpose of this Issue is to open a discussion about this problem and to agree in a solution.\nCool, I think we can do both :)", "embeddings": [-0.2390099317, -0.0966292247, -0.0759872422, -0.0984264985, -0.0993319154, -0.114640519, 0.0078532966, 0.239554435, -0.029255297, -0.0760675296, 0.3045841157, -0.0697917044, -0.1556909084, 0.2472542524, -0.0918809772, 0.2528043091, 0.1680651754, 9.9914e-05, -0.099873215, 0.0868200585, -0.0079817604, -0.1016465425, 0.1242587939, 0.0464673564, -0.2174060941, 0.0417824537, 0.0499481186, 0.1391150504, -0.4184132516, -0.4594882727, 0.1383522302, 0.1707512289, 0.0033366256, 0.5652734041, -0.0001042576, 0.0216173306, 0.2390211523, 0.0108919349, -0.1405786723, -0.1769673228, -0.5225075483, -0.4049667418, -0.1415199637, 0.0287014097, 0.0748746395, 0.06865637, -0.0910198018, 0.002452912, 0.3400871456, 0.0976495519, 0.2408002317, -0.1941754073, 0.1793913692, -0.0078934981, 0.3311534822, 0.5539640784, -0.0518133156, 0.22529535, 0.0045611048, -0.0102421539, 0.1125852838, 0.2086250186, -0.0837501734, -0.2613006532, 0.2912853956, -0.1761568338, 0.5298508406, -0.3999355435, -0.1809146106, -0.1078854129, 0.0704470351, -0.201073736, -0.3955834508, -0.2669799924, -0.1179080084, -0.0097809853, 0.0528227128, 0.2314448655, -0.0157607514, 0.0743468106, -0.3007844985, -0.3514812589, 0.0444366112, 0.0477003977, 0.10768985, -0.1619907767, 0.0425621495, -0.0867641419, 0.3245029449, 0.0032727672, -0.1678859442, -0.2417692542, -0.3024554849, -0.0731806457, -0.1582976431, -0.166840598, -0.2660009265, -0.3856663704, 0.4048146307, 0.3533258736, -0.360022366, -0.049508784, 0.002726417, -0.0647690669, 0.2959358394, 0.0719453767, 0.011164953, 0.0792105719, 0.5598432422, 0.3058459461, 0.0217627417, 0.3349214792, 0.3275439441, -0.0626471415, 0.0689635947, 0.5172939301, 0.5336612463, -0.2621914148, 0.0377011895, 0.1680787653, -0.3323733509, -0.3190573454, 0.0054372335, -0.0610207208, 0.0830994621, 0.0703226849, -0.1091590971, 0.0525613427, 0.1415696889, -0.0016033769, -0.3210552037, -0.1457319856, -0.3556134701, -0.0552582555, 0.1311259568, -0.4680353403, 0.0908330008, 0.4519638121, -0.1013908461, -0.2686688304, 0.0358462371, 0.1716575772, 0.0330468714, 0.2908923328, -0.1433112174, -0.3825237751, 0.2031245977, 0.0965870917, -0.0456247479, 0.2545187175, -0.1935967952, -0.2513652146, -0.1866476983, 0.3089985549, -0.1121701747, 0.3287965655, -0.548268497, 0.0025912365, 0.0102211721, 0.3561609685, 0.4972600937, 0.385391444, 0.2942132354, -0.1614470184, 0.0424310081, 0.1232627109, 0.3384101689, -0.0511925742, -0.0100153778, -0.2738169432, 0.1200275049, 0.2083038092, -0.2946696877, -0.0103482995, -0.0507854298, -0.1232980564, 0.0196767803, -0.048742909, -0.204722017, -0.0717563778, -0.4525829852, -0.0241770819, -0.0117112603, 0.0191363525, 0.1543500572, -0.3124671876, -0.0787971914, 0.1779266298, -0.182664752, 0.1171256378, -0.3127051294, -0.6241436601, -0.1159733236, -0.0647230893, 0.1302614063, 0.1962026656, 0.3260959387, 0.0762788281, 0.0484594442, -0.1529644579, -0.0238246322, 0.1797253937, 0.3943619728, -0.1591625661, -0.2575499117, 0.0904227868, -0.3276287019, 0.0429003425, -0.0230592508, -0.0326709487, 0.0328225382, -0.4201252162, 0.2604811192, -0.0395855084, -0.089378275, -0.1092364043, 0.2325994372, 0.0994815007, -0.2429064363, -0.2273789346, -0.1815333217, 0.2851662338, -0.242647782, 0.2751372755, 0.099704735, 0.0815574303, -0.1571651399, -0.0062341182, -0.0228314847, 0.3285116851, 0.1736403704, -0.0701381266, -0.04674327, 0.1801669151, -0.0945321396, 0.1870126128, 0.1769949794, 0.4175725579, 0.3424830437, -0.1347359419, -0.0105623221, -0.1067967415, -0.1460241973, 0.022494385, -0.2684330642, 0.2932992876, 0.0991126224, -0.2107091695, -0.249318257, -0.0687692985, -0.1965132803, -0.265663594, -0.1541765183, 0.0057348073, -0.1855473518, 0.1418430507, -0.2901535332, 0.2540666461, -0.2189239413, 0.1275674105, 0.0980846509, -0.201123789, -0.0243991297, 0.0869311392, -0.0290957168, -0.057731878, 0.100935325, 0.3220874071, 0.0902120993, 0.183042407, -0.0160376783, 0.0336617008, 0.2433368862, -0.0592605695, 0.362724781, 0.1478046626, -0.0405387431, 0.0476890579, 0.3128943741, 0.1199872941, 0.0844289884, 0.3880383074, -0.0403469466, 0.1266814917, -0.2439862639, -0.0744038522, -0.2096193433, -0.5341181755, 0.1785611957, -0.1322654784, -0.311395973, -0.0278486367, -0.053532742, 0.1170226783, -0.4517551064, 0.1408915371, 0.2340205312, 0.2509391308, -0.3069441617, -0.0698819757, 0.1471458375, -0.0289604329, 0.0071960338, 0.1242603362, 0.4291484952, -0.2824301422, 0.4524761438, 0.2389160544, -0.1856772155, -0.4897386432, -0.4018841088, 0.0115547851, -0.1668282598, -0.1153612956, 0.0861761943, -0.0717044175, 0.1023176908, -0.401612252, -0.3951958418, 0.0295078922, -0.3599407971, -0.1393553913, 0.0470686667, 0.1184691191, -0.2150190026, -0.0969456658, -0.2935731709, -0.2871156633, 0.5013284087, -0.0580234416, 0.0385896452, 0.0112076271, -0.2732456625, -0.1094526052, 0.1394193172, 0.0409913287, -0.0648903027, -0.3088234365, -0.0299696531, 0.0454311818, -0.0143893873, 0.368963629, 0.2126246095, -0.3675787747, 0.0550749078, -0.350450635, -0.1397126317, -0.0122180469, 0.4691388905, 0.256077528, -0.1587453038, 0.0662926659, 0.0626281053, -0.1768465936, 0.1262467802, -0.1262247413, 0.1179754212, 0.3565621078, 0.3317129016, -0.0136891427, 0.1207261309, 0.0874625519, 0.6525163054, 0.3680907488, -0.0682478175, 0.1437117904, 0.2640963793, 0.0372981504, 0.0415912867, -0.2894337177, 0.0679146126, -0.0695572942, -0.0514505655, 0.0428000949, -0.1358909458, -0.1156823337, -0.0192327965, -0.4392817616, 0.0292560495, -0.4280707836, -0.212833792, -0.3319002986, 0.1305010617, -0.0154377855, -0.4608305693, 0.1475661546, -0.0283782165, 0.2772078216, 0.2418593913, 0.1750047207, 0.1717233062, 0.0286009591, -0.0267298147, -0.143258512, -0.0784367099, -0.0277465973, 0.2193704545, 0.0662960187, -0.120667249, 0.0654256046, 0.0472218953, 0.401168257, -0.0122205056, 0.1574847549, -0.2568204701, -0.3890761137, 0.6179253459, -0.2597557604, 0.1685838103, 0.3741835654, 0.5948965549, 0.4432282746, -0.3229280412, -0.1968980581, 0.2175525427, -0.0058352049, 0.1632378548, 0.1841427237, 0.0639553592, 0.2376962006, -0.4858786464, 0.2991431355, 0.2369734645, -0.2511768043, -0.0432059951, -0.0785255134, -0.1137046441, 0.0831007659, -0.0332846567, -0.2697017193, 0.0042523337, -0.0428405702, 0.1484801471, 0.103806518, 0.1191856787, 0.3641275465, 0.5810796022, 0.2270472646, -0.4135166109, -0.0292455852, -0.1834749579, -0.0771063045, 0.3103395998, 0.1818852574, 0.2265654951, 0.0643974394, 0.2080049366, -0.1813084334, -0.2263067961, -0.2212891281, 0.0309540853, -0.2094345242, -0.0052669551, 0.1052183583, 0.0515394434, -0.0904067382, 0.0824889988, 0.0987536013, -0.3212070465, 0.1318824291, 0.5714728832, 0.955177784, 0.3502957225, 0.1090738475, -0.2922923863, -0.2720266581, 0.3813621998, -0.357526511, -0.1286929101, -0.3113082349, -0.1811920255, -0.1677663922, -0.3074550629, -0.0780642331, -0.4934645891, -0.3175655603, 0.1523682475, -0.1961845458, 0.5375774503, 0.0177650489, 0.1167705655, 0.1282786429, -0.038145341, 0.2970950305, 0.1892168671, 0.0111535219, 0.1593013853, -0.0028083171, -0.4545554519, -0.0279463418, 0.0025342032, -0.4306589961, 0.0386116318, -0.3405902982, 0.0399823673, -0.2339083552, -0.2824401855, 0.1117530316, -0.1104251817, 0.6192416549, 0.2143154591, -0.0984719917, -0.0485647954, 0.2703552842, 0.3980438113, -0.197127685, -0.196609512, 0.5138126016, -0.2046020627, -0.1562071592, -0.0987637788, -0.0285022315, -0.3348375857, -0.2822057903, -0.0767591447, -0.3614266813, 0.0732668266, -0.0306378119, 0.2732182145, -0.0691128522, -0.1619696319, 0.1780715436, 0.111415118, -0.1410685033, -0.1422604918, -0.1091866344, -0.2943277955, -0.0380600765, 0.1902545691, 0.2271509767, -0.1096624061, -0.0836395845, 0.0573430769, -0.1975595355, -0.2153514922, -0.2259288728, 0.1200701594, -0.1281341463, 0.0691441, -0.4934980571, -0.3398421407, 0.1174373701, 0.1943581998, 0.2834068835, 0.3471649885, 0.07340087, -0.165871352, -0.2640971243, 0.2091121227, -0.3319115043, 0.1677211374, 0.0679885969, 0.2423418313, -0.0730114356, 0.0273042507, -0.3893203735, 0.1249633506, -0.1246866807, -0.0371800624, -0.1938935816, -0.076455161, 0.002154053, -0.4198532403, 0.0430044867, 0.0236390047, -0.1842414141, -0.2793491185, 0.0818327814, 0.0688198656, 0.0645905882, 0.0382995978, -0.0577248856, -0.1069227234, 0.1288665682, 0.3231302798, 0.2298199683, -0.0998132899, 0.1544985622, -0.0540686958, 0.1755025834, 0.0916104764, -0.0348069631, 0.1178810969, -0.012650379, -0.2803532481, -0.1100896522, 0.3647060692, -0.1755682975, -0.1734805107, -0.3497366011, 0.1640637666, 0.0974830911, 0.6140381098, 0.110363245, 0.1082694158, -0.4196391404, 0.2307030708, -0.0214151721, -0.0301906541, -0.1783225387, -0.1215486825, -0.0753639936, 0.2950595319, -0.0994521976, -0.3054563999, 0.2349793315, 0.1782335341, 0.0241322219, 0.0836851299, 0.5049234629, 0.1231228486, -0.2381349504, 0.4243248105, 0.2228861451, -0.1286406517, 0.455909878, 0.5233042836, -0.1415461004, -0.0785631537, -0.0360233933, 0.0871152431, 0.1805791706, -0.1823303849, 0.0883068964, 0.3238530457, 0.6459390521, -0.1694083512, 0.3705488145, 0.0255201813, 0.3059286177, 0.2132881433, 0.0270452425, -0.2294175178, 0.4330947399, 0.2575822473, 0.3352282941, -0.5901472569, 0.1695657074, 0.5056748986, -0.023568213, 0.2167177498, -0.3594747484, -0.0223750621, -0.0552352853, -0.0159900282, -0.0719330311, 0.1218386665, 0.1490119845, 0.2901292443, -0.0673369542, -0.0273434464, -0.0467063077, 0.2230517119, 0.2663088441, -0.1428412646, -0.2008356899, 0.2622175515, -0.2484770417, 0.0786395818, 0.2177159339, 0.1616025418, -0.0978315324, -0.0521366596, 0.1798922271, 0.4497513771, -0.1746967882, -0.039889738, 0.0317630544, -0.1530031413, 0.1404958814, 0.0627516881, 0.2746909261, -0.0635648817, 0.1233454049, 0.0005846465, -0.383130908, -0.0437247008, 0.4243560433, 0.4585390389, -0.3600539863, 0.41664958, 0.174680531, 0.2586427629, -0.0644906461, 0.4355578721, -0.0931281298, 0.1283278465, -0.0560730807, 0.1473985761, 0.0403031036, 0.217051357, 0.0914419889, -0.0287602842, -0.0969899297, 0.0412180498, -0.2160513252, 0.2098333389, 0.3064318895, 0.1730033755, 0.4223076701, -0.3031860292, 0.1374098659, 0.1526105702, -0.0731561556, -0.2435802221, -0.047290422, 0.1329396963, -0.3592749536, 0.0106856637, 0.2144466639, -0.0846365243, 0.01132154, 0.064479664, 0.4179263711, 0.262011826, 0.1000918522, 0.0653353333, -0.0138661312, 0.2816164494, -0.3647170663, 0.2353287637, 0.1579896212, -0.1405763328, -0.2575822473, -0.0880536586, -0.0056584454, -0.0124874227, -0.4783657789, -0.0724288374, -0.1397930533, 0.4400902689, -0.1443308294, 0.0493659228, -0.3884942234, 0.0546305478, -0.0210841242, 0.2141258866, -0.3707188964, 0.1099852324, 0.0246811155, 0.0773969591, 0.0523463786, 0.1700744331, 0.0661983937, 0.2172149122, -0.2984472513, -0.1805216223, 0.3678478599, 0.0187848061, 0.0980769023, -0.15001674, 0.4350650012, 0.5103737712, -0.2477454543, -0.3580597639, -0.2498808056, -0.0220319424, -0.2263912112, -0.4824006557, 0.2833116651, 0.0979687423, 0.2627729475, -0.0858350545, 0.0814130977, -0.069908455, -0.2276804298, 0.164998427, -0.2625057101]} |
{"html_url": "https://github.com/huggingface/datasets/issues/2945", "title": "Protect master branch", "comments": "@lhoestq now the 2 are implemented.\r\n\r\nPlease note that for the the second protection, finally I have chosen to protect the master branch only from **merge commits** (see update comment above), so no need to disable/re-enable the protection on each release (direct commits, different from merge commits, can be pushed to the remote master branch; and eventually reverted without messing up the repo history).", "body": "After accidental merge commit (91c55355b634d0dc73350a7ddee1a6776dbbdd69) into `datasets` master branch, all commits present in the feature branch were permanently added to `datasets` master branch history, as e.g.:\r\n- 00cc036fea7c7745cfe722360036ed306796a3f2\r\n- 13ae8c98602bbad8197de3b9b425f4c78f582af1\r\n- ...\r\n\r\nI propose to protect our master branch, so that we avoid we can accidentally make this kind of mistakes in the future:\r\n- [x] For Pull Requests using GitHub, allow only squash merging, so that only a single commit per Pull Request is merged into the master branch\r\n - Currently, simple merge commits are already disabled\r\n - I propose to disable rebase merging as well\r\n- ~~Protect the master branch from direct pushes (to avoid accidentally pushing of merge commits)~~\r\n - ~~This protection would reject direct pushes to master branch~~\r\n - ~~If so, for each release (when we need to commit directly to the master branch), we should previously disable the protection and re-enable it again after the release~~\r\n- [x] Protect the master branch only from direct pushing of **merge commits**\r\n - GitHub offers the possibility to protect the master branch only from merge commits (which are the ones that introduce all the commits from the feature branch into the master branch).\r\n - No need to disable/re-enable this protection on each release \r\n\r\nThis purpose of this Issue is to open a discussion about this problem and to agree in a solution.", "comment_length": 64, "text": "Protect master branch\nAfter accidental merge commit (91c55355b634d0dc73350a7ddee1a6776dbbdd69) into `datasets` master branch, all commits present in the feature branch were permanently added to `datasets` master branch history, as e.g.:\r\n- 00cc036fea7c7745cfe722360036ed306796a3f2\r\n- 13ae8c98602bbad8197de3b9b425f4c78f582af1\r\n- ...\r\n\r\nI propose to protect our master branch, so that we avoid we can accidentally make this kind of mistakes in the future:\r\n- [x] For Pull Requests using GitHub, allow only squash merging, so that only a single commit per Pull Request is merged into the master branch\r\n - Currently, simple merge commits are already disabled\r\n - I propose to disable rebase merging as well\r\n- ~~Protect the master branch from direct pushes (to avoid accidentally pushing of merge commits)~~\r\n - ~~This protection would reject direct pushes to master branch~~\r\n - ~~If so, for each release (when we need to commit directly to the master branch), we should previously disable the protection and re-enable it again after the release~~\r\n- [x] Protect the master branch only from direct pushing of **merge commits**\r\n - GitHub offers the possibility to protect the master branch only from merge commits (which are the ones that introduce all the commits from the feature branch into the master branch).\r\n - No need to disable/re-enable this protection on each release \r\n\r\nThis purpose of this Issue is to open a discussion about this problem and to agree in a solution.\n@lhoestq now the 2 are implemented.\r\n\r\nPlease note that for the the second protection, finally I have chosen to protect the master branch only from **merge commits** (see update comment above), so no need to disable/re-enable the protection on each release (direct commits, different from merge commits, can be pushed to the remote master branch; and eventually reverted without messing up the repo history).", "embeddings": [-0.1553194672, -0.1002306268, -0.070321016, -0.0798171908, -0.1042534709, -0.1879874468, 0.0104035577, 0.2728635967, -0.0098489737, -0.0841399208, 0.2926148772, -0.0778751224, -0.1324572563, 0.2158903182, -0.0562292449, 0.1705456823, 0.2003232092, -0.0407981202, -0.0923330337, 0.0279233586, 0.0226084664, -0.0687029436, 0.0832000151, 0.0436301306, -0.1837819666, 0.0054013738, -0.0148117775, 0.1564962417, -0.4397666156, -0.4695702493, 0.1452465504, 0.2322402596, 0.0251065325, 0.570535183, -0.0001043637, -0.0003454557, 0.1694866419, -0.0406010039, -0.1401022524, -0.2154636681, -0.4901072085, -0.4447958767, -0.07006336, -0.0083542913, 0.1288067251, 0.0528678969, -0.132499963, 0.0238457564, 0.3848451674, 0.1055523977, 0.2386109382, -0.1028517336, 0.1812405735, 0.0137694413, 0.392008841, 0.5474528074, -0.066634573, 0.3031997979, 0.0540179275, 0.0006757497, 0.0611058585, 0.1741086096, -0.0823729113, -0.2866700888, 0.2270194292, -0.1779912561, 0.5181742311, -0.4243531227, -0.2415838391, -0.0831176639, 0.0523793846, -0.1781465262, -0.4089041948, -0.2419367433, -0.1499476582, 0.0076339091, 0.0677802935, 0.2468644679, 0.039739579, 0.0036496122, -0.3773649931, -0.2718090415, -0.004407926, 0.0492040403, 0.141940549, -0.1626293063, 0.0664263666, -0.1270385236, 0.2942230105, -0.0473279878, -0.1469833106, -0.3676346838, -0.2413333207, -0.0125874653, -0.1026133746, -0.1957468837, -0.2462065965, -0.3248277903, 0.4251304567, 0.3889683783, -0.3832727969, 0.0137396995, -0.0304892361, -0.0810169131, 0.2071851492, 0.1178578511, -0.0104900496, 0.0584886484, 0.530713141, 0.3144408166, 0.0051584225, 0.3255857527, 0.3015701473, 0.0030471815, 0.0344459116, 0.574118197, 0.4289444685, -0.26292032, 0.1276476383, 0.1959735751, -0.3412007391, -0.3845081031, 0.0711311549, -0.0861726329, 0.1103260964, 0.0271337908, -0.1147114784, 0.0668015406, 0.0451908335, -0.0380863659, -0.3079027534, -0.141485557, -0.3744001687, -0.0685305148, 0.1860401928, -0.4571051598, 0.1491677761, 0.4325242639, -0.0680372268, -0.1992845535, 0.0445522442, 0.1292257011, 0.0555874184, 0.2961196899, -0.1537979692, -0.4526284337, 0.2235967368, 0.1313333064, -0.0668994114, 0.1940043122, -0.1598993689, -0.2616221011, -0.1049757376, 0.2977656722, -0.1482721567, 0.3071561158, -0.5237665772, 0.0363732092, -0.0044837268, 0.3506707847, 0.4910375476, 0.3025480509, 0.3280785084, -0.1685939282, 0.0617566295, 0.1903455257, 0.3235116601, -0.0516864397, 0.0623045377, -0.2877363563, 0.1095039099, 0.1450733244, -0.3121602237, 0.0175557248, -0.0052360594, -0.1312822402, 0.0107761566, -0.0714070052, -0.1119878516, -0.0989294425, -0.3666853309, 0.0694030076, -0.0407375731, -0.1007770002, 0.2079568803, -0.3201756477, -0.0947941095, 0.2050814927, -0.1481231451, 0.0208985135, -0.2919872105, -0.6061385274, -0.1636558473, -0.06343887, 0.1249144152, 0.2275642306, 0.3607693315, -0.0050310493, -0.0283617247, -0.1714023799, -0.0093972106, 0.1125069708, 0.3421364129, -0.1496780068, -0.2415423691, 0.1322465539, -0.3545884192, 0.0911409035, -0.0785121024, -0.0097747799, 0.0344485678, -0.3157884181, 0.3412798941, -0.0440529883, -0.1208016798, -0.1141509414, 0.2415172756, 0.095951654, -0.1747335494, -0.2039210498, -0.2074069828, 0.2601909339, -0.2408306301, 0.3018657863, 0.1300136894, 0.1026374176, -0.1411807239, -0.0364533328, -0.0250960924, 0.36193645, 0.2363044769, -0.0899174288, -0.0591584407, 0.1687609404, -0.0490626656, 0.2035702467, 0.2246947736, 0.4252423346, 0.3736152053, -0.1026815102, 0.0626009405, -0.0917925984, -0.0787246898, 0.0245947056, -0.3291273713, 0.3280371726, 0.073694557, -0.1394644678, -0.1740321219, -0.1033326834, -0.1740740985, -0.2202692628, -0.1707722992, -0.012951361, -0.1690982729, 0.1943652332, -0.3365918398, 0.2223692834, -0.2772080004, 0.148579374, 0.0150526064, -0.2516064942, -0.1024010181, 0.0682980418, -0.0059674503, -0.1327149123, 0.1241709664, 0.3773829341, 0.1278743744, 0.1701000035, 0.0042741634, 0.0201513059, 0.2572831213, -0.1164359227, 0.353325963, 0.1443069726, -0.1054452285, 0.054064367, 0.3364559114, 0.1812186539, 0.0643318817, 0.346919328, -0.0033243245, 0.0352581739, -0.2084068358, -0.0459848903, -0.2602106631, -0.5283415914, 0.2192376256, -0.110637784, -0.3552163243, -0.0085041393, -0.0453661792, 0.047418233, -0.5248722434, 0.136029914, 0.1835808307, 0.2905260623, -0.3178029358, -0.1199780703, 0.1263155937, -0.0225951802, 0.0123441136, 0.1285599768, 0.3631602824, -0.2266809344, 0.45945099, 0.2389809936, -0.1695563644, -0.4726397991, -0.3434132934, 0.0191301201, -0.2039363831, -0.1179748252, 0.0098189935, -0.0989309773, 0.0921538174, -0.3585401177, -0.3257124722, -0.018773742, -0.3730046451, -0.1600959152, 0.0695955083, 0.0628860295, -0.2346176803, -0.114040032, -0.386590004, -0.2821527123, 0.4793556035, -0.0164330266, 0.1156589612, -0.0431727543, -0.2923772335, -0.0459178463, 0.0874827728, 0.1366390288, -4.48525e-05, -0.3609322906, 0.0325667374, -0.0406603813, -0.0293471292, 0.352609843, 0.1854910851, -0.4302407205, 0.0712517202, -0.3217604458, -0.1558190286, -0.0520843901, 0.4864443243, 0.3141199946, -0.0973737389, 0.0710799471, 0.1035510823, -0.1919001341, 0.0550895296, -0.1816118211, 0.1472238153, 0.3454884887, 0.2857186198, 0.0378993787, 0.1458674669, 0.0254973993, 0.7140879035, 0.3778497577, -0.059657298, 0.210337624, 0.3106974065, -0.0277180839, 0.0039902786, -0.2601569593, 0.065046832, -0.1012431234, -2.09612e-05, 0.0867039785, -0.1295782924, -0.1229653433, -0.0112106856, -0.4777139425, 0.0091558872, -0.4146761596, -0.2396630496, -0.3181839585, 0.1842502356, -0.0225256812, -0.4854888022, 0.1313801706, 0.0537709594, 0.2305762768, 0.2159709483, 0.2142065167, 0.1812160015, -0.0202590171, -0.0510845743, -0.1200738922, -0.067726247, -0.0043309759, 0.145250544, 0.0905801877, -0.1670407504, 0.0318057276, 0.0695502236, 0.3299908936, -0.0148684094, 0.1402913779, -0.1708071232, -0.5094846487, 0.6086307168, -0.3185944259, 0.1394028515, 0.2990989089, 0.5112247467, 0.4397634268, -0.2954540849, -0.1953165382, 0.2071224451, 0.0325558819, 0.1978364438, 0.1773502678, 0.1449773014, 0.2783072591, -0.4903811812, 0.2887739539, 0.1548331976, -0.2504818439, -0.1551757604, -0.0039056637, -0.0270501971, 0.1264622211, -0.0263037495, -0.2453983575, 0.0091275191, -0.1094373837, 0.1734458208, 0.1329204887, 0.0698278099, 0.4152193964, 0.594658792, 0.1349339038, -0.3891987503, -0.0482011773, -0.1750733256, -0.0742834732, 0.3271439075, 0.1983511001, 0.24822779, 0.0203486141, 0.1776862442, -0.1234726384, -0.2662384808, -0.2033664733, -0.038491372, -0.0767425969, 0.0075890222, 0.0873292238, -0.0458977483, -0.0909918919, 0.0130487047, 0.1399983913, -0.3661002219, 0.1637848169, 0.6180499792, 0.9825440049, 0.3975676596, 0.0890336856, -0.2546566427, -0.3273829818, 0.3259905577, -0.340107888, -0.1664507836, -0.2470169514, -0.1235878542, -0.1842461079, -0.3403116167, -0.0386944152, -0.4898471832, -0.3528554738, 0.1351124644, -0.2180551142, 0.5279191732, 0.008177679, 0.1233861297, 0.1910188198, -0.12231455, 0.2551510632, 0.1982705742, 0.061811205, 0.104095228, -0.0040276642, -0.4687906206, -0.0022327867, 0.0205386523, -0.3772695959, 0.0891471654, -0.3437781334, 0.0388470143, -0.2063531876, -0.3160520196, 0.115827091, -0.0870479271, 0.6059409976, 0.1666302532, -0.0794522315, -0.0446208119, 0.2913893759, 0.4645246863, -0.2288517058, -0.219530493, 0.5223725438, -0.2133638412, -0.1302172095, -0.2047614008, -0.0803344026, -0.2370928973, -0.2609480619, -0.1280429661, -0.3282325566, 0.0795017928, 0.041714251, 0.2636537552, -0.0910693035, -0.1676060557, 0.1859930903, 0.1154857874, -0.1075729132, -0.118584998, -0.1695205718, -0.2610394955, -0.0678159222, 0.2016011029, 0.161605835, -0.1206071749, -0.0767639652, 0.099657312, -0.2443365902, -0.2207894772, -0.2072923779, 0.105987981, -0.1394685954, 0.0929813311, -0.5486782193, -0.32993415, 0.0517466478, 0.2461933494, 0.279415518, 0.3304983079, 0.1179999709, -0.0997705981, -0.2244495153, 0.2186434418, -0.3279267251, 0.1686490178, 0.0235842206, 0.1588117927, -0.0260097533, 0.0404301658, -0.3905956745, 0.160315454, -0.1254802048, -0.0211261567, -0.2255206406, -0.1017537564, -0.000630246, -0.3081870973, 0.0324874744, 0.0234331191, -0.1957566142, -0.2830150425, 0.0926690474, 0.0656956136, 0.0647893623, -0.0570135079, -0.0574608184, -0.1081577986, 0.0827530622, 0.2720321715, 0.2396921068, -0.1584913284, 0.1097129956, -0.0322248675, 0.1710882336, 0.1105851158, -0.0247724894, 0.0892416015, 0.0146322586, -0.2658016682, -0.0353747047, 0.267159909, -0.1817460209, -0.2171436995, -0.2685393691, 0.1888355613, 0.1056337059, 0.5840907693, 0.2028801143, 0.1442169249, -0.405082494, 0.1754089892, -0.0531977862, -0.0036356284, -0.1692355126, -0.0969402716, -0.0849622712, 0.2793601751, -0.0867193192, -0.3035972714, 0.2713837624, 0.1881819069, 0.0007486099, 0.1049711928, 0.5280760527, 0.1296208501, -0.1896519363, 0.4221355915, 0.2712435424, -0.0876758322, 0.494900018, 0.470233053, -0.1131819189, -0.0203250889, -0.082736142, 0.116614446, 0.2306870967, -0.2540961802, 0.1284718663, 0.2962196171, 0.6462965012, -0.1688840091, 0.3935549557, -0.0330962837, 0.3437395692, 0.1979931891, 0.0587407239, -0.2460495532, 0.3927094042, 0.2117075175, 0.3301511109, -0.6189893484, 0.1363731921, 0.4914032817, 0.0492829382, 0.1995816529, -0.400105536, -0.0492327139, -0.0584757105, -0.0483128205, -0.0781826749, 0.1634954214, 0.1237376407, 0.2829664946, 0.0065842085, -0.088377893, -0.043440666, 0.1850482225, 0.2415616512, -0.1169977486, -0.1811731756, 0.357754916, -0.2761978507, 0.0664936379, 0.215460062, 0.1350683123, -0.074716486, -0.0686341003, 0.1802342385, 0.4503947198, -0.1699341387, 0.0225111321, 0.0557496101, -0.1625677198, 0.1577177346, 0.0801470727, 0.2580322921, -0.0533408038, 0.1128025502, 0.0354268774, -0.4152979553, -0.025322238, 0.4330811501, 0.5564644337, -0.3377302289, 0.4601393938, 0.1192681268, 0.2847007811, -0.0326848105, 0.4374352098, -0.0471260622, 0.1163921505, -0.0051536481, 0.143078804, 0.02808984, 0.2575880587, 0.1414998174, -0.0333454311, -0.1592887938, 0.0301065128, -0.1215411872, 0.127435267, 0.2968399227, 0.17307055, 0.419888705, -0.2947140038, 0.1275687069, 0.1282345057, -0.0875694603, -0.3413968384, 0.0095217237, 0.0940847918, -0.3605292141, 0.0042476766, 0.2224816233, -0.0694397017, -0.0241943654, 0.1189339831, 0.4094779193, 0.1927902848, 0.1120927632, 0.1051306576, -0.0493477993, 0.3209429979, -0.3918459415, 0.2249616981, 0.1892230064, -0.1029298455, -0.2218884081, -0.0510987751, 0.0073658284, 0.0212806091, -0.4355088174, -0.1401801854, -0.162226066, 0.4209837019, -0.1355972886, 0.0682982057, -0.3722180128, 0.0687672645, -0.0371344872, 0.2683559954, -0.3000992239, 0.0864084363, 0.0525472984, 0.017337583, 0.088370651, 0.1305798739, 0.068434529, 0.2528506517, -0.3523156941, -0.1248895153, 0.3586619198, -0.0194706563, 0.0910360888, -0.2172687799, 0.4182040691, 0.4654460251, -0.1480811983, -0.3321150839, -0.2635183036, -0.0111563709, -0.2798339725, -0.542089045, 0.2986377478, 0.1378680468, 0.1974387169, -0.1058711782, 0.0366066247, -0.0743264556, -0.1527637988, 0.0611719489, -0.1987861097]} |
{"html_url": "https://github.com/huggingface/datasets/issues/2943", "title": "Backwards compatibility broken for cached datasets that use `.filter()`", "comments": "Hi ! I guess the caching mechanism should have considered the new `filter` to be different from the old one, and don't use cached results from the old `filter`.\r\nTo avoid other users from having this issue we could make the caching differentiate the two, what do you think ?", "body": "## Describe the bug\r\nAfter upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with \r\n`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}`\r\n\r\nRelated feature: https://github.com/huggingface/datasets/pull/2836\r\n\r\n:question: This is probably a `wontfix` bug, since it can be solved by simply cleaning the related cache dirs, but the workaround could be useful for someone googling the error :) \r\n\r\n## Workaround\r\nRemove the cache for the given dataset, e.g. `rm -rf ~/.cache/huggingface/datasets/librispeech_asr`.\r\n\r\n## Steps to reproduce the bug\r\n1. Delete `~/.cache/huggingface/datasets/librispeech_asr` if it exists.\r\n\r\n2. `pip install datasets==1.11.0` and run the following snippet:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nids = [\"1272-141231-0000\"]\r\nds = load_dataset(\"patrickvonplaten/librispeech_asr_dummy\", \"clean\", split=\"validation\")\r\nds = ds.filter(lambda x: x[\"id\"] in ids)\r\n```\r\n3. `pip install datasets==1.12.1` and re-run the code again\r\n\r\n## Expected results\r\nSame result as with the previous `datasets` version.\r\n\r\n## Actual results\r\n```bash\r\nReusing dataset librispeech_asr (./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1)\r\nLoading cached processed dataset at ./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1/cache-cd1c29844fdbc87a.arrow\r\nTraceback (most recent call last):\r\n File \"./repos/transformers/src/transformers/models/wav2vec2/try_dataset.py\", line 5, in <module>\r\n ds = ds.filter(lambda x: x[\"id\"] in ids)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 2169, in filter\r\n indices = self.map(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1686, in map\r\n return self._map_single(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1896, in _map_single\r\n return Dataset.from_file(cache_file_name, info=info, split=self.split)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 343, in from_file\r\n return cls(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 282, in __init__\r\n self.info.features = self.info.features.reorder_fields_as(inferred_features)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1151, in reorder_fields_as\r\n return Features(recursive_reorder(self, other))\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1140, in recursive_reorder\r\n raise ValueError(f\"Keys mismatch: between {source} and {target}\" + stack_position)\r\nValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.11.0-34-generic-x86_64-with-glibc2.17\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n", "comment_length": 50, "text": "Backwards compatibility broken for cached datasets that use `.filter()`\n## Describe the bug\r\nAfter upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with \r\n`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}`\r\n\r\nRelated feature: https://github.com/huggingface/datasets/pull/2836\r\n\r\n:question: This is probably a `wontfix` bug, since it can be solved by simply cleaning the related cache dirs, but the workaround could be useful for someone googling the error :) \r\n\r\n## Workaround\r\nRemove the cache for the given dataset, e.g. `rm -rf ~/.cache/huggingface/datasets/librispeech_asr`.\r\n\r\n## Steps to reproduce the bug\r\n1. Delete `~/.cache/huggingface/datasets/librispeech_asr` if it exists.\r\n\r\n2. `pip install datasets==1.11.0` and run the following snippet:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nids = [\"1272-141231-0000\"]\r\nds = load_dataset(\"patrickvonplaten/librispeech_asr_dummy\", \"clean\", split=\"validation\")\r\nds = ds.filter(lambda x: x[\"id\"] in ids)\r\n```\r\n3. `pip install datasets==1.12.1` and re-run the code again\r\n\r\n## Expected results\r\nSame result as with the previous `datasets` version.\r\n\r\n## Actual results\r\n```bash\r\nReusing dataset librispeech_asr (./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1)\r\nLoading cached processed dataset at ./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1/cache-cd1c29844fdbc87a.arrow\r\nTraceback (most recent call last):\r\n File \"./repos/transformers/src/transformers/models/wav2vec2/try_dataset.py\", line 5, in <module>\r\n ds = ds.filter(lambda x: x[\"id\"] in ids)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 2169, in filter\r\n indices = self.map(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1686, in map\r\n return self._map_single(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1896, in _map_single\r\n return Dataset.from_file(cache_file_name, info=info, split=self.split)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 343, in from_file\r\n return cls(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 282, in __init__\r\n self.info.features = self.info.features.reorder_fields_as(inferred_features)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1151, in reorder_fields_as\r\n return Features(recursive_reorder(self, other))\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1140, in recursive_reorder\r\n raise ValueError(f\"Keys mismatch: between {source} and {target}\" + stack_position)\r\nValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.11.0-34-generic-x86_64-with-glibc2.17\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n\nHi ! I guess the caching mechanism should have considered the new `filter` to be different from the old one, and don't use cached results from the old `filter`.\r\nTo avoid other users from having this issue we could make the caching differentiate the two, what do you think ?", "embeddings": [-0.3049958348, 0.1243880838, -0.0465583764, 0.2368971109, 0.1517290324, -0.0666598156, -0.0069413707, 0.3285393715, 0.1737383604, 0.0293814819, -0.2313861847, 0.3581927419, -0.1503304988, 0.2527370155, -0.2977862358, -0.1378120482, 0.0444693454, 0.0321247876, -0.0614953265, 0.166412577, -0.1239175051, 0.4988580644, -0.1957765073, 0.0070795678, 0.2221652865, 0.0513210297, 0.1091236398, 0.138566196, 0.0798620358, -0.3392693698, 0.5981172919, 0.1064069718, -0.0348691642, 0.498096019, -0.0001213098, 0.099867776, 0.4398066998, -0.1073976383, -0.4579497874, -0.3686879575, -0.192854017, 0.1319934726, 0.2131137848, 0.0811629742, -0.0715122968, 0.1143416911, -0.303493619, -0.346046567, 0.2488765419, 0.1989328116, 0.2267285585, 0.2136144787, 0.2657418847, 0.066587165, 0.170179069, 0.0826525018, 0.0259718653, -0.0490864292, 0.2940285802, 0.014261202, 0.043685697, 0.4806104004, -0.3283523321, -0.2146463245, 0.3046185374, -0.2982533276, 0.1030709222, -0.3957037926, 0.2999309897, 0.0781370997, 0.1462642252, -0.255518198, -0.5773367882, -0.3483263254, -0.5121472478, -0.2868291736, 0.4164735079, -0.216358915, -0.2009968162, 0.2200830877, -0.3342647851, -0.0270038545, 0.0934983194, 0.0535101071, -0.0584819205, 0.2941842079, -0.1318320185, -0.0048626242, 0.0149830757, -0.132900551, 0.1924084276, -0.2750048339, -0.1968749017, 0.1725800484, -0.0155595224, -0.0546131916, 0.0954222009, 0.3323281705, 0.140570581, 0.0356287211, 0.0192098524, 0.0845401734, -0.0409641638, 0.0536773168, 0.1373275816, 0.475378722, 0.4901195765, 0.2467906624, 0.2727875113, 0.2854887545, -0.0078853024, -0.0013800253, 0.5281852484, -0.1666412055, 0.0747071281, 0.1517307162, 0.196695298, -0.4048683643, -0.3602132797, 0.1689626127, -0.0769995078, -0.1250401586, 0.2207264006, 0.0534940958, 0.1005648673, 0.2142349631, 0.1320811808, 0.0338568501, -0.1964725256, 0.0612344779, -0.1725096703, -0.1739457697, 0.0011616903, -0.1112991124, -0.0473052748, -0.89977777, 0.1747701168, 0.0482602492, 0.0063488153, 0.1058098748, -0.0697732121, 0.207434997, 0.1730166823, 0.5229284167, -0.2213587761, 0.0839003325, 0.1671907902, -0.548327744, -0.1386865377, 0.0125284484, -0.2415378094, -0.1112066656, 0.2085879147, 0.1735862345, -0.3296715915, 0.0126515068, -0.17029953, 0.4515431225, 0.2592140436, -0.5466870666, -0.0779574588, -0.213380143, -0.4382343888, -0.1997140199, 0.0971902013, 0.4131370485, -0.5942543149, -0.3216674924, 0.0216870401, 0.0319067985, 0.0399160981, -0.1229341999, -0.063439101, -0.2444722205, -0.1077689156, -0.1384182572, 0.3606542647, -0.3195546865, -0.733892858, 0.1537256837, 0.2360213548, 0.5342661738, -0.0709591061, -0.1374839246, 0.2813950479, -0.2578290701, 0.1459920853, 0.0848445743, -0.1649033576, -0.0079940017, -0.3409692049, -0.2346946597, 0.2238697708, -0.1502910852, 0.0904174298, 0.3348585963, 0.0790057704, -0.2542206049, 0.0502917804, 0.0350500681, 0.1049243882, 0.1990925223, 0.2453232259, 0.2237652242, 0.2863062918, -0.4365186989, -0.2801407278, 0.2506181598, 0.2141302824, -0.0600011088, -0.1524066925, -0.1982273012, -0.2678262889, -0.0884182155, -0.1589775681, -0.3044096231, 0.0788738504, 0.0225765873, 0.3843636513, -0.0385034606, -0.1145259663, 0.6218649745, 0.3084535897, 0.0944804996, -0.5049411654, 0.229641512, -0.0548514128, 0.0051691518, -0.0591857955, 0.0377827175, 0.2939595878, -0.0685256049, -0.2895757854, 0.407875061, 0.0392592028, 0.084168233, -0.0276337974, 0.1937460154, 0.1773459613, 0.2105839252, 0.0639338642, 0.2741822898, -0.0148837138, 0.2087214142, -0.195456177, 0.557248354, 0.0293753464, 0.3240505159, 0.1208347678, 0.148756206, 0.3702490628, 0.1305633932, -0.2189950645, -0.1370786875, 0.3204495311, -0.4587228, 0.0626674443, 0.0123394234, -0.1297932267, 0.3776263595, 0.0716826022, 0.0755119473, -0.0334524736, 0.3119212389, -0.1593657285, -0.042190969, 0.1813624054, 0.4024861157, 0.4014509916, 0.2088322341, 0.0507172868, 0.0758817792, -0.1615392268, -0.0248774402, 0.2082498521, 0.1293462515, -0.1696399748, 0.1535750628, 0.3034210205, 0.2732039392, -0.3061974645, 0.0933934823, -0.2356239706, 0.1195331365, -0.270581305, 0.3616366684, -0.2810101509, -0.2280866951, 0.076141715, -0.1678324938, -0.2615140676, -0.3875222206, 0.089899376, 0.3934392929, -0.086219281, 0.2567750216, 0.0147161586, 0.2445412278, 0.136167407, -0.1996820718, -0.4005717337, -0.2078815252, -0.3476482034, 0.0053976052, 0.2051323503, -0.1568491161, 0.2970358729, -0.0763099566, -0.2066247612, -0.390294075, -0.9079098701, -0.0486286655, -0.123964861, 0.6180298328, 0.3176228106, -0.0916265026, -0.1352719367, -0.2327560335, 0.1665794849, -0.0413150303, -0.4310828745, 0.1568385363, 0.0666227341, 0.1682221591, -0.2003851682, -0.2270279974, -0.1135412008, -0.1458190233, 0.0079398574, -0.1276904047, 0.0849654675, 0.3094039559, 0.1123534068, -0.3165157139, -0.0872011557, 0.1330857426, -0.3335401416, -0.0773374513, 0.0739419162, -0.054162316, -0.2302434891, -0.034139622, -0.0319806486, 0.0831893757, 0.3736632466, -0.4069587886, -0.3791774213, -0.2713731527, -0.0048744264, 0.2311773747, 0.068360962, 0.2319667786, 0.1899949759, 0.0391035639, -0.2794680893, -0.4342857301, -0.0886206329, -0.2365958691, 0.1095489264, 0.1482250243, 0.6309939027, 0.0345636867, 0.4764270186, 0.2947264612, 0.0489611253, 0.1398259848, 0.1815548688, 0.4972691238, -0.3258462548, -0.4095653892, -0.0467088632, -0.0461938493, 0.0505124666, -0.1531914324, 0.1795819253, -0.1120608747, -0.3487883806, 8.8976e-05, -0.2515632212, -0.2498103678, -0.2386271805, -0.0136443963, 0.2690052986, 0.3906219602, 0.1407706589, -0.3225954771, -0.1763848662, -0.0081372689, 0.4007481039, 0.1035773978, 0.2502198517, -0.1815419495, -0.0471423045, -0.4509257674, 0.492559284, 0.2151459008, 0.2648919821, -0.1177540421, -0.1629662067, -0.3294481337, -0.0492410697, 0.5928120017, -0.3631767035, 0.0443488397, 0.1019544229, -0.2081836015, -0.382881999, 0.0511292815, 0.0076627661, 0.3649113178, 0.0543546379, 0.3508075774, -0.0821149051, -0.0730158612, -0.0869157314, 0.2223753035, -0.1245945767, 0.0196017139, -0.2743616104, -0.2049434334, -0.143308565, 0.0314200111, -0.1528896391, 0.1650674194, -0.1800080687, -0.0685375854, -0.1131430715, -0.0563930348, 0.1153809577, 0.1347035617, 0.2945029438, -0.1000063792, 0.1187398955, 0.1441811323, 0.2405287623, 0.04236985, 0.458391726, -0.2755981982, -0.2780961096, -0.0670714304, 0.1208044589, -0.114640221, 0.3437377512, -0.2040164918, -0.0173406545, -0.0444572084, -0.1020425931, -0.0212400388, -0.1411033124, -0.001939329, 0.3703025281, -0.204925105, -0.2889373302, 0.2329640687, 0.2390516698, -0.2043491751, 0.436775893, 0.3422557414, -0.2809350789, 0.1687894613, -0.1999594271, 0.7136852741, 0.1521688104, -0.0298533011, 0.0877994671, -0.1695175022, 0.4524547458, 0.3125461042, 0.1559776068, -0.0667682663, -0.2370487005, -0.0655061752, -0.0347471349, 0.1580221951, -0.1110610664, -0.2036339194, 0.5631492734, -0.0592185557, -0.0353867561, 0.1755868793, -0.1173290387, -0.2023077309, 0.0190884974, -0.4372626245, 0.099125281, -0.0213232394, 0.2521654963, 0.0010581244, -0.0767222121, 0.0552208163, -0.3087654114, -0.2637814581, -0.0523921177, -0.3992073536, -0.0659277439, 0.2081235945, -0.433280319, 0.0089732604, 0.0526266396, 0.2566778362, -0.0081807002, -0.0373007692, -0.0075372811, 0.0702684447, 0.4977722168, 0.2345933914, 0.0250330679, 0.2863307297, 0.0890943483, 0.1867841035, 0.0195984095, -0.1420115829, -0.3608390987, -0.0186531637, 0.0038103643, 0.1180328727, -0.1588664055, 0.0288226064, -0.2428553104, 0.0213073175, -0.364861697, 0.0650937036, -0.0898337811, -0.0098389015, 0.0943212733, -0.0165627208, -0.226817742, -0.0053528175, 0.6357886791, -0.1438153237, -0.4367529452, 0.127720207, -0.0055662361, -0.2235843986, 0.0353587158, -0.2044414431, 0.0274193734, -0.2750842869, 0.2978782654, -0.2511248887, -0.1071279123, 0.2691295445, 0.3227922022, 0.1886078864, 0.2146122009, -0.1516674459, -0.3945676982, -0.1370823681, 0.2854580283, 0.0442744903, 0.0549807698, -0.0311486106, -0.3236714602, -0.1444216073, -0.2066645175, -0.2257885635, 0.0087526664, 0.3313151598, 0.0712086409, 0.1904872656, 0.2205638587, 0.1548970491, -0.1995647997, -0.0134116681, 0.0725863725, -0.203820318, -0.102092959, -0.093345888, 0.0935418084, -0.0911601558, -0.2648990452, -0.1546195447, -0.0057543651, 0.0614032373, -0.1646934003, 0.4182681739, 0.3214158118, -0.1182498485, -0.0536907464, -0.0327779986, 0.0472252741, 0.3035388887, 0.1383125186, 0.0185656752, 0.0326717421, 0.0427048579, 0.1994483471, -0.1875816137, 0.014096451, 0.082016468, 0.0423960686, -0.2510475516, 0.0270903334, 0.3569348454, -0.295296222, -0.0216397811, 0.5987740755, 0.3562681079, 0.2437597811, -0.1398067921, 0.1138302758, -0.0777392983, 0.1533572823, -0.2739046812, -0.3326784968, 0.205778718, 0.2732258439, 0.0609572381, 0.1860822588, -0.0021066871, 0.0291597173, 0.6171163917, 0.2176484168, 0.4478169084, -0.1253162473, 0.3508082032, 0.5271652937, 0.2326287627, 0.1843764484, 0.241720289, 0.0737254471, 0.0160929821, 0.5080396533, -0.0660088882, 0.2586891651, 0.2197473645, 0.1287705451, -0.0355183855, -0.4662743509, -0.1656748652, 0.0283220075, -0.0797490031, 0.2506761551, 0.1661577374, 0.0856602341, -0.2232845426, -0.3345984221, 0.0114881797, 0.024897946, -0.193626374, -0.2161095738, 0.1446396858, -0.3639173806, -0.0571490377, 0.013486567, -0.1208442077, 0.0703997388, 0.4529311359, -0.2469489723, -0.128362909, -0.4731904268, -0.3793772757, 0.0500456095, 0.1747638434, -0.0140105868, 0.4047631919, 0.258780688, -0.2298548669, 0.2219883502, 0.2503442466, 0.4856500924, 0.2468240112, 0.027692223, 0.0133466832, -0.1420494765, -0.0540064909, -0.0907230228, 0.3356420696, -0.0870835707, 0.0305686034, 0.1879348457, 0.1134100109, 0.0007339246, 0.2053903639, -0.0408540145, 0.3989400268, -0.4661819339, 0.0895344913, -0.2369527221, 0.2848792076, 0.0150147714, 0.1000138745, -0.2490254641, -0.1181152612, 0.171215117, 0.2318110913, 0.2039028108, -0.1064854339, 0.0748107806, 0.1348544508, 0.0739088506, 0.4687882364, -0.0930132717, -0.0892460048, -0.1464888304, -0.653509438, -0.0558623448, 0.1423008889, 0.1280672401, -0.0635151789, 0.0375300944, 0.0490150824, 0.1846857667, 0.0434734374, -0.1836016178, 0.1054587811, -0.2515150607, -0.2000013739, -0.1759469211, 0.2301196903, -0.2421481013, 0.0548487157, -0.2659107745, 0.0627719611, -0.0416926146, 0.0269530844, -0.005927782, -0.0628840253, 0.0675144792, 0.3473338187, -0.1370735615, 0.3493901491, 0.2663169801, 0.03349353, -0.0034476253, -0.2782979906, -0.1931354105, -0.2683142722, 0.0700851008, -0.2921240628, 0.4918605983, -0.4018596709, -0.3019634485, -0.1804217845, 0.2724736333, 0.1233783066, -0.1268284917, -0.4767788649, 0.1658581197, -0.0587571412, 0.0838124454, 0.0044377646, 0.508733511, 0.059986867, 0.3379509747, -0.2266310304, -0.3412219286, 0.5358169079, -0.4137625992, -0.2617653012, -0.1319275051, -0.0639740229, 0.6073155403, -0.4836450815, -0.3043731153, -0.2037671804, 0.2719914615, -0.1200053543, -0.1490247399, 0.1555725485, -0.2652980089, 0.1745556146, -0.1892018616, -0.0870604515, 0.4393822849, -0.0882679075, 0.2773536742, -0.1299419552]} |
{"html_url": "https://github.com/huggingface/datasets/issues/2943", "title": "Backwards compatibility broken for cached datasets that use `.filter()`", "comments": "Well it can cause issue with anyone that updates `datasets` and re-run some code that uses filter, so I'm creating a PR", "body": "## Describe the bug\r\nAfter upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with \r\n`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}`\r\n\r\nRelated feature: https://github.com/huggingface/datasets/pull/2836\r\n\r\n:question: This is probably a `wontfix` bug, since it can be solved by simply cleaning the related cache dirs, but the workaround could be useful for someone googling the error :) \r\n\r\n## Workaround\r\nRemove the cache for the given dataset, e.g. `rm -rf ~/.cache/huggingface/datasets/librispeech_asr`.\r\n\r\n## Steps to reproduce the bug\r\n1. Delete `~/.cache/huggingface/datasets/librispeech_asr` if it exists.\r\n\r\n2. `pip install datasets==1.11.0` and run the following snippet:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nids = [\"1272-141231-0000\"]\r\nds = load_dataset(\"patrickvonplaten/librispeech_asr_dummy\", \"clean\", split=\"validation\")\r\nds = ds.filter(lambda x: x[\"id\"] in ids)\r\n```\r\n3. `pip install datasets==1.12.1` and re-run the code again\r\n\r\n## Expected results\r\nSame result as with the previous `datasets` version.\r\n\r\n## Actual results\r\n```bash\r\nReusing dataset librispeech_asr (./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1)\r\nLoading cached processed dataset at ./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1/cache-cd1c29844fdbc87a.arrow\r\nTraceback (most recent call last):\r\n File \"./repos/transformers/src/transformers/models/wav2vec2/try_dataset.py\", line 5, in <module>\r\n ds = ds.filter(lambda x: x[\"id\"] in ids)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 2169, in filter\r\n indices = self.map(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1686, in map\r\n return self._map_single(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1896, in _map_single\r\n return Dataset.from_file(cache_file_name, info=info, split=self.split)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 343, in from_file\r\n return cls(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 282, in __init__\r\n self.info.features = self.info.features.reorder_fields_as(inferred_features)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1151, in reorder_fields_as\r\n return Features(recursive_reorder(self, other))\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1140, in recursive_reorder\r\n raise ValueError(f\"Keys mismatch: between {source} and {target}\" + stack_position)\r\nValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.11.0-34-generic-x86_64-with-glibc2.17\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n", "comment_length": 22, "text": "Backwards compatibility broken for cached datasets that use `.filter()`\n## Describe the bug\r\nAfter upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with \r\n`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}`\r\n\r\nRelated feature: https://github.com/huggingface/datasets/pull/2836\r\n\r\n:question: This is probably a `wontfix` bug, since it can be solved by simply cleaning the related cache dirs, but the workaround could be useful for someone googling the error :) \r\n\r\n## Workaround\r\nRemove the cache for the given dataset, e.g. `rm -rf ~/.cache/huggingface/datasets/librispeech_asr`.\r\n\r\n## Steps to reproduce the bug\r\n1. Delete `~/.cache/huggingface/datasets/librispeech_asr` if it exists.\r\n\r\n2. `pip install datasets==1.11.0` and run the following snippet:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nids = [\"1272-141231-0000\"]\r\nds = load_dataset(\"patrickvonplaten/librispeech_asr_dummy\", \"clean\", split=\"validation\")\r\nds = ds.filter(lambda x: x[\"id\"] in ids)\r\n```\r\n3. `pip install datasets==1.12.1` and re-run the code again\r\n\r\n## Expected results\r\nSame result as with the previous `datasets` version.\r\n\r\n## Actual results\r\n```bash\r\nReusing dataset librispeech_asr (./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1)\r\nLoading cached processed dataset at ./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1/cache-cd1c29844fdbc87a.arrow\r\nTraceback (most recent call last):\r\n File \"./repos/transformers/src/transformers/models/wav2vec2/try_dataset.py\", line 5, in <module>\r\n ds = ds.filter(lambda x: x[\"id\"] in ids)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 2169, in filter\r\n indices = self.map(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1686, in map\r\n return self._map_single(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1896, in _map_single\r\n return Dataset.from_file(cache_file_name, info=info, split=self.split)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 343, in from_file\r\n return cls(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 282, in __init__\r\n self.info.features = self.info.features.reorder_fields_as(inferred_features)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1151, in reorder_fields_as\r\n return Features(recursive_reorder(self, other))\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1140, in recursive_reorder\r\n raise ValueError(f\"Keys mismatch: between {source} and {target}\" + stack_position)\r\nValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.11.0-34-generic-x86_64-with-glibc2.17\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n\nWell it can cause issue with anyone that updates `datasets` and re-run some code that uses filter, so I'm creating a PR", "embeddings": [-0.3049958348, 0.1243880838, -0.0465583764, 0.2368971109, 0.1517290324, -0.0666598156, -0.0069413707, 0.3285393715, 0.1737383604, 0.0293814819, -0.2313861847, 0.3581927419, -0.1503304988, 0.2527370155, -0.2977862358, -0.1378120482, 0.0444693454, 0.0321247876, -0.0614953265, 0.166412577, -0.1239175051, 0.4988580644, -0.1957765073, 0.0070795678, 0.2221652865, 0.0513210297, 0.1091236398, 0.138566196, 0.0798620358, -0.3392693698, 0.5981172919, 0.1064069718, -0.0348691642, 0.498096019, -0.0001213098, 0.099867776, 0.4398066998, -0.1073976383, -0.4579497874, -0.3686879575, -0.192854017, 0.1319934726, 0.2131137848, 0.0811629742, -0.0715122968, 0.1143416911, -0.303493619, -0.346046567, 0.2488765419, 0.1989328116, 0.2267285585, 0.2136144787, 0.2657418847, 0.066587165, 0.170179069, 0.0826525018, 0.0259718653, -0.0490864292, 0.2940285802, 0.014261202, 0.043685697, 0.4806104004, -0.3283523321, -0.2146463245, 0.3046185374, -0.2982533276, 0.1030709222, -0.3957037926, 0.2999309897, 0.0781370997, 0.1462642252, -0.255518198, -0.5773367882, -0.3483263254, -0.5121472478, -0.2868291736, 0.4164735079, -0.216358915, -0.2009968162, 0.2200830877, -0.3342647851, -0.0270038545, 0.0934983194, 0.0535101071, -0.0584819205, 0.2941842079, -0.1318320185, -0.0048626242, 0.0149830757, -0.132900551, 0.1924084276, -0.2750048339, -0.1968749017, 0.1725800484, -0.0155595224, -0.0546131916, 0.0954222009, 0.3323281705, 0.140570581, 0.0356287211, 0.0192098524, 0.0845401734, -0.0409641638, 0.0536773168, 0.1373275816, 0.475378722, 0.4901195765, 0.2467906624, 0.2727875113, 0.2854887545, -0.0078853024, -0.0013800253, 0.5281852484, -0.1666412055, 0.0747071281, 0.1517307162, 0.196695298, -0.4048683643, -0.3602132797, 0.1689626127, -0.0769995078, -0.1250401586, 0.2207264006, 0.0534940958, 0.1005648673, 0.2142349631, 0.1320811808, 0.0338568501, -0.1964725256, 0.0612344779, -0.1725096703, -0.1739457697, 0.0011616903, -0.1112991124, -0.0473052748, -0.89977777, 0.1747701168, 0.0482602492, 0.0063488153, 0.1058098748, -0.0697732121, 0.207434997, 0.1730166823, 0.5229284167, -0.2213587761, 0.0839003325, 0.1671907902, -0.548327744, -0.1386865377, 0.0125284484, -0.2415378094, -0.1112066656, 0.2085879147, 0.1735862345, -0.3296715915, 0.0126515068, -0.17029953, 0.4515431225, 0.2592140436, -0.5466870666, -0.0779574588, -0.213380143, -0.4382343888, -0.1997140199, 0.0971902013, 0.4131370485, -0.5942543149, -0.3216674924, 0.0216870401, 0.0319067985, 0.0399160981, -0.1229341999, -0.063439101, -0.2444722205, -0.1077689156, -0.1384182572, 0.3606542647, -0.3195546865, -0.733892858, 0.1537256837, 0.2360213548, 0.5342661738, -0.0709591061, -0.1374839246, 0.2813950479, -0.2578290701, 0.1459920853, 0.0848445743, -0.1649033576, -0.0079940017, -0.3409692049, -0.2346946597, 0.2238697708, -0.1502910852, 0.0904174298, 0.3348585963, 0.0790057704, -0.2542206049, 0.0502917804, 0.0350500681, 0.1049243882, 0.1990925223, 0.2453232259, 0.2237652242, 0.2863062918, -0.4365186989, -0.2801407278, 0.2506181598, 0.2141302824, -0.0600011088, -0.1524066925, -0.1982273012, -0.2678262889, -0.0884182155, -0.1589775681, -0.3044096231, 0.0788738504, 0.0225765873, 0.3843636513, -0.0385034606, -0.1145259663, 0.6218649745, 0.3084535897, 0.0944804996, -0.5049411654, 0.229641512, -0.0548514128, 0.0051691518, -0.0591857955, 0.0377827175, 0.2939595878, -0.0685256049, -0.2895757854, 0.407875061, 0.0392592028, 0.084168233, -0.0276337974, 0.1937460154, 0.1773459613, 0.2105839252, 0.0639338642, 0.2741822898, -0.0148837138, 0.2087214142, -0.195456177, 0.557248354, 0.0293753464, 0.3240505159, 0.1208347678, 0.148756206, 0.3702490628, 0.1305633932, -0.2189950645, -0.1370786875, 0.3204495311, -0.4587228, 0.0626674443, 0.0123394234, -0.1297932267, 0.3776263595, 0.0716826022, 0.0755119473, -0.0334524736, 0.3119212389, -0.1593657285, -0.042190969, 0.1813624054, 0.4024861157, 0.4014509916, 0.2088322341, 0.0507172868, 0.0758817792, -0.1615392268, -0.0248774402, 0.2082498521, 0.1293462515, -0.1696399748, 0.1535750628, 0.3034210205, 0.2732039392, -0.3061974645, 0.0933934823, -0.2356239706, 0.1195331365, -0.270581305, 0.3616366684, -0.2810101509, -0.2280866951, 0.076141715, -0.1678324938, -0.2615140676, -0.3875222206, 0.089899376, 0.3934392929, -0.086219281, 0.2567750216, 0.0147161586, 0.2445412278, 0.136167407, -0.1996820718, -0.4005717337, -0.2078815252, -0.3476482034, 0.0053976052, 0.2051323503, -0.1568491161, 0.2970358729, -0.0763099566, -0.2066247612, -0.390294075, -0.9079098701, -0.0486286655, -0.123964861, 0.6180298328, 0.3176228106, -0.0916265026, -0.1352719367, -0.2327560335, 0.1665794849, -0.0413150303, -0.4310828745, 0.1568385363, 0.0666227341, 0.1682221591, -0.2003851682, -0.2270279974, -0.1135412008, -0.1458190233, 0.0079398574, -0.1276904047, 0.0849654675, 0.3094039559, 0.1123534068, -0.3165157139, -0.0872011557, 0.1330857426, -0.3335401416, -0.0773374513, 0.0739419162, -0.054162316, -0.2302434891, -0.034139622, -0.0319806486, 0.0831893757, 0.3736632466, -0.4069587886, -0.3791774213, -0.2713731527, -0.0048744264, 0.2311773747, 0.068360962, 0.2319667786, 0.1899949759, 0.0391035639, -0.2794680893, -0.4342857301, -0.0886206329, -0.2365958691, 0.1095489264, 0.1482250243, 0.6309939027, 0.0345636867, 0.4764270186, 0.2947264612, 0.0489611253, 0.1398259848, 0.1815548688, 0.4972691238, -0.3258462548, -0.4095653892, -0.0467088632, -0.0461938493, 0.0505124666, -0.1531914324, 0.1795819253, -0.1120608747, -0.3487883806, 8.8976e-05, -0.2515632212, -0.2498103678, -0.2386271805, -0.0136443963, 0.2690052986, 0.3906219602, 0.1407706589, -0.3225954771, -0.1763848662, -0.0081372689, 0.4007481039, 0.1035773978, 0.2502198517, -0.1815419495, -0.0471423045, -0.4509257674, 0.492559284, 0.2151459008, 0.2648919821, -0.1177540421, -0.1629662067, -0.3294481337, -0.0492410697, 0.5928120017, -0.3631767035, 0.0443488397, 0.1019544229, -0.2081836015, -0.382881999, 0.0511292815, 0.0076627661, 0.3649113178, 0.0543546379, 0.3508075774, -0.0821149051, -0.0730158612, -0.0869157314, 0.2223753035, -0.1245945767, 0.0196017139, -0.2743616104, -0.2049434334, -0.143308565, 0.0314200111, -0.1528896391, 0.1650674194, -0.1800080687, -0.0685375854, -0.1131430715, -0.0563930348, 0.1153809577, 0.1347035617, 0.2945029438, -0.1000063792, 0.1187398955, 0.1441811323, 0.2405287623, 0.04236985, 0.458391726, -0.2755981982, -0.2780961096, -0.0670714304, 0.1208044589, -0.114640221, 0.3437377512, -0.2040164918, -0.0173406545, -0.0444572084, -0.1020425931, -0.0212400388, -0.1411033124, -0.001939329, 0.3703025281, -0.204925105, -0.2889373302, 0.2329640687, 0.2390516698, -0.2043491751, 0.436775893, 0.3422557414, -0.2809350789, 0.1687894613, -0.1999594271, 0.7136852741, 0.1521688104, -0.0298533011, 0.0877994671, -0.1695175022, 0.4524547458, 0.3125461042, 0.1559776068, -0.0667682663, -0.2370487005, -0.0655061752, -0.0347471349, 0.1580221951, -0.1110610664, -0.2036339194, 0.5631492734, -0.0592185557, -0.0353867561, 0.1755868793, -0.1173290387, -0.2023077309, 0.0190884974, -0.4372626245, 0.099125281, -0.0213232394, 0.2521654963, 0.0010581244, -0.0767222121, 0.0552208163, -0.3087654114, -0.2637814581, -0.0523921177, -0.3992073536, -0.0659277439, 0.2081235945, -0.433280319, 0.0089732604, 0.0526266396, 0.2566778362, -0.0081807002, -0.0373007692, -0.0075372811, 0.0702684447, 0.4977722168, 0.2345933914, 0.0250330679, 0.2863307297, 0.0890943483, 0.1867841035, 0.0195984095, -0.1420115829, -0.3608390987, -0.0186531637, 0.0038103643, 0.1180328727, -0.1588664055, 0.0288226064, -0.2428553104, 0.0213073175, -0.364861697, 0.0650937036, -0.0898337811, -0.0098389015, 0.0943212733, -0.0165627208, -0.226817742, -0.0053528175, 0.6357886791, -0.1438153237, -0.4367529452, 0.127720207, -0.0055662361, -0.2235843986, 0.0353587158, -0.2044414431, 0.0274193734, -0.2750842869, 0.2978782654, -0.2511248887, -0.1071279123, 0.2691295445, 0.3227922022, 0.1886078864, 0.2146122009, -0.1516674459, -0.3945676982, -0.1370823681, 0.2854580283, 0.0442744903, 0.0549807698, -0.0311486106, -0.3236714602, -0.1444216073, -0.2066645175, -0.2257885635, 0.0087526664, 0.3313151598, 0.0712086409, 0.1904872656, 0.2205638587, 0.1548970491, -0.1995647997, -0.0134116681, 0.0725863725, -0.203820318, -0.102092959, -0.093345888, 0.0935418084, -0.0911601558, -0.2648990452, -0.1546195447, -0.0057543651, 0.0614032373, -0.1646934003, 0.4182681739, 0.3214158118, -0.1182498485, -0.0536907464, -0.0327779986, 0.0472252741, 0.3035388887, 0.1383125186, 0.0185656752, 0.0326717421, 0.0427048579, 0.1994483471, -0.1875816137, 0.014096451, 0.082016468, 0.0423960686, -0.2510475516, 0.0270903334, 0.3569348454, -0.295296222, -0.0216397811, 0.5987740755, 0.3562681079, 0.2437597811, -0.1398067921, 0.1138302758, -0.0777392983, 0.1533572823, -0.2739046812, -0.3326784968, 0.205778718, 0.2732258439, 0.0609572381, 0.1860822588, -0.0021066871, 0.0291597173, 0.6171163917, 0.2176484168, 0.4478169084, -0.1253162473, 0.3508082032, 0.5271652937, 0.2326287627, 0.1843764484, 0.241720289, 0.0737254471, 0.0160929821, 0.5080396533, -0.0660088882, 0.2586891651, 0.2197473645, 0.1287705451, -0.0355183855, -0.4662743509, -0.1656748652, 0.0283220075, -0.0797490031, 0.2506761551, 0.1661577374, 0.0856602341, -0.2232845426, -0.3345984221, 0.0114881797, 0.024897946, -0.193626374, -0.2161095738, 0.1446396858, -0.3639173806, -0.0571490377, 0.013486567, -0.1208442077, 0.0703997388, 0.4529311359, -0.2469489723, -0.128362909, -0.4731904268, -0.3793772757, 0.0500456095, 0.1747638434, -0.0140105868, 0.4047631919, 0.258780688, -0.2298548669, 0.2219883502, 0.2503442466, 0.4856500924, 0.2468240112, 0.027692223, 0.0133466832, -0.1420494765, -0.0540064909, -0.0907230228, 0.3356420696, -0.0870835707, 0.0305686034, 0.1879348457, 0.1134100109, 0.0007339246, 0.2053903639, -0.0408540145, 0.3989400268, -0.4661819339, 0.0895344913, -0.2369527221, 0.2848792076, 0.0150147714, 0.1000138745, -0.2490254641, -0.1181152612, 0.171215117, 0.2318110913, 0.2039028108, -0.1064854339, 0.0748107806, 0.1348544508, 0.0739088506, 0.4687882364, -0.0930132717, -0.0892460048, -0.1464888304, -0.653509438, -0.0558623448, 0.1423008889, 0.1280672401, -0.0635151789, 0.0375300944, 0.0490150824, 0.1846857667, 0.0434734374, -0.1836016178, 0.1054587811, -0.2515150607, -0.2000013739, -0.1759469211, 0.2301196903, -0.2421481013, 0.0548487157, -0.2659107745, 0.0627719611, -0.0416926146, 0.0269530844, -0.005927782, -0.0628840253, 0.0675144792, 0.3473338187, -0.1370735615, 0.3493901491, 0.2663169801, 0.03349353, -0.0034476253, -0.2782979906, -0.1931354105, -0.2683142722, 0.0700851008, -0.2921240628, 0.4918605983, -0.4018596709, -0.3019634485, -0.1804217845, 0.2724736333, 0.1233783066, -0.1268284917, -0.4767788649, 0.1658581197, -0.0587571412, 0.0838124454, 0.0044377646, 0.508733511, 0.059986867, 0.3379509747, -0.2266310304, -0.3412219286, 0.5358169079, -0.4137625992, -0.2617653012, -0.1319275051, -0.0639740229, 0.6073155403, -0.4836450815, -0.3043731153, -0.2037671804, 0.2719914615, -0.1200053543, -0.1490247399, 0.1555725485, -0.2652980089, 0.1745556146, -0.1892018616, -0.0870604515, 0.4393822849, -0.0882679075, 0.2773536742, -0.1299419552]} |
{"html_url": "https://github.com/huggingface/datasets/issues/2943", "title": "Backwards compatibility broken for cached datasets that use `.filter()`", "comments": "I just merged a fix, let me know if you're still having this kind of issues :)\r\n\r\nWe'll do a release soon to make this fix available", "body": "## Describe the bug\r\nAfter upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with \r\n`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}`\r\n\r\nRelated feature: https://github.com/huggingface/datasets/pull/2836\r\n\r\n:question: This is probably a `wontfix` bug, since it can be solved by simply cleaning the related cache dirs, but the workaround could be useful for someone googling the error :) \r\n\r\n## Workaround\r\nRemove the cache for the given dataset, e.g. `rm -rf ~/.cache/huggingface/datasets/librispeech_asr`.\r\n\r\n## Steps to reproduce the bug\r\n1. Delete `~/.cache/huggingface/datasets/librispeech_asr` if it exists.\r\n\r\n2. `pip install datasets==1.11.0` and run the following snippet:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nids = [\"1272-141231-0000\"]\r\nds = load_dataset(\"patrickvonplaten/librispeech_asr_dummy\", \"clean\", split=\"validation\")\r\nds = ds.filter(lambda x: x[\"id\"] in ids)\r\n```\r\n3. `pip install datasets==1.12.1` and re-run the code again\r\n\r\n## Expected results\r\nSame result as with the previous `datasets` version.\r\n\r\n## Actual results\r\n```bash\r\nReusing dataset librispeech_asr (./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1)\r\nLoading cached processed dataset at ./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1/cache-cd1c29844fdbc87a.arrow\r\nTraceback (most recent call last):\r\n File \"./repos/transformers/src/transformers/models/wav2vec2/try_dataset.py\", line 5, in <module>\r\n ds = ds.filter(lambda x: x[\"id\"] in ids)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 2169, in filter\r\n indices = self.map(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1686, in map\r\n return self._map_single(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1896, in _map_single\r\n return Dataset.from_file(cache_file_name, info=info, split=self.split)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 343, in from_file\r\n return cls(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 282, in __init__\r\n self.info.features = self.info.features.reorder_fields_as(inferred_features)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1151, in reorder_fields_as\r\n return Features(recursive_reorder(self, other))\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1140, in recursive_reorder\r\n raise ValueError(f\"Keys mismatch: between {source} and {target}\" + stack_position)\r\nValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.11.0-34-generic-x86_64-with-glibc2.17\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n", "comment_length": 27, "text": "Backwards compatibility broken for cached datasets that use `.filter()`\n## Describe the bug\r\nAfter upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with \r\n`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}`\r\n\r\nRelated feature: https://github.com/huggingface/datasets/pull/2836\r\n\r\n:question: This is probably a `wontfix` bug, since it can be solved by simply cleaning the related cache dirs, but the workaround could be useful for someone googling the error :) \r\n\r\n## Workaround\r\nRemove the cache for the given dataset, e.g. `rm -rf ~/.cache/huggingface/datasets/librispeech_asr`.\r\n\r\n## Steps to reproduce the bug\r\n1. Delete `~/.cache/huggingface/datasets/librispeech_asr` if it exists.\r\n\r\n2. `pip install datasets==1.11.0` and run the following snippet:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nids = [\"1272-141231-0000\"]\r\nds = load_dataset(\"patrickvonplaten/librispeech_asr_dummy\", \"clean\", split=\"validation\")\r\nds = ds.filter(lambda x: x[\"id\"] in ids)\r\n```\r\n3. `pip install datasets==1.12.1` and re-run the code again\r\n\r\n## Expected results\r\nSame result as with the previous `datasets` version.\r\n\r\n## Actual results\r\n```bash\r\nReusing dataset librispeech_asr (./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1)\r\nLoading cached processed dataset at ./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1/cache-cd1c29844fdbc87a.arrow\r\nTraceback (most recent call last):\r\n File \"./repos/transformers/src/transformers/models/wav2vec2/try_dataset.py\", line 5, in <module>\r\n ds = ds.filter(lambda x: x[\"id\"] in ids)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 2169, in filter\r\n indices = self.map(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1686, in map\r\n return self._map_single(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1896, in _map_single\r\n return Dataset.from_file(cache_file_name, info=info, split=self.split)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 343, in from_file\r\n return cls(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 282, in __init__\r\n self.info.features = self.info.features.reorder_fields_as(inferred_features)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1151, in reorder_fields_as\r\n return Features(recursive_reorder(self, other))\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1140, in recursive_reorder\r\n raise ValueError(f\"Keys mismatch: between {source} and {target}\" + stack_position)\r\nValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.11.0-34-generic-x86_64-with-glibc2.17\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n\nI just merged a fix, let me know if you're still having this kind of issues :)\r\n\r\nWe'll do a release soon to make this fix available", "embeddings": [-0.3049958348, 0.1243880838, -0.0465583764, 0.2368971109, 0.1517290324, -0.0666598156, -0.0069413707, 0.3285393715, 0.1737383604, 0.0293814819, -0.2313861847, 0.3581927419, -0.1503304988, 0.2527370155, -0.2977862358, -0.1378120482, 0.0444693454, 0.0321247876, -0.0614953265, 0.166412577, -0.1239175051, 0.4988580644, -0.1957765073, 0.0070795678, 0.2221652865, 0.0513210297, 0.1091236398, 0.138566196, 0.0798620358, -0.3392693698, 0.5981172919, 0.1064069718, -0.0348691642, 0.498096019, -0.0001213098, 0.099867776, 0.4398066998, -0.1073976383, -0.4579497874, -0.3686879575, -0.192854017, 0.1319934726, 0.2131137848, 0.0811629742, -0.0715122968, 0.1143416911, -0.303493619, -0.346046567, 0.2488765419, 0.1989328116, 0.2267285585, 0.2136144787, 0.2657418847, 0.066587165, 0.170179069, 0.0826525018, 0.0259718653, -0.0490864292, 0.2940285802, 0.014261202, 0.043685697, 0.4806104004, -0.3283523321, -0.2146463245, 0.3046185374, -0.2982533276, 0.1030709222, -0.3957037926, 0.2999309897, 0.0781370997, 0.1462642252, -0.255518198, -0.5773367882, -0.3483263254, -0.5121472478, -0.2868291736, 0.4164735079, -0.216358915, -0.2009968162, 0.2200830877, -0.3342647851, -0.0270038545, 0.0934983194, 0.0535101071, -0.0584819205, 0.2941842079, -0.1318320185, -0.0048626242, 0.0149830757, -0.132900551, 0.1924084276, -0.2750048339, -0.1968749017, 0.1725800484, -0.0155595224, -0.0546131916, 0.0954222009, 0.3323281705, 0.140570581, 0.0356287211, 0.0192098524, 0.0845401734, -0.0409641638, 0.0536773168, 0.1373275816, 0.475378722, 0.4901195765, 0.2467906624, 0.2727875113, 0.2854887545, -0.0078853024, -0.0013800253, 0.5281852484, -0.1666412055, 0.0747071281, 0.1517307162, 0.196695298, -0.4048683643, -0.3602132797, 0.1689626127, -0.0769995078, -0.1250401586, 0.2207264006, 0.0534940958, 0.1005648673, 0.2142349631, 0.1320811808, 0.0338568501, -0.1964725256, 0.0612344779, -0.1725096703, -0.1739457697, 0.0011616903, -0.1112991124, -0.0473052748, -0.89977777, 0.1747701168, 0.0482602492, 0.0063488153, 0.1058098748, -0.0697732121, 0.207434997, 0.1730166823, 0.5229284167, -0.2213587761, 0.0839003325, 0.1671907902, -0.548327744, -0.1386865377, 0.0125284484, -0.2415378094, -0.1112066656, 0.2085879147, 0.1735862345, -0.3296715915, 0.0126515068, -0.17029953, 0.4515431225, 0.2592140436, -0.5466870666, -0.0779574588, -0.213380143, -0.4382343888, -0.1997140199, 0.0971902013, 0.4131370485, -0.5942543149, -0.3216674924, 0.0216870401, 0.0319067985, 0.0399160981, -0.1229341999, -0.063439101, -0.2444722205, -0.1077689156, -0.1384182572, 0.3606542647, -0.3195546865, -0.733892858, 0.1537256837, 0.2360213548, 0.5342661738, -0.0709591061, -0.1374839246, 0.2813950479, -0.2578290701, 0.1459920853, 0.0848445743, -0.1649033576, -0.0079940017, -0.3409692049, -0.2346946597, 0.2238697708, -0.1502910852, 0.0904174298, 0.3348585963, 0.0790057704, -0.2542206049, 0.0502917804, 0.0350500681, 0.1049243882, 0.1990925223, 0.2453232259, 0.2237652242, 0.2863062918, -0.4365186989, -0.2801407278, 0.2506181598, 0.2141302824, -0.0600011088, -0.1524066925, -0.1982273012, -0.2678262889, -0.0884182155, -0.1589775681, -0.3044096231, 0.0788738504, 0.0225765873, 0.3843636513, -0.0385034606, -0.1145259663, 0.6218649745, 0.3084535897, 0.0944804996, -0.5049411654, 0.229641512, -0.0548514128, 0.0051691518, -0.0591857955, 0.0377827175, 0.2939595878, -0.0685256049, -0.2895757854, 0.407875061, 0.0392592028, 0.084168233, -0.0276337974, 0.1937460154, 0.1773459613, 0.2105839252, 0.0639338642, 0.2741822898, -0.0148837138, 0.2087214142, -0.195456177, 0.557248354, 0.0293753464, 0.3240505159, 0.1208347678, 0.148756206, 0.3702490628, 0.1305633932, -0.2189950645, -0.1370786875, 0.3204495311, -0.4587228, 0.0626674443, 0.0123394234, -0.1297932267, 0.3776263595, 0.0716826022, 0.0755119473, -0.0334524736, 0.3119212389, -0.1593657285, -0.042190969, 0.1813624054, 0.4024861157, 0.4014509916, 0.2088322341, 0.0507172868, 0.0758817792, -0.1615392268, -0.0248774402, 0.2082498521, 0.1293462515, -0.1696399748, 0.1535750628, 0.3034210205, 0.2732039392, -0.3061974645, 0.0933934823, -0.2356239706, 0.1195331365, -0.270581305, 0.3616366684, -0.2810101509, -0.2280866951, 0.076141715, -0.1678324938, -0.2615140676, -0.3875222206, 0.089899376, 0.3934392929, -0.086219281, 0.2567750216, 0.0147161586, 0.2445412278, 0.136167407, -0.1996820718, -0.4005717337, -0.2078815252, -0.3476482034, 0.0053976052, 0.2051323503, -0.1568491161, 0.2970358729, -0.0763099566, -0.2066247612, -0.390294075, -0.9079098701, -0.0486286655, -0.123964861, 0.6180298328, 0.3176228106, -0.0916265026, -0.1352719367, -0.2327560335, 0.1665794849, -0.0413150303, -0.4310828745, 0.1568385363, 0.0666227341, 0.1682221591, -0.2003851682, -0.2270279974, -0.1135412008, -0.1458190233, 0.0079398574, -0.1276904047, 0.0849654675, 0.3094039559, 0.1123534068, -0.3165157139, -0.0872011557, 0.1330857426, -0.3335401416, -0.0773374513, 0.0739419162, -0.054162316, -0.2302434891, -0.034139622, -0.0319806486, 0.0831893757, 0.3736632466, -0.4069587886, -0.3791774213, -0.2713731527, -0.0048744264, 0.2311773747, 0.068360962, 0.2319667786, 0.1899949759, 0.0391035639, -0.2794680893, -0.4342857301, -0.0886206329, -0.2365958691, 0.1095489264, 0.1482250243, 0.6309939027, 0.0345636867, 0.4764270186, 0.2947264612, 0.0489611253, 0.1398259848, 0.1815548688, 0.4972691238, -0.3258462548, -0.4095653892, -0.0467088632, -0.0461938493, 0.0505124666, -0.1531914324, 0.1795819253, -0.1120608747, -0.3487883806, 8.8976e-05, -0.2515632212, -0.2498103678, -0.2386271805, -0.0136443963, 0.2690052986, 0.3906219602, 0.1407706589, -0.3225954771, -0.1763848662, -0.0081372689, 0.4007481039, 0.1035773978, 0.2502198517, -0.1815419495, -0.0471423045, -0.4509257674, 0.492559284, 0.2151459008, 0.2648919821, -0.1177540421, -0.1629662067, -0.3294481337, -0.0492410697, 0.5928120017, -0.3631767035, 0.0443488397, 0.1019544229, -0.2081836015, -0.382881999, 0.0511292815, 0.0076627661, 0.3649113178, 0.0543546379, 0.3508075774, -0.0821149051, -0.0730158612, -0.0869157314, 0.2223753035, -0.1245945767, 0.0196017139, -0.2743616104, -0.2049434334, -0.143308565, 0.0314200111, -0.1528896391, 0.1650674194, -0.1800080687, -0.0685375854, -0.1131430715, -0.0563930348, 0.1153809577, 0.1347035617, 0.2945029438, -0.1000063792, 0.1187398955, 0.1441811323, 0.2405287623, 0.04236985, 0.458391726, -0.2755981982, -0.2780961096, -0.0670714304, 0.1208044589, -0.114640221, 0.3437377512, -0.2040164918, -0.0173406545, -0.0444572084, -0.1020425931, -0.0212400388, -0.1411033124, -0.001939329, 0.3703025281, -0.204925105, -0.2889373302, 0.2329640687, 0.2390516698, -0.2043491751, 0.436775893, 0.3422557414, -0.2809350789, 0.1687894613, -0.1999594271, 0.7136852741, 0.1521688104, -0.0298533011, 0.0877994671, -0.1695175022, 0.4524547458, 0.3125461042, 0.1559776068, -0.0667682663, -0.2370487005, -0.0655061752, -0.0347471349, 0.1580221951, -0.1110610664, -0.2036339194, 0.5631492734, -0.0592185557, -0.0353867561, 0.1755868793, -0.1173290387, -0.2023077309, 0.0190884974, -0.4372626245, 0.099125281, -0.0213232394, 0.2521654963, 0.0010581244, -0.0767222121, 0.0552208163, -0.3087654114, -0.2637814581, -0.0523921177, -0.3992073536, -0.0659277439, 0.2081235945, -0.433280319, 0.0089732604, 0.0526266396, 0.2566778362, -0.0081807002, -0.0373007692, -0.0075372811, 0.0702684447, 0.4977722168, 0.2345933914, 0.0250330679, 0.2863307297, 0.0890943483, 0.1867841035, 0.0195984095, -0.1420115829, -0.3608390987, -0.0186531637, 0.0038103643, 0.1180328727, -0.1588664055, 0.0288226064, -0.2428553104, 0.0213073175, -0.364861697, 0.0650937036, -0.0898337811, -0.0098389015, 0.0943212733, -0.0165627208, -0.226817742, -0.0053528175, 0.6357886791, -0.1438153237, -0.4367529452, 0.127720207, -0.0055662361, -0.2235843986, 0.0353587158, -0.2044414431, 0.0274193734, -0.2750842869, 0.2978782654, -0.2511248887, -0.1071279123, 0.2691295445, 0.3227922022, 0.1886078864, 0.2146122009, -0.1516674459, -0.3945676982, -0.1370823681, 0.2854580283, 0.0442744903, 0.0549807698, -0.0311486106, -0.3236714602, -0.1444216073, -0.2066645175, -0.2257885635, 0.0087526664, 0.3313151598, 0.0712086409, 0.1904872656, 0.2205638587, 0.1548970491, -0.1995647997, -0.0134116681, 0.0725863725, -0.203820318, -0.102092959, -0.093345888, 0.0935418084, -0.0911601558, -0.2648990452, -0.1546195447, -0.0057543651, 0.0614032373, -0.1646934003, 0.4182681739, 0.3214158118, -0.1182498485, -0.0536907464, -0.0327779986, 0.0472252741, 0.3035388887, 0.1383125186, 0.0185656752, 0.0326717421, 0.0427048579, 0.1994483471, -0.1875816137, 0.014096451, 0.082016468, 0.0423960686, -0.2510475516, 0.0270903334, 0.3569348454, -0.295296222, -0.0216397811, 0.5987740755, 0.3562681079, 0.2437597811, -0.1398067921, 0.1138302758, -0.0777392983, 0.1533572823, -0.2739046812, -0.3326784968, 0.205778718, 0.2732258439, 0.0609572381, 0.1860822588, -0.0021066871, 0.0291597173, 0.6171163917, 0.2176484168, 0.4478169084, -0.1253162473, 0.3508082032, 0.5271652937, 0.2326287627, 0.1843764484, 0.241720289, 0.0737254471, 0.0160929821, 0.5080396533, -0.0660088882, 0.2586891651, 0.2197473645, 0.1287705451, -0.0355183855, -0.4662743509, -0.1656748652, 0.0283220075, -0.0797490031, 0.2506761551, 0.1661577374, 0.0856602341, -0.2232845426, -0.3345984221, 0.0114881797, 0.024897946, -0.193626374, -0.2161095738, 0.1446396858, -0.3639173806, -0.0571490377, 0.013486567, -0.1208442077, 0.0703997388, 0.4529311359, -0.2469489723, -0.128362909, -0.4731904268, -0.3793772757, 0.0500456095, 0.1747638434, -0.0140105868, 0.4047631919, 0.258780688, -0.2298548669, 0.2219883502, 0.2503442466, 0.4856500924, 0.2468240112, 0.027692223, 0.0133466832, -0.1420494765, -0.0540064909, -0.0907230228, 0.3356420696, -0.0870835707, 0.0305686034, 0.1879348457, 0.1134100109, 0.0007339246, 0.2053903639, -0.0408540145, 0.3989400268, -0.4661819339, 0.0895344913, -0.2369527221, 0.2848792076, 0.0150147714, 0.1000138745, -0.2490254641, -0.1181152612, 0.171215117, 0.2318110913, 0.2039028108, -0.1064854339, 0.0748107806, 0.1348544508, 0.0739088506, 0.4687882364, -0.0930132717, -0.0892460048, -0.1464888304, -0.653509438, -0.0558623448, 0.1423008889, 0.1280672401, -0.0635151789, 0.0375300944, 0.0490150824, 0.1846857667, 0.0434734374, -0.1836016178, 0.1054587811, -0.2515150607, -0.2000013739, -0.1759469211, 0.2301196903, -0.2421481013, 0.0548487157, -0.2659107745, 0.0627719611, -0.0416926146, 0.0269530844, -0.005927782, -0.0628840253, 0.0675144792, 0.3473338187, -0.1370735615, 0.3493901491, 0.2663169801, 0.03349353, -0.0034476253, -0.2782979906, -0.1931354105, -0.2683142722, 0.0700851008, -0.2921240628, 0.4918605983, -0.4018596709, -0.3019634485, -0.1804217845, 0.2724736333, 0.1233783066, -0.1268284917, -0.4767788649, 0.1658581197, -0.0587571412, 0.0838124454, 0.0044377646, 0.508733511, 0.059986867, 0.3379509747, -0.2266310304, -0.3412219286, 0.5358169079, -0.4137625992, -0.2617653012, -0.1319275051, -0.0639740229, 0.6073155403, -0.4836450815, -0.3043731153, -0.2037671804, 0.2719914615, -0.1200053543, -0.1490247399, 0.1555725485, -0.2652980089, 0.1745556146, -0.1892018616, -0.0870604515, 0.4393822849, -0.0882679075, 0.2773536742, -0.1299419552]} |
{"html_url": "https://github.com/huggingface/datasets/issues/2943", "title": "Backwards compatibility broken for cached datasets that use `.filter()`", "comments": "Definitely works on several manual cases with our dummy datasets, thank you @lhoestq !", "body": "## Describe the bug\r\nAfter upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with \r\n`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}`\r\n\r\nRelated feature: https://github.com/huggingface/datasets/pull/2836\r\n\r\n:question: This is probably a `wontfix` bug, since it can be solved by simply cleaning the related cache dirs, but the workaround could be useful for someone googling the error :) \r\n\r\n## Workaround\r\nRemove the cache for the given dataset, e.g. `rm -rf ~/.cache/huggingface/datasets/librispeech_asr`.\r\n\r\n## Steps to reproduce the bug\r\n1. Delete `~/.cache/huggingface/datasets/librispeech_asr` if it exists.\r\n\r\n2. `pip install datasets==1.11.0` and run the following snippet:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nids = [\"1272-141231-0000\"]\r\nds = load_dataset(\"patrickvonplaten/librispeech_asr_dummy\", \"clean\", split=\"validation\")\r\nds = ds.filter(lambda x: x[\"id\"] in ids)\r\n```\r\n3. `pip install datasets==1.12.1` and re-run the code again\r\n\r\n## Expected results\r\nSame result as with the previous `datasets` version.\r\n\r\n## Actual results\r\n```bash\r\nReusing dataset librispeech_asr (./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1)\r\nLoading cached processed dataset at ./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1/cache-cd1c29844fdbc87a.arrow\r\nTraceback (most recent call last):\r\n File \"./repos/transformers/src/transformers/models/wav2vec2/try_dataset.py\", line 5, in <module>\r\n ds = ds.filter(lambda x: x[\"id\"] in ids)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 2169, in filter\r\n indices = self.map(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1686, in map\r\n return self._map_single(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1896, in _map_single\r\n return Dataset.from_file(cache_file_name, info=info, split=self.split)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 343, in from_file\r\n return cls(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 282, in __init__\r\n self.info.features = self.info.features.reorder_fields_as(inferred_features)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1151, in reorder_fields_as\r\n return Features(recursive_reorder(self, other))\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1140, in recursive_reorder\r\n raise ValueError(f\"Keys mismatch: between {source} and {target}\" + stack_position)\r\nValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.11.0-34-generic-x86_64-with-glibc2.17\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n", "comment_length": 14, "text": "Backwards compatibility broken for cached datasets that use `.filter()`\n## Describe the bug\r\nAfter upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with \r\n`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}`\r\n\r\nRelated feature: https://github.com/huggingface/datasets/pull/2836\r\n\r\n:question: This is probably a `wontfix` bug, since it can be solved by simply cleaning the related cache dirs, but the workaround could be useful for someone googling the error :) \r\n\r\n## Workaround\r\nRemove the cache for the given dataset, e.g. `rm -rf ~/.cache/huggingface/datasets/librispeech_asr`.\r\n\r\n## Steps to reproduce the bug\r\n1. Delete `~/.cache/huggingface/datasets/librispeech_asr` if it exists.\r\n\r\n2. `pip install datasets==1.11.0` and run the following snippet:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nids = [\"1272-141231-0000\"]\r\nds = load_dataset(\"patrickvonplaten/librispeech_asr_dummy\", \"clean\", split=\"validation\")\r\nds = ds.filter(lambda x: x[\"id\"] in ids)\r\n```\r\n3. `pip install datasets==1.12.1` and re-run the code again\r\n\r\n## Expected results\r\nSame result as with the previous `datasets` version.\r\n\r\n## Actual results\r\n```bash\r\nReusing dataset librispeech_asr (./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1)\r\nLoading cached processed dataset at ./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1/cache-cd1c29844fdbc87a.arrow\r\nTraceback (most recent call last):\r\n File \"./repos/transformers/src/transformers/models/wav2vec2/try_dataset.py\", line 5, in <module>\r\n ds = ds.filter(lambda x: x[\"id\"] in ids)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 2169, in filter\r\n indices = self.map(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1686, in map\r\n return self._map_single(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1896, in _map_single\r\n return Dataset.from_file(cache_file_name, info=info, split=self.split)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 343, in from_file\r\n return cls(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 282, in __init__\r\n self.info.features = self.info.features.reorder_fields_as(inferred_features)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1151, in reorder_fields_as\r\n return Features(recursive_reorder(self, other))\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1140, in recursive_reorder\r\n raise ValueError(f\"Keys mismatch: between {source} and {target}\" + stack_position)\r\nValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.11.0-34-generic-x86_64-with-glibc2.17\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n\nDefinitely works on several manual cases with our dummy datasets, thank you @lhoestq !", "embeddings": [-0.3049958348, 0.1243880838, -0.0465583764, 0.2368971109, 0.1517290324, -0.0666598156, -0.0069413707, 0.3285393715, 0.1737383604, 0.0293814819, -0.2313861847, 0.3581927419, -0.1503304988, 0.2527370155, -0.2977862358, -0.1378120482, 0.0444693454, 0.0321247876, -0.0614953265, 0.166412577, -0.1239175051, 0.4988580644, -0.1957765073, 0.0070795678, 0.2221652865, 0.0513210297, 0.1091236398, 0.138566196, 0.0798620358, -0.3392693698, 0.5981172919, 0.1064069718, -0.0348691642, 0.498096019, -0.0001213098, 0.099867776, 0.4398066998, -0.1073976383, -0.4579497874, -0.3686879575, -0.192854017, 0.1319934726, 0.2131137848, 0.0811629742, -0.0715122968, 0.1143416911, -0.303493619, -0.346046567, 0.2488765419, 0.1989328116, 0.2267285585, 0.2136144787, 0.2657418847, 0.066587165, 0.170179069, 0.0826525018, 0.0259718653, -0.0490864292, 0.2940285802, 0.014261202, 0.043685697, 0.4806104004, -0.3283523321, -0.2146463245, 0.3046185374, -0.2982533276, 0.1030709222, -0.3957037926, 0.2999309897, 0.0781370997, 0.1462642252, -0.255518198, -0.5773367882, -0.3483263254, -0.5121472478, -0.2868291736, 0.4164735079, -0.216358915, -0.2009968162, 0.2200830877, -0.3342647851, -0.0270038545, 0.0934983194, 0.0535101071, -0.0584819205, 0.2941842079, -0.1318320185, -0.0048626242, 0.0149830757, -0.132900551, 0.1924084276, -0.2750048339, -0.1968749017, 0.1725800484, -0.0155595224, -0.0546131916, 0.0954222009, 0.3323281705, 0.140570581, 0.0356287211, 0.0192098524, 0.0845401734, -0.0409641638, 0.0536773168, 0.1373275816, 0.475378722, 0.4901195765, 0.2467906624, 0.2727875113, 0.2854887545, -0.0078853024, -0.0013800253, 0.5281852484, -0.1666412055, 0.0747071281, 0.1517307162, 0.196695298, -0.4048683643, -0.3602132797, 0.1689626127, -0.0769995078, -0.1250401586, 0.2207264006, 0.0534940958, 0.1005648673, 0.2142349631, 0.1320811808, 0.0338568501, -0.1964725256, 0.0612344779, -0.1725096703, -0.1739457697, 0.0011616903, -0.1112991124, -0.0473052748, -0.89977777, 0.1747701168, 0.0482602492, 0.0063488153, 0.1058098748, -0.0697732121, 0.207434997, 0.1730166823, 0.5229284167, -0.2213587761, 0.0839003325, 0.1671907902, -0.548327744, -0.1386865377, 0.0125284484, -0.2415378094, -0.1112066656, 0.2085879147, 0.1735862345, -0.3296715915, 0.0126515068, -0.17029953, 0.4515431225, 0.2592140436, -0.5466870666, -0.0779574588, -0.213380143, -0.4382343888, -0.1997140199, 0.0971902013, 0.4131370485, -0.5942543149, -0.3216674924, 0.0216870401, 0.0319067985, 0.0399160981, -0.1229341999, -0.063439101, -0.2444722205, -0.1077689156, -0.1384182572, 0.3606542647, -0.3195546865, -0.733892858, 0.1537256837, 0.2360213548, 0.5342661738, -0.0709591061, -0.1374839246, 0.2813950479, -0.2578290701, 0.1459920853, 0.0848445743, -0.1649033576, -0.0079940017, -0.3409692049, -0.2346946597, 0.2238697708, -0.1502910852, 0.0904174298, 0.3348585963, 0.0790057704, -0.2542206049, 0.0502917804, 0.0350500681, 0.1049243882, 0.1990925223, 0.2453232259, 0.2237652242, 0.2863062918, -0.4365186989, -0.2801407278, 0.2506181598, 0.2141302824, -0.0600011088, -0.1524066925, -0.1982273012, -0.2678262889, -0.0884182155, -0.1589775681, -0.3044096231, 0.0788738504, 0.0225765873, 0.3843636513, -0.0385034606, -0.1145259663, 0.6218649745, 0.3084535897, 0.0944804996, -0.5049411654, 0.229641512, -0.0548514128, 0.0051691518, -0.0591857955, 0.0377827175, 0.2939595878, -0.0685256049, -0.2895757854, 0.407875061, 0.0392592028, 0.084168233, -0.0276337974, 0.1937460154, 0.1773459613, 0.2105839252, 0.0639338642, 0.2741822898, -0.0148837138, 0.2087214142, -0.195456177, 0.557248354, 0.0293753464, 0.3240505159, 0.1208347678, 0.148756206, 0.3702490628, 0.1305633932, -0.2189950645, -0.1370786875, 0.3204495311, -0.4587228, 0.0626674443, 0.0123394234, -0.1297932267, 0.3776263595, 0.0716826022, 0.0755119473, -0.0334524736, 0.3119212389, -0.1593657285, -0.042190969, 0.1813624054, 0.4024861157, 0.4014509916, 0.2088322341, 0.0507172868, 0.0758817792, -0.1615392268, -0.0248774402, 0.2082498521, 0.1293462515, -0.1696399748, 0.1535750628, 0.3034210205, 0.2732039392, -0.3061974645, 0.0933934823, -0.2356239706, 0.1195331365, -0.270581305, 0.3616366684, -0.2810101509, -0.2280866951, 0.076141715, -0.1678324938, -0.2615140676, -0.3875222206, 0.089899376, 0.3934392929, -0.086219281, 0.2567750216, 0.0147161586, 0.2445412278, 0.136167407, -0.1996820718, -0.4005717337, -0.2078815252, -0.3476482034, 0.0053976052, 0.2051323503, -0.1568491161, 0.2970358729, -0.0763099566, -0.2066247612, -0.390294075, -0.9079098701, -0.0486286655, -0.123964861, 0.6180298328, 0.3176228106, -0.0916265026, -0.1352719367, -0.2327560335, 0.1665794849, -0.0413150303, -0.4310828745, 0.1568385363, 0.0666227341, 0.1682221591, -0.2003851682, -0.2270279974, -0.1135412008, -0.1458190233, 0.0079398574, -0.1276904047, 0.0849654675, 0.3094039559, 0.1123534068, -0.3165157139, -0.0872011557, 0.1330857426, -0.3335401416, -0.0773374513, 0.0739419162, -0.054162316, -0.2302434891, -0.034139622, -0.0319806486, 0.0831893757, 0.3736632466, -0.4069587886, -0.3791774213, -0.2713731527, -0.0048744264, 0.2311773747, 0.068360962, 0.2319667786, 0.1899949759, 0.0391035639, -0.2794680893, -0.4342857301, -0.0886206329, -0.2365958691, 0.1095489264, 0.1482250243, 0.6309939027, 0.0345636867, 0.4764270186, 0.2947264612, 0.0489611253, 0.1398259848, 0.1815548688, 0.4972691238, -0.3258462548, -0.4095653892, -0.0467088632, -0.0461938493, 0.0505124666, -0.1531914324, 0.1795819253, -0.1120608747, -0.3487883806, 8.8976e-05, -0.2515632212, -0.2498103678, -0.2386271805, -0.0136443963, 0.2690052986, 0.3906219602, 0.1407706589, -0.3225954771, -0.1763848662, -0.0081372689, 0.4007481039, 0.1035773978, 0.2502198517, -0.1815419495, -0.0471423045, -0.4509257674, 0.492559284, 0.2151459008, 0.2648919821, -0.1177540421, -0.1629662067, -0.3294481337, -0.0492410697, 0.5928120017, -0.3631767035, 0.0443488397, 0.1019544229, -0.2081836015, -0.382881999, 0.0511292815, 0.0076627661, 0.3649113178, 0.0543546379, 0.3508075774, -0.0821149051, -0.0730158612, -0.0869157314, 0.2223753035, -0.1245945767, 0.0196017139, -0.2743616104, -0.2049434334, -0.143308565, 0.0314200111, -0.1528896391, 0.1650674194, -0.1800080687, -0.0685375854, -0.1131430715, -0.0563930348, 0.1153809577, 0.1347035617, 0.2945029438, -0.1000063792, 0.1187398955, 0.1441811323, 0.2405287623, 0.04236985, 0.458391726, -0.2755981982, -0.2780961096, -0.0670714304, 0.1208044589, -0.114640221, 0.3437377512, -0.2040164918, -0.0173406545, -0.0444572084, -0.1020425931, -0.0212400388, -0.1411033124, -0.001939329, 0.3703025281, -0.204925105, -0.2889373302, 0.2329640687, 0.2390516698, -0.2043491751, 0.436775893, 0.3422557414, -0.2809350789, 0.1687894613, -0.1999594271, 0.7136852741, 0.1521688104, -0.0298533011, 0.0877994671, -0.1695175022, 0.4524547458, 0.3125461042, 0.1559776068, -0.0667682663, -0.2370487005, -0.0655061752, -0.0347471349, 0.1580221951, -0.1110610664, -0.2036339194, 0.5631492734, -0.0592185557, -0.0353867561, 0.1755868793, -0.1173290387, -0.2023077309, 0.0190884974, -0.4372626245, 0.099125281, -0.0213232394, 0.2521654963, 0.0010581244, -0.0767222121, 0.0552208163, -0.3087654114, -0.2637814581, -0.0523921177, -0.3992073536, -0.0659277439, 0.2081235945, -0.433280319, 0.0089732604, 0.0526266396, 0.2566778362, -0.0081807002, -0.0373007692, -0.0075372811, 0.0702684447, 0.4977722168, 0.2345933914, 0.0250330679, 0.2863307297, 0.0890943483, 0.1867841035, 0.0195984095, -0.1420115829, -0.3608390987, -0.0186531637, 0.0038103643, 0.1180328727, -0.1588664055, 0.0288226064, -0.2428553104, 0.0213073175, -0.364861697, 0.0650937036, -0.0898337811, -0.0098389015, 0.0943212733, -0.0165627208, -0.226817742, -0.0053528175, 0.6357886791, -0.1438153237, -0.4367529452, 0.127720207, -0.0055662361, -0.2235843986, 0.0353587158, -0.2044414431, 0.0274193734, -0.2750842869, 0.2978782654, -0.2511248887, -0.1071279123, 0.2691295445, 0.3227922022, 0.1886078864, 0.2146122009, -0.1516674459, -0.3945676982, -0.1370823681, 0.2854580283, 0.0442744903, 0.0549807698, -0.0311486106, -0.3236714602, -0.1444216073, -0.2066645175, -0.2257885635, 0.0087526664, 0.3313151598, 0.0712086409, 0.1904872656, 0.2205638587, 0.1548970491, -0.1995647997, -0.0134116681, 0.0725863725, -0.203820318, -0.102092959, -0.093345888, 0.0935418084, -0.0911601558, -0.2648990452, -0.1546195447, -0.0057543651, 0.0614032373, -0.1646934003, 0.4182681739, 0.3214158118, -0.1182498485, -0.0536907464, -0.0327779986, 0.0472252741, 0.3035388887, 0.1383125186, 0.0185656752, 0.0326717421, 0.0427048579, 0.1994483471, -0.1875816137, 0.014096451, 0.082016468, 0.0423960686, -0.2510475516, 0.0270903334, 0.3569348454, -0.295296222, -0.0216397811, 0.5987740755, 0.3562681079, 0.2437597811, -0.1398067921, 0.1138302758, -0.0777392983, 0.1533572823, -0.2739046812, -0.3326784968, 0.205778718, 0.2732258439, 0.0609572381, 0.1860822588, -0.0021066871, 0.0291597173, 0.6171163917, 0.2176484168, 0.4478169084, -0.1253162473, 0.3508082032, 0.5271652937, 0.2326287627, 0.1843764484, 0.241720289, 0.0737254471, 0.0160929821, 0.5080396533, -0.0660088882, 0.2586891651, 0.2197473645, 0.1287705451, -0.0355183855, -0.4662743509, -0.1656748652, 0.0283220075, -0.0797490031, 0.2506761551, 0.1661577374, 0.0856602341, -0.2232845426, -0.3345984221, 0.0114881797, 0.024897946, -0.193626374, -0.2161095738, 0.1446396858, -0.3639173806, -0.0571490377, 0.013486567, -0.1208442077, 0.0703997388, 0.4529311359, -0.2469489723, -0.128362909, -0.4731904268, -0.3793772757, 0.0500456095, 0.1747638434, -0.0140105868, 0.4047631919, 0.258780688, -0.2298548669, 0.2219883502, 0.2503442466, 0.4856500924, 0.2468240112, 0.027692223, 0.0133466832, -0.1420494765, -0.0540064909, -0.0907230228, 0.3356420696, -0.0870835707, 0.0305686034, 0.1879348457, 0.1134100109, 0.0007339246, 0.2053903639, -0.0408540145, 0.3989400268, -0.4661819339, 0.0895344913, -0.2369527221, 0.2848792076, 0.0150147714, 0.1000138745, -0.2490254641, -0.1181152612, 0.171215117, 0.2318110913, 0.2039028108, -0.1064854339, 0.0748107806, 0.1348544508, 0.0739088506, 0.4687882364, -0.0930132717, -0.0892460048, -0.1464888304, -0.653509438, -0.0558623448, 0.1423008889, 0.1280672401, -0.0635151789, 0.0375300944, 0.0490150824, 0.1846857667, 0.0434734374, -0.1836016178, 0.1054587811, -0.2515150607, -0.2000013739, -0.1759469211, 0.2301196903, -0.2421481013, 0.0548487157, -0.2659107745, 0.0627719611, -0.0416926146, 0.0269530844, -0.005927782, -0.0628840253, 0.0675144792, 0.3473338187, -0.1370735615, 0.3493901491, 0.2663169801, 0.03349353, -0.0034476253, -0.2782979906, -0.1931354105, -0.2683142722, 0.0700851008, -0.2921240628, 0.4918605983, -0.4018596709, -0.3019634485, -0.1804217845, 0.2724736333, 0.1233783066, -0.1268284917, -0.4767788649, 0.1658581197, -0.0587571412, 0.0838124454, 0.0044377646, 0.508733511, 0.059986867, 0.3379509747, -0.2266310304, -0.3412219286, 0.5358169079, -0.4137625992, -0.2617653012, -0.1319275051, -0.0639740229, 0.6073155403, -0.4836450815, -0.3043731153, -0.2037671804, 0.2719914615, -0.1200053543, -0.1490247399, 0.1555725485, -0.2652980089, 0.1745556146, -0.1892018616, -0.0870604515, 0.4393822849, -0.0882679075, 0.2773536742, -0.1299419552]} |
{"html_url": "https://github.com/huggingface/datasets/issues/2943", "title": "Backwards compatibility broken for cached datasets that use `.filter()`", "comments": "Fixed by #2947.", "body": "## Describe the bug\r\nAfter upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with \r\n`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}`\r\n\r\nRelated feature: https://github.com/huggingface/datasets/pull/2836\r\n\r\n:question: This is probably a `wontfix` bug, since it can be solved by simply cleaning the related cache dirs, but the workaround could be useful for someone googling the error :) \r\n\r\n## Workaround\r\nRemove the cache for the given dataset, e.g. `rm -rf ~/.cache/huggingface/datasets/librispeech_asr`.\r\n\r\n## Steps to reproduce the bug\r\n1. Delete `~/.cache/huggingface/datasets/librispeech_asr` if it exists.\r\n\r\n2. `pip install datasets==1.11.0` and run the following snippet:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nids = [\"1272-141231-0000\"]\r\nds = load_dataset(\"patrickvonplaten/librispeech_asr_dummy\", \"clean\", split=\"validation\")\r\nds = ds.filter(lambda x: x[\"id\"] in ids)\r\n```\r\n3. `pip install datasets==1.12.1` and re-run the code again\r\n\r\n## Expected results\r\nSame result as with the previous `datasets` version.\r\n\r\n## Actual results\r\n```bash\r\nReusing dataset librispeech_asr (./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1)\r\nLoading cached processed dataset at ./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1/cache-cd1c29844fdbc87a.arrow\r\nTraceback (most recent call last):\r\n File \"./repos/transformers/src/transformers/models/wav2vec2/try_dataset.py\", line 5, in <module>\r\n ds = ds.filter(lambda x: x[\"id\"] in ids)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 2169, in filter\r\n indices = self.map(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1686, in map\r\n return self._map_single(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1896, in _map_single\r\n return Dataset.from_file(cache_file_name, info=info, split=self.split)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 343, in from_file\r\n return cls(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 282, in __init__\r\n self.info.features = self.info.features.reorder_fields_as(inferred_features)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1151, in reorder_fields_as\r\n return Features(recursive_reorder(self, other))\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1140, in recursive_reorder\r\n raise ValueError(f\"Keys mismatch: between {source} and {target}\" + stack_position)\r\nValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.11.0-34-generic-x86_64-with-glibc2.17\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n", "comment_length": 3, "text": "Backwards compatibility broken for cached datasets that use `.filter()`\n## Describe the bug\r\nAfter upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with \r\n`ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}`\r\n\r\nRelated feature: https://github.com/huggingface/datasets/pull/2836\r\n\r\n:question: This is probably a `wontfix` bug, since it can be solved by simply cleaning the related cache dirs, but the workaround could be useful for someone googling the error :) \r\n\r\n## Workaround\r\nRemove the cache for the given dataset, e.g. `rm -rf ~/.cache/huggingface/datasets/librispeech_asr`.\r\n\r\n## Steps to reproduce the bug\r\n1. Delete `~/.cache/huggingface/datasets/librispeech_asr` if it exists.\r\n\r\n2. `pip install datasets==1.11.0` and run the following snippet:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nids = [\"1272-141231-0000\"]\r\nds = load_dataset(\"patrickvonplaten/librispeech_asr_dummy\", \"clean\", split=\"validation\")\r\nds = ds.filter(lambda x: x[\"id\"] in ids)\r\n```\r\n3. `pip install datasets==1.12.1` and re-run the code again\r\n\r\n## Expected results\r\nSame result as with the previous `datasets` version.\r\n\r\n## Actual results\r\n```bash\r\nReusing dataset librispeech_asr (./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1)\r\nLoading cached processed dataset at ./.cache/huggingface/datasets/librispeech_asr/clean/2.1.0/468ec03677f46a8714ac6b5b64dba02d246a228d92cbbad7f3dc190fa039eab1/cache-cd1c29844fdbc87a.arrow\r\nTraceback (most recent call last):\r\n File \"./repos/transformers/src/transformers/models/wav2vec2/try_dataset.py\", line 5, in <module>\r\n ds = ds.filter(lambda x: x[\"id\"] in ids)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 2169, in filter\r\n indices = self.map(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1686, in map\r\n return self._map_single(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 185, in wrapper\r\n out: Union[\"Dataset\", \"DatasetDict\"] = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/fingerprint.py\", line 398, in wrapper\r\n out = func(self, *args, **kwargs)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 1896, in _map_single\r\n return Dataset.from_file(cache_file_name, info=info, split=self.split)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 343, in from_file\r\n return cls(\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/arrow_dataset.py\", line 282, in __init__\r\n self.info.features = self.info.features.reorder_fields_as(inferred_features)\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1151, in reorder_fields_as\r\n return Features(recursive_reorder(self, other))\r\n File \"./envs/transformers/lib/python3.8/site-packages/datasets/features.py\", line 1140, in recursive_reorder\r\n raise ValueError(f\"Keys mismatch: between {source} and {target}\" + stack_position)\r\nValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='int64', id=None), 'chapter_id': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None)}\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.11.0-34-generic-x86_64-with-glibc2.17\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n\nFixed by #2947.", "embeddings": [-0.3049958348, 0.1243880838, -0.0465583764, 0.2368971109, 0.1517290324, -0.0666598156, -0.0069413707, 0.3285393715, 0.1737383604, 0.0293814819, -0.2313861847, 0.3581927419, -0.1503304988, 0.2527370155, -0.2977862358, -0.1378120482, 0.0444693454, 0.0321247876, -0.0614953265, 0.166412577, -0.1239175051, 0.4988580644, -0.1957765073, 0.0070795678, 0.2221652865, 0.0513210297, 0.1091236398, 0.138566196, 0.0798620358, -0.3392693698, 0.5981172919, 0.1064069718, -0.0348691642, 0.498096019, -0.0001213098, 0.099867776, 0.4398066998, -0.1073976383, -0.4579497874, -0.3686879575, -0.192854017, 0.1319934726, 0.2131137848, 0.0811629742, -0.0715122968, 0.1143416911, -0.303493619, -0.346046567, 0.2488765419, 0.1989328116, 0.2267285585, 0.2136144787, 0.2657418847, 0.066587165, 0.170179069, 0.0826525018, 0.0259718653, -0.0490864292, 0.2940285802, 0.014261202, 0.043685697, 0.4806104004, -0.3283523321, -0.2146463245, 0.3046185374, -0.2982533276, 0.1030709222, -0.3957037926, 0.2999309897, 0.0781370997, 0.1462642252, -0.255518198, -0.5773367882, -0.3483263254, -0.5121472478, -0.2868291736, 0.4164735079, -0.216358915, -0.2009968162, 0.2200830877, -0.3342647851, -0.0270038545, 0.0934983194, 0.0535101071, -0.0584819205, 0.2941842079, -0.1318320185, -0.0048626242, 0.0149830757, -0.132900551, 0.1924084276, -0.2750048339, -0.1968749017, 0.1725800484, -0.0155595224, -0.0546131916, 0.0954222009, 0.3323281705, 0.140570581, 0.0356287211, 0.0192098524, 0.0845401734, -0.0409641638, 0.0536773168, 0.1373275816, 0.475378722, 0.4901195765, 0.2467906624, 0.2727875113, 0.2854887545, -0.0078853024, -0.0013800253, 0.5281852484, -0.1666412055, 0.0747071281, 0.1517307162, 0.196695298, -0.4048683643, -0.3602132797, 0.1689626127, -0.0769995078, -0.1250401586, 0.2207264006, 0.0534940958, 0.1005648673, 0.2142349631, 0.1320811808, 0.0338568501, -0.1964725256, 0.0612344779, -0.1725096703, -0.1739457697, 0.0011616903, -0.1112991124, -0.0473052748, -0.89977777, 0.1747701168, 0.0482602492, 0.0063488153, 0.1058098748, -0.0697732121, 0.207434997, 0.1730166823, 0.5229284167, -0.2213587761, 0.0839003325, 0.1671907902, -0.548327744, -0.1386865377, 0.0125284484, -0.2415378094, -0.1112066656, 0.2085879147, 0.1735862345, -0.3296715915, 0.0126515068, -0.17029953, 0.4515431225, 0.2592140436, -0.5466870666, -0.0779574588, -0.213380143, -0.4382343888, -0.1997140199, 0.0971902013, 0.4131370485, -0.5942543149, -0.3216674924, 0.0216870401, 0.0319067985, 0.0399160981, -0.1229341999, -0.063439101, -0.2444722205, -0.1077689156, -0.1384182572, 0.3606542647, -0.3195546865, -0.733892858, 0.1537256837, 0.2360213548, 0.5342661738, -0.0709591061, -0.1374839246, 0.2813950479, -0.2578290701, 0.1459920853, 0.0848445743, -0.1649033576, -0.0079940017, -0.3409692049, -0.2346946597, 0.2238697708, -0.1502910852, 0.0904174298, 0.3348585963, 0.0790057704, -0.2542206049, 0.0502917804, 0.0350500681, 0.1049243882, 0.1990925223, 0.2453232259, 0.2237652242, 0.2863062918, -0.4365186989, -0.2801407278, 0.2506181598, 0.2141302824, -0.0600011088, -0.1524066925, -0.1982273012, -0.2678262889, -0.0884182155, -0.1589775681, -0.3044096231, 0.0788738504, 0.0225765873, 0.3843636513, -0.0385034606, -0.1145259663, 0.6218649745, 0.3084535897, 0.0944804996, -0.5049411654, 0.229641512, -0.0548514128, 0.0051691518, -0.0591857955, 0.0377827175, 0.2939595878, -0.0685256049, -0.2895757854, 0.407875061, 0.0392592028, 0.084168233, -0.0276337974, 0.1937460154, 0.1773459613, 0.2105839252, 0.0639338642, 0.2741822898, -0.0148837138, 0.2087214142, -0.195456177, 0.557248354, 0.0293753464, 0.3240505159, 0.1208347678, 0.148756206, 0.3702490628, 0.1305633932, -0.2189950645, -0.1370786875, 0.3204495311, -0.4587228, 0.0626674443, 0.0123394234, -0.1297932267, 0.3776263595, 0.0716826022, 0.0755119473, -0.0334524736, 0.3119212389, -0.1593657285, -0.042190969, 0.1813624054, 0.4024861157, 0.4014509916, 0.2088322341, 0.0507172868, 0.0758817792, -0.1615392268, -0.0248774402, 0.2082498521, 0.1293462515, -0.1696399748, 0.1535750628, 0.3034210205, 0.2732039392, -0.3061974645, 0.0933934823, -0.2356239706, 0.1195331365, -0.270581305, 0.3616366684, -0.2810101509, -0.2280866951, 0.076141715, -0.1678324938, -0.2615140676, -0.3875222206, 0.089899376, 0.3934392929, -0.086219281, 0.2567750216, 0.0147161586, 0.2445412278, 0.136167407, -0.1996820718, -0.4005717337, -0.2078815252, -0.3476482034, 0.0053976052, 0.2051323503, -0.1568491161, 0.2970358729, -0.0763099566, -0.2066247612, -0.390294075, -0.9079098701, -0.0486286655, -0.123964861, 0.6180298328, 0.3176228106, -0.0916265026, -0.1352719367, -0.2327560335, 0.1665794849, -0.0413150303, -0.4310828745, 0.1568385363, 0.0666227341, 0.1682221591, -0.2003851682, -0.2270279974, -0.1135412008, -0.1458190233, 0.0079398574, -0.1276904047, 0.0849654675, 0.3094039559, 0.1123534068, -0.3165157139, -0.0872011557, 0.1330857426, -0.3335401416, -0.0773374513, 0.0739419162, -0.054162316, -0.2302434891, -0.034139622, -0.0319806486, 0.0831893757, 0.3736632466, -0.4069587886, -0.3791774213, -0.2713731527, -0.0048744264, 0.2311773747, 0.068360962, 0.2319667786, 0.1899949759, 0.0391035639, -0.2794680893, -0.4342857301, -0.0886206329, -0.2365958691, 0.1095489264, 0.1482250243, 0.6309939027, 0.0345636867, 0.4764270186, 0.2947264612, 0.0489611253, 0.1398259848, 0.1815548688, 0.4972691238, -0.3258462548, -0.4095653892, -0.0467088632, -0.0461938493, 0.0505124666, -0.1531914324, 0.1795819253, -0.1120608747, -0.3487883806, 8.8976e-05, -0.2515632212, -0.2498103678, -0.2386271805, -0.0136443963, 0.2690052986, 0.3906219602, 0.1407706589, -0.3225954771, -0.1763848662, -0.0081372689, 0.4007481039, 0.1035773978, 0.2502198517, -0.1815419495, -0.0471423045, -0.4509257674, 0.492559284, 0.2151459008, 0.2648919821, -0.1177540421, -0.1629662067, -0.3294481337, -0.0492410697, 0.5928120017, -0.3631767035, 0.0443488397, 0.1019544229, -0.2081836015, -0.382881999, 0.0511292815, 0.0076627661, 0.3649113178, 0.0543546379, 0.3508075774, -0.0821149051, -0.0730158612, -0.0869157314, 0.2223753035, -0.1245945767, 0.0196017139, -0.2743616104, -0.2049434334, -0.143308565, 0.0314200111, -0.1528896391, 0.1650674194, -0.1800080687, -0.0685375854, -0.1131430715, -0.0563930348, 0.1153809577, 0.1347035617, 0.2945029438, -0.1000063792, 0.1187398955, 0.1441811323, 0.2405287623, 0.04236985, 0.458391726, -0.2755981982, -0.2780961096, -0.0670714304, 0.1208044589, -0.114640221, 0.3437377512, -0.2040164918, -0.0173406545, -0.0444572084, -0.1020425931, -0.0212400388, -0.1411033124, -0.001939329, 0.3703025281, -0.204925105, -0.2889373302, 0.2329640687, 0.2390516698, -0.2043491751, 0.436775893, 0.3422557414, -0.2809350789, 0.1687894613, -0.1999594271, 0.7136852741, 0.1521688104, -0.0298533011, 0.0877994671, -0.1695175022, 0.4524547458, 0.3125461042, 0.1559776068, -0.0667682663, -0.2370487005, -0.0655061752, -0.0347471349, 0.1580221951, -0.1110610664, -0.2036339194, 0.5631492734, -0.0592185557, -0.0353867561, 0.1755868793, -0.1173290387, -0.2023077309, 0.0190884974, -0.4372626245, 0.099125281, -0.0213232394, 0.2521654963, 0.0010581244, -0.0767222121, 0.0552208163, -0.3087654114, -0.2637814581, -0.0523921177, -0.3992073536, -0.0659277439, 0.2081235945, -0.433280319, 0.0089732604, 0.0526266396, 0.2566778362, -0.0081807002, -0.0373007692, -0.0075372811, 0.0702684447, 0.4977722168, 0.2345933914, 0.0250330679, 0.2863307297, 0.0890943483, 0.1867841035, 0.0195984095, -0.1420115829, -0.3608390987, -0.0186531637, 0.0038103643, 0.1180328727, -0.1588664055, 0.0288226064, -0.2428553104, 0.0213073175, -0.364861697, 0.0650937036, -0.0898337811, -0.0098389015, 0.0943212733, -0.0165627208, -0.226817742, -0.0053528175, 0.6357886791, -0.1438153237, -0.4367529452, 0.127720207, -0.0055662361, -0.2235843986, 0.0353587158, -0.2044414431, 0.0274193734, -0.2750842869, 0.2978782654, -0.2511248887, -0.1071279123, 0.2691295445, 0.3227922022, 0.1886078864, 0.2146122009, -0.1516674459, -0.3945676982, -0.1370823681, 0.2854580283, 0.0442744903, 0.0549807698, -0.0311486106, -0.3236714602, -0.1444216073, -0.2066645175, -0.2257885635, 0.0087526664, 0.3313151598, 0.0712086409, 0.1904872656, 0.2205638587, 0.1548970491, -0.1995647997, -0.0134116681, 0.0725863725, -0.203820318, -0.102092959, -0.093345888, 0.0935418084, -0.0911601558, -0.2648990452, -0.1546195447, -0.0057543651, 0.0614032373, -0.1646934003, 0.4182681739, 0.3214158118, -0.1182498485, -0.0536907464, -0.0327779986, 0.0472252741, 0.3035388887, 0.1383125186, 0.0185656752, 0.0326717421, 0.0427048579, 0.1994483471, -0.1875816137, 0.014096451, 0.082016468, 0.0423960686, -0.2510475516, 0.0270903334, 0.3569348454, -0.295296222, -0.0216397811, 0.5987740755, 0.3562681079, 0.2437597811, -0.1398067921, 0.1138302758, -0.0777392983, 0.1533572823, -0.2739046812, -0.3326784968, 0.205778718, 0.2732258439, 0.0609572381, 0.1860822588, -0.0021066871, 0.0291597173, 0.6171163917, 0.2176484168, 0.4478169084, -0.1253162473, 0.3508082032, 0.5271652937, 0.2326287627, 0.1843764484, 0.241720289, 0.0737254471, 0.0160929821, 0.5080396533, -0.0660088882, 0.2586891651, 0.2197473645, 0.1287705451, -0.0355183855, -0.4662743509, -0.1656748652, 0.0283220075, -0.0797490031, 0.2506761551, 0.1661577374, 0.0856602341, -0.2232845426, -0.3345984221, 0.0114881797, 0.024897946, -0.193626374, -0.2161095738, 0.1446396858, -0.3639173806, -0.0571490377, 0.013486567, -0.1208442077, 0.0703997388, 0.4529311359, -0.2469489723, -0.128362909, -0.4731904268, -0.3793772757, 0.0500456095, 0.1747638434, -0.0140105868, 0.4047631919, 0.258780688, -0.2298548669, 0.2219883502, 0.2503442466, 0.4856500924, 0.2468240112, 0.027692223, 0.0133466832, -0.1420494765, -0.0540064909, -0.0907230228, 0.3356420696, -0.0870835707, 0.0305686034, 0.1879348457, 0.1134100109, 0.0007339246, 0.2053903639, -0.0408540145, 0.3989400268, -0.4661819339, 0.0895344913, -0.2369527221, 0.2848792076, 0.0150147714, 0.1000138745, -0.2490254641, -0.1181152612, 0.171215117, 0.2318110913, 0.2039028108, -0.1064854339, 0.0748107806, 0.1348544508, 0.0739088506, 0.4687882364, -0.0930132717, -0.0892460048, -0.1464888304, -0.653509438, -0.0558623448, 0.1423008889, 0.1280672401, -0.0635151789, 0.0375300944, 0.0490150824, 0.1846857667, 0.0434734374, -0.1836016178, 0.1054587811, -0.2515150607, -0.2000013739, -0.1759469211, 0.2301196903, -0.2421481013, 0.0548487157, -0.2659107745, 0.0627719611, -0.0416926146, 0.0269530844, -0.005927782, -0.0628840253, 0.0675144792, 0.3473338187, -0.1370735615, 0.3493901491, 0.2663169801, 0.03349353, -0.0034476253, -0.2782979906, -0.1931354105, -0.2683142722, 0.0700851008, -0.2921240628, 0.4918605983, -0.4018596709, -0.3019634485, -0.1804217845, 0.2724736333, 0.1233783066, -0.1268284917, -0.4767788649, 0.1658581197, -0.0587571412, 0.0838124454, 0.0044377646, 0.508733511, 0.059986867, 0.3379509747, -0.2266310304, -0.3412219286, 0.5358169079, -0.4137625992, -0.2617653012, -0.1319275051, -0.0639740229, 0.6073155403, -0.4836450815, -0.3043731153, -0.2037671804, 0.2719914615, -0.1200053543, -0.1490247399, 0.1555725485, -0.2652980089, 0.1745556146, -0.1892018616, -0.0870604515, 0.4393822849, -0.0882679075, 0.2773536742, -0.1299419552]} |
{"html_url": "https://github.com/huggingface/datasets/issues/2941", "title": "OSCAR unshuffled_original_ko: NonMatchingSplitsSizesError", "comments": "I tried `unshuffled_original_da` and it is also not working", "body": "## Describe the bug\r\n\r\nCannot download OSCAR `unshuffled_original_ko` due to `NonMatchingSplitsSizesError`.\r\n\r\n## Steps to reproduce the bug\r\n\r\n```python\r\n>>> dataset = datasets.load_dataset('oscar', 'unshuffled_original_ko')\r\nNonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=25292102197, num_examples=7345075, dataset_name='oscar'), 'recorded': SplitInfo(name='train', num_bytes=25284578514, num_examples=7344907, dataset_name='oscar')}]\r\n```\r\n\r\n## Expected results\r\n\r\nLoading is successful.\r\n\r\n## Actual results\r\n\r\nLoading throws above error.\r\n\r\n## Environment info\r\n\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.4.0-81-generic-x86_64-with-glibc2.29\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n", "comment_length": 9, "text": "OSCAR unshuffled_original_ko: NonMatchingSplitsSizesError\n## Describe the bug\r\n\r\nCannot download OSCAR `unshuffled_original_ko` due to `NonMatchingSplitsSizesError`.\r\n\r\n## Steps to reproduce the bug\r\n\r\n```python\r\n>>> dataset = datasets.load_dataset('oscar', 'unshuffled_original_ko')\r\nNonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=25292102197, num_examples=7345075, dataset_name='oscar'), 'recorded': SplitInfo(name='train', num_bytes=25284578514, num_examples=7344907, dataset_name='oscar')}]\r\n```\r\n\r\n## Expected results\r\n\r\nLoading is successful.\r\n\r\n## Actual results\r\n\r\nLoading throws above error.\r\n\r\n## Environment info\r\n\r\n- `datasets` version: 1.12.1\r\n- Platform: Linux-5.4.0-81-generic-x86_64-with-glibc2.29\r\n- Python version: 3.8.10\r\n- PyArrow version: 5.0.0\r\n\nI tried `unshuffled_original_da` and it is also not working", "embeddings": [-0.2700701952, -0.3562059104, 0.0761256963, 0.3269021809, 0.2630259991, -0.0228649452, -0.0282609034, 0.4201454818, -0.0057781218, 0.2675718367, -0.2937448621, 0.3795824349, -0.175184533, 0.0020705916, -0.1521454006, -0.3282049894, 0.0055401283, 0.0813263729, 0.0597292781, 0.0331693552, -0.2423605472, 0.2973343432, -0.3931003809, 0.0419516861, -0.2768164873, -0.0585272759, -0.0746447295, 0.1445952952, -0.1675010622, -0.2716379166, 0.3857498765, -0.0588463284, 0.232816115, 0.5122596025, -0.0001237657, 0.0590177849, 0.4652545154, -0.3251428604, -0.0443532206, -0.3920538425, -0.0886344537, -0.0983479768, -0.0657844767, -0.3845169842, -0.0129822195, 0.146921888, 0.0608098917, -0.0645650402, 0.5164781213, 0.3238581419, 0.120624736, 0.0500490926, 0.0403883979, -0.2224902213, 0.3106618822, -0.2548942566, -0.3315367401, 0.0346963368, -0.0179840401, -0.1685461998, 0.1427149326, 0.1541062146, -0.0700180754, 0.1261722445, -0.1210525259, -0.0195195898, -0.0040011993, -0.0904255956, 0.2117808163, 0.374551028, 0.3375654519, -0.3247810006, -0.3132323921, -0.3029401302, 0.0337986127, -0.3283481598, 0.3009405434, 0.1460143775, -0.2429262847, 0.2017060965, -0.0670581907, 0.0023002515, -0.1089840308, 0.1734156609, 0.0992210284, 0.2540248334, 0.068739228, 0.1693916321, 0.1453325152, 0.1248955354, 0.3683691025, -0.164793402, 0.1000258476, 0.0660203919, -0.2375979722, -0.1042992249, -0.1702269167, 0.0275418647, 0.1742199361, 0.299749881, 0.3533665538, -0.050712835, 0.23539868, 0.0687230006, 0.1073275581, 0.1424306631, -0.1735071242, 0.4756015539, -0.038373746, 0.4154306054, -0.1177193224, -0.0899807885, 0.0127301393, -0.0728332028, 0.0770530924, 0.0638824552, 0.3465489149, -0.1475606412, -0.5405621529, -0.0646340847, -0.4408827126, -0.2136350721, -0.1520271748, 0.3651462495, -0.2901136577, 0.1182295531, -0.1973749697, 0.2700160146, -0.1282483786, 0.043910075, -0.2218047082, 0.1398160458, -0.1717366427, 0.1828228682, 0.1118824482, -0.204669714, 0.495223105, -0.0624024421, 0.2177726328, -0.1745524108, 0.2678282857, -0.0713035017, -0.2555179, 0.0733668804, 0.0693256706, 0.2275202274, -0.0512226708, -0.1955409944, -0.1835986227, 0.1897325665, -0.1677214205, -0.5662183762, 0.1641817391, 0.1281939894, -0.3114531338, -0.0909331217, 0.2412121892, -0.06287238, 0.0155445421, -0.1351996511, -0.0021220825, -0.0958602279, 0.1657218486, -0.2155779004, 0.2271082997, 0.3483718336, -0.1850482076, -0.1841768026, 0.006626484, -0.2098627985, 0.5653936863, 0.3381557167, 0.0346748829, -0.0691285431, -0.3662846684, -0.035242945, 0.2375092804, -0.1608842909, -0.6755478978, 0.0946134478, 0.0492238738, 0.5803261995, 0.346126765, -0.0058211032, 0.2652187347, 0.1256498843, 0.2001138926, 0.2200994045, -0.2519147992, -0.3296817243, -0.4716974497, -0.4451117814, 0.1734127849, 0.1898487657, 0.3207941949, 0.1099775285, -0.058488369, 0.2988939583, 0.3775659204, 0.0346811637, 0.0107769752, -0.0222215783, 0.1482665092, 0.3807443678, -0.076375179, -0.3940159082, -0.2746164203, 0.2904383838, -0.1236760765, -0.156783849, -0.2122336924, -0.527250886, -0.5870789289, -0.165048629, -0.1906133443, -0.162727192, 0.0038345398, 0.0500118583, 0.4496047795, 0.1891618371, -0.1783928275, 0.2574459016, 0.0525147803, 0.1223757267, -0.1573136151, 0.4813087285, -0.2699065506, -0.4087940454, 0.1640718877, 0.1615529507, 0.2917622626, -0.2825148404, -0.1289041787, 0.5438861251, -0.0126622617, 0.1553732008, -0.0856645703, -0.2544069886, 0.1181099713, -0.167449981, -0.1110598743, 0.3721723258, 0.0395096019, 0.0105408933, -0.0509868823, 0.5377941132, -0.0667465031, -0.0382976942, 0.066784896, 0.0064676078, 0.2481441945, -0.1786244661, 0.0006179169, -0.1696993709, 0.3078433871, -0.0635774508, -0.0126545299, -0.1987084448, -0.5619574189, -0.1079929173, 0.7206522226, -0.0952707604, 0.0389066115, 0.0032789083, -0.1174628735, 0.1458038688, -0.0419397578, 0.1237870455, 0.2527246773, 0.3046537042, -0.0554859377, 0.1650494337, -0.0884823874, -0.2226391435, 0.1139543355, 0.0752876177, 0.3927039802, 0.5039468408, -0.1236994937, 0.0763900355, -0.4040017426, -0.1757810861, -0.0385836139, 0.3962652385, -0.0995420963, -0.251657933, -0.3585939407, -0.0895016566, -0.3763104379, 0.0013211808, -0.1984645426, -0.1646792293, 0.0933002308, 0.4677838087, 0.03062311, 0.456158936, -0.2225827277, 0.0516182445, -0.0948610157, 0.0804057792, -0.2349837869, -0.2070280761, -0.2165757865, -0.0062309718, 0.1760603487, -0.1895347685, 0.4101438522, -0.1628828794, -0.1106793508, 0.0016370228, -0.2100382894, -0.0284292269, 0.0802166983, -0.1457641721, 0.1499073058, 0.1545280069, 0.0492399521, -0.2327251136, 0.3539457917, -0.253189683, -0.12509799, -0.0579356998, 0.3628317118, 0.1966164857, -0.0150078526, -0.6001400352, -0.3433532715, -0.2735929787, 0.1192297861, 0.171149075, 0.2071451992, -0.4059786499, 0.2124399543, 0.0293269083, 0.0146261109, -0.108423464, -0.1782411635, -0.2187789083, 0.4179231524, -0.0541067719, -0.2413789183, -0.0135591552, -0.0757790357, -0.207618624, 0.1081376076, -0.2254442275, -0.2374272496, -0.1528240591, 0.0388922058, 4.10417e-05, -0.1447942406, 0.4625220001, -0.0406659842, 0.0200901981, -0.087360315, -0.2536268234, 0.0319263563, -0.0870750993, 0.4643537402, -0.0956633613, 0.5923442245, 0.1564027518, 1.0513212681, 0.3848242462, 0.4277364314, 0.2050092816, -0.2445764095, -0.0273402222, -0.1820255518, -0.1257591844, -0.0314858034, -0.1415696144, 0.1885153949, 0.1321771443, -0.0758097246, -0.1143291369, -0.2025897503, 0.0363576189, -0.4454913139, -0.1845194995, -0.050208386, 0.0200488307, -0.0743915215, 0.2265842706, 0.1607146412, 0.0683756843, -0.0109747304, 0.1947402656, 0.2533482909, -0.095236063, 0.0733086839, -0.1778615266, 0.0034823706, -0.4660815597, 0.4068314433, 0.1445844173, 0.155201152, 0.105390504, -0.2482506037, 0.2122097313, -0.2690775096, 0.8391341567, -0.3196516037, 0.021446595, -0.0050391215, -0.1162589341, -0.2233094126, -0.3100708723, -0.2493042648, 0.0977460891, 0.5004122257, 0.401702255, -0.3936049342, 0.1048643887, 0.1261661202, -0.0172707625, -0.1737206727, -0.1427190602, -0.3067505658, -0.416105777, -0.521835506, 0.0087642455, -0.10390421, 0.4622172713, -0.103750132, -0.1932160407, -0.2216338515, -0.0615733713, 0.1528482884, 0.0589452758, 0.1914952844, 0.0529781282, 0.2729120851, 0.0143474173, 0.5659828782, 0.3270242512, 0.433042109, -0.0510436259, -0.2842541039, -0.2222711891, -0.2774918079, -0.0777949691, 0.3124807179, 0.0741247982, 0.0557200424, -0.2258193046, 0.0286223143, -0.0232267417, -0.0609401241, 0.2382368445, -0.074377045, -0.4884041846, -0.4397383332, 0.2568946183, 0.2011566609, -0.084970735, 0.2157151252, 0.1666444838, -0.1530286074, 0.3322291672, -0.311853826, 1.0656917095, -0.0349132605, -0.0590303577, 0.1567310691, -0.4327569604, 0.4600604773, 0.2230525613, 0.2934070528, -0.3985666931, -0.5422777534, -0.0626290441, -0.0495161489, 0.2620194554, -0.0702634975, -0.2358459234, 0.3924998343, -0.1383437216, 0.059872508, -0.0403107777, 0.0872835815, -0.0655479878, 0.2615909278, -0.2137582153, -0.0282094814, -0.0062475386, 0.6459135413, 0.0490520187, -0.1735088825, -0.3161623478, -0.1341487914, -0.2399571091, 0.2692095339, -0.0620518588, 0.1432400197, -0.1940255165, -0.3515720665, -0.0938458592, -0.0665402114, 0.1554252207, -0.3038245738, -0.1423941851, 0.2567335367, -0.0502586178, -0.3049413562, 0.0468185209, 0.0734311789, 0.1184430718, -0.2098308355, -0.1948067993, 0.2171829045, 0.081996724, -0.2234715521, 0.2245999873, -0.344912529, 0.4029507935, -0.2193651795, -0.3630694151, -0.1238867566, 0.053775616, -0.4139072001, 0.0482330695, -0.3476900756, -0.1793532968, 0.0908351913, -0.0968465805, -0.1877360195, -0.2056991607, 0.6468623877, 0.2441388518, 0.0889284089, 0.4455735385, -0.1392742097, -0.1209909022, -0.0694017634, -0.0522745661, -0.0961838588, -0.6258867979, 0.2478279322, -0.2725172639, 0.2561436892, 0.0560390577, 0.1203305498, 0.5102044344, 0.1091660559, -0.0226831455, -0.315593183, -0.1827117205, -0.006129405, 0.3605924249, 0.2034677416, -0.2084128559, 0.3939769268, 0.0435558408, 0.1410049051, -0.2295722514, 0.1756058782, -0.0111234821, 0.0903083682, -0.0150688291, -0.0624070913, 0.0482578315, 0.1309499592, 0.0656671524, 0.2593142688, -0.107485652, -0.1093422994, -0.1164527461, 0.217103675, -0.0287401099, -0.0509174541, -0.0877763107, 0.0597584993, -0.014149596, 0.0015855627, -0.0073475796, 0.3024415374, 0.0025629182, 0.1959821284, 0.2877029181, 0.0203361772, -0.3707616925, -0.0546788871, -0.1704271585, 0.4047979116, -0.0256696772, 0.2317973226, -0.0267457049, -0.0181804169, -0.0715063438, -0.3175280988, -0.0306168441, 0.2115057111, 0.3874916732, -0.347990185, -0.0214854032, 0.3729046881, 0.2182453871, 0.5003054142, -0.1019885391, -0.1947451532, 0.2794112563, 0.132047534, -0.5035033822, 0.1693591028, 0.6532273293, -0.0279648732, 0.0474482439, 0.2889039218, -0.0722825229, -0.0049079503, -0.2585618496, 0.0728518143, 0.311209619, 0.0896963254, 0.3967244029, 0.6500381827, 0.2969564795, 0.0609108508, 0.1803033948, 0.0377423726, 0.3314584792, 0.4642525315, -0.348226279, 0.2353744805, -0.3763629198, 0.2772921026, -0.0461748801, -0.2185561657, -0.2172773033, 0.3019171655, -0.263828367, 0.2700886428, 0.147561118, 0.2971718013, -0.0907789618, -0.0566396452, -0.2395830452, 0.0068022935, 0.0361580849, -0.1487154663, -0.23768875, -0.3082600832, -0.3154895604, 0.1420746595, 0.0483601578, 0.2234884501, 0.4846854806, -0.0899223089, -0.0839001238, -0.261703372, -0.1129587889, 0.1009543613, 0.4807308614, -0.359243691, 0.002184781, 0.1473571062, -0.2205985636, 0.0831326023, 0.3578595817, 0.2714527547, 0.2029879987, -0.224526599, 0.0407990441, 0.2606113255, 0.0910466984, 0.1569049805, 0.3494497836, 0.3068242073, -0.0663663, 0.2790664434, 0.0528981723, -0.1823626012, 0.1601461917, 0.0584523901, -0.1115810052, -0.2788190246, 0.3917230964, -0.2243009657, 0.102521576, 0.057680171, 0.0891512558, -0.4057340622, -0.2379486412, -0.2201809883, 0.0126067307, 0.231259793, 0.0904681012, 0.0248190816, -0.3940022886, 0.1682776958, 0.2681089044, -0.1561311036, -0.1225692406, -0.2420620918, -0.5433617234, 0.2975563407, -0.2807193995, 0.0935659185, 0.0746108741, 0.3382504284, -0.3834771514, -0.0064511839, 0.1178494468, 0.5332386494, 0.0087339627, 0.4412532747, -0.2814124823, -0.1415888518, -0.226051569, -0.0913680568, 0.1125744134, -0.3669516146, 0.0487546846, -0.2756848037, -0.0543771461, -0.0466812104, -0.121877186, -0.0234336779, -0.1646656841, 0.2823671103, 0.2395053953, 0.2693460882, -0.1665234864, -0.0291301347, 0.1338399649, -0.1567696631, -0.065012753, 0.3058659434, 0.3186143041, 0.2530109882, -0.0928714797, 0.2424036115, -0.1774176359, 0.5707028508, 0.1469569206, -0.1631754786, -0.10322088, -0.1555235088, -0.0427126624, 0.0198512953, 0.0677086264, 0.4105406106, -0.1185427532, 0.1515361816, -0.2512541115, -0.2376576364, 0.6050724983, -0.1785651296, -0.1379883289, -0.1678245664, 0.2456205785, 0.3388739526, 0.0138582885, -0.3756624758, 0.1801710874, 0.4207406342, 0.0298809856, -0.0401440747, 0.1496393681, -0.3060053885, -0.1257539541, 0.0442536511, 0.0996872783, 0.149877876, -0.3360651135, 0.4139497876, -0.1505003273]} |
{"html_url": "https://github.com/huggingface/datasets/issues/2937", "title": "load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied", "comments": "Hi @daqieq, thanks for reporting.\r\n\r\nUnfortunately, I was not able to reproduce this bug:\r\n```ipython\r\nIn [1]: from datasets import load_dataset\r\n ...: ds = load_dataset('wiki_bio')\r\nDownloading: 7.58kB [00:00, 26.3kB/s]\r\nDownloading: 2.71kB [00:00, ?B/s]\r\nUsing custom data configuration default\r\nDownloading and preparing dataset wiki_bio/default (download: 318.53 MiB, generated: 736.94 MiB, post-processed: Unknown size, total: 1.03 GiB) to C:\\Users\\username\\.cache\\huggingface\\datasets\\wiki_bio\\default\\\r\n1.1.0\\5293ce565954ba965dada626f1e79684e98172d950371d266bf3caaf87e911c9...\r\nDownloading: 334MB [01:17, 4.32MB/s]\r\nDataset wiki_bio downloaded and prepared to C:\\Users\\username\\.cache\\huggingface\\datasets\\wiki_bio\\default\\1.1.0\\5293ce565954ba965dada626f1e79684e98172d950371d266bf3caaf87e911c9. Subsequent calls will reuse thi\r\ns data.\r\n```\r\n\r\nThis kind of error messages usually happen because:\r\n- Your running Python script hasn't write access to that directory\r\n- You have another program (the File Explorer?) already browsing inside that directory", "body": "## Describe the bug\r\nStandard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11.\r\n\r\n## Steps to reproduce the bug\r\n```python\r\nfrom datasets import load_dataset\r\nds = load_dataset('wiki_bio')\r\n```\r\n\r\n## Expected results\r\nIt is expected that the dataset downloads without any errors.\r\n\r\n## Actual results\r\nPermissionError see trace below:\r\n```\r\nUsing custom data configuration default\r\nDownloading and preparing dataset wiki_bio/default (download: 318.53 MiB, generated: 736.94 MiB, post-processed: Unknown size, total: 1.03 GiB) to C:\\Users\\username\\.cache\\huggingface\\datasets\\wiki_bio\\default\\1.1.0\\5293ce565954ba965dada626f1e79684e98172d950371d266bf3caaf87e911c9...\r\nTraceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\r\n File \"C:\\Users\\username\\.conda\\envs\\hf\\lib\\site-packages\\datasets\\load.py\", line 1112, in load_dataset\r\n builder_instance.download_and_prepare(\r\n File \"C:\\Users\\username\\.conda\\envs\\hf\\lib\\site-packages\\datasets\\builder.py\", line 644, in download_and_prepare\r\n self._save_info()\r\n File \"C:\\Users\\username\\.conda\\envs\\hf\\lib\\contextlib.py\", line 120, in __exit__\r\n next(self.gen)\r\n File \"C:\\Users\\username\\.conda\\envs\\hf\\lib\\site-packages\\datasets\\builder.py\", line 598, in incomplete_dir\r\n os.rename(tmp_dir, dirname)\r\nPermissionError: [WinError 5] Access is denied: 'C:\\\\Users\\\\username\\\\.cache\\\\huggingface\\\\datasets\\\\wiki_bio\\\\default\\\\1.1.0\\\\5293ce565954ba965dada626f1e79684e98172d950371d266bf3caaf87e911c9.incomplete' -> 'C:\\\\Users\\\\username\\\\.cache\\\\huggingface\\\\datasets\\\\wiki_bio\\\\default\\\\1.1.0\\\\5293ce565954ba965dada626f1e79684e98172d950371d266bf3caaf87e911c9'\r\n```\r\nBy commenting out the os.rename() [L604](https://github.com/huggingface/datasets/blob/master/src/datasets/builder.py#L604) and the shutil.rmtree() [L607](https://github.com/huggingface/datasets/blob/master/src/datasets/builder.py#L607) lines, in my virtual environment, I was able to get the load process to complete, rename the directory manually and then rerun the `load_dataset('wiki_bio')` to get what I needed.\r\n\r\nIt seems that os.rename() in the `incomplete_dir` content manager is the culprit. Here's another project [Conan](https://github.com/conan-io/conan/issues/6560) with similar issue with os.rename() if it helps debug this issue.\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Windows-10-10.0.22449-SP0\r\n- Python version: 3.8.12\r\n- PyArrow version: 5.0.0\r\n", "comment_length": 109, "text": "load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied\n## Describe the bug\r\nStandard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11.\r\n\r\n## Steps to reproduce the bug\r\n```python\r\nfrom datasets import load_dataset\r\nds = load_dataset('wiki_bio')\r\n```\r\n\r\n## Expected results\r\nIt is expected that the dataset downloads without any errors.\r\n\r\n## Actual results\r\nPermissionError see trace below:\r\n```\r\nUsing custom data configuration default\r\nDownloading and preparing dataset wiki_bio/default (download: 318.53 MiB, generated: 736.94 MiB, post-processed: Unknown size, total: 1.03 GiB) to C:\\Users\\username\\.cache\\huggingface\\datasets\\wiki_bio\\default\\1.1.0\\5293ce565954ba965dada626f1e79684e98172d950371d266bf3caaf87e911c9...\r\nTraceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\r\n File \"C:\\Users\\username\\.conda\\envs\\hf\\lib\\site-packages\\datasets\\load.py\", line 1112, in load_dataset\r\n builder_instance.download_and_prepare(\r\n File \"C:\\Users\\username\\.conda\\envs\\hf\\lib\\site-packages\\datasets\\builder.py\", line 644, in download_and_prepare\r\n self._save_info()\r\n File \"C:\\Users\\username\\.conda\\envs\\hf\\lib\\contextlib.py\", line 120, in __exit__\r\n next(self.gen)\r\n File \"C:\\Users\\username\\.conda\\envs\\hf\\lib\\site-packages\\datasets\\builder.py\", line 598, in incomplete_dir\r\n os.rename(tmp_dir, dirname)\r\nPermissionError: [WinError 5] Access is denied: 'C:\\\\Users\\\\username\\\\.cache\\\\huggingface\\\\datasets\\\\wiki_bio\\\\default\\\\1.1.0\\\\5293ce565954ba965dada626f1e79684e98172d950371d266bf3caaf87e911c9.incomplete' -> 'C:\\\\Users\\\\username\\\\.cache\\\\huggingface\\\\datasets\\\\wiki_bio\\\\default\\\\1.1.0\\\\5293ce565954ba965dada626f1e79684e98172d950371d266bf3caaf87e911c9'\r\n```\r\nBy commenting out the os.rename() [L604](https://github.com/huggingface/datasets/blob/master/src/datasets/builder.py#L604) and the shutil.rmtree() [L607](https://github.com/huggingface/datasets/blob/master/src/datasets/builder.py#L607) lines, in my virtual environment, I was able to get the load process to complete, rename the directory manually and then rerun the `load_dataset('wiki_bio')` to get what I needed.\r\n\r\nIt seems that os.rename() in the `incomplete_dir` content manager is the culprit. Here's another project [Conan](https://github.com/conan-io/conan/issues/6560) with similar issue with os.rename() if it helps debug this issue.\r\n\r\n## Environment info\r\n- `datasets` version: 1.12.1\r\n- Platform: Windows-10-10.0.22449-SP0\r\n- Python version: 3.8.12\r\n- PyArrow version: 5.0.0\r\n\nHi @daqieq, thanks for reporting.\r\n\r\nUnfortunately, I was not able to reproduce this bug:\r\n```ipython\r\nIn [1]: from datasets import load_dataset\r\n ...: ds = load_dataset('wiki_bio')\r\nDownloading: 7.58kB [00:00, 26.3kB/s]\r\nDownloading: 2.71kB [00:00, ?B/s]\r\nUsing custom data configuration default\r\nDownloading and preparing dataset wiki_bio/default (download: 318.53 MiB, generated: 736.94 MiB, post-processed: Unknown size, total: 1.03 GiB) to C:\\Users\\username\\.cache\\huggingface\\datasets\\wiki_bio\\default\\\r\n1.1.0\\5293ce565954ba965dada626f1e79684e98172d950371d266bf3caaf87e911c9...\r\nDownloading: 334MB [01:17, 4.32MB/s]\r\nDataset wiki_bio downloaded and prepared to C:\\Users\\username\\.cache\\huggingface\\datasets\\wiki_bio\\default\\1.1.0\\5293ce565954ba965dada626f1e79684e98172d950371d266bf3caaf87e911c9. Subsequent calls will reuse thi\r\ns data.\r\n```\r\n\r\nThis kind of error messages usually happen because:\r\n- Your running Python script hasn't write access to that directory\r\n- You have another program (the File Explorer?) already browsing inside that directory", "embeddings": [-0.2289305478, 0.3834535182, 0.040345341, 0.2550398409, -0.0121113108, 0.2622572184, 0.5036683083, 0.1329532564, 0.3442817032, 0.1357175708, -0.1089743897, 0.0772839189, 0.073150374, -0.0056987684, -0.1256225109, 0.0789283216, 0.0364452153, -0.0053882273, 0.214949578, 0.1039548293, -0.4238833189, 0.1072954684, -0.172855407, 0.1861151755, 0.0260949377, -0.1363423616, 0.1212603897, 0.3607298434, -0.0307886619, -0.3922062814, 0.3530231118, 0.0634532124, 0.4639182985, 0.2582460642, -0.000119246, -0.0137069086, 0.2306841165, 0.1244994402, -0.0737274736, 0.0870998204, -0.1839853674, -0.1409676671, 0.1652300805, -0.0976862535, 0.1767440438, 0.3634920418, -0.1021372527, -0.2009297311, -0.0130413789, 0.379034102, 0.1573001444, -0.0381855965, -0.1186785623, -0.0752038136, 0.4933359921, -0.1592982262, -0.133179754, 0.2798380852, 0.0790250301, -0.11457026, -0.0989914164, 0.1995727867, -0.1621495485, 0.1471577436, 0.0186581202, 0.0311292373, 0.2162310332, -0.4581103027, 0.3521417677, 0.1512579024, 0.9656507373, -0.1955735534, -0.1914045215, -0.0887490958, 0.0133037586, -0.0330028497, 0.4326035678, 0.4286232889, -0.3245685697, 0.2523709536, 0.0659693852, 0.0835653022, -0.0825510696, -0.0019090191, 0.0712853372, 0.1486521512, -0.0504703857, 0.1195566207, -0.1147312596, -0.0834005401, 0.3863353431, -0.2138270736, -0.254601866, 0.191666767, -0.3394370973, 0.2898705602, 0.0534532256, 0.7778053284, 0.157877773, 0.3155301809, 0.1250241548, -0.0540518314, 0.2136244029, 0.0651903003, 0.0085929586, 0.3214896023, -0.1122384295, -0.0169230793, 0.4271060824, 0.1174419895, -0.0816169605, -0.0089906445, -0.0200457647, -0.4294741154, 0.3538792133, 0.1054070443, 0.4081188738, -0.2856419981, -0.1217012107, -0.0002951851, 0.1581317037, -0.0239709932, 0.0588830411, 0.5011533499, -0.2717713416, 0.0426839963, 0.0682517141, 0.1794451177, 0.0186107904, 0.0977605507, -0.0877998695, -0.0890028104, -0.2667180896, -0.0514384918, 0.408646673, -0.3225747645, 0.0955644995, 0.2566769719, 0.0270482041, -0.1792946011, 0.1918320805, -0.0414977111, -0.0328572541, 0.3576870263, 0.397295326, 0.3376339078, 0.174932614, -0.2122963965, -0.0349953882, 0.1863114685, -0.4872902334, -0.4025040567, -0.0336632058, 0.1213277355, -0.0833240524, 0.0632052422, -0.1980368942, -0.0482573472, 0.3823129535, -0.3008547723, -0.0618359111, -0.0137255481, -0.2206203043, -0.5042767525, 0.040707428, 0.4012890756, -0.3596991003, 0.1303672194, -0.0915537477, -0.2640866041, 0.1504325122, 0.0056375656, 0.0056341127, 0.3616814017, -0.2812198102, 0.0156073133, 0.2774584889, -0.3938943148, -1.0015972853, -0.0210030079, 0.0730995089, 0.1660424769, 0.2444063723, 0.1191371009, 0.3659378588, -0.0303458292, 0.1704769284, 0.3187128901, 0.1300752312, 0.1119742319, -0.0629962236, -0.2038549483, 0.2796608508, 0.1339266002, 0.0883391201, 0.3009034991, 0.312600106, -0.0569339506, 0.251095593, -0.1872612089, 0.116804406, 0.1925157905, 0.0114956526, -0.0351362228, 0.1375146806, -0.1277379841, -0.420409292, 0.3514482081, -0.00811728, 0.0851668194, 0.0759790465, -0.2027431279, -0.3184642494, 0.0913407728, -0.5447552204, -0.2889970243, 0.0851063654, 0.2938987911, 0.2124249339, 0.0236818604, 0.1891641766, 0.3374149799, -0.2082268894, 0.1271959245, -0.1811406165, 0.0386061855, -0.1883375496, -0.1364492327, -0.2122476399, 0.0469153933, 0.2001280636, 0.2527483404, -0.2134325951, 0.1961012632, 0.151213333, 0.0374986753, -0.3785572946, -0.0595560744, -0.0223776083, 0.1217297763, 0.1568485051, 0.1381781846, 0.1483232975, -0.0443943143, -0.1922187656, 0.1377540231, -0.1596345007, 0.14373146, -0.3266511559, 0.2430362701, 0.2447061241, 0.0900503173, 0.0856966749, 0.0344529897, 0.3054705858, 0.0241174567, 0.0745961443, -0.2858042717, 0.1012615561, -0.0778078139, 0.0593021847, 0.0225473158, 0.0812815726, 0.2497533113, -0.1746012717, 0.0168862902, 0.2869935334, 0.349679023, 0.5377136469, -0.0409865156, 0.0515500903, 0.0667970031, 0.0479120463, 0.0896691009, 0.1192515045, 0.0857714713, -0.0702273324, 0.2634492815, 0.1284338385, 0.2241659462, -0.0647975802, -0.1138611957, -0.107541278, 0.4194297791, -0.4875138104, -0.084387593, 0.1000552922, 0.0748399198, 0.1812013388, -0.2428474277, -0.0887820199, -0.1460988075, -0.2430461347, 0.3116364777, 0.0940705463, 0.0835373625, -0.511957705, 0.164441213, 0.0075377976, -0.2018063366, -0.1137571484, 0.1238797531, -0.1658339351, -0.0141071854, 0.1862449348, -0.1799398512, 0.1873875707, -0.2951588631, 0.2437517196, -0.3901760876, -0.1954325885, 0.0151099013, 0.0578858256, 0.4098414481, 0.1254311204, 0.1551068723, 0.1864105314, -0.3417646587, 0.0566025972, -0.1075194404, -0.1510609835, 0.2333712131, -0.0550265461, 0.0938554928, 0.0341966748, -0.2493757308, -0.5408244133, -0.2501789927, -0.0095754005, 0.3858899772, 0.0983009189, -0.0028510524, -0.1126530915, 0.0033437847, 0.267029494, 0.3937678933, -0.2108280957, -0.2492020875, 0.2102492452, -0.2092680335, -0.3346993625, 0.0819493756, -0.1042304859, 0.0445711389, 0.2523835003, -0.4788489342, -0.0906342939, -0.3600659072, 0.4096082449, -0.232615903, 0.0938282236, 0.3463047147, 0.0892930999, 0.1463989317, -0.0417488404, -0.2757158875, -0.0651353374, -0.2946413159, -0.068232581, 0.3381980062, 0.4274490774, -0.0575702377, 0.3770318925, 0.3002279699, 0.3604496717, 0.3344713151, 0.04584153, 0.3711133003, 0.0542609356, -0.2594737113, 0.1087757051, -0.1943459958, -0.140160799, 0.3007430136, 0.0889823362, -0.1952640116, -0.052531682, -0.3804523051, -0.2807892859, -0.2852858603, -0.0992422476, -0.2463323325, 0.2537561357, 0.1191406399, 0.1100426763, -0.4462445676, -0.3691142201, 0.0288443286, 0.5546328425, -0.3098391891, 0.1115756556, -0.3508035243, 0.1366987079, -0.6549720168, 0.2522459924, 0.0340248011, 0.4958057404, -0.1741242707, 0.1266969591, -0.0015080259, -0.1074288562, 0.5570681095, -0.6522978544, 0.4618299305, 0.0581227317, 0.1157312021, 0.0101971151, -0.2243451625, -0.0922563747, 0.2416802943, 0.1369419247, 0.2145550996, 0.1639221013, 0.0440419056, 0.0762091056, 0.1665931493, -0.2001322806, -0.279057771, -0.2271348834, -0.3418877125, -0.3903853595, 0.128006041, 0.0421996191, 0.1854700744, -0.1517433375, 0.1171616763, -0.4046885669, 0.2369778156, 0.1301799268, 0.1602822691, 0.187791869, 0.0645751134, 0.2181593776, -0.0480453596, 0.0753483474, -0.1291563809, 0.5240867138, -0.2804769576, -0.328379035, -0.0524905957, -0.199985683, -0.1171171516, 0.1122419834, -0.3265575469, -0.0500914566, -0.1384819001, -0.1327372044, -0.3143305779, 0.117074959, 0.0426035039, -0.1354341507, -0.3776838183, -0.3201939762, 0.3641437292, 0.2117004246, -0.4467277825, 0.3404740095, 0.1198474169, -0.4280630946, 0.1824693233, 0.0517599583, 0.7466567159, 0.0798895434, 0.2780212462, 0.0972766355, -0.1122953147, 0.2001173049, 0.1161781773, 0.0565570518, -0.3728869557, -0.4541019201, -0.0988719016, -0.2205425799, -0.134537518, -0.0249406099, -0.2337937057, 0.2817453742, -0.1129783094, 0.3188050985, 0.274310261, 0.048037339, -0.3741956651, -0.3764992654, -0.1209942549, 0.1251865476, -0.1938239634, 0.1358688474, -0.2274900377, 0.0911153406, 0.0849043131, -0.1673949957, -0.439121902, 0.1967898756, -0.4114460945, 0.1381170154, -0.2974178493, -0.3836832643, 0.0877998993, 0.5960645676, 0.2849669755, 0.3604593873, -0.1543026865, 0.0600666888, 0.0793892592, 0.1179443896, 0.024958102, 0.0074552288, 0.1962639689, -0.0806936249, -0.2981881797, -0.0151690254, -0.2781275809, -0.3215303123, -0.1055536345, 0.2862682045, 0.4039052129, -0.3201119602, -0.2076887786, -0.3106458187, 0.0849739909, -0.2798955739, 0.0937029347, 0.0470425822, -0.0756008551, 0.3795401752, -0.3368881643, -0.425712347, -0.1475177705, 0.5242761374, -0.079077132, -0.1337566078, 0.5711378455, -0.0485029556, -0.1785390973, -0.0130321439, 0.1454919577, -0.1009839401, -0.462458998, -0.1003440917, -0.1225365251, 0.1078282446, -0.029106807, 0.1698505282, 0.2787975669, -0.0963102505, 0.0534037836, -0.7581394315, -0.2621001899, -0.1129847094, -0.2311439961, 0.1716352552, 0.1831110716, -0.4405415952, -0.1353047937, -0.2840806246, -0.203002885, 0.0441007577, -0.2147331834, -0.1294415742, 0.2779014409, 0.154557094, -0.001340596, 0.1245135888, -0.0026244703, 0.0926584527, 0.1227548569, -0.1713698655, -0.1237100959, 0.1475240737, 0.1037818864, -0.0917996764, 0.0267537702, -0.3284253776, -0.0735971555, -0.0984259099, 0.3940449953, 0.2593082786, -0.0281576384, 0.0679169372, -0.1276832074, 0.2894711792, -0.2827050388, 0.4151190817, -0.3472835422, -0.0251300745, -0.0133727901, 0.3347693682, -0.1413164884, 0.0541265719, -0.11745359, -0.0824945197, 0.1532541662, 0.0678972974, 0.0646063909, -0.3769121468, 0.085026145, 0.1787576079, 0.0593337528, 0.0623646304, -0.23318322, 0.0148412948, 0.2450501472, 0.1589923799, -0.0922699794, -0.1294877678, -0.0120077264, -0.3234773874, -0.1790443361, 0.3004153967, 0.1639576256, -0.3836256266, 0.1359916031, -0.0324052311, 0.5581638813, -0.2246947289, -0.0577207766, 0.4813490808, -0.2174006104, 0.2738089263, 0.218585968, 0.2596439123, -0.0843797997, 0.5514788032, 0.1820428967, 0.1367382705, -0.0058679264, -0.1720480621, -0.1030526981, -0.6628072858, 0.28002882, 0.0652534962, -0.0736904144, 0.0509437881, -0.0296167657, -0.0086359354, -0.3041151464, -0.0021537442, -0.4382816255, -0.2168946117, -0.1808834672, -0.283659488, 0.0684353933, -0.2338435054, 0.1725392044, 0.0927761719, -0.1707766503, -0.14519687, -0.069977276, -0.0427515879, -0.3035758734, -0.268468231, 0.1116327941, 0.4133677781, -0.2662928104, -0.1926916391, 0.0890493989, 0.0064425515, 0.2395810932, 0.0886423066, 0.0961362123, 0.7200041413, 0.3696607947, -0.186706394, -0.0827123448, 0.2043794394, 0.08498016, -0.1013351902, 0.3095628321, 0.1992664337, 0.1772322208, 0.3453566134, 0.1196848005, -0.124466449, 0.0374585725, 0.0380601026, -0.008947121, -0.0834797546, 0.1873595268, -0.1764346659, -0.168423444, 0.1405667216, 0.1980234534, -0.0727778077, 0.1700269282, 0.2323683053, 0.0627374277, 0.1945085675, -0.1900534481, 0.0200616512, 0.1487799883, 0.3155461252, 0.3503623307, 0.0980699509, -0.2335534841, -0.068358846, -0.5775797367, 0.2545953691, -0.0182250105, -0.3800154626, -0.0322349034, -0.1324881017, -0.3368008435, 0.1061356142, 0.1619229615, -0.1090964749, 0.0555578545, 0.2668960989, -0.1567609012, -0.2936111093, 0.3894377947, -0.0377689339, -0.0781006962, -0.6786634922, 0.0366012938, -0.0887601152, 0.0320076123, -0.1506992131, -0.1666385084, 0.0341500044, -0.0260742661, 0.5437771082, 0.2644129097, 0.4555599689, 0.0078377938, 0.0918127969, -0.562205255, -0.0687982887, -0.1452899277, -0.0336945578, -0.077826038, 0.271348238, -0.2275042981, 0.0414364263, -0.1241922826, 0.1670939773, 0.2662992477, 0.3795417845, -0.0054561738, 0.2279049158, 0.1809432358, 0.1571899056, 0.3478443921, 0.0699722916, -0.0961795077, 0.4460362792, -0.2409338355, -0.342048198, 0.2109487653, -0.3941510618, -0.3340475857, -0.0192074794, 0.3251572549, -0.2549189031, -0.1531336755, -0.2379637361, 0.2061088979, 0.2478395253, -0.1434804201, -0.3868976235, 0.1413453221, -0.1570352912, 0.140291512, -0.0227520186, 0.0342236757, 0.0101351459, -0.225390628, 0.1708674133, -0.2374369949]} |
{"context": "It is a common misconception to ascribe the stiffness and rigidity of solid matter to the repulsion of like charges under the influence of the electromagnetic force. However, these characteristics actually result from the Pauli exclusion principle.[citation needed] Since electrons are fermions, they cannot occupy the same quantum mechanical state as other electrons. When the electrons in a material are densely packed together, there are not enough lower energy quantum mechanical states for them all, so some of them must be in higher energy states. This means that it takes energy to pack them together. While this effect is manifested macroscopically as a structural force, it is technically only the result of the existence of a finite set of electron states.", "question": "How rare is the misconception that solid matter is rigid because of like charges?", "answers.text": ["common"], "answers.answer_start": [8], "feat_id": ["9ed7642d485d2a7db5922fb8a1ccb4d8484c03e7"], "feat_title": ["Force"], "feat_metadata.split": ["validation"], "feat_metadata.model_in_the_loop": ["Combined"], "start_logits": [-8.90625, -11.0546875, -12.0859375, -11.5625, -11.4375, -11.453125, -11.421875, -11.3515625, -11.6015625, -11.515625, -11.59375, -11.4453125, -11.53125, -11.3046875, -11.5703125, -8.90625, -11.3828125, -11.234375, 1.703125, -1.2109375, 3.494140625, 5.234375, -4.046875, -5.84375, -5.1953125, -7.23046875, -6.02734375, -4.53515625, -7.19140625, -4.48046875, -6.99609375, -7.66796875, -5.5625, -6.60546875, -6.2890625, -5.99609375, -4.4609375, -7.41796875, -7.94921875, -5.64453125, -6.23046875, -4.25, -5.95703125, -5.5625, -8.0078125, -6.5, -5.5859375, -5.8359375, -6.17578125, -5.1875, -7.875, -6.265625, -6.515625, -7.0703125, -6.96484375, -8.5390625, -6.98046875, -4.3125, -8.9765625, -6.16796875, -7.16015625, -7.77734375, -5.61328125, -8.3203125, -6.7265625, -8.078125, -7.640625, -7.1484375, -8.8671875, -6.40625, -8.6796875, -8.7890625, -9.078125, -7.65625, -7.75390625, -6.890625, -8.625, -8.5, -7.0078125, -8.4453125, -7.58203125, -9.0546875, -8.5625, -7.6796875, -8.34375, -5.83203125, -8.9765625, -7.51171875, -8.8984375, -9.078125, -7.421875, -8.515625, -5.61328125, -6.6953125, -7.20703125, -8.828125, -7.28125, -9.234375, -7.35546875, -8.3828125, -6.8828125, -8.5390625, -6.98046875, -8.3984375, -7.9921875, -8.671875, -9.1171875, -7.9140625, -9.2578125, -8.703125, -7.625, -9.7421875, -9.6796875, -9.234375, -9.546875, -9.2109375, -8.03125, -8.2734375, -7.59765625, -8.921875, -8.109375, -7.9375, -9.4375, -8.234375, -7.91015625, -7.88671875, -9.21875, -7.328125, -9.5234375, -6.85546875, -8.375, -6.1953125, -8.421875, -8.203125, -8.6015625, -6.4609375, -5.53515625, -8.375, -8.59375, -8.4609375, -8.28125, -8.046875, -6.3671875, -7.9375, -8.703125, -7.64453125, -9.234375, -6.97265625, -8.234375, -8.4921875, -7.515625, -9.25, -8.140625, -6.25390625, -9.234375, -8.203125, -5.203125, -7.9453125, -9.46875, -7.19140625, -7.05078125, -8.1171875, -11.375, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625, -11.2265625], "end_logits": [-8.9765625, -13.0, -12.015625, -12.5703125, -12.65625, -12.65625, -12.671875, -12.734375, -12.515625, -12.609375, -12.546875, -12.671875, -12.578125, -12.78125, -12.546875, -8.9765625, -12.0234375, -12.546875, -4.5078125, -4.01953125, -3.322265625, 5.23828125, 2.37890625, -4.05078125, -7.57421875, -5.05859375, -7.98046875, -4.80859375, -8.1875, -8.359375, -3.201171875, -8.5390625, -6.23828125, -3.291015625, -6.9375, -8.3046875, -8.9140625, -4.62109375, -8.734375, -7.53515625, -3.1484375, -6.68359375, -8.953125, -6.546875, -8.84375, -9.328125, -7.25, -1.8671875, -2.123046875, -5.03515625, -8.1640625, -7.98828125, -6.79296875, -7.08203125, -7.51171875, -9.1015625, -10.2109375, -8.984375, -7.0078125, -6.578125, -5.4296875, -7.33203125, -10.25, -7.06640625, -6.7109375, -6.81640625, -7.90234375, -7.49609375, -9.4140625, -10.21875, -9.9453125, -5.66015625, -8.421875, -9.2734375, -8.21875, -7.4296875, -10.2265625, -9.375, -8.4453125, -8.7265625, -6.375, -9.3828125, -8.765625, -6.28515625, -7.58984375, -7.27734375, -9.4765625, -7.3203125, -9.0390625, -9.875, -7.03125, -9.109375, -5.8515625, -5.9296875, -5.3828125, -8.109375, -9.140625, -9.21875, -8.34375, -7.57421875, -8.2265625, -7.359375, -7.765625, -8.0625, -6.3828125, -8.359375, -8.125, -6.4296875, -8.5, -8.640625, -8.2890625, -9.046875, -8.84375, -9.34375, -9.265625, -9.3203125, -8.7109375, -7.15625, -6.12109375, -8.0625, -8.3359375, -7.93359375, -9.2890625, -9.2734375, -7.99609375, -7.4140625, -8.796875, -6.96875, -8.4765625, -5.73828125, -7.75, -7.08984375, -9.3671875, -8.1484375, -8.9140625, -6.2109375, -8.234375, -9.1796875, -8.78125, -5.34765625, -8.6171875, -9.1015625, -7.078125, -6.21484375, -8.4765625, -9.1328125, -9.1171875, -6.6015625, -7.703125, -9.2265625, -7.83203125, -9.390625, -9.390625, -7.05078125, -9.2890625, -9.53125, -5.3203125, -7.01171875, -8.46875, -7.07421875, -5.81640625, -7.34375, -12.03125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125, -12.8125]} |
{"context": "Breathing pure O2 in space applications, such as in some modern space suits, or in early spacecraft such as Apollo, causes no damage due to the low total pressures used. In the case of spacesuits, the O2 partial pressure in the breathing gas is, in general, about 30 kPa (1.4 times normal), and the resulting O2 partial pressure in the astronaut's arterial blood is only marginally more than normal sea-level O2 partial pressure (for more information on this, see space suit and arterial blood gas).", "question": "Aside from spacecrafts, where else is it safe to breathe in O2 if you are an astronaut?", "answers.text": ["modern space suits"], "answers.answer_start": [57], "feat_id": ["b027c410e3958d9c33447c609d235a19e774dedf"], "feat_title": ["Oxygen"], "feat_metadata.split": ["validation"], "feat_metadata.model_in_the_loop": ["Combined"], "start_logits": [-8.65625, -11.640625, -11.796875, -11.015625, -12.3359375, -11.734375, -11.4609375, -11.828125, -11.7265625, -11.75, -11.7890625, -11.6875, -11.7109375, -11.6015625, -11.1953125, -11.9921875, -11.6171875, -11.75, -11.8125, -11.71875, -11.671875, -8.65625, -11.5546875, -11.3125, -2.486328125, -7.87890625, -7.40625, -5.48046875, -4.57421875, -6.62890625, -0.004283905029296875, 3.119140625, -3.12890625, -7.1171875, -2.091796875, -3.1328125, 2.072265625, 3.525390625, 3.869140625, 4.66796875, -1.40234375, -7.61328125, -6.70703125, -5.41015625, -4.25390625, -3.01953125, -7.6171875, -7.8828125, -2.146484375, -5.95703125, -2.583984375, -4.359375, -5.3046875, -6.24609375, -7.671875, -6.09375, -4.1015625, -6.35546875, -7.43359375, -6.63671875, -6.98046875, -5.15234375, -8.046875, -7.8125, -7.6953125, -1.404296875, -7.30859375, -9.1796875, -8.109375, -6.30078125, -9.8046875, -8.296875, -8.609375, -9.015625, -8.8125, -6.98828125, -8.296875, -9.2890625, -9.1484375, -8.3046875, -8.5859375, -9.90625, -9.1640625, -6.75390625, -7.69921875, -8.6484375, -8.890625, -6.68359375, -9.3125, -9.015625, -9.5, -6.84375, -8.234375, -8.5234375, -7.34375, -7.65625, -5.7890625, -9.8984375, -6.99609375, -7.828125, -7.26171875, -6.24609375, -3.556640625, -8.2578125, -0.712890625, -8.7734375, -6.4375, -9.03125, -7.61328125, -6.4921875, -8.7109375, -8.109375, -1.74609375, -0.705078125, -8.2734375, -5.48828125, -6.0625, -9.375, -7.48828125, -8.0234375, -7.81640625, -7.41796875, -8.2421875, -7.67578125, -9.3671875, -8.90625, -8.9140625, -4.92578125, -0.78564453125, -6.8828125, -7.23046875, -1.955078125, -9.171875, -8.1015625, -8.125, -7.3359375, -11.546875, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375, -11.359375], "end_logits": [-8.5703125, -12.4921875, -12.34375, -13.03125, -11.703125, -12.3984375, -12.6328125, -12.3125, -12.40625, -12.3671875, -12.3359375, -12.4140625, -12.4140625, -12.546875, -12.890625, -12.1484375, -12.5, -12.375, -12.3359375, -12.4296875, -12.4765625, -8.5625, -11.96875, -12.46875, -5.60546875, -7.08984375, -4.17578125, -6.22265625, -9.5625, -3.84765625, -6.4609375, 2.2890625, 2.419921875, -2.62890625, -6.52734375, -7.640625, -6.2578125, -5.03515625, -4.40625, 0.1446533203125, 5.16796875, -1.50390625, -5.2265625, -7.1875, -6.37890625, -2.9921875, -8.03125, -8.9140625, -1.974609375, -5.703125, -5.94140625, -7.6953125, -1.9970703125, -5.984375, -8.078125, -9.0, -6.8125, -7.59375, -5.203125, -3.603515625, -5.2578125, -7.0703125, -9.6015625, -8.421875, -9.8828125, -6.60546875, -1.6904296875, -7.6171875, -9.5703125, -9.625, -7.33203125, -8.5546875, -7.55859375, -9.390625, -9.9453125, -7.3828125, -6.39453125, -9.4765625, -9.6796875, -10.2578125, -8.1328125, -9.7421875, -9.8125, -8.6328125, -9.328125, -5.875, -9.75, -10.078125, -10.8359375, -9.1796875, -9.0078125, -5.87890625, -6.43359375, -9.3125, -9.5703125, -8.0625, -9.734375, -7.22265625, -7.859375, -7.46484375, -9.09375, -10.3359375, -6.0234375, -6.390625, -5.1171875, -3.568359375, -1.1259765625, -8.578125, -8.546875, -7.515625, -9.3125, -9.3359375, -6.87890625, -3.66796875, -7.99609375, -0.350830078125, -8.921875, -3.451171875, -6.11328125, -3.302734375, -7.99609375, -8.484375, -8.6015625, -7.21484375, -9.6875, -9.03125, -8.7265625, -8.8046875, -1.98828125, -1.390625, -7.6640625, -5.85546875, -4.46875, -4.15234375, -2.4375, -4.58984375, -11.9765625, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875, -12.6796875]} |
{"context": "Apollo 8 was planned to be the D mission in December 1968, crewed by McDivitt, Scott and Schweickart, launched on a Saturn V instead of two Saturn IBs. In the summer it had become clear that the LM would not be ready in time. Rather than waste the Saturn V on another simple Earth-orbiting mission, ASPO Manager George Low suggested the bold step of sending Apollo 8 to orbit the Moon instead, deferring the D mission to the next mission in March 1969, and eliminating the E mission. This would keep the program on track. The Soviet Union had sent animals around the Moon on September 15, 1968, aboard Zond 5, and it was believed they might soon repeat the feat with human cosmonauts. The decision was not announced publicly until successful completion of Apollo 7. Gemini veterans Frank Borman and James Lovell, and rookie William Anders captured the world's attention by making 10 lunar orbits in 20 hours, transmitting television pictures of the lunar surface on Christmas Eve, and returning safely to Earth.", "question": "Which of the following is not an astronaut: McDivitt, Low, or Schweickart?", "answers.text": ["Low"], "answers.answer_start": [319], "feat_id": ["03ef658451ce822a2c18e33741c2c14557744ebe"], "feat_title": ["Apollo_program"], "feat_metadata.split": ["validation"], "feat_metadata.model_in_the_loop": ["Combined"], "start_logits": [-7.7890625, -10.84375, -11.15625, -9.4921875, -11.640625, -11.875, -11.7578125, -11.46875, -11.671875, -11.78125, -11.0234375, -11.2890625, -12.1796875, -11.8828125, -11.671875, -11.9609375, -11.6328125, -10.453125, -10.59375, -12.40625, -7.79296875, -10.0625, -11.5859375, -6.97265625, -9.859375, -8.859375, -9.1015625, -7.44921875, -9.1953125, -9.1953125, -8.703125, -7.76171875, -8.0546875, -9.2109375, -7.91015625, -7.1328125, -9.265625, -6.1796875, -9.234375, -8.4921875, -3.80078125, -6.8515625, -7.41796875, -8.9453125, -6.046875, -8.90625, -4.28515625, -7.046875, -7.1484375, -8.1015625, -7.0078125, -9.1640625, -8.65625, -6.86328125, -8.2578125, -8.125, -9.6640625, -7.2578125, -7.26953125, -5.30859375, -8.6015625, -7.828125, -7.3828125, -9.0546875, -7.84765625, -8.0859375, -9.0, -7.83984375, -7.62890625, -9.0546875, -7.70703125, -7.11328125, -8.4609375, -7.96484375, -9.4765625, -7.859375, -8.7421875, -7.28515625, -8.5859375, -5.08203125, -9.6484375, -6.85546875, -8.5078125, -7.40625, -8.8359375, -9.1640625, -8.1640625, -7.171875, -6.390625, -8.8203125, -7.62890625, -9.1484375, -7.19140625, -7.40234375, -3.798828125, -7.48046875, -4.390625, -1.2470703125, 6.27734375, -7.91015625, -8.8125, -7.265625, -7.8203125, -9.484375, -8.1015625, -7.796875, -8.5703125, -8.9609375, -7.609375, -8.65625, -7.91796875, -7.6953125, -9.1484375, -7.51171875, -9.6484375, -9.0078125, -8.625, -8.3828125, -9.4453125, -8.734375, -8.2890625, -8.328125, -9.2109375, -8.2578125, -7.60546875, -9.3359375, -9.1953125, -7.046875, -8.0859375, -7.37890625, -7.1875, -8.8515625, -7.8125, -8.9921875, -7.51171875, -9.3359375, -8.3671875, -8.6796875, -7.6953125, -8.7734375, -8.046875, -7.94140625, -8.8515625, -9.0703125, -8.625, -7.9375, -8.5234375, -9.2265625, -8.46875, -9.1953125, -8.2890625, -8.2578125, -9.296875, -8.4921875, -9.1875, -8.8828125, -7.51953125, -9.2890625, -8.59375, -9.28125, -8.9765625, -8.65625, -9.3984375, -8.3046875, -9.046875, -8.578125, -7.97265625, -7.84375, -9.1015625, -8.28125, -9.90625, -6.48046875, -5.6875, -8.109375, -8.2109375, -8.875, -8.1875, -7.98046875, -9.1796875, -8.34375, -7.640625, -7.8515625, -8.9296875, -7.671875, -7.671875, -9.453125, -8.265625, -8.2734375, -9.09375, -7.52734375, -6.65234375, -7.0, -6.28125, -8.125, -8.7578125, -7.328125, -6.6328125, -8.3125, -8.953125, -8.75, -6.30078125, -6.7578125, -6.1875, -7.65234375, -9.3359375, -7.98046875, -9.5625, -7.76953125, -9.4140625, -8.15625, -8.953125, -8.25, -7.78125, -9.625, -8.53125, -8.125, -9.4609375, -6.90234375, -7.62890625, -7.89453125, -9.78125, -9.34375, -8.703125, -8.2890625, -9.484375, -8.171875, -8.046875, -9.7109375, -9.3828125, -7.03125, -8.1640625, -9.171875, -7.69140625, -8.5, -10.0546875, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375, -11.4375], "end_logits": [-8.234375, -12.609375, -12.5234375, -10.7109375, -12.4609375, -12.3515625, -12.4609375, -12.71875, -12.5078125, -12.4765625, -13.015625, -12.6328125, -11.671875, -12.390625, -12.375, -12.296875, -12.6171875, -13.4453125, -13.1171875, -11.5859375, -8.234375, -10.640625, -12.265625, -9.265625, -7.4453125, -8.5390625, -9.8359375, -8.109375, -9.765625, -9.7265625, -10.265625, -8.640625, -7.7734375, -10.0, -8.9765625, -7.49609375, -9.40625, -9.15625, -7.1875, -9.6953125, -8.3984375, -8.8359375, -4.5390625, -8.484375, -5.75390625, -9.671875, -8.84375, -8.734375, -4.97265625, -8.2265625, -7.703125, -9.453125, -9.96875, -7.99609375, -7.26171875, -8.5859375, -9.6484375, -8.6796875, -8.25, -9.2109375, -6.0078125, -8.78125, -8.6953125, -10.234375, -7.609375, -9.65625, -9.7890625, -8.3046875, -7.8046875, -9.796875, -9.8203125, -7.66015625, -9.234375, -8.6171875, -9.53125, -7.66015625, -9.6796875, -7.3671875, -9.0234375, -7.19921875, -8.75, -8.2421875, -9.9296875, -9.0, -7.96875, -9.609375, -9.2421875, -8.1484375, -8.6015625, -10.5, -10.7578125, -7.1796875, -7.42578125, -8.109375, -7.15234375, -5.609375, -6.50390625, -5.9296875, 5.81640625, -2.375, -4.6484375, -8.375, -5.62109375, -8.5546875, -7.7265625, -8.140625, -7.21484375, -9.3203125, -8.03125, -9.6953125, -6.6953125, -6.30859375, -8.578125, -9.203125, -7.45703125, -9.7890625, -8.4921875, -7.578125, -9.5625, -9.96875, -8.6875, -7.44140625, -9.5390625, -8.796875, -6.90625, -8.6328125, -9.375, -7.74609375, -10.03125, -7.95703125, -6.91015625, -8.9765625, -8.0234375, -9.5859375, -8.2734375, -9.453125, -8.0078125, -9.875, -6.59375, -8.1015625, -7.7265625, -7.53125, -6.953125, -8.453125, -7.74609375, -7.734375, -8.0546875, -9.1875, -7.04296875, -8.7265625, -8.203125, -8.0390625, -8.6328125, -7.41015625, -8.4453125, -8.2109375, -9.3828125, -8.1640625, -7.03515625, -8.65625, -9.015625, -9.5390625, -9.140625, -7.65625, -9.1640625, -8.046875, -7.30859375, -7.625, -9.78125, -7.85546875, -9.1796875, -6.83984375, -8.671875, -9.3671875, -5.078125, -8.8515625, -8.6796875, -8.0625, -9.25, -8.2734375, -7.90625, -7.3359375, -8.8203125, -7.6015625, -7.28515625, -9.0625, -8.5078125, -7.7265625, -8.734375, -7.55078125, -6.296875, -8.3671875, -8.3046875, -6.26953125, -8.7890625, -8.2265625, -8.5546875, -6.58984375, -8.0078125, -8.7578125, -6.734375, -7.91796875, -6.13671875, -7.42578125, -9.6015625, -7.71875, -8.3125, -7.19921875, -8.8359375, -7.98828125, -8.7421875, -7.55859375, -7.10546875, -9.390625, -9.046875, -7.578125, -8.921875, -7.0703125, -7.52734375, -7.31640625, -9.25, -9.578125, -8.46875, -7.48828125, -9.234375, -8.0625, -7.26953125, -9.3984375, -9.4375, -7.25390625, -7.5234375, -8.7265625, -7.24609375, -8.65625, -10.6171875, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625, -12.7890625]} |
{"context": "Warsaw's first stock exchange was established in 1817 and continued trading until World War II. It was re-established in April 1991, following the end of the post-war communist control of the country and the reintroduction of a free-market economy. Today, the Warsaw Stock Exchange (WSE) is, according to many indicators, the largest market in the region, with 374 companies listed and total capitalization of 162 584 mln EUR as of 31 August 2009. From 1991 until 2000, the stock exchange was, ironically, located in the building previously used as the headquarters of the Polish United Workers' Party (PZPR).", "question": "What was reappropriated for use?", "answers.text": ["headquarters of the Polish United Workers' Party"], "answers.answer_start": [553], "feat_id": ["76705b13e17014f30c39c9bc440b0850f8f0b761"], "feat_title": ["Warsaw"], "feat_metadata.split": ["validation"], "feat_metadata.model_in_the_loop": ["Combined"], "start_logits": [-8.6953125, -11.1796875, -11.515625, -11.1015625, -11.3125, -11.7734375, -11.375, -11.5, -8.6953125, -11.34375, -11.2265625, -0.2052001953125, -6.0703125, -5.85546875, -2.12890625, -1.1025390625, -4.796875, -7.53125, -5.921875, -7.72265625, -6.30859375, -7.46875, -8.0859375, -5.66796875, -5.6015625, -7.65234375, -6.50390625, -8.1953125, -5.7265625, -6.53515625, -2.72265625, -6.35546875, -3.765625, -8.703125, -7.1171875, -6.22265625, -6.81640625, -4.8203125, -7.76171875, -5.0703125, -5.63671875, -5.1875, -8.7734375, -5.6484375, -4.1875, -8.9921875, -8.1796875, -3.44921875, -5.421875, -8.8046875, -7.0859375, -6.39453125, -8.78125, -5.5, -5.171875, -8.859375, -9.3515625, -6.3828125, -4.62890625, -9.078125, -8.09375, -5.5703125, -7.5234375, -4.625, -8.3359375, -1.9794921875, -0.06268310546875, -5.0390625, -5.57421875, -5.46484375, -3.12890625, -7.15625, -7.41796875, -7.7578125, -9.5, -8.53125, -10.2421875, -8.671875, -8.109375, -9.71875, -7.203125, -7.2890625, -6.30859375, -8.7890625, -8.59375, -7.66015625, -9.8046875, -9.1328125, -6.5546875, -6.63671875, -7.02734375, -9.5859375, -7.3828125, -5.734375, -8.3671875, -9.6015625, -5.81640625, -8.8046875, -8.90625, -7.9375, -9.5859375, -5.00390625, -8.375, -9.984375, -7.3515625, -8.8984375, -5.421875, -6.34765625, -0.3369140625, -4.89453125, -5.4140625, -4.875, -4.1015625, 0.121826171875, -2.04296875, -6.3125, -3.59765625, -4.87109375, -2.2421875, -6.984375, -0.8193359375, 0.06304931640625, 3.73828125, 2.1171875, -0.31396484375, -0.568359375, -2.177734375, 2.02734375, 1.62109375, -7.74609375, -0.343017578125, 2.072265625, -2.896484375, -4.484375, -7.53125, -4.52734375, -3.09765625, 0.1328125, -6.80078125, -5.88671875, -4.70703125, -11.3359375, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125, -11.203125], "end_logits": [-8.8828125, -12.734375, -12.4375, -12.8359375, -12.640625, -12.2578125, -12.6171875, -12.5078125, -8.8828125, -11.9453125, -12.5, -6.359375, -3.392578125, -4.25, -5.80859375, -3.8671875, -0.6484375, -7.71875, -6.6171875, -10.3125, -9.7890625, -5.9453125, -9.5703125, -8.125, -6.21484375, -9.9453125, -8.3203125, -7.65625, -5.23828125, -7.9921875, -6.5078125, -8.984375, -8.7578125, -9.40625, -5.0, -9.578125, -9.359375, -4.85546875, -7.34765625, -8.0703125, -9.2421875, -8.0546875, -9.859375, -9.6875, -8.8828125, -10.078125, -7.0703125, -4.36328125, -4.6796875, -9.2734375, -9.3125, -5.68359375, -9.7890625, -9.3359375, -10.515625, -8.203125, -9.9609375, -9.953125, -8.09375, -9.84375, -7.00390625, -4.34375, -7.203125, -5.87890625, -8.078125, -6.3515625, -4.9921875, -4.1015625, -0.6884765625, -8.5, -8.359375, -3.1171875, -3.255859375, -8.1015625, -9.0546875, -9.546875, -10.3203125, -9.78125, -7.47265625, -9.7890625, -10.0859375, -8.765625, -5.07421875, -9.4453125, -9.171875, -6.171875, -8.984375, -10.03125, -8.15625, -5.8359375, -6.5859375, -10.28125, -9.65625, -8.3984375, -6.08984375, -9.921875, -8.3125, -10.6796875, -9.40625, -10.171875, -8.75, -4.78515625, -10.2578125, -9.8125, -9.03125, -8.8203125, -6.26953125, -7.83203125, -6.65234375, -5.12109375, -10.0390625, -5.28515625, -8.078125, -6.1875, -5.61328125, -1.212890625, -7.00390625, -9.390625, -5.7890625, -7.39453125, -5.3125, -6.3203125, -4.62890625, 0.92578125, -3.111328125, -3.576171875, -6.265625, -5.9765625, -0.432861328125, -7.01953125, -6.42578125, -3.25, -4.609375, -5.63671875, -4.8125, 3.177734375, -6.4453125, -6.88671875, -7.81640625, 0.73095703125, 3.470703125, -11.953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125, -12.6953125]} |
{"q_id": "23odws", "title": "what's happening when i realise i'm asleep during a dream?", "selftext": "", "document": "", "subreddit": "explainlikeimfive", "url": "http://www.reddit.com/r/explainlikeimfive/comments/23odws/eli5_whats_happening_when_i_realise_im_asleep/", "answers": {"a_id": ["cgyyrca"], "score": [4], "text": ["What you're experiencing is something a lot of people try to do but can't. It's called a lucid dream. Once you realize you're in a dream, you usually have control over whatever happens. There are different levels of a lucid dream depending on how deep asleep you are. No one is quite sure as to how we reach this type of dreaming, but a lot of people think they need to be completely relaxed and have some sort of meditation just before they fall asleep. Many people experience them without even trying. Nothing will happen to you so don't be scared if it happens. However, in my experience, it may be more difficult to wake up from the dream, especially if it turns into a nightmare. Enjoy the dream but be prepared for anything."]}, "title_urls": [], "selftext_urls": [], "answers_urls": [[]]} |
{"q_id": "b3067u", "title": "where do all the $300+ million contracts and general wealth come from in baseball?", "selftext": "", "document": "", "subreddit": "explainlikeimfive", "url": "https://www.reddit.com/r/explainlikeimfive/comments/b3067u/eli5_where_do_all_the_300_million_contracts_and/", "answers": {"a_id": ["eiw5r8q"], "score": [5], "text": ["Teams make money from TV deals, selling merch, some game day tickets, and sometimes money from the local government.\n\nTeams such as the Red Sox and Yankees are huge money makers because they're huge world wide brands."]}, "title_urls": [], "selftext_urls": [], "answers_urls": [[]]} |
{"q_id": "dc4f64", "title": "what are the benefits of sleeping with a pillow compared to just being completely flat on your bed.", "selftext": "", "document": "", "subreddit": "explainlikeimfive", "url": "https://www.reddit.com/r/explainlikeimfive/comments/dc4f64/eli5_what_are_the_benefits_of_sleeping_with_a/", "answers": {"a_id": ["f25xa03", "f25xiq7"], "score": [8, 17], "text": ["Spine alignment and prevention of loss of circulation on your arms. \n\nMany people sleep on their sides so you can imagine how having your neck fall sideways to your spine can start to cause problems.", "Without a pillow your head will in most positions be slightly lower than your spine. Which leads to tension in your neck muscles which can feel uncomfortable. It can lead to a stiff neck and backpain."]}, "title_urls": [], "selftext_urls": [], "answers_urls": [[], []]} |
{"q_id": "5qgq6o", "title": "how can a metal conducting electricity not conduct heat?", "selftext": "Isn't heat a form of dissipation of electricity, and not having heat means having perfect efficiency?", "document": "", "subreddit": "explainlikeimfive", "url": "https://www.reddit.com/r/explainlikeimfive/comments/5qgq6o/eli5how_can_a_metal_conducting_electricity_not/", "answers": {"a_id": ["dcz2uli"], "score": [2], "text": ["OP if you read the thread on the announcement that was posted on Reddit there's a great explanation for this from /u/lagerbaer\n\n\n_URL_0_"]}, "title_urls": [], "selftext_urls": [], "answers_urls": [["https://www.reddit.com/r/science/comments/5qef56/scientists_discover_metal_that_conducts/?utm_content=comments&utm_medium=hot&utm_source=reddit&utm_name=all"]]} |
{"q_id": "3sgrfp", "title": "why can certain foods (like meat and dairy products) be cooked at high temperatures with no adverse affects, but spoil when left out at room temperature?", "selftext": "", "document": "", "subreddit": "explainlikeimfive", "url": "https://www.reddit.com/r/explainlikeimfive/comments/3sgrfp/eli5_why_can_certain_foods_like_meat_and_dairy/", "answers": {"a_id": ["cwx1ztq"], "score": [4], "text": ["Because spoilage is caused by the growth of microorganisms in the food. Cooking the food at high temperatures kills microorganisms and makes it easier for us to digest. Leaving them out at room temperature provides microorganisms with a yummy meal at the temperature they like to grow at."]}, "title_urls": [], "selftext_urls": [], "answers_urls": [[]]} |
{"q_id": "1mbmc8", "title": "why do we say \"turn up the volume\" instead of \"increase amplitude\"? and why when turning up the volume in audio players doesn't seem to do so linearly?", "selftext": "", "document": "", "subreddit": "explainlikeimfive", "url": "http://www.reddit.com/r/explainlikeimfive/comments/1mbmc8/eli5_why_do_we_say_turn_up_the_volume_instead_of/", "answers": {"a_id": ["cc7mwoo"], "score": [6], "text": [" > Why do we say \"turn up the volume\" instead of \"increase amplitude\"?\n\nBecause, until very recently, all audio equipment increased volume by physically turning a knob. It's the same reason that you \"roll down\" the window in a car.\n\n > And why when turning up the volume in audio players doesn't seem to do so linearly?\n\nHuman hearing perceives logarithmic increases in volume as sounding \"linear\". If the volume is *actually* linear, it won't sound like it to our ears."]}, "title_urls": [], "selftext_urls": [], "answers_urls": [[]]} |
{"q_id": "1q4zpa", "title": "i know there are a lot of tech savvy people on reddit. i listen to people bitch about obamacare all day long, so i am not interested in the politics. there are plenty of of other websites for that. my question is \"why isn't the _url_0_ website working like it supposed to?\"", "selftext": "", "document": "", "subreddit": "explainlikeimfive", "url": "http://www.reddit.com/r/explainlikeimfive/comments/1q4zpa/eli5_i_know_there_are_a_lot_of_tech_savvy_people/", "answers": {"a_id": ["cd98cd8"], "score": [2], "text": ["Bad design bad programing bad hardware "]}, "title_urls": ["healthcare.gov"], "selftext_urls": [], "answers_urls": [[]]} |
{"answers": {"answer_start": [358], "text": ["E3 2017"]}, "context": "Beyond Good and Evil 2 Beyond Good and Evil 2 is an upcoming action-adventure video game developed by Ubisoft Montpellier and published by Ubisoft. It is a prequel to \"Beyond Good & Evil\" released in 2003. Its development was characterized in the media by uncertainty, doubt and rumors about the game's future, until it was officially announced at Ubisoft's E3 2017 conference, although no release window or target platform has been revealed. \"Beyond Good and Evil 2\" is an action-adventure game set in an open world environment and played from a third-person perspective which takes place at least one generation </s> 4th Survivor\" and \"The To-fu Survivor\". In both of these minigames, the player must reach the goal while fighting every enemy along the way with only the default item loadout. All later versions (except the Nintendo 64 version) add a third minigame, \"Extreme Battle\", which consists of four playable characters and three stages. On September 29, 1998, two months after the events of the first \"Resident Evil\", most citizens of the Midwestern American mountain community Raccoon City have been transformed into zombies by the T-virus, a biological weapon secretly developed by the pharmaceutical company Umbrella. Leon S. Kennedy, a police </s> The first of the two newly announced DLC titled \"Call of the Tenebrae\" was released on June 15, 2017 and it \"focuses on the Hero's return to Antaloor, where he witnesses the shocking murder of DarPha. The killers are a never-before-seen tribe of hideous, rat-like creatures known only as 'The Chosen.' who control a mysterious, powerful new magic. Their genocidal plot threatens every living creature in Antaloor, and it's up to the Hero to find a way to stop them.\" Thanks to the new engine, players can \"expect to experience Antaloor like never before with the new engine update for", "id": 1, "question": "when was beyond good and evil 2 announced", "title": "None"} |
{"answers": {"answer_start": [665], "text": ["calorie"]}, "context": "However \"energy density\" is a misleading term for it once again assumes that energy is IN the particular food, whereas it simply means that \"high density\" food needs more oxygen during respiration, leading to greater transfer of energy. Note that the following standardized table of energy densities is an approximation and the value in kJ/g does not convert exactly to kcal/g using a conversion factor. The use of such a simple system has been criticized for not taking into consideration other factors pertaining to the influence of different foods on obesity. All the other nutrients in food are noncaloric and </s> world, natural gas is sold in gigajoules. The calorie equals the amount of thermal energy necessary to raise the temperature of one gram of water by 1 Celsius degree, from a temperature of 14.5 degrees Celsius, at a pressure of 1 atm. For thermochemistry a calorie of 4.184 J is used, but other calories have also been defined, such as the International Steam Table calorie of 4.1868 J. Food energy is measured in large calories or kilocalories, often simply written capitalized as \"Calories\" (= 10 calories). In physics and chemistry, it is still common to measure energy on the atomic </s> additional kilojoules figure is optional and is rarely used. In Australia and New Zealand, the food energy must be stated in kilojoules (and optionally in kilocalories as well), and other nutritional energy information is similarly conveyed in kilojoules. The energy available from the respiration of food is usually given on labels for 100 g, for a typical serving size (according to the manufacturer), and/or for the entire pack contents. The amount of food energy associated with a particular food could be measured by completely burning the dried food in a bomb calorimeter, a method known as direct calorimetry. However, the", "id": 1, "question": "the unit of energy used to quantify the amount of energy in food is", "title": "None"} |
{"answers": {"answer_start": [1541], "text": ["Snowball II"]}, "context": "the series, Homer's everyday clothing consists of a white shirt with short sleeves and open collar, blue pants, and gray shoes. He is overweight and bald, except for a fringe of hair around the back and sides of his head and two curling hairs on top, and his face always sports a growth of beard stubble that instantly regrows whenever he shaves. The entire Simpson family was designed so that they would be recognizable in silhouette. The family was crudely drawn because Groening had submitted basic sketches to the animators, assuming they would clean them up; instead, they just traced </s> Marge's older twin sisters. They are apparently in their mid-to-late 40s, since Selma has gone through menopause and they were shown as teenagers in flashbacks while Marge was still a small child. They work at the Springfield Department of Motor Vehicles, and possess a strong dislike for their brother-in-law, Homer. Selma is the elder by two minutes, possesses a strong desire for family, and has been married and divorced six times, and also sought to have a child on numerous occasions despite her age. Her sister, Patty, is one of the show's few openly gay (or bisexual, as she once </s> series, which debuted on Fox in the U.S. on December 17, 1989. Alongside the five main family members, there are a number of other major and minor characters in their family. The most commonly recurring characters are Homer's father Abraham \"Grampa\" Simpson; Marge's sisters Patty and Selma Bouvier; and the family's two pets, Santa's Little Helper and Snowball II. Other family members include Homer's mother Mona Simpson, Homer's half-brother Herbert Powell, Marge's mother Jacqueline Bouvier, and other minor relatives. Groening conceived of the idea for the Simpsons in the lobby of James L. Brooks's office. Brooks had asked Groening to", "id": 1, "question": "what is the name of the simpson 's cat", "title": "None"} |
{"answers": {"answer_start": [1633], "text": ["chemical reaction"]}, "context": "solvent cannot enter active site. In the end, the active site may manipulate the Molecular orbital of the substrate into a suitable orientation to reduce activation energy. The electrostatic states of substrate and active site must be complementary to each other. A polarized negatively charged amino acid side chain will repel uncharged substrate. But if the transition state involves the formation of a ion centre then the side chain will now produce a favourable interaction. Many enzymes including serine protease, cysteine protease, protein kinase and phosphatase evolved to form transient covalent bonds between them and their substrates to lower the </s> DIFP, so the serine side chain is no longer available to the substrate. Identification of active sites is crucial in the process of drug discovery. The 3-D structure of the enzyme is analysed to identify active site residues and design drugs which can fit into them. Proteolytic enzymes are targets for some drugs, such as protease inhibitors, which include drugs against AIDS and hypertension. These protease inhibitors bind to an enzyme's active site and block interaction with natural substrates. An important factor in drug design is the strength of binding between the active site and an enzyme inhibitor. If the </s> incur catalysis by binding more strongly to transition states than substrates and products. At the catalytic binding site, a number of different interactions may act upon the substrate. These range from electric catalysis, acid and base catalysis, covalent catalysis, and metal ion catalysis. These interactions decrease the activation energy of a chemical reaction by providing favorable interactions to stabilize the high energy molecule. Enzyme binding allows for closer proximity and exclusion of substances irrelevant to the reaction. Side reactions are also discouraged by this specific binding. Types of enzymes that can perform these actions include oxidoreductases, transferases, hydrolases, lyases, isomerases,", "id": 1, "question": "what is the role of the active site in enzyme catalysed reactions", "title": "None"} |
{"answers": {"answer_start": [862], "text": ["25"]}, "context": "with the Australian Classification of Health Interventions (ACHI), Australian Coding Standards (ACS). Clinical coding is a specialised skill requiring excellent knowledge of medical terminology and disease processes, attention to detail, and analytical skills. A clinical coder is responsible for abstracting relevant information from the medical record and deciding which diagnoses and procedures meet criteria for coding as per Australian and State Coding Standards. The coder then assigns codes for these diagnoses and procedures based on ICD-10-AM conventions and standards. The assigned codes and other patient data are processed by grouper software to determine a diagnosis-related group (DRG) for the episode </s> Major Diagnostic Category The Major Diagnostic Categories (MDC) are formed by dividing all possible principal diagnoses (from ICD-9-CM) into 25 mutually exclusive diagnosis areas. MDC codes, like diagnosis-related group (DRG) codes, are primarily a claims and administrative data element unique to the United States medical care reimbursement system. DRG codes also are mapped, or grouped, into MDC codes. The diagnoses in each MDC correspond to a single organ system or cause and, in general, are associated with a particular medical specialty. MDC 1 to MDC 23 are grouped according to principal diagnoses. Patients are assigned to MDC 24 (Multiple Significant </s> its reliability beyond the previous version. There are important methodological problems that limit the generalisability of most reliability studies. Each reliability study is constrained by the training and supervision of the interviewers, their motivation and commitment to diagnostic accuracy, their prior skill, the homogeneity of the clinical setting in regard to patient mix and base rates, and the methodological rigor achieved by the investigator ... In 1987, the DSM-III-R was published as a revision of the DSM-III, under the direction of Spitzer. Categories were renamed and reorganized, and significant changes in criteria were made. Six categories were deleted while others", "id": 1, "question": "how many major diagnostic categories are there in the ms-drg system", "title": "None"} |
{"code": "'use strict';\n\nvar clear = require('es5-ext/array/#/clear')\n , eIndexOf = require('es5-ext/array/#/e-index-of')\n , setPrototypeOf = require('es5-ext/object/set-prototype-of')\n , callable = require('es5-ext/object/valid-callable')\n , d = require('d')\n , ee = require('event-emitter')\n , Symbol = require('es6-symbol')\n , iterator = require('es6-iterator/valid-iterable')\n , forOf = require('es6-iterator/for-of')\n , Iterator = require('./lib/iterator')\n , isNative = require('./is-native-implemented')\n\n , call = Function.prototype.call, defineProperty = Object.defineProperty\n , SetPoly, getValues;\n\nmodule.exports = SetPoly = function (/*iterable*/) {\n\tvar iterable = arguments[0];\n\tif (!(this instanceof SetPoly)) return new SetPoly(iterable);\n\tif (this.__setData__ !== undefined) {\n\t\tthrow new TypeError(this + \" cannot be reinitialized\");\n\t}\n\tif (iterable != null) iterator(iterable);\n\tdefineProperty(this, '__setData__', d('c', []));\n\tif (!iterable) return;\n\tforOf(iterable, function (value) {\n\t\tif (eIndexOf.call(this, value) !== -1) return;\n\t\tthis.push(value);\n\t}, this.__setData__);\n};\n\nif (isNative) {\n\tif (setPrototypeOf) setPrototypeOf(SetPoly, Set);\n\tSetPoly.prototype = Object.create(Set.prototype, {\n\t\tconstructor: d(SetPoly)\n\t});\n}\n\nee(Object.defineProperties(SetPoly.prototype, {\n\tadd: d(function (value) {\n\t\tif (this.has(value)) return this;\n\t\tthis.emit('_add', this.__setData__.push(value) - 1, value);\n\t\treturn this;\n\t}),\n\tclear: d(function () {\n\t\tif (!this.__setData__.length) return;\n\t\tclear.call(this.__setData__);\n\t\tthis.emit('_clear');\n\t}),\n\tdelete: d(function (value) {\n\t\tvar index = eIndexOf.call(this.__setData__, value);\n\t\tif (index === -1) return false;\n\t\tthis.__setData__.splice(index, 1);\n\t\tthis.emit('_delete', index, value);\n\t\treturn true;\n\t}),\n\tentries: d(function () { return new Iterator(this, 'key+value'); }),\n\tforEach: d(function (cb/*, thisArg*/) {\n\t\tvar thisArg = arguments[1], iterator, result, value;\n\t\tcallable(cb);\n\t\titerator = this.values();\n\t\tresult = iterator._next();\n\t\twhile (result !== undefined) {\n\t\t\tvalue = iterator._resolve(result);\n\t\t\tcall.call(cb, thisArg, value, value, this);\n\t\t\tresult = iterator._next();\n\t\t}\n\t}),\n\thas: d(function (value) {\n\t\treturn (eIndexOf.call(this.__setData__, value) !== -1);\n\t}),\n\tkeys: d(getValues = function () { return this.values(); }),\n\tsize: d.gs(function () { return this.__setData__.length; }),\n\tvalues: d(function () { return new Iterator(this); }),\n\ttoString: d(function () { return '[object Set]'; })\n}));\ndefineProperty(SetPoly.prototype, Symbol.iterator, d(getValues));\ndefineProperty(SetPoly.prototype, Symbol.toStringTag, d('c', 'Set'));\n", "repo_name": "Socratacom/socrata-europe", "path": "wp-content/themes/sage/node_modules/asset-builder/node_modules/main-bower-files/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/unique-stream/node_modules/es6-set/polyfill.js", "language": "JavaScript", "license": "gpl-2.0", "size": 2730} |
{"code": "'use strict';\n\nconst TYPE = Symbol.for('type');\n\nclass Data {\n\n constructor(options) {\n // File details\n this.filepath = options.filepath;\n\n // Type\n this[TYPE] = 'data';\n\n // Data\n Object.assign(this, options.data);\n }\n}\n\nmodule.exports = Data;\n", "repo_name": "mshick/velvet", "path": "core/classes/data.js", "language": "JavaScript", "license": "isc", "size": 266} |
{"code": "package sodium\n\n// #cgo pkg-config: libsodium\n// #include <stdlib.h>\n// #include <sodium.h>\nimport \"C\"\n\nfunc RuntimeHasNeon() bool {\n\treturn C.sodium_runtime_has_neon() != 0\n}\n\nfunc RuntimeHasSse2() bool {\n\treturn C.sodium_runtime_has_sse2() != 0\n}\n\nfunc RuntimeHasSse3() bool {\n\treturn C.sodium_runtime_has_sse3() != 0\n}\n", "repo_name": "GoKillers/libsodium-go", "path": "sodium/runtime.go", "language": "GO", "license": "isc", "size": 322} |
{"code": "\nfunction collectWithWildcard(test) {\n\ttest.expect(4);\n\n\tvar api_server = new Test_ApiServer(function handler(request, callback) {\n\t\tvar url = request.url;\n\n\t\tswitch (url) {\n\t\t\tcase '/accounts?username=chariz*':\n\t\t\t\tlet account = new Model_Account({\n\t\t\t\t\tusername: 'charizard'\n\t\t\t\t});\n\n\t\t\t\treturn void callback(null, [\n\t\t\t\t\taccount.redact()\n\t\t\t\t]);\n\n\t\t\tdefault:\n\t\t\t\tlet error = new Error('Invalid url: ' + url);\n\n\t\t\t\treturn void callback(error);\n\t\t}\n\t});\n\n\tvar parameters = {\n\t\tusername: 'chariz*'\n\t};\n\n\tfunction handler(error, results) {\n\t\ttest.equals(error, null);\n\t\ttest.equals(results.length, 1);\n\n\t\tvar account = results[0];\n\n\t\ttest.equals(account.get('username'), 'charizard');\n\t\ttest.equals(account.get('type'), Enum_AccountTypes.MEMBER);\n\n\t\tapi_server.destroy();\n\n\t\ttest.done();\n\t}\n\n\tResource_Accounts.collect(parameters, handler);\n}\n\nmodule.exports = {\n\tcollectWithWildcard\n};\n", "repo_name": "burninggarden/burninggarden", "path": "test/unit/resource/accounts.js", "language": "JavaScript", "license": "isc", "size": 886} |
{"code": "<?php\n\ninterface Container {\n /**\n * Checks if a $x exists.\n *\n * @param unknown $x\n *\n * @return boolean\n */\n function contains($x);\n}", "repo_name": "guide42/php-immutable", "path": "src/base.php", "language": "PHP", "license": "isc", "size": 165} |
{"code": "angular.module('appTesting').service(\"LoginLocalStorage\", function () {\n \"use strict\";\n\n var STORE_NAME = \"login\";\n\n var setUser = function setUser(user) {\n localStorage.setItem(STORE_NAME, JSON.stringify(user));\n }\n\n var getUser = function getUser() {\n var storedTasks = localStorage.getItem(STORE_NAME);\n if (storedTasks) {\n return JSON.parse(storedTasks);\n }\n return {};\n }\n\n return {\n setUser: setUser,\n getUser: getUser\n }\n});", "repo_name": "pikachumetal/cursoangular05", "path": "app/loginModule/services/localstorage.js", "language": "JavaScript", "license": "isc", "size": 515} |
{"code": "/* eslint-disable no-console */\nconst buildData = require('./build_data');\nconst buildSrc = require('./build_src');\nconst buildCSS = require('./build_css');\n\nlet _currBuild = null;\n\n// if called directly, do the thing.\nbuildAll();\n\n\nfunction buildAll() {\n if (_currBuild) return _currBuild;\n\n return _currBuild =\n Promise.resolve()\n .then(() => buildCSS())\n .then(() => buildData())\n .then(() => buildSrc())\n .then(() => _currBuild = null)\n .catch((err) => {\n console.error(err);\n _currBuild = null;\n process.exit(1);\n });\n}\n\nmodule.exports = buildAll;\n", "repo_name": "kartta-labs/iD", "path": "build.js", "language": "JavaScript", "license": "isc", "size": 591} |
{"code": "function LetterProps(o, sw, sc, fc, m, p) {\r\n this.o = o;\r\n this.sw = sw;\r\n this.sc = sc;\r\n this.fc = fc;\r\n this.m = m;\r\n this.p = p;\r\n this._mdf = {\r\n o: true,\r\n sw: !!sw,\r\n sc: !!sc,\r\n fc: !!fc,\r\n m: true,\r\n p: true,\r\n };\r\n}\r\n\r\nLetterProps.prototype.update = function (o, sw, sc, fc, m, p) {\r\n this._mdf.o = false;\r\n this._mdf.sw = false;\r\n this._mdf.sc = false;\r\n this._mdf.fc = false;\r\n this._mdf.m = false;\r\n this._mdf.p = false;\r\n var updated = false;\r\n\r\n if (this.o !== o) {\r\n this.o = o;\r\n this._mdf.o = true;\r\n updated = true;\r\n }\r\n if (this.sw !== sw) {\r\n this.sw = sw;\r\n this._mdf.sw = true;\r\n updated = true;\r\n }\r\n if (this.sc !== sc) {\r\n this.sc = sc;\r\n this._mdf.sc = true;\r\n updated = true;\r\n }\r\n if (this.fc !== fc) {\r\n this.fc = fc;\r\n this._mdf.fc = true;\r\n updated = true;\r\n }\r\n if (this.m !== m) {\r\n this.m = m;\r\n this._mdf.m = true;\r\n updated = true;\r\n }\r\n if (p.length && (this.p[0] !== p[0] || this.p[1] !== p[1] || this.p[4] !== p[4] || this.p[5] !== p[5] || this.p[12] !== p[12] || this.p[13] !== p[13])) {\r\n this.p = p;\r\n this._mdf.p = true;\r\n updated = true;\r\n }\r\n return updated;\r\n};\r\n", "repo_name": "damienmortini/dlib", "path": "node_modules/lottie-web/player/js/utils/text/LetterProps.js", "language": "JavaScript", "license": "isc", "size": 1212} |
{"code": "System.register([\"angular2/test_lib\", \"angular2/src/test_lib/test_bed\", \"angular2/src/core/annotations_impl/annotations\", \"angular2/src/core/annotations_impl/view\", \"angular2/src/core/compiler/dynamic_component_loader\", \"angular2/src/core/compiler/element_ref\", \"angular2/src/directives/if\", \"angular2/src/render/dom/direct_dom_renderer\", \"angular2/src/dom/dom_adapter\"], function($__export) {\n \"use strict\";\n var AsyncTestCompleter,\n beforeEach,\n ddescribe,\n xdescribe,\n describe,\n el,\n dispatchEvent,\n expect,\n iit,\n inject,\n beforeEachBindings,\n it,\n xit,\n TestBed,\n Component,\n View,\n DynamicComponentLoader,\n ElementRef,\n If,\n DirectDomRenderer,\n DOM,\n ImperativeViewComponentUsingNgComponent,\n ChildComp,\n DynamicallyCreatedComponentService,\n DynamicComp,\n DynamicallyCreatedCmp,\n DynamicallyLoaded,\n DynamicallyLoaded2,\n DynamicallyLoadedWithHostProps,\n Location,\n MyComp;\n function main() {\n describe('DynamicComponentLoader', function() {\n describe(\"loading into existing location\", (function() {\n it('should work', inject([TestBed, AsyncTestCompleter], (function(tb, async) {\n tb.overrideView(MyComp, new View({\n template: '<dynamic-comp #dynamic></dynamic-comp>',\n directives: [DynamicComp]\n }));\n tb.createView(MyComp).then((function(view) {\n var dynamicComponent = view.rawView.locals.get(\"dynamic\");\n expect(dynamicComponent).toBeAnInstanceOf(DynamicComp);\n dynamicComponent.done.then((function(_) {\n view.detectChanges();\n expect(view.rootNodes).toHaveText('hello');\n async.done();\n }));\n }));\n })));\n it('should inject dependencies of the dynamically-loaded component', inject([TestBed, AsyncTestCompleter], (function(tb, async) {\n tb.overrideView(MyComp, new View({\n template: '<dynamic-comp #dynamic></dynamic-comp>',\n directives: [DynamicComp]\n }));\n tb.createView(MyComp).then((function(view) {\n var dynamicComponent = view.rawView.locals.get(\"dynamic\");\n dynamicComponent.done.then((function(ref) {\n expect(ref.instance.dynamicallyCreatedComponentService).toBeAnInstanceOf(DynamicallyCreatedComponentService);\n async.done();\n }));\n }));\n })));\n it('should allow to destroy and create them via viewcontainer directives', inject([TestBed, AsyncTestCompleter], (function(tb, async) {\n tb.overrideView(MyComp, new View({\n template: '<div><dynamic-comp #dynamic template=\"if: ctxBoolProp\"></dynamic-comp></div>',\n directives: [DynamicComp, If]\n }));\n tb.createView(MyComp).then((function(view) {\n view.context.ctxBoolProp = true;\n view.detectChanges();\n var dynamicComponent = view.rawView.viewContainers[0].views[0].locals.get(\"dynamic\");\n dynamicComponent.done.then((function(_) {\n view.detectChanges();\n expect(view.rootNodes).toHaveText('hello');\n view.context.ctxBoolProp = false;\n view.detectChanges();\n expect(view.rawView.viewContainers[0].views.length).toBe(0);\n expect(view.rootNodes).toHaveText('');\n view.context.ctxBoolProp = true;\n view.detectChanges();\n var dynamicComponent = view.rawView.viewContainers[0].views[0].locals.get(\"dynamic\");\n return dynamicComponent.done;\n })).then((function(_) {\n view.detectChanges();\n expect(view.rootNodes).toHaveText('hello');\n async.done();\n }));\n }));\n })));\n }));\n describe(\"loading next to an existing location\", (function() {\n it('should work', inject([DynamicComponentLoader, TestBed, AsyncTestCompleter], (function(loader, tb, async) {\n tb.overrideView(MyComp, new View({\n template: '<div><location #loc></location></div>',\n directives: [Location]\n }));\n tb.createView(MyComp).then((function(view) {\n var location = view.rawView.locals.get(\"loc\");\n loader.loadNextToExistingLocation(DynamicallyLoaded, location.elementRef).then((function(ref) {\n expect(view.rootNodes).toHaveText(\"Location;DynamicallyLoaded;\");\n async.done();\n }));\n }));\n })));\n it('should return a disposable component ref', inject([DynamicComponentLoader, TestBed, AsyncTestCompleter], (function(loader, tb, async) {\n tb.overrideView(MyComp, new View({\n template: '<div><location #loc></location></div>',\n directives: [Location]\n }));\n tb.createView(MyComp).then((function(view) {\n var location = view.rawView.locals.get(\"loc\");\n loader.loadNextToExistingLocation(DynamicallyLoaded, location.elementRef).then((function(ref) {\n loader.loadNextToExistingLocation(DynamicallyLoaded2, location.elementRef).then((function(ref2) {\n expect(view.rootNodes).toHaveText(\"Location;DynamicallyLoaded;DynamicallyLoaded2;\");\n ref2.dispose();\n expect(view.rootNodes).toHaveText(\"Location;DynamicallyLoaded;\");\n async.done();\n }));\n }));\n }));\n })));\n it('should update host properties', inject([DynamicComponentLoader, TestBed, AsyncTestCompleter], (function(loader, tb, async) {\n tb.overrideView(MyComp, new View({\n template: '<div><location #loc></location></div>',\n directives: [Location]\n }));\n tb.createView(MyComp).then((function(view) {\n var location = view.rawView.locals.get(\"loc\");\n loader.loadNextToExistingLocation(DynamicallyLoadedWithHostProps, location.elementRef).then((function(ref) {\n ref.instance.id = \"new value\";\n view.detectChanges();\n var newlyInsertedElement = DOM.childNodesAsList(view.rootNodes[0])[1];\n expect(newlyInsertedElement.id).toEqual(\"new value\");\n async.done();\n }));\n }));\n })));\n }));\n describe('loading into a new location', (function() {\n it('should allow to create, update and destroy components', inject([TestBed, AsyncTestCompleter], (function(tb, async) {\n tb.overrideView(MyComp, new View({\n template: '<imp-ng-cmp #impview></imp-ng-cmp>',\n directives: [ImperativeViewComponentUsingNgComponent]\n }));\n tb.createView(MyComp).then((function(view) {\n var userViewComponent = view.rawView.locals.get(\"impview\");\n userViewComponent.done.then((function(childComponentRef) {\n view.detectChanges();\n expect(view.rootNodes).toHaveText('hello');\n childComponentRef.instance.ctxProp = 'new';\n view.detectChanges();\n expect(view.rootNodes).toHaveText('new');\n childComponentRef.dispose();\n expect(view.rootNodes).toHaveText('');\n async.done();\n }));\n }));\n })));\n }));\n });\n }\n $__export(\"main\", main);\n return {\n setters: [function($__m) {\n AsyncTestCompleter = $__m.AsyncTestCompleter;\n beforeEach = $__m.beforeEach;\n ddescribe = $__m.ddescribe;\n xdescribe = $__m.xdescribe;\n describe = $__m.describe;\n el = $__m.el;\n dispatchEvent = $__m.dispatchEvent;\n expect = $__m.expect;\n iit = $__m.iit;\n inject = $__m.inject;\n beforeEachBindings = $__m.beforeEachBindings;\n it = $__m.it;\n xit = $__m.xit;\n }, function($__m) {\n TestBed = $__m.TestBed;\n }, function($__m) {\n Component = $__m.Component;\n }, function($__m) {\n View = $__m.View;\n }, function($__m) {\n DynamicComponentLoader = $__m.DynamicComponentLoader;\n }, function($__m) {\n ElementRef = $__m.ElementRef;\n }, function($__m) {\n If = $__m.If;\n }, function($__m) {\n DirectDomRenderer = $__m.DirectDomRenderer;\n }, function($__m) {\n DOM = $__m.DOM;\n }],\n execute: function() {\n ImperativeViewComponentUsingNgComponent = (function() {\n var ImperativeViewComponentUsingNgComponent = function ImperativeViewComponentUsingNgComponent(self, dynamicComponentLoader, renderer) {\n var div = el('<div></div>');\n renderer.setImperativeComponentRootNodes(self.parentView.render, self.boundElementIndex, [div]);\n this.done = dynamicComponentLoader.loadIntoNewLocation(ChildComp, self, div, null);\n };\n return ($traceurRuntime.createClass)(ImperativeViewComponentUsingNgComponent, {}, {});\n }());\n Object.defineProperty(ImperativeViewComponentUsingNgComponent, \"annotations\", {get: function() {\n return [new Component({selector: 'imp-ng-cmp'}), new View({renderer: 'imp-ng-cmp-renderer'})];\n }});\n Object.defineProperty(ImperativeViewComponentUsingNgComponent, \"parameters\", {get: function() {\n return [[ElementRef], [DynamicComponentLoader], [DirectDomRenderer]];\n }});\n ChildComp = (function() {\n var ChildComp = function ChildComp() {\n this.ctxProp = 'hello';\n };\n return ($traceurRuntime.createClass)(ChildComp, {}, {});\n }());\n Object.defineProperty(ChildComp, \"annotations\", {get: function() {\n return [new Component({selector: 'child-cmp'}), new View({template: '{{ctxProp}}'})];\n }});\n DynamicallyCreatedComponentService = (function() {\n var DynamicallyCreatedComponentService = function DynamicallyCreatedComponentService() {\n ;\n };\n return ($traceurRuntime.createClass)(DynamicallyCreatedComponentService, {}, {});\n }());\n DynamicComp = (function() {\n var DynamicComp = function DynamicComp(loader, location) {\n this.done = loader.loadIntoExistingLocation(DynamicallyCreatedCmp, location);\n };\n return ($traceurRuntime.createClass)(DynamicComp, {}, {});\n }());\n Object.defineProperty(DynamicComp, \"annotations\", {get: function() {\n return [new Component({selector: 'dynamic-comp'})];\n }});\n Object.defineProperty(DynamicComp, \"parameters\", {get: function() {\n return [[DynamicComponentLoader], [ElementRef]];\n }});\n DynamicallyCreatedCmp = (function() {\n var DynamicallyCreatedCmp = function DynamicallyCreatedCmp(a) {\n this.greeting = \"hello\";\n this.dynamicallyCreatedComponentService = a;\n };\n return ($traceurRuntime.createClass)(DynamicallyCreatedCmp, {}, {});\n }());\n Object.defineProperty(DynamicallyCreatedCmp, \"annotations\", {get: function() {\n return [new Component({\n selector: 'hello-cmp',\n injectables: [DynamicallyCreatedComponentService]\n }), new View({template: \"{{greeting}}\"})];\n }});\n Object.defineProperty(DynamicallyCreatedCmp, \"parameters\", {get: function() {\n return [[DynamicallyCreatedComponentService]];\n }});\n DynamicallyLoaded = (function() {\n var DynamicallyLoaded = function DynamicallyLoaded() {\n ;\n };\n return ($traceurRuntime.createClass)(DynamicallyLoaded, {}, {});\n }());\n Object.defineProperty(DynamicallyLoaded, \"annotations\", {get: function() {\n return [new Component({selector: 'dummy'}), new View({template: \"DynamicallyLoaded;\"})];\n }});\n DynamicallyLoaded2 = (function() {\n var DynamicallyLoaded2 = function DynamicallyLoaded2() {\n ;\n };\n return ($traceurRuntime.createClass)(DynamicallyLoaded2, {}, {});\n }());\n Object.defineProperty(DynamicallyLoaded2, \"annotations\", {get: function() {\n return [new Component({selector: 'dummy'}), new View({template: \"DynamicallyLoaded2;\"})];\n }});\n DynamicallyLoadedWithHostProps = (function() {\n var DynamicallyLoadedWithHostProps = function DynamicallyLoadedWithHostProps() {\n this.id = \"default\";\n };\n return ($traceurRuntime.createClass)(DynamicallyLoadedWithHostProps, {}, {});\n }());\n Object.defineProperty(DynamicallyLoadedWithHostProps, \"annotations\", {get: function() {\n return [new Component({\n selector: 'dummy',\n hostProperties: {'id': 'id'}\n }), new View({template: \"DynamicallyLoadedWithHostProps;\"})];\n }});\n Location = (function() {\n var Location = function Location(elementRef) {\n this.elementRef = elementRef;\n };\n return ($traceurRuntime.createClass)(Location, {}, {});\n }());\n Object.defineProperty(Location, \"annotations\", {get: function() {\n return [new Component({selector: 'location'}), new View({template: \"Location;\"})];\n }});\n Object.defineProperty(Location, \"parameters\", {get: function() {\n return [[ElementRef]];\n }});\n MyComp = (function() {\n var MyComp = function MyComp() {\n this.ctxBoolProp = false;\n };\n return ($traceurRuntime.createClass)(MyComp, {}, {});\n }());\n Object.defineProperty(MyComp, \"annotations\", {get: function() {\n return [new Component({selector: 'my-comp'}), new View({directives: []})];\n }});\n }\n };\n});\n//# sourceMappingURL=dynamic_component_loader_spec.es6.map\n\n//# sourceMappingURL=./dynamic_component_loader_spec.js.map", "repo_name": "denzp/pacman", "path": "application/lib/angular2/test/core/compiler/dynamic_component_loader_spec.js", "language": "JavaScript", "license": "isc", "size": 13760} |
{"tokens": ["Feferman,", "S.,", "Transfinite", "Recursive", "Progressions", "of", "Axiomatic", "Theories,", "J.", "Symbolic", "Logic,", "27,", "259-316", "(1962)."], "labels": ["author", "author", "title", "title", "title", "title", "title", "title", "journal", "journal", "journal", "volume", "pages", "date"]} |
{"tokens": ["Knuth,", "D.,", "The", "Art", "of", "Computer", "Programming,", "AddisonWesley,", "1981."], "labels": ["author", "author", "title", "title", "title", "title", "title", "publisher", "date"]} |
{"tokens": ["Jin-yi", "Cai", "(1990),", "A", "Note", "on", "the", "Determinant", "and", "Permanent", "Problem,", "Information", "and", "Computation,", "84,", "No.", "1,", "119-127."], "labels": ["author", "author", "date", "title", "title", "title", "title", "title", "title", "title", "title", "journal", "journal", "journal", "volume", "volume", "volume", "pages"]} |
{"tokens": ["Onoda,", "T.", "Soft-Structuring", "Model:Supporting", "Category", "Management", "of", "the", "Long", "Tail", "2007", "Ph.D", "Thesis", "Graduate", "School", "of", "Media", "and", "Governance,", "Keio", "University"], "labels": ["author", "author", "title", "title", "title", "title", "title", "title", "title", "title", "date", "tech", "tech", "institution", "institution", "institution", "institution", "institution", "institution", "institution", "institution"]} |
{"tokens": ["Masticola,", "S.", "P.", "and", "Ryder,", "B.", "G.", "\"A", "Model", "of", "Ada", "Programs", "for", "Static", "Deadlock", "Detection", "in", "Polynomial", "Time\".", "Proceedings", "oJ", "the", "ACM/ONR", "Workshop", "on", "Parallel", "Distributed", "Debugging,", "ACM", "SIGPLAN", "Notices,", "26(12):97-107,", "December", "1991."], "labels": ["author", "author", "author", "author", "author", "author", "author", "title", "title", "title", "title", "title", "title", "title", "title", "title", "title", "title", "title", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "journal", "journal", "journal", "pages", "date", "date"]} |
{"tokens": ["D.", "Lomet", "and", "Mark", "R.", "Tuttle.", "Redo", "Recovery", "after", "System", "Crashes.", "In", "Proc.", "of", "the", "21st", "International", "Conference", "on", "Very", "Large", "Data", "Bases,", "Zurich,", "Sept.", "1995."], "labels": ["author", "author", "author", "author", "author", "author", "title", "title", "title", "title", "title", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "location", "date", "date"]} |
{"tokens": ["Ashenfelter,", "O.", "and", "C.", "Rouse.", "2000.", "Schooling,", "intelligence", "and", "income", "in", "America.", "In", "K.", "Arrow,", "S.", "Bowles,", "and", "S.", "Durlauf,", "eds.", "Meritocracy", "and", "economic", "inequality.", "Princeton:", "Princeton", "University", "Press."], "labels": ["author", "author", "author", "author", "author", "date", "title", "title", "title", "title", "title", "title", "title", "editor", "editor", "editor", "editor", "editor", "editor", "editor", "editor", "booktitle", "booktitle", "booktitle", "booktitle", "location", "publisher", "publisher", "publisher"]} |
{"tokens": ["Ludwigs,", "H.", "SIMIS", "II", "-An", "Environment", "For", "Material", "Flow", "Systems", "Simulation.", "Proceedings", "of", "the", "16th", "annual", "SIMULATION", "symposium,", "Tampa,", "Florida,", "1983,", "pages", "69-78"], "labels": ["author", "author", "title", "title", "title", "title", "title", "title", "title", "title", "title", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "booktitle", "location", "location", "date", "pages", "pages"]} |
{"text": "Jackie accompanied Rose.", "target": 0, "feat_idx": 216, "evaluation_predictions": [-2.392578125, 2.11328125]} |
{"text": "They should pen the letter quickly.", "target": 0, "feat_idx": 763, "evaluation_predictions": [-2.630859375, 2.330078125]} |
{"text": "There is a seat available.", "target": 0, "feat_idx": 933, "evaluation_predictions": [-2.671875, 2.240234375]} |
{"text": "Mary thinks that she is smart.", "target": 0, "feat_idx": 461, "evaluation_predictions": [-2.654296875, 2.3203125]} |
{"text": "We investigated the area for bombs.", "target": 0, "feat_idx": 153, "evaluation_predictions": [1.6513671875, -1.12890625]} |
{"text": "A wonderful opportunity presented itself to him yesterday.", "target": 0, "feat_idx": 213, "evaluation_predictions": [-2.7578125, 2.25390625]} |
{"text": "I'm even sure we got these tickets!", "target": 0, "feat_idx": 325, "evaluation_predictions": [-1.884765625, 1.65625]} |
{"text": "John believes it that Bill is here.", "target": 1, "feat_idx": 1010, "evaluation_predictions": [1.34765625, -1.01171875]} |
{"text": "What additional categories and rules would be required to handle these verbs?", "target": 0, "feat_idx": 821, "evaluation_predictions": [-2.5234375, 1.87109375]} |
{"text": "I remembered having kissed Mary.", "target": 0, "feat_idx": 48, "evaluation_predictions": [-2.744140625, 2.3984375]} |
{"berita": "Stroke attacks can happen to anyone and at any time. A stroke occurs due to a blockage or rupture of a blood vessel in the brain. So far, there have been rumors that suggest we pierce the fingertips of stroke sufferers to overcome blockages and make blood circulation smoother. Is that true? According to Rocksy F.V. Situmeang, Neurologist, Siloam Hospitals Lippo Karawaci, this method is wrong. Stabbing the finger of a stroke patient with a needle should even be avoided. Inserting a needle into a stroke patient's finger will only cause pain, and can increase blood pressure. This can actually be life threatening. If there is a family or relative who has had a stroke, you should immediately take him to the hospital for proper treatment, said Rocksy. It's the only way to deal with a stroke. The first four hours after a stroke occurs is a very decisive period in the treatment of subsequent strokes. The sooner stroke patients are taken to hospital, the more likely they are to be saved. The speed of bringing stroke patients to the hospital can also reduce the risk of post-stroke disability. Some of the symptoms of a stroke that you should be aware of are weakness on one side of the limb, difficulty speaking or understanding speech, slurred speech, visual disturbances, to sudden severe headaches.", "tagging": "Valid"} |
{"berita": "The Ministry of Communication and Information (Kominfo) through the Director General of Informatics Applications again sent a letter to Facebook on Thursday (19/4/2018). The letter is still related to the leak of data of 1.3 million Facebook users in Indonesia and the alleged misuse of the data.\n\nThrough the letter, on behalf of the government of the Republic of Indonesia, Kominfo asked for confirmation and explanation of information about misuse of Facebook user data, which reportedly spread to other analysis firms besides Cambridge Analytica, namely CubeYou and Aggregate IQ.\nIn addition, Kominfo also asked for confirmation and further explanation regarding the technical actions that Facebook will take to limit access to the data they have. Regarding this data access restriction, the Head of Public Policy at Facebook Indonesia previously disclosed in a letter sent on April 5, 2018.\nAgain, Kominfo asked Facebook to provide schedule data and audit results for cases of misuse of user data from the leaking of data of 1.3 million Indonesian Facebook users.\n\nPreviously, at a meeting with Commission I of the Indonesian House of Representatives, Facebook was asked to conduct an audit for one month, starting April 17, 2018. Responding to this, Facebook confirmed that it would conduct a transparent audit, but could not promise an exact date for the completion of the process.\n\nFinally, in a letter sent by Kominfo, Facebook was asked to provide data on Indonesian Facebook users who were affected by data misuse by Cambridge Analytica.\nKominfo emphasized that Facebook could fulfill all of these requests, no later than seven calendar days after the letter was sent last Thursday.\n\nIf by the time limit specified Facebook has not fulfilled the request, there is no certainty about the steps that will be taken by the government. There is also no certainty about the news that Facebook will be closed on April 24, 2018.\n\nThe government can indeed impose strict sanctions by blocking Facebook, however, the Minister of Communication and Information, Rudiantara, has never mentioned the issue of blocking since the first time this case emerged. So, it can be ascertained that the news of the closing of Facebook on April 24, 2018 is not true or a hoax.", "tagging": "Valid"} |
{"berita": "The news circulating about the plan to increase the salaries of the President and Vice President of the Republic of Indonesia is confirmed to be a hoax. This certainty was revealed after the Minister of Finance Sri Mulyani Indrawati confirmed this in front of journalists at the Bogor Presidential Palace, West Java. It does not exist and has never been discussed. he said on Monday, March 12, 2018 While giving a statement regarding President Joko Widodo's meeting with the Asian Infrastructure Investment Bank (AIIB) delegation, he received a question about it. \"What the Minister of State has said (in social media) is a hoax, it is indeed like that. In today's social media there is a lot of information and documents that are made similar to those of the government and published,\" he said. n The Vice President of the Republic of Indonesia In this issue, it is stated that the president will be proposed to receive a salary of up to Rp. 553422694 per month. The vice president is said to be proposed to receive a salary of Rp. 368948462 per month.", "tagging": "Valid"} |
{"berita": "The riot occurred at the Mobile Brigade Headquarters Prison, Kelapa Dua, Depok, West Java, Friday (10/11/2017) afternoon. According to Karo Penmas, Police Public Relations Division, Brigadier General Rikwanto, the commotion occurred around 16.00 WIB.\n\nRikwanto explained that after Friday prayers, the detainees were put into their respective cells by the Densus 88 team. While carrying out these activities, the Densus 88 team conducted a search. There are 4 pieces of HP found.\n\n\"Four cellphones were found, belonging to Juhanda, Saulihun, Kairul Anam and Jumali,\" he said as quoted by a number of online media. One of the detainees did not accept the search.\n\n\"It is true that with the inspection activity, one of the prisoners did not accept it and provoked the officers with various words, then some members were provoked by their words and there were prisoners who while takbir loudly so that they provoked the prisoners of the next block,\" he explained.\n\nAs a result, riots ensued. A number of facilities in the prison were damaged. \"The prison cell door was broken into, the gate of the block hallway, the window panes (in Block C and Block B),\" said Rikwanto.\n\nWhile the information that spread and went viral on social media said the cause of the commotion began when officers entered the isolation room of the cleric's detainees. It is said, the anger of the prisoners peaked when the officers scrambled the books of monotheism, threw other books and the Koran.\n\nIn the Youtube sharing information show \"Second of Riots at the Mobile Brigade Headquarters, Kelapa Dua, Depok, West Java\" which was also viral, the prisoners were seen screaming because they did not accept the treatment by the authorities of the Al-Qur'an and other books belonging to the prisoners. .\n\n\"We don't mind having our cellphones taken, but don't destroy our Koran and books!\" exclaimed a prisoner in a video sharing Youtube that aired on Friday, November 10, 2017.\n\nThe prisoners who did not accept the abuse were also takbir. Several warning shots were heard from the police. The prisoners looked more and more emotional.\n\nAccording to Rikwanto, the incident did not last long. The authorities immediately took control of the situation. Rikwanto also denied that this incident was triggered by the throwing and harassment of the Koran by the authorities. \"It's a hoax,\" he said.\n\nThere are no victims in this riot", "tagging": "Valid"} |
{"berita": "Rumors circulated on social media that a riot occurred at the Mako Brimob Detention Center, Kelapa Dua, Depok, West Java, on Friday (11/10/2017) at around 16.00 Wib.\n\nOn Twitter, the riots were widely discussed.\n\nThe owner of the Grand Duke of Condet Twitter account? @CondetWarrior wrote: Mako Brimob rioted this afternoon. Reportedly 3 blocks of the detention room caught fire & the doors were destroyed. According to my source, the reason was because a group of Police there threw the Al-Qur'an and hadith books belonging to the detainees.\n\nTo complete the story, this account completes its tweet with a video that the owner of the account says the source sent him. The video shows a number of people who appear to be convicted of terrorism, making gestures that indicate that they are in a tense atmosphere, and then the camera, which appears to be from a cellphone, moves to reveal a shattered window.\n\nGrand Duke of Condet? @CondetWarrior : Just now my intelligence said it was a deliberate riot so that Ahok could be transferred from the Mobile Brigade Headquarters to be under house arrest. All possibilities exist, but what is clear is that if it is true that the police threw the Qur'an, then it is your business with the entire Muslim Ummah!\n\nWhile the LaskarPribumi account? @anggarabatubata mentions: viral & spread in the group that in mako there is a riot between ikhwah aseer vs Brimob. The cause of the incident that spread was that the Danbrimob detention center came to the isolation rooms of the asatidz then they scrambled the clerics' rooms to look for cellphones even though there was an ustad who was sick and they didn't care.\n\nNET public? @publik_net: riots at the Mobile Brigade Headquarters, Kelapa Dua, depok, terrorist prisoners set fire to and destroyed the room. because the guard ahmad and his team threw the Koran and caused the prisoners to go berserk.\n\nQuoted from Panjimas, it was stated that a social media channel reported that the riots occurred because the prisoners who were charged with terrorism cases were angry when they heard the news that there were guards who were suspected of harassing the Koran and the books of the clerics belonging to the prisoners.\n\n\"Densus and the warden arrogantly entered the Ikhwan's room and the Koran was stepped on by Brimob, the warden and Densus finally caused the ikhwans to go on a rampage and destroy the Brimob mako detention room, the current situation is still tense ...,\" reads an excerpt from #AlfathChannel which is spread throughout the world. social media.", "tagging": "Hoax"} |
{"berita": "When one family member has a stroke, usually other family members take the initiative to provide first aid. For example, by pricking the tips of the patient's fingers with a needle to check whether he is numb or not. Then, make an impromptu family meeting to discuss the stroke patient to be taken to which hospital and which doctor. The initiative, said Prof. Dr. Dr. Mohammad Hasan Machfoed, Sp.S(K), MS is not important! This was revealed in the Grand Kalbe Academia talk show with the theme Indonesian Neurologist Forum in Jakarta, Saturday (4/2) yesterday. Mohammad Hasan said that as soon as one of the family members had a stroke, they should immediately be taken to a specialist. Don't think too much, hold a family meeting, call an elder sibling, blah-blah-blah. That makes things even worse. Stoke could not be helped by his own family members. You see, when someone has a stroke, the brain suddenly lacks oxygen and within 10 minutes can damage the entire brain. After those 10 minutes, he experienced a panombra area that is between life and death. At that time, we must provide appropriate help and only a specialist can do it. Giving wrong help can result in necrosis or cell death in all body tissues, said Mohammad Hassan to tabloidbintang.com. Stroke strikes at an unexpected time. It brings about progressive change. Very fast. The very rapid changes, said Mohammad Hassan, are caused by the brain being suddenly deprived of oxygen. Due to lack of oxygen, the brain swells. If not treated quickly, the swelling causes the patient to die. The process to death will be very fast if he falls or experiences blockages in the airways. Importantly, family members must be careful to detect strange symptoms early on. For example, waking up talking sloppy. Or suddenly experience paralysis of one side. Or his mental state changes, forgets easily, told Mohammad Hassan. Another thing that should be considered by the family is at what time the patient had a stroke. For example, 6 am. You must move quickly (take him to the doctor) in less than four hours after 6 am. Mohammad Hassan emphasized that four hours after the stroke occurred was the most crucial time. He must get proper and fast help. If you are in Jakarta, you can take the patient to Cipto Mangunkusumo Hospital, for example. There, it allows patients to undergo thrombolysis (the process of destroying blood clots-red) which allows stroke survivors to recover. The condition, must get help in less than four hours, he continued. Mohammad Hassan assessed that Indonesian people's awareness of the dangers of stroke has improved. However, it must continue to be improved considering that stroke is still the deadliest disease in this country. Therefore, the Chairperson of the Indonesian Neurologist Association welcomed the 2017 Grand Kalbe Academia. Director of PT Kalbe Farma Michael Buyung Nugroho added, the Indonesian Neurologist Forum talked about Neurological Disorder. Neurological disorders can lead to disability and even death. We want to contribute more in building competence for both senior and junior neurology doctors to better understand neurological disorders. Considering this disease has an impact on decreasing patient productivity and the quality of life of the patient's family.", "tagging": "Valid"} |
{"berita": "Alam Islam - Help straighten it out, after HOAX code E as a product with all pork, this is a HOAX explanation that all bristles are also pork, hopefully it can reduce the anxiety of the BRISTLE community. general in nature. In Arabic, isim nakirah. The meaning of the word bristle is a fine/thin strand (filament) and firm/strong, according to the following dictionaries: The bristle written on the toothbrush, solely means bristles, NOT pig bristles. Now the word bristle which is general in nature (isim nakirah) only has a more special meaning when compared to other words, for example: pure bristle or 100% bristle or natural bristle: meaning fur made from pure animal hair or plant fiber. Can be from horses or other animals. Bristle from plant fibers is also available, namely SIWAK wood. The bristles or bristle of Tang dynasty (619 - 907) toothbrushes were indeed made of pig bristles, but modern toothbrushes made since 1938 are made of NYLON. The history can be seen here: Until now, there are STILL 10% of toothbrushes made of sea urchins circulating throughout the WORLD (so NOT 10% in Indonesia as Jeng wrote, whose status I photographed). For hygiene reasons, modern toothbrush manufacturers and consumers prefer nylon toothbrushes. It seems that the joy of welcoming the toothbrush bristle information occurred due to a misunderstanding when reading articles on the LPPOK MUI website. Articles that discuss BRUSH FOR COOKING, are considered the same as the bristles on a toothbrush. this article : this is the misunderstood part : The handle of a boar bristle brush is often written with the words : Bristle , Pure Bristle , 100% China Bristle , etc. One of the meanings of the word Bristle is Pig Hair or sea urchins (Webster's Dictionary) which are unclean when wet. Therefore, bread that is touched by an unclean brush becomes unclean, so it is forbidden to eat it. A substitute for a boar bristle brush is a brush made of plastic (polyester). Brush companies Ken Master and Selery also produce brushes from this halal material. The word ONE in the article is not understood properly where one also means NOT ALL the meanings of the word bristle are sea urchins, including the bristles of modern NYLON toothbrushes. AND some people don't even bother to double-check if it's true that the word bristle ONLY means sea urchin. Qadar Allah this error is so massive that even one of the sites belonging to one of the asatidz interprets it incorrectly. So I hope that the manager of the LPPOM MUI site (maybe someone can contact Mr. Nanung to correct the article) will correct the article by providing a more detailed description of the meaning of the word bristle so that there are no mistakes like what we see in the picture. below this.", "tagging": "Valid"} |
{"text": "How can I get a Visa and Mastercard?", "inputs": {"text": "How can I get a Visa and Mastercard?"}, "prediction": [{"label": "NEGATIVE", "score": 0.9988304972648621}, {"label": "POSITIVE", "score": 0.0011695286957547069}], "prediction_agent": "distilbert-base-uncased-finetuned-sst-2-english", "annotation": null, "annotation_agent": null, "multi_label": false, "explanation": null, "id": null, "metadata": {"category": 73}, "status": "Default", "event_timestamp": null, "metrics": null} |
{"text": "What forms of payment do you accept?", "inputs": {"text": "What forms of payment do you accept?"}, "prediction": [{"label": "NEGATIVE", "score": 0.9608434438705444}, {"label": "POSITIVE", "score": 0.03915659710764885}], "prediction_agent": "distilbert-base-uncased-finetuned-sst-2-english", "annotation": null, "annotation_agent": null, "multi_label": false, "explanation": null, "id": null, "metadata": {"category": 54}, "status": "Default", "event_timestamp": null, "metrics": null} |
{"text": "I want to make an online purchase but I don't want to use my credit card. Can you tell me how a disposable virtual card works and where I can apply for one?", "inputs": {"text": "I want to make an online purchase but I don't want to use my credit card. Can you tell me how a disposable virtual card works and where I can apply for one?"}, "prediction": [{"label": "NEGATIVE", "score": 0.9980621933937073}, {"label": "POSITIVE", "score": 0.001937768654897809}], "prediction_agent": "distilbert-base-uncased-finetuned-sst-2-english", "annotation": null, "annotation_agent": null, "multi_label": false, "explanation": null, "id": null, "metadata": {"category": 37}, "status": "Default", "event_timestamp": null, "metrics": null} |
{"text": "I have arranged a transfer, but no longer need to send it. How do I stop the transfer?", "inputs": {"text": "I have arranged a transfer, but no longer need to send it. How do I stop the transfer?"}, "prediction": [{"label": "NEGATIVE", "score": 0.9978019595146179}, {"label": "POSITIVE", "score": 0.002198042580857873}], "prediction_agent": "distilbert-base-uncased-finetuned-sst-2-english", "annotation": null, "annotation_agent": null, "multi_label": false, "explanation": null, "id": null, "metadata": {"category": 8}, "status": "Default", "event_timestamp": null, "metrics": null} |
{"text": "Why can't I make multiple payments with my virtual card?", "inputs": {"text": "Why can't I make multiple payments with my virtual card?"}, "prediction": [{"label": "NEGATIVE", "score": 0.9983503818511963}, {"label": "POSITIVE", "score": 0.0016495944000780582}], "prediction_agent": "distilbert-base-uncased-finetuned-sst-2-english", "annotation": null, "annotation_agent": null, "multi_label": false, "explanation": null, "id": null, "metadata": {"category": 72}, "status": "Default", "event_timestamp": null, "metrics": null} |
{"text": "I got $20 when I should've gotten $100", "inputs": {"text": "I got $20 when I should've gotten $100"}, "prediction": [{"label": "NEGATIVE", "score": 0.998820960521698}, {"label": "POSITIVE", "score": 0.0011790076969191432}], "prediction_agent": "distilbert-base-uncased-finetuned-sst-2-english", "annotation": null, "annotation_agent": null, "multi_label": false, "explanation": null, "id": null, "metadata": {"category": 75}, "status": "Default", "event_timestamp": null, "metrics": null} |
{"text": "I would like to close my account, as I'm not happy.", "inputs": {"text": "I would like to close my account, as I'm not happy."}, "prediction": [{"label": "NEGATIVE", "score": 0.9993559718132019}, {"label": "POSITIVE", "score": 0.0006440089782699943}], "prediction_agent": "distilbert-base-uncased-finetuned-sst-2-english", "annotation": null, "annotation_agent": null, "multi_label": false, "explanation": null, "id": null, "metadata": {"category": 55}, "status": "Default", "event_timestamp": null, "metrics": null} |
{"text": "I need to find the top up verification code", "inputs": {"text": "I need to find the top up verification code"}, "prediction": [{"label": "NEGATIVE", "score": 0.9993768334388733}, {"label": "POSITIVE", "score": 0.0006232080631889403}], "prediction_agent": "distilbert-base-uncased-finetuned-sst-2-english", "annotation": null, "annotation_agent": null, "multi_label": false, "explanation": null, "id": null, "metadata": {"category": 71}, "status": "Default", "event_timestamp": null, "metrics": null} |
{"text": "Is there a way yo change my PIN?", "inputs": {"text": "Is there a way yo change my PIN?"}, "prediction": [{"label": "NEGATIVE", "score": 0.9993038177490234}, {"label": "POSITIVE", "score": 0.0006962313200347126}], "prediction_agent": "distilbert-base-uncased-finetuned-sst-2-english", "annotation": null, "annotation_agent": null, "multi_label": false, "explanation": null, "id": null, "metadata": {"category": 21}, "status": "Default", "event_timestamp": null, "metrics": null} |
{"text": "Can this app be used to exchange currencies?", "inputs": {"text": "Can this app be used to exchange currencies?"}, "prediction": [{"label": "NEGATIVE", "score": 0.9988270401954651}, {"label": "POSITIVE", "score": 0.0011729710968211293}], "prediction_agent": "distilbert-base-uncased-finetuned-sst-2-english", "annotation": null, "annotation_agent": null, "multi_label": false, "explanation": null, "id": null, "metadata": {"category": 33}, "status": "Default", "event_timestamp": null, "metrics": null} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.