vojtsek / to-llm-bot

34 stars 7 forks source link

Want the README profile. #2

Open BRZ911 opened 10 months ago

BRZ911 commented 10 months ago

Hi, recently I have been doing research on T0D. When researching the job, I found that your work is excellent. However, there are some problems when running the code. Would you please provide a README file to facilitate subsequent researchers to follow up this work?

bansky-cl commented 9 months ago

i want it too.

ran-wei-verses commented 8 months ago

For the record, I was able to run the run.py script using the following procedure:

  1. Create a new python environment and install packages from requirements.txt
  2. requirements.txt unfortunately did not specify versions. I had to downgrade the openai package by pip install openai==0.27.8.
  3. The argparse in run.py requires this multiwoz-context-db.vec, which is a faiss database. So I ran python create_faiss_db.py --output_faiss_db multiwoz-context-db.vec.
  4. I made a simple bash script to run run.py as follow:
    
    #! /bin/bash
    export OPENAI_API_KEY=your_key

python run.py \ --cache_dir "" \ --model_name "gpt-3.5-turbo" \ --from_wandb_entity "your_wandb_account_name" \ --faiss_db "multiwoz-context-db.vec"



This is all I needed to get running.