Initialize llama_text on the gemma4 template test double

This commit is contained in:
Glary-Bot
2026-08-04 06:39:27 +00:00
parent a196f67682
commit fda0fef177

View File

@@ -21,6 +21,8 @@ PRIMING = [gemma4.Gemma4_31B, gemma4.Gemma4_12B]
class _CaptureTemplate:
"""Stands in for SDTokenizer.tokenize_with_weights so the built template is checked without model files."""
llama_text = ""
def tokenize_with_weights(self, text, return_word_ids=False, **kwargs):
self.llama_text = text
return {}