Instructions to use ar-mine/cosmos-robometer-private-code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ar-mine/cosmos-robometer-private-code with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ar-mine/cosmos-robometer-private-code", device_map="auto") - PEFT
How to use ar-mine/cosmos-robometer-private-code with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download tests/conftest.py from ar-mine/cosmos-robometer-private-code: direct link, hf CLI and curl.
- Browser
- Download file 214 Bytes
-
https://huggingface.co/ar-mine/cosmos-robometer-private-code/resolve/main/tests/conftest.py
- Command line
-
hf download hf://ar-mine/cosmos-robometer-private-code/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/ar-mine/cosmos-robometer-private-code/resolve/main/tests/conftest.py
214 Bytes
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| EXPERIMENT_ROOT = Path(__file__).resolve().parents[1] | |
| if str(EXPERIMENT_ROOT) not in sys.path: | |
| sys.path.insert(0, str(EXPERIMENT_ROOT)) | |