Instructions to use cssupport/mobilebert-sql-injection-detect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cssupport/mobilebert-sql-injection-detect with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cssupport/mobilebert-sql-injection-detect")# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("cssupport/mobilebert-sql-injection-detect") model = AutoModelForPreTraining.from_pretrained("cssupport/mobilebert-sql-injection-detect") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,8 @@ This is a very light weigh model and could be used in multiple analytical applic
|
|
| 12 |
Based on [google/mobilebert-uncased](https://huggingface.co/google/mobilebert-uncased) (MobileBERT is a thin version of BERT_LARGE, while equipped with bottleneck structures and a carefully designed balance between self-attentions and feed-forward networks). This model detects SQLInjection attacks in the input string (check How To Below). This is a very very light model (100mb) and can be used for edge computing use cases. Used dataset from [Kaggle](www.kaggle.com) called [SQl_Injection](https://www.kaggle.com/datasets/sajid576/sql-injection-dataset).
|
| 13 |
**Please test the model before deploying into any environment**.
|
| 14 |
Contact us for more info: support@cloudsummary.com
|
| 15 |
-
|
|
|
|
| 16 |
|
| 17 |
## Model Details
|
| 18 |
|
|
|
|
| 12 |
Based on [google/mobilebert-uncased](https://huggingface.co/google/mobilebert-uncased) (MobileBERT is a thin version of BERT_LARGE, while equipped with bottleneck structures and a carefully designed balance between self-attentions and feed-forward networks). This model detects SQLInjection attacks in the input string (check How To Below). This is a very very light model (100mb) and can be used for edge computing use cases. Used dataset from [Kaggle](www.kaggle.com) called [SQl_Injection](https://www.kaggle.com/datasets/sajid576/sql-injection-dataset).
|
| 13 |
**Please test the model before deploying into any environment**.
|
| 14 |
Contact us for more info: support@cloudsummary.com
|
| 15 |
+
### Code Repo
|
| 16 |
+
Here is the code repo https://github.com/cssupport23/AI-Model---SQL-Injection-Attack-Detector
|
| 17 |
|
| 18 |
## Model Details
|
| 19 |
|