Trial and error.
Browse files
app.py
CHANGED
|
@@ -17,8 +17,8 @@ class BasicAgent:
|
|
| 17 |
def __init__(self):
|
| 18 |
print("BasicAgent initialized.")
|
| 19 |
|
| 20 |
-
print("Loading Mistral-
|
| 21 |
-
self.model_name = "mistralai/Mistral-
|
| 22 |
self.client = InferenceClient(model=self.model_name)
|
| 23 |
self.tokenizer = None
|
| 24 |
self.model = None
|
|
@@ -173,7 +173,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
| 173 |
|
| 174 |
# --- Build Gradio Interface using Blocks ---
|
| 175 |
with gr.Blocks() as demo:
|
| 176 |
-
gr.Markdown("# Basic Agent Evaluation Runner #
|
| 177 |
gr.Markdown(
|
| 178 |
"""
|
| 179 |
**Instructions:**
|
|
|
|
| 17 |
def __init__(self):
|
| 18 |
print("BasicAgent initialized.")
|
| 19 |
|
| 20 |
+
print("Loading mistralai/Mistral-7B-Instruct-v0.1 model...")
|
| 21 |
+
self.model_name = "mistralai/Mistral-7B-Instruct-v0.1"
|
| 22 |
self.client = InferenceClient(model=self.model_name)
|
| 23 |
self.tokenizer = None
|
| 24 |
self.model = None
|
|
|
|
| 173 |
|
| 174 |
# --- Build Gradio Interface using Blocks ---
|
| 175 |
with gr.Blocks() as demo:
|
| 176 |
+
gr.Markdown("# Basic Agent Evaluation Runner #5")
|
| 177 |
gr.Markdown(
|
| 178 |
"""
|
| 179 |
**Instructions:**
|