Feature Extraction
GGUF
sakura
sakura-mini
llama.cpp
embeddings
experiment
muse-glimmer
conversational
Instructions to use webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL --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 webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF with Ollama:
ollama run hf.co/webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL
- Unsloth Desktop
- Pi
How to use webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF with Docker Model Runner:
docker model run hf.co/webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL
- Lemonade
How to use webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL
Run and chat with the model
lemonade run user.Sakura-MetaEncoder-30B-Experiment-GGUF-Q4_K_XL
List all available models
lemonade list
- Hermes Agent
How to use webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF:Q4_K_XL" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Download NOTICE from webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 5.07 kB
-
https://huggingface.co/webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF/resolve/main/NOTICE
- Command line
-
hf download hf://webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF/NOTICE
-
curl -L -o NOTICE https://huggingface.co/webmp3/Sakura-MetaEncoder-30B-Experiment-GGUF/resolve/main/NOTICE
5.07 kB
| Sakura MetaEncoder-30B Experiment (GGUF) | |
| ========================================= | |
| This work is a derivative of | |
| - MetaEncoder-30B (facebook/meta-encoder), (c) Meta Platforms, Inc., Apache License 2.0, and | |
| - Muse Glimmer-30B (meta-models/Muse-Glimmer-30B and meta-models/Muse-Glimmer-30B-GGUF), (c) Meta Platforms, Inc., Apache License 2.0. | |
| A copy of the Apache License, Version 2.0 is distributed with this work as LICENSE. Use is additionally subject to the | |
| Muse Glimmer Usage Policy of the base model, distributed as USAGE_POLICY.md. | |
| Trademarks | |
| ---------- | |
| The Apache License 2.0 grants no trademark rights (Section 6). "Meta", "Muse", "Muse Glimmer" and "MetaEncoder" are names used by Meta Platforms, Inc. | |
| They are used here only to identify the works this derivative is based on. This is an independent community experiment; it is NOT an official | |
| Meta product and Meta Platforms, Inc. does not endorse it. | |
| Statement of changes (Apache License 2.0, Section 4(b)) | |
| -------------------------------------------------------- | |
| Adapter (intermediate step, NOT distributed in this repository) | |
| A low-rank approximation (rank 128, factors stored in F16) of the weight difference between facebook/meta-encoder and its base model | |
| meta-models/Muse-Glimmer-30B. For each of the 416 language-model projections (self_attn.{q,k,v,o,gate}_proj, mlp.{gate,up,down}_proj of the 52 layers) | |
| the difference was computed from the published BF16 weights and approximated by a truncated SVD (B @ A). The approximation captures at least 99.37 % | |
| (median 99.67 %) of the squared Frobenius norm of the difference per tensor. It is not an exact copy of the original weights. | |
| Sakura-MetaEncoder-30B-Q4_K_XL-18.30GiB.gguf (modified) | |
| Meta's file Muse-Glimmer-30B-KQuant-Dynamic-Q4_K_XL.gguf (sha256 ac7023d6a4c704eb9af54ab53e476a66b7f5b6c0ef2fc4a8dde5253c291a6c38) | |
| with the adapter above merged into the 416 projections (llama-export-lora), then re-quantized to the same per-tensor types as the original file | |
| (Q4_K, Q5_K, Q6_K) with llama-quantize, without an importance matrix. The other 315 tensors (normalisation weights, token embeddings, output head) | |
| are byte-identical to Meta's file. All 32 metadata fields of the header (architecture, hyper-parameters, tokenizer, chat template, file type) were compared and are identical to Meta's file. | |
| The following files are unmodified copies from Meta's repositories: LICENSE, USAGE_POLICY.md, chat_template.jinja (from facebook/meta-encoder). | |
| The following files are new: README.md, README_zh.md, NOTICE, SHA256SUMS, metaencoder_prompt.py, results.json. | |
| ============================================================================== | |
| Original NOTICE of facebook/meta-encoder (verbatim copy, Apache License 2.0, Section 4(d)) | |
| ============================================================================== | |
| MetaEncoder-30B | |
| =============== | |
| This work is a derivative of Muse Glimmer-30B, (c) Meta Platforms, Inc., obtained from | |
| https://huggingface.co/meta-models/Muse-Glimmer-30B and licensed under the Apache License, | |
| Version 2.0. A copy of that license is distributed with this work as LICENSE. | |
| Trademarks | |
| ---------- | |
| The Apache License, Version 2.0 grants no trademark rights (Section 6). "Meta", "Muse", and | |
| "Muse Glimmer" are trademarks of Meta Platforms, Inc. The name "MetaEncoder" is used here only | |
| to identify this derivative work and does not indicate that it is an official Meta product or | |
| that Meta Platforms, Inc. endorses it. | |
| Statement of changes (Apache License 2.0, Section 4(b)) | |
| ------------------------------------------------------- | |
| The following files differ from the corresponding files in the base model: | |
| model-00001-of-00002.safetensors | |
| model-00002-of-00002.safetensors | |
| model.safetensors.index.json | |
| The weights of the language tower have been modified by contrastive fine-tuning for | |
| embedding extraction. A LoRA adapter (rank 128, alpha 256) trained on the | |
| self_attn.{q,k,v,o,gate}_proj and mlp.{gate,up,down}_proj projections of all 52 language | |
| layers was merged into the base weights. The perception encoder, token embeddings, | |
| lm_head, and all normalisation layers are unmodified and remain bit-identical to the | |
| base model. | |
| config.json | |
| Regenerated on save. Differs from the base only in recorded token ids, dtype fields, | |
| use_cache, and the transformers version string. | |
| processor_config.json | |
| max_image_tokens reduced from 4096 to 1280 to match the budget the model was trained | |
| under. | |
| README.md | |
| Replaced with a model card for this derivative. | |
| The following files are new in this work and are not part of the base model: | |
| modeling_metaencoder.py | |
| Inference wrapper. | |
| USAGE.md | |
| Usage guide for this derivative. | |
| requirements.txt | |
| .gitattributes | |
| Packaging metadata for this derivative. | |
| NOTICE | |
| This file. | |
| All other files (tokenizer.json, tokenizer_config.json, chat_template.jinja, | |
| generation_config.json, LICENSE, USAGE_POLICY.md) are unmodified copies from the base model. | |