IBM / ibm-generative-ai

IBM-Generative-AI is a Python library built on IBM's large language model REST interface to seamlessly integrate and extend this service in Python programs.
https://ibm.github.io/ibm-generative-ai/
Apache License 2.0
245 stars 101 forks source link

Fix GenAI LM Eval Model API to be compatible with LM Eval HF model API #347

Closed yoavkatz closed 4 months ago

yoavkatz commented 4 months ago

Status

READY

Description

Made LM Eval wrapper compatible with LM EVAL Huggingface wrapper. (in terms of default max_gen_tokens and truncation).

Impacted Areas in Library

LM Eval wrapper

Which issue(s) does this pull-request fix?

Any special notes for your reviewer?


Checklist

coveralls commented 4 months ago

Coverage Status

coverage: 95.63% (+0.006%) from 95.624% when pulling 36d101d7137dc7dcb9236accab523af0682bfee1 on yoavkatz:fix-LM-eval-model-to-be-compatible-with-HF-model into 60b991e3cd8725c7ad09969ae3766c3d0c4c2f37 on IBM:main.