Run this model with HF Jobs
Run mlx-community/NAFNet-GoPro-width64 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/mlx-community/NAFNet-GoPro-width64. 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/mlx-community/NAFNet-GoPro-width64 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 mlx-community/NAFNet-GoPro-width64 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/NAFNet-GoPro-width64 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/NAFNet-GoPro-width64 --local-dir NAFNet-GoPro-width64
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
|
Download README.md from mlx-community/NAFNet-GoPro-width64: direct link, hf CLI and curl.
- Browser
- Download file 997 Bytes
-
https://huggingface.co/mlx-community/NAFNet-GoPro-width64/resolve/main/README.md
- Command line
-
hf download hf://mlx-community/NAFNet-GoPro-width64/README.md
-
curl -L -o README.md https://huggingface.co/mlx-community/NAFNet-GoPro-width64/resolve/main/README.md
997 Bytes
| license: mit | |
| library_name: mlx | |
| pipeline_tag: image-to-image | |
| tags: [mlx, image-restoration, deblurring, denoising, nafnet] | |
| base_model: megvii-research/NAFNet | |
| # NAFNet width64 (MLX) — Image deblurring | |
| Apple MLX port of **[NAFNet](https://github.com/megvii-research/NAFNet)** (Simple Baselines for | |
| Image Restoration, ECCV 2022). Runs on Apple Silicon via [MLX](https://github.com/ml-explore/mlx). | |
| This checkpoint: **GoPro** (Image deblurring). width64. | |
| ## Usage | |
| ```python | |
| from nafnet_mlx import NAFNetConfig | |
| from nafnet_mlx.pipeline import load_model, restore_to_file | |
| m = load_model("model.safetensors", NAFNetConfig.gopro_width64()) | |
| restore_to_file(m, "input.png", "output.png") | |
| ``` | |
| ## Validation | |
| Faithful NHWC port (SimpleGate, Simplified Channel Attention, channel-axis LayerNorm2d, | |
| UNet + PixelShuffle). PT-vs-MLX full-model parity on a real image ~1e-6. | |
| Uses NAFNetLocal (TLC) local pooling. | |
| ## License & attribution | |
| MIT. Derived from megvii-research/NAFNet (MIT). See `NOTICE`. | |