Upload README.md with huggingface_hub
Browse files25 unmodified lines262728293031323328 unmodified lines626364656667686991 unmodified lines1611621631641651661671681691703 unmodified lines17417517617717817918018118218318418525 unmodified linesname: Image Classificationmetrics:- type: accuracyvalue: 0.73name: Validation Accuracy (5 epochs)---# 🔍 AI Image Detection — Natural vs Synthetic (Anime)28 unmodified linesresult = pipe("https://example.com/image.jpg")print(result)# [{"label": "Synthetic", "score": 0.87},# {"label": "Natural", "score": 0.13}]``````bash91 unmodified lines| Optimizer | Adam || Learning Rate | 0.001 || Weight Decay | 1e-4 || Batch Size | 32 || Scheduler | CosineAnnealingLR || Early Stopping | patience=10 || Max Epochs | 50 || Image Size (train) | 384×384 |**Augmentation:** RandomResizedCrop · RandomHorizontalFlip · RandomVerticalFlip · RandomRotation · ColorJitter · RandomAffine3 unmodified lines| Epoch | Train Loss | Train Acc | Val Loss | Val Acc ||-------|-----------|-----------|----------|---------|| 1 | 0.7219 | 51.89% | 0.7166 | 54.53% || 2 | 0.6606 | 59.90% | 0.6992 | 66.30% || 3 | 0.6475 | 61.06% | 0.5960 | 66.44% || 4 | 0.6204 | 65.69% | 0.5679 | 72.78% || 5 | 0.5947 | 68.65% | 0.5417 | 73.06% |> Best Val Accuracy: **73.06%** | Best Val Loss: **0.5417** | Epochs ran: **5** *(đang tiếp tục training)*---25 unmodified lines262728293031323328 unmodified lines626364656667686991 unmodified lines1611621631641651661671681691703 unmodified lines17417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520625 unmodified linesname: Image Classificationmetrics:- type: accuracyvalue: 0.9189name: Test Accuracy (20 epochs)---# 🔍 AI Image Detection — Natural vs Synthetic (Anime)28 unmodified linesresult = pipe("https://example.com/image.jpg")print(result)# [{"label": "Synthetic", "score": 0.94},# {"label": "Natural", "score": 0.06}]``````bash91 unmodified lines| Optimizer | Adam || Learning Rate | 0.001 || Weight Decay | 1e-4 || Batch Size | 16 (on CPU) / 32 (on GPU) || Scheduler | CosineAnnealingLR || Early Stopping | patience=10 || Max Epochs | 20 (phiên bản hiện tại) || Image Size (train) | 384×384 |**Augmentation:** RandomResizedCrop · RandomHorizontalFlip · RandomVerticalFlip · RandomRotation · ColorJitter · RandomAffine3 unmodified lines| Epoch | Train Loss | Train Acc | Val Loss | Val Acc ||-------|-----------|-----------|----------|---------|| 1 | 0.7219 | 51.89% | 0.7166 | 54.53% || 5 | 0.5947 | 68.65% | 0.5417 | 73.06% || 10 | 0.2240 | 91.14% | 0.2578 | 90.88% || 20 | 0.0508 | 98.30% | 0.5547 | **91.89%** |> Best Val Accuracy: **91.89%** | Best Val Loss: **0.2578** (at Epoch 10) | Epochs ran: **20**---## 📊 Test Set Metrics- **Accuracy:** 91.89%- **F1-Score:** 91.18%- **ROC-AUC:** 97.37%---## ⚠️ Limitations- Chỉ hoạt động tốt với **ảnh anime/illustration**, không phù hợp cho ảnh chụp thực tế.- Hiệu suất có thể giảm với các mô hình AI sinh ảnh mới nhất.- Không xác định được mô hình AI cụ thể nào đã tạo ra ảnh.---## 📄 LicenseMIT — Phục vụ mục đích nghiên cứu và bảo vệ quyền sáng tác.---
README.md+31-10