Skip to content

Commit 1906d90

Browse files
authored
Use default max_sequence_length (#64)
Fixes #61
1 parent 28332cb commit 1906d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_llm/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def get_config(hf_config, model):
1010
from .relax_model.llama import LlamaConfig as RelaxConfig
1111

1212
return RelaxConfig(
13-
max_sequence_length=hf_config.max_sequence_length,
13+
#max_sequence_length=hf_config.max_sequence_length,
1414
vocab_size=hf_config.vocab_size,
1515
hidden_size=hf_config.hidden_size,
1616
intermediate_size=hf_config.intermediate_size,

0 commit comments

Comments
 (0)