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 merges.txt from GeWu-Lab/ROMA-7B: direct link, hf CLI and curl.
- Browser
- Download file 1.67 MB
-
https://huggingface.co/GeWu-Lab/ROMA-7B/resolve/main/merges.txt
- Command line
-
hf download hf://GeWu-Lab/ROMA-7B/merges.txt
-
curl -L -o merges.txt https://huggingface.co/GeWu-Lab/ROMA-7B/resolve/main/merges.txt
1.67 MB
File too large to display, you can check the raw version instead.