Instructions to use yaya36095/ai-source-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use yaya36095/ai-source-detector with timm:
import timm model = timm.create_model("hf_hub:yaya36095/ai-source-detector", pretrained=True) - Notebooks
- Google Colab
- Kaggle
File size: 443 Bytes
c8e1dfb d7a4c04 c8e1dfb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | {
"feature_extractor_type": "ViTFeatureExtractor",
"do_resize": true,
"size": 224,
"do_normalize": true,
"image_mean": [0.5, 0.5, 0.5],
"image_std": [0.5, 0.5, 0.5],
"num_labels": 5,
"id2label": {
"0": "stable_diffusion",
"1": "midjourney",
"2": "dalle",
"3": "real",
"4": "other_ai"
},
"label2id": {
"stable_diffusion": 0,
"midjourney": 1,
"dalle": 2,
"real": 3,
"other_ai": 4
}
} |