Instructions to use PhatcatDK/t5gemma-2-1b-1b-encoder-only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PhatcatDK/t5gemma-2-1b-1b-encoder-only with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="PhatcatDK/t5gemma-2-1b-1b-encoder-only")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("PhatcatDK/t5gemma-2-1b-1b-encoder-only") model = AutoModelForMultimodalLM.from_pretrained("PhatcatDK/t5gemma-2-1b-1b-encoder-only", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
Verified signature8e115d1
-
Update README.md
Verified signatured1dbf81 -
Update README.md
Verified signature4fe3358 -
Update README.md
Verified signature605991a
-
Encoder wrapping
Verified signatureWrap the whole thing in 'encoder.' to maker compliant with SDXL pipelines - It's happening.e7f7a3f -
Unbotch model
Verified signatureRestore multimodal weight hierarchy (text_model and vision_model prefixes).6857c85
-
Update README.md
Verified signature2ac3113 -
Update README.md
Verified signature200fe11 -
Initial upload
Verified signature5ff28f9 -
initial commit
Verified signaturef57e066