Skip to content

Commit

Permalink
back to tdc geneformer
Browse files Browse the repository at this point in the history
  • Loading branch information
amva13 committed Jan 7, 2025
1 parent e879f11 commit b118fc7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tdc/model_server/tdc_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def load(self):
raise Exception("this model is not in the TDC model hub GH repo.")
elif self.model_name == "Geneformer":
from transformers import AutoModelForMaskedLM
model = AutoModelForMaskedLM.from_pretrained(
"ctheodoris/Geneformer")
model = AutoModelForMaskedLM.from_pretrained("tdc/Geneformer")
return model
elif self.model_name == "scGPT":
from transformers import AutoModel
Expand Down

0 comments on commit b118fc7

Please sign in to comment.