Skip to content

Commit

Permalink
Update lm_eval v0.4 to PyPI dependencies (#1141)
Browse files Browse the repository at this point in the history
* Update requirements.txt

* Update requirements.txt

* Update NeoXArgs docs automatically

* add note to neox_args.py

* pre-commit

* Update NeoXArgs docs automatically

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Quentin Anthony <[email protected]>
  • Loading branch information
3 people committed Feb 1, 2024
1 parent 1c133bf commit 032ec8c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
9 changes: 5 additions & 4 deletions configs/neox_arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Logging Arguments

- **git_hash**: str

Default = cd9a8ea
Default = 78b8466

current git hash of repository

Expand Down Expand Up @@ -976,7 +976,7 @@ Text Generation arguments

- **prompt_end**: str

Default =
Default =


a single prompt's end. Defaults to newline
Expand Down Expand Up @@ -1018,7 +1018,7 @@ Text Generation arguments

- **eval_results_prefix**: str

Default =
Default =

prefix to which to save evaluation results - final fp will be {eval_results_prefix}_eval_results_yy-mm-dd-HH-MM.json

Expand Down Expand Up @@ -1770,7 +1770,7 @@ Args for deepspeed config

Default = None





Expand Down Expand Up @@ -2070,3 +2070,4 @@ Args for deepspeed runner (deepspeed.launcher.runner).
Default = None

Adds a `--account` to the DeepSpeed launch command. In DeeperSpeed this is passed on to the SlurmLauncher as well. Sometimes necessary for cluster rules, or so I've heard.

2 changes: 2 additions & 0 deletions megatron/neox_arguments/neox_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -1158,4 +1158,6 @@ class NeoXArgsTextgen(NeoXArgsTemplate):
eval_tasks: list = None
"""
Tasks to evaluate on using lm_eval_harness
NOTE: Requires internet connection
"""
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ftfy>=6.0.1
git+https://github.com/EleutherAI/lm_dataformat.git@4eec05349977071bf67fc072290b95e31c8dd836
huggingface_hub>=0.11.0
jinja2==3.1.3
git+https://github.com/EleutherAI/lm-evaluation-harness.git@main#egg=lm_eval
lm_eval>=0.4.0,<=0.4.1
mpi4py>=3.0.3
numpy>=1.22.0
pybind11>=2.6.2
Expand Down

0 comments on commit 032ec8c

Please sign in to comment.