You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fetch recent changes from GitHub git fetch origin.
Create a new branch based on the master branch (git checkout origin/master), Name it according to the task that you will contribute. (git checkout -b <your_name>).
Try to reuse code from existing similar tasks in the framework. Otherwise, make use of existing datasets and metrics by HuggingFace. For more information about creating new tasks in our framework, see the task guide
Verify that your scores align with the scores reported in the literature
Run the pre-commit hooks (see below)
Commit and push only the task-relevant changes (lm_eval/tasks/__init__.py and lm_eval/tasks/<your task>.py) to a remote branch (git push origin <your branch>), create a pull request.
Close the issue for your task and, if necessary, delete the old branch in your fork.
Run tests before commit
# dependecy pre-commit
pip install pre-commit>=2.2.0
# install hooks
pre-commit install
# run hooks
pre-commit run --show-diff-on-failure --color=always --all-files
The text was updated successfully, but these errors were encountered:
git fetch origin
.master
branch (git checkout origin/master
), Name it according to the task that you will contribute. (git checkout -b <your_name>
).lm_eval/tasks/__init__.py
andlm_eval/tasks/<your task>.py
) to a remote branch (git push origin <your branch>
), create a pull request.Run tests before commit
The text was updated successfully, but these errors were encountered: