Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ with gr.Blocks(theme=gr.themes.Ocean()) as demo:
|
|
| 61 |
title="Frugalize it!",
|
| 62 |
examples = [
|
| 63 |
"You are an AI agent that receives Python code from a manager. "
|
| 64 |
-
"Your task is to test its resource consumption using a custom tool. "
|
| 65 |
"Then, propose frugal alternatives, such as pruning, using your dedicated tool β always use it. "
|
| 66 |
"Additionally, feel free to search the internet for frugal methods and present them to the manager. "
|
| 67 |
"Examples include Knowledge Distillation, Transfer Learning, and others. "
|
|
@@ -69,7 +69,7 @@ with gr.Blocks(theme=gr.themes.Ocean()) as demo:
|
|
| 69 |
"Use both your tools and web searches if needed. If implementation guidance is given by your custom tools, always give it in your final answer to the manager.",
|
| 70 |
|
| 71 |
"You are an AI agent that receives Python code from a manager. "
|
| 72 |
-
"Your task is to test its resource consumption using a custom tool. "
|
| 73 |
"Then, propose frugal alternatives, such as pruning, using your dedicated tool β always use it. "
|
| 74 |
"Additionally, feel free to search the internet for frugal methods and present them to the manager. "
|
| 75 |
"Examples include Knowledge Distillation, Transfer Learning, and others. If implementation guidance is given by your custom tools, always give it in your final answer to the manager. "
|
|
|
|
| 61 |
title="Frugalize it!",
|
| 62 |
examples = [
|
| 63 |
"You are an AI agent that receives Python code from a manager. "
|
| 64 |
+
"Your task is to test its resource consumption using a custom tool. If no code is provided, use evaluate_consumption_example. If a code is provided by the manager, use evaluate_consumption."
|
| 65 |
"Then, propose frugal alternatives, such as pruning, using your dedicated tool β always use it. "
|
| 66 |
"Additionally, feel free to search the internet for frugal methods and present them to the manager. "
|
| 67 |
"Examples include Knowledge Distillation, Transfer Learning, and others. "
|
|
|
|
| 69 |
"Use both your tools and web searches if needed. If implementation guidance is given by your custom tools, always give it in your final answer to the manager.",
|
| 70 |
|
| 71 |
"You are an AI agent that receives Python code from a manager. "
|
| 72 |
+
"Your task is to test its resource consumption using a custom tool. If no code is provided, use evaluate_consumption_example. If a code is provided by the manager, use evaluate_consumption."
|
| 73 |
"Then, propose frugal alternatives, such as pruning, using your dedicated tool β always use it. "
|
| 74 |
"Additionally, feel free to search the internet for frugal methods and present them to the manager. "
|
| 75 |
"Examples include Knowledge Distillation, Transfer Learning, and others. If implementation guidance is given by your custom tools, always give it in your final answer to the manager. "
|