Topic Modeling with BERTopic - Talking Language AI
Mar 19, 2025

Summary
This post details the technical implementation of an AI-powered Magic the Gathering card generator, focusing on prompt engineering, data preparation, and model fine-tuning to produce game-specific content. It leverages BERTopic for topic modeling to discover and analyze themes within the data, enhancing the accuracy and relevance of topic extraction for unstructured text. The approach integrates BERTopic with Cohere's language AI models, utilizing advanced embedding techniques and clustering algorithms to group similar documents and identify representative topics.