Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
opencompass
Commits
1ea88d58
"docs/vscode:/vscode.git/clone" did not exist on "1908c476006e7965644699a7f5273a33ae4dfe84"
Unverified
Commit
1ea88d58
authored
Nov 13, 2023
by
Fengzhe Zhou
Committed by
GitHub
Nov 13, 2023
Browse files
[Sync] Bump version to 0.1.8 (#576)
parent
d3de5c41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
configs/datasets/humaneval/humaneval_gen_4a6eef.py
configs/datasets/humaneval/humaneval_gen_4a6eef.py
+4
-3
opencompass/__init__.py
opencompass/__init__.py
+1
-1
No files found.
configs/datasets/humaneval/humaneval_gen_4a6eef.py
View file @
1ea88d58
from
opencompass.openicl.icl_prompt_template
import
PromptTemplate
from
opencompass.openicl.icl_retriever
import
ZeroRetriever
from
opencompass.openicl.icl_inferencer
import
GenInferencer
from
opencompass.datasets
import
H
F
Dataset
,
HumanEvaluator
,
humaneval_postprocess
from
opencompass.datasets
import
H
umaneval
Dataset
,
HumanEvaluator
,
humaneval_postprocess
humaneval_reader_cfg
=
dict
(
input_columns
=
[
'prompt'
],
output_column
=
'task_id'
,
train_split
=
'test'
)
...
...
@@ -27,8 +27,9 @@ humaneval_eval_cfg = dict(
humaneval_datasets
=
[
dict
(
type
=
HFDataset
,
path
=
'openai_humaneval'
,
abbr
=
'openai_humaneval'
,
type
=
HumanevalDataset
,
path
=
'./data/humaneval/human-eval-v2-20210705.jsonl'
,
reader_cfg
=
humaneval_reader_cfg
,
infer_cfg
=
humaneval_infer_cfg
,
eval_cfg
=
humaneval_eval_cfg
)
...
...
opencompass/__init__.py
View file @
1ea88d58
__version__
=
'0.1.
7
'
__version__
=
'0.1.
8
'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment