Text Classification
Keras
English
Azerbaijani
prompt-injection
security
llm-security
document-security
retvec
cnn
tensorflow
fastapi
Eval Results (legacy)
Instructions to use MegrurNiftiyev/MyGuard-Prompt-Injection-Detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use MegrurNiftiyev/MyGuard-Prompt-Injection-Detector with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://MegrurNiftiyev/MyGuard-Prompt-Injection-Detector") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -43,9 +43,21 @@ model-index:
|
|
| 43 |
</p>
|
| 44 |
|
| 45 |
<p align="center">
|
| 46 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
</p>
|
| 48 |
|
|
|
|
|
|
|
| 49 |
## Packages & Dependencies
|
| 50 |
|
| 51 |
<p align="center">
|
|
@@ -84,7 +96,7 @@ The MyGuard platform consists of synchronized web applications, core gateway bac
|
|
| 84 |
|
| 85 |
| Component Name | Type | GitHub Repository & Model Hub Links |
|
| 86 |
| :--- | :--- | :--- |
|
| 87 |
-
| **Python FastAPI ML Microservice & AI Model** | AI Model Backend & Weights | [GitHub Repository](https://github.com/MegrurNiftiyev/
|
| 88 |
| **Node.js Gateway Backend** | Gateway REST API | [GitHub Repository](https://github.com/MegrurNiftiyev/MyGuard-Backend) |
|
| 89 |
| **MyGuard Web Frontend** | Web Application | [GitHub Repository](https://github.com/MegrurNiftiyev/MyGuard-Web) \| [Live Portal](https://my-guard-web.vercel.app/scan) |
|
| 90 |
| **File Collection Team App** | Team Platform | [GitHub Repository](https://github.com/MegrurNiftiyev/team-file-collection-platform) \| [Live Platform](https://idda-team-file-collection-platform.vercel.app/) |
|
|
@@ -92,7 +104,7 @@ The MyGuard platform consists of synchronized web applications, core gateway bac
|
|
| 92 |
### π Production Live URLs & API Gateways
|
| 93 |
|
| 94 |
- **π€ Hugging Face Model Hub (Model Card & Weights):** `https://huggingface.co/MegrurNiftiyev/MyGuard-Prompt-Injection-Detector`
|
| 95 |
-
- **π GitHub Repository (Source Code):** `https://github.com/MegrurNiftiyev/
|
| 96 |
- **π Python FastAPI ML Microservice (Production):** `https://myguard-ai-backend.onrender.com`
|
| 97 |
- **π ML Microservice Interactive Swagger UI Docs:** `https://myguard-ai-backend.onrender.com/api-docs`
|
| 98 |
- **π Node.js Gateway REST API Base URL (Production):** `https://mygurad-backend-v2.onrender.com/api`
|
|
@@ -632,7 +644,7 @@ ALLOWED_ORIGINS=https://mygurad-backend-v2.onrender.com,http://localhost:8000
|
|
| 632 |
|
| 633 |
### 1. Clone Repository
|
| 634 |
```bash
|
| 635 |
-
git clone https://github.com/MegrurNiftiyev/
|
| 636 |
cd IDDA-Final-Project-Ai-Backend
|
| 637 |
```
|
| 638 |
|
|
|
|
| 43 |
</p>
|
| 44 |
|
| 45 |
<p align="center">
|
| 46 |
+
<a href="https://python.org"><img alt="Python" src="https://img.shields.io/badge/Python-3.10+-3776AB?style=for-the-badge&logo=python&logoColor=white"></a>
|
| 47 |
+
<a href="https://fastapi.tiangolo.com"><img alt="FastAPI" src="https://img.shields.io/badge/FastAPI-v0.111-009688?style=for-the-badge&logo=fastapi&logoColor=white"></a>
|
| 48 |
+
<a href="https://www.tensorflow.org"><img alt="TensorFlow" src="https://img.shields.io/badge/TensorFlow-v2.16-FF6F00?style=for-the-badge&logo=tensorflow&logoColor=white"></a>
|
| 49 |
+
<a href="https://github.com/google/retvec"><img alt="Google RETVec" src="https://img.shields.io/badge/Google%20RETVec-Resilient%20Embeddings-4285F4?style=for-the-badge&logo=google&logoColor=white"></a>
|
| 50 |
+
<a href="https://keras.io"><img alt="Keras" src="https://img.shields.io/badge/Keras-D00000?style=for-the-badge&logo=keras&logoColor=white"></a>
|
| 51 |
+
<a href="https://firebase.google.com/docs/admin/setup"><img alt="Firebase" src="https://img.shields.io/badge/Firebase%20Admin-FFCA28?style=for-the-badge&logo=firebase&logoColor=black"></a>
|
| 52 |
+
<a href="https://supabase.com"><img alt="Supabase" src="https://img.shields.io/badge/Supabase-3ECF8E?style=for-the-badge&logo=supabase&logoColor=white"></a>
|
| 53 |
+
<a href="https://www.docker.com"><img alt="Docker" src="https://img.shields.io/badge/Docker-2496ED?style=for-the-badge&logo=docker&logoColor=white"></a>
|
| 54 |
+
<a href="https://swagger.io"><img alt="Swagger" src="https://img.shields.io/badge/Swagger-85EA2D?style=for-the-badge&logo=swagger&logoColor=black"></a>
|
| 55 |
+
<a href="https://huggingface.co/MegrurNiftiyev/MyGuard-Prompt-Injection-Detector"><img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model%20Hub-FFD21E?style=for-the-badge&logo=huggingface&logoColor=black"></a>
|
| 56 |
+
<a href="https://github.com/MegrurNiftiyev/IDDA-Final-Project-Ai-Backend"><img alt="GitHub" src="https://img.shields.io/badge/GitHub-Repository-181717?style=for-the-badge&logo=github&logoColor=white"></a>
|
| 57 |
</p>
|
| 58 |
|
| 59 |
+
|
| 60 |
+
|
| 61 |
## Packages & Dependencies
|
| 62 |
|
| 63 |
<p align="center">
|
|
|
|
| 96 |
|
| 97 |
| Component Name | Type | GitHub Repository & Model Hub Links |
|
| 98 |
| :--- | :--- | :--- |
|
| 99 |
+
| **Python FastAPI ML Microservice & AI Model** | AI Model Backend & Weights | [GitHub Repository](https://github.com/MegrurNiftiyev/MyGuard-AI-Backend) \| [π€ Hugging Face Model Hub](https://huggingface.co/MegrurNiftiyev/MyGuard-Prompt-Injection-Detector) |
|
| 100 |
| **Node.js Gateway Backend** | Gateway REST API | [GitHub Repository](https://github.com/MegrurNiftiyev/MyGuard-Backend) |
|
| 101 |
| **MyGuard Web Frontend** | Web Application | [GitHub Repository](https://github.com/MegrurNiftiyev/MyGuard-Web) \| [Live Portal](https://my-guard-web.vercel.app/scan) |
|
| 102 |
| **File Collection Team App** | Team Platform | [GitHub Repository](https://github.com/MegrurNiftiyev/team-file-collection-platform) \| [Live Platform](https://idda-team-file-collection-platform.vercel.app/) |
|
|
|
|
| 104 |
### π Production Live URLs & API Gateways
|
| 105 |
|
| 106 |
- **π€ Hugging Face Model Hub (Model Card & Weights):** `https://huggingface.co/MegrurNiftiyev/MyGuard-Prompt-Injection-Detector`
|
| 107 |
+
- **π GitHub Repository (Source Code):** `https://github.com/MegrurNiftiyev/MyGuard-AI-Backend`
|
| 108 |
- **π Python FastAPI ML Microservice (Production):** `https://myguard-ai-backend.onrender.com`
|
| 109 |
- **π ML Microservice Interactive Swagger UI Docs:** `https://myguard-ai-backend.onrender.com/api-docs`
|
| 110 |
- **π Node.js Gateway REST API Base URL (Production):** `https://mygurad-backend-v2.onrender.com/api`
|
|
|
|
| 644 |
|
| 645 |
### 1. Clone Repository
|
| 646 |
```bash
|
| 647 |
+
git clone https://github.com/MegrurNiftiyev/MyGuard-AI-Backend.git
|
| 648 |
cd IDDA-Final-Project-Ai-Backend
|
| 649 |
```
|
| 650 |
|