Instructions to use Testament200156/medgemma3-thinking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Testament200156/medgemma3-thinking with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Testament200156/medgemma3-thinking")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Testament200156/medgemma3-thinking", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Testament200156/medgemma3-thinking with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Testament200156/medgemma3-thinking:F16 # Run inference directly in the terminal: llama cli -hf Testament200156/medgemma3-thinking:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Testament200156/medgemma3-thinking:F16 # Run inference directly in the terminal: llama cli -hf Testament200156/medgemma3-thinking:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Testament200156/medgemma3-thinking:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf Testament200156/medgemma3-thinking:F16
Use Docker
docker model run hf.co/Testament200156/medgemma3-thinking:F16
- Llama new
- LM Studio
- Jan
- vLLM
How to use Testament200156/medgemma3-thinking with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Testament200156/medgemma3-thinking" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Testament200156/medgemma3-thinking", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Testament200156/medgemma3-thinking:F16
- SGLang
How to use Testament200156/medgemma3-thinking with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Testament200156/medgemma3-thinking" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Testament200156/medgemma3-thinking", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Testament200156/medgemma3-thinking" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Testament200156/medgemma3-thinking", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use Testament200156/medgemma3-thinking with Ollama:
ollama run hf.co/Testament200156/medgemma3-thinking:F16
- Unsloth Desktop
- Docker Model Runner
How to use Testament200156/medgemma3-thinking with Docker Model Runner:
docker model run hf.co/Testament200156/medgemma3-thinking:F16
- Lemonade
How to use Testament200156/medgemma3-thinking with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Testament200156/medgemma3-thinking:F16
Run and chat with the model
lemonade run user.medgemma3-thinking-F16
List all available models
lemonade list
- Atomic Chat
Commit History
-
Update README.md
Verified signature601d631
-
Delete megdgmma3-thinking-DirectLoRA/GGUF/MedGemma3-Thinking-DirectLoRA.mmproj-f16.gguf
Verified signaturef6136d9
-
Update README.md
a49a4f8 -
Update README.md
3cba936 -
Update README.md
1832ab9 -
Update README.md
5aa4eab -
Upload 29 files
f82d9d1
-
Update README.md
425003e
-
Update README.md
42361a1 -
Upload MedGemma3-thinking.gguf
5eeadde -
Upload 23 files
4868ffe -
Update README.md
46f8180 -
Update README.md
a5262fd -
Update README.md
2c2739e
-
Update README.md
f435b0c -
Update README.md
1000237 -
Update README.md
f8dd1e2 -
Update README.md
e48cb17 -
Upload medgemma3-thinking.q8_0.gguf
0ffbd15 -
Upload 7 files
aae6373 -
initial commit
62e8966