Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- protectai/deberta-v3-small-prompt-injection-v2/README.md +41 -0
- protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.aarch64-apple-darwin.encoderfile +3 -0
- protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.aarch64-linux-gnu.encoderfile +3 -0
- protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.x86_64-apple-darwin.encoderfile +3 -0
- protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.x86_64-linux-gnu.encoderfile +3 -0
.gitattributes
CHANGED
|
@@ -59,3 +59,7 @@ protectai/deberta-v3-base-prompt-injection/deberta-v3-base-prompt-injection.aarc
|
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
| 62 |
+
protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.aarch64-apple-darwin.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
|
protectai/deberta-v3-small-prompt-injection-v2/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `protectai/deberta-v3-small-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-small-prompt-injection-v2`](https://huggingface.co/protectai/deberta-v3-small-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-small-prompt-injection-v2.aarch64-apple-darwin.encoderfile` |
|
| 14 |
+
| macOS (Intel) | `deberta-v3-small-prompt-injection-v2.x86_64-apple-darwin.encoderfile` |
|
| 15 |
+
| Linux (x86_64) | `deberta-v3-small-prompt-injection-v2.x86_64-linux-gnu.encoderfile` |
|
| 16 |
+
| Linux (ARM64) | `deberta-v3-small-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-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.aarch64-apple-darwin.encoderfile
|
| 22 |
+
chmod +x ./deberta-v3-small-prompt-injection-v2.aarch64-apple-darwin.encoderfile
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## Usage
|
| 26 |
+
|
| 27 |
+
**Run as an embedding server:**
|
| 28 |
+
```bash
|
| 29 |
+
./deberta-v3-small-prompt-injection-v2.aarch64-apple-darwin.encoderfile serve
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
**Infer directly from the CLI:**
|
| 33 |
+
```bash
|
| 34 |
+
./deberta-v3-small-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-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.aarch64-apple-darwin.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63576980c953ae32e974cd50344987ae16239621e7806c9162ac8f601b718720
|
| 3 |
+
size 613966458
|
protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-prompt-injection-v2.aarch64-linux-gnu.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b45bf7a53d2233ae9fc91b3921fad52cc68a222cab5f267d2663354103ec063b
|
| 3 |
+
size 618298866
|
protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-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:b4a8acad0c39256da46439724fa6258366f56d2618a3d7cff0c5d1a89ad7a674
|
| 3 |
+
size 618771406
|
protectai/deberta-v3-small-prompt-injection-v2/deberta-v3-small-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:a99eff93c948a3ffd0453f26a11b2a572d06b8fc21446b9a6b1baa508c75a443
|
| 3 |
+
size 623607970
|