Update README.md
Browse files
README.md
CHANGED
|
@@ -63,7 +63,7 @@ This is the model card of a 🤗 transformers model that has been pushed on the
|
|
| 63 |
|
| 64 |
## Usage and Intended Uses
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
```python
|
| 69 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
@@ -77,8 +77,12 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 77 |
)
|
| 78 |
```
|
| 79 |
|
|
|
|
| 80 |
## Prompt Format
|
| 81 |
-
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 84 |
|
|
|
|
| 63 |
|
| 64 |
## Usage and Intended Uses
|
| 65 |
|
| 66 |
+
This model is meant to be used to summarize doctor's notes. More specifically, this model was trained on condensing long doctor's notes into 3-5 sentence patient friendly summaries. It could be used for other long medical text, similar in length to a doctor's note, however, the model is the most familiar with the language in a note describing the patient's diagnosis, health concerns, next steps, and health progression. Overall, the model is meant to be used to when a patient receives a long visit note from the doctor that is overwhelming and filled with medical jargon. By passing that note as input, a quick synopsis of the doctor's notes that omits much medical jargon and just keeps key details is returned. This can be easily used to understand the condition and next steps for yourself or a family member.
|
| 67 |
|
| 68 |
```python
|
| 69 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
|
| 77 |
)
|
| 78 |
```
|
| 79 |
|
| 80 |
+
|
| 81 |
## Prompt Format
|
| 82 |
+
|
| 83 |
+
The prompt format is two-fold as both a system and user prompt are used for this model. This way, the model is given clear instructions on how to act to actually word the output (using the system prompt) and then, also guided on the length and purpose of the output (user prompt). The format for what was used to train the model and generate summaries for the test data for evaluation is shown below as an example.
|
| 84 |
+
|
| 85 |
+
|
| 86 |
|
| 87 |
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 88 |
|