Getting Started
Prerequisites
encoderfile CLI Tool
curl -fsSL https://raw.githubusercontent.com/mozilla-ai/encoderfile/main/install.sh | shPython with Optimum
pip install optimum[onnxruntime] onnxruntimeYour First Encoderfile
Step 1: Export Model to ONNX
Step 2: Create Configuration File
Step 3: Build the Binary
Step 4: Run the Server
Step 5: Make Predictions
Quick Examples
Embedding Model
Token Classification (NER)
Common Tasks
Server Configuration
CLI Inference
Using Pre-Exported Models
Troubleshooting
ONNX Export Fails
Build Fails
Server Won't Start
Inference Errors
Next Steps
Last updated