Instructions to use eyad-silx/progress 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 eyad-silx/progress 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 eyad-silx/progress # Run inference directly in the terminal: llama cli -hf eyad-silx/progress
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf eyad-silx/progress # Run inference directly in the terminal: llama cli -hf eyad-silx/progress
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 server with a web UI: ./build/bin/llama serve -hf eyad-silx/progress # Run inference directly in the terminal: ./build/bin/llama cli -hf eyad-silx/progress
Use Docker
docker model run hf.co/eyad-silx/progress
- Llama new
- LM Studio
- Jan
- Ollama
How to use eyad-silx/progress with Ollama:
ollama run hf.co/eyad-silx/progress
- Unsloth Desktop
- Pi
How to use eyad-silx/progress with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf eyad-silx/progress
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "eyad-silx/progress" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use eyad-silx/progress with Docker Model Runner:
docker model run hf.co/eyad-silx/progress
- Lemonade
How to use eyad-silx/progress with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull eyad-silx/progress
Run and chat with the model
lemonade run user.progress-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use eyad-silx/progress with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf eyad-silx/progress
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:8080/v1 hermes config set model.default eyad-silx/progress
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use eyad-silx/progress with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf eyad-silx/progress
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:8080/v1 \ --custom-model-id "eyad-silx/progress" \ --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 artifacts/scripts/eval_seq.py from eyad-silx/progress: direct link, hf CLI and curl.
- Browser
- Download file 5.9 kB
-
https://huggingface.co/eyad-silx/progress/resolve/8aed8bf3b966ec7dc45e23ebc94ece9fb414ec00/artifacts/scripts/eval_seq.py
- Command line
-
hf download hf://eyad-silx/progress@8aed8bf3b966ec7dc45e23ebc94ece9fb414ec00/artifacts/scripts/eval_seq.py
-
curl -L -o eval_seq.py https://huggingface.co/eyad-silx/progress/resolve/8aed8bf3b966ec7dc45e23ebc94ece9fb414ec00/artifacts/scripts/eval_seq.py
5.9 kB
| """Sequential-batch eval harness for a single-GPU box: batches of samples go teacher (concurrent | |
| vLLM) -> king reads -> challenger reads -> compare, keeping states files within the TTL and the | |
| shm budget. Same scoring as the eval service. | |
| .venv/bin/python eval_seq.py --dataset pick20.jsonl --teacher DIR --king DIR --challenger DIR | |
| [--samples N] [--batch 8] [--workers 8] [--out results.jsonl] | |
| """ | |
| from __future__ import annotations | |
| import argparse | |
| import json | |
| import time | |
| from concurrent.futures import ThreadPoolExecutor | |
| from pathlib import Path | |
| from eval_service import dataset, metrics, run, servers | |
| from eval_service.run import Distance, _render, generate, load_tokenizer | |
| def aggregate(sums: list, role: str) -> Distance: | |
| rows = [by_role[role] for by_role in sums if role in by_role] | |
| if not rows: | |
| return Distance(kl=float("inf"), dist=float("inf")) | |
| return Distance( | |
| kl=sum(s.kl for s in rows) / sum(s.predictions for s in rows), | |
| dist=sum(s.layer_mean_dist for s in rows) / max(sum(s.activations for s in rows), 1), | |
| ) | |
| def main() -> None: | |
| ap = argparse.ArgumentParser() | |
| ap.add_argument("--dataset", type=Path, required=True) | |
| ap.add_argument("--teacher", type=Path, required=True) | |
| ap.add_argument("--king", type=Path, required=True) | |
| ap.add_argument("--challenger", type=Path, required=True) | |
| ap.add_argument("--samples", type=int, default=20) | |
| ap.add_argument("--batch", type=int, default=8) | |
| ap.add_argument("--workers", type=int, default=8) | |
| ap.add_argument("--out", type=Path, default=Path("eval_seq.jsonl")) | |
| args = ap.parse_args() | |
| samples = dataset.load(args.dataset).samples[: args.samples] | |
| tokenizer = load_tokenizer(args.teacher) | |
| models = {"teacher": args.teacher, "king": args.king, "challenger": args.challenger} | |
| device = "cuda:0" | |
| heads = metrics.heads(models, [device]) | |
| all_sums = [] | |
| records_out = [] | |
| try: | |
| for b0 in range(0, len(samples), args.batch): | |
| batch = samples[b0 : b0 + args.batch] | |
| records = [] | |
| groups = servers.serve({"teacher": args.teacher}) | |
| with ThreadPoolExecutor(args.workers) as pool: | |
| def one(i, sample, prompt): | |
| answer, tpath = generate(groups["teacher"], prompt, i, sample.id) | |
| for _ in range(120): # the connector writes states asynchronously | |
| if Path(tpath).exists(): | |
| break | |
| time.sleep(0.5) | |
| keep = Path("/root/states") / Path(tpath).name | |
| keep.write_bytes(Path(tpath).read_bytes()) | |
| Path(str(keep) + ".lock").touch() | |
| return answer, str(keep) | |
| futures = {i: (s, p, pool.submit(one, b0 + i, s, p)) for i, (s, p) in enumerate((sample, _render(tokenizer, sample.messages, sample.tools)) for sample in batch)} | |
| for i, (sample, prompt, fut) in futures.items(): | |
| answer, tpath = fut.result() | |
| records.append({"id": sample.id, "prompt": prompt, "answer": answer, "tpath": tpath}) | |
| print(f"teacher {b0+i+1}/{len(samples)}: {sample.id} p{len(prompt)} a{len(answer)}", flush=True) | |
| servers.release("teacher") | |
| for role, dir_ in (("king", args.king), ("challenger", args.challenger)): | |
| groups = servers.serve({role: dir_}) | |
| group = groups[role] | |
| for i, rec in enumerate(records): | |
| read, path = group.complete(rec["prompt"], len(rec["answer"]), b0 + i, rec["prompt"] + rec["answer"]) | |
| if read != rec["answer"]: | |
| raise SystemExit(f"{role} left the teacher's answer on {rec['id']}") | |
| rec[role] = path | |
| print(f"{role} {b0+i+1}/{len(samples)}: {rec['id']}", flush=True) | |
| servers.release(role) | |
| for rec in records: | |
| read = rec["prompt"] + rec["answer"][:-1] | |
| states = { | |
| role: metrics.load_states(rec[role] if role != "teacher" else rec["tpath"], read, len(rec["prompt"]) - 1) | |
| for role in ("teacher", "king", "challenger") | |
| } | |
| by_role = metrics.compare(states, heads[device], rec["answer"], device) | |
| all_sums.append(by_role) | |
| records_out.append({"id": rec["id"], **{role: s.summary() for role, s in by_role.items()}}) | |
| print( | |
| f"scored {rec['id']}: king KL {by_role['king'].kl / by_role['king'].predictions:.4f}" | |
| f" challenger KL {by_role['challenger'].kl / by_role['challenger'].predictions:.4f}", | |
| flush=True, | |
| ) | |
| for p in (rec["tpath"], rec["king"], rec["challenger"]): | |
| servers.discard(p) | |
| agg = {role: aggregate(all_sums, role) for role in ("teacher", "king", "challenger")} | |
| for role, d in agg.items(): | |
| print(f"{role:12s} KL {d.kl:.6f} distance {d.dist:.5f}") | |
| if agg["king"].kl < float("inf"): | |
| need = Distance(kl=0.015 * agg["king"].kl, dist=0.0084 * agg["king"].dist) | |
| print( | |
| f"margin needed: KL {need.kl:.6f} dist {need.dist:.6f} ;" | |
| f" challenger leads by KL {agg['king'].kl - agg['challenger'].kl:.6f}" | |
| f" ({100 * (agg['king'].kl - agg['challenger'].kl) / agg['king'].kl:.3f}%)" | |
| f" dist {agg['king'].dist - agg['challenger'].dist:.6f}" | |
| f" ({100 * (agg['king'].dist - agg['challenger'].dist) / agg['king'].dist:.3f}%)" | |
| ) | |
| args.out.write_text("".join(json.dumps(r, ensure_ascii=False) + "\n" for r in records_out)) | |
| finally: | |
| servers.stop_all() | |
| if __name__ == "__main__": | |
| main() | |