ONNX Model Zoo

Xenova/medsam-vit-base

By Xenova · ↓ 16 · ♥ 0 · Updated 2026-03-18

What's in this repo

This page lists the files in Xenova/medsam-vit-base, including prompt_encoder_mask_decoder.onnx, prompt_encoder_mask_decoder_fp16.onnx, prompt_encoder_mask_decoder_quantized.onnx and more.

  • 6 ONNX models (.onnx files)
  • 11 files, including 6 .onnx, 3 .json, 1 .md
  • Last updated 2026-03-18

ONNX files

File Size Download
onnx/prompt_encoder_mask_decoder.onnx — Download
onnx/prompt_encoder_mask_decoder_fp16.onnx — Download
onnx/prompt_encoder_mask_decoder_quantized.onnx — Download
onnx/vision_encoder.onnx — Download
onnx/vision_encoder_fp16.onnx — Download
onnx/vision_encoder_quantized.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

https://huggingface.co/wanglab/medsam-vit-base with ONNX weights to be compatible with Transformers.js.

Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Model info

mask-generation transformers.js
transformers.js onnx sam mask-generation base_model:wanglab/medsam-vit-base base_model:quantized:wanglab/medsam-vit-base license:apache-2.0 region:us
↓ 16 ♥ 0

Created: 2024-01-08

Updated: 2026-03-18

View on Hugging Face

Files (11)

.gitattributes
README.md
config.json
onnx/prompt_encoder_mask_decoder.onnx ONNX
onnx/prompt_encoder_mask_decoder_fp16.onnx ONNX
onnx/prompt_encoder_mask_decoder_quantized.onnx ONNX
onnx/vision_encoder.onnx ONNX
onnx/vision_encoder_fp16.onnx ONNX
onnx/vision_encoder_quantized.onnx ONNX
preprocessor_config.json
quantize_config.json

Related models