Instructions to use Martingkc/MedGemma-4B-Finetune-NIH-CXR14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Martingkc/MedGemma-4B-Finetune-NIH-CXR14 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Martingkc/MedGemma-4B-Finetune-NIH-CXR14", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from Martingkc/MedGemma-4B-Finetune-NIH-CXR14: direct link, hf CLI and curl.
- Browser
- Download file 35 Bytes
-
https://huggingface.co/Martingkc/MedGemma-4B-Finetune-NIH-CXR14/resolve/main/added_tokens.json
- Command line
-
hf download hf://Martingkc/MedGemma-4B-Finetune-NIH-CXR14/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/Martingkc/MedGemma-4B-Finetune-NIH-CXR14/resolve/main/added_tokens.json
35 Bytes
| { | |
| "<image_soft_token>": 262144 | |
| } | |