Image Segmentation
MLX
Safetensors
BiRefNet
moonbox
background-removal
dichotomous-image-segmentation
Instructions to use moonbox-dev/BiRefNet_lite-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-dev/BiRefNet_lite-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download moonbox-dev/BiRefNet_lite-MLX --local-dir BiRefNet_lite-MLX
- BiRefNet
How to use moonbox-dev/BiRefNet_lite-MLX with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("moonbox-dev/BiRefNet_lite-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_lite-MLX") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
File size: 174 Bytes
63a48cf | 1 2 3 4 5 6 7 8 9 10 11 12 | {
"model_type": "birefnet",
"backbone": "swin_v1_t",
"input_size": 1024,
"quantization": {
"group_size": 64,
"bits": 8,
"mode": "affine"
},
"precision": "8bit"
}
|