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
SnapOtter commited on
Add model card explaining what these weights are and where they came from
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546---license: otherlicense_name: mixed-upstreamlicense_link: https://github.com/deepsafehq/deepsafe-bench/blob/main/THIRD_PARTY_NOTICES.mdtags: - deepfake-detection - model-zoo - mirror---
# DeepSafe Model Weights
Weights for the 24 models used by[DeepSafe](https://github.com/deepsafehq/deepsafe-bench), a benchmark thattests how well deepfake detectors actually work.
**These weights are not ours.** Each belongs to the authors of the model itcame from and keeps that model's own license. See[THIRD_PARTY_NOTICES.md](https://github.com/deepsafehq/deepsafe-bench/blob/main/THIRD_PARTY_NOTICES.md).
## Why mirror them
Paper download links rot. DeepSafe lost one model outright when its weightswere deleted from the host its paper pointed at. Mirroring means setup stillworks in three years.
## Usage
You do not normally download this by hand. `setup.sh` does it:
```bashgit clone https://github.com/deepsafehq/deepsafe-bench.gitcd deepsafe-bench && bash setup.sh```
Roughly 44 GB, covering 7 image, 9 video, 3 audio and 5 provenance models,plus the CLIP and face-detection caches they depend on. No token needed.
Model *code* is mirrored separately at[deepsafe/model-code](https://huggingface.co/deepsafe/model-code).
## Takedown
If you authored any of these weights and want them removed, open an issue athttps://github.com/deepsafehq/deepsafe-bench and they come down within 48hours, no questions asked.README.mdAdded+46