Peter0707 commited on
Commit
ca247e6
·
verified ·
1 Parent(s): 531596c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -6
README.md CHANGED
@@ -15,14 +15,15 @@ extra_gated_fields:
15
  I agree to use this model for non-commercial use ONLY: checkbox
16
  ---
17
  ## Overview
18
-
19
  This model ranks candidate disease-causing genes based on a patient’s phenotypic information. During inference, it does not generate a full free-text response. Instead, it performs gene-token subspace ranking on the logits at the final position and outputs a prioritized list of genes.
20
 
21
- ## Generate Prompt
22
- Use `https://phenogemini.org` to generate a prompt that includes similar patients.
23
 
 
 
24
 
25
- ## Inference
26
  ```python
27
  from transformers import AutoModelForCausalLM, AutoTokenizer
28
  import torch
@@ -95,5 +96,5 @@ with torch.no_grad():
95
  sorted_gene_tok = tokenizer.convert_ids_to_tokens(sorted_gene_ids.tolist())
96
  ```
97
 
98
- ## Special Gene Token Example
99
- In `<|PhenoGemini-Special-Token-Entrez-ID-64087|>`, the numeric value after the final hyphen represents the Entrez Gene ID.
 
15
  I agree to use this model for non-commercial use ONLY: checkbox
16
  ---
17
  ## Overview
 
18
  This model ranks candidate disease-causing genes based on a patient’s phenotypic information. During inference, it does not generate a full free-text response. Instead, it performs gene-token subspace ranking on the logits at the final position and outputs a prioritized list of genes.
19
 
20
+ > **Visit https://github.com/discostudy/phenogemini
21
+ > for additional usage examples and demonstration data derived from real-world cohorts.**
22
 
23
+ ## Step 1: Generate Prompt
24
+ Use `https://phenogemini.org` to generate a prompt that includes similar patients.
25
 
26
+ ## Step 2: Inference
27
  ```python
28
  from transformers import AutoModelForCausalLM, AutoTokenizer
29
  import torch
 
96
  sorted_gene_tok = tokenizer.convert_ids_to_tokens(sorted_gene_ids.tolist())
97
  ```
98
 
99
+ > **Special Gene Token Example**
100
+ > In `<|PhenoGemini-Special-Token-Entrez-ID-64087|>`, the numeric value after the final hyphen represents the Entrez Gene ID.