|
--- |
|
license: apache-2.0 |
|
language: |
|
- en |
|
tags: |
|
- flux |
|
- diffusers |
|
- lora |
|
- replicate |
|
- image-generation |
|
- flux-diffusers |
|
- diffusers |
|
- photo |
|
- realism |
|
- character |
|
- historical person |
|
- poetry |
|
- literature |
|
- history |
|
- archival |
|
base_model: "black-forest-labs/FLUX.1-dev" |
|
pipeline_tag: text-to-image |
|
library_name: diffusers |
|
emoji: 🔜 |
|
|
|
instance_prompt: AKHMATOVA, blemished skin texture with slight wrinkles |
|
|
|
widget: |
|
- text: >- |
|
a close-up photo of AKHMATOVA |
|
output: |
|
url: AkhmatovaV3_1.png |
|
- text: film photograph portrait of a sad Anna Akhmatova in New York City, in her thirties, blemished skin texture with slight wrinkles |
|
output: |
|
url: AkhmatovaV3_2.png |
|
- text: >- |
|
vintage side-view photograph of young Anna AKHMATOVA, classic analog color photography |
|
output: |
|
url: AkhmatovaV3_3.png |
|
|
|
--- |
|
<Gallery /> |
|
|
|
# Anna Akhmatova Flux Low-Rank Adapter (LoRA) Version 2 by SilverAgePoets.com |
|
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/)). <br> |
|
And capturing the legendary **poet**: <br> |
|
**Anna Andreevna Akhmatova** <br> *(b.06/26/1889-d.03/05/1966)* <br> |
|
|
|
For this LoRA we used highly detailed manually-composed paragraph captions. <br> |
|
It was trained for 1200 steps at a Transformer Learning Rate of .0002, batch 1, AdamW8bit! Minimal synthetic data (just a few reluctant upscales), zero auto-generated captions! <br> |
|
|
|
**VERSION 2 NOTE:** <br> |
|
|
|
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> |
|
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> |
|
|
|
**MORE INFO:** <br> |
|
|
|
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> |
|
Use it to diffusely diversify the presence of Akhmatova's deathless visage in our strange latter-day world! |
|
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! |
|
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> |
|
In any case, we'll offer you some echoes to rely on, if you will: |
|
Namely, our **translations of Akhmatova's verse-works**, adapted from a proto-Soviet song-tongue into a Worldish one...<br> |
|
And found, along with many other poets' songs and tomes... |
|
Over **at [SilverAgePoets.com](https://www.silveragepoets.com/akhmatovamain)!** |
|
|
|
## Trigger words |
|
You should use `AKHMATOVA` or `Anna Akhmatova` or `vintage autochrome photograph of Anna Akhmatova` to summon the poet's latent spirit. |
|
|
|
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) |
|
|
|
```py |
|
from diffusers import AutoPipelineForText2Image |
|
import torch |
|
|
|
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda') |
|
pipeline.load_lora_weights('AlekseyCalvin/Akhmatova_Flux_LoRA_SilverAgePoets_v2_regularFluxD', weight_name='lora.safetensors') |
|
image = pipeline('your prompt').images[0] |
|
``` |
|
|
|
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) |
|
|