Run this model with HF Jobs
Run kikuta/BEN3-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/kikuta/BEN3-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/kikuta/BEN3-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 kikuta/BEN3-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use kikuta/BEN3-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download kikuta/BEN3-MLX --local-dir BEN3-MLX
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
BEN3 MLX
Native MLX conversion of the official BEN3 model for Apple Silicon, available in FP32 and FP16. No PyTorch or Transformers required at inference time.
| File | Precision | Bytes |
|---|---|---|
| model.fp32.safetensors | FP32 | 464464010 |
| model.fp16.safetensors | FP16 | 232251422 |
Usage
Install the MIT implementation from GitHub:
pip install git+https://github.com/kikutadev/ben3-mlx.git
Then run:
from ben3_mlx import BEN3
from PIL import Image
model = BEN3.from_pretrained("kikuta/BEN3-MLX", precision="fp16")
model.inference(Image.open("input.png")).save("foreground.png")
Default model input is 1024 ร 1024; alpha is resized to original dimensions. No training or fine-tuning was performed. Exported files were loaded strictly and round-tripped with exact tensor equality; tested alpha outputs also matched the original-layout MLX checkpoint exactly. Only the public generator is included, not the proprietary MHFNet fusion network. Results may differ from the commercial service on fine or translucent edges.
Provenance and terms
- BEN3 upstream implementation, commit 852e1a702beec9ab1d2fed2f09c9e36899f14c4e
- Official weights, revision 7b3e49e2b12e5ea3fc18ca52a410dc9fe3e9f538
- StudioYebisu safetensors conversion, revision daa332318560b94800483f8670cbaf0c5dd1c4e9
- DINOv3, Meta AI
- S3OD, DPT
The BEN3 generator is released under MIT subject to applicable third-party terms. These weights include DINOv3-derived parameters and redistribution is subject to the DINOv3 License; see the accompanying full DINOV3_LICENSE.md and LICENSE. The weights are not solely MIT licensed. The port source is separately MIT licensed.
Quantized
Model tree for kikuta/BEN3-MLX
Base model
PramaLLC/BEN3