Event Store
Read post

Fine-tune your models with Skills

A prototype demonstrating how KurrentDB's event sourcing architecture can serve as training data for fine-tuning small language models on domain-specific business processes. Using Claude Code skills (KurrentDB and Hugging Face Model Trainer), the author fine-tuned SmolLM2-360M-Instruct with LoRA on 1,487 financial process event sequences in roughly one hour. The resulting model was deployed as an agentic anomaly detector that achieved 100% recall — catching all 50 injected process anomalies — with only 27 minutes of training on consumer GPU hardware. The article covers event schema design, training data generation from event streams, LoRA fine-tuning with TRL/SFTTrainer, and an agentic orchestrator that monitors live event streams and flags unexpected transitions with explanations.

    #machine-learning#architecture#deep-learning#lora
Aug 04•9m read time•From kurrent.io
Post cover image
Table of contents
PrefaceHow Skills Made This EasyIntroductionThe Problem: AI Models Don't Understand Business ProcessesThe Solution: Event Sourcing as Training DataTraining Data GenerationTraining the ModelWhy Event Sourcing Works for AI TrainingPractical ApplicationsAgentic Anomaly Detection: A Practical BenchmarkRunning the exampleConclusionResourcesAbout This Experiment
242 Impressions
Event Store's image
Event Store

EventStore specializes in event sourcing and stream processing, offering a robust platform for build...

20 Followers

•

69 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard