{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,16]],"date-time":"2026-11-16T13:05:20Z","timestamp":1794834320436,"version":"4.9.1"},"reference-count":0,"publisher":"IOS Press","isbn-type":[{"value":"9781643686462","type":"electronic"}],"license":[{"start":{"date-parts":[[2026,2,12]],"date-time":"2026-02-12T00:00:00Z","timestamp":1770854400000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2026,2,12]]},"abstract":"<jats:p>As general-purpose LLMs become widely accessible, tailoring their outputs to domain-specific tasks remains challenging. This paper investigates how custom, pattern-guided datasets and fine-tuning can specialize LLM behavior. We run a four-round open-vs-closed comparison: (1) evaluate commercially hosted models with an open-source dataset; (2) repeat with a synthetic, pattern-aligned variant; (3) replicate both rounds with open-source LLMs; and (4) demonstrate a real-world case by fine-tuning an open model to answer WordPress technical support queries using a finalized, pattern-constrained dataset. Across rounds, fine-tuned open-source models achieved performance comparable to closed-source baselines while offering greater controllability and deployment flexibility. We detail dataset design, the role of response patterns in producing consistent outputs, and practical trade-offs observed during fine-tuning and real-world use. The findings indicate that with well-crafted custom datasets, open-source LLMs can be reliably specialized for targeted applications without reliance on proprietary APIs.<\/jats:p>","DOI":"10.3233\/faia251734","type":"book-chapter","created":{"date-parts":[[2026,2,13]],"date-time":"2026-02-13T09:53:50Z","timestamp":1770976430000},"source":"Crossref","is-referenced-by-count":1,"title":["Specializing LLMs with Custom Datasets: A Four-Round Open vs Closed Comparison"],"prefix":"10.3233","author":[{"given":"Mubashir","family":"Saeed","sequence":"first","affiliation":[{"name":"Tampere University, Pori, Finland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mika","family":"Saari","sequence":"additional","affiliation":[{"name":"Tampere University, Pori, Finland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kari","family":"Syst\u00e4","sequence":"additional","affiliation":[{"name":"Tampere University, Pori, Finland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Pekka","family":"Abrahamsson","sequence":"additional","affiliation":[{"name":"Tampere University, Pori, Finland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"7437","container-title":["Frontiers in Artificial Intelligence and Applications","Information Modelling and Knowledge Bases XXXVII"],"original-title":[],"link":[{"URL":"https:\/\/ebooks.iospress.nl\/pdf\/doi\/10.3233\/FAIA251734","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,2,13]],"date-time":"2026-02-13T09:53:50Z","timestamp":1770976430000},"score":1,"resource":{"primary":{"URL":"https:\/\/ebooks.iospress.nl\/doi\/10.3233\/FAIA251734"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,2,12]]},"ISBN":["9781643686462"],"references-count":0,"URL":"https:\/\/doi.org\/10.3233\/faia251734","relation":{},"ISSN":["0922-6389","1879-8314"],"issn-type":[{"value":"0922-6389","type":"print"},{"value":"1879-8314","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,2,12]]}}}