Instructions to use unsloth/diffusiongemma-26B-A4B-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Studio
How to use unsloth/diffusiongemma-26B-A4B-it with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for unsloth/diffusiongemma-26B-A4B-it to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for unsloth/diffusiongemma-26B-A4B-it to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for unsloth/diffusiongemma-26B-A4B-it to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="unsloth/diffusiongemma-26B-A4B-it", max_seq_length=2048, )
| { | |
| "confidence_threshold": 0.005, | |
| "eos_token_id": [ | |
| 1, | |
| 106, | |
| 50 | |
| ], | |
| "max_denoising_steps": 48, | |
| "max_new_tokens": 256, | |
| "pad_token_id": 0, | |
| "sampler_config": { | |
| "_cls_name": "EntropyBoundSamplerConfig", | |
| "entropy_bound": 0.1 | |
| }, | |
| "stability_threshold": 1, | |
| "t_max": 0.8, | |
| "t_min": 0.4, | |
| "transformers_version": "5.8.0.dev0" | |
| } | |