Spaces:
Runtime error
Runtime error
update model names
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def infer(
|
|
22 |
stop="\n"
|
23 |
):
|
24 |
model_name_map = {
|
25 |
-
"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": "
|
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,
|