Skip to content

Commit 828fb74

Browse files
[Dataset] Update dingo 1.5.0 (#2008)
Co-authored-by: shiin <[email protected]>
1 parent f982d62 commit 828fb74

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/eval_dingo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from mmengine.config import read_base
22

33
with read_base():
4-
from .datasets.dingo.dingo_gen import datasets
5-
from .models.hf_internlm.hf_internlm_7b import models
4+
from opencompass.configs.datasets.dingo.dingo_gen import datasets
5+
from opencompass.configs.models.hf_internlm.hf_internlm_7b import models
66

77
work_dir = './outputs/eval_dingo'

opencompass/datasets/dingo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def score(self, origin_prompt: List, predictions: List) -> dict:
6868
json.dump(d, f, ensure_ascii=False)
6969
f.write('\n')
7070
input_data = {
71-
'eval_model': 'llm_base',
71+
'eval_group': 'llm_base',
7272
'input_path': file_name,
7373
'output_path': './outputs/dingo/',
7474
'save_data': True,

requirements/extra.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ alpaca-eval==0.6
44
antlr4-python3-runtime==4.11
55
cn2an
66
# Dingo
7-
dingo-python==1.1.2
7+
dingo-python==1.5.0
88
# Icl topk retriever
99
faiss_gpu==1.7.2
1010
# Humaneval, Humaneval X

0 commit comments

Comments
 (0)