Run this model with HF Jobs
Run SnapOtter/deepsafe-services 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/SnapOtter/deepsafe-services. 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/SnapOtter/deepsafe-services 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 SnapOtter/deepsafe-services with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SnapOtter/deepsafe-services with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SnapOtter/deepsafe-services", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
DeepSafe commited on
sync from GitHub (e4aeaa8)
Browse files140 unmodified lines141142143144145146147148149140 unmodified linesfrom model.framework import get_modelfrom test_tools.common import detect_all, grab_all_framesfrom test_tools.utils import get_crop_boxfrom test_tools.ct.operations import find_longest, multiple_trackingfrom test_tools.faster_crop_align_xray import FasterCropAlignXRay_detect_all = detect_all_grab_all_frames = grab_all_frames140 unmodified lines141142143144145146147148149140 unmodified linesfrom model.framework import get_modelfrom test_tools.common import detect_all, grab_all_framesfrom test_tools.ct.operations import find_longest, multiple_trackingfrom test_tools.faster_crop_align_xray import FasterCropAlignXRayfrom test_tools.utils import get_crop_box_detect_all = detect_all_grab_all_frames = grab_all_frames
video/pwtf-dvd/app.py+1-1