File size: 4,722 Bytes
729a0c1
 
 
 
 
 
 
 
526a2e4
039cc64
729a0c1
039cc64
046eb1c
729a0c1
 
f7f4fa3
 
729a0c1
a551437
 
729a0c1
 
 
 
 
 
 
 
 
 
5f00ebd
 
 
 
 
 
cb691e4
 
 
5f00ebd
cb691e4
 
 
5f00ebd
cb691e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
base_model: unsloth/llama-3.2-3b-instruct-bnb-4bit
tags:
- text-generation-inference
- transformers
- unsloth
- llama
- gguf
- conversational
- peft
license: apache-2.0
library: peft
pipeline_tag: text-generation
language:
- en
widget:
- text: A portrait of a man
---
v 0.2
Trained for 1 epoch ~2500 steps. Generates good prompt but doesn't fully follow input prompt

# Uploaded  model

- **Developed by:** igor-im
- **License:** apache-2.0
- **Finetuned from model :** unsloth/llama-3.2-3b-instruct-bnb-4bit

This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.

[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)

---

# Samples 

## Jaggernaut XL - rundiffusion Foocus
Plain Prompt             |  Prompt exapander
:-------------------------:|:-------------------------:
![](https://huggingface.co/igor-im/fluxpromptexapander-llama1b-ft-test/resolve/main/images/jaggernat_plain_prompt.png)  |  ![](https://huggingface.co/igor-im/fluxpromptexapander-llama1b-ft-test/resolve/main/images/jaggernaut_ftmodel.png)

Claude generated prompt           |  Llama 3B generated Prompt
:-------------------------:|:-------------------------:
![](https://huggingface.co/igor-im/fluxpromptexapander-llama1b-ft-test/resolve/main/images/jaggernaut_claude.png) | ![](https://huggingface.co/igor-im/fluxpromptexapander-llama1b-ft-test/resolve/main/images/jaggernaut_llama.png)


## Flux - huggingface inference
Plain Prompt             |  Prompt exapander
:-------------------------:|:-------------------------:
![](https://huggingface.co/igor-im/fluxpromptexapander-llama1b-ft-test/resolve/main/images/flux_plain_prompt.jpeg)  |  ![](https://huggingface.co/igor-im/fluxpromptexapander-llama1b-ft-test/resolve/main/images/flux_ftmodel.jpeg)

Claude generated prompt           |  Llama 3B generated Prompt
:-------------------------:|:-------------------------:
![](https://huggingface.co/igor-im/fluxpromptexapander-llama1b-ft-test/resolve/main/images/flux_claude.jpeg) | ![](https://huggingface.co/igor-im/fluxpromptexapander-llama1b-ft-test/resolve/main/images/flux_llama.jpeg)


### Prompts used to generated Samples
#### Plain Prompt
A portrait of a man looking off into a distance, he has long hair, and a short beard

#### Fine Tuned Prompt (generated by simply passing plain prompt to the model)
Imagine a super-realistic portrait of an enigmatic middle-aged man with a rugged appearance and a close-cropped beard that frames his intense, deep-set blue eyes. He has an air of wisdom and contemplation as he gazes pensively into the distance, exuding a sense of resilience and strength. From an eye-level perspective, observe his slightly furrowed brow and the subtle creases around his mouth, a testament to his life experience. The soft yet direct lighting accentuates the depth and texture of his features, creating an intimate and powerful connection with the subject.

#### Claude prompt (generated via following template: create a prompt to be used with an image generation ai to better guide it to generate based on user input: /n INPUT: {plain_prompt})
Create a highly detailed portrait photograph of a contemplative man gazing toward the horizon. Subject has flowing shoulder-length hair with natural movement and texture, paired with a neatly trimmed short beard. Capture in natural lighting during golden hour, with soft rim lighting highlighting his hair's texture. Shot with a high-end portrait lens at f/2.8 for pleasing bokeh. Composition follows rule of thirds, with subject positioned to direct attention toward his eyeline. Color palette emphasizes warm, muted tones. Style reference: Modern fashion photography meets classical portraiture. Technical details: Ultra high resolution, photorealistic quality, masterful depth of field, sharp focus on facial features. 8K, highly detailed, professional photography, award-winning portrait.

#### Llama 3.2 3B untuned prompt (generated via following template: create a prompt to be used with an image generation ai to better guide it to generate based on user input: /n INPUT: {plain_prompt})
Generate an image of a realistic portrait of a man in his 40s or 50s, standing in front of a background with a subtle blur effect on the distant landscape. The subject's facial features should be well-defined, and he should have medium-length (not too long nor too short) hair that falls around his shoulders. His beard should be short (e.g., V-shaped) and neatly trimmed, with a slight curl at the edges. Incorporate some subtle shading and texture to give the image depth and dimensionality