mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
fix erro in configs (#750)
This commit is contained in:
parent
81098722d2
commit
8728287a55
@ -28,7 +28,7 @@ for _name in subjective_all_sets:
|
|||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
retriever=dict(type=ZeroRetriever),
|
retriever=dict(type=ZeroRetriever),
|
||||||
inferencer=dict(type=GenInferencer, max_out_len=2048),
|
inferencer=dict(type=GenInferencer, max_out_len=2048),
|
||||||
)
|
)
|
||||||
|
|
||||||
subjective_eval_cfg = dict(
|
subjective_eval_cfg = dict(
|
||||||
|
@ -16,8 +16,8 @@ models = [dict(
|
|||||||
truncation_side='left',
|
truncation_side='left',
|
||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
use_fast=False,),
|
use_fast=False,),
|
||||||
max_out_len=512,
|
max_out_len=1024,
|
||||||
max_seq_len=2048,
|
max_seq_len=4096,
|
||||||
batch_size=8,
|
batch_size=8,
|
||||||
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
||||||
run_cfg=dict(num_gpus=1, num_procs=1),
|
run_cfg=dict(num_gpus=1, num_procs=1),
|
||||||
|
@ -3,15 +3,15 @@ from opencompass.models import HuggingFaceCausalLM
|
|||||||
|
|
||||||
models = [dict(
|
models = [dict(
|
||||||
type=HuggingFaceCausalLM,
|
type=HuggingFaceCausalLM,
|
||||||
abbr='autoj-13b-GPTQ-4bits',
|
abbr='autoj-13b',
|
||||||
path="GAIR/autoj-13b-GPTQ-4bits",
|
path="GAIR/autoj-13b",
|
||||||
tokenizer_path='GAIR/autoj-13b-GPTQ-4bits',
|
tokenizer_path='GAIR/autoj-13b',
|
||||||
tokenizer_kwargs=dict(padding_side='left',
|
tokenizer_kwargs=dict(padding_side='left',
|
||||||
truncation_side='left',
|
truncation_side='left',
|
||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
use_fast=False,),
|
use_fast=False,),
|
||||||
max_out_len=512,
|
max_out_len=1024,
|
||||||
max_seq_len=2048,
|
max_seq_len=4096,
|
||||||
batch_size=8,
|
batch_size=8,
|
||||||
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
||||||
run_cfg=dict(num_gpus=1, num_procs=1),
|
run_cfg=dict(num_gpus=1, num_procs=1),
|
||||||
|
@ -8,16 +8,16 @@ https://huggingface.co/GAIR/autoj-13b-GPTQ-4bits
|
|||||||
|
|
||||||
models = [dict(
|
models = [dict(
|
||||||
type=HuggingFaceCausalLM,
|
type=HuggingFaceCausalLM,
|
||||||
abbr='autoj-13b',
|
abbr='autoj-13b-GPTQ-4bits',
|
||||||
path="GAIR/autoj-13b",
|
path="GAIR/autoj-13b-GPTQ-4bits",
|
||||||
tokenizer_path='GAIR/autoj-13b',
|
tokenizer_path='GAIR/autoj-13b-GPTQ-4bits',
|
||||||
tokenizer_kwargs=dict(padding_side='left',
|
tokenizer_kwargs=dict(padding_side='left',
|
||||||
truncation_side='left',
|
truncation_side='left',
|
||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
use_fast=False,),
|
use_fast=False,),
|
||||||
max_out_len=512,
|
max_out_len=1024,
|
||||||
max_seq_len=2048,
|
max_seq_len=4096,
|
||||||
batch_size=8,
|
batch_size=8,
|
||||||
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
||||||
run_cfg=dict(num_gpus=1, num_procs=1),
|
run_cfg=dict(num_gpus=1, num_procs=1),
|
||||||
)]
|
)]
|
@ -10,8 +10,8 @@ models = [dict(
|
|||||||
truncation_side='left',
|
truncation_side='left',
|
||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
use_fast=False,),
|
use_fast=False,),
|
||||||
max_out_len=512,
|
max_out_len=1024,
|
||||||
max_seq_len=2048,
|
max_seq_len=4096,
|
||||||
batch_size=8,
|
batch_size=8,
|
||||||
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
||||||
run_cfg=dict(num_gpus=1, num_procs=1),
|
run_cfg=dict(num_gpus=1, num_procs=1),
|
||||||
|
@ -10,8 +10,8 @@ models = [dict(
|
|||||||
truncation_side='left',
|
truncation_side='left',
|
||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
use_fast=False,),
|
use_fast=False,),
|
||||||
max_out_len=512,
|
max_out_len=1024,
|
||||||
max_seq_len=2048,
|
max_seq_len=4096,
|
||||||
batch_size=8,
|
batch_size=8,
|
||||||
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
||||||
run_cfg=dict(num_gpus=1, num_procs=1),
|
run_cfg=dict(num_gpus=1, num_procs=1),
|
||||||
|
@ -10,9 +10,9 @@ models = [dict(
|
|||||||
truncation_side='left',
|
truncation_side='left',
|
||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
use_fast=False,),
|
use_fast=False,),
|
||||||
max_out_len=512,
|
max_out_len=1024,
|
||||||
max_seq_len=2048,
|
max_seq_len=4096,
|
||||||
batch_size=8,
|
batch_size=8,
|
||||||
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
||||||
run_cfg=dict(num_gpus=1, num_procs=1),
|
run_cfg=dict(num_gpus=4, num_procs=1),
|
||||||
)]
|
)]
|
@ -10,8 +10,8 @@ models = [dict(
|
|||||||
truncation_side='left',
|
truncation_side='left',
|
||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
use_fast=False,),
|
use_fast=False,),
|
||||||
max_out_len=512,
|
max_out_len=1024,
|
||||||
max_seq_len=2048,
|
max_seq_len=4096,
|
||||||
batch_size=8,
|
batch_size=8,
|
||||||
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
||||||
run_cfg=dict(num_gpus=1, num_procs=1),
|
run_cfg=dict(num_gpus=1, num_procs=1),
|
||||||
|
@ -10,8 +10,8 @@ models = [dict(
|
|||||||
truncation_side='left',
|
truncation_side='left',
|
||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
use_fast=False,),
|
use_fast=False,),
|
||||||
max_out_len=512,
|
max_out_len=1024,
|
||||||
max_seq_len=2048,
|
max_seq_len=4096,
|
||||||
batch_size=8,
|
batch_size=8,
|
||||||
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
||||||
run_cfg=dict(num_gpus=1, num_procs=1),
|
run_cfg=dict(num_gpus=1, num_procs=1),
|
||||||
|
@ -10,8 +10,8 @@ models = [dict(
|
|||||||
truncation_side='left',
|
truncation_side='left',
|
||||||
trust_remote_code=True,
|
trust_remote_code=True,
|
||||||
use_fast=False,),
|
use_fast=False,),
|
||||||
max_out_len=512,
|
max_out_len=1024,
|
||||||
max_seq_len=2048,
|
max_seq_len=4096,
|
||||||
batch_size=8,
|
batch_size=8,
|
||||||
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
||||||
run_cfg=dict(num_gpus=1, num_procs=1),
|
run_cfg=dict(num_gpus=1, num_procs=1),
|
||||||
|
Loading…
Reference in New Issue
Block a user