Instructions to use GeWu-Lab/ROMA-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GeWu-Lab/ROMA-7B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("GeWu-Lab/ROMA-7B") model = AutoModel.from_pretrained("GeWu-Lab/ROMA-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download configuration.json from GeWu-Lab/ROMA-7B: direct link, hf CLI and curl.
- Browser
- Download file 68 Bytes
-
https://huggingface.co/GeWu-Lab/ROMA-7B/resolve/main/configuration.json
- Command line
-
hf download hf://GeWu-Lab/ROMA-7B/configuration.json
-
curl -L -o configuration.json https://huggingface.co/GeWu-Lab/ROMA-7B/resolve/main/configuration.json
68 Bytes
| {"framework": "pytorch", "task": "all-to-all", "allow_remote": true} |