mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-25 12:39:25 +01:00
@@ -65,7 +65,7 @@ class Llama2TaskPipeline(TextGenerationPipeline):
|
||||
|
||||
def forward(self,
|
||||
inputs,
|
||||
max_length=50,
|
||||
max_length=2048,
|
||||
do_sample=True,
|
||||
top_p=0.85,
|
||||
temperature=1.0,
|
||||
|
||||
Reference in New Issue
Block a user