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
d1025c32
Commit
d1025c32
authored
Jul 06, 2023
by
mzr1996
Browse files
[Docs] Update config tutorials.
parent
cbaa1bc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
docs/en/user_guides/config.md
docs/en/user_guides/config.md
+1
-1
docs/zh_cn/user_guides/config.md
docs/zh_cn/user_guides/config.md
+1
-1
No files found.
docs/en/user_guides/config.md
View file @
d1025c32
...
...
@@ -22,7 +22,7 @@ models = [
type
=
HuggingFaceCausalLM
,
path
=
'huggyllama/llama-7b'
,
model_kwargs
=
dict
(
device_map
=
'auto'
),
tokenizer_path
=
'huggyllama/llama-
65
b'
,
tokenizer_path
=
'huggyllama/llama-
7
b'
,
tokenizer_kwargs
=
dict
(
padding_side
=
'left'
,
truncation_side
=
'left'
),
max_seq_len
=
2048
,
max_out_len
=
50
,
...
...
docs/zh_cn/user_guides/config.md
View file @
d1025c32
...
...
@@ -19,7 +19,7 @@ models = [
type
=
HuggingFaceCausalLM
,
path
=
'huggyllama/llama-7b'
,
model_kwargs
=
dict
(
device_map
=
'auto'
),
tokenizer_path
=
'huggyllama/llama-
65
b'
,
tokenizer_path
=
'huggyllama/llama-
7
b'
,
tokenizer_kwargs
=
dict
(
padding_side
=
'left'
,
truncation_side
=
'left'
),
max_seq_len
=
2048
,
max_out_len
=
50
,
...
...
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