Run this model with HF Jobs
Run flaviagiammarino/medsam-vit-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/flaviagiammarino/medsam-vit-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/flaviagiammarino/medsam-vit-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use flaviagiammarino/medsam-vit-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flaviagiammarino/medsam-vit-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="flaviagiammarino/medsam-vit-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("flaviagiammarino/medsam-vit-base") model = AutoModelForMaskGeneration.from_pretrained("flaviagiammarino/medsam-vit-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload 2 files
5622644 -
Upload input.png
36352af -
Rename scripts/results.png to scripts/output.png
5b992d5 -
Upload results.png
bfaa649 -
Update scripts/pt_model.py
62750e5 -
Upload 2 files
a3833bb
-
Upload results.png
b98d4c8 -
Upload results.png
440ebc3 -
Upload tf_example.py
8c2476e -
Rename scripts/pt_example.png to scripts/results.png
6795956 -
Upload 2 files
afe38cb -
Upload 2 files
b00dede -
Upload 2 files
60164d3 -
Upload pt_model.py
08261c6 -
Create scripts/pt_model.py
5f9e8f9