Skip to content

Commit

Permalink
fix(configuration_llama): add keys_to_ignore_at_inference to `Llama…
Browse files Browse the repository at this point in the history
…Config` (huggingface#23891)
  • Loading branch information
calico-1226 authored and gojiteji committed Jun 5, 2023
1 parent fbf8f7c commit feef392
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transformers/models/llama/configuration_llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class LlamaConfig(PretrainedConfig):
>>> configuration = model.config
```"""
model_type = "llama"
keys_to_ignore_at_inference = ["past_key_values"]

def __init__(
self,
Expand Down

0 comments on commit feef392

Please sign in to comment.