Text Classification
Keras
English
sql-injection
malicious-sql
sql-injection-detection
malicious-sql-detection
Instructions to use deathsaber93/SafeSQL-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use deathsaber93/SafeSQL-v1 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://deathsaber93/SafeSQL-v1") - Notebooks
- Google Colab
- Kaggle
Create requirements-gpu.txt
Browse filesAdded libraries required for inference on GPU.
- requirements-gpu.txt +7 -0
requirements-gpu.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
pandas==2.2.2
|
| 2 |
+
keras_nlp==0.12.1
|
| 3 |
+
keras>=3.0
|
| 4 |
+
tensorflow[and-cuda]>=2.16.0
|
| 5 |
+
pandarallel==1.6.5
|
| 6 |
+
scikit-learn==1.5.0
|
| 7 |
+
nltk==3.8.1
|