task_label stringclasses 21
values | task_type stringclasses 3
values | dataset_uri stringclasses 21
values | context stringlengths 6 5.34k | continuation stringlengths 1 1.05k |
|---|---|---|---|---|
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Playing polo: A group of people are sitting outside on the bleachers watching a game of water polo. In the water | , two boys begin treading water and staying in the same place. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Powerbocking: A group of boys are on the sidewalk of a street. They are bouncing around on stilts. They | continue talking as they bounce and walk. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to make a clutch bag with a bow knot. Cut the fabric pieces as follows : For the body of the bag: cut two pieces of fabric measuring 10 " x 6 ". For the strap: cut one piece fabric measuring 14. 5 " x 3 ". For the bow: cut two pieces of fabric measuring 11 " x 5 ". | An additional bow piece: cut one piece of fabric measuring 2 " x 5 ". Lining: cut two pieces of fabric measuring 10 " x 6 ". |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Health: How to get stuff out of your eye. Wash your hands. Even if your hands don't seem dirty, it's important to wash them if you're going to touch your eye. You don't want to remove an object from your eye only to infect it with something worse. | Wash your hands thoroughly with soap and clean water for at least 20 seconds. This ensures that you don't get bacteria or other contaminants in your eyes. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Pets and Animals: How to pet a turtle. Approach from the front. If the turtle cannot see you and suddenly your hand appears, it may get frightened and bite you. Always approach a turtle from the front so that it can see you. | Place turtles on a low, flat surface. Turtles will be the most receptive to human interaction when they feel safe and secure, so place them on the floor (preferably tile rather than carpet) when petting them. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Cutting the grass: A man walks alongside a boy who is mowing the lawn. He | instructs the boy on how to turn the mower and go around a small tree. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Playing polo: People are swimming in the water. Two women | are standing on the beach watching. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Health: How to be adventurous. Let go of what is holding you back. Inhibitions are feelings that make you self-conscious and unable to act in a relaxed and natural way. Perhaps you are shy, inexperienced or fearful. | In order to let go of what is holding you back you must feel safe with yourself, your surroundings and the people around you. Ask yourself why you want to be adventurous. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Making a lemonade: A man in red turban stands in a kitchen. He pours some ingredients into a glass. He explains his methods holding a spoon. He | then finishes the drink with a garnish. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Home and Garden: How to recycle car seats. Contact a local car seat trade-in program to recycle your intact car seat. Certain retail stores that sell new baby gear have trade-in programs that will take your used car seat for its recyclable parts. Some stores even offer a discount on a new car seat or a coupon for baby ... | Call the store where your car seat came from or look online to see if they offer any car seat trading programs.. Ask if your car seat is accepted by your local recycling program. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to prepare oily skin for makeup. Wash your face with a gentle cleanser. They key to getting a healthy glow with makeup is making sure the palette-your face--underneath is clean. Use a gentle, ph-balanced cleanser to clear any dirt or excess oil off of your skin. | You may want to consider using a gel cleanser, which is often gentle and doesn't have excess oils that could exacerbate your oily skin. Avoid using products that are heavy in chemicals, which may irritate your skin and increase oil production. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Hitting a pinata: The man spins the blindfolded woman around while she's holding the bat in her hand. But then she starts swinging the bat and the man moves out of the way. Next | , she swings the bat at the pinata and she hits the candy out of there, then she takes the blindfold off and swings the bat again getting more candy out. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Playing violin: A man is seen speaking to another holding a violin. The man speaking them walks out of frame. The other man | begins playing the violin. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Sharpening knives: . A chef in the kitchen wearing a chef hat | is giving instructions on how to sharpen a knife. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Food and Entertaining: How to prepare sea salt soak. Purify 1l (4.2 cups) of water. Pour the liter of water through a carbon water filter. You can find filter pitchers at most grocery and specialty stores. | The carbon filter takes out substances like chlorine, which are added to the water and could affect the salinity.. Pour the water into a saucepan and bring it to a boil. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Computers and Electronics: How to unclog a standard ink cartridge (2 cartridge printers ). Obtain a flat bottomed container and water. Distilled or de-ionized water is suggested to prevent ink contamination.. Heat water until hot and carefully pour into container. | Immerse the bottom portion of the ink cartridge into the hot water for approximately 5 minutes. The hot water will help loosen up the dried ink which has formed inside the cartridge nozzle plate holes. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Pets and Animals: How to prepare your old english sheepdog for a show. Always find a reputable breeder. Look around to find a breeder. The best places to spot one are in dog fancy classifieds, dog world classifieds, akc gazette, or www.akc.org where you can find the breeder classifieds. | Also, a great place to spot your breeder is at your local kennel club's dog show. Internet listings are not the best, as many of the dogs come from puppy mills. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Food and Entertaining: How to remove interior walls. First, determine if the wall you want to remove is a load bearing wall, meaning it supports the floor above. Go into your basement (or crawlspace) and look at the alignment of floor joists. These are large pieces of lumber going across the house from side to side sup... | Remember the alignment-they generally go from side to side on most modern homes across the width of the house.. If the wall you want to remove is at a right angle to the floor joists-stop. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Doing kickboxing: A small boy is seen punching and kicking a man on his knees wearing gloves. Another boy | punches and kicks the same man. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to not be affected by your friends insulting your views on religion. Remember, different strokes for different folks. Not everyone has the same views on everything. You may look at your religion as pure and loving, but to others it may have some faults. | Be more tolerant than those that are insulting your views.. Don't let their taunts affect you. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to make a donut bun. Buy a donut form or find a clean sock. Donut forms can be purchased in the hair accessories section of the drugstore, but it's just as easy to make your own with a sock. You want a large, stretchy tube sock that's easy to roll. | Use an old pair because you will be cutting the toe off. It's best if you have a sock that's similar to your hair color, but any sock will work. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to prevent thrush when breastfeeding. Sterilize any feeding instruments. This is particularly important to do if your baby has presented with thrush symptoms. Any instrument that comes into contact with your baby's mouth and your nipple should be sterilized. | You can do this by bringing water to a boil and placing the instruments inside for five minutes after every use. The instruments you should sterilize include : The teething ring, pacifiers, and the teat of the feeding bottle. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Finance and Business: How to draft a stock purchase agreement. Format your document. Open a blank word processing document. You should set the font size and style to something most people can read. | Times new roman 12 point works for most people, but feel free to choose anything legible. You might be making multiple stock sales to many different buyers. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Food and Entertaining: How to increase your baby's chances of being smart from womb to birth. Give your baby a name as soon as you know the sex of your baby. This will help you to communicate with your beloved baby.. Stay active. | As your pregnancy progresses, your fetus will acquire more skills. He/she will be able to kick, move, see, hear, suck his/her thumb, have some taste selections for music and even food. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Youth: How to have a cute and bubbly personality. Keep a positive worldview. Being bubbly means developing a positive outlook to find the best in other people while lifting their spirits with your attitude. Find ways to recast a negative situation in a positive light. | For example, instead of thinking " i'm so worried about finishing this essay, " rephrase the thought as " i'm so excited to write a great essay. " practice finding positive aspects to daily life. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to design your own piece of jewelry. Browse websites and jewelry stores for inspiration. When it comes to designing jewelry at home, you will need some inspiration before you start drawing. Browse jewelry online or head to your local craft store or craft show to browse the selection. | Perhaps a pendant or gemstone will catch your eye. Once you are inspired, it should be easy to begin designing your jewelry.. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to wear navy pants. Opt for a slim fit design. Navy pants look best when they're slim-fitted. Go for form-fitted navy pants over baggier designs. | While skinny jeans may not be necessary, pick pants that are a tighter fit overall. Fitted designs work well for formal outfits paired with things like dressy tops and blazers. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Paintball: A shot of a sunset set is shown followed by peaking smoking and walking around a paint ball pit. The men speak to one another and lead into running around and playing paint ball. They | pauses for a few moments to speak to one another and the camera captures the shooters from different angles. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Clipping cat claws: A black and white cat sits on a table next to a girl wearing a black and white sweater. The girl holds the cats paw in her left hand. The cat groomer | grabs a cat nail clipper in her right hand. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Youth: How to prepare for school the night before. Shower. As a girl, you should shower every night. This will help you look, feel and smell fresh for the next day! But make sure to only wash you hair with shampoo once every three days. | Also, you should wipe off any make-up and wash your face to prevent future pimples. Moisturize; always rub lotion or some form of moisturizer on after every shower. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Sports and Fitness: How to buy youth soccer shin guards. Choose shin guards with attached ankle protection for players 12 years old and under. There are two basic types of shin guards. One type has attached ankle straps, which wrap under the foot and provides support and ankle protection. | The other type simply slides under your socks and protect just your shins. For players under 12 the added ankle support is crucial for safety and comfort. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Finance and Business: How to shrink your financial footprint. Look at this project in the same way as a weight loss diet. Most people know that the best way to lose weight is to burn more calories than you take in; financial solvency comes when you spend less than you bring in.. Start with the low-hanging fruit. | Eliminate the expenses that add no value to your life, such as late fees, unnecessary or duplicate purchases, excess interest on debt.. Spend your money on the things and experiences that truly enhance your quality of life. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Vacuuming floor: The video shows a demonstration of dyson vacuum cleaner and how well it can clean particles from the floor. There's rice grain, flour and other food particles scattered on the floor. The demonstrator | turns on the vacuum cleaner and begins vacuuming the floor with the yellow dyson vacuum. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Pets and Animals: How to catch a lizard without using your hands. Pinpoint the room it's in. If the little critter is an unwanted guest in your house, knowing the room you see it in most often will help you catch it. Hopefully it's the same room every time. | As they're creatures of habit, you could even get lucky enough to spot it in the same part of the room each time. Scope out the room for the cracks/crevices it could be coming in and out of. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Food and Entertaining: How to shape a cowboy hat. Decide on the brim shape you want. Many felt cowboy hats are made with flat brims, so you can shape your own to the style you prefer. You can shape your hat based on aesthetics alone, to complement the shape of your face. | A rule of thumb is that the narrower your face is, the higher you should bend the edges of your hat. If you have a rounder face, the edges should not be folded up far. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Cutting the grass: A volunteer named "irene zimmerman" speaks to the camera in a field. A volunteer named zeek compton speaks to the camera. They both | take turns speaking on camera. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Waterskiing: We soon see the man again in the water with his arm around the boy's shoulders, the boy triumphant after his successful ride. All in all everyone | seemed to enjoy a great day outdoors whether in the boat or skiing or both. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Food and Entertaining: How to use grapeseed oil for oily skin. Test the product first. Apply a small amount of the grapeseed oil to a small area on your cheek or neck. Observe the area for 24 hours to see if your skin becomes irritated or if you have an allergic reaction. | Look out for redness, swelling, itching, or an outbreak of hives or other signs of irritation. If you experience an allergic reaction, do not use the oil. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Blowing leaves: A man is outside in his yard. He is using a pressure washer to wash the leaves off his lawn. He | sprays them up and down, pushing them down an incline. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to fix nicotine stained fingers. Exfoliate your skin. Dampen your skin by soaking your fingers in water for a few minutes, but not long enough for the skin to prune. Use a nail file, pumice stone, body brush, salt scrub, or sugar scrub to sand away some of the nicotine stains on your finger... | Use gentle pressure to rub the grit onto the yellowed area of your fingers just until the stain looks faded. Do not rub your finger for more than a few seconds since it can cause irritation. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Family Life: How to plan an affordable beach wedding. Choose your location. A beach wedding is typically free or fairly cheap. If isn't free, you will probably have to purchase a permit that could range from $30 to $300. | Once you've committed to beach wedding, plan the exact location. Some of the most affordable beach wedding destinations are in mexico, hawaii, and jamaica. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to make a scented sunblock creme. Choose a sunblock that you don't use much or one that has a high protection.. In an empty container or bowl, pour as much sunblock as you want.. Choose a body lotion or body butter that has a nice scent. | If you don't want to use all of your lotion, use 2-3 tablespoons (29.6-44.4 ml) for a smaller dose.. Mix the sunblock with your preferred scented body lotion until you have a smooth mixture. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Computers and Electronics: How to plan a trip on public transportation using google maps. Get on google maps, and click on the " get directions " tab.. Click on the second symbol that looks like a train. It is directly to the right of the car. | Change the setting asking you if you want to " leave now " based upon your current situation. For example, you might want to be at a certain place by 2 o'clock, then you would select " arrive by " or if you wanted to depart at a certain time you would select " depart at. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Running a marathon: A man is interviewed while people watch or walk past in the background. Two men are interviewed in the same setting. A woman | is interviewed in the same setting. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to escape if someone grabs your hair. Grab onto the wrist holding your hair with both hands. This is essential step one, as it prevents someone from taking complete control of your body. If someone has a big handful of your hair you pretty much have to go where they pull you, as they have a... | You want to allow them to move your head, slightly, but not your hair.. Hold the wrist close to your head to limit an attacker's control on you. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Family Life: How to care for your grandparents. Offer to help. Ask how you can help out. If they're struggling to do something, step in and offer to take over. | Even if your grandparents don't ask, take the initiative to offer up your help. You can even ask your parents if there's something you can do to help. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Ice fishing: The man appears to have caught something and kneels down to pull his fishing line by hand. The man pulls a fish out of the water and poses with it. The man | unhooks the hook from the fish's mouth. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Work World: How to become a forest ranger. Discover what a forest ranger does. Learning more about the details of the position can help you to learn if the role of forest ranger is right for you. Understanding as much as you can before you pursue the position will also help you best direct your efforts if you do decide... | The main role of the forest ranger is to protect and preserve publicly owned lands. Forest rangers will work with and educate the public about conservation of the wilds. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Disc dog: A woman in a pink jacket and her dog are outdoors and doing tricks wish discs as she throws them the dog catches, as well as the dog jumping over her, rolling over, dancing. A still shot | appears of the woman and her dog as the 1st place winners at the championship. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to paint nails like a pro in minutes. Pick the right polish. Not all polishes are created equal. Some have potentially harmful chemicals, and others just look downright bad. | There are a number of things to keep in mind. Use a b3f, or " 3 free " nail polish and base/top coat. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Computers and Electronics: How to use torrents. Understand the basics of torrents. Torrent files allow you to download virtually any type of file from everyone else that is sharing it. Torrents allow files to be split into many small chunks. | These chunks are then downloaded from other users who already have that chunk on their computer. Once all of the pieces are downloaded, the file is reconstructed and is ready to use on your computer. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Finance and Business: How to expunge an arrest. Determine what options for expungement are available in your state. Not all states allow criminal records to be expunged, and those that do may only allow it in specific instances. You must follow the expungement rules and procedures of the state where you were arrested, ... | Some states allow for " sealing " rather than " expungement " specifically. If a criminal record is sealed, it's hidden from the general public but still exists on your record as a whole. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Finance and Business: How to establish business credit for your business. Decide how you want to structure your business. This may take some research but a few common ways to structure a business are: c-corporation; s-corporation; sole-proprietorship; limited liability and partnerships. For business credit separate fro... | Obtain an employer identification number (ein). Business credit is tracked using your business name, business address and employer identification number. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Clean and jerk: The woman picked up the barbell pause at her chest and then push the barbell up. The woman put down the barbell on the floor. The woman | picked up the barbell, pushed the barbell up, put the barbell down and let it go then do it again. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Futsal: An indoor arena appears and a brazil team is competing with a team from japan in a game of indoor soccer. A penalty kick | starts the game and the brazil teams jumps in joy because they are leading the game with a two to zero score. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Assembling bicycle: A person is seen sitting on a stool and piecing together several parts of a bike. The person | continues piecing the bike together and pans around the finished product in the end. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to be assertive without being aggressive. Take a deep breath and smile. By taking a moment to breathe and smile you not only prevent yourself from acting rashly and aggressively, but you release endorphins in your brain. Endorphins are released when you smile because your brain has been tra... | Endorphins, along with serotonin keep your mood up and stable. Breathing and smiling also relieves stress because it lowers cortisol levels, which is a stress hormone. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Home and Garden: How to fertilize daffodils. Fertilize daffodils when the soil needs additional nutrients. Once planted, daffodils usually flower again every year without too much assistance from you. However, because they stay in the ground for a long time, the surrounding soil can become depleted as the plants use up... | Fertilizing is necessary to replace the soil's depleted nutrients. Daffodils also reproduce by division of the original bulb, which means more plants eventually occupy the same space. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Cutting the grass: A large tractor is driving through a field. It | is pulling a plow behind it. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to dye brown hair black. Purchase a box of hair dye. You can find black dye at your local pharmacy or your beauty supply store. Luckily, there is only one shade of true black, so you won't waste too much time perusing different shades! The hair dye will come with everything you need to dye ... | Change into an old t-shirt and put towels down. Just like the black dye will dye your hair, it will also dye your carpet and clothing. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Windsurfing: People windsurf on a large body of water. A park sign that reads "welcome to kanaha beach park" is shown. More windsurfers | are shown racing across the water. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to dry shoes quickly. Look at the construction of your shoes. If they are synthetic or cotton, without hard or gelled soles, they can go into the dryer. Leather, gel-core athletic shoes, clogs and gore-tex should not go into the washer or dryer. | Wash them first if they are caked with mud. Either rinse them with a garden hose or put them through an entire washer cycle. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to insert a tampon without applicator. Go to your nearest shop and choose a box of tampons that are the right absorbency for you.. Go to a bathroom where you will not be disturbed or bothered and take your time.. Make sure your hands are washed and your vagina is moist. | Unwrap the tampon and extend the string. Place the wrapper in the bin. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Health: How to have good mental health. Exercise your body. When experiencing stress, your brain produces hormones that tell the body to prepare to respond to a threat. Serious stress can compromise your mental health and may cause physical symptoms, too. | One good way to manage stress is through exercise. Exercise and physical activity can bring relief to tense muscles. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Food and Entertaining: How to make a watermelon basket fruit salad. Purchase a perfectly ripe watermelon. This is important because although you are using the shell for a " basket, " the inside of the fruit will still be eaten. If the fruit inside of the watermelon is over-ripe, it may be difficult to work with. | But, if the fruit is under-ripe, your salad will be bland and flavorless. If you have any doubts regarding the freshness of a fruit, ask the produce manager at your local supermarket about how to select for ripeness. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Mooping floor: Man is mopping the floor in a laundry room. Man | squeeze out the mop in a bucket. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to wet set hair rollers. Wash your hair. Use the shampoo and conditioner, if applicable, that you normally use.. Dry your hair halfway. | After your get out of the shower, squeeze the water out of your hair with a towel. You want your hair to remain damp, but you don't want it dripping water. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Work World: How to be a squidminder intern. Express your interest. Think about the following questions and submit your answers in this questionnaire :.. Be open minded to what being an " intern " means. | In squidminders, interns are encouraged to be very self-directed, developing their own goals and activities. How genuinely interested are you in exploring the possibilities of your mind and others around you? This includes trying to help people develop skills for maximizing quality of life. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Home and Garden: How to paint a door frame. Take the door off the hinges. Take hold of the door from either side and lift up on it forcefully to slide it free from the attached wall hinges. Set the door aside where it won't be at risk of being damaged or getting paint on it. | If you plan on painting the door the same color as the frame, simply leave it where it is.. Cover the door with a sheet of plastic if you can't remove it. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Sports and Fitness: How to write an essay on a controversial topic. Imagine the types of readers who might read your essay. You'll want to imagine readers from various viewpoints to make the best argument. This means thinking about the people who are most likely to disagree with you, as well as those on the fence about... | By taking their concerns in mind, you'll help to establish credibility with a wide variety of readers. Don't preach to the choir. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Clean and jerk: A female weight lifter walks up to a barbell. She lifts it up to her neck. She | then puts it over her head before dropping it. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Shot put: The man grabs the ball and takes a big step behind him and throws the ball. The man twists his body a few times as he holds the ball against his neck. The man | does a 90 degree move around as he holds the ball against his neck. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Family Life: How to achieve a good latch when breastfeeding. Sit or lie in a comfortable place. How you sit or lie is an important part of getting a good latch. Find a comfortable chair or sofa that has great back support or lie in your bed. | This can make you comfortable, which may ease breastfeeding and help you get a good latch. Try out different places to sit until you find one that makes you most comfortable while breastfeeding. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to make perfume. Know the different notes. Perfumes are a blend of different levels of scent, also called " notes ". When you spray a fragrance on your skin, it moves through these notes in the following order : Top notes are what you smell first. | They are also what disappears first, usually within 10 to 15 minutes. Middle notes appear as the top notes die off. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Zumba: A group of two women and two men pose together. They | are then shown performing an art exercise called zumba inside a building. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to buff your nails. Remove old nail polish. Clean, polish-free nails are essential before you begin filing. Dip a cotton swab in nail polish remover. | Rub each nail until all of the polish is removed. You may need to go over each nail again with a clean cotton swab to remove traces of polish around your nail and on your skin. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to pierce ears with a sewing needle. Clean the area where you'll be piercing your ears. The least recommended place is the washroom as microbes from the toilet and sink faucet are contaminated. If you'd like to do your piercings there, wipe off countertops, sink faucets, toilet; in general,... | Gather your materials and wash your hands well with an anti-bacterial soap and hot water. Doing so will kill most bacteria on your hands. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to organize earrings. Get some mini, plastic drawer units. They are actually meant for storing office supplies, but they work great for earrings! You will typically find them in the storage section or office supply section. If you'd like, you can line the bottom of each drawer with a piece ... | This way, you can poke your earrings into the foam to keep them in place. Choose a small one that is about 6 to 8 inches (15. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to reduce fine lines on skin. Shop for an anti-wrinkle formula designed for reducing wrinkles and conditioning the skin. There are many good solutions available both over the counter and with a doctor's prescription. Some of the most effective solutions may be as close as your neighborhood ... | Read the label on the product before you make your purchase. Look for ingredients that have been proven effective in reducing wrinkles and fine line. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to flat iron hair. Use shampooing and conditioning products that are specially formulated to create straight or sleek hair. You don't need to buy expensive hair products, anything you can find at your local drug store or beauty supply store will work fine. Just look for products that claim ... | Pat your hair dry after getting out of the shower. Use your towel to remove water from your hair by gently squeezing your hair in sections rather than harshly ruffling it dry. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to clean combat boots. Buy a boot cleaning doormat. Be sure to remove excess dirt and debris from the bottom of your combat boots by purchasing a doormat designed for cleaning the underside of boots and shoes. Different models of this kind of mat are available with bristles, rubber spikes, ... | Look for one at local hardware stores, department stores, or online. For instance, the jobsite boot scrubber brush mat, available online for approximately $17, is a door mat with a wood and plastic base and solid bristles to remove mud and dirt from boots and shoes. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Playing violin: Some is carrying an instrument case walking around outside, they put the case down on the ground and take out a violin. The woman plays the violin everywhere she goes and she dances while she plays too. She | does some movements of her body making her back bend down almost touching the ground while still jamming out on the violin. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Family Life: How to be friends with your kid. Build one-on-one time into your daily routine. Spending time together doesn't always " just happen; " it takes effort to make it a daily activity. During this time, you can give your child your full attention, allowing them to open up to you. | Here are some times you can spend together : Driving to and from school/activities dinnertime 10-minute chat after school bedtime routine. Learn how to listen to your child. Active, nonjudgmental listening will help your child feel that they can tell you anything. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Making a cake: When the cake is all done the camera pans the whole cake so the details can be seen and once again we see the smaller scale cake and the toy. A white screen | appears with his logo on the left, and all of his detailed information for his shop and contact information on the right. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Home and Garden: How to make a pancake mix container from a recycled ketchup bottle. Scrub the ketchup bottle thoroughly. Make sure you are completely finished with the remaining ketchup and proceed to give the bottle a good scrub. You don't want any remaining ketchup hiding inside the bottle or else you will end up wi... | Use a thin, long scrubbing brush to get the inside of the bottle. Rinse soap thoroughly and allow the bottle to dry. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Health: How to ease stress with essential oils. Use only high quality essential oils. One hundred percent organic essential oils are always the best option when purchasing essential oils. Aside from the environmental benefits of buying organic products, this will also ensure that you're getting an oil that came exclusi... | You will notice a price difference between 100% organic oils and those that contain synthetic chemicals. While organic options will be more expensive, the cheaper options are potentially dangerous to inhale. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Food and Entertaining: How to bake a cake on a grill. Turn on the heat on a gas grill. When working with a gas grill, you'll simply need to switch on the heat. If you've never baked on a grill before, it'll take some experimentation to get the grill to the right heat. | Start by turning on only one burner and go from there as needed to achieve the proper temperature.. Arrange your charcoals for a charcoal grill. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Cutting the grass: The man in white shirt is cutting the grass with lawn mower. The man walked on the grass covered law. The man | pulled back the lawn mower and then moved it forward and repeated it. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to whiten skin with fruits. Drink citrus juice. Drinking a citrus juice like orange juice may help to inhibit uv induced pigmentation.. Use citrus to make a mask. | Citrus fruits contain vitamin c, which promotes collagen production (necessary for the creation of new skin cells), is a powerful antioxidant and has been shown to inhibit skin darkening due to uv exposure. Lemons tend to work best, but any citrus fruit will work, including oranges, limes, and grapefruit. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Home and Garden: How to deadhead petunias. Check what type of petunias you are growing. Find the seeds or the plant markers. If they are new types of petunias, like wave or tidal wave, they don't need to be deadheaded. | Many new petunias have been engineered to be low-maintenance. They will fill out without being deadheaded. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to wear a capelet. Throw a bright, bold capelet over a fitted t-shirt in a neutral color. Match the look with a pair of dark-wash boot-cut jeans and a trendy heeled boot or pump.. Don a neutral capelet with a patterned tunic that reaches your mid-thigh. | Wear a pair of black leggings or skinny jeans, and add a high-heeled boot.. Wear a casual knee-length skirt and a fitted short-sleeve or sleeveless blouse. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Health: How to recognize obsessive compulsive disorder in children. Don't jump to conclusions. Remember that children have quirks and often go through phases that may make you wonder whether they are normal. If you're concerned that your child may have any kind of mental disorder, it's best to talk to a pediatrician or... | If you have had your child evaluated and are still unsure, don't be afraid to get a second opinion.. Look out for signs of obsessions. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Travel: How to determine freight class. Learn the things that will determine the freight class of your item, including loadability and handling characteristics, weight, density, and the product's susceptibility to damage.. Determine the basic description of the freight being transported. Be able to describe what materi... | Know what kind of container your item will be shipped in. There are many different types of allowable packaging systems for freight including, but not limited to, pallets, drums, reels, crates, tubes, or bundles. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to do chrome eyes. Put eye shadow primer on your lids. Makeup primer is a good foundation for any eye shadow look, but it's especially important when you're using bold shadows. Nothing will ruin your chrome eye makeup more than it creasing or smudging all over your face. | A primer will smooth out and perfect your skin while also giving your makeup a sticky base to adhere to. It will help your makeup stay put and last all day and night. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Cars & Other Vehicles: How to row a drift boat. Practice using a backstroke. Until you are comfortable with your skills, practice your backstroke in a calm area of the river where there are few obstacles and you can easily control the boat. Sit in the row seat facing the bow of the boat (the bow is the high end of the ... | Place each oar in its oarlock. Face the drift boat downstream so that the bow (and you) are facing downstream. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Playing harmonica: A man in a black hat is talking to the camera. He begins playing a harmonica he is holding in his hand. He | sets the harmonica down and continues talking. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Travel: How to tour sonoma in a limo. Browse the net or the yellow pages and look for some of the limo service providers in san francisco.. Pin down one professional limo service provider after checking its reputation in the market.. Check the fleet of limos and select the limo model which suits your requirements and h... | Arrange a time for the limo driver to pick you and your group from your location.. Make an appointment in advance before visiting the wineries. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Cutting the grass: A man walks alongside a boy who is mowing the lawn. He instructs the boy on how to turn the mower and go around a small tree. He | continues walking and guiding the boy. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Pets and Animals: How to groom a gerbil. Assess your gerbil's coat. The best way to determine if your gerbil needs to be groomed is by examining his coat. If your gerbil's hair appears greasy or oily, it may be time to let him groom himself. | Grooming takes up a great deal of a gerbil's day, and along with eating and sleeping, it is one of his main activities.. Give your gerbil a dust bath. |
hellaswag_zeroshot | multiple_choice | language_understanding/hellaswag.jsonl | Personal Care and Style: How to wear a scarf. Wrap it in a simple loop. Of one of the most basic and attractive ways of wearing a scarf is just wrapping it in a loop around your neck. Wrap the scarf around your neck to create a single loop, with the tail ends loosely draped in the front. | Pull on the loop a bit to loosen it up and create a more casual appearance. If you're trying to beat the cold, you can wrap the scarf multiple times around your neck. |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
QuaDMix Validation Sets
This directory contains scripts for preparing validation sets used by the QuaDMix proxy model pipeline. These validation sets measure how well a given data mixture trains a small proxy model — lower validation loss indicates a better mixture.
Overview
QuaDMix uses a 1M-parameter proxy model to rapidly evaluate different data sampling strategies. The validation set serves as the quality signal: we train the proxy model on sampled data, then measure its perplexity on the validation set. A lower loss means the sampled data distribution better matches the capabilities we want the model to learn.
We provide two validation sets:
| Validation Set | Purpose | Source | Docs | Loss Strategy |
|---|---|---|---|---|
| OpenHermes-10k | General instruction-following quality | OpenHermes-2.5-1M | Below | Full sequence |
| CORE-22tasks | Benchmark-aligned capability | DCLM CORE benchmark | Below | Continuation-only |
Both sets share the same file format and are automatically downloaded from HuggingFace when first used.
File Format
All validation sets are saved as PyTorch .pt files containing:
{
"token_ids": torch.LongTensor, # [num_docs, block_size], padded with pad_token_id (0)
"loss_mask": torch.BoolTensor, # [num_docs, block_size], True = include in loss
"task_labels": list[str], # per-doc task label (CORE-22tasks only)
"metadata": dict, # source info, tokenizer, strategy description
}
The proxy runner computes validation loss as:
val_loss = mean over docs of (sum(loss * mask) / count(mask))
where mask is shifted by 1 position to align with next-token prediction targets.
OpenHermes-10k
Script: prepare_openhermes_assistant_10k.py
HuggingFace: liujin99/quadmix-openhermes-10k
File: openhermes_10k_assistant_tokenized.pt
Design
OpenHermes-10k measures general instruction-following quality. It samples 10,000 assistant responses from the OpenHermes-2.5-1M dataset and tokenizes them with GPT-NeoX-20B.
Since only assistant text is extracted (no system/user prompts), every non-padding token is meaningful assistant output. The loss mask marks all non-padding tokens as True.
Characteristics
- Size: 10,000 documents × 2048 tokens
- Loss strategy:
assistant_only_all_tokens— all tokens contribute to loss - Tokenizer: GPT-NeoX-20B (vocab 50,432)
- Use case: Default validation set; good for general-purpose data mixture evaluation
Usage
python scripts/run_essential_web_v1.py --quick --val-set=openhermes
CORE-22tasks (Recommended)
Script: prepare_core_val_set.py
HuggingFace: liujin99/quadmix-core-22tasks
File: core_22tasks_tokenized.pt
Design Rationale
The CORE-22tasks validation set is designed to align with the CORE metric used by nanochat and the DCLM benchmark. The CORE metric evaluates models on 22 diverse tasks spanning world knowledge, language understanding, commonsense reasoning, symbolic problem solving, and reading comprehension.
Key insight: The proxy model cannot actually solve benchmark tasks (it's only 1M parameters). Instead, we measure whether the sampled data distribution produces a model with lower perplexity on benchmark-style text. This is a distribution matching problem, not a task-solving problem.
Alignment with QuaDMix paper: The QuaDMix paper (Liu et al., 2025) defines two proxy experiment variants:
- QuaDMix-OH: Uses OpenHermes-10k as the validation target
- QuaDMix-BMK: Uses benchmark training data (HellaSwag, ARC-E, ARC-C, MMLU, TriviaQA) as the validation target
Their results show QuaDMix-BMK outperforms QuaDMix-OH on 4/5 downstream tasks (Table 3), proving that benchmark-aligned validation sets produce better data mixtures for specific capabilities. Our CORE-22tasks follows this principle, covering all 21 CORE metric tasks rather than just 5.
Text Extraction Strategy
For each CORE task, we extract (context, continuation) pairs based on the task type:
| Task Type | Context | Continuation | Example Tasks |
|---|---|---|---|
multiple_choice |
query + delimiter |
choices[gold] |
ARC, HellaSwag, PIQA |
language_modeling |
context.strip() + delimiter |
continuation |
LAMBADA, SQuAD, Jeopardy |
schema |
context_options[gold] + delimiter |
continuation |
Winograd, Winogrande |
The continuation is the correct answer or completion. For multiple_choice tasks where the choices field only contains labels (A/B/C/D), we parse the full answer text from the query string.
Continuation Delimiter
Each task specifies a continuation_delimiter in core.yaml (typically " " or "\nAnswer: "). This delimiter is inserted between context and continuation, affecting tokenization at the boundary. We read this from the YAML config to ensure correct token boundaries.
Loss Strategy: Continuation-Only Loss
Design choice: The loss mask marks only continuation tokens as True.
[context tokens] [continuation tokens] [padding]
False True False
Why Continuation-Only Loss
We initially implemented full sequence loss — masking all non-padding tokens (context + continuation), following the QuaDMix paper's approach. However, empirical testing revealed a critical problem: 16 proxy model experiments showed only std=0.0626 loss variance, indicating the validation set could not discriminate between different data mixtures.
Root cause analysis:
| Component | Tokens | % of Total | Signal Quality |
|---|---|---|---|
| Context (questions) | 5,848,442 | 94.8% | Near-zero (identical across experiments) |
| Continuation (answers) | 317,561 | 5.2% | High (varies by data mixture quality) |
The problem: 94.8% of the loss came from predicting context tokens (benchmark questions), which are identical regardless of training data. The actual signal — how well the model predicts answers — was drowned out by this noise.
Why continuation-only loss works:
Δloss = loss_A - loss_B
= L_answer_A - L_answer_B (context masked out)
By masking context tokens, we eliminate the noise term entirely. The tradeoff: fewer total tokens (317k vs 2.84M), but 100% signal purity.
Compensation strategy:
To offset the reduced token count, we increased the cap from 2000 to 5000 docs/task, yielding 46,926 documents. While continuation tokens per doc are few (avg 6.8), the large doc count provides sufficient statistical power through the standard error formula:
SE = σ / √n
With n=46,926 independent documents, the SE is small enough to detect meaningful differences between data mixtures.
Sampling Strategy: Cap-5000
Each task samples min(5000, available_data) documents — no up-sampling:
- Data-rich tasks (e.g., HellaSwag with 10,042 docs): sample 5,000
- Data-poor tasks (e.g., COPA with 100 docs, bigbench_repeat_copy_logic with 32): use all available
Cap Selection Process
With continuation-only loss, each document contributes few signal tokens (avg 6.8 continuation tokens). We need more documents to compensate:
| Cap | Docs | Cont Tokens | Eval Time | File Size |
|---|---|---|---|---|
| 1000 | 16,345 | ~110k | 1.6x | 287 MB |
| 2000 | 27,163 | ~185k | 2.7x | 478 MB |
| 5000 | 46,926 | 318k | 4.7x | 825 MB |
| All | 80,995 | ~530k | 8.1x | 1.3 GB |
- Cont Tokens = total continuation tokens (loss_mask=True). This is the actual signal.
- Eval Time = relative to OpenHermes-10k (10,000 docs).
- File Size = size of the tokenized .pt file.
We chose cap-5000 because:
- Continuation-only loss requires more documents to achieve statistical power (fewer tokens per doc)
- 46,926 docs provides ~4.7x evaluation time vs OpenHermes, acceptable for the improved signal purity
- All 21 tasks are retained (no filtering), preserving capability diversity
Why No Up-Sampling for Data-Poor Tasks?
Several tasks have fewer than 5,000 documents:
| Task | Available | Reason |
|---|---|---|
| bigbench_repeat_copy_logic | 32 | Tiny benchmark by design |
| copa | 100 | Small curated dataset |
| bigbench_operators | 210 | Symbolic reasoning subset |
| agi_eval_lsat_ar | 230 | LSAT analytical reasoning |
| openbook_qa | 500 | Science questions |
| winograd | 273 | Winograd Schema Challenge |
| bigbench_dyck_languages | 1,000 | Symbolic bracket completion |
| arc_challenge | 1,172 | Hard science questions |
| commonsense_qa | 1,221 | Commonsense reasoning |
| winogrande | 1,267 | Pronoun resolution |
| piqa | 1,838 | Physical intuition QA |
| jeopardy | 2,117 | Trivia questions |
| arc_easy | 2,376 | Easy science questions |
| boolq | 3,270 | Yes/no reading comprehension |
Up-sampling (sampling with replacement) would artificially inflate their token count but not their information content — the proxy model would see the same documents multiple times, reducing effective diversity. We use all available data without replacement.
Deduplication
The original CORE benchmark includes hellaswag_zeroshot (0-shot) and hellaswag (10-shot), which reference the same underlying dataset. Since the proxy model has no few-shot capability, these would produce identical text. We deduplicate by dataset_uri, keeping only the first occurrence.
Result: 21 unique tasks, capped at 5,000 docs/task = 46,926 documents (exact count depends on per-task data availability)
Task Coverage
The 21 deduplicated tasks span 5 categories:
| Category | Tasks | Count |
|---|---|---|
| World Knowledge | Jeopardy, ARC Easy, ARC Challenge, BigBench QA Wikidata | 4 |
| Language Understanding | HellaSwag, LAMBADA, Winograd, Winogrande, BigBench Language ID | 5 |
| Commonsense Reasoning | COPA, CommonsenseQA, PIQA, OpenBookQA | 4 |
| Symbolic Problem Solving | BigBench Dyck, Operators, CS Algorithms, Repeat Copy Logic, AGI Eval LSAT-AR | 5 |
| Reading Comprehension | SQuAD, CoQA, BoolQ | 3 |
Usage
python scripts/run_essential_web_v1.py --quick --val-set=core
The validation set will be automatically downloaded from liujin99/quadmix-core-22tasks on first use. If the download fails, the script falls back to local generation from the CORE eval bundle (requires eval_bundle/ directory).
Regenerating Locally
If you need to regenerate the validation set (e.g., to customize parameters):
python scripts/validation_set/prepare_core_val_set.py \
--eval-bundle /path/to/eval_bundle \
--num-samples-per-task 2000 \
--block-size 2048 \
--output-dir data
Requirements:
- CORE eval bundle (downloaded from
https://karpathy-public.s3.us-west-2.amazonaws.com/eval_bundle.zip) transformerslibrary (for GPT-NeoX-20B tokenizer)pyyamllibrary
Comparison with OpenHermes-10k
| Aspect | OpenHermes-10k | CORE-22tasks |
|---|---|---|
| Focus | General instruction quality | Benchmark-aligned capabilities |
| Source | OpenHermes-2.5-1M (chat data) | DCLM CORE benchmark (21 tasks) |
| Loss mask | All non-padding tokens | Continuation tokens only |
| Signal tokens | 2.24M (100% of non-padding) | 318k (5.2% of non-padding) |
| Docs | 10,000 | 46,926 |
| Eval time | 1.0x | ~4.7x |
| Best for | General-purpose mix | Capability-targeted mixes |
Technical Details
Tokenizer
Both validation sets use the GPT-NeoX-20B tokenizer (vocab size 50,432), matching the proxy model's vocabulary. This is different from nanochat's internal tokenizer (32K vocab), but intentional — the proxy model is a separate, smaller model with its own vocabulary.
Block Size
Default block size is 2048 tokens, matching the proxy model's sequence length. Documents longer than 2048 tokens are truncated; shorter documents are padded with pad_token_id (0).
Loss Computation
The proxy runner computes validation loss as follows:
# For each document:
ids_in = token_ids[:-1] # input: positions 0..T-2
ids_tgt = token_ids[1:] # target: positions 1..T-1
mask_tgt = loss_mask[1:] # mask: shifted to align with targets
# Per-token cross-entropy loss
loss = cross_entropy(model(ids_in), ids_tgt)
# Masked mean per document
doc_loss = sum(loss * mask_tgt) / count(mask_tgt)
# Global mean across all documents
val_loss = mean(doc_loss)
The 1-position shift aligns the mask with next-token prediction targets: mask[t] indicates whether predicting token_ids[t+1] should contribute to the loss.
Per-Task Loss Analysis
The CORE-22tasks validation set includes task_labels (a list of task names per document), enabling per-task loss analysis:
val_data = torch.load("core_22tasks_tokenized.pt")
task_labels = val_data["task_labels"]
# Group losses by task
from collections import defaultdict
task_losses = defaultdict(list)
for i, label in enumerate(task_labels):
task_losses[label].append(doc_losses[i])
# Per-task mean loss
for task, losses in task_losses.items():
print(f"{task}: {mean(losses):.4f}")
This can help diagnose whether a data mixture improves specific capability areas.
References
- DCLM Benchmark: Li et al., "DataComp-LM: In search of the next generation of multimodal datasets"
- nanochat CORE metric: Karpathy's nanochat —
scripts/base_eval.pyandnanochat/core_eval.py - OpenHermes-2.5: Teknium's OpenHermes-2.5-1M
- QuaDMix: See the main README for the full pipeline documentation
- Downloads last month
- 42