Text Generation
PEFT
Safetensors
lora
text-generation-inference
biology
medical
ontogpt
text2text-generation
Instructions to use UoS-HGIG/MIMIC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use UoS-HGIG/MIMIC with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.1-70B-Instruct") model = PeftModel.from_pretrained(base_model, "UoS-HGIG/MIMIC") - Notebooks
- Google Colab
- Kaggle
| tags: | |
| - lora | |
| - text-generation-inference | |
| - biology | |
| - medical | |
| - ontogpt | |
| widget: | |
| - text: '-' | |
| output: | |
| url: images/example.png | |
| base_model: meta-llama/Llama-3.1-8B | |
| instance_prompt: null | |
| license: mit | |
| pipeline_tag: text2text-generation | |
| library_name: peft | |
| # IBD MIMIC LLM | |
| <Gallery /> | |
| ## Model description | |
|  | |
| This model was developed using 30 manually curated imaging reports from IBD patients in the MIMIC dataset. It is designed to work with OntoGPT to extract and structure key pathological findings from free-text reports. The model assigns weights to specific terms based on their relevance, ensuring more accurate and standardized data extraction. These weights help prioritize important findings and improve the precision of downstream analysis, such as clinical phenotyping or automated report structuring. | |
| ## Download model | |
| Weights for this model are available in Safetensors,PyTorch format. | |
| Additional files available: https://github.com/UoS-HGIG/IBD_LLM | |
| [Download](/UoS-HGIG/MIMIC/tree/main) them in the Files & versions tab. | |
| ## Reference | |
| Application of Generative Artificial Intelligence to Utilise Unstructured Clinical Data for Acceleration of Inflammatory Bowel Disease Research. Alex Z Kadhim, Zachary Green, Iman Nazari, Jonathan Baker, Michael George, Ashley Heinson, Matt Stammers, Christopher Kipps, R Mark Beattie, James J Ashton, Sarah Ennis. medRxiv 2025.03.07.25323569; doi: https://doi.org/10.1101/2025.03.07.25323569 |