Instructions to use mozilla-ai/DuoGuard-DuoGuard-0.5B-encoderfile with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- encoderfile
How to use mozilla-ai/DuoGuard-DuoGuard-0.5B-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
CHANGED
|
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
DuoGuard-0.5B.aarch64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
DuoGuard-0.5B.aarch64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
DuoGuard-0.5B.x86_64-apple-darwin.encoderfile filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
DuoGuard-0.5B.x86_64-linux-gnu.encoderfile filter=lfs diff=lfs merge=lfs -text
|
DuoGuard-0.5B.aarch64-apple-darwin.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0b07da2457a0b592fdd5d85a4210b409c7d25169cc01ca9c34662fa81123f1f
|
| 3 |
+
size 2023916182
|
DuoGuard-0.5B.aarch64-linux-gnu.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86cba6e54f74cbd5da61c0a70eb8e0c3e12bc3b452045cba0fa809f576df7339
|
| 3 |
+
size 2028248590
|
DuoGuard-0.5B.x86_64-apple-darwin.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11ed10f40eb01ee04effde3bf304c3f2ae1ec54338b74dedd9f556c18f37119f
|
| 3 |
+
size 2028721130
|
DuoGuard-0.5B.x86_64-linux-gnu.encoderfile
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7449ba7609ef64aecc562039d2a206ffdd7dcfde3fbd9cfea40d2220839b6c88
|
| 3 |
+
size 2033557694
|
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: encoderfile
|
| 3 |
+
base_model: DuoGuard/DuoGuard-0.5B
|
| 4 |
+
tags:
|
| 5 |
+
- encoderfile
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# `DuoGuard/DuoGuard-0.5B` Encoderfiles
|
| 9 |
+
|
| 10 |
+
**Generated with [Encoderfile](https://github.com/mozilla-ai/encoderfile) Encoderfile 0.6.2**
|
| 11 |
+
|
| 12 |
+
Pre-built encoderfiles for [`DuoGuard/DuoGuard-0.5B`](https://huggingface.co/DuoGuard/DuoGuard-0.5B) — self-contained, executable embedding servers you can run without any Python or ML dependencies.
|
| 13 |
+
|
| 14 |
+
## Download
|
| 15 |
+
|
| 16 |
+
Pick the binary for your platform:
|
| 17 |
+
|
| 18 |
+
| Platform | File |
|
| 19 |
+
|---|---|
|
| 20 |
+
| macOS (Apple Silicon) | `DuoGuard-0.5B.aarch64-apple-darwin.encoderfile` |
|
| 21 |
+
| macOS (Intel) | `DuoGuard-0.5B.x86_64-apple-darwin.encoderfile` |
|
| 22 |
+
| Linux (x86_64) | `DuoGuard-0.5B.x86_64-linux-gnu.encoderfile` |
|
| 23 |
+
| Linux (ARM64) | `DuoGuard-0.5B.aarch64-linux-gnu.encoderfile` |
|
| 24 |
+
|
| 25 |
+
Or download directly (example for macOS Apple Silicon):
|
| 26 |
+
|
| 27 |
+
```bash
|
| 28 |
+
wget https://huggingface.co/mozilla-ai/DuoGuard-DuoGuard-0.5B-encoderfile/blob/main/DuoGuard-0.5B.aarch64-apple-darwin.encoderfile
|
| 29 |
+
chmod +x ./DuoGuard-0.5B.aarch64-apple-darwin.encoderfile
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
## Usage
|
| 33 |
+
|
| 34 |
+
**Run as an embedding server:**
|
| 35 |
+
```bash
|
| 36 |
+
./DuoGuard-0.5B.aarch64-apple-darwin.encoderfile serve
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
**Infer directly from the CLI:**
|
| 40 |
+
```bash
|
| 41 |
+
./DuoGuard-0.5B.aarch64-apple-darwin.encoderfile infer "this is a test"
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
## About Encoderfile
|
| 45 |
+
|
| 46 |
+
Encoderfiles are self-contained executables that bundle a model and its runtime into a single binary. No Python, no dependencies — just download and run.
|
| 47 |
+
|
| 48 |
+
Learn more at [mozilla-ai/encoderfile](https://github.com/mozilla-ai/encoderfile).
|