Update app.py
Browse files
app.py
CHANGED
|
@@ -14,10 +14,10 @@ from transformers import pipeline
|
|
| 14 |
|
| 15 |
class BasicAgent:
|
| 16 |
def __init__(self):
|
| 17 |
-
print("Loading
|
| 18 |
self.pipeline = pipeline(
|
| 19 |
"text2text-generation",
|
| 20 |
-
model="
|
| 21 |
max_new_tokens=128,
|
| 22 |
temperature=0.3
|
| 23 |
)
|
|
|
|
| 14 |
|
| 15 |
class BasicAgent:
|
| 16 |
def __init__(self):
|
| 17 |
+
print("Loading LaMini-T5-738M model...")
|
| 18 |
self.pipeline = pipeline(
|
| 19 |
"text2text-generation",
|
| 20 |
+
model="MBZUAI/LaMini-T5-738M",
|
| 21 |
max_new_tokens=128,
|
| 22 |
temperature=0.3
|
| 23 |
)
|