besaleli's picture
Upload folder using huggingface_hub
8af9a1c verified
# `DuoGuard/DuoGuard-0.5B` Encoderfiles
**Generated with [Encoderfile](https://github.com/mozilla-ai/encoderfile) Encoderfile 0.5.1**
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.
## Download
Pick the binary for your platform:
| Platform | File |
|---|---|
| macOS (Apple Silicon) | `DuoGuard-0.5B.aarch64-apple-darwin.encoderfile` |
| macOS (Intel) | `DuoGuard-0.5B.x86_64-apple-darwin.encoderfile` |
| Linux (x86_64) | `DuoGuard-0.5B.x86_64-linux-gnu.encoderfile` |
| Linux (ARM64) | `DuoGuard-0.5B.aarch64-linux-gnu.encoderfile` |
Or download directly (example for macOS Apple Silicon):
```bash
wget https://huggingface.co/mozilla-ai/encoderfile/blob/main/DuoGuard/DuoGuard-0.5B/DuoGuard-0.5B.aarch64-apple-darwin.encoderfile
chmod +x ./DuoGuard-0.5B.aarch64-apple-darwin.encoderfile
```
## Usage
**Run as an embedding server:**
```bash
./DuoGuard-0.5B.aarch64-apple-darwin.encoderfile serve
```
**Infer directly from the CLI:**
```bash
./DuoGuard-0.5B.aarch64-apple-darwin.encoderfile infer "this is a test"
```
## About Encoderfile
Encoderfiles are self-contained executables that bundle a model and its runtime into a single binary. No Python, no dependencies — just download and run.
Learn more at [mozilla-ai/encoderfile](https://github.com/mozilla-ai/encoderfile).