Text-to-Image
Diffusers
TensorBoard
Safetensors
Swedish
moss-image
handwriting
historical-documents
archives
htr
synthetic-data
Instructions to use Gabriel/diffu-moss-r6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Gabriel/diffu-moss-r6b with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Gabriel/diffu-moss-r6b", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Model card: the training set's prompt forms were tied to the kind of row (the sample alone on windows only), and the measurement that the sample-alone form draws whole pages as well
Browse files
README.md
CHANGED
|
@@ -95,8 +95,12 @@ official MOSS-Image layout, and diffu's plugin `diffu_sglang_moss` adds the samp
|
|
| 95 |
with a sample page from the same volume; 10 % of the volumes held out (11,920 rows). Court, chancery, church, police,
|
| 96 |
mining, military and travel records, 16th to 19th century.
|
| 97 |
- Prompt forms: the sample page alone (60 %), the sample with the look in words (20 %), no sample (20 %); no prompt
|
| 98 |
-
names an archive, years or a hand.
|
| 99 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
- Recipe: MOSS-Image's own full fine-tune, from Base at revision `85975793`: Muon on the joint blocks' matrices and
|
| 101 |
AdamW elsewhere, learning rate 5e-5 (constant after 50 warmup steps), gradients clipped at 1, float32 weights under
|
| 102 |
bfloat16 autocast, an exponential moving average of the weights at 0.999; text encoder and VAE frozen.
|
|
|
|
| 95 |
with a sample page from the same volume; 10 % of the volumes held out (11,920 rows). Court, chancery, church, police,
|
| 96 |
mining, military and travel records, 16th to 19th century.
|
| 97 |
- Prompt forms: the sample page alone (60 %), the sample with the look in words (20 %), no sample (20 %); no prompt
|
| 98 |
+
names an archive, years or a hand. A fault in building the set (found 11 Nov 2026, fixed for later runs) tied
|
| 99 |
+
each form to one kind of row: the sample alone was trained on windows only (86,027 windows, no whole page), no
|
| 100 |
+
sample on whole pages only (28,676), the sample with the look in words on 20,197 whole pages and 8,479 windows.
|
| 101 |
+
Measured after: on 20 held-out whole pages the sample-alone form's error is the trained form's within 0.05 % at
|
| 102 |
+
every noise level, so it is drawn with as advised above. Half of the sample-alone rows were restyled the same way
|
| 103 |
+
on window and sample (microfilm grey, colourised, tinted), so the look has to come from the sample.
|
| 104 |
- Recipe: MOSS-Image's own full fine-tune, from Base at revision `85975793`: Muon on the joint blocks' matrices and
|
| 105 |
AdamW elsewhere, learning rate 5e-5 (constant after 50 warmup steps), gradients clipped at 1, float32 weights under
|
| 106 |
bfloat16 autocast, an exponential moving average of the weights at 0.999; text encoder and VAE frozen.
|