Download CODE/evaluation/eval/__init__.py from QLU-LLM/CAD: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/datasets/QLU-LLM/CAD/resolve/main/CODE/evaluation/eval/__init__.py
- Command line
-
hf download hf://datasets/QLU-LLM/CAD/CODE/evaluation/eval/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/QLU-LLM/CAD/resolve/main/CODE/evaluation/eval/__init__.py
242 Bytes
| """Frozen CODE evaluator with a compatibility path for legacy absolute imports.""" | |
| from pathlib import Path | |
| import sys | |
| _module_root = str(Path(__file__).resolve().parent) | |
| if _module_root not in sys.path: | |
| sys.path.insert(0, _module_root) | |