Skip to content

Comments

Update tool_llama_lora_model.py#50

Open
mzamini92 wants to merge 1 commit intoOpenBMB:masterfrom
mzamini92:master-2
Open

Update tool_llama_lora_model.py#50
mzamini92 wants to merge 1 commit intoOpenBMB:masterfrom
mzamini92:master-2

Conversation

@mzamini92
Copy link
Contributor

In the parse method, you can preallocate memory for the prompt string using the join method. This can improve the efficiency of string concatenation

In the `parse` method, you can preallocate memory for the prompt string using the `join` method. This can improve the efficiency of string concatenation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant