captain-awesome commited on
Commit
b5a3ee0
·
verified ·
1 Parent(s): b63633d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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/flan-t5-base",
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
  )