File size: 2,682 Bytes
1eaff06
 
 
 
 
 
 
 
 
 
 
 
 
0016469
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1eaff06
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
title: STAR
emoji: 😻
colorFrom: red
colorTo: indigo
sdk: streamlit
sdk_version: 1.43.2
app_file: app.py
pinned: false
license: mit
short_description: Secure Transformer-based Adult-content Recognition
---

# ⭐ STAR - Secure Transformer-based Adult-content Recognition

**STAR (Secure Transformer-based Adult-content Recognition)** is an advanced AI model designed for multi-label classification of adult content using deep learning techniques. Built on a **Swin Transformer** backbone, STAR aims to provide secure and explainable detection of explicit content while ensuring ethical AI deployment.

## πŸš€ Features

- **Multi-label Classification**: Detects and categorizes adult content into multiple subcategories.
- **Explainable AI (XAI)**: Integrates **Class Activation Mapping (CAM)** for visual interpretability.
- **Secure & Ethical**: Designed with responsible AI principles to prevent misuse.
- **Transformer-based Architecture**: Utilizes **Swin Transformer** for high accuracy in image classification.

---

## πŸ“Œ Content Classification

The model categorizes images into the following **main categories**, each with its respective **subcategories (tags):**

| **Main Category**   | **Subcategories (Tags)** |
|---------------------|-------------------------|
| **Adult**          | `in_bikini`, `bra_exposed`, `panty_exposed`, `breast_exposed`, `vagina_exposed`, `butt_exposed`, `penis_exposed` |
| **Real Nude**      | `celebrity_nude`, `celebrity_movie`, `boudior`, `cp_nude` |
| **Fake Nude**      | `celebrity_fake`, `cp_fake`, `revenge_porn`, `loan_app_defamation` |
| **Pornographic**   | `masturbating`, `kissing`, `intercourse`, `oral`, `professional_porn`, `leaked_videos`, `amateur_porn` |
| **Artistic**       | `painting`, `statue`, `digital_art`, `ai_gen` |

---

## πŸ› οΈ Model Architecture

STAR is powered by **Swin Transformer**, a hierarchical vision transformer model known for its efficiency and scalability in image classification. The model processes images with **pretrained weights**, fine-tuned for explicit content recognition.

---

## πŸ† Ethical AI Commitment

πŸ”Ή **STAR** is designed for **ethical AI research and secure content moderation**.  
πŸ”Ή The model is **not intended for censorship or privacy violations**.  
πŸ”Ή Users must **ensure compliance with local regulations** when deploying this model.

---

## πŸ“œ License

This project is open-source and provided under the **MIT License**. Please use responsibly.

---

## βœ‰οΈ Contact

For inquiries or collaborations, reach out to **Ramaguru Radhakrishnan**.



Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference