Dungeons and Dragons fantasy adventure generation

dc.contributor.advisorDe Silva, N
dc.contributor.authorPeiris, HAN
dc.date.accept2024
dc.date.accessioned2025-08-18T04:49:58Z
dc.date.issued2024
dc.description.abstractIn this thesis, we evaluate the possibility of creating an automated fantasy adventure generation system for the popular tabletop game Dungeons and Dragons. We have evaluated what the existing practices are when story generation is considered and their limitations, especially given the domain specificity. We have detailed our steps in creating the Forgotten Realms Wiki (FRW) data set, a Dungeons and Dragons domainspecific data set containing several sub-datasets with various degrees of pre-processing useful in different Natural Language Processing tasks. Going a step further, we have evaluated the goodness of these data via semantic similarity comparisons, establishing the uniqueness and validity of the existence of these different data sets. We have created multiple text generation models capable of free text generation as well as in-filling focused text generation. In addition, the study describes the potential pitfalls when using uni-directional models such as attention-based language models for infilling tasks. We have finally created an instruction fine-tuned Large Language Model, Mistral of Realms Instruct 7b using FRW data set. Then we have created a system comprised of Artificial Intelligence agents backed by this instruct-fine tuned model to create a system capable of generating the necessary components of a dungeons and dragons adventure module including the main narrative, character descriptions, and gameplay mechanics. We have qualitatively evaluated the goodness of the generated content with a combination of similar techniques.
dc.identifier.accnoTH5663
dc.identifier.citationPeiris, H.A.N. (2024). Dungeons and Dragons fantasy adventure generation [Master’s theses, University of Moratuwa]. , University of Moratuwa]. Institutional Repository University of Moratuwa. https://dl.lib.uom.lk/handle/123/23972
dc.identifier.degreeMSc in Computer Science
dc.identifier.departmentDepartment of Computer Science & Engineering
dc.identifier.facultyEngineering
dc.identifier.urihttps://dl.lib.uom.lk/handle/123/23972
dc.language.isoen
dc.subjectNATURAL LANGUAGE PROCESSING
dc.subjectNATURAL LANGUAGE GENERATION
dc.subjectSTORY GENERATION
dc.subjectCOMPUTER GAMES-Dungeons and Dragons
dc.subjectLARGE LANGUAGE MODELS
dc.subjectCOMPUTER SCIENCE AND ENGINEERING-Dissertation
dc.subjectMSc in Computer Science
dc.titleDungeons and Dragons fantasy adventure generation
dc.typeThesis-Abstract

Files

Original bundle

Now showing 1 - 3 of 3
Loading...
Thumbnail Image
Name:
TH5663-1.pdf
Size:
114.16 KB
Format:
Adobe Portable Document Format
Description:
Pre-text
Loading...
Thumbnail Image
Name:
TH5663-2.pdf
Size:
105.9 KB
Format:
Adobe Portable Document Format
Description:
Post-text
Loading...
Thumbnail Image
Name:
TH5663.pdf
Size:
4.95 MB
Format:
Adobe Portable Document Format
Description:
Full-thesis

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: