mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 17:29:22 +01:00
Increase the sequence length, decrease batch size
I have no idea what I am doing
This commit is contained in:
parent
e62b9b1074
commit
5a79863df3
@ -70,7 +70,7 @@ class LLaMAModel:
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def from_pretrained(self, path, max_seq_len=512, max_batch_size=32):
|
||||
def from_pretrained(self, path, max_seq_len=2048, max_batch_size=1):
|
||||
tokenizer_path = path / "tokenizer.model"
|
||||
path = os.path.abspath(path)
|
||||
tokenizer_path = os.path.abspath(tokenizer_path)
|
||||
|
Loading…
Reference in New Issue
Block a user