Skip to content

Tags

#machine-learning

Machine learning models, training, data preparation and evaluation.

9 posts

Posts tagged #machine-learning

  1. Question

    How are you versioning prompts together with their eval results?

    A practical question rather than an opinion, for once. We have about 30 prompts in production across six features, and each has an eval set. Today the prompts live in the application repo as text files, eval results go into a spreadsheet, and the link between "this prompt version" and "these scores" is a commit hash someone pastes into a cell. It works until it does not: last week nobody could tell me which version…

    Dana Kowalski10likes7comments

  2. Article

    What I learn after 3 months building eval set for our support bot

    Three months ago our support bot go to production. Two weeks after, it tell a customer there is a discount code "SALE50". There was no such code. Customer was very angry, my boss was more angry. This is how we started to take evals seriously. Here is what I learn, maybe useful for someone. 1. Start from real conversations, not invented questions At first we write 50 test questions ourself. Bot pass almost all. Then…

    Nguyen Minh Anh5likes5comments

  3. Article

    Agent demo vs production: what happened when our 9-out-of-10 demo met 1,200 real tickets

    In the spring we were shown an agent demo: give it a customer request ("I was charged twice, please fix it"), and it reads the account, finds the duplicate charge, issues a refund and writes a reply. Ten scripted requests, nine handled end to end. Leadership was ready to staff down a queue. We ran a four-week shadow pilot instead: the agent processed real tickets in parallel with humans, with its actions logged but…

    Dana Kowalski15likes13comments

  4. Article

    Teu modelo tem 99% de acurácia? Bah, então me mostra a matriz de confusão

    Bah, tchê. Toda semana aparece alguém no LinkedIn com "meu modelo atingiu 99% de acurácia" e um gráfico bonito. E toda semana eu tenho as mesmas três perguntas. Vou deixar aqui pra poder mandar o link 🧉 1. Qual é a proporção das classes? Se 99% das transações não são fraude, um modelo que responde "não é fraude" pra tudo tem 99% de acurácia. E não pega fraude nenhuma. Tu viu? Acurácia sozinha não diz nada quando as…

    Bruna Schmitt6likes7comments

  5. Article

    Antes de culpar al modelo, mira tus etiquetas

    Lo prometí en el otro post, así que aquí va en castellano (y algo de català, perdón). Teníamos un clasificador de reseñas de clientes con 5 categorías: producto, envío, precio, atención al cliente y "otro". Llevábamos dos meses probando modelos: TF-IDF con regresión logística, un BERT multilingüe afinado y un LLM con few-shot. Los tres se quedaban en 0.78-0.80 de F1. Siempre lo mismo. Sospechoso, ¿no? El experimento…

    Núria Puig7likes7comments

  6. Article

    Your model didn't get better, your test set leaked (a checklist)

    A ver. Three times this year a model "improved" by a lot, and three times it was leakage. The last one was a fine-tuned classifier that jumped from 0.81 to 0.93 F1, and my manager already had a slide 🙃 This is the checklist I run now before I believe anything. 1. Exact and near duplicates between train and test The 80% of my leakage problems are this. Customer reviews, support tickets, product descriptions: people…

    Núria Puig19likes7comments

  7. Article

    Postmortem: our support assistant invented a refund policy

    A short postmortem, shared with permission from the team and with details changed enough that I am comfortable posting it. Summary For 41 hours, a retrieval-augmented assistant that drafts replies for our support agents told some customers that orders could be refunded within 60 days. The policy is 30 days. Agents approve every draft before it is sent; 23 drafts with the wrong number were sent anyway. We honoured…

    Dana Kowalski22likes7comments

  8. Article

    How I build evals for an LLM feature (the boring version)

    This topic exists because I kept seeing launches justified with a demo video and a feeling. So here is the first real post: how I evaluate an LLM feature before it ships. Nothing here is novel. That is the point. The feature, for context: classifying inbound support tickets into one of 14 categories and extracting an order ID if there is one. It is currently handled by a gradient-boosted model plus a regex (more on…

    Dana Kowalski33likes14comments

Get the best of Dynamo Geeks weekly

One email each Monday with the most useful posts. No spam; unsubscribe in one click.