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
gaoqiong
lm-evaluation-harness
Commits
f744bfad
Commit
f744bfad
authored
Dec 28, 2023
by
baberabb
Browse files
test
parent
07e63886
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.github/workflows/new_tasks.yml
.github/workflows/new_tasks.yml
+2
-1
lm_eval/tasks/arc/arc_easy.yaml
lm_eval/tasks/arc/arc_easy.yaml
+0
-1
No files found.
.github/workflows/new_tasks.yml
View file @
f744bfad
...
...
@@ -55,13 +55,14 @@ jobs:
python -m pip install --upgrade pip
pip install -e '.[dev]' --extra-index-url https://download.pytorch.org/whl/cpu
-
name
:
Test with pytest
id
:
test_pytest
# if new tasks are added, run tests on them
if
:
steps.changed-tasks.outputs.tasks_any_modified == 'true'
run
:
python -m pytest tests/test_tasks.py -s -vv
# Edit task table if new tasks added
# copied from gpt-neox repo
-
name
:
Update Docs
if
:
steps.changed-tasks.outputs.tasks_any_modified == 'true' && steps
['Test with
pytest
']
.outcome == 'success'
if
:
steps.changed-tasks.outputs.tasks_any_modified == 'true' && steps
.test_
pytest.outcome == 'success'
run
:
|
python scripts/make_table_tasks.py
git config user.name github-actions
...
...
lm_eval/tasks/arc/arc_easy.yaml
View file @
f744bfad
group
:
-
ai2_arc
task
:
arc_easy
# test
dataset_path
:
ai2_arc
dataset_name
:
ARC-Easy
output_type
:
multiple_choice
...
...
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