Datasets:
Download README.md from itslenoid/comic-illustration-dataset: direct link, hf CLI and curl.
- Browser
- Download file 5.55 kB
-
https://huggingface.co/datasets/itslenoid/comic-illustration-dataset/resolve/main/README.md
- Command line
-
hf download hf://datasets/itslenoid/comic-illustration-dataset/README.md
-
curl -L -o README.md https://huggingface.co/datasets/itslenoid/comic-illustration-dataset/resolve/main/README.md
license: apache-2.0
task_categories:
- text-to-image
tags:
- art
- comic
- illustration
- lora
- diffusion
- flux
- sdxl
- monochrome
- ink-drawing
- graphic-novel
size_categories:
- n<1K
configs:
- config_name: default
data_files:
- split: train
path: metadata.jsonl
ποΈ Comic Illustration Style Dataset
A curated dataset of 86 high-contrast comic and graphic novel illustrations paired with dense, natural language captions. Tailored specifically for Text-to-Image Style LoRA training on modern diffusion models (FLUX.1-dev / schnell, SDXL, and Stable Diffusion).
π¨ Visual Aesthetic & Style Profile
- Medium: Black & white ink illustration, dynamic brushwork, cross-hatching, and screentone shading.
- Composition: Multi-panel comic strips, cinematic angles, character vignettes, and environmental storytelling.
- Subjects: Expressive characters in action, contemplative scenes, modern technology, and surreal objects.
π Repository Structure
The dataset provides dual compatibility for both Hugging Face's web ecosystem and local trainer tools:
comic-illustration-dataset/
βββ README.md # Dataset card & documentation
βββ metadata.jsonl # Standard HF ImageFolder manifest (for HF Dataset Viewer & `load_dataset`)
βββ images/ # 86 JPEG illustrations
β βββ image1.jpeg
β βββ ...
βββ captions/ # Synchronized individual caption files (for Kohya_ss / AI-Toolkit)
βββ image1.txt
βββ ...
Metadata Format (metadata.jsonl)
Each line in metadata.jsonl follows standard Hugging Face ImageFolder format:
{
"file_name": "images/image1.jpeg",
"text": "[TRIGGER], comic illustration, monochrome ink style. Two characters, one in the foreground and one in the background. The character in the foreground is seated at a desk, clutching a book and appears to be in the midst of a task or study.",
"raw_caption": "The image shows a scene from a comic book. The central focus is on two characters, one in the foreground and one in the background. The character in the foreground is seated at a desk, clutching a book and appears to be in the midst of a task or study. He is wearing a",
"image_id": "image1"
}
π·οΈ The [TRIGGER] Token
Every caption begins with the configurable placeholder:
[TRIGGER], comic illustration, monochrome ink style. <detailed visual scene description>
Before training, you can easily substitute [TRIGGER] with your own custom identifier (such as ink_comic style or c0mic_art):
# Quick substitution script
import json
custom_trigger = "ink_comic style"
with open("metadata.jsonl", "r") as f_in, open("metadata_custom.jsonl", "w") as f_out:
for line in f_in:
item = json.loads(line)
item["text"] = item["text"].replace("[TRIGGER]", custom_trigger)
f_out.write(json.dumps(item) + "\n")
π Quickstart: Loading in Python
You can load this dataset directly via the Hugging Face datasets library:
from datasets import load_dataset
# Stream or download dataset
dataset = load_dataset("itslenoid/comic-illustration-dataset", split="train")
# Inspect sample
sample = dataset[0]
image = sample["image"]
caption = sample["text"]
print("Caption:", caption)
image.show()
βοΈ Recommended LoRA Training Recipes
1. FLUX.1-dev / FLUX.1-schnell (via AI-Toolkit or SimpleTuner)
- Target Network: LoRA (Linear layers:
to_k, to_q, to_v, to_out.0) - Rank / Alpha:
16 / 16(or32 / 32for deeper style capture) - Learning Rate:
1.5e-4to2.5e-4 - Resolution: Aspect ratio bucketing with base resolution
1024x1024 - Optimizer: AdamW8bit or Prodigy
- Epochs: ~80β120 epochs (with 86 images, ~3,500β5,000 total steps at batch size 2)
2. SDXL 1.0 (via Kohya_ss / OneTrainer)
- Target Network: LoRA (UNet + Text Encoders)
- Rank / Alpha:
32 / 32 - UNet Learning Rate:
1e-4 - TE Learning Rate:
4e-5(train text encoder for first 50% steps, then freeze) - Resolution:
1024x1024with aspect ratio bucketing enabled - Caption Dropout: 0.05 (to encourage unconditional prompt adherence)
ποΈ Provenance & Source
The artwork in this dataset was curated from original illustrations published across technical, architectural, and philosophical essays on blog.macron1.io.
On the blog, these high-contrast ink drawings and comic panels accompany deep-dive articles exploring software architecture, distributed systems, machine learning engineering, and deliberate practice. Each piece was created to visually anchor complex engineering concepts through dynamic graphic novel compositions, cross-hatching, and surreal technical iconography.
π License & Attribution
- Dataset License: Apache-2.0
- Curated By: itslenoid
- Original Source: blog.macron1.io