Skip to content

Commit

Permalink
feat: expend max new token
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroday0619 committed May 6, 2024
1 parent 5427cca commit 27b5049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HakaseCore/llm/llama3.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def generate_text(self, instruction: str) -> str:
do_sample=True,
temperature=0.4,
top_p=0.9,
max_new_tokens=100,
max_new_tokens=10000,
eos_token_id=[
self.tokenizer.eos_token_id,
self.tokenizer.convert_tokens_to_ids("<|eot_id|>"),
Expand Down

0 comments on commit 27b5049

Please sign in to comment.