mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix for message about attention mask
This commit is contained in:
@@ -351,6 +351,7 @@ class HFTorchInferenceModel(HFInferenceModel):
|
||||
bad_words_ids=self.active_badwordsids,
|
||||
use_cache=True,
|
||||
num_return_sequences=batch_count,
|
||||
pad_token_id=self.tokenizer.eos_token_id,
|
||||
)
|
||||
else:
|
||||
genout = self.model.generate(
|
||||
|
Reference in New Issue
Block a user