Image Classification
Transformers
Safetensors
PyTorch
English
siglip
deepfake
ai-detection
computer-vision
siglip2
synthetic-media
Instructions to use king1oo1/deepfake-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use king1oo1/deepfake-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="king1oo1/deepfake-model") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("king1oo1/deepfake-model") model = AutoModelForImageClassification.from_pretrained("king1oo1/deepfake-model") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "SiglipForImageClassification" | |
| ], | |
| "dtype": "float32", | |
| "id2label": { | |
| "0": "Real", | |
| "1": "Fake" | |
| }, | |
| "initializer_factor": 1.0, | |
| "label2id": { | |
| "Fake": 1, | |
| "Real": 0 | |
| }, | |
| "model_type": "siglip", | |
| "text_config": { | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 49406, | |
| "dtype": "float32", | |
| "eos_token_id": 49407, | |
| "hidden_act": "gelu_pytorch_tanh", | |
| "hidden_size": 768, | |
| "intermediate_size": 3072, | |
| "layer_norm_eps": 1e-06, | |
| "max_position_embeddings": 64, | |
| "model_type": "siglip_text_model", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 1, | |
| "projection_size": 768, | |
| "vocab_size": 256000 | |
| }, | |
| "transformers_version": "5.0.0", | |
| "vision_config": { | |
| "attention_dropout": 0.0, | |
| "dtype": "float32", | |
| "hidden_act": "gelu_pytorch_tanh", | |
| "hidden_size": 768, | |
| "image_size": 224, | |
| "intermediate_size": 3072, | |
| "layer_norm_eps": 1e-06, | |
| "model_type": "siglip_vision_model", | |
| "num_attention_heads": 12, | |
| "num_channels": 3, | |
| "num_hidden_layers": 12, | |
| "patch_size": 16 | |
| } | |
| } | |