Instructions to use mozilla-ai/embedding-modernbert-encoderfile with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- encoderfile
How to use mozilla-ai/embedding-modernbert-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
File size: 1,475 Bytes
ad9c20d 807a9de ad9c20d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | ---
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). |