When computers start cooking


A friend of mine and I created an AI that writes recipes. We trained a hugging-face transformer on our own scraped dataset of german recipes. And after some fiddling it create sensible output. And now I thought it would be fun translating the german recipes into English by another AI. You can find the source code on github. We even built a whole website for 100k+ german recipes generated by a computer. 1

And some results are just hilarious:

Cane sugar

  • 6 cup/s of cane sugar
  • 4 tsp. cane sugar
  • 2 tbsp. lemon juice
  • 2 tsp cinnamon
  • 2 tsp clove(s)
  • Vanilla

Rinse the peels with water and water. If you do not have peels, you will need to omit the peel. Drain peels through a fine sieve. Mix well with remaining ingredients and pour into a clean bottle. Screw cap on and let stand for about 1 year. Tastes best when it has stood in a cool place. It tastes great with less sugar crystals and is a great side dish for anything.

Quick Spice Pasta

  • 500 g noodles
  • 0.5 l milk
  • 2 tablespoons oil
  • salt and pepper
  • Herbs

Cook the pasta in plenty of salted water until al dente, drain and drain. Heat the oil in a large frying pan and fry the pasta until golden brown. Then add the milk and bring to the boil briefly. Season with salt and pepper and fold in the herbs. This dish can be served as a dip or as a sauce.

Summer vinegar sponges

  • 1 tsp salt
  • 3 tbsp. sugar
  • 2 tbsp. vinegar
  • 5 cup/s of water
  • 0.75 cup/n oil

Remove the green tea bag and mix all the water well with the salt until the salt is completely dissolved. Place in the refrigerator to infuse for 30 minutes. Caramelize the sugar in a saucepan. Add the vinegar milk and heat, stirring constantly, until the caramel is completely dissolved. Pour the mixture into a cup and place in the refrigerator. Keeps in the refrigerator for at least 1 week.

The first AI Christmas Menu

Okay, how about creating a whole menu? First we serve a Christmas punch. As a starter we have a Vegan Zucchini Coconut Milk Soup. The main course is the exquisite Raisin Feast. For nibbling afterwards there is Zucchini - Zucchini - Cookies with Cloves as an excellent postmodern Christmas cookie.

Fine Christmas punch

  • 1 Bottle of rum
  • 1 Bottle of vodka
  • 1 Bottle of sparkling wine
  • 1 Can of compote
  • 2 bottles of sparkling wine

Put everything in a shallow bowl and fill with iced sparkling wine.

Vegan Zucchini Coconut Milk Soup

  • 2 small zucchini
  • 1 m.-large carrot(s)
  • 1 large potato(s)
  • 1 parsnip(s)
  • 2 clove(s) of garlic
  • 0.5 tbsp. tomato paste
  • 2 bell pepper(s), red
  • 2 tablespoon peanut oil
  • 1 jar tomato sauce
  • 0.5 tbsp agave syrup
  • 1 tsp salt
  • 1 tsp oregano
  • 0.5 tsp curry powder
  • 1 lemon(s)
  • 200 ml coconut milk
  • 400 ml vegetable stock
  • 1 cup sour cream
  • 1 tbsp, heaped soy sauce

Clean the zucchini, carrot and parsnip and cut into pieces. Peel and chop the potato. Wash and chop the peppers and the carrots. Sauté the zucchini, carrots and garlic in a pot with oil. Then add the potatoes and the rest of the vegetables. When the potatoes and vegetables are cooked, add the coconut milk and vegetable broth. Lastly, add the agave syrup and lemon and put the lid on the pot. Then simmer for about 30 minutes until the vegetable liquid has boiled away. Then puree the soup. Stir in the sour cream and the soy sauce. Season to taste with salt and oregano.

Raisin Feast

  • 1 kg turnip(s)
  • 400 g carrot(s)
  • 2 large onion(s)
  • 600 g pork shoulder
  • 3 clove(s) of garlic
  • Salt
  • pepper
  • marjoram
  • 750 ml meat broth
  • 250 ml cream
  • butter
  • 1 tbsp raisins

Peel the vegetables. Cut into fine slices. Cut the meat into 1 cm cubes. Peel and chop the garlic. In a large pot, heat the butter, sauté the onions. Add meat and vegetables, fry for about 8 minutes, turning. Season with salt, pepper, marjoram. Deglaze with broth and cream, cover and simmer for about 5 minutes. Add a little broth if necessary. Add the raisins and season if necessary.

Zucchini - Zucchini Cookies with Cloves

1 egg(s) 100 g sugar 100 g margarine 400 g flour 1 tsp cinnamon 1 tsp cardamom 1 tsp baking powder 100 g hazelnuts 50 g chocolate chips 100 g zucchini 1 pinch(s) salt 0.5 tsp clove powder Crack the egg into a bowl and whisk lightly. Add the remaining ingredients and work well. With the help of two teaspoons, place small piles of dough on the baking sheet. Bake in a preheated oven at 180°C (top/bottom heat, convection oven: 160°C) for 10 - 15 minutes.

The future of cooking

Using AI to come up with new recipes might be a great way to explore new tastes and combinations. Often recipes were created by accident, so why not use an AI to help your creativity up a notch?! I am curious.

  1. and I want to soon add AI-generated jokes… 

Related posts