Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- protectai/deberta-v3-base-prompt-injection-v2/README.md +41 -0
- protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.aarch64-apple-darwin.encoderfile +3 -0
- protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.aarch64-linux-gnu.encoderfile +3 -0
- protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.x86_64-apple-darwin.encoderfile +3 -0
- protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.x86_64-linux-gnu.encoderfile +3 -0
.gitattributes
CHANGED
|
@@ -63,3 +63,7 @@ protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection
|
|
| 63 |
protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.aarch64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 64 |
protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.x86_64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 65 |
protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.x86_64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.aarch64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 64 |
protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.x86_64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 65 |
protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.x86_64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.aarch64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.aarch64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.x86_64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.x86_64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
protectai/deberta-v3-base-prompt-injection-v2/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `protectai/deberta-v3-base-prompt-injection-v2` 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-v2`](https://huggingface.co/protectai/deberta-v3-base-prompt-injection-v2) — 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-v2.aarch64-apple-darwin.encoderfile` |
|
| 14 |
+
| macOS (Intel) | `deberta-v3-base-prompt-injection-v2.x86_64-apple-darwin.encoderfile` |
|
| 15 |
+
| Linux (x86_64) | `deberta-v3-base-prompt-injection-v2.x86_64-linux-gnu.encoderfile` |
|
| 16 |
+
| Linux (ARM64) | `deberta-v3-base-prompt-injection-v2.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-v2/deberta-v3-base-prompt-injection-v2.aarch64-apple-darwin.encoderfile
|
| 22 |
+
chmod +x ./deberta-v3-base-prompt-injection-v2.aarch64-apple-darwin.encoderfile
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## Usage
|
| 26 |
+
|
| 27 |
+
**Run as an embedding server:**
|
| 28 |
+
```bash
|
| 29 |
+
./deberta-v3-base-prompt-injection-v2.aarch64-apple-darwin.encoderfile serve
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
**Infer directly from the CLI:**
|
| 33 |
+
```bash
|
| 34 |
+
./deberta-v3-base-prompt-injection-v2.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-v2/deberta-v3-base-prompt-injection-v2.aarch64-apple-darwin.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2c2ff183fb95f05454c50472a51b680b95fa7a4a548caaaea30bf74ef10567f
|
| 3 |
+
size 784501826
|
protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.aarch64-linux-gnu.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:836ce16c17e43312911d7b83833c4463cb0e83cde85c4153c1f75327afc05d03
|
| 3 |
+
size 788834234
|
protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.x86_64-apple-darwin.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36db32c167bd6c5b2c4aa662ea490d954ccd064212a8888fe4e6281db721be7a
|
| 3 |
+
size 789306774
|
protectai/deberta-v3-base-prompt-injection-v2/deberta-v3-base-prompt-injection-v2.x86_64-linux-gnu.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:237b4d3c356aedf7cee138d0fdb04d32c7b9f6fc0e9b0ca25a1f22532fdb60ef
|
| 3 |
+
size 794143338
|