Skip to content

jvscursulim/rpg-llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPG GPT

image

Description

This project has the goal of create a LLM model specialized to be a RPG master, with that we desired that anyone could play a RPG adventure interacting with the LLM model through the chat and also improve the immersion in the adventure using a stable diffusion to generate images of what LLM model describe during the interactions via chat. Besides that, we could not to forget to add a d20 to give us a chance to have a critical success or a critical failure in our actions.

How to install

  • Step 1: Clone this repository
git clone
conda create -n env python=3.9
  • Step 4: Activate your new python environment
conda activate env

If you don't have a NVIDIA GPU you can skip the step 5.

  • Step 5 (For NVIDIA GPU users): Install CUDA 11.8 using miniconda
conda install -c conda-forge cudatoolkit==11.8.0
conda install -c conda-forge cudnn==8.9.7.29
ollama pull llama3
  • Step 8: Install project dependencies
pip install -r requirements.txt

Observation: If you don't have a NVIDIA GPU, you will need to install Pytorch for CPU.

How to use

  • Step 1: Activate your python environment where you installed the project dependencies and access the folder where you find rpggpt.py file and run the following command
streamlit run rpggpt.py

After this you will be redirected to a new tab on your browser where you will be able to interact with the RPG GPT.

image image image

Releases

No releases published

Packages

No packages published

Languages