Caslow commited on
Commit
501ac4e
1 Parent(s): e2a035e

change to Hugging Face Model

Browse files
Files changed (1) hide show
  1. inference.py +2 -2
inference.py CHANGED
@@ -23,11 +23,11 @@ def load_model(
23
  }
24
 
25
  # Load the tokenizer
26
- tokenizer = AutoTokenizer.from_pretrained(model_name)
27
 
28
  # Load the model
29
  model = AutoModelForCausalLM.from_pretrained(
30
- pretrained_model_name_or_path=model_name,
31
  **kwargs
32
  )
33
 
 
23
  }
24
 
25
  # Load the tokenizer
26
+ tokenizer = AutoTokenizer.from_pretrained("CodeTranslatorLLM/LinguistLLM")
27
 
28
  # Load the model
29
  model = AutoModelForCausalLM.from_pretrained(
30
+ pretrained_model_name_or_path="CodeTranslatorLLM/LinguistLLM",
31
  **kwargs
32
  )
33