PPLM icon indicating copy to clipboard operation
PPLM copied to clipboard

Plug and Play Language Model implementation. Allows to steer topic and attributes of GPT-2 models.

Results 31 PPLM issues
Sort by recently updated
recently updated
newest added

https://github.com/uber-research/PPLM/blob/e236b8989322128360182d29a79944627957ad47/run_pplm.py#L610 I'm trying to implement gpt-neo with PPLM. however gpt-neo meeds upgarde transformers liberary to transfoermers>=4.5; where 'past' is replaced with past_key_values. when I change past to past_key_values I got...

Hi, thanks for the great works. I see that you are filtering out words that are composed of more than one token: https://github.com/uber-research/PPLM/blob/5f27e191798b832b51cfc9a83697afd83dc4832c/run_pplm.py#L390, which makes it filter quite a bit...

Hello, I find that some words are cased while some are uncased. They have different word ids in the vocab of tokenizer of GPT. What is the appropriate way to...

I am trying to train a discriminator on my own (the network learns to differentiate between text from one specific source from generic text ) . The idea is that...

Hi, Recently I've been working on Conditional Text Generation for [2021 OSAM Hackathon](https://github.com/osamhack2021?q=pplm&type=&language=&sort=) in Korea, [Our team](https://github.com/osamhack2021/AI_WEB_POOL_YD) tried your paper code, in order to generate some sentences suitable for job...

hello, could you specify the version of all packages in you environment?

Thanks for open-sourcing the code ! This approach is very interesting, but I'm curious about the impact on performance (inference speed). **Is there any benchmark showing the impact on performance...

Hello, I want to ask about the difference between `BAG_OF_WORDS_ARCHIVE_MAP` in this repository and HuggingFace Transformers examples/research-projects/pplm. In run_pplm.py in this repository, https://github.com/uber-research/PPLM/blob/5b262d6b625fae063e085a1f59aa40b7c7854fb5/run_pplm.py#L58-L68 On the contrary, in run_pplm.py in the...