Spaces:
Sleeping
Sleeping
Commit
·
da23c7b
1
Parent(s):
79fad41
updated app.py
Browse files- app.py +2 -2
- question_retriever.ipynb +8 -15
app.py
CHANGED
|
@@ -20,8 +20,8 @@ class GAIAAgent:
|
|
| 20 |
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
|
| 21 |
|
| 22 |
model = InferenceClientModel(
|
| 23 |
-
model_id="
|
| 24 |
-
provider="
|
| 25 |
token=os.getenv("HF_TOKEN")
|
| 26 |
)
|
| 27 |
|
|
|
|
| 20 |
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
|
| 21 |
|
| 22 |
model = InferenceClientModel(
|
| 23 |
+
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 24 |
+
provider="together",
|
| 25 |
token=os.getenv("HF_TOKEN")
|
| 26 |
)
|
| 27 |
|
question_retriever.ipynb
CHANGED
|
@@ -228,50 +228,43 @@
|
|
| 228 |
},
|
| 229 |
{
|
| 230 |
"cell_type": "code",
|
| 231 |
-
"execution_count":
|
| 232 |
"metadata": {},
|
| 233 |
"outputs": [
|
| 234 |
{
|
| 235 |
"data": {
|
| 236 |
"text/plain": [
|
| 237 |
-
"'
|
| 238 |
]
|
| 239 |
},
|
| 240 |
-
"execution_count":
|
| 241 |
"metadata": {},
|
| 242 |
"output_type": "execute_result"
|
| 243 |
}
|
| 244 |
],
|
| 245 |
"source": [
|
| 246 |
-
"df_level1.loc[
|
| 247 |
]
|
| 248 |
},
|
| 249 |
{
|
| 250 |
"cell_type": "code",
|
| 251 |
-
"execution_count":
|
| 252 |
"metadata": {},
|
| 253 |
"outputs": [
|
| 254 |
{
|
| 255 |
"data": {
|
| 256 |
"text/plain": [
|
| 257 |
-
"'
|
| 258 |
]
|
| 259 |
},
|
| 260 |
-
"execution_count":
|
| 261 |
"metadata": {},
|
| 262 |
"output_type": "execute_result"
|
| 263 |
}
|
| 264 |
],
|
| 265 |
"source": [
|
| 266 |
-
"df_level1.loc[
|
| 267 |
]
|
| 268 |
-
},
|
| 269 |
-
{
|
| 270 |
-
"cell_type": "code",
|
| 271 |
-
"execution_count": null,
|
| 272 |
-
"metadata": {},
|
| 273 |
-
"outputs": [],
|
| 274 |
-
"source": []
|
| 275 |
}
|
| 276 |
],
|
| 277 |
"metadata": {
|
|
|
|
| 228 |
},
|
| 229 |
{
|
| 230 |
"cell_type": "code",
|
| 231 |
+
"execution_count": 16,
|
| 232 |
"metadata": {},
|
| 233 |
"outputs": [
|
| 234 |
{
|
| 235 |
"data": {
|
| 236 |
"text/plain": [
|
| 237 |
+
"'If Eliud Kipchoge could maintain his record-making marathon pace indefinitely, how many thousand hours would it take him to run the distance between the Earth and the Moon its closest approach? Please use the minimum perigee value on the Wikipedia page for the Moon when carrying out your calculation. Round your result to the nearest 1000 hours and do not use any comma separators if necessary.'"
|
| 238 |
]
|
| 239 |
},
|
| 240 |
+
"execution_count": 16,
|
| 241 |
"metadata": {},
|
| 242 |
"output_type": "execute_result"
|
| 243 |
}
|
| 244 |
],
|
| 245 |
"source": [
|
| 246 |
+
"df_level1.loc[0, 'Question']"
|
| 247 |
]
|
| 248 |
},
|
| 249 |
{
|
| 250 |
"cell_type": "code",
|
| 251 |
+
"execution_count": 17,
|
| 252 |
"metadata": {},
|
| 253 |
"outputs": [
|
| 254 |
{
|
| 255 |
"data": {
|
| 256 |
"text/plain": [
|
| 257 |
+
"'17'"
|
| 258 |
]
|
| 259 |
},
|
| 260 |
+
"execution_count": 17,
|
| 261 |
"metadata": {},
|
| 262 |
"output_type": "execute_result"
|
| 263 |
}
|
| 264 |
],
|
| 265 |
"source": [
|
| 266 |
+
"df_level1.loc[0, 'Final answer']"
|
| 267 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 268 |
}
|
| 269 |
],
|
| 270 |
"metadata": {
|