javiermtorres's picture
Update README.md
807a9de verified
|
Raw
History Blame Contribute Delete
1.48 kB
---
library_name: encoderfile
base_model: answerdotai/ModernBERT-base
tags:
- encoderfile
---
# `embedding/modernbert` Encoderfiles
**Generated with [Encoderfile](https://github.com/mozilla-ai/encoderfile) Encoderfile 0.6.2**
Pre-built encoderfiles for [answerdotai's `ModernBERT-base`](https://huggingface.co/answerdotai/ModernBERT-base) — 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) | `modernbert.aarch64-apple-darwin.encoderfile` |
| Linux (x86_64) | `modernbert.x86_64-unknown-linux-gnu.encoderfile` |
| Linux (ARM64) | `modernbert.aarch64-unknown-linux-gnu.encoderfile` |
Or download directly (example for macOS Apple Silicon):
```bash
wget https://huggingface.co/mozilla-ai/embedding-modernbert-encoderfile/blob/main/modernbert.aarch64-apple-darwin.encoderfile
chmod +x ./modernbert.aarch64-apple-darwin.encoderfile
```
## Usage
**Run as an embedding server:**
```bash
./modernbert.aarch64-apple-darwin.encoderfile serve
```
**Infer directly from the CLI:**
```bash
./modernbert.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).