Tonic commited on
Commit
b43f3d7
1 Parent(s): 9c95fcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ Join us : 🌟TeamTonic🌟 is always making cool demos! Join our active builder
17
  """
18
 
19
  tokenizer = YiTokenizer.from_pretrained("./")
20
- model = AutoModelForCausalLM.from_pretrained("larryvrh/Yi-34B-200K-Llamafied", device_map="auto", torch_dtype="bfloat16", trust_remote_code=True)
21
 
22
 
23
  def predict(message, max_new_tokens=4056, temperature=3.5, top_p=0.9, top_k=800, do_sample=False):
 
17
  """
18
 
19
  tokenizer = YiTokenizer.from_pretrained("./")
20
+ model = AutoModelForCausalLM.from_pretrained("larryvrh/Yi-34B-200K-Llamafied", device_map="auto", torch_dtype=torch.bfloat16, trust_remote_code=True)
21
 
22
 
23
  def predict(message, max_new_tokens=4056, temperature=3.5, top_p=0.9, top_k=800, do_sample=False):