Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ embeddings = HuggingFaceEmbeddings()
|
|
26 |
llm = HuggingFacePipeline.from_model_id(
|
27 |
model_id="bigscience/bloomz-1b7",
|
28 |
task="text-generation",
|
29 |
-
model_kwargs={"temperature" :
|
30 |
|
31 |
|
32 |
vectordb = Chroma.from_documents(documents=documents, embedding=embeddings)
|
|
|
26 |
llm = HuggingFacePipeline.from_model_id(
|
27 |
model_id="bigscience/bloomz-1b7",
|
28 |
task="text-generation",
|
29 |
+
model_kwargs={"temperature" : 1, "max_length" : 1000})
|
30 |
|
31 |
|
32 |
vectordb = Chroma.from_documents(documents=documents, embedding=embeddings)
|