Image Classification
sentence-transformers
Safetensors
embedding_gemma2
ai-image-detection
ai-generated-image-detection
deepfake-detection
smaug
abacusai
Instructions to use abacusai/Smaug-AI-Image-Detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use abacusai/Smaug-AI-Image-Detector with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("abacusai/Smaug-AI-Image-Detector") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Download config_sentence_transformers.json from abacusai/Smaug-AI-Image-Detector: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/abacusai/Smaug-AI-Image-Detector/resolve/main/config_sentence_transformers.json
- Command line
-
hf download hf://abacusai/Smaug-AI-Image-Detector/config_sentence_transformers.json
-
curl -L -o config_sentence_transformers.json https://huggingface.co/abacusai/Smaug-AI-Image-Detector/resolve/main/config_sentence_transformers.json
1.33 kB
| { | |
| "__version__": { | |
| "pytorch": "2.9.1+cu130", | |
| "sentence_transformers": "6.1.0", | |
| "transformers": "5.20.0" | |
| }, | |
| "default_prompt_name": null, | |
| "model_type": "SentenceTransformer", | |
| "prompts": { | |
| "BitextMining": "task: search result | query: ", | |
| "Classification": "task: classification | query: ", | |
| "Clustering": "task: clustering | query: ", | |
| "CodeRetrieval": "task: code retrieval | query: ", | |
| "Document": "title: none | text: ", | |
| "FactChecking": "task: fact checking | query: ", | |
| "InstructionRetrieval": "task: code retrieval | query: ", | |
| "MultilabelClassification": "task: classification | query: ", | |
| "PairClassification": "task: sentence similarity | query: ", | |
| "QuestionAnswering": "task: question answering | query: ", | |
| "Reranking": "task: search result | query: ", | |
| "Retrieval": "task: search result | query: ", | |
| "Retrieval-document": "title: none | text: ", | |
| "Retrieval-query": "task: search result | query: ", | |
| "STS": "task: sentence similarity | query: ", | |
| "SearchQuery": "task: search result | query: ", | |
| "SentenceSimilarity": "task: sentence similarity | query: ", | |
| "Summarization": "task: sentence similarity | query: ", | |
| "document": "title: none | text: ", | |
| "query": "task: search result | query: " | |
| }, | |
| "similarity_fn_name": "cosine" | |
| } |