jrb commited on
Commit
af1594d
1 Parent(s): 036a7be

update model names

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ def infer(
22
  stop="\n"
23
  ):
24
  model_name_map = {
25
- "GPT-JT-6B-v1": "Together-gpt-JT-6B-v1",
26
  }
27
  max_new_tokens = int(max_new_tokens)
28
  num_completions = int(num_completions)
@@ -45,7 +45,7 @@ def infer(
45
  if prompt=="":
46
  prompt = " "
47
  my_post_dict = {
48
- "model": "Together-gpt-JT-6B-v1",
49
  "prompt": prompt,
50
  "top_p": top_p,
51
  "top_k": top_k,
 
22
  stop="\n"
23
  ):
24
  model_name_map = {
25
+ "GPT-JT-6B-v1": "togethercomputer/GPT-JT-6B-v1",
26
  }
27
  max_new_tokens = int(max_new_tokens)
28
  num_completions = int(num_completions)
 
45
  if prompt=="":
46
  prompt = " "
47
  my_post_dict = {
48
+ "model": "togethercomputer/GPT-JT-6B-v1",
49
  "prompt": prompt,
50
  "top_p": top_p,
51
  "top_k": top_k,