Raffaele Terribile
commited on
Cambia modello di inferenza
Browse files
app.py
CHANGED
|
@@ -27,8 +27,8 @@ def invert_sentence(sentence: str) -> str:
|
|
| 27 |
class FirstAgent:
|
| 28 |
### First Agent is the first attempt to develop an agent for the course. ###
|
| 29 |
def __init__(self):
|
| 30 |
-
model_id = "HuggingFaceTB/
|
| 31 |
-
model = TransformersModel(model_id=model_id
|
| 32 |
|
| 33 |
# Inizializza l'agente
|
| 34 |
self.agent = CodeAgent(
|
|
|
|
| 27 |
class FirstAgent:
|
| 28 |
### First Agent is the first attempt to develop an agent for the course. ###
|
| 29 |
def __init__(self):
|
| 30 |
+
model_id = "HuggingFaceTB/SmolLM2-1.7B-Instruct"
|
| 31 |
+
model = TransformersModel(model_id=model_id)
|
| 32 |
|
| 33 |
# Inizializza l'agente
|
| 34 |
self.agent = CodeAgent(
|