Automatické generování Einsteinových hádanek v přirozeném jazyce
Automatic generation of Einstein's puzzles in natural language
bachelor thesis (DEFENDED)
View/ Open
Permanent link
http://hdl.handle.net/20.500.11956/184322Identifiers
Study Information System: 250516
Collections
- Kvalifikační práce [11214]
Author
Advisor
Referee
Hajič, Jan
Faculty / Institute
Faculty of Mathematics and Physics
Discipline
Computer Science with specialisation in Programming and Software Development
Department
Institute of Formal and Applied Linguistics
Date of defense
7. 9. 2023
Publisher
Univerzita Karlova, Matematicko-fyzikální fakultaLanguage
Czech
Grade
Very good
Keywords (Czech)
Einsteinova hádanka|zebra|generování textu|přirozený jazykKeywords (English)
Einstein's puzzle|zebra|text generation|natural languageV rámci bakalářské práce byla vytvořena aplikace na příkazové řádce pro generování Einsteinových hádanek v přirozeném jazyce pomocí jazyko- vého modelu GPT-3 (generativní předtrénovaný Transformer třetí generace). Pro generování Einsteinových hádanek byla použita metoda few-shot, kdy je jazykovému modelu kromě zadání požadované úlohy předáno i několik vy- řešených příkladů této úlohy, pomocí kterých se má jazykový model úlohu naučit přímo při generování. Vytvořená aplikace umožňuje generovat Einstei- novy hádanky různých velikostí a obtížností na libovolné téma v českém či anglickém jazyce. Při generování je kladen důraz na kreativitu a originalitu Einsteinových hádanek.
In this bachelor thesis was created command line application for generat- ing Einstein's riddles in natural language using language model GPT-3 (third generation Generated Pre-trained Transformer). The few-shot method was used to generate Einstein's riddles, where, in addition to entering the required task, the language model is also given several solved examples of this task, with which the language model is supposed to learn the task directly during generation. The created application allows user to generate Einstein's riddles of various sizes and difficulties on any topic in Czech or English language. During generation the emphasis is placed on the creativity and originality of Einstein's riddles.