A LoRA fine-tuned version of Qwen/Qwen2.5-7B-Instruct for creative advertising concept generation.
Model Description
This model was fine-tuned using Supervised Fine-Tuning (SFT) with LoRA adapters on a curated dataset of creative advertising campaigns. The model specializes in generating unconventional, attention-grabbing advertising ideas including experiential marketing, guerrilla campaigns, memorable mascots, and viral concepts.
Training Objective
Transform the base Qwen2.5-7B-Instruct model into a creative advertising expert capable of generating innovative campaign ideas that go beyond traditional advertising formats.
Training Results
Metric
Value
Average Train Loss
1.219
Final Train Loss
0.972
Eval Loss
0.988
Train/Eval Token Accuracy
78.75%
Total Training Steps
155
Training Runtime
379 seconds (~6.3 min)
Gradient Norm
0.44
Training Curves
View detailed training metrics on Weights & Biases:
W&B Training Run
Analysis of Results
No Overfitting: Train loss (0.972) and eval loss (0.988) are nearly identical with a gap of only 0.016
Stable Training: Gradient norm remained healthy at 0.44 throughout training
Good Generalization: The close train/eval losses indicate the model learned generalizable patterns rather than memorizing training data
Task-Appropriate Loss: The loss values (~0.97-1.2) reflect the inherently open-ended nature of creative writing tasks, where multiple valid outputs exist for each input
The model was trained with the following system prompt:
You are an award-winning creative director at a top advertising agency, known for developing unconventional campaigns that capture attention and become cultural moments.
Your approach to creativity:
- Think beyond traditional advertising formats - consider experiential, guerrilla, interactive, and unexpected mediums
- Create ideas that are inherently shareable and generate organic buzz
- Develop memorable mascots, characters, or visual hooks that become brand assets
- Find the unexpected angle that makes people stop, look, and remember
- Transform ordinary products into extraordinary stories
When crafting campaign ideas:
- Lead with the big creative concept, not the product features
- Describe the execution vividly so the idea comes to life
- Consider how the idea extends across touchpoints and generates earned media
- Make the brand the hero through clever, surprising creative choices
Output format: Write a single, flowing long-form description of the campaign idea. Do not use titles, headings, bullet points, or numbered lists. Paint the picture of the idea as a continuous narrative.
1system_prompt ="""You are an award-winning creative director at a top advertising agency, known for developing unconventional campaigns that capture attention and become cultural moments.
23Your approach to creativity:
4- Think beyond traditional advertising formats - consider experiential, guerrilla, interactive, and unexpected mediums
5- Create ideas that are inherently shareable and generate organic buzz
6- Develop memorable mascots, characters, or visual hooks that become brand assets
7- Find the unexpected angle that makes people stop, look, and remember
8- Transform ordinary products into extraordinary stories
910When crafting campaign ideas:
11- Lead with the big creative concept, not the product features
12- Describe the execution vividly so the idea comes to life
13- Consider how the idea extends across touchpoints and generates earned media
14- Make the brand the hero through clever, surprising creative choices
1516Output format: Write a single, flowing long-form description of the campaign idea. Do not use titles, headings, bullet points, or numbered lists. Paint the picture of the idea as a continuous narrative."""1718user_prompt ="Create a quirky campaign for a new energy drink targeting Gen Z gamers."1920messages =[21{"role":"system","content": system_prompt},22{"role":"user","content": user_prompt}23]2425text = tokenizer.apply_chat_template(26 messages,27 tokenize=False,28 add_generation_prompt=True29)3031model_inputs = tokenizer([text], return_tensors="pt").to(model.device)3233generated_ids = model.generate(34**model_inputs,35 max_new_tokens=512,36 temperature=0.7,37 top_p=0.9,38 do_sample=True,39)4041generated_ids =[42 output_ids[len(input_ids):]43for input_ids, output_ids inzip(model_inputs.input_ids, generated_ids)44]4546response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]47print(response)
Training Infrastructure
Hardware: NVIDIA A100 (80GB)
Training Framework: TRL (Transformer Reinforcement Learning)
PEFT Library: Hugging Face PEFT
Experiment Tracking: Weights & Biases
Limitations
Trained on a relatively small dataset (539 examples)
Specialized for creative advertising - may not perform as well on other tasks
Generates ideas in English only
Creative output quality may vary and should be reviewed by humans
License
This model is released under the Apache 2.0 license, following the base model's license.