Instructions to use deepsafe/deepsafe-services with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use deepsafe/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("deepsafe/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
File size: 1,440 Bytes
37e517a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | ---
license: other
license_name: mixed-upstream
license_link: https://github.com/deepsafehq/deepsafe-bench/blob/main/THIRD_PARTY_NOTICES.md
tags:
- deepfake-detection
- model-zoo
- mirror
---
# DeepSafe Model Weights
Weights for the 24 models used by
[DeepSafe](https://github.com/deepsafehq/deepsafe-bench), a benchmark that
tests how well deepfake detectors actually work.
**These weights are not ours.** Each belongs to the authors of the model it
came 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 weights
were deleted from the host its paper pointed at. Mirroring means setup still
works in three years.
## Usage
You do not normally download this by hand. `setup.sh` does it:
```bash
git clone https://github.com/deepsafehq/deepsafe-bench.git
cd 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 at
https://github.com/deepsafehq/deepsafe-bench and they come down within 48
hours, no questions asked.
|