taylorj94 commited on
Commit
4f7d264
·
verified ·
1 Parent(s): 4697975

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +3 -3
handler.py CHANGED
@@ -10,10 +10,10 @@ class EndpointHandler:
10
  Initialize the model handler using llama_cpp.
11
  """
12
  self.model = Llama.from_pretrained(
13
- repo_id="bartowski/Llama-3.3-70B-Instruct-GGUF",
14
- filename="Llama-3.3-70B-Instruct-IQ4_XS.gguf"
15
  )
16
- self.tokenizer = AutoTokenizer.from_pretrained("bartowski/Llama-3.3-70B-Instruct-GGUF")
17
 
18
  def get_allowed_token_ids(self, vocab_list: List[str]) -> set[int]:
19
  """
 
10
  Initialize the model handler using llama_cpp.
11
  """
12
  self.model = Llama.from_pretrained(
13
+ repo_id="bartowski/Meta-Llama-3.1-8B-Instruct-GGUF",
14
+ filename="Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf"
15
  )
16
+ self.tokenizer = AutoTokenizer.from_pretrained("taylorj94/Llama-3.2-1B")
17
 
18
  def get_allowed_token_ids(self, vocab_list: List[str]) -> set[int]:
19
  """