jxm commited on
Commit
5c628e5
·
verified ·
1 Parent(s): 499443d

fix typo in import

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -16,7 +16,7 @@ def load_embedder_and_tokenizer(name: str) -> Tuple[
16
  transformers.PreTrainedTokenizer
17
  ]:
18
  if name.startswith("nomic") or (name == "bert-base-uncased"):
19
- model = transfromers.AutoModel.from_pretrained(name)
20
  tokenizer = transformers.AutoTokenizer.from_pretrained(name)
21
  elif name in ["gtr-base", "gtr_base"]:
22
  model = transformers.AutoModel.from_pretrained(
 
16
  transformers.PreTrainedTokenizer
17
  ]:
18
  if name.startswith("nomic") or (name == "bert-base-uncased"):
19
+ model = transformers.AutoModel.from_pretrained(name)
20
  tokenizer = transformers.AutoTokenizer.from_pretrained(name)
21
  elif name in ["gtr-base", "gtr_base"]:
22
  model = transformers.AutoModel.from_pretrained(