deepset / deberta-v3-base-injection

huggingface.co
Total runs: 102.5K
24-hour runs: 98
7-day runs: 6.4K
30-day runs: 20.0K
Model's Last Updated: Octubre 15 2024
text-classification

Introduction of deberta-v3-base-injection

Model Details of deberta-v3-base-injection

deberta-v3-base-injection

This model is a fine-tuned version of microsoft/deberta-v3-base on the promp-injection dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0673
  • Accuracy: 0.9914
Model description

This model detects prompt injection attempts and classifies them as "INJECTION". Legitimate requests are classified as "LEGIT". The dataset assumes that legitimate requests are either all sorts of questions of key word searches.

Intended uses & limitations

If you are using this model to secure your system and it is overly "trigger-happy" to classify requests as injections, consider collecting legitimate examples and retraining the model with the promp-injection dataset.

Training and evaluation data

Based in the promp-injection dataset.

Training procedure
Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • train_batch_size: 8
  • eval_batch_size: 8
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 3
Training results
Training Loss Epoch Step Validation Loss Accuracy
No log 1.0 69 0.2353 0.9741
No log 2.0 138 0.0894 0.9741
No log 3.0 207 0.0673 0.9914
Framework versions
  • Transformers 4.29.1
  • Pytorch 2.0.0+cu118
  • Datasets 2.12.0
  • Tokenizers 0.13.3

Runs of deepset deberta-v3-base-injection on huggingface.co

102.5K
Total runs
98
24-hour runs
1.2K
3-day runs
6.4K
7-day runs
20.0K
30-day runs

More Information About deberta-v3-base-injection huggingface.co Model

More deberta-v3-base-injection license Visit here:

https://choosealicense.com/licenses/mit

deberta-v3-base-injection huggingface.co

deberta-v3-base-injection huggingface.co is an AI model on huggingface.co that provides deberta-v3-base-injection's model effect (), which can be used instantly with this deepset deberta-v3-base-injection model. huggingface.co supports a free trial of the deberta-v3-base-injection model, and also provides paid use of the deberta-v3-base-injection. Support call deberta-v3-base-injection model through api, including Node.js, Python, http.

deberta-v3-base-injection huggingface.co Url

https://huggingface.co/deepset/deberta-v3-base-injection

deepset deberta-v3-base-injection online free

deberta-v3-base-injection huggingface.co is an online trial and call api platform, which integrates deberta-v3-base-injection's modeling effects, including api services, and provides a free online trial of deberta-v3-base-injection, you can try deberta-v3-base-injection online for free by clicking the link below.

deepset deberta-v3-base-injection online free url in huggingface.co:

https://huggingface.co/deepset/deberta-v3-base-injection

deberta-v3-base-injection install

deberta-v3-base-injection is an open source model from GitHub that offers a free installation service, and any user can find deberta-v3-base-injection on GitHub to install. At the same time, huggingface.co provides the effect of deberta-v3-base-injection install, users can directly use deberta-v3-base-injection installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

deberta-v3-base-injection install url in huggingface.co:

https://huggingface.co/deepset/deberta-v3-base-injection

Url of deberta-v3-base-injection

deberta-v3-base-injection huggingface.co Url

Provider of deberta-v3-base-injection huggingface.co

deepset
ORGANIZATIONS

Other API from deepset

huggingface.co

Total runs: 51.7K
Run Growth: 38.8K
Growth Rate: 75.02%
Updated: Septiembre 26 2024
huggingface.co

Total runs: 27.7K
Run Growth: 3.2K
Growth Rate: 11.47%
Updated: Septiembre 26 2024
huggingface.co

Total runs: 11.6K
Run Growth: 5.9K
Growth Rate: 50.76%
Updated: Mayo 19 2021
huggingface.co

Total runs: 1.1K
Run Growth: -36
Growth Rate: -3.38%
Updated: Septiembre 26 2024
huggingface.co

Total runs: 587
Run Growth: 197
Growth Rate: 33.56%
Updated: Septiembre 26 2024