messages
listlengths
2
2
[ { "content": "Then, the man writes over the snow covering the window of a car, and a woman wearing winter clothes smiles. then", "role": "user" }, { "content": ", der Mann fährt fort, den Schnee von seinem Auto zu entfernen.", "role": "assistant" } ]
[ { "content": "A man is completing a rubiks cube. a timer", "role": "user" }, { "content": "bewegt sich am Ende des Bretts, während der Mann weiterhin die Würfel löst und herausfindet.", "role": "assistant" } ]
[ { "content": "A gymnast is shown swinging back and fourth on uneven bars. he", "role": "user" }, { "content": "gräbt in seiner Tasche nach Kontaktlinsen.", "role": "assistant" } ]
[ { "content": "A boy is bent over in his bedroom. He is trying to put on a shoe. he", "role": "user" }, { "content": "macht es immer wieder.", "role": "assistant" } ]
[ { "content": "A man and a woman stand on a street talking on front a window. a person", "role": "user" }, { "content": "sitzt hier und schnitzt gleichzeitig einen Kürbis und strickt.", "role": "assistant" } ]
[ { "content": "A close up of a guitar is seen with a hand plucking the strings. A man is then seen singing into a microphone while still playing the guitar. the man", "role": "user" }, { "content": "scheint Spaß auf der Gitarre zu haben, während er Notizen auf der Seite macht.", "role": "assistant" } ]
[ { "content": "A woman wearing an apron is talking and picks up a bucket with supplies in it. She grabs a brush and cleans a window. she", "role": "user" }, { "content": "zeigt auf die Box.", "role": "assistant" } ]
[ { "content": "Kale is being chopped up on a cutting board. It is tossed in salt for a few minutes. Carrots are grated over the kale. a tomato", "role": "user" }, { "content": "wird mit Knoblauch darüber gerieben.", "role": "assistant" } ]
[ { "content": "Three different women are shown in succession. Each woman is seated, playing drums and cymbals. they", "role": "user" }, { "content": "tanzen, drehen sich und bewegen ihre Hände in einem Hip-Hop-Spiel.", "role": "assistant" } ]
[ { "content": "A lone man in a room with a green screen backdrop performs a break dancing move on a patch of hardwood floors, using his back to spin. the man", "role": "user" }, { "content": "hört auf zu tanzen und steht vor der Kamera und zeigt grundlegende Breakdance-Moves, einschließlich der Verwendung von Händen und Knien, um sich vom Boden aus zu drehen.", "role": "assistant" } ]
[ { "content": "A female chef in white uniform shows a stack of baking pans in a large kitchen presenting them. the pans", "role": "user" }, { "content": "werden mit Gebäck gefüllt und in den Ofen geladen.", "role": "assistant" } ]
[ { "content": "A man is completing a rubiks cube. A timer is sitting on the table next to him. he", "role": "user" }, { "content": "stellt den fertigen Rubik's Cube auf den Tisch.", "role": "assistant" } ]
[ { "content": "A band is seen playing several instruments on a stage while people dance around them. the band", "role": "user" }, { "content": "spielt weiterhin in Nahaufnahme und laut sowie auf der Tanzfläche.", "role": "assistant" } ]
[ { "content": "A boy is bent over in his bedroom. He is trying to put on a shoe. He sits down, playing with a broken lace. he", "role": "user" }, { "content": "steht wieder auf und wiegt sich leicht hin und her.", "role": "assistant" } ]
[ { "content": "We see a gelato store outside. We see a title screen for a cake. We then see a lady cooking. the lady", "role": "user" }, { "content": "versucht, ein Omelett zu machen.", "role": "assistant" } ]
[ { "content": "The words \"abstract birds/oil painting katy jade dobson\" appear on screen. dobson", "role": "user" }, { "content": "malt Glaswaren in einer leeren Küche.", "role": "assistant" } ]
[ { "content": "A man dressed in white walks back and forth by the poolside in the background. a man dressed in white", "role": "user" }, { "content": "steht im Vordergrund und gestikuliert.", "role": "assistant" } ]
[ { "content": "It is tossed in salt for a few minutes. Carrots are grated over the kale. A tomato is diced and mixed with dressing. this", "role": "user" }, { "content": "könnte zu einem kommerziellen Pizza-Rezept führen.", "role": "assistant" } ]
[ { "content": "A man is seated in a chair with a hand drum as another man plays bongos behind him. they", "role": "user" }, { "content": "treten schneller auf und ab, während sie im Takt spielen.", "role": "assistant" } ]
[ { "content": "The man stops dancing and stands in front of the camera talking to it before demonstrating basic break dance moves including using the hands and knees to perform spins from the floor. the man", "role": "user" }, { "content": "zeigt jeden einzelnen Schritt des Quadrats für das Video, einschließlich Schritten auf den Knien.", "role": "assistant" } ]
[ { "content": "A female chef in white uniform shows a stack of baking pans in a large kitchen presenting them. The pans are filled with pastries and loaded into the oven. a knife", "role": "user" }, { "content": "wird verwendet, um zylinderförmigen Teig in Runden zu schneiden.", "role": "assistant" } ]
[ { "content": "A person is seen riding along the water in a kayak. the person", "role": "user" }, { "content": "ist dabei zu sehen, seltsame Stunts auf dem Wasser zu machen, während die Kamera sie aufnimmt.", "role": "assistant" } ]
[ { "content": "A camera zooms in on a person playing guitar and leads into a man speaking. several more shots of people playing guitar and guitars on walls", "role": "user" }, { "content": "werden gezeigt, gefolgt von Musik-Matadoren, die gehen und reden und die Musik auf ihren Geräten unterbrechen.", "role": "assistant" } ]
[ { "content": "A woman is drawing a hopscotch board on the ground in chalk. she", "role": "user" }, { "content": "wirft die Steine zu einem Jungen, der sie fängt.", "role": "assistant" } ]
[ { "content": "We see a title screen for a cake. We then see a lady cooking. The lady puts gelato in a bowl. the lady", "role": "user" }, { "content": "nimmt das Gelato mit der Zange heraus.", "role": "assistant" } ]
[ { "content": "A hand is shown on a table with different supplies. a man", "role": "user" }, { "content": "nimmt alle Teile eines Fahrrads aus einer Box heraus.", "role": "assistant" } ]
[ { "content": "A large group of people are seen standing around a foose ball table speaking to one another and leads into them playing the game. many people", "role": "user" }, { "content": "schauen weiterhin das Spiel von der Seitenlinie aus an und schauen auf das Spiel, das stattfindet.", "role": "assistant" } ]
[ { "content": "Carrots are grated over the kale. A tomato is diced and mixed with dressing. This is then poured over the kale. a man", "role": "user" }, { "content": "kommt an und bügelt eine heiße Platte in einer Küche.", "role": "assistant" } ]
[ { "content": "A list of ingredients is shown and the items are in a white table. fist a bag of tea", "role": "user" }, { "content": "werden in einen Topf mit reichlich Wasser gegeben und aufgekocht. Wenn sie fertig sind, werden sie mit den Zutaten gemischt.", "role": "assistant" } ]
[ { "content": "A large group of people are seen sitting around a gym when a girl runs in and performs a routine on the uneven bars. the girl", "role": "user" }, { "content": "macht weiterhin Tricks mit ausgebreiteten Armen, steht dann auf den Stufenbarren auf und beginnt ihre Routine auf dem Schwebebalken.", "role": "assistant" } ]
[ { "content": "A tray of potatoes is loaded into the oven and removed. A large tray of cake is flipped over and placed on counter. a large tray of meat", "role": "user" }, { "content": "wird vorbereitet und dann von einem Helfer aus dem Ofen genommen, wenn es fertig ist.", "role": "assistant" } ]
[ { "content": "A client tap with the finger inside a square. Then, the person stacks all the cards and puts the tokens inside the squares. then people", "role": "user" }, { "content": "fünf Karten bekommen Jetons in das Quadrat gelegt.", "role": "assistant" } ]
[ { "content": "We see a man and a woman playing competitive rock paper scissors cut with scenes of the crowd. we", "role": "user" }, { "content": "sehen einen Mann mit Schnurrbart klatschen.", "role": "assistant" } ]
[ { "content": "A woman is drawing a hopscotch board on the ground in chalk. She stands up and walks to the front of the hopscotch board. she", "role": "user" }, { "content": "beginnt auf dem Spielfeld zu hüpfen.", "role": "assistant" } ]
[ { "content": "The lady puts rice crispies on it. The lady puts a dome in a chocolate dome and puts a crispies circle on it. the lady", "role": "user" }, { "content": "brät die knusprigen Stückchen in der Pfanne.", "role": "assistant" } ]
[ { "content": "There is a young man dressed in a black shirt going round in circles to show his hair from the front and back. then he", "role": "user" }, { "content": "setzt sich auf den Boden und fängt an, sich zu rollen, mit den Händen auf den Hüften, während er auf und ab hüpft.", "role": "assistant" } ]
[ { "content": ". one woman and two men, wearing white pants, white shirt and black and white belts", "role": "user" }, { "content": "zeigen barfuß auf einer großen Grasfläche vor einer Wasserfläche und einer Stadtsilhouette von Gebäuden Kampfkunstbewegungen.", "role": "assistant" } ]
[ { "content": "Two men are walking down planks with one rolling out paper and putting tape across. other men", "role": "user" }, { "content": "überqueren die Planken mit ihren Gehstöcken und messen dabei die Breite der Planken dazwischen aus.", "role": "assistant" } ]
[ { "content": "A group of guy friends are in the bathroom talking and having fun daring on of the boys to shave his leg. the camera", "role": "user" }, { "content": "zoomt weiter auf den Jungen, der kein Bein zum Rasieren hat, und er rasiert weiter sein Bein.", "role": "assistant" } ]
[ { "content": "A man is indoors, quickly placing wood tiles onto a floor as the camera plays extremely fast. he", "role": "user" }, { "content": "blättert durch mehrere Bildschirme über das Befestigen der Fliesen.", "role": "assistant" } ]
[ { "content": "The man in the center is demonstrating a hairstyle on the person wearing the blue shirt. the man in the blue shirt", "role": "user" }, { "content": "wird von Angesicht zu Angesicht gezeigt.", "role": "assistant" } ]
[ { "content": "After, the client shows with the hand, then the person make gestures with the hand showing the table. next the woman", "role": "user" }, { "content": "Legt die Augenbinde auf den Tisch, dann legt sie sich auf den Rücken.", "role": "assistant" } ]
[ { "content": "Women are standing in a wooden court in a roofed gym playing voleyball while public is in teraces watching the game. the ball", "role": "user" }, { "content": "geht zum gegnerischen Team, das eine besondere Technik hat, um den Ball durch das Netz zu bekommen.", "role": "assistant" } ]
[ { "content": "We see a college volleyball game being played by women. A group of ladies passes. a lady", "role": "user" }, { "content": "wirft den Ball, um die Bälle vom anderen Ende des Spielfelds zu treffen.", "role": "assistant" } ]
[ { "content": "The lady puts a dome in a chocolate dome and puts a crispies circle on it. The lady puts holes in a chocolate dome. The lady sprays the domes. the lady", "role": "user" }, { "content": "öffnet erneut ein Spielzeugei.", "role": "assistant" } ]
[ { "content": "There is a young man dressed in a black shirt going round in circles to show his hair from the front and back. Then he takes a spray bottle and sprays his hair with water and combs it. he", "role": "user" }, { "content": "steigt dann wieder in sein Kajak und dreht sich im Kreis.", "role": "assistant" } ]
[ { "content": "One woman and two men, wearing white pants, white shirt and black and white belts demonstrate martial arts moves, barefoot, on a large patch of grass in front of a body of water and a city scape of buildings. a woman with blonde hair in a ponytail and a black belt ,", "role": "user" }, { "content": "steht in einem Wohnviertel und trägt nur Flip-Flops sowie schwarze Leggings und ein Bikini-Oberteil. Sie führt verschiedene Kampfkunstbewegungen aus.", "role": "assistant" } ]
[ { "content": "Other men lay down a green sheet of paper and continue taping down the paper. one last set of paper", "role": "user" }, { "content": "wird festgeklebt und eine große graue Gruppe von Menschen hat sich vor einem Gebäude versammelt und beobachtet sie.", "role": "assistant" } ]
[ { "content": "Text appears on the screen with a link. People in uniform march down the street. it", "role": "user" }, { "content": "zeigt eine Werbung für das Schneelager mit einem Bild von einer Hütte.", "role": "assistant" } ]
[ { "content": "A man is seen speaking to the camera while holding a guitar in his hands. the man", "role": "user" }, { "content": "beginnt, die Gitarre zu spielen und singt in ein Mikrofon.", "role": "assistant" } ]
[ { "content": "The man in the blue shirt sits on the chair next to the sink. The other man begins washing his hair. he", "role": "user" }, { "content": "massiert das Shampoo ein und wäscht es dann aus.", "role": "assistant" } ]
[ { "content": "A man and two women are doing an aerobic dance inside a building. they", "role": "user" }, { "content": "führen unterschiedliche Aerobic-Übungen aus, die von ihrem Trainer angeleitet werden.", "role": "assistant" } ]
[ { "content": "A person is assembling a vacuum on the carpet. they", "role": "user" }, { "content": "schalten den Abfluss ein und gießen Wasser in den Staubsauger.", "role": "assistant" } ]
[ { "content": "A group of ladies passes. A lady falls and slides across the ground. Two ladies high five each other. three ladies", "role": "user" }, { "content": "fallen in die Menge auf der linken Seite.", "role": "assistant" } ]
[ { "content": "The lady puts the red dome on top of a black one and put the dome with holes on top of it. The lady puts the cake in a display case. we", "role": "user" }, { "content": "sehen den Abspann des Endes.", "role": "assistant" } ]
[ { "content": "Then he takes a spray bottle and sprays his hair with water and combs it. He then takes a razor and begins shaving the sides and the back of his head. he", "role": "user" }, { "content": "schiebt die Haare von unten mit einer Zahnbürste nach außen.", "role": "assistant" } ]
[ { "content": "There's a man in a gym using an elliptical machine. he", "role": "user" }, { "content": "hebt den Schaumstoffeimer bis zur Brust an.", "role": "assistant" } ]
[ { "content": "The boy holds open his eyelids and places in a contact lens. the man", "role": "user" }, { "content": "neigt seinen Kopf zurück und schließt seine Augen, um die Kontaktlinse anzupassen.", "role": "assistant" } ]
[ { "content": "It cuts to the crowd looking on. A marchign band begins to walk down the street. Another set of uniformed people walk down the street. they", "role": "user" }, { "content": "treten vor und singen hin und her hin und her.", "role": "assistant" } ]
[ { "content": "An opening screen with the title of a song is shown. we", "role": "user" }, { "content": "sehen, wie sich ein Künstler vorbereitet, und das Bild einer gelben Substanz auf einem Dreibein.", "role": "assistant" } ]
[ { "content": "The man in the blue shirt sits on the chair next to the sink. The other man begins washing his hair. He scrubs in the shampoo and then washes it off. he", "role": "user" }, { "content": "bewegt den Eimer auf die andere Seite des Waschbeckens und wäscht weiter seine Haare.", "role": "assistant" } ]
[ { "content": "A man and two women are doing an aerobic dance inside a building. They perform several moves, speeding up with time. they", "role": "user" }, { "content": "halten an, klatschen und wischen sich den Schweiß aus dem Gesicht, wenn sie fertig sind.", "role": "assistant" } ]
[ { "content": "A person is assembling a vacuum on the carpet. They plug the vacuum in. they", "role": "user" }, { "content": "treten ihn in Betrieb.", "role": "assistant" } ]
[ { "content": "A man runs past an approaching storm. surfers", "role": "user" }, { "content": "stoßen nacheinander im Wasser zusammen.", "role": "assistant" } ]
[ { "content": "Person is walking inside a house to an open field holding a baseball bat. Perso is walking with a handle stick behind some men running around the field. some papers", "role": "user" }, { "content": "werden auf dem Feld herumgereicht.", "role": "assistant" } ]
[ { "content": "He then takes a razor and begins shaving the sides and the back of his head. He takes a pair of scissors and starts trimming the top part of hair. he", "role": "user" }, { "content": "kämmt alle Abschnitte seiner Haare und beendet das Rasieren um seinen Schritt herum.", "role": "assistant" } ]
[ { "content": "There's a man in a gym using an elliptical machine. He is wearing a pair of black track pants, black shirt and a cap. he", "role": "user" }, { "content": "zeigt, wie man den Ellipsentrainer richtig benutzt, um eine konstante Geschwindigkeit zu halten.", "role": "assistant" } ]
[ { "content": "This a video tutorial on getting box braids. A screen pops up with several websites and social media addresses. there", "role": "user" }, { "content": "es gibt auch Text, der die Website der Website anzeigt.", "role": "assistant" } ]
[ { "content": "A horse and carriage walk down the street followed by the people in uniform. Two woman wave flags around. the rest of the people", "role": "user" }, { "content": "hängen an der Seite der Straße herum und schieben weiße Pferde an Autos.", "role": "assistant" } ]
[ { "content": "An opening screen with the title of a song is shown. We see a man playing a guitar in a recording studio. we", "role": "user" }, { "content": "sehen einen Abspann mit der Youtube-Kanaladresse des Mannes.", "role": "assistant" } ]
[ { "content": "He scrubs in the shampoo and then washes it off. He then combs it and blow dries his hair after styling it with gel. he", "role": "user" }, { "content": "sprüht dann etwas Flüssigkeit auf seine Haare.", "role": "assistant" } ]
[ { "content": "An older man is seen speaking to the camera while holding a tennis ball and racket in his hand. he", "role": "user" }, { "content": "geht dann zu einem Netz und legt den Ball hinein, gefolgt von mehreren anderen auf dem Platz und spricht zurück.", "role": "assistant" } ]
[ { "content": "A person is assembling a vacuum on the carpet. They plug the vacuum in. They turn the vacuum on and begin vacuuming the floor. they", "role": "user" }, { "content": "drehen den Staubsauger auf dem Rücken zu sich.", "role": "assistant" } ]
[ { "content": "Surfers are seen in the water, and people are walking with their surfboards. A group of women gather, and a praying mantis is seen. numerous surfers", "role": "user" }, { "content": "surfen auf den felsigen Wellen des Ozeans und spielen dabei Trommeln und Instrumente.", "role": "assistant" } ]
[ { "content": "A man rakes leaves from the yard into a pile and dumps them in a metal trash bin. the man", "role": "user" }, { "content": "legt seine Werkzeuge in der Scheune ab und trägt einen Beutel mit Laub weg.", "role": "assistant" } ]
[ { "content": "He takes a pair of scissors and starts trimming the top part of hair. He uses a black comb and scissors to point cut his hair. he", "role": "user" }, { "content": "hält die Haare in seiner Hand, während er sie schneidet.", "role": "assistant" } ]
[ { "content": "People dive into the pool and start swimming. A person reaches the end and takes their goggles off. they", "role": "user" }, { "content": "schwimmen weiter und landen schließlich in einem Pool, wo sie auf kleinen aufblasbaren Schläuchen springen.", "role": "assistant" } ]
[ { "content": "There are stills of the processes to make the braids shown on a girl in a pink jacket. then a video", "role": "user" }, { "content": "zeigt Pferde und dann 6 Clips von zwei Mädchen, die auf Pferden reiten und trainieren.", "role": "assistant" } ]
[ { "content": "A picture of a young lady's bun is shown and then the lady then appears. she", "role": "user" }, { "content": "raucht eine Zigarette während sie spricht und endet damit, die Zigarette als Gegenstand zu halten.", "role": "assistant" } ]
[ { "content": "A man is assembling a bike on a table. he", "role": "user" }, { "content": "bringt Polsterung an der Seite an.", "role": "assistant" } ]
[ { "content": "He then combs it and blow dries his hair after styling it with gel. He uses an electric clipper to groom the sideburns and the temples. he", "role": "user" }, { "content": "teilt dann sein Haar ab und trägt das Gel auf.", "role": "assistant" } ]
[ { "content": "He moves the racket and ball up to demonstrate how to properly serve the ball, followed by him actually serving the ball in slow motion. the same shot", "role": "user" }, { "content": "wird dann gezeigt, um aufzuschlagen und das Ergebnis ist nicht dasselbe wie beim vorherigen Schuss.", "role": "assistant" } ]
[ { "content": "They turn the vacuum on and begin vacuuming the floor. They take the attachment hose off and vacuum the base boards and stairs. they", "role": "user" }, { "content": "bewegen den Staubsauger auf und ab auf den Holzböden.", "role": "assistant" } ]
[ { "content": "A man and boy are outside on a driveway. they", "role": "user" }, { "content": "wetteifern darum, wer am schnellsten Schnee von der Auffahrt schaufeln kann.", "role": "assistant" } ]
[ { "content": "A man is seen standing with one man in a bedroom. he", "role": "user" }, { "content": "beugt sich hinunter und fängt an, den anderen Mann aufzuheben.", "role": "assistant" } ]
[ { "content": "He holds the hair in his hand as he trims it. He takes the razor again and shaves the sides. He takes the scissors too and trims his hair. he", "role": "user" }, { "content": "fällt lachend hin und her, während er sein Haar schneidet.", "role": "assistant" } ]
[ { "content": "The lady spins the hoop on her hand then transfers it to her leg stretched upward and we see her in the gold hoops again. the lady", "role": "user" }, { "content": "springt auf das Seil und dreht sich mehrmals in einer 360-Grad-Bewegung.", "role": "assistant" } ]
[ { "content": "Then a video shows how the process looks in actual time using a comb and the technique of separating the braids as a woman braids the hair by hand. then there", "role": "user" }, { "content": "eine Frontansicht des kleinen Mädchens in Pink, während die Frau hinter ihr den Flechtprozess an der Vorderseite ihres Kopfes beendet.", "role": "assistant" } ]
[ { "content": "She begins by braiding one side of her hair and then twists it down and does the same thing on the other side. with one twist", "role": "user" }, { "content": ", sie zieht ihn hoch und steckt ihn mit Bobby Pins zusammen, wobei sie der anderen Seite folgt.", "role": "assistant" } ]
[ { "content": "He is putting training wheels on the back wheel of the bike. He puts the front tire on the bike. he", "role": "user" }, { "content": "setzt die Lenkstange auf das Fahrrad.", "role": "assistant" } ]
[ { "content": "He uses an electric clipper to groom the sideburns and the temples. He also trims the back and sides of his head with the clippers. he", "role": "user" }, { "content": "poliert dann seine vorderen Zähne mit einem Rasierer.", "role": "assistant" } ]
[ { "content": "People are playing lacrosse on a field. they", "role": "user" }, { "content": "erzielen einen Punkt ins Netz.", "role": "assistant" } ]
[ { "content": "They take the attachment hose off and vacuum the base boards and stairs. They take the filter out and empty it. they", "role": "user" }, { "content": "nehmen den Staubsauger aus dem Schlauch und werfen ihn in einen Treppenstaubsauger.", "role": "assistant" } ]
[ { "content": "A woman is standing outside, talking to the camera. she", "role": "user" }, { "content": "spricht ausführlich über ihren Standort in New York City.", "role": "assistant" } ]
[ { "content": "A video of clipping a cats toenails is shown. each paw", "role": "user" }, { "content": "Die Kralle wird bis zum Quick geschnitten.", "role": "assistant" } ]
[ { "content": "He takes the razor again and shaves the sides. He takes the scissors too and trims his hair. He then blow dries his hair. he", "role": "user" }, { "content": "nimmt das Make-up von seinem Gesicht ab und rasiert sich ein wenig.", "role": "assistant" } ]
[ { "content": "Various people are seen standing in an open area performing several tricks with their dogs. many people", "role": "user" }, { "content": "spazieren durch das Areal und werden von anderen beobachtet.", "role": "assistant" } ]
[ { "content": "Then there is a front view of the little girl in pink as the woman behind her finishes up the braiding process at the front of her head. there", "role": "user" }, { "content": "gibt es Bildschirmtext, der erwähnt, wie die Haare sechs Stunden später aussehen.", "role": "assistant" } ]
[ { "content": "They are moving slowly and there are a lot of them as some of them look into the camera as they pass. the procession", "role": "user" }, { "content": "geht an der kleinen Gruppe auf der Straße vorbei, während die Kamera ihnen folgt, da das Dirtbike ihr Fortbewegungsmittel zu sein scheint.", "role": "assistant" } ]
[ { "content": "He is putting training wheels on the back wheel of the bike. He puts the front tire on the bike. He puts the handlebars on the bike. he", "role": "user" }, { "content": "setzt den Wagenheber auf das Fahrrad, er lässt das Rad am Lenker los.", "role": "assistant" } ]

English Q, German A

Data set to fine-tune a model to respond in German.

Created from a fixed LeoLM Hellaswag dataset using this code:

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("maxidl/LeoLM-HellaSwag_de-fixed", split='train')

# Function to keep only the conversation column renamed to 'messages' and remove all other columns
def format_to_messages(example):
    return {'messages': [{"role": "user", "content": example['ctx']}, {"role": "assistant", "content": example['endings_de'][-1]}]}

# Apply the transformation
messages_dataset = dataset.map(format_to_messages, remove_columns=dataset.column_names)

print(messages_dataset)
Downloads last month
24
Edit dataset card