Instructions to use moonbox-ai/BEN2-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-ai/BEN2-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download moonbox-ai/BEN2-MLX --local-dir BEN2-MLX
- BEN2
How to use moonbox-ai/BEN2-MLX with BEN2:
import requests from PIL import Image from ben2 import AutoModel url = "https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg" image = Image.open(requests.get(url, stream=True).raw) model = AutoModel.from_pretrained("moonbox-ai/BEN2-MLX") model.to("cuda").eval() foreground = model.inference(image) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Commit History
Today
-
Model card and the original license
Verified signaturee30648a -
4bit build of BEN2 Base
Verified signaturefdce2ed -
Model card and the original license
Verified signature670e005 -
6bit build of BEN2 Base
Verified signature25505e2 -
Model card and the original license
Verified signatureb821782 -
8bit build of BEN2 Base
Verified signaturecbc40c9 -
Model card and the original license
Verified signature40aefde -
bf16 build of BEN2 Base
Verified signature1158eb0 -
Model card and the original license
Verified signature1845d69 -
fp16 build of BEN2 Base
Verified signature1e9a5d0 -
initial commit
Verified signature2503e88