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

What is variable COMPAC_MODEL? #3

Open
Namo-Bang opened this issue Jan 19, 2022 · 3 comments
Open

What is variable COMPAC_MODEL? #3

Namo-Bang opened this issue Jan 19, 2022 · 3 comments

Comments

@Namo-Bang
Copy link

When run 'run_pplm.py', COMPAC_MODEL(None) always raises error.
How can I modify the code?

@SeaEagleI
Copy link

SeaEagleI commented Feb 11, 2022

shit codes... wasted me a day

@majumderb
Copy link
Owner

As mentioned in the paper, you can replace COMPAC_MODEL with any language model that takes the form of GPT2. For example GPT2, DialoGPT, GPT2 trained by huggingface on PersonaChat dataset etc. Thanks.

@Namo-Bang
Copy link
Author

@majumderb
Thanks! Now I'm training the compac model, and if there's a problem again, I'll leave an issue.

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

3 participants