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
gaoqiong
lm-evaluation-harness
Commits
bdb78d22
Unverified
Commit
bdb78d22
authored
Jun 18, 2024
by
LSinev
Committed by
GitHub
Jun 18, 2024
Browse files
Fix self assignment in neuron_optimum.py (#1990)
parent
72bb6241
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/models/neuron_optimum.py
lm_eval/models/neuron_optimum.py
+1
-1
No files found.
lm_eval/models/neuron_optimum.py
View file @
bdb78d22
...
@@ -288,7 +288,7 @@ class NEURON_HF(TemplateLM):
...
@@ -288,7 +288,7 @@ class NEURON_HF(TemplateLM):
self
.
vocab_size
=
self
.
tokenizer
.
vocab_size
self
.
vocab_size
=
self
.
tokenizer
.
vocab_size
self
.
tokenizer
.
pad_token_id
=
self
.
tokenizer
.
eos_token_id
self
.
tokenizer
.
pad_token_id
=
self
.
tokenizer
.
eos_token_id
self
.
add_bos_token
=
self
.
add_bos_token
self
.
add_bos_token
=
add_bos_token
self
.
_max_length
=
max_length
self
.
_max_length
=
max_length
...
...
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