Nov 2026· Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
Abstract
A zero-dependency Python client for any OpenAI-compatible LLM endpoint (Ollama, vLLM, llama.cpp server, LM Studio or a cloud provider), designed as the perception layer of deterministic finance architectures. Core principle: the model may only read (extract structured JSON), never compute. Bad model output fails loudly (json_extraction_error) instead of being silently repaired or hallucinated around. The library provides: bounded retries for timeout/408/429/5xx, client-side prompt/response byte budgets, strict JSON extraction (whole-body JSON or fenced json block only), an optional JSONL evidence log storing SHA-256 hashes plus latency/attempts/usage but not client text, a json_mode hint (response_format=json_object) for small local models that ignore natural-language JSON instructions, a benchmark helper and a CLI with stable exit codes. Validated locally on Windows 11 / Intel i5-8250U / 7.9 GB RAM with CPU-only inference (Ollama v0.40.18, qwen2.5:1.5b Q4_K_M): probe latency 0.85 s, throughput 14.0 tokens/s; a long-term-equity extraction prompt yields contract-valid JSON in about 3.5 s warm / 10.9 s cold; peak model memory about 1.16 GB. 51 offline unit tests (local fake server, no network, no API key). MIT license. Version 0.1.1 adds a documented negative result, "Prompt is not a contract": when this layer was wired into a deterministic finance pipeline (scene routing by rules, Decimal operators, pre-commit watchdog assertions, append-only hash-chained workpaper store), five distinct real model failures were observed and each was stopped by a downstream gate: instruction violation (answered a journal entry instead of JSON), fabricated structure (arithmetic expression as an amount), unbalanced journal entries, wrong magnitude leading to a negative carrying amount, and an accounting red line (impairment reversal). Combined with v0.1.0's finding that a 1.5B model may ignore an explicit 'output only JSON' instruction, this supports the design rule: json_mode improves shape compliance, not semantic correctness; the model's compliance can only be guaranteed by deterministic downstream constraints. See docs/NEGATIVE-RESULTS.md in the source repository.
Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...
O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al.· Zenodo (CERN European Organi...· 465 citations
The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.
Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al.· IEEE Transactions on Softwar...· 178 citations· ⚡14
Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.
M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al.· e-Informatica Software Engin...· 157 citations· ⚡17
This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.
Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al.· Empirical Software Engineeri...· 127 citations· ⚡15
The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.
Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al.· Journal of Systems and Softw...· 111 citations· ⚡8
Objective There is dearth of information on the timeliness of antenatal care (ANC) uptake. This study aimed to determine the timely ANC uptake by a medically trained provider (MTP) as per the World Health Organization (WHO) recommendations and the country guideline. Methods Cross-sectional survey was done with 2,731 wo...
B. Sarker, Musfikur Rahman, T. Rahman et al.· PLoS ONE· 89 citations· ⚡7
An ordinary text question to an AI uses less electricity than many people guess, but video and thinking modes multiply consumption many times over. We put the numbers next to everyday things, from boiling water to a Finnish sauna evening, and share three tips for using AI with a smaller footprint. The post How Much Electricity Does AI Use? It Depends Mostly on What You Ask appeared first on GPT-Lab.
MIT News · Artificial Intelligence· news.mit.eduNov 23, 2026
Senior Research Scientist Jim Glass discusses how his MIT-IBM Computing Research Lab collaboration connects perception and language, and addresses the shortcoming of current models.
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.