update readme
Browse files
README.md
CHANGED
|
@@ -33,8 +33,12 @@ from predictor import EXAONEPathLuadEgfrPredictor
|
|
| 33 |
|
| 34 |
hf_token = "YOUR_HUGGING_FACE_ACCESS_TOKEN"
|
| 35 |
model = EXAONEPathLuadEgfrPredictor.from_pretrained("LG-AI-EXAONE/EXAONE-Path-LUAD-EGFR-Predictor", use_auth_token=hf_token)
|
| 36 |
-
svs_path = "
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
```
|
| 39 |
## Model Performance Comparison
|
| 40 |
| **Benchmarks** | **TITAN** | **PRISM** | **CHIEF** | **Prov-GigaPath** | **UNI2-h** | **EXAONE Path 1.0** | **EXAONE Path EGFR** |
|
|
|
|
| 33 |
|
| 34 |
hf_token = "YOUR_HUGGING_FACE_ACCESS_TOKEN"
|
| 35 |
model = EXAONEPathLuadEgfrPredictor.from_pretrained("LG-AI-EXAONE/EXAONE-Path-LUAD-EGFR-Predictor", use_auth_token=hf_token)
|
| 36 |
+
svs_path = "samples/EGFR-mutated.svs"
|
| 37 |
+
pos_prob = model(svs_path)
|
| 38 |
+
svs_path = "samples/EGFR-wild.svs"
|
| 39 |
+
neg_prob = model(svs_path)
|
| 40 |
+
print(f"EGFR mutation prob of positive sample: {pos_prob:.2f}")
|
| 41 |
+
print(f"EGFR mutation prob of negative sample: {neg_prob:.2f}")
|
| 42 |
```
|
| 43 |
## Model Performance Comparison
|
| 44 |
| **Benchmarks** | **TITAN** | **PRISM** | **CHIEF** | **Prov-GigaPath** | **UNI2-h** | **EXAONE Path 1.0** | **EXAONE Path EGFR** |
|