Text Generation
Safetensors
GGUF
English
embeddings-are-overpriced
frozen-embedding
binary-codes
ternary
bitnet
gemma-3
small-language-model
cpu-inference
research
Instructions to use QLNI/embeddings-are-overpriced 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 QLNI/embeddings-are-overpriced with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf QLNI/embeddings-are-overpriced:Q4_K_M # Run inference directly in the terminal: llama cli -hf QLNI/embeddings-are-overpriced:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf QLNI/embeddings-are-overpriced:Q4_K_M # Run inference directly in the terminal: llama cli -hf QLNI/embeddings-are-overpriced:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf QLNI/embeddings-are-overpriced:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QLNI/embeddings-are-overpriced:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf QLNI/embeddings-are-overpriced:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QLNI/embeddings-are-overpriced:Q4_K_M
Use Docker
docker model run hf.co/QLNI/embeddings-are-overpriced:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use QLNI/embeddings-are-overpriced with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QLNI/embeddings-are-overpriced" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QLNI/embeddings-are-overpriced", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/QLNI/embeddings-are-overpriced:Q4_K_M
- Ollama
How to use QLNI/embeddings-are-overpriced with Ollama:
ollama run hf.co/QLNI/embeddings-are-overpriced:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use QLNI/embeddings-are-overpriced with Docker Model Runner:
docker model run hf.co/QLNI/embeddings-are-overpriced:Q4_K_M
- Lemonade
How to use QLNI/embeddings-are-overpriced with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QLNI/embeddings-are-overpriced:Q4_K_M
Run and chat with the model
lemonade run user.embeddings-are-overpriced-Q4_K_M
List all available models
lemonade list
- Atomic Chat
File size: 4,081 Bytes
f31f59b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | """Error bars for the paper, from saved per-question results (eval.py). No model is run here.
For each model and each benchmark: the score and its 95% range (bootstrap: re-draw the same number of questions with
replacement 10,000 times; the middle 95% of the re-drawn scores is the range).
For each pair of arms: the difference on the SAME questions and its 95% range (paired bootstrap: the same re-drawn
questions are used for both arms, so luck in which questions were asked cancels). If the range of the difference does
not include 0, the difference is real at 95%; otherwise the two arms are tied on that benchmark.
Validation loss: the same, with 1,024-token validation sequences in place of questions.
python bars.py reports/eval_armA_*.json reports/eval_armB_*.json ... [--ref armA_...]
Writes reports/ERROR_BARS.md and reports/error_bars.json.
"""
import argparse, json, pathlib
import numpy as np
N_BOOT = 10_000
def ci(x, rng):
x = np.asarray(x, float)
idx = rng.integers(0, len(x), (N_BOOT, len(x)))
b = x[idx].mean(1)
return float(x.mean()), float(np.percentile(b, 2.5)), float(np.percentile(b, 97.5))
def paired(x, y, rng):
x, y = np.asarray(x, float), np.asarray(y, float)
assert len(x) == len(y), "paired comparison needs the same questions"
d = y - x
idx = rng.integers(0, len(d), (N_BOOT, len(d)))
b = d[idx].mean(1)
return float(d.mean()), float(np.percentile(b, 2.5)), float(np.percentile(b, 97.5))
def main():
ap = argparse.ArgumentParser()
ap.add_argument("files", nargs="+")
ap.add_argument("--ref", default="", help="name of the reference model for differences (default: the first file)")
a = ap.parse_args()
rng = np.random.default_rng(0)
runs = [json.load(open(f)) for f in a.files]
names = [r["name"] for r in runs]
ref = a.ref or names[0]
R = runs[names.index(ref)]
tasks = list(R["per_question"]) + ["val_loss"]
def series(r, t):
return r["val_loss_per_seq"] if t == "val_loss" else r["per_question"][t]
out = {"scores": {}, "diffs": {}}
L = ["# Error bars (95%, bootstrap, 10,000 re-draws)", "",
"Benchmarks: accuracy in %, higher is better. Validation loss: nats/token, lower is better.", "",
"| model | " + " | ".join(tasks) + " |", "|---|" + "---|" * len(tasks)]
for r in runs:
cells = []
for t in tasks:
m, lo, hi = ci(series(r, t), rng)
out["scores"].setdefault(r["name"], {})[t] = [m, lo, hi]
k = 1 if t == "val_loss" else 100
cells.append(f"{m * k:.{3 if t == 'val_loss' else 1}f} ({lo * k:.{3 if t == 'val_loss' else 1}f}-{hi * k:.{3 if t == 'val_loss' else 1}f})")
L.append(f"| {r['name']} | " + " | ".join(cells) + " |")
L += ["", f"## Differences against {ref}, same questions (paired)", "",
"| model minus " + ref + " | " + " | ".join(tasks) + " |", "|---|" + "---|" * len(tasks)]
for r in runs:
if r["name"] == ref:
continue
cells = []
for t in tasks:
x, y = series(R, t), series(r, t)
if len(x) != len(y):
cells.append("n/a"); continue
d, lo, hi = paired(x, y, rng)
out["diffs"].setdefault(r["name"], {})[t] = [d, lo, hi]
k = 1 if t == "val_loss" else 100
nd = 3 if t == "val_loss" else 1
verdict = "tied" if lo <= 0 <= hi else ("better" if (d > 0) != (t == "val_loss") else "worse")
cells.append(f"{d * k:+.{nd}f} ({lo * k:+.{nd}f} to {hi * k:+.{nd}f}) {verdict}")
L.append(f"| {r['name']} | " + " | ".join(cells) + " |")
L += ["", "Reading: 'tied' = the 95% range of the difference includes 0, so the two cannot be told apart on that "
"benchmark; 'better'/'worse' = a real difference at 95%."]
pathlib.Path("reports").mkdir(exist_ok=True)
open("reports/ERROR_BARS.md", "w").write("\n".join(L) + "\n")
json.dump(out, open("reports/error_bars.json", "w"), indent=1)
print("\n".join(L))
if __name__ == "__main__":
main()
|