<img width=20% src="medinote.png" title="logo">

# Model Card for MediNote-13B-v1.0
MediNote is a suite of open-source medical Large Language Models (LLMs) fine-tuned for clinical note generation from the [MediTron](https://arxiv.org/abs/2311.16079) foundation model. 

MediNote-13B is a 13 billion parameters model trained to generate clinical notes from doctor-patient conversations. 

## Model Details

- **Developed by:** [Antoine Bonnet](https://huggingface.co/AGBonnet) and Paul Boulenger
- **Model type:** Causal decoder-only transformer language model
- **Language(s):** English only
- **Model License:** [LLAMA 2 COMMUNITY LICENSE AGREEMENT](https://huggingface.co/meta-llama/Llama-2-70b/raw/main/LICENSE.txt)
- **Code License:** [MIT](https://opensource.org/license/mit/)
- **Fine-tuned from model:** [Llama-2-13B](https://huggingface.co/meta-llama/Llama-2-13b-hf) with continued pre-training on PubMed Central (MediTron-13B equivalent)
- **Context length:**  2K tokens
- **Input:**  Text-only data
- **Output:**  Model generates text only

### Model Sources

- **Repository:** [EPFL-IC-Make-Team/ClinicalNotes](https://github.com/EPFL-IC-Make-Team/ClinicalNotes)
- **Trainer:** [epflLLM/Megatron-LLM](https://github.com/epfLLM/Megatron-LLM)
- **Paper:** *[MediNote: Automatic Clinical Notes]()*

## Uses

### Direct Use

It is possible to use this model to generate clinical notes, which is useful for experimentation and understanding its capabilities. 
It should not be used directly for production or work that may impact people.

### Downstream Use

### Out-of-Scope Use

We do not recommend using this model for natural language generation in a production environment, finetuned or otherwise.

### Recommendations

## Citation

**BibTeX:**
If you use MediNote or its training data, please cite our work:

```
ADD CITATION
```
{"language": ["en"], "license": "llama2", "datasets": ["AGBonnet/augmented-clinical-notes"], "base_model": "epfl-llm/llama-2-13b-hf", "pipeline_tag": "text2text-generation"}
transformers safetensors llama text-generation text2text-generation en dataset:AGBonnet/augmented-clinical-notes arxiv:2311.16079 base_model:epfl-llm/llama-2-13b-hf license:llama2 autotrain_compatible endpoints_compatible text-generation-inference region:us