AlekseyCalvin commited on
Commit
7782482
·
verified ·
1 Parent(s): a8a18dd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +73 -3
README.md CHANGED
@@ -1,3 +1,73 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - flux
7
+ - diffusers
8
+ - lora
9
+ - replicate
10
+ - image-generation
11
+ - flux-diffusers
12
+ - diffusers
13
+ - photo
14
+ - realism
15
+ - character
16
+ - historical person
17
+ - poetry
18
+ - literature
19
+ - history
20
+ - archival
21
+ base_model: "black-forest-labs/FLUX.1-dev"
22
+ pipeline_tag: text-to-image
23
+ library_name: diffusers
24
+ emoji: 🔜
25
+
26
+ instance_prompt: AKHMATOVA, blemished skin texture with slight wrinkles
27
+
28
+ widget:
29
+ - text: >-
30
+ a close-up photo of AKHMATOVA
31
+ output:
32
+ url: AkhmatovaV3_1.png
33
+ - text: film photograph portrait of a sad Anna Akhmatova in New York City, in her thirties, blemished skin texture with slight wrinkles
34
+ output:
35
+ url: AkhmatovaV3_2.png
36
+ - text: >-
37
+ vintage side-view photograph of young Anna AKHMATOVA, classic analog color photography
38
+ output:
39
+ url: AkhmatovaV3_3.png
40
+
41
+ ---
42
+ <Gallery />
43
+
44
+ # Anna Akhmatova Flux Low-Rank Adapter (LoRA) Version 2 by SilverAgePoets.com & SOON®
45
+ Trained via Ostris' [ai-toolkit](https://replicate.com/ostris/flux-dev-lora-trainer/train) on 60 vintage photos (most of them colorized by us and/or by [Klimbim](https://klimbim2020.wordpress.com/)) capturing the legendary **poet Anna Andreevna Akhmatova**. For this LoRA we used highly detailed manually-composed paragraph captions. It was trained for 1200 steps at a Transformer Learning Rate of .0005, batch 1, AdamW8bit! Minimal synthetic data (just a few reluctant upscales), zero auto-generated captions! <br>
46
+
47
+ For this second version of an Akhmatova LoRA, we somewhat refined our dataset and used a tried-and-tested likeness-learning fine-tuning workflow over base FluxDev. <br>
48
+ In parallel, we've also trained yet another Akhmatova LoRA over a homebrew De-Distilled merge version of Flux. That version is available in a different repo here. <br>
49
+
50
+ This is a **rank-24 historical LoRA for Flux** (whether of a [Dev](https://huggingface.co/black-forest-labs/FLUX.1-dev), a [Schnell](https://huggingface.co/black-forest-labs/FLUX.1-schnell), or a [Soon®](https://huggingface.co/AlekseyCalvin/HistoricColorSoonr_Schnell) sort...) <br>
51
+ Use it to diffusely diversify the presence of Akhmatova's deathless visage in our strange latter-day world!
52
+ And once you're faced with this poet's iconic penetrating stare, do lend your ears to her as well: listen in to her voice!
53
+ Wherefrom might this voice resound for you? A dusty paperback? Google search? Maybe a clip on YouTube? Or, say, your very memory reciting verses suddenly recalled?<br>
54
+ In any case, we'll offer you some echoes to rely on, if you will:
55
+ Namely, our **translations of Akhmatova's verse-works**, adapted from a proto-Soviet song-tongue into a Worldish one...<br>
56
+ And found, along with many other poets' songs and tomes...
57
+ Over **at [SilverAgePoets.com](https://www.silveragepoets.com/akhmatovamain)!**
58
+
59
+ ## Trigger words
60
+ You should use `AKHMATOVA` or `Anna Akhmatova` or `vintage autochrome photograph of Anna Akhmatova` to summon the poet's latent spirit.
61
+
62
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
63
+
64
+ ```py
65
+ from diffusers import AutoPipelineForText2Image
66
+ import torch
67
+
68
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
69
+ pipeline.load_lora_weights('AlekseyCalvin/Akhmatova_Flux_LoRA_SilverAgePoets_v2_regularFluxD', weight_name='lora.safetensors')
70
+ image = pipeline('your prompt').images[0]
71
+ ```
72
+
73
+ For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)