marmal88/skin_cancer
Viewer β’ Updated β’ 13.4k β’ 2.09k β’ 48
Run hssling/derm-analyzer-adapter 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:
Use HF Jobs to fine-tune https://huggingface.co/hssling/derm-analyzer-adapter. 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.
Use HF Jobs to run batch inference with https://huggingface.co/hssling/derm-analyzer-adapter 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.
How to use hssling/derm-analyzer-adapter with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-VL-2B-Instruct")
model = PeftModel.from_pretrained(base_model, "hssling/derm-analyzer-adapter")Fine-tuned LoRA adapter on top of Qwen2-VL-2B-Instruct for clinical dermatological diagnosis
with a specific focus on South Asian skin types (Fitzpatrick IVβVI) and Indian treatment protocols.
from transformers import AutoProcessor, Qwen2VLForConditionalGeneration
from peft import PeftModel
model = Qwen2VLForConditionalGeneration.from_pretrained("Qwen/Qwen2-VL-2B-Instruct")
model = PeftModel.from_pretrained(model, "hssling/derm-analyzer-adapter")
processor = AutoProcessor.from_pretrained("hssling/derm-analyzer-adapter")
Research use only. Not a substitute for clinical evaluation by a qualified dermatologist.