developer3000 commited on
Commit
b16249b
·
1 Parent(s): 56aa16d

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from threading import Thread
7
  #model = AutoModelForCausalLM.from_pretrained("togethercomputer/RedPajama-INCITE-Chat-3B-v1", torch_dtype=torch.float16)
8
 
9
  tokenizer = AutoTokenizer.from_pretrained("aaditya/OpenBioLLM-Llama3-8B-GGUF")
10
- model = AutoModelForCausalLM.from_pretrained("aaditya/openbiollm-llama3-8b.Q5_K_M", torch_dtype=torch.float16)
11
 
12
  class StopOnTokens(StoppingCriteria):
13
  def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs) -> bool:
 
7
  #model = AutoModelForCausalLM.from_pretrained("togethercomputer/RedPajama-INCITE-Chat-3B-v1", torch_dtype=torch.float16)
8
 
9
  tokenizer = AutoTokenizer.from_pretrained("aaditya/OpenBioLLM-Llama3-8B-GGUF")
10
+ model = AutoModelForCausalLM.from_pretrained("aaditya/openbiollm-llama3-8b.Q5_K_M.gguf", torch_dtype=torch.float16)
11
 
12
  class StopOnTokens(StoppingCriteria):
13
  def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs) -> bool: