Amirizaniani commited on
Commit
7ad3815
·
verified ·
1 Parent(s): ddebcda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -228,7 +228,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
228
  gr.Markdown("In Live Auditing Mode, you gain the ability to probe the LLM directly.")
229
  gr.Markdown("First, select the LLM you wish to audit. Then, enter your question. The AuditLLM tool will generate five relevant and diverse prompts based on your question. You can now select these prompts for auditing the LLMs. Examine the similarity scores in the answers generated from these prompts to assess the LLM's performance effectively")
230
  with gr.Row():
231
- model_name_input = gr.Dropdown([("Llama", "TheBloke/Llama-2-7B-Chat-GGML"), ("Falcon", "TheBloke/Falcon-180B-Chat-GGUF"), ("Zephyr", "TheBloke/zephyr-quiklang-3b-4K-GGUF"),("Vicuna", "TheBloke/vicuna-33B-GGUF"),("Claude","TheBloke/claude2-alpaca-13B-GGUF"),("Alpaca","TheBloke/LeoScorpius-GreenNode-Alpaca-7B-v1-GGUF")], label="Large Language Model")
232
  with gr.Row():
233
  prompt_input = gr.Textbox(label="Enter your question", placeholder="Enter Your Question")
234
  with gr.Row():
@@ -266,12 +266,12 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
266
  gr.Markdown("Upon completion, please provide your email address. We will compile and send the answers to you promptly.")
267
 
268
  llm_dropdown = gr.Dropdown(choices=[
269
- ("Llama", "TheBloke/Llama-2-7B-Chat-GGML"),
270
- ("Falcon", "TheBloke/Falcon-180B-Chat-GGUF"),
271
- ("Zephyr", "TheBloke/zephyr-quiklang-3b-4K-GGUF"),
272
- ("Vicuna", "TheBloke/vicuna-33B-GGUF"),
273
- ("Claude", "TheBloke/claude2-alpaca-13B-GGUF"),
274
- ("Alpaca", "TheBloke/LeoScorpius-GreenNode-Alpaca-7B-v1-GGUF")],
275
  label="Large Language Model")
276
  file_upload = gr.File(label="Upload an Excel File with Questions", file_types=[".xlsx"])
277
  with gr.Row():
 
228
  gr.Markdown("In Live Auditing Mode, you gain the ability to probe the LLM directly.")
229
  gr.Markdown("First, select the LLM you wish to audit. Then, enter your question. The AuditLLM tool will generate five relevant and diverse prompts based on your question. You can now select these prompts for auditing the LLMs. Examine the similarity scores in the answers generated from these prompts to assess the LLM's performance effectively")
230
  with gr.Row():
231
+ model_name_input = gr.Dropdown([("Llama-2-7B", "TheBloke/Llama-2-7B-Chat-GGML"), ("Falcon-180B", "TheBloke/Falcon-180B-Chat-GGUF"), ("Zephyr-7B", "TheBloke/zephyr-quiklang-3b-4K-GGUF"),("Vicuna-33B", "TheBloke/vicuna-33B-GGUF"),("Claude2","TheBloke/claude2-alpaca-13B-GGUF"),("Alpaca-7B","TheBloke/LeoScorpius-GreenNode-Alpaca-7B-v1-GGUF")], label="Large Language Model")
232
  with gr.Row():
233
  prompt_input = gr.Textbox(label="Enter your question", placeholder="Enter Your Question")
234
  with gr.Row():
 
266
  gr.Markdown("Upon completion, please provide your email address. We will compile and send the answers to you promptly.")
267
 
268
  llm_dropdown = gr.Dropdown(choices=[
269
+ ("Llama-2-7B", "TheBloke/Llama-2-7B-Chat-GGML"),
270
+ ("Falcon-180B", "TheBloke/Falcon-180B-Chat-GGUF"),
271
+ ("Zephyr-7B", "TheBloke/zephyr-quiklang-3b-4K-GGUF"),
272
+ ("Vicuna-33B", "TheBloke/vicuna-33B-GGUF"),
273
+ ("Claude2", "TheBloke/claude2-alpaca-13B-GGUF"),
274
+ ("Alpaca-7B", "TheBloke/LeoScorpius-GreenNode-Alpaca-7B-v1-GGUF")],
275
  label="Large Language Model")
276
  file_upload = gr.File(label="Upload an Excel File with Questions", file_types=[".xlsx"])
277
  with gr.Row():