How to Run Statistical Significance Tests on AI Evaluation Results
A score difference is not a result until you test it. For two models evaluated on the same items, use McNemar's exact test on the items where…
FROM THE AUTHOR
Explore the published guides and contributions from John C. Mullen.
204 published articlesA score difference is not a result until you test it. For two models evaluated on the same items, use McNemar's exact test on the items where…
Running a local model as an OpenAI-compatible API means placing a model behind an HTTP server that implements the same /v1 routes as OpenAI. Existing SDKs and…
A WordPress RAG pipeline turns your published posts into a searchable index that a local language model reads before answering. Two documented reference implementations exist: a script-per-step…
Every token-cutting change in a RAG pipeline — smaller top-k, shorter chunks, dropping the reranker — is also a retrieval change, and retrieval regressions are usually silent.…
There is no universal chunk size for local RAG. Choose by document structure, embedding context window, and local LLM context budget, then verify with a small retrieval…
Benchmarking hallucination rates on local models means choosing a test family, pinning your environment, and scoring fabrication separately from abstention. Two small MIT-licensed harnesses make this runnable…
Ollama, llama.cpp, and vLLM all let you point an OpenAI SDK at a machine you control, but they are not interchangeable. This comparison explains what each server…
Continue is an open-source AI code assistant for VS Code and JetBrains, and Ollama can serve the models that power its inline completions entirely on your own…
Adding citations to a RAG chatbot means carrying a stable identifier for every retrieved chunk from the search result into the model's context, instructing the model to…
A scheduled embedding job keeps a WordPress RAG index current by detecting changed pages and posts, re-embedding only those items, and removing vectors for deleted content. Two…
Prompts are software artifacts, not disposable text. Treating prompt templates as versioned, evaluated, and centrally stored components makes model behavior reproducible, rollbacks safe, and collaboration possible. This…
AI schema generators can draft JSON-LD structured data for WordPress posts without manual coding. AIOSEO and amplifi.schema offer documented workflows, but generated markup still needs human review…