mrsteyk commited on
Commit
813cb7b
1 Parent(s): 678451a

Switch to mrsteyk/openchatgpt-neox-125m

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ Assistant is a distilled language model trained by the community.<|STK_SP|>
11
 
12
  [User]"""
13
 
14
- tokenizer = AutoTokenizer.from_pretrained("mrsteyk/openchatgpt-neo-125m", use_fast=True)
15
- model = AutoModelForCausalLM.from_pretrained("mrsteyk/openchatgpt-neo-125m")
16
 
17
  def chat(inpt, max_new_tokens, top_k, top_p, temperature, repetition_penalty):
18
  inputs = tokenizer(f"{prologue}\n{inpt}<|STK_SP|>\n\n[Assistant]\n", return_tensors="pt").input_ids
 
11
 
12
  [User]"""
13
 
14
+ tokenizer = AutoTokenizer.from_pretrained("mrsteyk/openchatgpt-neox-125m", use_fast=True)
15
+ model = AutoModelForCausalLM.from_pretrained("mrsteyk/openchatgpt-neox-125m")
16
 
17
  def chat(inpt, max_new_tokens, top_k, top_p, temperature, repetition_penalty):
18
  inputs = tokenizer(f"{prologue}\n{inpt}<|STK_SP|>\n\n[Assistant]\n", return_tensors="pt").input_ids