Instructions to use dongbobo/agent-benchmark-eval-bundle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dongbobo/agent-benchmark-eval-bundle with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dongbobo/agent-benchmark-eval-bundle", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download evaluation/setup.py from dongbobo/agent-benchmark-eval-bundle: direct link, hf CLI and curl.
- Browser
- Download file 527 Bytes
-
https://huggingface.co/dongbobo/agent-benchmark-eval-bundle/resolve/main/evaluation/setup.py
- Command line
-
hf download hf://dongbobo/agent-benchmark-eval-bundle/evaluation/setup.py
-
curl -L -o setup.py https://huggingface.co/dongbobo/agent-benchmark-eval-bundle/resolve/main/evaluation/setup.py
527 Bytes
| from setuptools import setup, Extension | |
| from Cython.Build import cythonize | |
| # Let Cython find and compile your .py files directly. | |
| # This compiles both __init__.py and benchmark_utils.py | |
| extensions = [ | |
| Extension("utils.__init__", ["utils/__init__.py"]), | |
| Extension("utils.benchmark_utils", ["utils/benchmark_utils.py"]), | |
| ] | |
| setup( | |
| name="my_utils_package", | |
| ext_modules=cythonize( | |
| extensions, | |
| # Tell Cython you're using Python 3 syntax | |
| compiler_directives={'language_level' : "3"} | |
| ) | |
| ) | |