Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update interface.md #1982

Merged
merged 3 commits into from
Jun 25, 2024
Merged

Update interface.md #1982

merged 3 commits into from
Jun 25, 2024

Conversation

johnwee1
Copy link
Contributor

Could be just a me thing, but I found it pretty confusing that the interface doc was linking to a really outdated version of the evaluator.py file. I was looking for references to the newer keywords like --apply_chat_template and --system_instruction that were somehow not there.

I understand the intent of the older commit probably was to quickly link to an example of simple_evaluate() but it was hardly helpful for me in understanding the codebase, and I think its just better to have a link to the actual updated file instead of an outdated version.

There is a way to link exactly to the function through this hacky way https://github.com/EleutherAI/lm-evaluation-harness/blob/main/lm_eval/evaluator.py#:~:text=simple_evaluate but it doesnt work on all browsers.

welcome any suggestions, and of course feel free to reject this pr. thanks.

update interface to remove link to really outdated commit of evaluator.py
docs/interface.md Outdated Show resolved Hide resolved
docs/interface.md Outdated Show resolved Hide resolved
Copy link
Contributor

@haileyschoelkopf haileyschoelkopf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging this--it's not clear the direct link to a function definition will work on all browsers but I changed the wording so that it should hopefully be clear enough that one can simply ctrl+F for it themselves if the direct line link does not work!

@haileyschoelkopf haileyschoelkopf merged commit 6e49b1f into EleutherAI:main Jun 25, 2024
5 of 9 checks passed
xksteven pushed a commit to xksteven/lm-evaluation-harness that referenced this pull request Jun 26, 2024
* Update interface.md

update interface to remove link to really outdated commit of evaluator.py

* switch to relative referencing?

* Update interface.md

---------

Co-authored-by: Hailey Schoelkopf <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants