Trial and error.
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ class BasicAgent:
|
|
| 34 |
print("Using Inference API for generation...")
|
| 35 |
response = self.client.text_generation(
|
| 36 |
prompt=question,
|
| 37 |
-
model="
|
| 38 |
max_new_tokens=500,
|
| 39 |
temperature=0.7,
|
| 40 |
do_sample=True,
|
|
@@ -176,7 +176,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
| 176 |
|
| 177 |
# --- Build Gradio Interface using Blocks ---
|
| 178 |
with gr.Blocks() as demo:
|
| 179 |
-
gr.Markdown("# Basic Agent Evaluation Runner #
|
| 180 |
gr.Markdown(
|
| 181 |
"""
|
| 182 |
**Instructions:**
|
|
|
|
| 34 |
print("Using Inference API for generation...")
|
| 35 |
response = self.client.text_generation(
|
| 36 |
prompt=question,
|
| 37 |
+
model="meta-llama/Llama-3-8B-Instruct", # Free model
|
| 38 |
max_new_tokens=500,
|
| 39 |
temperature=0.7,
|
| 40 |
do_sample=True,
|
|
|
|
| 176 |
|
| 177 |
# --- Build Gradio Interface using Blocks ---
|
| 178 |
with gr.Blocks() as demo:
|
| 179 |
+
gr.Markdown("# Basic Agent Evaluation Runner #10")
|
| 180 |
gr.Markdown(
|
| 181 |
"""
|
| 182 |
**Instructions:**
|