Image Segmentation
MLX
Safetensors
BiRefNet
moonbox
background-removal
dichotomous-image-segmentation
Run this model with HF Jobs
Run moonbox-dev/BiRefNet-MLX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/moonbox-dev/BiRefNet-MLX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/moonbox-dev/BiRefNet-MLX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use moonbox-dev/BiRefNet-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-dev/BiRefNet-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download moonbox-dev/BiRefNet-MLX --local-dir BiRefNet-MLX
- BiRefNet
How to use moonbox-dev/BiRefNet-MLX with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("moonbox-dev/BiRefNet-MLX", trust_remote_code=True)# Option 2: use with BiRefNet # Install from https://github.com/ZhengPeng7/BiRefNet from models.birefnet import BiRefNet model = BiRefNet.from_pretrained("moonbox-dev/BiRefNet-MLX") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Commit History
22 days ago
-
Model card and the original license
Verified signaturea965eb0 -
4bit build of BiRefNet
Verified signature456404a -
Model card and the original license
Verified signature5f3d5ee -
6bit build of BiRefNet
Verified signaturec4f3f79 -
Model card and the original license
Verified signaturebbeee34 -
8bit build of BiRefNet
Verified signatured9a060b -
Model card and the original license
Verified signature333081a -
bf16 build of BiRefNet
Verified signatureb3a0426 -
Model card and the original license
Verified signaturea002154 -
fp16 build of BiRefNet
Verified signaturefc80b58 -
initial commit
Verified signaturef481dac