How to use from the
Use from the
Transformers library
# Gated model: Login with a HF token with gated access permission
hf auth login
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-classification", model="TeraflopAI/compression-detection-b1-256")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# Load model directly
from transformers import AutoImageProcessor, timm/efficientvit_b1.r256_in1k

processor = AutoImageProcessor.from_pretrained("TeraflopAI/compression-detection-b1-256")
model = timm/efficientvit_b1.r256_in1k.from_pretrained("TeraflopAI/compression-detection-b1-256")
Quick Links

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Model card for compression-detection-256

Downloads last month
-
Safetensors
Model size
7.52M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support