Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

PhatcatDK
/
t5gemma-2-4b-4b-encoder-only

Feature Extraction
Transformers
Safetensors
t5gemma2
text2text-generation
t5gemma2_encoder
Model card Files Files and versions
xet
Community

Instructions to use PhatcatDK/t5gemma-2-4b-4b-encoder-only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use PhatcatDK/t5gemma-2-4b-4b-encoder-only with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="PhatcatDK/t5gemma-2-4b-4b-encoder-only")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("PhatcatDK/t5gemma-2-4b-4b-encoder-only")
    model = AutoModelForMultimodalLM.from_pretrained("PhatcatDK/t5gemma-2-4b-4b-encoder-only", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
t5gemma-2-4b-4b-encoder-only
8.63 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
PhatcatDK's picture
PhatcatDK
Update config.json
090732d verified 4 months ago
  • .gitattributes
    1.57 kB
    Initial upload 5 months ago
  • README.md
    2.69 kB
    Update README.md 5 months ago
  • config.json
    5.71 kB
    Update config.json 4 months ago
  • generation_config.json
    195 Bytes
    Initial upload 5 months ago
  • model-00001-of-00002.safetensors
    4.93 GB
    xet
    Encoder wrapping 5 months ago
  • model-00002-of-00002.safetensors
    3.67 GB
    xet
    Encoder wrapping 5 months ago
  • model.safetensors.index.json
    93.5 kB
    Encoder wrapping 5 months ago
  • processor_config.json
    718 Bytes
    Initial upload 5 months ago
  • special_tokens_map.json
    662 Bytes
    Initial upload 5 months ago
  • tokenizer.json
    33.4 MB
    xet
    Initial upload 5 months ago
  • tokenizer_config.json
    830 Bytes
    Initial upload 5 months ago