Adaptation and Performance Evaluation of Large Language Models for Business Related Tasks
Pascal Knoll
Abstract
The pharmacy business generates vast amounts of text data daily, including manuals, standard operation procedures, guidelines, deviation records, and more. Language models offer a viable route to process this textual information on a large scale. Simply applying a pre-trained language model (based on internet texts) may, however, produce sub-optimal results. The reasons may be routed in business-related slang or a change in word distribution in business-specific corpora compared to the general pre-trained corpora. In this thesis, different pre-trained Bidirectional Encoder Representations from Transformer (BERT) models were adapted to a business-internal text corpus. After obtaining modified models, several company-specific benchmarks are introduced (e.g., text classification, multiple-choice Question Answering (Q&A), and topic modeling) to evaluate the performance of the models. During the investigations, it was found that fine-tuning BERT can lead to a significant performance improvement over the pre-trained BERT model in specific tasks: • Multiple-choice Q&A: 27% accuracy improvement on Boehringer Ingelheim (BI) specific questions (see Table 5.1) • Criticality classification of deviations: 24% improvement of F1 score (see Table 5.2) and 29% of precision after applying a traffic-light system (see Table 5.4). • Moreover, topic diversity, topic coherence, and the Silhouette score were investigated as metrics for evaluating the goodness of the BI internal text clustering pipeline.
Publication Data
Endorsements
| # | Name | Details | Endorsement |
|---|---|---|---|
| 1 |
Prof. Dr. Martin Zaefferer
Supervisor |
2023-10-09 |
Blockchain Record
The transactions of the smart contract that recorded this publication on the bloxberg blockchain while the platform was in operation (how the platform used to work). Snapshot of the public block explorer taken on 12 October 2026.
| # | Event | Date (UTC) | Block | Transaction |
|---|---|---|---|---|
| 1 | Publication created | 2023-10-08 14:35 | 22339071 | 0x17cda6da…6fa645ae |
| 2 | Endorsement | 2023-10-09 11:15 | 22349541 | 0x51068b24…4da9cac6 |
| 3 | Endorser role updated | 2023-10-09 12:30 | 22350189 | 0x30bdffa1…9fcc96b0 |
| 4 | Publication published | 2023-10-09 12:31 | 22350195 | 0x9c7d1544…a09f6506 |