Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

moonbox-ai
/
BiRefNet-MLX

Image Segmentation
MLX
Safetensors
BiRefNet
moonbox
background-removal
dichotomous-image-segmentation
Model card Files Files and versions
xet
Community

Instructions to use moonbox-ai/BiRefNet-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use moonbox-ai/BiRefNet-MLX with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    hf download moonbox-ai/BiRefNet-MLX --local-dir BiRefNet-MLX
  • BiRefNet

    How to use moonbox-ai/BiRefNet-MLX with BiRefNet:

    # Option 1: use with transformers
    
    from transformers import AutoModelForImageSegmentation
    birefnet = AutoModelForImageSegmentation.from_pretrained("moonbox-ai/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-ai/BiRefNet-MLX")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • Atomic Chat
BiRefNet-MLX
1.51 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
jennyxue's picture
jennyxue
Model card and the original license
a965eb0 verified about 16 hours ago
  • 4bit
    4bit build of BiRefNet about 16 hours ago
  • 6bit
    6bit build of BiRefNet about 16 hours ago
  • 8bit
    8bit build of BiRefNet about 16 hours ago
  • bf16
    bf16 build of BiRefNet about 16 hours ago
  • fp16
    fp16 build of BiRefNet about 16 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 16 hours ago
  • README.md
    15.1 kB
    Model card and the original license about 16 hours ago