Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vivek22122014 opened this issue Feb 24, 2021 · 5 comments

Comments

@vivek22122014
Copy link

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
Copy link
Owner

golsun commented Feb 24, 2021

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

@vivek22122014
Copy link
Author

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?

@vivek22122014
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

golsun commented Feb 24, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants