# Max und Moritz by Wilhelm Busch

<Gallery />

## Model description 

Introducing the Max und Moritz LoRA Model, trained on the Wilhelm Busch &quot;Max und Moritz&quot; Dataset accessible at [Max und Moritz Wilhelm Busch Dataset](https:&#x2F;&#x2F;huggingface.co&#x2F;datasets&#x2F;Blib-la&#x2F;max_und_moritz_wilhelm_busch_dataset). This model specializes in generating and analyzing illustrations reflective of Wilhelm Busch&#39;s distinctive 19th-century style.

[![Discord](https:&#x2F;&#x2F;img.shields.io&#x2F;discord&#x2F;1091306623819059300?color&#x3D;7289da&amp;label&#x3D;Discord&amp;logo&#x3D;discord&amp;logoColor&#x3D;fff&amp;style&#x3D;for-the-badge)](https:&#x2F;&#x2F;discord.com&#x2F;invite&#x2F;m3TBB9XEkb)

## Model Overview

The model encapsulates the essence of the classic German children&#39;s story &quot;Max und Moritz,&quot; with its unique illustrations that have influenced the world of comics and children&#39;s literature.

## Training Configuration

- **Dataset**: [Max und Moritz Wilhelm Busch Dataset](https:&#x2F;&#x2F;huggingface.co&#x2F;datasets&#x2F;Blib-la&#x2F;max_und_moritz_wilhelm_busch_dataset)
- **Epochs**: 20
- **Number of Images**: 73
- **Repeats per Image**: 10 (To ensure a comprehensive understanding of the visual style and narrative)
- **Optimizer**: DAdaptAdam (Selected for its optimal performance in training LoRA models)
- **Precision**: bf16 (For efficient and effective training balance)
- **Main Trigger**: The model is fine-tuned to generate images reminiscent of Wilhelm Busch&#39;s artwork in &quot;Max und Moritz&quot;.
- **Xformers**: Included for improved transformer model operations
- **Captioning Method**: GPT-Vision (Used for creating captions that facilitate nuanced learning), with token shuffling
- **Base Model**: Stable Diffusion XL 1.0 (Chosen for its high-quality image generation)

## Model Usage

The Max und Moritz LoRA Model is adept at generating illustrations in the style of Wilhelm Busch, suitable for educational and research applications in literature and art.

## Performance and Limitations

- **Performance**: Capable of replicating the illustrative techniques and narrative style characteristic of &quot;Max und Moritz&quot;.
- **Limitations**: The model&#39;s focus on a specific author and story may limit its generalizability across broader styles of illustration and narrative.

## Ethical Considerations

- **Intended Use**: This model is intended for non-commercial use in the fields of education, literature, and art history.
- **Bias and Fairness**: The model may inherently reflect the historical and cultural context of 19th-century Germany as depicted in the original works.

## Licensing

- **Model License**: Licensed under Creative Commons Attribution-NonCommercial 4.0 Generic (CC BY-NC 4.0) for non-commercial use.
- **Dataset License**: The &quot;Max und Moritz&quot; Wilhelm Busch Dataset is licensed under CC BY-NC 2.0.

## Contributions and Feedback

Contributions to further improve the model and feedback on its performance are welcome. Please refer to the model&#39;s page on Hugging Face for guidelines on how to contribute or provide feedback.


## Trigger words

You should use `\(Max und Moritz\)` to trigger the image generation.

You should use `by Wilhelm Busch` to trigger the image generation.


## Download model

Weights for this model are available in Safetensors format.

[Download](/Blib-la/max_und_moritz_wilhelm_busch_lora_sdxl/tree/main) them in the Files & versions tab.

{"license": "cc-by-nc-4.0", "tags": ["text-to-image", "stable-diffusion", "lora", "diffusers", "template:sd-lora"], "widget": [{"text": "a cat wearing a police uniform,  \\(Max und Moritz\\), by wilhelm busch <lora:max_und_moritz_wilhelm_busch_sdxl_v1:1>", "output": {"url": "images/00275-113971430.png"}}, {"text": "a frog wearing a tuxedo,  \\(Max und Moritz\\), by wilhelm busch <lora:max_und_moritz_wilhelm_busch_sdxl_v1:1>", "output": {"url": "images/00283-113971430.png"}}, {"text": "a boy wearing a construction helmet,  \\(Max und Moritz\\), by wilhelm busch <lora:max_und_moritz_wilhelm_busch_sdxl_v1:1>", "output": {"url": "images/00286-113971430.png"}}, {"text": "a boy wearing a pirate attire,  \\(Max und Moritz\\), by wilhelm busch <lora:max_und_moritz_wilhelm_busch_sdxl_v1:1>", "output": {"url": "images/00293-113971430.png"}}, {"text": "a girl wearing a basketball jersey,  \\(Max und Moritz\\), by wilhelm busch <lora:max_und_moritz_wilhelm_busch_sdxl_v1:1>", "output": {"url": "images/00301-113971430.png"}}, {"text": "a crocodile wearing a tweed suit,  \\(Max und Moritz\\), by wilhelm busch <lora:max_und_moritz_wilhelm_busch_sdxl_v1:1>", "output": {"url": "images/00308-3152196216.png"}}, {"text": "a unicorn wearing a school uniform,  \\(Max und Moritz\\), by wilhelm busch <lora:max_und_moritz_wilhelm_busch_sdxl_v1:1>", "output": {"url": "images/00311-3152196216.png"}}, {"text": "a giraffe wearing a space suit,  \\(Max und Moritz\\), by wilhelm busch <lora:max_und_moritz_wilhelm_busch_sdxl_v1:1>", "output": {"url": "images/00317-3152196216.png"}}, {"text": "a monkey wearing a fedora,  \\(Max und Moritz\\), by wilhelm busch <lora:max_und_moritz_wilhelm_busch_sdxl_v1:1>", "output": {"url": "images/00324-3152196216.png"}}], "base_model": "stabilityai/stable-diffusion-xl-base-1.0", "instance_prompt": "\\(Max und Moritz\\), by Wilhelm Busch"}
diffusers text-to-image stable-diffusion lora template:sd-lora base_model:stabilityai/stable-diffusion-xl-base-1.0 license:cc-by-nc-4.0 has_space region:us