VOOZH about

URL: https://huggingface.co/trollek/ImagePromptHelper-gemma3-270M

⇱ trollek/ImagePromptHelper-gemma3-270M · Hugging Face


ImagePromptHelper-gemma3-270M

This model is a fine-tuned version of google/gemma-3-270m on the ImagePromptHelper-v02 (CC BY 4.0) dataset. It achieves the following results on the evaluation set:

  • Loss: 0.2502

Model description

This model expands short image prompts into long image prompts. The moun optimizer was used to train this model to see what would happen. The result is much better than my previous attempts.

Intended uses & limitations

This model is intended to be used for image prompt expansion in a variety of ways as determined by the dataset that was used to train it. It is not intended to be used for any other purpose.

Training and evaluation data

I used the moun optimizer to train this model. Here is the LLama Factory config:

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0001
  • train_batch_size: 1
  • eval_batch_size: 1
  • seed: 101
  • gradient_accumulation_steps: 8
  • total_train_batch_size: 8
  • optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.98) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: cosine
  • lr_scheduler_warmup_ratio: 0.075
  • num_epochs: 2.0

Training results

Training Loss Epoch Step Validation Loss
1.0308 0.2472 2500 1.0421
0.7823 0.4945 5000 0.8296
0.6441 0.7417 7500 0.6573
0.4683 0.9890 10000 0.5116
0.2582 1.2362 12500 0.4155
0.1799 1.4834 15000 0.3259
0.1587 1.7307 17500 0.2656
0.1782 1.9779 20000 0.2502

Framework versions

  • Transformers 4.52.4
  • Pytorch 2.7.0+cu128
  • Datasets 3.6.0
  • Tokenizers 0.21.1
Downloads last month
10
Safetensors
Model size
0.3B params
Tensor type
BF16
·

Model tree for trollek/ImagePromptHelper-gemma3-270M

Finetuned
(147)
this model

Dataset used to train trollek/ImagePromptHelper-gemma3-270M