HarBat commited on
Commit
0fa9783
·
1 Parent(s): e6542f2

Update chain.py

Browse files
Files changed (1) hide show
  1. chain.py +1 -1
chain.py CHANGED
@@ -65,7 +65,7 @@ def create_question_answering_chain(retriever):
65
  torch_dtype = torch.bfloat16,
66
  trust_remote_code = True,
67
  device_map = "auto",
68
- max_length = 1000,
69
  do_sample = True,
70
  top_k = 10,
71
  num_return_sequences = 1,
 
65
  torch_dtype = torch.bfloat16,
66
  trust_remote_code = True,
67
  device_map = "auto",
68
+ max_length = 4096,
69
  do_sample = True,
70
  top_k = 10,
71
  num_return_sequences = 1,