Skip to content

Commit

Permalink
Merge pull request #339 from mims-harvard/scgpt
Browse files Browse the repository at this point in the history
use tdc geneformer
  • Loading branch information
amva13 authored Jan 7, 2025
2 parents 78f457e + e7864fc commit c0de53e
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 c0de53e

Please sign in to comment.