CoolFace
Apppublic

EmbodiedAgentInterface/backend

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes
fix_harness_import.py11 linesDownload Raw Back to scripts
1"""This file should be used after pip install -r requirements.2It creates a folder not ported during harness package creation (as they don't use a Manifest file atm and it ignore `.json` files).3It will need to be updated if we want to use the harness' version of big bench to actually copy the json files.4"""5import os6 7import lm_eval8 9if __name__ == "__main__":10    lm_eval_path = lm_eval.__path__[0]11    os.makedirs(os.path.join(lm_eval_path, "datasets", "bigbench_resources"), exist_ok=True)