Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Fix args.tasks type check issue #1675

Closed
wants to merge 1 commit into from

Conversation

duanshengliu
Copy link

Type of Change

bug fix

Description

I believe that elif args.tasks == "list": here is a confusing typographical error, and it was originally intended to check if args.tasks is list type.

Expected Behavior & Potential Risk

None

How has this PR been tested?

None

Dependency Change?

None

Signed-off-by: duansheng.liu <[email protected]>
@duanshengliu duanshengliu force-pushed the fix-tasks-type-check branch from 22c65e3 to 0b00719 Compare July 23, 2024 13:16
@kevinintel kevinintel requested a review from changwangss July 24, 2024 01:03
@changwangss
Copy link
Contributor

changwangss commented Jul 24, 2024

https://github.com/EleutherAI/lm-evaluation-harness/blob/main/lm_eval/__main__.py#L320 the source code is there, It is not error code and used to search for the task list.

@duanshengliu
Copy link
Author

Thanks , I get it.

@duanshengliu duanshengliu deleted the fix-tasks-type-check branch July 24, 2024 13:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants