-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
Line 610 in e236b89
| pert_logits, past, pert_all_hidden = model(last, past=pert_past) |
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 an error as following
TypeError: forward() got an unexpected keyword argument 'past'
any ideas how can I solve this ?
Metadata
Metadata
Assignees
Labels
No labels