Peter0707 commited on
Commit
cb57eff
·
verified ·
1 Parent(s): 34d3a8f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -0
README.md CHANGED
@@ -26,6 +26,10 @@ This model ranks candidate disease-causing genes based on a patient’s phenotyp
26
  Use `PhenoGemini Atlas` (https://phenogemini.org/) to create a prompt that includes "twin patients". After you input the patient's phenotypes, the Atlas retrieves the most similar patients from the literature and appends them to the final prompt.
27
 
28
  # Step 2: Inference
 
 
 
 
29
  ```python
30
  from transformers import AutoModelForCausalLM, AutoTokenizer
31
  import torch
 
26
  Use `PhenoGemini Atlas` (https://phenogemini.org/) to create a prompt that includes "twin patients". After you input the patient's phenotypes, the Atlas retrieves the most similar patients from the literature and appends them to the final prompt.
27
 
28
  # Step 2: Inference
29
+ > [!important]
30
+ > Because PhenoGemini-LLM performs ranking based on the token predicted at the final position,
31
+ > please ensure that **the prompt passed to the LLM does NOT contain any trailing spaces, newline characters, or other extraneous whitespace AT THE END**.
32
+
33
  ```python
34
  from transformers import AutoModelForCausalLM, AutoTokenizer
35
  import torch