Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- protectai/distilroberta-base-rejection-v1/README.md +41 -0
- protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.aarch64-apple-darwin.encoderfile +3 -0
- protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.aarch64-linux-gnu.encoderfile +3 -0
- protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.x86_64-apple-darwin.encoderfile +3 -0
- protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.x86_64-linux-gnu.encoderfile +3 -0
.gitattributes
CHANGED
|
@@ -51,3 +51,7 @@ JasperLS/gelectra-base-injection/gelectra-base-injection.aarch64-apple-darwin.en
|
|
| 51 |
JasperLS/gelectra-base-injection/gelectra-base-injection.aarch64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 52 |
JasperLS/gelectra-base-injection/gelectra-base-injection.x86_64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 53 |
JasperLS/gelectra-base-injection/gelectra-base-injection.x86_64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
JasperLS/gelectra-base-injection/gelectra-base-injection.aarch64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 52 |
JasperLS/gelectra-base-injection/gelectra-base-injection.x86_64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 53 |
JasperLS/gelectra-base-injection/gelectra-base-injection.x86_64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.aarch64-apple-darwin.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
|
protectai/distilroberta-base-rejection-v1/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `protectai/distilroberta-base-rejection-v1` Encoderfiles
|
| 2 |
+
|
| 3 |
+
**Generated with [Encoderfile](https://github.com/mozilla-ai/encoderfile) Encoderfile 0.5.1**
|
| 4 |
+
|
| 5 |
+
Pre-built encoderfiles for [`protectai/distilroberta-base-rejection-v1`](https://huggingface.co/protectai/distilroberta-base-rejection-v1) — 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) | `distilroberta-base-rejection-v1.aarch64-apple-darwin.encoderfile` |
|
| 14 |
+
| macOS (Intel) | `distilroberta-base-rejection-v1.x86_64-apple-darwin.encoderfile` |
|
| 15 |
+
| Linux (x86_64) | `distilroberta-base-rejection-v1.x86_64-linux-gnu.encoderfile` |
|
| 16 |
+
| Linux (ARM64) | `distilroberta-base-rejection-v1.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/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.aarch64-apple-darwin.encoderfile
|
| 22 |
+
chmod +x ./distilroberta-base-rejection-v1.aarch64-apple-darwin.encoderfile
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## Usage
|
| 26 |
+
|
| 27 |
+
**Run as an embedding server:**
|
| 28 |
+
```bash
|
| 29 |
+
./distilroberta-base-rejection-v1.aarch64-apple-darwin.encoderfile serve
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
**Infer directly from the CLI:**
|
| 33 |
+
```bash
|
| 34 |
+
./distilroberta-base-rejection-v1.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/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.aarch64-apple-darwin.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15509d8973e92747461d53ae5cb94934ce35980a95b1df13fb59185ce614ca27
|
| 3 |
+
size 371569544
|
protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.aarch64-linux-gnu.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c288b3c0ac8c9713688a85b2236fd9deeea52e948bf52437e60d127039f1323e
|
| 3 |
+
size 375901952
|
protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.x86_64-apple-darwin.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cdd790ff7bfffc050bb6d5f108c32008121ec4d9ae5712b783678399780463a
|
| 3 |
+
size 376374492
|
protectai/distilroberta-base-rejection-v1/distilroberta-base-rejection-v1.x86_64-linux-gnu.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53ea8ea79132a488d356fa1bc857eeb85b2cc94c9896250dd011943847c6f664
|
| 3 |
+
size 381211056
|