Downloads · 30 days
10
19% of all-time downloads
zelus82/verity-1A
verity-1A is a image-to-text model from zelus82. Use it when you need a caption or text from an image. It is set up for transformers. The card lists the license as mit.
Verity-1A is an advanced multimodal model combining Microsoft's Florence-2-base with the FLODA-deepfake LoRA adapter for enhanced AI-generated content detection. This fusion creates a specialized model optimized for i…
Downloads · 30 days
10
19% of all-time downloads
All-time downloads
54
Public
Parameters
232M
463 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors463 MB · 99%
From the Hugging Face model README
Verity-1A is an advanced multimodal model combining Microsoft's Florence-2-base with the FLODA-deepfake LoRA adapter for enhanced AI-generated content detection. This fusion creates a specialized model optimized for identifying deepfakes and AI-generated images while maintaining Florence-2's powerful vision-language capabilities.
from transformers import AutoModelForCausalLM, AutoProcessor
import torch
# Load model
model = AutoModelForCausalLM.from_pretrained(
"zelus82/verity-1A",
torch_dtype=torch.float16,
trust_remote_code=True
)
# Load processor
processor = AutoProcessor.from_pretrained(
"zelus82/verity-1A",
trust_remote_code=True
)
# Example usage for deepfake detection
def detect_deepfake(image, text_prompt="Is this image AI-generated?"):
inputs = processor(text=text_prompt, images=image, return_tensors="pt")
with torch.no_grad():
generated_ids = model.generate(
input_ids=inputs["input_ids"],
pixel_values=inputs["pixel_values"],
max_new_tokens=1024,
num_beams=3
)
generated_text = processor.batch_decode(generated_ids, skip_special_tokens=False)[0]
return generated_text
| Attribute | Value |
|---|---|
| Model Type | Multimodal Vision-Language |
| Base Architecture | Florence-2 |
| Specialization | Deepfake Detection |
| Model Size | 447 MB |
| Parameters | ~232M |
| Precision | Float16 |
| License | MIT |
@model{verity1a2024,
title={Verity-1A: Florence-2 Enhanced Deepfake Detection},
author={zelus82},
year={2024},
publisher={Hugging Face},
url={https://huggingface.co/zelus82/verity-1A}
}
For questions or collaborations, please reach out through the Hugging Face community discussions.
Built with ❤️ for safer AI content detection