huggingface / huggingface/lighteval

[FT] more docstrings and typing in `Doc`

Open
#797 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
2.5k
Forks
555
Avg merge
1d 6h
Merged PRs (30d)
1

Description

As of `lighteval==0.10.0`, reading `Doc` I have some requests:

- Document what should one set `choices`/`gold_index` when it's an open answer question
- Default `original_query` to `None` as opposed to empty string, which is misleading
- Fix typing of `specific` to include `| None`: `specific: dict = None` --> `specific: dict | None = None`
- Document if `specific` should be JSON serializable

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.