lalaland1125
commited on
Commit
·
6004402
1
Parent(s):
9491370
Update README.md
Browse files
README.md
CHANGED
@@ -44,7 +44,12 @@ Use the code below to get started with the model.
|
|
44 |
|
45 |
First, download the necessary libraries.
|
46 |
```bash
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
48 |
```
|
49 |
|
50 |
Second, run the following Python script to run inference on a single patient:
|
|
|
44 |
|
45 |
First, download the necessary libraries.
|
46 |
```bash
|
47 |
+
# Create Python 3.10 environment
|
48 |
+
conda create --name ehrshot_env python=3.10 -y
|
49 |
+
conda activate ehrshot_env
|
50 |
+
|
51 |
+
# Install requirements
|
52 |
+
pip install torch==2.1.1 femr==0.2.0 datasets==2.15.0 flash_attn==2.3.6 transformers==4.35.2
|
53 |
```
|
54 |
|
55 |
Second, run the following Python script to run inference on a single patient:
|