Instructions to use metacortex-ai/metacortex-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use metacortex-ai/metacortex-models with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install -U litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli # A single .litertlm file in the repo is picked automatically; otherwise the CLI asks which one to run # (or pass its name right after the repo id). litert-lm run \ --from-huggingface-repo=metacortex-ai/metacortex-models \ --prompt="Write me a poem"
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use metacortex-ai/metacortex-models with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf metacortex-ai/metacortex-models:Q4_K_M --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf metacortex-ai/metacortex-models:Q4_K_M --embeddings
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible embeddings server: ./build/bin/llama serve -hf metacortex-ai/metacortex-models:Q4_K_M --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use metacortex-ai/metacortex-models with Ollama:
ollama run hf.co/metacortex-ai/metacortex-models:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use metacortex-ai/metacortex-models with Docker Model Runner:
docker model run hf.co/metacortex-ai/metacortex-models:Q4_K_M
- Lemonade
How to use metacortex-ai/metacortex-models with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull metacortex-ai/metacortex-models:Q4_K_M
Run and chat with the model
lemonade run user.metacortex-models-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Describe the LiteRT-LM models and per-file licenses
Browse files12345671 unmodified line9101112131415161718197 unmodified lines272829303132337 unmodified lines414243444546474849505152532 unmodified lines565758---license: apache-2.0tags:- gguf- metacortex-ai- on-device- receipts1 unmodified line# metacortex-modelsGGUF models used by [metacortex-ai](https://github.com/nicaibutou1993/metacortex-ai) for on-device AI with receipt-based attestation.These files are hosted here to provide authoritative SHA-256 reference hashes for the [receipt model verification](https://github.com/nicaibutou1993/metacortex-ai/blob/main/docs/receipts-spec.md#model-verification-planned) feature.## Models| File | Parameters | Quantization | Size | Upstream Source ||------|-----------|-------------|------|----------------|7 unmodified lines| `Qwen3.5-27B-Q8_0.gguf` | 27B | Q8_0 | 27 GB | [unsloth/Qwen3.5-27B-GGUF](https://huggingface.co/unsloth/Qwen3.5-27B-GGUF) || `embeddinggemma-300m-qat-Q8_0.gguf` | 300M | Q8_0 | 313 MB | [ggml-org/embeddinggemma-300m-qat-q8_0-GGUF](https://huggingface.co/ggml-org/embeddinggemma-300m-qat-q8_0-GGUF) |## SHA-256 Checksums```aaf42c8b7c3cab2bf3d69c355048d4a0ee9973d48f16c731c0520ee914699223 Qwen3.5-2B-Q4_K_M.gguf7 unmodified lines6fa0c02a9c302be6f977521d399b4de3a46310a4f2621ee0063747881b673f67 embeddinggemma-300m-qat-Q8_0.gguf```## PurposeEach metacortex-ai receipt includes a `gguf_sha256` field (SHA-256 of the local model file). Users can compare this against the hashes published here to verify the model file on disk is genuine and unmodified.This does **not** prove that this specific model generated the response -- only that an unmodified copy of the model exists on the device. See the [receipts spec](https://github.com/nicaibutou1993/metacortex-ai/blob/main/docs/receipts-spec.md) for the full trust model.## Usage with llama-server```bash# Chat model2 unmodified lines# Embedding modelllama-server --model embeddinggemma-300m-qat-Q8_0.gguf --embedding --pooling mean -c 2048```1234567891 unmodified line111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061627 unmodified lines707172737475767 unmodified lines848586878889902 unmodified lines93949596979899100101102103104105106107108---license: apache-2.0tags:- litert-lm- gguf- gemma- metacortex-ai- on-device- receipts1 unmodified line# metacortex-modelsModel files used by [metacortex-ai](https://github.com/nicaibutou1993/metacortex-ai) for on-device AI with receipt-based attestation.This repository hosts the exact files that the agent runs. It publishes an authoritative SHA-256 reference hash for each file for the [receipt model verification](https://github.com/nicaibutou1993/metacortex-ai/blob/main/docs/receipts-spec.md#model-verification-planned) feature.The repository holds two model sets:- **LiteRT-LM** (`.litertlm`): Gemma 4 chat models and three EmbeddingGemma 2 models, served with `litert-lm`.- **GGUF** (`.gguf`): Qwen3.5 chat models and EmbeddingGemma 300M, served with `llama-server`.## LiteRT-LM modelsEach file is an unmodified copy of the upstream file at the listed revision. The upstream repositories can replace a file later, so the pinned revision identifies the exact source.| File | Type | Size | Upstream source | Upstream revision ||------|------|------|-----------------|-------------------|| `gemma-4-E2B-it-gpu.litertlm` | Chat | 2.3 GB | [litert-community/gemma-4-E2B-it-litert-lm](https://huggingface.co/litert-community/gemma-4-E2B-it-litert-lm) | [`2e12bfd`](https://huggingface.co/litert-community/gemma-4-E2B-it-litert-lm/tree/2e12bfd869b2962984f97a1f2a26807316d534cc) || `gemma-4-E4B-it-gpu.litertlm` | Chat | 3.3 GB | [litert-community/gemma-4-E4B-it-litert-lm](https://huggingface.co/litert-community/gemma-4-E4B-it-litert-lm) | [`f254b5b`](https://huggingface.co/litert-community/gemma-4-E4B-it-litert-lm/tree/f254b5ba6e36f7d89cc7892e268e9877bc20f0a0) || `gemma-4-12B-it-gpu.litertlm` | Chat | 6.2 GB | [litert-community/gemma-4-12B-it-litert-lm](https://huggingface.co/litert-community/gemma-4-12B-it-litert-lm) | [`689ac18`](https://huggingface.co/litert-community/gemma-4-12B-it-litert-lm/tree/689ac189e26fa5ca9b59b9f9e067690c1be3810b) || `gemma-4-26B-A4B-it-gpu.litertlm` | Chat | 16.4 GB | [litert-community/gemma-4-26B-A4B-it-litert-lm](https://huggingface.co/litert-community/gemma-4-26B-A4B-it-litert-lm) | [`dc5b6f6`](https://huggingface.co/litert-community/gemma-4-26B-A4B-it-litert-lm/tree/dc5b6f6f904c8512bb344f36e2e8342bd0fd287d) || `embeddinggemma-2-text-270m.litertlm` | Embedding (text) | 165 MB | [litert-community/embeddinggemma-2-text-270m-litert-lm](https://huggingface.co/litert-community/embeddinggemma-2-text-270m-litert-lm) | [`9be6e8b`](https://huggingface.co/litert-community/embeddinggemma-2-text-270m-litert-lm/tree/9be6e8b90982095dc05c2bd162e4b954ee4dbac7) || `embeddinggemma-2-text-vision-440m.litertlm` | Embedding (text, vision) | 388 MB | [litert-community/embeddinggemma-2-text-vision-440m-litert-lm](https://huggingface.co/litert-community/embeddinggemma-2-text-vision-440m-litert-lm) | [`538e657`](https://huggingface.co/litert-community/embeddinggemma-2-text-vision-440m-litert-lm/tree/538e6574db281b4fe17993a3212f10c73bd678c6) || `embeddinggemma-2-740m.litertlm` | Embedding | 485 MB | [litert-community/embeddinggemma-2-740m-litert-lm](https://huggingface.co/litert-community/embeddinggemma-2-740m-litert-lm) | [`66011bd`](https://huggingface.co/litert-community/embeddinggemma-2-740m-litert-lm/tree/66011bd4f00a8b36a1d3c4ae7bf908b4891b4881) |### SHA-256 checksums```d3cfec6ae2e027a994e51366d44dbf522ec7531a4a35fbbfcd3e9cc9b927afc1 gemma-4-E2B-it-gpu.litertlmea168f5a601b543e02712f9381f26b06ddc7d4cbe2406410387c82d69b995a60 gemma-4-E4B-it-gpu.litertlmee487447dccb5f24aab4f29b03f3088f08b6ad84f01420ca3d899df87e3f774b gemma-4-12B-it-gpu.litertlm9a321665dcac4ce322ffd974c2f0e2ddbc51c90a346fcae83c4d3470e698cd1d gemma-4-26B-A4B-it-gpu.litertlm2d079ee2f6f066b1f368e8d7c819f55214eaef1d0513b312321901f30ab286fb embeddinggemma-2-text-270m.litertlm92dcbea108899e5d6e30d919b0744f90d9967e80c67a4ab5503ac16d54f62eb0 embeddinggemma-2-text-vision-440m.litertlme7a8a2204b91e0f96e92960e84a09a89212e1633dcb7575a9bf3378b4df77f4c embeddinggemma-2-740m.litertlm```### Usage with litert-lm```bash# Register the chat model in the local litert-lm registryuvx --from litert-lm==0.18.0 litert-lm import gemma-4-E4B-it-gpu.litertlm gemma-4-E4B-it-gpu# Start the OpenAI-compatible serveruvx --from litert-lm==0.18.0 litert-lm serve --host 127.0.0.1 --port 9379```## GGUF models| File | Parameters | Quantization | Size | Upstream Source ||------|-----------|-------------|------|----------------|7 unmodified lines| `Qwen3.5-27B-Q8_0.gguf` | 27B | Q8_0 | 27 GB | [unsloth/Qwen3.5-27B-GGUF](https://huggingface.co/unsloth/Qwen3.5-27B-GGUF) || `embeddinggemma-300m-qat-Q8_0.gguf` | 300M | Q8_0 | 313 MB | [ggml-org/embeddinggemma-300m-qat-q8_0-GGUF](https://huggingface.co/ggml-org/embeddinggemma-300m-qat-q8_0-GGUF) |### SHA-256 checksums```aaf42c8b7c3cab2bf3d69c355048d4a0ee9973d48f16c731c0520ee914699223 Qwen3.5-2B-Q4_K_M.gguf7 unmodified lines6fa0c02a9c302be6f977521d399b4de3a46310a4f2621ee0063747881b673f67 embeddinggemma-300m-qat-Q8_0.gguf```### Usage with llama-server```bash# Chat model2 unmodified lines# Embedding modelllama-server --model embeddinggemma-300m-qat-Q8_0.gguf --embedding --pooling mean -c 2048```## PurposeA user computes the SHA-256 of the model file on the device and compares it with the hash published here. If the hashes match, the model file on disk is genuine and unmodified. For GGUF models, each metacortex-ai receipt carries this hash in the `gguf_sha256` field.This does **not** prove that this specific model generated the response -- only that an unmodified copy of the model exists on the device. See the [receipts spec](https://github.com/nicaibutou1993/metacortex-ai/blob/main/docs/receipts-spec.md) for the full trust model.## LicenseEach file keeps the license of its upstream repository:- LiteRT-LM files (Gemma 4, EmbeddingGemma 2) and Qwen3.5 GGUF files: Apache-2.0.- `embeddinggemma-300m-qat-Q8_0.gguf`: [Gemma Terms of Use](https://ai.google.dev/gemma/terms).
README.md+61-11