Unverified Commit 68b0baee authored by Alex Hedges's avatar Alex Hedges Committed by GitHub
Browse files

Ignore past_key_values during GPT-Neo inference (#13521)

parent 07c2607d
......@@ -96,6 +96,7 @@ class GPTNeoConfig(PretrainedConfig):
>>> configuration = model.config
"""
model_type = "gpt_neo"
keys_to_ignore_at_inference = ["past_key_values"]
attribute_map = {"num_attention_heads": "num_heads", "num_hidden_layers": "num_layers"}
def __init__(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment