Spaces:
Running
Running
File size: 3,869 Bytes
9757a41 76ccd3e c76346e 9757a41 dc5fcad 4da48ef dc5fcad 0779dd0 dc5fcad c76346e cb5d966 dc5fcad 0588cd0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
---
title: Bachelor Thesis
emoji: 🚀
colorFrom: blue
colorTo: blue
sdk: static
pinned: false
---
Welcome to the official repository for the bachelor's thesis titled "Fine-tuning of Large Language Models for the Analysis of Medical Texts," conducted at the [Bern University of Applied Sciences](https://www.bfh.ch/de/).
## Disclaimer
This project is part of a bachelor thesis and is not meant to be used in a production environment. The code is not optimized for performance and is not guaranteed to work in all environments. We won't provide any support for this and won't be responsible for any damage caused by the usage of this project.
## Overview
In modern medicine, medical documentation is essential yet challenging due to the largely unstructured nature of medical data—approximately 80% by current estimates. This unstructured data complicates the analysis and extraction of actionable insights, contributing significantly to the administrative burden and stress experienced by healthcare providers.
To address these challenges, we explore the potential of Artificial Intelligence, particularly through the use of Large Language Models (LLMs), to support the management and analysis of medical texts. Our research focuses on the adaptability and effectiveness of open-source LLMs, specifically tuned to process and analyze medical documentation efficiently while ensuring data privacy and security within medical institutions.
The main focus of this project is to develop models that can be used for german clinical texts, but the models we used are mainly developed for german context and documents.
## Objectives
- Data Extraction: Accurately extracting relevant information from German medical texts.
- Entity Normalization: Standardizing extracted entities with medical terminologies.
- Attribute Identification: Detecting attributes of the entities within the medical texts, such as the position of a diagnosis on the body or the level of truth.
- Text Summarization: Generating summaries of clinical documents.
## Data used
- Annotated Medical Gold-Standard Datasets: Specifically [BRONCO150](https://www2.informatik.hu-berlin.de/~leser/bronco/index.html) and [Cardio:DE](https://heidata.uni-heidelberg.de/dataset.xhtml?persistentId=doi:10.11588/data/AFYQDY).
- Synthetic Data: Around 200 synthetic summaries to enhance model training. One part was created by our own using GPT-4, the other is from the [Dev4Med/Notfallberichte-German-100](https://huggingface.co/datasets/Dev4Med/Notfallberichte-German-100) dataset
- Medical Coding Systems: Data from ICD10GM, ATC, and OPS coding systems.
## Team
- Nicolas Gujer ([nicolas.gujer@protonmail.com](mailto:nicolas.gujer@protonmail.com))
- Jorma Steiner ([jorma.steiner@outlook.com](mailto:jorma.steiner@outlook.com))
## Source-Code
All necessary data acquisition scripts and additional resources are available on our [GitHub Repository](https://github.com/AngryBacteria/ba-gujen1-steij14). Access to certain datasets is restricted and requires formal requests to the respective institutions.
For detailed information on each model's performance and guidelines on usage, please refer to the individual model repositories linked within our GitHub.
## Collections
- [Decoder Information Extraction](https://huggingface.co/collections/BachelorThesis/decoder-information-extraction-66503516d62f7e57e353a415): These are the main models
we developed in our thesis. They can execute all the objectives of our work with one single model. They all are based on the decoder transformers architecture.
- [Encoder Information Extraction](https://huggingface.co/collections/BachelorThesis/named-entity-recognition-66503557a35b05faab62c916): These are models which we developed
to compare our decoder models to. Encoder transformers are the current state of the art for some of the objectives of this thesis |