Spaces:
Sleeping
Sleeping
Update app.py
Browse filesupdate with different model
app.py
CHANGED
|
@@ -35,13 +35,19 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 35 |
|
| 36 |
|
| 37 |
final_answer = FinalAnswerTool()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
# model = HfApiModel(
|
| 39 |
# max_tokens=2096,
|
| 40 |
# temperature=0.5,
|
| 41 |
# model_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
|
| 42 |
# custom_role_conversions=None,
|
| 43 |
# )
|
| 44 |
-
|
|
|
|
| 45 |
|
| 46 |
|
| 47 |
# Import tool from Hub
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
final_answer = FinalAnswerTool()
|
| 38 |
+
# meta-llama/Meta-Llama-3-8B-Instruct
|
| 39 |
+
# HuggingFaceTB/SmolLM2-1.7B-Instruct
|
| 40 |
+
# meta-llama/Llama-3.2-3B-Instruct
|
| 41 |
+
# meta-llama/Llama-3.2-1B-Instruct
|
| 42 |
+
# meta-llama/Meta-Llama-3-8B-Instruct
|
| 43 |
# model = HfApiModel(
|
| 44 |
# max_tokens=2096,
|
| 45 |
# temperature=0.5,
|
| 46 |
# model_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
|
| 47 |
# custom_role_conversions=None,
|
| 48 |
# )
|
| 49 |
+
|
| 50 |
+
model = HfApiModel(max_tokens=2096, model_id='meta-llama/Meta-Llama-3-8B-Instruct')
|
| 51 |
|
| 52 |
|
| 53 |
# Import tool from Hub
|