Spaces:
Running
on
Zero
Running
on
Zero
add examples for model explorer
Browse files
app.py
CHANGED
@@ -45,6 +45,17 @@ with app:
|
|
45 |
with gr.Tab("Model Explorer"):
|
46 |
gr.Markdown("## Retrieve and Display Model Architecture")
|
47 |
model_name_input = gr.Textbox(label="Model Name", placeholder="Enter the model name to retrieve its architecture...")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
model_submit_button = gr.Button("Submit")
|
49 |
model_output = gr.Textbox(label="Model Architecture", lines=20, placeholder="Model architecture will appear here...", show_copy_button=True)
|
50 |
error_output = gr.Textbox(label="Error", lines=10, placeholder="Exceptions will appear here...", show_copy_button=True)
|
|
|
45 |
with gr.Tab("Model Explorer"):
|
46 |
gr.Markdown("## Retrieve and Display Model Architecture")
|
47 |
model_name_input = gr.Textbox(label="Model Name", placeholder="Enter the model name to retrieve its architecture...")
|
48 |
+
model_examples = gr.Examples(
|
49 |
+
examples=[
|
50 |
+
[allenai/Llama-3.1-Tulu-3-8B],
|
51 |
+
[allenai/Llama-3.1-Tulu-3-70B],
|
52 |
+
[meta-llama/Llama-3.2-1B-Instruct],
|
53 |
+
[meta-llama/Llama-3.2-3B-Instruct],
|
54 |
+
[nomic-ai/nomic-embed-text-v1.5],
|
55 |
+
[nvidia/NV-Embed-v2]
|
56 |
+
]
|
57 |
+
inputs=model_name_input
|
58 |
+
)
|
59 |
model_submit_button = gr.Button("Submit")
|
60 |
model_output = gr.Textbox(label="Model Architecture", lines=20, placeholder="Model architecture will appear here...", show_copy_button=True)
|
61 |
error_output = gr.Textbox(label="Error", lines=10, placeholder="Exceptions will appear here...", show_copy_button=True)
|