Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
amva13 committed Jan 7, 2025
1 parent 7017313 commit e879f11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tdc/model_server/tdc_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ 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(
"ctheodoris/Geneformer")
return model
elif self.model_name == "scGPT":
from transformers import AutoModel
Expand Down

0 comments on commit e879f11

Please sign in to comment.