Feature Extraction
GGUF
llama.cpp
embeddings
multimodal
vision
audio
image-feature-extraction
audio-feature-extraction
Instructions to use MirrorNeuronLab/embeddinggemma-2-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 MirrorNeuronLab/embeddinggemma-2-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 MirrorNeuronLab/embeddinggemma-2-GGUF:Q4_K_M --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf MirrorNeuronLab/embeddinggemma-2-GGUF: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 MirrorNeuronLab/embeddinggemma-2-GGUF:Q4_K_M --embeddings
- Llama new
- LM Studio
- Jan
- Ollama
How to use MirrorNeuronLab/embeddinggemma-2-GGUF with Ollama:
ollama run hf.co/MirrorNeuronLab/embeddinggemma-2-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use MirrorNeuronLab/embeddinggemma-2-GGUF with Docker Model Runner:
docker model run hf.co/MirrorNeuronLab/embeddinggemma-2-GGUF:Q4_K_M
- Lemonade
How to use MirrorNeuronLab/embeddinggemma-2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MirrorNeuronLab/embeddinggemma-2-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.embeddinggemma-2-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download reproduce/scripts/run_step.py from MirrorNeuronLab/embeddinggemma-2-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/MirrorNeuronLab/embeddinggemma-2-GGUF/resolve/main/reproduce/scripts/run_step.py
- Command line
-
hf download hf://MirrorNeuronLab/embeddinggemma-2-GGUF/reproduce/scripts/run_step.py
-
curl -L -o run_step.py https://huggingface.co/MirrorNeuronLab/embeddinggemma-2-GGUF/resolve/main/reproduce/scripts/run_step.py
1.05 kB
| #!/usr/bin/env python3 | |
| """Run a reproducible pipeline step, capturing its command, output and wall time.""" | |
| import datetime | |
| import json | |
| import pathlib | |
| import shlex | |
| import subprocess | |
| import sys | |
| import time | |
| root = pathlib.Path(__file__).resolve().parents[1] | |
| name, *command = sys.argv[1:] | |
| if command and command[0] == "--": | |
| command.pop(0) | |
| start = datetime.datetime.now(datetime.timezone.utc) | |
| tick = time.monotonic() | |
| with (root / "logs" / f"{name}.log").open("w") as log: | |
| log.write(f"$ {shlex.join(command)}\n") | |
| log.flush() | |
| result = subprocess.run(command, cwd=root, stdout=log, stderr=subprocess.STDOUT) | |
| record = dict(stage=name, command=command, cwd=str(root), | |
| started_utc=start.isoformat(), | |
| finished_utc=datetime.datetime.now(datetime.timezone.utc).isoformat(), | |
| elapsed_seconds=time.monotonic() - tick, returncode=result.returncode) | |
| (root / "logs" / f"{name}.timing.json").write_text(json.dumps(record, indent=2) + "\n") | |
| print(json.dumps(record), flush=True) | |
| sys.exit(result.returncode) | |