Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

google
/
switch-base-32

Transformers
PyTorch
Safetensors
English
switch_transformers
text2text-generation
Model card Files Files and versions
xet
Community
9

Instructions to use google/switch-base-32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use google/switch-base-32 with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("google/switch-base-32")
    model = AutoModelForSeq2SeqLM.from_pretrained("google/switch-base-32")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Convert t5x checkpoint of switch to pytorch

#9 opened over 2 years ago by
Siddharth63

[AUTOMATED] Model Memory Requirements

🤝 1
#7 opened over 2 years ago by
model-sizer-bot

How to solve that issue?

#6 opened about 3 years ago by
DawidBubernak

Why the Decoder_start_token_id has to be defined in "google/switch-base-32" or "google/switch-base-64" ??

2
#5 opened over 3 years ago by
Karim-Gamal
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs