Data Normalization

Data processing and normalization tasks evaluate structured output from messy prose and different structures. This capability is essential for catalogue and product pipelines where data needs to be extracted from unstructured text and formatted consistently. Models must understand the desired output format and extract relevant information accurately.

50
Input Tokens
0
Output Tokens
0
Duration
0
Cost
0
Context
Input
Reformat the following recipe, in markdown format. Each step should be a header 2 and the title header 1. Separate sections by 2 newlines (Before and after the section header).
Expected output
{"recipe": "# Bacon Hamburger

## Step 1

Peel the potatoes and cut them into thin fries.
Soak them in cold water for 10–15 minutes to remove excess starch.
Drain and pat dry with a clean towel.
Preheat the oven to 220°C (430°F) or heat oil in a pot if deep-frying.

## Step 2

Toss the fries in oil and salt.
Spread them out on a baking tray and bake for 30–40 minutes, flipping halfway through.
Alternatively, deep-fry them in batches for 3–5 minutes until golden and crisp.
Drain on paper towels and season with salt.

## Step 3

Divide 300–350g of mince into two equal portions.
Gently shape into burger patties about 1–1.5 cm thick.
Press a small dent in the center of each patty to prevent puffing.
Season both sides with salt and pepper.

## Step 4

Heat a pan over medium heat and fry 4 strips of bacon until crispy, about 4–5 minutes per side.
Remove and place on paper towels to drain excess fat.

## Step 5

In the same pan, cook the burger patties over medium-high heat for 3–4 minutes per side, or until done to your liking.
Place a slice of cheese on each patty in the last minute of cooking and cover to melt.
Remove the patties from the pan and let them rest.

## Step 6

Cut the bread in half and lightly toast the cut sides in a dry pan or toaster until golden.
Wash and dry the lettuce leaves. Slice the tomato and onion into rings.

## Step 7

Spread mustard on the bottom bun and ketchup on the top bun.
Layer the burger in this order:
lettuce, burger patty, crispy bacon, tomato slices, onion rings, and top bun.

## Step 8

Serve the burgers with the hot fries on the side.
Add extra ketchup and mayonnaise for dipping.
Enjoy your homemade bacon burger feast!"}
Model output
{
  "recipe": "# Bacon Hamburger\n\n\n## Step 1\n\nPeel the potatoes and cut them into thin fries.\nSoak them in cold water for 10–15 minutes to remove excess starch.\nDrain and pat dry with a clean towel.\nPreheat the oven to 220°C (430°F) or heat oil in a pot if deep-frying.\n\n\n## Step 2\n\nToss the fries in oil and salt.\nSpread them out on a baking tray and bake for 30–40 minutes, flipping halfway through.\nAlternatively, deep-fry them in batches for 3–5 minutes until golden and crisp.\nDrain on paper towels and season with salt.\n\n\n## Step 3\n\nDivide 300–350g of mince into two equal portions.\nGently shape into burger patties about 1–1.5 cm thick.\nPress a small dent in the center of each patty to prevent puffing.\nSeason both sides with salt and pepper.\n\n\n## Step 4\n\nHeat a pan over medium heat and fry 4 strips of bacon until crispy, about 4–5 minutes per side.\nRemove and place on paper towels to drain excess fat.\n\n\n## Step 5\n\nIn the same pan, cook the burger patties over medium-high heat for 3–4 minutes per side, or until done to your liking.\nPlace a slice of cheese on each patty in the last minute of cooking and cover to melt.\nRemove the patties from the pan and let them rest.\n\n\n## Step 6\n\nCut the bread in half and lightly toast the cut sides in a dry pan or toaster until golden.\nWash and dry the lettuce leaves. Slice the tomato and onion into rings.\n\n\n## Step 7\n\nSpread mustard on the bottom bun and ketchup on the top bun.\nLayer the burger in this order:\nlettuce, burger patty, crispy bacon, tomato slices, onion rings, and top bun.\n\n\n## Step 8\n\nServe the burgers with the hot fries on the side.\nAdd extra ketchup and mayonnaise for dipping.\nEnjoy your homemade bacon burger feast!"
}