Spaces:
Sleeping
Sleeping
Update first.py
Browse files
first.py
CHANGED
|
@@ -215,8 +215,7 @@ chain_subject = LLMChain(llm=llm, prompt=prompt_subject, verbose=True)
|
|
| 215 |
map_reduce_chain = MapReduceDocumentsChain(
|
| 216 |
llm_chain=chain_subject,
|
| 217 |
combine_document_chain=StuffDocumentsChain(llm_chain=chain_subject, verbose=True),
|
| 218 |
-
verbose=True
|
| 219 |
-
num_processes=2
|
| 220 |
)
|
| 221 |
|
| 222 |
subjects = map_reduce_chain.run(input_documents=document_splits, token_max=50000)
|
|
|
|
| 215 |
map_reduce_chain = MapReduceDocumentsChain(
|
| 216 |
llm_chain=chain_subject,
|
| 217 |
combine_document_chain=StuffDocumentsChain(llm_chain=chain_subject, verbose=True),
|
| 218 |
+
verbose=True
|
|
|
|
| 219 |
)
|
| 220 |
|
| 221 |
subjects = map_reduce_chain.run(input_documents=document_splits, token_max=50000)
|