-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [doc] quick start swap tabs * update docs * update * update * update * update * update * update * update
- Loading branch information
Showing
23 changed files
with
515 additions
and
191 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from mmengine import read_base | ||
|
||
with read_base(): | ||
from ..cmmlu.cmmlu_ppl_041cbf import cmmlu_datasets | ||
|
||
for d in cmmlu_datasets: | ||
d['abbr'] = 'demo_' + d['abbr'] | ||
d['reader_cfg']['test_range'] = '[0:4]' |
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,8 @@ | ||
from mmengine import read_base | ||
|
||
with read_base(): | ||
from ..cmmlu.cmmlu_gen_c13365 import cmmlu_datasets | ||
|
||
for d in cmmlu_datasets: | ||
d['abbr'] = 'demo_' + d['abbr'] | ||
d['reader_cfg']['test_range'] = '[0:4]' |
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,7 @@ | ||
from mmengine import read_base | ||
|
||
with read_base(): | ||
from ..gsm8k.gsm8k_gen_17d0dc import gsm8k_datasets | ||
|
||
gsm8k_datasets[0]['abbr'] = 'demo_' + gsm8k_datasets[0]['abbr'] | ||
gsm8k_datasets[0]['reader_cfg']['test_range'] = '[0:64]' |
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,7 @@ | ||
from mmengine import read_base | ||
|
||
with read_base(): | ||
from ..gsm8k.gsm8k_gen_1d7fe4 import gsm8k_datasets | ||
|
||
gsm8k_datasets[0]['abbr'] = 'demo_' + gsm8k_datasets[0]['abbr'] | ||
gsm8k_datasets[0]['reader_cfg']['test_range'] = '[0:64]' |
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,7 @@ | ||
from mmengine import read_base | ||
|
||
with read_base(): | ||
from ..math.math_4shot_base_gen_db136b import math_datasets | ||
|
||
math_datasets[0]['abbr'] = 'demo_' + math_datasets[0]['abbr'] | ||
math_datasets[0]['reader_cfg']['test_range'] = '[0:64]' |
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,7 @@ | ||
from mmengine import read_base | ||
|
||
with read_base(): | ||
from ..math.math_0shot_gen_393424 import math_datasets | ||
|
||
math_datasets[0]['abbr'] = 'demo_' + math_datasets[0]['abbr'] | ||
math_datasets[0]['reader_cfg']['test_range'] = '[0:64]' |
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,10 @@ | ||
from mmengine.config import read_base | ||
|
||
with read_base(): | ||
from .datasets.demo.demo_gsm8k_base_gen import gsm8k_datasets | ||
from .datasets.demo.demo_math_base_gen import math_datasets | ||
from .models.qwen.hf_qwen2_1_5b import models as hf_qwen2_1_5b_models | ||
from .models.hf_internlm.hf_internlm2_1_8b import models as hf_internlm2_1_8b_models | ||
|
||
datasets = gsm8k_datasets + math_datasets | ||
models = hf_qwen2_1_5b_models + hf_internlm2_1_8b_models |
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,10 @@ | ||
from mmengine.config import read_base | ||
|
||
with read_base(): | ||
from .datasets.demo.demo_gsm8k_chat_gen import gsm8k_datasets | ||
from .datasets.demo.demo_math_chat_gen import math_datasets | ||
from .models.qwen.hf_qwen2_1_5b_instruct import models as hf_qwen2_1_5b_instruct_models | ||
from .models.hf_internlm.hf_internlm2_chat_1_8b import models as hf_internlm2_chat_1_8b_models | ||
|
||
datasets = gsm8k_datasets + math_datasets | ||
models = hf_qwen2_1_5b_instruct_models + hf_internlm2_chat_1_8b_models |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -8,6 +8,5 @@ | |
max_out_len=1024, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=1), | ||
stop_words=['</s>', '<|im_end|>'], | ||
) | ||
] |
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 |
---|---|---|
|
@@ -8,6 +8,5 @@ | |
max_out_len=1024, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=1), | ||
stop_words=['</s>', '<|im_end|>'], | ||
) | ||
] |
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 |
---|---|---|
|
@@ -8,6 +8,5 @@ | |
max_out_len=1024, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=1), | ||
stop_words=['</s>', '<|im_end|>'], | ||
) | ||
] |
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 |
---|---|---|
|
@@ -8,6 +8,5 @@ | |
max_out_len=1024, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=2), | ||
stop_words=['</s>', '<|im_end|>'], | ||
) | ||
] |
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 |
---|---|---|
|
@@ -8,6 +8,5 @@ | |
max_out_len=1024, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=2), | ||
stop_words=['</s>', '<|im_end|>'], | ||
) | ||
] |
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 |
---|---|---|
|
@@ -8,6 +8,5 @@ | |
max_out_len=1024, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=1), | ||
stop_words=['</s>', '<|im_end|>'], | ||
) | ||
] |
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 |
---|---|---|
|
@@ -8,6 +8,5 @@ | |
max_out_len=1024, | ||
batch_size=8, | ||
run_cfg=dict(num_gpus=1), | ||
stop_words=['</s>', '<|im_end|>'], | ||
) | ||
] |
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.