Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,81 @@
|
|
| 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: "AlekseyCalvin/Colossus_2.1_dedistilled_by_AfroMan4peace"
|
| 22 |
+
pipeline_tag: text-to-image
|
| 23 |
+
library_name: diffusers
|
| 24 |
+
emoji: 🔜
|
| 25 |
+
|
| 26 |
+
instance_prompt: Anna AKHMATOVA, blemished skin texture with slight wrinkles
|
| 27 |
+
|
| 28 |
+
widget:
|
| 29 |
+
- text: >-
|
| 30 |
+
agitprop Constructivist poster of the poet Anna AKHMATOVA calling out "JOIN RCA!" in a speech bubble, over satirical cartoon of cool punky diverse teenage gen-z revolutionaries
|
| 31 |
+
output:
|
| 32 |
+
url: AkhmDedistilled1.jpg
|
| 33 |
+
- text: >-
|
| 34 |
+
vintage side-view photograph of young Anna AKHMATOVA, classic analog color photography
|
| 35 |
+
output:
|
| 36 |
+
url: AnnaPoeticsWill.jpg
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
<Gallery />
|
| 40 |
+
|
| 41 |
+
# Anna Akhmatova Flux Low-Rank Adapter (LoRA) Version 2 by SilverAgePoets.com
|
| 42 |
+
Trained on a dataset of 60 vintage photos (most of them colorized by us and/or by [Klimbim](https://klimbim2020.wordpress.com/)). <br>
|
| 43 |
+
And capturing the legendary **poet**: <br>
|
| 44 |
+
**Anna Andreevna Akhmatova** <br> *(b.06/26/1889-d.03/05/1966)* <br>
|
| 45 |
+
|
| 46 |
+
For this LoRA we used highly detailed manually-composed paragraph captions. <br>
|
| 47 |
+
It was trained for 1600 steps (a 1300 checkpoint also added) at a Diffusion-Transformer Learning Rate of .0004, dim/alpha of 32, batch 1, AdamW8bit optimizer! Minimal synthetic data (just a few reluctant upscales), zero auto-generated captions! <br>
|
| 48 |
+
|
| 49 |
+
**VERSION 3 NOTE:** <br>
|
| 50 |
+
|
| 51 |
+
This third version of the Akhmatova LoRA was trained on the **Colossus 2.1 Dedistilled Flux model by AfroMan4Peace**, available [here](https://huggingface.co/AlekseyCalvin/Colossus_2.1_dedistilled_by_AfroMan4peace) in a diffusers format and [here at CivitAI](https://civitai.com/models/833086/colossus-project-flux). <br>
|
| 52 |
+
As of writing this blurb, we haven't yet tested this LoRA enough to say much concretely, but our other adapters trained over de-distilled modifications of FLUX have been shown to be more versatile than most base-model trained LoRAs in regards to compatibility and output variability. <br>
|
| 53 |
+
|
| 54 |
+
In parallel, we've also trained yet another Akhmatova LoRA (version 2) over a regular version of Flux, to enable a better basis for comparative testing. That version is available in a different repo [here](https://huggingface.co/AlekseyCalvin/Akhmatova_Flux_LoRA_SilverAgePoets_v2_regularFluxD). <br>
|
| 55 |
+
|
| 56 |
+
**MORE INFO:** <br>
|
| 57 |
+
|
| 58 |
+
This is a **rank-32 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>
|
| 59 |
+
Use it to diffusely diversify the presence of Akhmatova's deathless visage in our strange latter-day world!
|
| 60 |
+
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!
|
| 61 |
+
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>
|
| 62 |
+
In any case, we'll offer you some echoes to rely on, if you will:
|
| 63 |
+
Namely, our **translations of Akhmatova's verse-works**, adapted from a proto-Soviet song-tongue into a Worldish one...<br>
|
| 64 |
+
And found, along with many other poets' songs and tomes...
|
| 65 |
+
Over **at [SilverAgePoets.com](https://www.silveragepoets.com/akhmatovamain)!**
|
| 66 |
+
|
| 67 |
+
## Trigger words
|
| 68 |
+
You should use `AKHMATOVA` or `Anna Akhmatova` or `vintage autochrome photograph of Anna Akhmatova` to summon the poet's latent spirit.
|
| 69 |
+
|
| 70 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 71 |
+
|
| 72 |
+
```py
|
| 73 |
+
from diffusers import AutoPipelineForText2Image
|
| 74 |
+
import torch
|
| 75 |
+
|
| 76 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
| 77 |
+
pipeline.load_lora_weights('AlekseyCalvin/Akhmatova_Flux_LoRA_SilverAgePoets_v2_regularFluxD', weight_name='lora.safetensors')
|
| 78 |
+
image = pipeline('your prompt').images[0]
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
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)
|