golsun / DialogRPT

EMNLP 2020: "Dialogue Response Ranking Training with Large-Scale Human Feedback Data"
MIT License
336 stars 33 forks source link

I'm trying to setup DialogRPT please tell if these below steps I'm following are correct and complete!! #4

Open vivek22122014 opened 3 years ago

vivek22122014 commented 3 years ago

step 1

Option 1: run locally

git clone https://github.com/golsun/DialogRPT cd DialogRPT conda create -n dialogrpt python=3.6 conda activate dialogrpt pip install -r requirements.txt

step 2 git lfs install git clone https://huggingface.co/microsoft/DialoGPT-medium

step 3 git lfs install git clone https://huggingface.co/microsoft/DialogRPT-updown

step 4

run

python src/generation.py play -pg=restore/medium_ft.pkl -pr=restore/updown.pth --sampling

Is it all complete steps??

golsun commented 3 years ago

hi @vivek22122014 , actually you only need step 1 and step 4 the huggingface links are mainly for online demo purpose.

vivek22122014 commented 3 years ago

actually you only need step 1 and step 4 the huggingface links are mainly for online demo pu

But you told I need these models

DialogRPT model, e.g., updown.pth, and a DialoGPT model, e.g., medium_ft.pkl,

before running this -> python src/generation.py play -pg=restore/medium_ft.pkl -pr=restore/updown.pth --sampling

here --> https://github.com/golsun/DialogRPT/issues/3#issuecomment-785317848


from where should i get updown.pth and medium_ft.pkl models?

vivek22122014 commented 3 years ago

actually you only need step 1 and step 4 the huggingface links are mainly for online demo pu

But you told I need these models

DialogRPT model, e.g., updown.pth, and a DialoGPT model, e.g., medium_ft.pkl,

before running this -> python src/generation.py play -pg=restore/medium_ft.pkl -pr=restore/updown.pth --sampling

here --> #3 (comment)

from where should i get updown.pth and medium_ft.pkl models?

Really sorry for making you trouble, but It'll be really helpful for me if u help me regarding dialogRPT installation Thanks lot :)

vivek22122014 commented 3 years ago

Is

hi @vivek22122014 , actually you only need step 1 and step 4 the huggingface links are mainly for online demo purpose.

Step 1 and step 4 are complete?? or more needed

golsun commented 3 years ago

when you run step 4, these models will be automatically downloaded by this function if you haven't download them before