Spaces:
Sleeping
Sleeping
Update app.py
Browse filestesting model mods
app.py
CHANGED
|
@@ -235,10 +235,11 @@ final_answer = FinalAnswerTool()
|
|
| 235 |
# provider="together" is REQUIRED — otherwise the router doesn't know where to send requests
|
| 236 |
# ---------------------------------------------------------------------------
|
| 237 |
model = HFModel(
|
| 238 |
-
model_id="
|
| 239 |
-
provider="
|
| 240 |
-
max_tokens=
|
| 241 |
-
temperature=0.
|
|
|
|
| 242 |
)
|
| 243 |
|
| 244 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
|
|
|
| 235 |
# provider="together" is REQUIRED — otherwise the router doesn't know where to send requests
|
| 236 |
# ---------------------------------------------------------------------------
|
| 237 |
model = HFModel(
|
| 238 |
+
model_id="meta-llama/Llama-3.3-70B-Instruct",
|
| 239 |
+
provider="together",
|
| 240 |
+
max_tokens=4096,
|
| 241 |
+
temperature=0.7,
|
| 242 |
+
repetition_penalty=1.1,
|
| 243 |
)
|
| 244 |
|
| 245 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|