Towards Data Science

Local LLMs Handle Textbook RAG but Fail on New Research Papers

The article reports that local large language models perform well on textbook-based Retrieval-Augmented Generation (RAG) tasks, scoring between 12 and 20 out of 20. However, when evaluated on a newly published research paper, their performance dropped sharply, achieving only 0 to 9 out of 15. This contrast highlights a limitation in the models’ ability to handle recent academic content.

Towards Data Science
Jun 9

10 Common RAG Mistakes We Keep Seeing in Production

Enterprise Document Intelligence [Vol. 1 #4bis] - A coauthor note on the brick-by-brick pitfalls that justified the four-brick split, before Part II walks the fixes The post 10 Common RAG Mistakes We Keep Seeing in Production appeared first on Towards Data Science .

By Kezhan Shi
arXiv AI
Sep 25

Where LLM Graders Succeed and Break: Evidence from Two Computer-Science Exams

The study evaluates large language model (LLM) graders on two computer‑science exams, testing 171 configurations of closed‑ and open‑weights models. While the best LLM configuration achieved a mean absolute error of 1.64/35—better than the 2.61/35 error between two human graders—its performance was highly sensitive to the prompt. A short "strict grader" preamble caused most open‑weight models to exceed acceptable error thresholds or stop grading entirely, whereas fine‑tuning with a single LoRA adapter restored parity with human graders and reduced sensitivity to harsh prompts.

By Ali Habibullah, Yazan Alshoibi, Mohammad Alshiekh, Salman Khan, Naeemullah Khan
Towards Data Science
Aug 20

How to Fine-Tune an LLM: An End-to-End Guide

The article "How to Fine-Tune an LLM: An End-to-End Guide" offers a practical, hands‑on walkthrough for fine‑tuning large language models in real‑world scenarios. It covers the entire process from data preparation to deployment, providing readers with actionable steps to adapt LLMs to specific tasks. The guide is aimed at practitioners looking to implement fine‑tuning in a structured, end‑to‑end manner.

By Sam Black
arXiv Machine Learning
Oct 23

Mostly Reading: What Open-Book Scores Measure in Document-Level LoRA Adapters

The paper investigates how open‑book scoring evaluates document‑level LoRA adapters by training one adapter per Wikipedia article on Llama‑3.1‑8B‑Instruct. Results show that open‑book scores largely reflect a shared reading behaviour: a random adapter can recover most of a specialist’s advantage when the document is provided, but only a negligible fraction when the document is omitted in a cloze probe. While specialists improve cloze recall and their weight updates align with the documents they read, selecting adapters by weight‑space proximity or text embedding does not outperform random choice, and merged adapters recover most of the open‑book advantage but only a small portion of the cloze advantage. The study also documents four silent errors that yielded clean but incorrect results.

By Martino M. L. Pulici, Cuong Xuan Chu, Evgeny Kharlamov, Volker Tresp