Generate an authentication token to access gated models
Navigate to your Hugging Face account settings to create a new access token:
Tip: Access tokens authenticate your identity and allow applications to perform actions on your behalf. Never share your tokens publicly.




Configure Colab to use T4 GPU for model inference
MedGemma 4B requires GPU acceleration. In Google Colab:
Free Tier: T4 GPU is available on Google Colab's free tier, making MedGemma accessible without any cost.