alexkueck commited on
Commit
d29de06
1 Parent(s): f7c3a40

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -70,7 +70,7 @@ def load_tokenizer_and_model(base_model,load_8bit=False):
70
  else:
71
  device = "cpu"
72
 
73
- tokenizer = AutoTokenizer.from_pretrained.from_pretrained(base_model, use_fast = False)
74
  if device == "cuda":
75
  model = AutoModelForCausalLM.from_pretrained(
76
  base_model,
 
70
  else:
71
  device = "cpu"
72
 
73
+ tokenizer = AutoTokenizer.from_pretrained(base_model, use_fast = False)
74
  if device == "cuda":
75
  model = AutoModelForCausalLM.from_pretrained(
76
  base_model,