Download backend/temp_gorilla/berkeley-function-call-leaderboard/openfunctions_evaluation.py from Toadied/agent: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/spaces/Toadied/agent/resolve/main/backend/temp_gorilla/berkeley-function-call-leaderboard/openfunctions_evaluation.py
- Command line
-
hf download hf://spaces/Toadied/agent/backend/temp_gorilla/berkeley-function-call-leaderboard/openfunctions_evaluation.py
-
curl -L -o openfunctions_evaluation.py https://huggingface.co/spaces/Toadied/agent/resolve/main/backend/temp_gorilla/berkeley-function-call-leaderboard/openfunctions_evaluation.py
498 Bytes
| from bfcl_eval._llm_response_generation import get_args, main | |
| from bfcl_eval.constants.eval_config import DOTENV_PATH | |
| from dotenv import load_dotenv | |
| # Note: This file is still kept for compatibility with the old structure of the codebase. | |
| # It is recommended to use the new `bfcl xxx` cli commands instead. | |
| # We will remove this in the next major release. | |
| if __name__ == "__main__": | |
| load_dotenv(dotenv_path=DOTENV_PATH, verbose=True, override=True) # Load the .env file | |
| main(get_args()) | |