Instructions to use moonbox-dev/BEN2-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BEN2
How to use moonbox-dev/BEN2-ONNX 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-dev/BEN2-ONNX") model.to("cuda").eval() foreground = model.inference(image) - Notebooks
- Google Colab
- Kaggle
Commit History
Yesterday
-
Model card and the original license
Verified signaturec924414 -
int4 build of BEN2 Base
Verified signature94ac48c -
Model card and the original license
Verified signatureab33ad4 -
int8 build of BEN2 Base
Verified signatureb7215a0 -
Model card and the original license
Verified signatureb3594d0 -
fp16 build of BEN2 Base
Verified signaturee552d42 -
initial commit
Verified signatureebd3267