A from-scratch 355M parameter GPT-style language model specialized as a local-first AI fashion stylist.
The model was developed as a research project exploring:
Small language models
Instruction tuning
Domain-specific adaptation
Synthetic data distillation
Catastrophic forgetting mitigation
Local/offline deployment
Unlike cloud-dependent assistants, this model is designed to run efficiently on consumer hardware while providing useful fashion guidance and maintaining general conversational ability.
Model Overview
The training pipeline consists of three stages:
Pretraining
From-scratch GPT-style language model (~355M parameters)
Trained on approximately 1.18B tokens of general text
General Instruction Tuning
Trained on instruction-following and chat datasets
Improves conversational ability and instruction adherence
Fashion Domain specific Tuning
Trained on curated fashion datasets and synthetic fashion Q&A
Uses rehearsal-based training to preserve general abilities
Focuses on outfit recommendations, wardrobe planning, and fashion advice etc.,
The final model acts as a lightweight AI stylist while retaining much of its general assistant behavior.
Intended Uses
Primary Uses
Fashion advice chatbot
Outfit recommendations
Wardrobe planning
Capsule wardrobe creation
Office wear suggestions
Wedding and festival outfit guidance
Indian fashion guidance
Educational and research experiments
Local-first AI assistant research
Out-of-Scope Uses
This model is not intended for:
Medical advice
Mental health advice
Legal advice
Financial advice
Body image assessment
Professional fashion consulting
High-risk decision making
Commercial production systems
Training Data
Pretraining
General-purpose text corpus - cosmopedia used to train the base language model.
Approximate scale:
~1.18B tokens
The objective was to create a domain-agnostic language model before specialization.
The fashion adaptation stage uses a forgetting-aware training strategy.
Key techniques include:
Synthetic data distillation
Rehearsal training
Mixed-domain batches
General instruction retention
Domain-specific supervised fine-tuning
The objective is to improve fashion expertise while minimizing degradation of general assistant capabilities.
Hardware
All stages of training were completed on a single consumer laptop.
Training Hardware
Machine: Alienware 16 Aurora AC16250
GPU: NVIDIA RTX 5060 Laptop GPU (8GB VRAM)
CPU: Intel Core i7-240H
RAM: 16GB
Storage: NVMe SSD
Total training volume:
Pretraining: ~1.18B tokens
Stage 1: ~0.39B tokens
Stage 2: ~0.04B tokens
Total:
~1.6B tokens processed
This project demonstrates that a complete pretraining + domain specialization pipeline is feasible on modest consumer hardware.
Evaluation
Evaluation focused on two dimensions:
General Capability
Measured using:
Held-out instruction tasks
Conversational prompts
General QA
Goal:
Preserve Stage-1 assistant behavior
Fashion Capability
Measured using:
Synthetic reference comparisons
Human/model-judge comparisons
Observed outcome:
Significant improvement in fashion-related responses
Minimal degradation in general conversational ability
Limitations
Users should be aware of several limitations.
Text-only
The model cannot process:
Outfit photos
Body images
Wardrobe images
Product images
Small Model Capacity
Compared with larger models:
Less reasoning depth
Less personalization
Limited long-context performance
Biases
The model may inherit biases from:
Training datasets
Synthetic data generation
Cultural assumptions
Trend Awareness
The model does not have access to:
Live fashion trends
Real-time brand information
Current product catalogs
Professional Advice
The model is not a professional stylist and should not replace expert consultation.
Usage
Installation
pip install transformers torch
Loading the Model
python
1from transformers import AutoTokenizer
2from transformers import AutoModelForCausalLM
3import os
4import torch
56MODEL_ID ="ErMayureshKumar/ai-fashion-stylist-355m"78tokenizer = AutoTokenizer.from_pretrained("gpt2")910special_tokens ={11"additional_special_tokens":[12"<|user|>",13"<|assistant|>"14]15}1617tokenizer.add_special_tokens(special_tokens)1819model = AutoModelForCausalLM.from_pretrained(20 MODEL_ID,21 torch_dtype=torch.float16,22 device_map="auto"23)2425prompt ="""
26Suggest an outfit for a summer wedding in Mumbai
27for a 26-year-old woman.
28"""2930defchat(prompt):3132 text =f"<|user|>\n{prompt}\n\n<|assistant|>\n"33 inputs = tokenizer(34 text,35 return_tensors="pt"36).to(model.device)3738with torch.no_grad():39 outputs = model.generate(40**inputs,41 max_new_tokens=512,42 temperature=0.7,43 top_p=0.9,44 top_k=50,45 do_sample=True,46 repetition_penalty=1.1,47 pad_token_id=tokenizer.eos_token_id,48 eos_token_id=tokenizer.eos_token_id,49)50 result = tokenizer.decode(51 outputs[0],52 skip_special_tokens=False53)54return result
5556print(chat(prompt))
Example Prompts
Wedding
I am a 30-year-old man attending a summer wedding. Suggest a complete outfit.
Office
Explain business casual attire.
Capsule Wardrobe
What is a capsule wardrobe?
General Chat
What should I consider before changing careers?
Future Work
Planned future directions include:
Multimodal fashion understanding
Outfit image analysis
Fashion retrieval systems
Personalized style profiles
Fashion knowledge graphs
Additional languages
Enhanced reasoning
Mobile deployment optimization
License
Educational and Research Use License
Copyright (c) 2026
Permission is granted to use, copy, modify, and distribute this model for educational, academic, and non-commercial research purposes only.
Commercial use, commercial redistribution, deployment in paid services, integration into commercial products, or any revenue-generating use is prohibited without prior written permission from the copyright holder.
THE MODEL IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
This model and repository are released solely for educational and non-commercial research purposes. The model should be viewed as a research artifact demonstrating local-first domain adaptation of a small language model into a fashion-focused assistant.