Skip to content

arnxv0/ymir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

A personality replication chatbot

Paper link on overleaf

Text Style Replication using GPT-3 based on Personality Identification

Additional info

  • Dataset used in the personality model can be found here.
  • Code used to build the personality model is located in the backend folder with the name Nlp_Project.ipynb.

Setup

  1. Clone the reprository

    git clone https://github.com/arnxv0/ymir.git
    
  2. Setup frontend:

    • Go to the frontend directory
    cd frontend
    
    • Install all the dependencies using npm
    npm i
    
    • Start the frontend
    npm start
    
  3. Setup backend:

    • Go to the backend directory
    cd backend
    
    • Create a .env file
    • Get an api key for the GPT-3 model from OpenAI here.
    • Add the following line in the .env file, where XXX is replaced with your api key
    GPT3_TOKEN=XXX
    
    • Install the necessary libraries
    pip install -r requirements.txt
    
    • Run the backend
    python main.py
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published