File size: 1,593 Bytes
4406359
 
 
 
fc4ee31
 
 
 
 
4406359
 
b7b0a80
 
 
 
 
 
 
6134b70
b7b0a80
 
f13a5cf
 
 
 
b7b0a80
f13a5cf
 
4406359
 
f7f3970
4406359
f7f3970
 
9e22344
 
 
56ef968
 
 
 
 
 
f7f3970
4406359
92084bc
4406359
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f13a5cf
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
---
license: apache-2.0
base_model: BEE-spoke-data/smol_llama-101M-GQA
tags:
- art
- text2image
- prompt
- prompt generator
- diffusion util
metrics:
- accuracy
inference:
  parameters:
    max_new_tokens: 64
    do_sample: true
    temperature: 0.8
    repetition_penalty: 1.15
    no_repeat_ngram_size: 4
    eta_cutoff: 0.001
    renormalize_logits: true
widget:
- text: avocado chair
  example_title: avocado chair
- text: A mysterious potato
  example_title: potato
pipeline_tag: text-generation
datasets:
- pszemraj/midjourney-messages-cleaned
---

# smol_llama-101M-midjourney-messages

Given a 'partial prompt' for a text2image model, this generates additional relevant text to include for a full prompt.


![example](https://i.imgur.com/f2hzgq1.png)

dalle3:


![image/png](https://cdn-uploads.huggingface.co/production/uploads/60bccec062080d33f875cd0c/PIBazuqQ1DrTxZbWSay2o.png)


## Model description

This model is a fine-tuned version of [BEE-spoke-data/smol_llama-101M-GQA](https://huggingface.co/BEE-spoke-data/smol_llama-101M-GQA) on the `pszemraj/midjourney-messages-cleaned` dataset.
It achieves the following results on the evaluation set:
- Loss: 2.8431
- Accuracy: 0.4682


## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 0.00025
- train_batch_size: 4
- eval_batch_size: 4
- seed: 17056
- gradient_accumulation_steps: 16
- total_train_batch_size: 64
- optimizer: Adam with betas=(0.9,0.95) and epsilon=1e-08
- lr_scheduler_type: inverse_sqrt
- lr_scheduler_warmup_ratio: 0.05
- num_epochs: 1.0