Spaces:
Runtime error
Runtime error
Commit
·
c6666cc
1
Parent(s):
fa3ff72
test
Browse files
app.py
CHANGED
@@ -51,8 +51,8 @@ for i, j in zip(ents, ents_prompt):
|
|
51 |
|
52 |
model_mapping = {
|
53 |
'gpt3.5': 'gpt-3.5-turbo-0613',
|
54 |
-
'vicuna-7b': 'lmsys/vicuna-7b-v1.3',
|
55 |
-
'llama-7b': './llama/hf/7B',
|
56 |
}
|
57 |
|
58 |
with open('sample_uniform_1k_2.txt', 'r') as f:
|
@@ -89,8 +89,8 @@ theme = gr.themes.Soft()
|
|
89 |
|
90 |
# issue get request for gpt 3.5
|
91 |
gpt_pipeline = pipeline(task="text2text-generation", model="gpt3.5")
|
92 |
-
vicuna7b_pipeline = pipeline(task="text2text-generation", model="lmsys/vicuna-7b-v1.3")
|
93 |
-
llama7b_pipeline = pipeline(task="text2text-generation", model="./llama/hf/7B")
|
94 |
|
95 |
# Dropdown options for model and task
|
96 |
model_options = list(model_mapping.keys())
|
|
|
51 |
|
52 |
model_mapping = {
|
53 |
'gpt3.5': 'gpt-3.5-turbo-0613',
|
54 |
+
#'vicuna-7b': 'lmsys/vicuna-7b-v1.3',
|
55 |
+
#'llama-7b': './llama/hf/7B',
|
56 |
}
|
57 |
|
58 |
with open('sample_uniform_1k_2.txt', 'r') as f:
|
|
|
89 |
|
90 |
# issue get request for gpt 3.5
|
91 |
gpt_pipeline = pipeline(task="text2text-generation", model="gpt3.5")
|
92 |
+
#vicuna7b_pipeline = pipeline(task="text2text-generation", model="lmsys/vicuna-7b-v1.3")
|
93 |
+
#llama7b_pipeline = pipeline(task="text2text-generation", model="./llama/hf/7B")
|
94 |
|
95 |
# Dropdown options for model and task
|
96 |
model_options = list(model_mapping.keys())
|