Spaces:
Running
Running
SidddhantJain
commited on
Commit
·
5ed41a9
1
Parent(s):
457d046
Complete working file is deployed
Browse files- README.md +443 -92
- README_deployment.md +233 -51
README.md
CHANGED
@@ -1,107 +1,314 @@
|
|
1 |
# 🤖➡️👨 AI Text Humanizer
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
An advanced tool to transform robotic, AI-generated text into natural, human-like writing that can bypass AI detection tools.
|
4 |
|
5 |
## 🚀 Features
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
- **Academic Focus**: Preserves academic tone while making text more natural
|
11 |
-
- **Undetectable Output**: Creates human-like text that passes AI detection tools
|
12 |
-
- **Multiple Interfaces**: Simple, advanced, and batch processing versions
|
13 |
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
## 🛠️ Installation
|
21 |
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
-
|
25 |
-
2. Virtual environment (recommended)
|
26 |
|
27 |
-
|
28 |
|
29 |
```bash
|
30 |
-
# Clone
|
31 |
-
|
|
|
32 |
|
33 |
-
# Create virtual environment
|
34 |
python -m venv .venv
|
35 |
|
36 |
-
# Activate
|
37 |
-
# Windows
|
38 |
-
.venv
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
## 🎯 Usage
|
54 |
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
-
|
58 |
-
2. Open your browser to the displayed URL (usually http://127.0.0.1:7860)
|
59 |
-
3. Paste your AI-generated text
|
60 |
-
4. Select humanization level
|
61 |
-
5. Click "Humanize" and get natural, human-like output
|
62 |
|
63 |
-
###
|
64 |
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
|
69 |
-
|
|
|
|
|
|
|
|
|
70 |
|
71 |
-
|
72 |
-
|
73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
## 🔧 How It Works
|
76 |
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
-
|
80 |
-
|
81 |
-
3. **Sentence Structure Variation**: Modifies sentence patterns for natural flow
|
82 |
-
4. **Academic Connector Integration**: Adds natural transitional phrases
|
83 |
-
5. **Hedging Language**: Incorporates academic hedging for natural tone
|
84 |
-
6. **Smart Chunking**: Processes long texts in optimal chunks
|
85 |
|
86 |
-
### AI Models
|
|
|
|
|
|
|
|
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
- **Custom Algorithms**: For structure and flow optimization
|
92 |
|
93 |
## 📊 Example Transformations
|
94 |
|
95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
```
|
97 |
-
The implementation of machine learning algorithms
|
|
|
|
|
|
|
98 |
```
|
99 |
|
100 |
-
|
|
|
|
|
|
|
|
|
|
|
101 |
```
|
102 |
-
Implementing machine learning algorithms within
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
```
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
## 🎮 Advanced Features
|
106 |
|
107 |
### Multi-Level Processing
|
@@ -128,51 +335,195 @@ Implementing machine learning algorithms within data processing frameworks shows
|
|
128 |
4. **Multiple Passes**: For heavy humanization, consider multiple rounds
|
129 |
5. **Manual Review**: Always review output for accuracy and flow
|
130 |
|
131 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
-
|
134 |
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
|
|
139 |
|
140 |
-
|
141 |
-
- Reduce text chunk size
|
142 |
-
- Use lighter humanization levels
|
143 |
-
- Close other applications
|
144 |
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
|
150 |
## ⚖️ Ethical Usage
|
151 |
|
152 |
-
|
153 |
-
|
154 |
-
-
|
155 |
-
-
|
156 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
|
164 |
## 🤝 Contributing
|
165 |
|
166 |
-
|
167 |
-
|
168 |
-
-
|
169 |
-
|
170 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
|
172 |
## 📄 License
|
173 |
|
174 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
|
176 |
---
|
177 |
|
|
|
|
|
|
|
|
|
178 |
**Made with ❤️ for better academic writing**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# 🤖➡️👨 AI Text Humanizer
|
2 |
|
3 |
+
<div align="center">
|
4 |
+
|
5 |
+

|
6 |
+

|
7 |
+

|
8 |
+

|
9 |
+

|
10 |
+
|
11 |
+
[](https://github.com/SidddhantJain/Humaniser-Sid/stargazers)
|
12 |
+
[](https://github.com/SidddhantJain/Humaniser-Sid/network/members)
|
13 |
+
[](https://github.com/SidddhantJain/Humaniser-Sid/issues)
|
14 |
+
[](https://github.com/SidddhantJain/Humaniser-Sid/pulls)
|
15 |
+
|
16 |
+
**🎯 Transform robotic AI text into natural, human-like writing**
|
17 |
+
|
18 |
+
[🚀 Quick Start](#-installation) •
|
19 |
+
[📖 Documentation](#-usage) •
|
20 |
+
[🔧 Features](#-features) •
|
21 |
+
[💡 Examples](#-example-transformations) •
|
22 |
+
[🤝 Contributing](#-contributing)
|
23 |
+
|
24 |
+
</div>
|
25 |
+
|
26 |
+
---
|
27 |
+
|
28 |
An advanced tool to transform robotic, AI-generated text into natural, human-like writing that can bypass AI detection tools.
|
29 |
|
30 |
## 🚀 Features
|
31 |
|
32 |
+
<table>
|
33 |
+
<tr>
|
34 |
+
<td width="50%">
|
|
|
|
|
|
|
35 |
|
36 |
+
### 🎯 **Core Capabilities**
|
37 |
+
- 🤖 **Multiple AI Models**: T5 & Pegasus paraphrasing
|
38 |
+
- 📝 **Advanced Techniques**: Vocabulary diversification
|
39 |
+
- 🔄 **Batch Processing**: Handle multiple texts/files
|
40 |
+
- 🎓 **Academic Focus**: Preserves professional tone
|
41 |
+
- 🛡️ **Undetectable Output**: Bypasses AI detection
|
42 |
+
- 🖥️ **Multiple Interfaces**: Simple, advanced & batch versions
|
43 |
+
|
44 |
+
</td>
|
45 |
+
<td width="50%">
|
46 |
+
|
47 |
+
### ⚡ **Performance Features**
|
48 |
+
- 🚀 **Fast Processing**: Optimized algorithms
|
49 |
+
- 💾 **Memory Efficient**: Smart chunking system
|
50 |
+
- 🔧 **Error Handling**: Graceful fallbacks
|
51 |
+
- 📊 **Quality Control**: Maintains meaning integrity
|
52 |
+
- 🌐 **Web Interface**: User-friendly Gradio UI
|
53 |
+
- 📱 **Responsive Design**: Works on all devices
|
54 |
+
|
55 |
+
</td>
|
56 |
+
</tr>
|
57 |
+
</table>
|
58 |
+
|
59 |
+
## 📁 Project Structure
|
60 |
+
|
61 |
+
```
|
62 |
+
📦 AI Text Humanizer
|
63 |
+
├── 🎯 humanizer_app.py # Advanced multi-model version
|
64 |
+
├── 🔧 humanizer_simple.py # Reliable single-model version
|
65 |
+
├── 📊 humanizer_batch.py # Batch processing for files
|
66 |
+
├── 📋 requirements.txt # Dependencies list
|
67 |
+
├── 🚀 app.py # Deployment-ready version
|
68 |
+
└── 📖 README.md # This documentation
|
69 |
+
```
|
70 |
|
71 |
+
<div align="center">
|
72 |
+
|
73 |
+
| File | Purpose | Best For |
|
74 |
+
|------|---------|----------|
|
75 |
+
| 🎯 `humanizer_app.py` | Advanced features with AI detection | Maximum customization |
|
76 |
+
| 🔧 `humanizer_simple.py` | Single T5 model, reliable | Quick & stable results |
|
77 |
+
| 📊 `humanizer_batch.py` | Process multiple files | Bulk text processing |
|
78 |
+
| 🚀 `app.py` | Web deployment version | Online hosting |
|
79 |
+
|
80 |
+
</div>
|
81 |
|
82 |
## 🛠️ Installation
|
83 |
|
84 |
+
<details>
|
85 |
+
<summary>📋 <strong>Prerequisites</strong></summary>
|
86 |
+
|
87 |
+
-  Python 3.8 or higher
|
88 |
+
-  4GB+ RAM recommended
|
89 |
+
-  2GB+ free space for models
|
90 |
+
|
91 |
+
</details>
|
92 |
|
93 |
+
### 🚀 Quick Setup
|
|
|
94 |
|
95 |
+
<div align="center">
|
96 |
|
97 |
```bash
|
98 |
+
# 📥 Clone the repository
|
99 |
+
git clone https://github.com/SidddhantJain/Humaniser-Sid.git
|
100 |
+
cd Humaniser-Sid
|
101 |
|
102 |
+
# 🐍 Create virtual environment
|
103 |
python -m venv .venv
|
104 |
|
105 |
+
# ⚡ Activate environment
|
106 |
+
.venv\Scripts\activate # Windows
|
107 |
+
source .venv/bin/activate # Linux/Mac
|
108 |
+
|
109 |
+
# 📦 Install dependencies
|
110 |
+
pip install -r requirements.txt
|
111 |
+
|
112 |
+
# 🚀 Launch application
|
113 |
+
python humanizer_app.py
|
114 |
+
```
|
115 |
+
|
116 |
+
</div>
|
117 |
+
|
118 |
+
### 🔗 Alternative Installation
|
119 |
+
|
120 |
+
<table>
|
121 |
+
<tr>
|
122 |
+
<td width="33%">
|
123 |
+
|
124 |
+
#### 🎯 **Advanced Version**
|
125 |
+
```bash
|
126 |
+
python humanizer_app.py
|
127 |
```
|
128 |
+
✅ Full features<br>
|
129 |
+
✅ AI detection<br>
|
130 |
+
✅ Multiple models
|
131 |
+
|
132 |
+
</td>
|
133 |
+
<td width="33%">
|
134 |
+
|
135 |
+
#### 🔧 **Simple Version**
|
136 |
+
```bash
|
137 |
+
python humanizer_simple.py
|
138 |
+
```
|
139 |
+
✅ Single model<br>
|
140 |
+
✅ Fast & reliable<br>
|
141 |
+
✅ Lightweight
|
142 |
+
|
143 |
+
</td>
|
144 |
+
<td width="33%">
|
145 |
+
|
146 |
+
#### 📊 **Batch Version**
|
147 |
+
```bash
|
148 |
+
python humanizer_batch.py
|
149 |
+
```
|
150 |
+
✅ File processing<br>
|
151 |
+
✅ CSV support<br>
|
152 |
+
✅ Bulk operations
|
153 |
+
|
154 |
+
</td>
|
155 |
+
</tr>
|
156 |
+
</table>
|
157 |
|
158 |
## 🎯 Usage
|
159 |
|
160 |
+
<div align="center">
|
161 |
+
|
162 |
+

|
163 |
+
|
164 |
+
</div>
|
165 |
+
|
166 |
+
### 🖥️ **Web Interface**
|
167 |
+
|
168 |
+
1. 🚀 **Launch**: Run any Python file
|
169 |
+
2. 🌐 **Access**: Open browser to `http://127.0.0.1:7860`
|
170 |
+
3. 📝 **Input**: Paste your AI-generated text
|
171 |
+
4. ⚙️ **Configure**: Select humanization level
|
172 |
+
5. ✨ **Transform**: Click "Humanize" for natural output
|
173 |
+
|
174 |
+
### 🎛️ **Humanization Levels**
|
175 |
+
|
176 |
+
<div align="center">
|
177 |
+
|
178 |
+
| Level | Icon | Description | Use Case |
|
179 |
+
|-------|------|-------------|----------|
|
180 |
+
| **Light** | 🟢 | Basic paraphrasing | Quick touch-ups |
|
181 |
+
| **Medium** | 🟡 | Paraphrasing + vocabulary + connectors | Balanced improvement |
|
182 |
+
| **Heavy** | 🔴 | All techniques + structure changes | Maximum humanization |
|
183 |
|
184 |
+
</div>
|
|
|
|
|
|
|
|
|
185 |
|
186 |
+
### 📊 **Batch Processing Features**
|
187 |
|
188 |
+
<table>
|
189 |
+
<tr>
|
190 |
+
<td width="50%">
|
191 |
|
192 |
+
#### 📄 **Text Files (.txt)**
|
193 |
+
- 📝 Processes paragraph by paragraph
|
194 |
+
- 🔄 Maintains formatting
|
195 |
+
- 💾 Saves processed versions
|
196 |
+
- ⚡ Handles large documents
|
197 |
|
198 |
+
</td>
|
199 |
+
<td width="50%">
|
200 |
+
|
201 |
+
#### 📈 **CSV Files (.csv)**
|
202 |
+
- 📊 Adds 'humanized' column
|
203 |
+
- 🔧 Preserves original data
|
204 |
+
- 📋 Batch processes multiple rows
|
205 |
+
- 📤 Exports enhanced datasets
|
206 |
+
|
207 |
+
</td>
|
208 |
+
</tr>
|
209 |
+
</table>
|
210 |
|
211 |
## 🔧 How It Works
|
212 |
|
213 |
+
<div align="center">
|
214 |
+
|
215 |
+

|
216 |
+

|
217 |
+

|
218 |
+
|
219 |
+
</div>
|
220 |
+
|
221 |
+
### 🧠 **Advanced Techniques Pipeline**
|
222 |
+
|
223 |
+
```mermaid
|
224 |
+
graph LR
|
225 |
+
A[🤖 AI Text Input] --> B[📝 Multi-Model Paraphrasing]
|
226 |
+
B --> C[📚 Vocabulary Diversification]
|
227 |
+
C --> D[🔄 Sentence Structure Variation]
|
228 |
+
D --> E[🔗 Academic Connector Integration]
|
229 |
+
E --> F[🎯 Hedging Language Addition]
|
230 |
+
F --> G[✂️ Smart Chunking]
|
231 |
+
G --> H[👨 Human-like Output]
|
232 |
+
```
|
233 |
+
|
234 |
+
<table>
|
235 |
+
<tr>
|
236 |
+
<td width="50%">
|
237 |
+
|
238 |
+
### 🎯 **Core Algorithms**
|
239 |
+
1. 🔄 **Multi-Model Paraphrasing**: Avoids single-model patterns
|
240 |
+
2. 📖 **Vocabulary Diversification**: Contextual synonym replacement
|
241 |
+
3. 🏗️ **Sentence Structure Variation**: Natural flow modification
|
242 |
+
4. 🔗 **Academic Connector Integration**: Professional transitions
|
243 |
+
5. 🎭 **Hedging Language**: Academic tone preservation
|
244 |
+
6. ✂️ **Smart Chunking**: Optimal text processing
|
245 |
|
246 |
+
</td>
|
247 |
+
<td width="50%">
|
|
|
|
|
|
|
|
|
248 |
|
249 |
+
### 🤖 **AI Models Stack**
|
250 |
+
-  **Primary Model**
|
251 |
+
-  **Secondary Model**
|
252 |
+
-  **Synonym Engine**
|
253 |
+
-  **Flow Optimization**
|
254 |
|
255 |
+
</td>
|
256 |
+
</tr>
|
257 |
+
</table>
|
|
|
258 |
|
259 |
## 📊 Example Transformations
|
260 |
|
261 |
+
<div align="center">
|
262 |
+
|
263 |
+

|
264 |
+
|
265 |
+
</div>
|
266 |
+
|
267 |
+
<table>
|
268 |
+
<tr>
|
269 |
+
<td width="50%">
|
270 |
+
|
271 |
+
### 🤖 **Input (AI-generated)**
|
272 |
```
|
273 |
+
The implementation of machine learning algorithms
|
274 |
+
in data processing systems demonstrates significant
|
275 |
+
improvements in efficiency and accuracy metrics
|
276 |
+
across various benchmark datasets.
|
277 |
```
|
278 |
|
279 |
+
#### 📈 **AI Detection Score**: 85% (Very High)
|
280 |
+
|
281 |
+
</td>
|
282 |
+
<td width="50%">
|
283 |
+
|
284 |
+
### 👨 **Output (Humanized)**
|
285 |
```
|
286 |
+
Implementing machine learning algorithms within
|
287 |
+
data processing frameworks shows notable
|
288 |
+
enhancements in both efficiency and accuracy
|
289 |
+
measures when evaluated across different
|
290 |
+
benchmark datasets. These improvements suggest
|
291 |
+
that such approaches can effectively optimize
|
292 |
+
computational performance.
|
293 |
```
|
294 |
|
295 |
+
#### 📉 **AI Detection Score**: 23% (Low)
|
296 |
+
|
297 |
+
</td>
|
298 |
+
</tr>
|
299 |
+
</table>
|
300 |
+
|
301 |
+
<div align="center">
|
302 |
+
|
303 |
+
### 🎯 **Quality Metrics**
|
304 |
+
|
305 |
+

|
306 |
+

|
307 |
+

|
308 |
+

|
309 |
+
|
310 |
+
</div>
|
311 |
+
|
312 |
## 🎮 Advanced Features
|
313 |
|
314 |
### Multi-Level Processing
|
|
|
335 |
4. **Multiple Passes**: For heavy humanization, consider multiple rounds
|
336 |
5. **Manual Review**: Always review output for accuracy and flow
|
337 |
|
338 |
+
## �️ Troubleshooting
|
339 |
+
|
340 |
+
<div align="center">
|
341 |
+
|
342 |
+

|
343 |
+
|
344 |
+
</div>
|
345 |
+
|
346 |
+
<details>
|
347 |
+
<summary>🚨 <strong>Model Loading Errors</strong></summary>
|
348 |
+
|
349 |
+
**Symptoms**: Models fail to download or load
|
350 |
+
|
351 |
+
**Solutions**:
|
352 |
+
- ✅ Install protobuf: `pip install protobuf`
|
353 |
+
- 🌐 Check internet connection for model downloads
|
354 |
+
- 🔧 Try simple version: `python humanizer_simple.py`
|
355 |
+
- 🔄 Clear cache: Delete `.cache` folder
|
356 |
+
|
357 |
+
</details>
|
358 |
+
|
359 |
+
<details>
|
360 |
+
<summary>💾 <strong>Memory Issues</strong></summary>
|
361 |
|
362 |
+
**Symptoms**: Out of memory errors, slow processing
|
363 |
|
364 |
+
**Solutions**:
|
365 |
+
- ✂️ Reduce text chunk size (< 500 words)
|
366 |
+
- 🟢 Use lighter humanization levels
|
367 |
+
- 🚫 Close other memory-intensive applications
|
368 |
+
- 💻 Consider upgrading RAM (8GB+ recommended)
|
369 |
|
370 |
+
</details>
|
|
|
|
|
|
|
371 |
|
372 |
+
<details>
|
373 |
+
<summary>⚡ <strong>Performance Issues</strong></summary>
|
374 |
+
|
375 |
+
**Symptoms**: Slow processing, timeouts
|
376 |
+
|
377 |
+
**Solutions**:
|
378 |
+
- 🎯 Use GPU if available (`torch.cuda.is_available()`)
|
379 |
+
- 📝 Process smaller text chunks
|
380 |
+
- 🔧 Try simple version for faster results
|
381 |
+
- 🕒 Allow more time for first run (model download)
|
382 |
+
|
383 |
+
</details>
|
384 |
|
385 |
## ⚖️ Ethical Usage
|
386 |
|
387 |
+
<div align="center">
|
388 |
+
|
389 |
+

|
390 |
+

|
391 |
+
|
392 |
+
</div>
|
393 |
+
|
394 |
+
<table>
|
395 |
+
<tr>
|
396 |
+
<td width="50%">
|
397 |
+
|
398 |
+
### ✅ **Appropriate Use Cases**
|
399 |
+
- 📚 **Academic Writing**: Improving naturalness
|
400 |
+
- 🎓 **Learning**: Understanding language patterns
|
401 |
+
- 📝 **Content Enhancement**: Quality improvement
|
402 |
+
- 🔬 **Research**: Studying AI detection
|
403 |
+
- 🛠️ **Content Optimization**: Professional polish
|
404 |
|
405 |
+
</td>
|
406 |
+
<td width="50%">
|
407 |
+
|
408 |
+
### 🚫 **Prohibited Uses**
|
409 |
+
- 📋 **Plagiarism**: Misrepresenting authorship
|
410 |
+
- 🎓 **Academic Dishonesty**: Violating policies
|
411 |
+
- �️ **Deceptive Purposes**: Misleading readers
|
412 |
+
- 💼 **Professional Fraud**: Fake credentials
|
413 |
+
- 🏫 **Institutional Violations**: Breaking rules
|
414 |
+
|
415 |
+
</td>
|
416 |
+
</tr>
|
417 |
+
</table>
|
418 |
+
|
419 |
+
<div align="center">
|
420 |
+
|
421 |
+
### 🎯 **Best Practices**
|
422 |
+
|
423 |
+

|
424 |
+

|
425 |
+

|
426 |
+

|
427 |
+
|
428 |
+
</div>
|
429 |
|
430 |
## 🤝 Contributing
|
431 |
|
432 |
+
<div align="center">
|
433 |
+
|
434 |
+

|
435 |
+
|
436 |
+
[](https://github.com/SidddhantJain/Humaniser-Sid/issues)
|
437 |
+
[](https://github.com/SidddhantJain/Humaniser-Sid/pulls)
|
438 |
+
|
439 |
+
</div>
|
440 |
+
|
441 |
+
### 🎯 **How to Contribute**
|
442 |
+
|
443 |
+
<table>
|
444 |
+
<tr>
|
445 |
+
<td width="25%">
|
446 |
+
|
447 |
+
#### 🐛 **Bug Reports**
|
448 |
+
- 📝 Use issue templates
|
449 |
+
- 🔍 Provide detailed steps
|
450 |
+
- 📊 Include system info
|
451 |
+
- 🖼️ Add screenshots if relevant
|
452 |
+
|
453 |
+
</td>
|
454 |
+
<td width="25%">
|
455 |
+
|
456 |
+
#### ✨ **Feature Requests**
|
457 |
+
- 💡 Suggest improvements
|
458 |
+
- 📋 Explain use cases
|
459 |
+
- 🎯 Define requirements
|
460 |
+
- 🔄 Discuss implementation
|
461 |
+
|
462 |
+
</td>
|
463 |
+
<td width="25%">
|
464 |
+
|
465 |
+
#### 🔧 **Code Contributions**
|
466 |
+
- 🍴 Fork the repository
|
467 |
+
- 🌿 Create feature branch
|
468 |
+
- ✅ Add tests if needed
|
469 |
+
- 📤 Submit pull request
|
470 |
+
|
471 |
+
</td>
|
472 |
+
<td width="25%">
|
473 |
+
|
474 |
+
#### 📖 **Documentation**
|
475 |
+
- 📚 Improve README
|
476 |
+
- 📝 Add examples
|
477 |
+
- 🔍 Fix typos
|
478 |
+
- 🌐 Translate content
|
479 |
+
|
480 |
+
</td>
|
481 |
+
</tr>
|
482 |
+
</table>
|
483 |
+
|
484 |
+
### 🛠️ **Development Areas**
|
485 |
+
|
486 |
+
Feel free to contribute to:
|
487 |
+
- 🤖 **Add new AI models** for better paraphrasing
|
488 |
+
- 🔧 **Enhance techniques** for more natural output
|
489 |
+
- 🐛 **Report bugs** and help with fixes
|
490 |
+
- 📊 **Improve performance** and optimization
|
491 |
+
- 🌐 **Add language support** for international users
|
492 |
+
- 📱 **UI/UX improvements** for better user experience
|
493 |
|
494 |
## 📄 License
|
495 |
|
496 |
+
<div align="center">
|
497 |
+
|
498 |
+

|
499 |
+
|
500 |
+
**MIT License** - This project is for educational and research purposes. Please respect academic integrity and use responsibly.
|
501 |
+
|
502 |
+
[📋 View Full License](LICENSE)
|
503 |
+
|
504 |
+
</div>
|
505 |
|
506 |
---
|
507 |
|
508 |
+
<div align="center">
|
509 |
+
|
510 |
+
## 🙏 Acknowledgments
|
511 |
+
|
512 |
**Made with ❤️ for better academic writing**
|
513 |
+
|
514 |
+
[](https://gradio.app/)
|
515 |
+
[](https://huggingface.co/)
|
516 |
+
[](https://python.org/)
|
517 |
+
|
518 |
+
### 🌟 **Star this repo if you found it helpful!**
|
519 |
+
|
520 |
+
[](https://github.com/SidddhantJain/Humaniser-Sid/stargazers)
|
521 |
+
|
522 |
+
---
|
523 |
+
|
524 |
+
**📞 Support & Contact**
|
525 |
+
|
526 |
+
[](https://github.com/SidddhantJain/Humaniser-Sid/issues)
|
527 |
+
[](mailto:[email protected])
|
528 |
+
|
529 |
+
</div>
|
README_deployment.md
CHANGED
@@ -1,27 +1,80 @@
|
|
1 |
# 🤖➡️👨 AI Text Humanizer & Detector Pro
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
A comprehensive web application for transforming AI-generated text into natural, human-like writing while providing advanced AI detection capabilities.
|
4 |
|
5 |
## ✨ Features
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
-
|
10 |
-
-
|
11 |
-
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
- **
|
23 |
-
- **
|
24 |
-
- **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
## 🚀 Live Demo
|
27 |
|
@@ -29,33 +82,79 @@ Visit the live application: [Hugging Face Spaces](https://huggingface.co/spaces/
|
|
29 |
|
30 |
## 📦 Installation
|
31 |
|
32 |
-
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
-
2. Install dependencies:
|
41 |
```bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
pip install -r requirements.txt
|
43 |
-
```
|
44 |
|
45 |
-
|
46 |
-
```bash
|
47 |
python app.py
|
48 |
```
|
49 |
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
- NLTK 3.8.1
|
56 |
-
- textstat 0.7.3
|
57 |
-
- numpy 1.24.3
|
58 |
-
- pandas 2.0.3
|
59 |
|
60 |
## 🛠️ Technical Details
|
61 |
|
@@ -102,21 +201,104 @@ AI algorithms show notable improvements in both computational efficiency and acc
|
|
102 |
|
103 |
## 🌐 Deployment Options
|
104 |
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
|
121 |
## ⚖️ Ethical Usage
|
122 |
|
|
|
1 |
# 🤖➡️👨 AI Text Humanizer & Detector Pro
|
2 |
|
3 |
+
<div align="center">
|
4 |
+
|
5 |
+

|
6 |
+

|
7 |
+

|
8 |
+

|
9 |
+
|
10 |
+
[](https://huggingface.co/spaces)
|
11 |
+
[](https://railway.app)
|
12 |
+
[](https://render.com)
|
13 |
+
|
14 |
+
**🌐 Deploy your AI humanizer to the cloud with one click**
|
15 |
+
|
16 |
+
[🚀 Quick Deploy](#-deployment-options) •
|
17 |
+
[📖 Documentation](#-features) •
|
18 |
+
[🔧 Setup Guide](#-installation) •
|
19 |
+
[💡 Examples](#-usage-examples) •
|
20 |
+
[🆘 Support](#-support)
|
21 |
+
|
22 |
+
</div>
|
23 |
+
|
24 |
+
---
|
25 |
+
|
26 |
A comprehensive web application for transforming AI-generated text into natural, human-like writing while providing advanced AI detection capabilities.
|
27 |
|
28 |
## ✨ Features
|
29 |
|
30 |
+
<div align="center">
|
31 |
+
|
32 |
+

|
33 |
+

|
34 |
+

|
35 |
+
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<table>
|
39 |
+
<tr>
|
40 |
+
<td width="33%">
|
41 |
+
|
42 |
+
### 🎭 **Text Humanizer**
|
43 |
+
- 🔄 **Advanced Vocabulary Enhancement**
|
44 |
+
- 📝 **Sentence Flow Optimization**
|
45 |
+
- 🏗️ **Structure Diversification**
|
46 |
+
- 🎓 **Academic Tone Preservation**
|
47 |
+
- ⚡ **Multi-level Processing**
|
48 |
+
|
49 |
+

|
50 |
+
|
51 |
+
</td>
|
52 |
+
<td width="33%">
|
53 |
+
|
54 |
+
### 🕵️ **AI Detector**
|
55 |
+
- 🎯 **7-Point Analysis System**
|
56 |
+
- 📊 **Detailed Scoring Breakdown**
|
57 |
+
- 🔍 **Confidence Level Assessment**
|
58 |
+
- 🤖 **Pattern Recognition Engine**
|
59 |
+
- ⚡ **Real-time Analysis**
|
60 |
+
|
61 |
+

|
62 |
+
|
63 |
+
</td>
|
64 |
+
<td width="33%">
|
65 |
+
|
66 |
+
### 🔄 **Combined Processing**
|
67 |
+
- 🚀 **One-Click Workflow**
|
68 |
+
- 🔁 **Optimization Loop**
|
69 |
+
- ✅ **Quality Validation**
|
70 |
+
- 📊 **Performance Metrics**
|
71 |
+
- 🎯 **Result Verification**
|
72 |
+
|
73 |
+

|
74 |
+
|
75 |
+
</td>
|
76 |
+
</tr>
|
77 |
+
</table>
|
78 |
|
79 |
## 🚀 Live Demo
|
80 |
|
|
|
82 |
|
83 |
## 📦 Installation
|
84 |
|
85 |
+
<div align="center">
|
86 |
|
87 |
+

|
88 |
+
|
89 |
+
</div>
|
90 |
+
|
91 |
+
### 🔧 **Local Development Setup**
|
92 |
+
|
93 |
+
<details>
|
94 |
+
<summary>📋 <strong>System Requirements</strong></summary>
|
95 |
+
|
96 |
+
| Component | Requirement | Recommended |
|
97 |
+
|-----------|-------------|-------------|
|
98 |
+
|  | 3.8+ | 3.9+ |
|
99 |
+
|  | 4GB+ | 8GB+ |
|
100 |
+
|  | 2GB+ | 5GB+ |
|
101 |
+
|  | For models | Stable connection |
|
102 |
+
|
103 |
+
</details>
|
104 |
+
|
105 |
+
### 🚀 **Quick Start**
|
106 |
|
|
|
107 |
```bash
|
108 |
+
# 📥 1. Clone Repository
|
109 |
+
git clone https://github.com/SidddhantJain/Humaniser-Sid.git
|
110 |
+
cd Humaniser-Sid
|
111 |
+
|
112 |
+
# 🐍 2. Setup Environment
|
113 |
+
python -m venv .venv
|
114 |
+
.venv\Scripts\activate # Windows
|
115 |
+
source .venv/bin/activate # Linux/Mac
|
116 |
+
|
117 |
+
# 📦 3. Install Dependencies
|
118 |
pip install -r requirements.txt
|
|
|
119 |
|
120 |
+
# 🚀 4. Launch Application
|
|
|
121 |
python app.py
|
122 |
```
|
123 |
|
124 |
+
<div align="center">
|
125 |
+
|
126 |
+

|
127 |
+
|
128 |
+
</div>
|
129 |
+
|
130 |
+
### 📋 **Dependencies**
|
131 |
+
|
132 |
+
<table>
|
133 |
+
<tr>
|
134 |
+
<td width="50%">
|
135 |
+
|
136 |
+
#### 🎯 **Core Dependencies**
|
137 |
+
```
|
138 |
+
gradio==4.44.0 # Web interface
|
139 |
+
transformers==4.35.0 # AI models
|
140 |
+
torch==2.1.0 # Deep learning
|
141 |
+
nltk==3.8.1 # Language processing
|
142 |
+
```
|
143 |
+
|
144 |
+
</td>
|
145 |
+
<td width="50%">
|
146 |
+
|
147 |
+
#### 🔧 **Supporting Libraries**
|
148 |
+
```
|
149 |
+
textstat==0.7.3 # Text analysis
|
150 |
+
numpy==1.24.3 # Numerical computing
|
151 |
+
pandas==2.0.3 # Data manipulation
|
152 |
+
protobuf # Model serialization
|
153 |
+
```
|
154 |
|
155 |
+
</td>
|
156 |
+
</tr>
|
157 |
+
</table>
|
|
|
|
|
|
|
|
|
158 |
|
159 |
## 🛠️ Technical Details
|
160 |
|
|
|
201 |
|
202 |
## 🌐 Deployment Options
|
203 |
|
204 |
+
<div align="center">
|
205 |
+
|
206 |
+

|
207 |
+
|
208 |
+
</div>
|
209 |
+
|
210 |
+
<table>
|
211 |
+
<tr>
|
212 |
+
<td width="33%">
|
213 |
+
|
214 |
+
### 🤗 **Hugging Face Spaces**
|
215 |
+
#### ⭐ RECOMMENDED - FREE
|
216 |
+
|
217 |
+

|
218 |
+
|
219 |
+
**✅ Benefits:**
|
220 |
+
- 🆓 Completely FREE forever
|
221 |
+
- ⚡ Auto-deployment from files
|
222 |
+
- 🌍 Global CDN (fast worldwide)
|
223 |
+
- 🔒 SSL certificate included
|
224 |
+
- 🛠️ No coding required
|
225 |
+
- 📱 Mobile-friendly interface
|
226 |
+
|
227 |
+
**🚀 Deploy Steps:**
|
228 |
+
1. Go to [huggingface.co/spaces](https://huggingface.co/spaces)
|
229 |
+
2. Click "Create new Space"
|
230 |
+
3. Choose Gradio SDK
|
231 |
+
4. Upload `app.py` & `requirements.txt`
|
232 |
+
5. ✨ Auto-deploy in 2-3 minutes!
|
233 |
+
|
234 |
+
</td>
|
235 |
+
<td width="33%">
|
236 |
+
|
237 |
+
### 🚂 **Railway**
|
238 |
+
#### 💰 FREE TIER AVAILABLE
|
239 |
+
|
240 |
+

|
241 |
+
|
242 |
+
**✅ Benefits:**
|
243 |
+
- 🎯 GitHub integration
|
244 |
+
- 🔄 Auto-deploy on push
|
245 |
+
- 💾 Persistent storage
|
246 |
+
- 📊 Built-in monitoring
|
247 |
+
- 🔧 Environment variables
|
248 |
+
- 💳 Credit card not required
|
249 |
+
|
250 |
+
**🚀 Deploy Steps:**
|
251 |
+
1. Push code to GitHub
|
252 |
+
2. Go to [railway.app](https://railway.app)
|
253 |
+
3. "Deploy from GitHub repo"
|
254 |
+
4. Select your repository
|
255 |
+
5. 🎉 Railway auto-detects & deploys
|
256 |
+
|
257 |
+
</td>
|
258 |
+
<td width="33%">
|
259 |
+
|
260 |
+
### 🎨 **Render**
|
261 |
+
#### 💰 FREE TIER AVAILABLE
|
262 |
+
|
263 |
+

|
264 |
+
|
265 |
+
**✅ Benefits:**
|
266 |
+
- 🔗 GitHub integration
|
267 |
+
- 🔒 Free SSL certificates
|
268 |
+
- 🔄 Automatic deploys
|
269 |
+
- 📈 Scalable infrastructure
|
270 |
+
- 💻 Custom domains
|
271 |
+
- 📊 Real-time logs
|
272 |
+
|
273 |
+
**🚀 Deploy Steps:**
|
274 |
+
1. Push to GitHub
|
275 |
+
2. Go to [render.com](https://render.com)
|
276 |
+
3. "New Web Service"
|
277 |
+
4. Connect GitHub repo
|
278 |
+
5. Set build: `pip install -r requirements.txt`
|
279 |
+
6. Set start: `python app.py`
|
280 |
+
|
281 |
+
</td>
|
282 |
+
</tr>
|
283 |
+
</table>
|
284 |
+
|
285 |
+
---
|
286 |
+
|
287 |
+
### 🥇 **Recommended: Hugging Face Spaces**
|
288 |
+
|
289 |
+
<div align="center">
|
290 |
+
|
291 |
+

|
292 |
+
|
293 |
+
</div>
|
294 |
+
|
295 |
+
| Feature | Hugging Face | Railway | Render |
|
296 |
+
|---------|-------------|---------|---------|
|
297 |
+
| 💰 **Cost** |  |  |  |
|
298 |
+
| ⚡ **Setup Time** |  |  |  |
|
299 |
+
| 🛠️ **Configuration** |  |  |  |
|
300 |
+
| 🌍 **Global CDN** |  |  |  |
|
301 |
+
| 📱 **Mobile Optimized** |  |  |  |
|
302 |
|
303 |
## ⚖️ Ethical Usage
|
304 |
|