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
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: encoderfile
|
| 3 |
+
base_model: answerdotai/ModernBERT-base
|
| 4 |
+
tags:
|
| 5 |
+
- encoderfile
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# `embedding/modernbert` Encoderfiles
|
| 9 |
+
|
| 10 |
+
**Generated with [Encoderfile](https://github.com/mozilla-ai/encoderfile) Encoderfile 0.6.2**
|
| 11 |
+
|
| 12 |
+
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.
|
| 13 |
+
|
| 14 |
+
## Download
|
| 15 |
+
|
| 16 |
+
Pick the binary for your platform:
|
| 17 |
+
|
| 18 |
+
| Platform | File |
|
| 19 |
+
|---|---|
|
| 20 |
+
| macOS (Apple Silicon) | `modernbert.aarch64-apple-darwin.encoderfile` |
|
| 21 |
+
| Linux (x86_64) | `modernbert-linux-gnu.encoderfile` |
|
| 22 |
+
| Linux (ARM64) | `modernbert.aarch64-linux-gnu.encoderfile` |
|
| 23 |
+
|
| 24 |
+
Or download directly (example for macOS Apple Silicon):
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
wget https://huggingface.co/mozilla-ai/embedding-modernbert-encoderfile/blob/main/modernbert.aarch64-apple-darwin.encoderfile
|
| 28 |
+
chmod +x ./modernbert.aarch64-apple-darwin.encoderfile
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Usage
|
| 32 |
+
|
| 33 |
+
**Run as an embedding server:**
|
| 34 |
+
```bash
|
| 35 |
+
./modernbert.aarch64-apple-darwin.encoderfile serve
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
**Infer directly from the CLI:**
|
| 39 |
+
```bash
|
| 40 |
+
./modernbert.aarch64-apple-darwin.encoderfile infer "this is a test"
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## About Encoderfile
|
| 44 |
+
|
| 45 |
+
Encoderfiles are self-contained executables that bundle a model and its runtime into a single binary. No Python, no dependencies — just download and run.
|
| 46 |
+
|
| 47 |
+
Learn more at [mozilla-ai/encoderfile](https://github.com/mozilla-ai/encoderfile).
|