Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,11 @@ import gradio as gr
|
|
2 |
|
3 |
demo = gr.Blocks()
|
4 |
|
5 |
-
#'huggingface/EleutherAI/gpt-neox-20b'
|
6 |
|
7 |
-
|
|
|
|
|
|
|
8 |
|
9 |
examples = [#zero-shot
|
10 |
["Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of the golf balls are blue. How many blue golf balls are there?\nA: The answer (arabic numerals) is "],
|
@@ -74,4 +76,4 @@ with gr.Blocks() as demo:
|
|
74 |
"""
|
75 |
)
|
76 |
|
77 |
-
demo.launch(enable_queue=True)
|
|
|
2 |
|
3 |
demo = gr.Blocks()
|
4 |
|
|
|
5 |
|
6 |
+
#'huggingface/facebook/opt-13b'
|
7 |
+
#inference not supported
|
8 |
+
|
9 |
+
name_list = ['huggingface/EleutherAI/gpt-neox-20b', 'huggingface/bigscience/T0pp', 'huggingface/EleutherAI/gpt-j-6B', 'huggingface/gpt2-xl', 'huggingface/EleutherAI/gpt-neo-2.7B']
|
10 |
|
11 |
examples = [#zero-shot
|
12 |
["Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of the golf balls are blue. How many blue golf balls are there?\nA: The answer (arabic numerals) is "],
|
|
|
76 |
"""
|
77 |
)
|
78 |
|
79 |
+
demo.launch(enable_queue=True, debug=True)
|