mjpyeon commited on
Commit
d02b3bf
·
1 Parent(s): 8169dad

update readme

Browse files
Files changed (1) hide show
  1. README.md +6 -2
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 = "SVS_PATH"
37
- prob = model(svs_path)
 
 
 
 
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** |