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
OpenDAS
opencompass
Commits
dcc32ed8
Unverified
Commit
dcc32ed8
authored
Jan 18, 2024
by
Mo Li
Committed by
GitHub
Jan 18, 2024
Browse files
[Fix] Update yi 200k config (#815)
parent
61fe873c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
configs/models/yi/hf_yi_6b_200k.py
configs/models/yi/hf_yi_6b_200k.py
+0
-9
No files found.
configs/models/yi/hf_yi_6b_200k.py
View file @
dcc32ed8
from
opencompass.models
import
HuggingFace
_meta_template
=
dict
(
round
=
[
dict
(
role
=
"HUMAN"
,
end
=
'
\n\n
'
),
dict
(
role
=
"BOT"
,
begin
=
"### Response:"
,
end
=
'</s>'
,
generate
=
True
),
],
)
models
=
[
dict
(
type
=
HuggingFace
,
...
...
@@ -23,11 +16,9 @@ models = [
truncation_side
=
'left'
,
trust_remote_code
=
True
,
),
meta_template
=
_meta_template
,
max_out_len
=
100
,
max_seq_len
=
2048
,
batch_size
=
8
,
run_cfg
=
dict
(
num_gpus
=
1
,
num_procs
=
1
),
end_str
=
'</s>'
,
)
]
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