Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
0963a250
Unverified
Commit
0963a250
authored
May 31, 2023
by
Calico
Committed by
GitHub
May 31, 2023
Browse files
fix(configuration_llama): add `keys_to_ignore_at_inference` to `LlamaConfig` (#23891)
parent
00f6ba0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/transformers/models/llama/configuration_llama.py
src/transformers/models/llama/configuration_llama.py
+1
-0
No files found.
src/transformers/models/llama/configuration_llama.py
View file @
0963a250
...
...
@@ -79,6 +79,7 @@ class LlamaConfig(PretrainedConfig):
>>> configuration = model.config
```"""
model_type
=
"llama"
keys_to_ignore_at_inference
=
[
"past_key_values"
]
def
__init__
(
self
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment