This project is a Recurrent Neural Network (RNN) based dialogue generator, inspired by and trained on dialogue from the game Elden Ring. Utilizing TensorFlow, the model learns patterns and styles from the game's unique dialogue to generate new, game-like conversations. A Gradio interface is integrated to provide an easy and interactive way for users to generate and interact with new dialogues.
To set up this project, follow these steps:
- Clone the repository:
- Install the required dependencies:
pip install -r requirements.txt
To run the dialogue generator:
- Run Main.py
- Open the provided link in your web browser.
- Enter your seed text to generate random dialogues.
The RNN model was built using TensorFlow, particularly leveraging its capabilities for sequence data to model the flow and structure of Elden Ring's dialogue. The model architecture consists of LSTM layers which are well-suited for learning from long sequences of data.
The model's performance varies based on the complexity of the input and the training data coverage. Initial tests have shown promising results, with the model able to generate dialogues that hold thematic and stylistic resemblance to Elden Ring's original script. However, it is important to note that the generated dialogues may sometimes lack context or deviate in unexpected ways due to the inherent unpredictability of recurrent neural network-based text generation.