Instructions to use mozilla-ai/encoderfile with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- encoderfile
How to use mozilla-ai/encoderfile with encoderfile:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- protectai/deberta-v3-base-prompt-injection/README.md +41 -0
- protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.aarch64-apple-darwin.encoderfile +3 -0
- protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.aarch64-linux-gnu.encoderfile +3 -0
- protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.x86_64-apple-darwin.encoderfile +3 -0
- protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.x86_64-linux-gnu.encoderfile +3 -0
.gitattributes
CHANGED
|
@@ -55,3 +55,7 @@ protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.aarch6
|
|
| 55 |
protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.aarch64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 56 |
protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.x86_64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 57 |
protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.x86_64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.aarch64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 56 |
protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.x86_64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 57 |
protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.x86_64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.aarch64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.aarch64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.x86_64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.x86_64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
protectai/deberta-v3-base-prompt-injection/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `protectai/deberta-v3-base-prompt-injection` Encoderfiles
|
| 2 |
+
|
| 3 |
+
**Generated with [Encoderfile](https://github.com/mozilla-ai/encoderfile) Encoderfile 0.5.1**
|
| 4 |
+
|
| 5 |
+
Pre-built encoderfiles for [`protectai/deberta-v3-base-prompt-injection`](https://huggingface.co/protectai/deberta-v3-base-prompt-injection) — self-contained, executable embedding servers you can run without any Python or ML dependencies.
|
| 6 |
+
|
| 7 |
+
## Download
|
| 8 |
+
|
| 9 |
+
Pick the binary for your platform:
|
| 10 |
+
|
| 11 |
+
| Platform | File |
|
| 12 |
+
|---|---|
|
| 13 |
+
| macOS (Apple Silicon) | `deberta-v3-base-prompt-injection.aarch64-apple-darwin.encoderfile` |
|
| 14 |
+
| macOS (Intel) | `deberta-v3-base-prompt-injection.x86_64-apple-darwin.encoderfile` |
|
| 15 |
+
| Linux (x86_64) | `deberta-v3-base-prompt-injection.x86_64-linux-gnu.encoderfile` |
|
| 16 |
+
| Linux (ARM64) | `deberta-v3-base-prompt-injection.aarch64-linux-gnu.encoderfile` |
|
| 17 |
+
|
| 18 |
+
Or download directly (example for macOS Apple Silicon):
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
wget https://huggingface.co/mozilla-ai/encoderfile/blob/main/protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.aarch64-apple-darwin.encoderfile
|
| 22 |
+
chmod +x ./deberta-v3-base-prompt-injection.aarch64-apple-darwin.encoderfile
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## Usage
|
| 26 |
+
|
| 27 |
+
**Run as an embedding server:**
|
| 28 |
+
```bash
|
| 29 |
+
./deberta-v3-base-prompt-injection.aarch64-apple-darwin.encoderfile serve
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
**Infer directly from the CLI:**
|
| 33 |
+
```bash
|
| 34 |
+
./deberta-v3-base-prompt-injection.aarch64-apple-darwin.encoderfile infer "this is a test"
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## About Encoderfile
|
| 38 |
+
|
| 39 |
+
Encoderfiles are self-contained executables that bundle a model and its runtime into a single binary. No Python, no dependencies — just download and run.
|
| 40 |
+
|
| 41 |
+
Learn more at [mozilla-ai/encoderfile](https://github.com/mozilla-ai/encoderfile).
|
protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.aarch64-apple-darwin.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6f5fdb9e358887fe6520a954e3b27093ef64b14b20ec967ab65c2cfb558da77
|
| 3 |
+
size 784501824
|
protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.aarch64-linux-gnu.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33f82d639aa4a9e4eeb5b2ed3f32e4ea8afdc58d629cdd9e3f115d2dca369a8e
|
| 3 |
+
size 788834232
|
protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.x86_64-apple-darwin.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82e55d7bcb9450eb364745b5e5de9a12ba765dc208a2917c3d9cc78f20d68837
|
| 3 |
+
size 789306772
|
protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.x86_64-linux-gnu.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0bd8cbc22b3638fa754d32ab1c7fc68b54a809dff6f9dd8c7f55803cb22f14e
|
| 3 |
+
size 794143336
|