Unverified Commit 9a164489 authored by Leymore's avatar Leymore Committed by GitHub
Browse files

[Fix] eval_llama_7b (#68)

parent edb23d15
......@@ -3,22 +3,7 @@ from mmengine.config import read_base
with read_base():
from .datasets.piqa.piqa_ppl import piqa_datasets
from .datasets.siqa.siqa_gen import siqa_datasets
from .models.hf_llama_7b import models
datasets = [*piqa_datasets, *siqa_datasets]
from opencompass.models import HuggingFaceCausalLM
models = [
dict(
type=HuggingFaceCausalLM,
path='huggyllama/llama-7b',
tokenizer_path='huggyllama/llama-7b',
tokenizer_kwargs=dict(padding_side='left', truncation_side='left'),
max_seq_len=2048,
abbr='llama-7b',
max_out_len=100,
batch_size=16,
run_cfg=dict(num_gpus=1),
)
]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment