Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
Predicts noise for a small diffusion transformer trained from scratch on Wikiart paintings, built to make art images from a genre and a style. For developers and students who study small image models.
DiT-Wikiart-Small is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download kaupane/DiT-Wikiart-Small
DiT-Wikiart-Small is the small variant of a diffusion transformer trained from scratch on the Wikiart collection of paintings. It is built to make art images from a chosen art genre and art style. Images come out at 256x256.
It suits developers and students who want to study a small diffusion transformer, and researchers who want a simple genre and style model.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Study a small diffusion transformer built from scratch | Load it and print the noise it predicts |
| Education | Students | Learn how this model differs from the classic design | Compare its changes with the original paper |
| Art | Artists and hobbyists | Explore painting genres and styles at low resolution | Try styles from the Wikiart collection |
| Research | ML researchers | Test training on a modest budget | Compare the S, B and L variants |
If you need photographs, faces or buildings, you can skip it, since the card says it handles faces and buildings poorly and cannot make images outside Wikiart.
| Use case | Who | What they get back |
|---|---|---|
| Model study | Developers | A small DiT you can load and inspect |
| Training study | Students | A model with its recipe, epochs and loss numbers |
| Art experiments | Hobbyists | A starting point for genre and style images at 256x256 |
You need Python with pip, torch and the huggingface_hub library. The model definition file, modeling_dit_wikiart.py, comes from the repository's file list.
pip install -U huggingface_hub hf download kaupane/DiT-Wikiart-Small
Import the model class from the definition file, load the weights by name, and pass noisy latents. The card's sample runs one pass and prints the predicted noise. It shows no full picture-making loop, and it needs torch imported first.
from modeling_dit_wikiart import DiTWikiartModel
model = DiTWikiartModel.from_pretrained("kaupane/DiT-Wikiart-Small")
num_samples = 8
noisy_latents = torch.randn(num_samples,4,32,32)
predicted_noise = model(noisy_latents)
print(predicted_noise)| Name | What it does |
|---|---|
| DiTWikiartModel | Loads the model from the definition file and the Hub |
| num_samples | Sets how many noisy latents are made, 8 in the sample |
| torch.randn | Makes random noise shaped 4 by 32 by 32 |
| predicted_noise | Holds what the model predicts for each latent |
You run the sample. It makes 8 random noisy latents, passes them through the model and prints the predicted noise for each one. It does not yet give you a finished painting.
Think of it as a small artist that learns to remove noise, guided by a genre and a style. The first small thing to try is the sample above.
The design follows the classic DiT from its original paper, with a few changes. Genre and style embeddings replace the ImageNet class embeddings. It uses post-norm and learned positional embeddings, leaves out the final linear layer, predicts only the noise, and sets patch_size to 2.
| Variant | Blocks | Hidden size | Heads | Parameters |
|---|---|---|---|---|
| S, small | 8 | 384 | 6 | 20M |
| B, base | 12 | 640 | 10 | 90M |
| L, large | 16 | 896 | 14 | 234M |
| Variant | Epochs | Batch size | Final loss |
|---|---|---|---|
| S | 96 | 176 | 0.1590 |
| B | 120 | 192 | 0.1525 |
| L | 144 | 192 | 0.1510 |
Predicts noise for a small diffusion transformer trained from scratch on Wikiart paintings, built to make art images from a genre and a style. For developers and students who study small image models.
Made by kaupane on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: DiT-Wikiart-Small is the small variant of a diffusion transformer trained from scratch on the Wikiart collection of paintings. It is built to make art images from a chosen art genre and art style. Images come out at 256x256.
Who it suits: It suits developers and students who want to study a small diffusion transformer, and researchers who want a simple genre and style model.
Industry | Who uses it | How they use it | Example
Software | Developers | Study a small diffusion transformer built from scratch | Load it and print the noise it predicts
Education | Students | Learn how this model differs from the classic design | Compare its changes with the original paper
Art | Artists and hobbyists | Explore painting genres and styles at low resolution | Try styles from the Wikiart collection
Research | ML researchers | Test training on a modest budget | Compare the S, B and L variants
If you need photographs, faces or buildings, you can skip it, since the card says it handles faces and buildings poorly and cannot make images outside Wikiart.
Where to use it:
Use case | Who | What they get back
Model study | Developers | A small DiT you can load and inspect
Training study | Students | A model with its recipe, epochs and loss numbers
Art experiments | Hobbyists | A starting point for genre and style images at 256x256
How to set it up: You need Python with pip, torch and the huggingface_hub library. The model definition file, modeling_dit_wikiart.py, comes from the repository's file list.
pip install -U huggingface_hub
hf download kaupane/DiT-Wikiart-Small
How to use it: Import the model class from the definition file, load the weights by name, and pass noisy latents. The card's sample runs one pass and prints the predicted noise. It shows no full picture-making loop, and it needs torch imported first.
from modeling_dit_wikiart import DiTWikiartModel
model = DiTWikiartModel.from_pretrained("kaupane/DiT-Wikiart-Small")
num_samples = 8
noisy_latents = torch.randn(num_samples,4,32,32)
predicted_noise = model(noisy_latents)
print(predicted_noise)
Name | What it does
DiTWikiartModel | Loads the model from the definition file and the Hub
num_samples | Sets how many noisy latents are made, 8 in the sample
torch.randn | Makes random noise shaped 4 by 32 by 32
predicted_noise | Holds what the model predicts for each latent
Example: You run the sample. It makes 8 random noisy latents, passes them through the model and prints the predicted noise for each one. It does not yet give you a finished painting.
For newcomers and experts: Think of it as a small artist that learns to remove noise, guided by a genre and a style. The first small thing to try is the sample above.
The design follows the classic DiT from its original paper, with a few changes. Genre and style embeddings replace the ImageNet class embeddings. It uses post-norm and learned positional embeddings, leaves out the final linear layer, predicts only the noise, and sets patch_size to 2.
Variant | Blocks | Hidden size | Heads | Parameters
S, small | 8 | 384 | 6 | 20M
B, base | 12 | 640 | 10 | 90M
L, large | 16 | 896 | 14 | 234M
Random noisy latents
DiT predicts the noise, guided by genre and style
Repeated denoising gives a clean latent
Paired VAE decodes it into an image
Good to know:
Title: Parameters in millions
S small: 20 M
B base: 90 M
L large: 234 M
Variant | Epochs | Batch size | Final loss
S | 96 | 176 | 0.1590
B | 120 | 192 | 0.1525
L | 144 | 192 | 0.1510
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download kaupane/DiT-Wikiart-Small
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| DiT-Wikiart-Small This page | 75 | 2 | 22M | mit | |
| BiRefNet by ZhengPeng7Shares model_hub_mixin · pytorch_model_hub_mixin · safetensors | 1,005,130 | 675 | 221M | mit | |
| VGGT-1BShares model_hub_mixin · pytorch_model_hub_mixin · safetensors | 646,177 | 158 | 1.3B | cc-by-nc-4.0 | |
| stable-diffusion-xl-base-1.0Shares text-to-image · safetensors | 4,688,522 | 8,466 | 2.6B | openrail++ | |
| Animagine XL 4.0Shares text-to-image · safetensors | 1,026,807 | 582 | 2.6B | openrail++ | |
| Stable Diffusion v1-5Shares text-to-image · safetensors | 1,012,982 | 1,364 | 860M | creativeml-openrail-m |
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
alpindale · Kit
Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…
prithivMLmods · Kit
Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…