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
Model card and the original license
Browse files
README.md
CHANGED
|
@@ -25,6 +25,9 @@ for what was measured).
|
|
| 25 |
|
| 26 |
| Precision | File | Size | sha256 | Checked against the original |
|
| 27 |
|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
| 28 |
| fp16 | [`fp16/config.json`](https://huggingface.co/moonbox-ai/BiRefNet_lite-MLX/blob/main/fp16/config.json) | 0.1 kB | `22466f2eeac0` | MAE <= 0.00002, mask IoU >= 0.9998 |
|
| 29 |
| fp16 | [`fp16/mlx_model.py`](https://huggingface.co/moonbox-ai/BiRefNet_lite-MLX/blob/main/fp16/mlx_model.py) | 20.1 kB | `bd3cb5681703` | MAE <= 0.00002, mask IoU >= 0.9998 |
|
| 30 |
| fp16 | [`fp16/model.safetensors`](https://huggingface.co/moonbox-ai/BiRefNet_lite-MLX/blob/main/fp16/model.safetensors) | 88.6 MB | `dedef2f909b6` | MAE <= 0.00002, mask IoU >= 0.9998 |
|
|
|
|
| 25 |
|
| 26 |
| Precision | File | Size | sha256 | Checked against the original |
|
| 27 |
|---|---|---|---|---|
|
| 28 |
+
| bf16 | [`bf16/config.json`](https://huggingface.co/moonbox-ai/BiRefNet_lite-MLX/blob/main/bf16/config.json) | 0.1 kB | `7a4673b5400f` | MAE <= 0.0002, mask IoU >= 0.9987 |
|
| 29 |
+
| bf16 | [`bf16/mlx_model.py`](https://huggingface.co/moonbox-ai/BiRefNet_lite-MLX/blob/main/bf16/mlx_model.py) | 20.1 kB | `bd3cb5681703` | MAE <= 0.0002, mask IoU >= 0.9987 |
|
| 30 |
+
| bf16 | [`bf16/model.safetensors`](https://huggingface.co/moonbox-ai/BiRefNet_lite-MLX/blob/main/bf16/model.safetensors) | 88.6 MB | `7370536fcead` | MAE <= 0.0002, mask IoU >= 0.9987 |
|
| 31 |
| fp16 | [`fp16/config.json`](https://huggingface.co/moonbox-ai/BiRefNet_lite-MLX/blob/main/fp16/config.json) | 0.1 kB | `22466f2eeac0` | MAE <= 0.00002, mask IoU >= 0.9998 |
|
| 32 |
| fp16 | [`fp16/mlx_model.py`](https://huggingface.co/moonbox-ai/BiRefNet_lite-MLX/blob/main/fp16/mlx_model.py) | 20.1 kB | `bd3cb5681703` | MAE <= 0.00002, mask IoU >= 0.9998 |
|
| 33 |
| fp16 | [`fp16/model.safetensors`](https://huggingface.co/moonbox-ai/BiRefNet_lite-MLX/blob/main/fp16/model.safetensors) | 88.6 MB | `dedef2f909b6` | MAE <= 0.00002, mask IoU >= 0.9998 |
|