Co je to sumarizace?
Shrnutí textu je jednoduše proces shrnutí bloku textu za účelem jeho zkrácení.
Generativní modely umělé inteligence, jako jsou GPT-5, GPT-4, LLaMA 3, Yi 34B a Mixtral 8x7B, jsou velmi dobré při provádění shrnutí textu.
Řekněme, že máte následující blok textu:
The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building, and
the tallest structure in Paris. Its base is square, measuring 125 metres (410 ft) on each side.
During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest
man-made structure in the world, a title it held for 41 years until the Chrysler Building in New
York City was finished in 1930. It was the first structure to reach a height of 300 metres. Due to
the addition of a broadcasting aerial at the top of the tower in 1957, it is now taller than the
Chrysler Building by 5.2 metres (17 ft). Excluding transmitters, the Eiffel Tower is the second
tallest free-standing structure in France after the Millau Viaduct.
Tento technický popis je poměrně dlouhý a pro běžného čtenáře možná nejsou všechny tyto podrobnosti nezbytné, aby pochopil obecnou myšlenku. Proto nyní chceme využít strojového učení k automatickému shrnutí tohoto textu.
Model sumarizace by vracel něco takového:
The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building. Its
base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel
Tower surpassed the Washington Monument to become the tallest man-made structure in the world.
Zajímavé, že? Jak vidíte, celková myšlenka zůstala, ale spousta detailů byla odstraněna. Díky tomu má text poloviční velikost než původně!
Existuje několik typů shrnutí. Například "generování titulků" spočívá v generování velmi krátké věty, která se dokonale hodí pro titulek blogu nebo zprávy. "Shrnutí dialogu" spočívá v převedení celého dialogu do zkrácené verze. "Extrakční sumarizace" znamená, že shrnutí je tvořeno pouze větami z původního textu, zatímco "abstraktní sumarizace" znamená, že v souhrnu lze vytvořit nový obsah.