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
3715be65
Unverified
Commit
3715be65
authored
Jul 25, 2023
by
Tong Gao
Committed by
GitHub
Jul 25, 2023
Browse files
[Fix] Fix llama configs (#72)
Co-authored-by:
Leymore
<
zfz-960727@163.com
>
parent
e9cdb24d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
12 deletions
+8
-12
configs/models/hf_llama_13b.py
configs/models/hf_llama_13b.py
+2
-3
configs/models/hf_llama_30b.py
configs/models/hf_llama_30b.py
+2
-3
configs/models/hf_llama_65b.py
configs/models/hf_llama_65b.py
+2
-3
configs/models/hf_llama_7b.py
configs/models/hf_llama_7b.py
+2
-3
No files found.
configs/models/hf_llama_13b.py
View file @
3715be65
from
opencompass.models
import
HuggingFaceCausalLM
models
=
[
# LLaMA 13B
dict
(
type
=
HuggingFaceCausalLM
,
abbr
=
'llama-13b-hf'
,
path
=
"
decapoda-research
/llama-13b
-hf
"
,
tokenizer_path
=
'
decapoda-research
/llama-13b
-hf
'
,
path
=
"
huggyllama
/llama-13b"
,
tokenizer_path
=
'
huggyllama
/llama-13b'
,
tokenizer_kwargs
=
dict
(
padding_side
=
'left'
,
truncation_side
=
'left'
,
use_fast
=
False
,
...
...
configs/models/hf_llama_30b.py
View file @
3715be65
from
opencompass.models
import
HuggingFaceCausalLM
models
=
[
# LLaMA 30B
dict
(
type
=
HuggingFaceCausalLM
,
abbr
=
'llama-30b-hf'
,
path
=
"
decapoda-research
/llama-30b
-hf
"
,
tokenizer_path
=
'
decapoda-research
/llama-30b
-hf
'
,
path
=
"
huggyllama
/llama-30b"
,
tokenizer_path
=
'
huggyllama
/llama-30b'
,
tokenizer_kwargs
=
dict
(
padding_side
=
'left'
,
truncation_side
=
'left'
,
use_fast
=
False
,
...
...
configs/models/hf_llama_65b.py
View file @
3715be65
from
opencompass.models
import
HuggingFaceCausalLM
models
=
[
# LLaMA 65B
dict
(
type
=
HuggingFaceCausalLM
,
abbr
=
'llama-65b-hf'
,
path
=
"
decapoda-research
/llama-65b
-hf
"
,
tokenizer_path
=
'
decapoda-research
/llama-65b
-hf
'
,
path
=
"
huggyllama
/llama-65b"
,
tokenizer_path
=
'
huggyllama
/llama-65b'
,
tokenizer_kwargs
=
dict
(
padding_side
=
'left'
,
truncation_side
=
'left'
,
use_fast
=
False
,
...
...
configs/models/hf_llama_7b.py
View file @
3715be65
from
opencompass.models
import
HuggingFaceCausalLM
models
=
[
# LLaMA 7B
dict
(
type
=
HuggingFaceCausalLM
,
abbr
=
'llama-7b-hf'
,
path
=
"
decapoda-research
/llama-7b
-hf
"
,
tokenizer_path
=
'
decapoda-research
/llama-7b
-hf
'
,
path
=
"
huggyllama
/llama-7b"
,
tokenizer_path
=
'
huggyllama
/llama-7b'
,
tokenizer_kwargs
=
dict
(
padding_side
=
'left'
,
truncation_side
=
'left'
,
use_fast
=
False
,
...
...
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