Create a Python code template using Hugging Face Transformers and scikit-learn to build a generative AI model that produces marketing content (e.g., email campaigns or social media posts) for e-commerce businesses. Integrate a predictive component that analyzes user data (e.g., purchase history CSV) to forecast customer preferences and tailor the generated text accordingly. Include fine-tuning on a dataset like GPT-2 or Llama, with evaluation metrics for coherence and accuracy. Make it automation-ready for freelancers charging premium rates, with examples for handling surged demand in personalized experiences. Output the full code, explanations, and sample usage.