-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Support Slurm Cluster 2. Support automatic data download 3. Update InternLM2.5-1.8B/20B-Chat
- Loading branch information
Showing
23 changed files
with
762 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from opencompass.models import HuggingFacewithChatTemplate | ||
|
||
models = [ | ||
dict( | ||
type=HuggingFacewithChatTemplate, | ||
abbr='internlm2_5-1_8b-chat-hf', | ||
path='internlm/internlm2_5-1_8b-chat', | ||
max_out_len=2048, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=1), | ||
) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from opencompass.models import HuggingFacewithChatTemplate | ||
|
||
models = [ | ||
dict( | ||
type=HuggingFacewithChatTemplate, | ||
abbr='internlm2_5-20b-chat-hf', | ||
path='internlm/internlm2_5-20b-chat', | ||
max_out_len=2048, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=2), | ||
) | ||
] |
15 changes: 15 additions & 0 deletions
15
configs/models/hf_internlm/lmdeploy_internlm2_5_1_8b_chat.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from opencompass.models import TurboMindModelwithChatTemplate | ||
|
||
models = [ | ||
dict( | ||
type=TurboMindModelwithChatTemplate, | ||
abbr='internlm2_5-1_8b-chat-turbomind', | ||
path='internlm/internlm2_5-1_8b-chat', | ||
engine_config=dict(session_len=8192, max_batch_size=16, tp=1), | ||
gen_config=dict(top_k=1, temperature=1e-6, top_p=0.9, max_new_tokens=2048), | ||
max_seq_len=8192, | ||
max_out_len=2048, | ||
batch_size=16, | ||
run_cfg=dict(num_gpus=1), | ||
) | ||
] |
15 changes: 15 additions & 0 deletions
15
configs/models/hf_internlm/lmdeploy_internlm2_5_20b_chat.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from opencompass.models import TurboMindModelwithChatTemplate | ||
|
||
models = [ | ||
dict( | ||
type=TurboMindModelwithChatTemplate, | ||
abbr='internlm2_5-20b-chat-turbomind', | ||
path='internlm/internlm2_5-20b-chat', | ||
engine_config=dict(session_len=8192, max_batch_size=16, tp=2), | ||
gen_config=dict(top_k=1, temperature=1e-6, top_p=0.9, max_new_tokens=2048), | ||
max_seq_len=8192, | ||
max_out_len=2048, | ||
batch_size=16, | ||
run_cfg=dict(num_gpus=2), | ||
) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
opencompass/configs/models/hf_internlm/hf_internlm2_5_1_8b_chat.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from opencompass.models import HuggingFacewithChatTemplate | ||
|
||
models = [ | ||
dict( | ||
type=HuggingFacewithChatTemplate, | ||
abbr='internlm2_5-1_8b-chat-hf', | ||
path='internlm/internlm2_5-1_8b-chat', | ||
max_out_len=2048, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=1), | ||
) | ||
] |
12 changes: 12 additions & 0 deletions
12
opencompass/configs/models/hf_internlm/hf_internlm2_5_20b_chat.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from opencompass.models import HuggingFacewithChatTemplate | ||
|
||
models = [ | ||
dict( | ||
type=HuggingFacewithChatTemplate, | ||
abbr='internlm2_5-20b-chat-hf', | ||
path='internlm/internlm2_5-20b-chat', | ||
max_out_len=2048, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=2), | ||
) | ||
] |
15 changes: 15 additions & 0 deletions
15
opencompass/configs/models/hf_internlm/lmdeploy_internlm2_5_1_8b_chat.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from opencompass.models import TurboMindModelwithChatTemplate | ||
|
||
models = [ | ||
dict( | ||
type=TurboMindModelwithChatTemplate, | ||
abbr='internlm2_5-1_8b-chat-turbomind', | ||
path='internlm/internlm2_5-1_8b-chat', | ||
engine_config=dict(session_len=8192, max_batch_size=16, tp=1), | ||
gen_config=dict(top_k=1, temperature=1e-6, top_p=0.9, max_new_tokens=2048), | ||
max_seq_len=8192, | ||
max_out_len=2048, | ||
batch_size=16, | ||
run_cfg=dict(num_gpus=1), | ||
) | ||
] |
15 changes: 15 additions & 0 deletions
15
opencompass/configs/models/hf_internlm/lmdeploy_internlm2_5_20b_chat.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from opencompass.models import TurboMindModelwithChatTemplate | ||
|
||
models = [ | ||
dict( | ||
type=TurboMindModelwithChatTemplate, | ||
abbr='internlm2_5-20b-chat-turbomind', | ||
path='internlm/internlm2_5-20b-chat', | ||
engine_config=dict(session_len=8192, max_batch_size=16, tp=2), | ||
gen_config=dict(top_k=1, temperature=1e-6, top_p=0.9, max_new_tokens=2048), | ||
max_seq_len=8192, | ||
max_out_len=2048, | ||
batch_size=16, | ||
run_cfg=dict(num_gpus=2), | ||
) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.