{"repo":"mozilla-ai/encoderfile","free":true,"listed":false,"github":"https://github.com/mozilla-ai/encoderfile","clone":"git clone https://github.com/mozilla-ai/encoderfile.git","description":"Distribute and run transformer encoders with a single file.","language":"Rust","stars":129,"topics":["edge-ai","embeddings","encoder","grpc","local-ai","nlp","onnx","onnx-runtime","python","rust"],"license":"Apache-2.0","category":"machine-learning","readme_excerpt":"🚀 Overview Encoderfile packages transformer encoders—optionally with classification heads—into a single, self-contained executable. No Python runtime, no dependencies, no network calls. Just a fast, portable binary that runs anywhere. While Llamafile focuses on generative models, Encoderfile is purpose-built for encoder architectures with optional classification heads. It supports embedding, sequence classification, and token classification models—covering most encoder-based NLP tasks, from text similarity to classification and tagging—all within one compact binary. Under the hood, Encoderfile uses ONNX Runtime for inference, ensuring compatibility with a wide range of transformer architectures. Why? - Smaller footprint: a single binary measured in tens-to-hundreds of megabytes, not gigabytes of runtime and packages - Compliance-friendly: deterministic, offline, security-boundary-safe - Integration-ready: drop into existing systems as a CLI, microservice, or API without refactoring your stack Encoderfiles can run as: - REST API - gRPC microservice - CLI for batch processing - MCP server (Model Context Protocol) Supported Architectures Encoderfile supports the following Hugging Face model classes (and their ONNX-exported equivalents): Task Supported classes Example models ----------------------------------- ------------------------------------ ----------------------------------------------------------------------- Embeddings / Feature Extraction AutoModel , AutoModelForMasked","default_branch":null,"files":null,"tree":[],"storefront":"/r/mozilla-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mozilla-ai/encoderfile/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}