4 Commits
Author SHA1 Message Date
NeuroSenko 56753b3e05 Append end-of-sequence token "<eos>" to text input in T5GEMMATextEncoder for improved tokenization 2025-10-24 21:39:44 +03:00
HaiderRe 24b286e8e0 Fixed t5gemma_text_encoder and added t5gemma_apply_llm_to_sdxl_adapter
t5gemma_text_encoder.py:
- Added custom type LLM_ATTENTION_MASK as a return type
- Changed encode_text function to not use a chat template since T5Gemma doesn't use one.
- Applied attention_mask to inputs of encode_text
t5gemma_apply_llm_to_sdxl_adapter.py:
- Added separate apply_llm_to_sdxl_adapter node for t5gemma since it uses an attention mask.
- Also allows for comparison of old code vs new code.
__init__.py:
- Added mandatory setup code for new node.
- Added custom type  "LLM_ATTENTION_MASK".
2025-10-22 23:18:21 +03:00
NeuroSenko 6b105907f8 Added presets for adapters types. Added LLMAdapterLoaderCustom for custom adapters configs 2025-08-16 22:59:51 +03:00
NeuroSenko 239f8569e3 Added t5gemma support 2025-08-16 22:29:06 +03:00