Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,13 +132,13 @@ def get_response(user_input):
|
|
| 132 |
# device_map='auto'
|
| 133 |
# )
|
| 134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
llm = HuggingFacePipeline.from_model_id(
|
| 136 |
-
model_id="google
|
| 137 |
-
task="text2text-generation",
|
| 138 |
-
# model_kwargs={"temperature": 0.2},
|
| 139 |
-
)
|
| 140 |
-
llm = HuggingFacePipeline.from_model_id(
|
| 141 |
-
model_id="TinyLlama/TinyLlama-1.1B-Chat-v1.0",
|
| 142 |
task="text2text-generation",
|
| 143 |
# model_kwargs={"temperature": 0.2},
|
| 144 |
)
|
|
|
|
| 132 |
# device_map='auto'
|
| 133 |
# )
|
| 134 |
|
| 135 |
+
# llm = HuggingFacePipeline.from_model_id(
|
| 136 |
+
# model_id="google/flan-t5-base",
|
| 137 |
+
# task="text2text-generation",
|
| 138 |
+
# # model_kwargs={"temperature": 0.2},
|
| 139 |
+
# )
|
| 140 |
llm = HuggingFacePipeline.from_model_id(
|
| 141 |
+
model_id="google-t5/t5-small",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
task="text2text-generation",
|
| 143 |
# model_kwargs={"temperature": 0.2},
|
| 144 |
)
|