We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5ec50b commit 303ee64Copy full SHA for 303ee64
examples/llm_eval/lm_eval_hf.py
@@ -38,8 +38,15 @@
38
# limitations under the License.
39
import warnings
40
41
+import lm_eval
42
from lm_eval import utils
43
from lm_eval.__main__ import cli_evaluate, parse_eval_args, setup_parser
44
+
45
+if not lm_eval.__version__.startswith("0.4.8"):
46
+ warnings.warn(
47
+ f"lm_eval_hf.py is tested with lm-eval 0.4.8; found {lm_eval.__version__}. "
48
+ "Later versions may have incompatible API changes."
49
+ )
50
from lm_eval.api.model import T
51
from lm_eval.models.huggingface import HFLM
52
from quantization_utils import quantize_model
examples/puzzletron/requirements.txt
@@ -1,3 +1,3 @@
1
-lm-eval==0.4.10
+lm-eval==0.4.8
2
math-verify
3
ray
0 commit comments