Instructions to use mlx-community/BiRefNet-fp16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/BiRefNet-fp16 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir BiRefNet-fp16 mlx-community/BiRefNet-fp16
- BiRefNet
How to use mlx-community/BiRefNet-fp16 with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("mlx-community/BiRefNet-fp16", 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("mlx-community/BiRefNet-fp16") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Xet hash:
- 9eb167fcfea6bc7068855b17f210dc04992e9182631518b8aa2ca4bd8e0e9c47
- Size of remote file:
- 440 MB
- SHA256:
- f1ba66260085fd8d471323dab098fabd36499ad54b0de8ca67deb5d1cf1f0c0e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.