01 Prepare Data
mistral-cookbookthird_partywandb
Export
[24]
[25]
[26]
Repo card metadata block was not found. Setting CardData to empty.
[27]
[28]
[29]
[30]

We are going to map to 0 and 1 for the sake of it!
[31]
[32]
[33]
[34]
[35]
820
[36]
id 32168497 ,input Vehicles and pedestrians will now embark and d... ,correct_choice Passengers using a chain ferry have been warne... ,list_choices A new service on the Isle of Wight's chain fer... ,lbl 1 ,distractor_model bart-base ,dataset xsum ,target 0 ,Name: 0, dtype: object
[37]
Generating train split: 820 examples [00:00, 23944.92 examples/s] Generating val split: 180 examples [00:00, 20254.73 examples/s]
[38]
{'premise': 'Speaking on TV, Maria Zakharova said Jews had told her they donated both to Mr Trump and Hillary Clinton.\nShe joked that American Jews were the best guide to US politics.\nThe diplomat\'s remarks caused shock. Anti-US propagandists in the last century peddled an idea that rich New York Jews controlled US politics.\nMs Zakharova was speaking on a chat show on Russian state TV at the weekend but her comments drew more attention after being picked up by media outlets on Thursday.\nShe said she had visited New York with an official Russian delegation at the time of the last UN General Assembly, in September.\n"I have a lot of friends and acquaintances there, of course I was interested to find out: how are the elections going, what are the American people\'s expectations?" she said.\n"If you want to know what will happen in America, who do you need to talk to? You have to talk to the Jews, of course. It goes without saying."\nAt this, the TV studio audience applauded loudly.\n"I went here and there among them, to chat," she continued.\nImitating a Jewish accent, Mrs Zakharova said Jewish people had told her: "\'Marochka, understand this - we\'ll donate to Clinton, of course. But we\'ll give the Republicans twice that amount.\' Enough said! That settled it for me - the picture was clear.\n"If you want to know the future, don\'t read the mainstream newspapers - our people in Brighton [Beach] will tell you everything."\nShe was referring to a district of Brooklyn with a large diaspora of Jewish emigres from the former Soviet Union.\nRussian opposition activist Roman Dobrokhotov wrote on Twitter (in Russian) that the spokeswoman had "explained Trump\'s victory as a Jewish conspiracy".\nMichael McFaul, the former US ambassador to Moscow, commented on Facebook, "Wow. And this is the woman who criticizes me for not being diplomatic."\nDuring the election campaign, Mrs Clinton accused Mr Trump of posting a "blatantly anti-Semitic" tweet after he used an image resembling the Star of David and stacks of money.\nMr Trump, whose son-in-law Jared Kushner is Jewish, dismissed the accusation as "ridiculous".\nAn exit poll by US non-profit J Street suggests an overwhelming majority of US Jews voted for Hillary Clinton in the presidential election.',
, 'hypothesis': 'A spokeswoman on Russian TV has said Jewish people in New York told her they had mainly backed Trump in the US election.',
, 'target': 1} [39]
[40]
Creating json from Arrow format: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 510.19ba/s]
274757
USB
[42]
Generating train split: 5050 examples [00:00, 70732.38 examples/s] Generating val split: 2668 examples [00:00, 108077.02 examples/s] Map: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2668/2668 [00:00<00:00, 65323.30 examples/s] Creating json from Arrow format: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 204.83ba/s]
1603234
[43]
Dataset({
, features: ['premise', 'hypothesis', 'target'],
, num_rows: 5050
,})