Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1 |
---
|
2 |
license: afl-3.0
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: afl-3.0
|
3 |
+
tags:
|
4 |
+
- medical
|
5 |
---
|
6 |
+
# ClinicalGPT
|
7 |
+
|
8 |
+
This model card introduces ClinicalGPT model, a large language model designed and optimized for clinical scenarios. ClinicalGPT is fine-tuned on extensive and diverse medical datasets, including medical records, domain-specific knowledge, and multi-round dialogue consultations. The model is undergoing ongoing and continuous updates.
|
9 |
+
|
10 |
+
## Model Fine-tuning
|
11 |
+
|
12 |
+
We set the learning rate to 5e-5, with a batch size of 128 and a maximum length of 1,024, training across 3 epochs.
|
13 |
+
|
14 |
+
## How to use the model
|
15 |
+
|
16 |
+
Load the model via the transformers library:
|
17 |
+
```python
|
18 |
+
from transformers import AutoTokenizer, AutoModel
|
19 |
+
tokenizer = AutoTokenizer.from_pretrained("medicalai/ClinicalGPT-base-zh")
|
20 |
+
model = AutoModel.from_pretrained("medicalai/ClinicalGPT-base-zh")
|
21 |
+
```
|
22 |
+
|
23 |
+
## Limitations
|
24 |
+
|
25 |
+
The project is intended for research purposes only and restricted from commercial or clinical use. The generated content by the model is subject to factors such as model computations, randomness, misinterpretation, and biases, and this project cannot guarantee its accuracy. This project assumes no legal liability for any content produced by the model. Users are advised to exercise caution and independently verify the generated results.
|