JAX-Diffusion on Hugging Face 🤗
JAX-Diffusion is a project that implements diffusion models using JAX, a high-performance numerical computing library. Diffusion models are a class of generative models that have gained popularity for their ability to generate high-quality data samples.
🚀 Live Demo: Try it on Hugging Face Spaces
- Implementation of diffusion models in JAX.
- High-performance and scalable computations.
- Modular and extensible codebase.
- Interactive Gradio app for easy experimentation.
-
Clone the repository:
git clone https://github.com/your-username/JAX-Diffusion.git cd JAX-Diffusion
-
Install dependencies:
pip install -r requirements.txt
python train.py --config configs/default.yaml
python generate.py --model checkpoints/model.pth
python app.py
This will launch a Gradio interface where you can generate samples interactively.
Input | Output |
---|---|
Enter a text prompt and set diffusion steps | Generates an image using a simple JAX diffusion model |
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Submit a pull request with a clear description of your changes.
This project is licensed under the MIT License. See the LICENSE file for details.