EleutherAI/lm-evaluation-harness

Add better test coverage for models

Open

#1,613 opened on Mar 20, 2024

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Python (3,306 forks)auto 404
feature requestgood first issuehelp wanted

Repository metrics

Stars
 (12,755 stars)
PR merge metrics
 (Avg merge 15d 7h) (11 merged PRs in 30d)

Description

We should improve our test coverage of the various model classes supported.

Ideally we'd have at least https://github.com/EleutherAI/lm-evaluation-harness/blob/main/tests/models/test_huggingface.py tests for every model class. This would require, for API models, mocking out the API call with a dummy one, and probably something similar for VLLM, which currently requires CUDA to be run so we don't have the tests run on the CI.

Help or contributions on this welcome! Else, I'll look into this hopefully soonish.

Contributor guide