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"
push artifacts/scripts/make_traindata.py
Browse files
artifacts/scripts/make_traindata.py
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Quick training-data builder: a few corpus shards at the eval-156 commit, rows with short
|
| 2 |
+
prompts, dumped as drawn.jsonl (the dataset.load format). No ranking needed: the QAT trains on
|
| 3 |
+
any diverse rows; the margin is verified on the official harness later."""
|
| 4 |
+
import json
|
| 5 |
+
import sys
|
| 6 |
+
import urllib.request
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
sys.path.insert(0, "/root/ingot/src")
|
| 10 |
+
import pyarrow.parquet as pq
|
| 11 |
+
|
| 12 |
+
COMMIT = "70d2121e5dcbfc9f2c2e79c890563d96429eeb98"
|
| 13 |
+
REPO = "dendriteholdings/ingot_corpus"
|
| 14 |
+
BASE = f"https://huggingface.co/datasets/{REPO}/resolve/{COMMIT}/"
|
| 15 |
+
|
| 16 |
+
req = urllib.request.Request(
|
| 17 |
+
f"https://huggingface.co/api/datasets/{REPO}/tree/{COMMIT}?recursive=1",
|
| 18 |
+
headers={"User-Agent": "mk"},
|
| 19 |
+
)
|
| 20 |
+
tree = json.load(urllib.request.urlopen(req))
|
| 21 |
+
shards = sorted(
|
| 22 |
+
t["path"] for t in tree if t["path"].startswith("data/chungus-") and t["path"].endswith(".parquet")
|
| 23 |
+
)
|
| 24 |
+
print("shards:", len(shards))
|
| 25 |
+
|
| 26 |
+
out = []
|
| 27 |
+
tmp = Path("/tmp/shards")
|
| 28 |
+
tmp.mkdir(exist_ok=True)
|
| 29 |
+
for shard in shards[::17]: # ~15 shards, spread over the corpus
|
| 30 |
+
url = BASE + shard
|
| 31 |
+
local = tmp / Path(shard).name
|
| 32 |
+
urllib.request.urlretrieve(url, local)
|
| 33 |
+
parq = pq.ParquetFile(local)
|
| 34 |
+
cols = ["dataset", "split", "entry_name", "domain", "language", "user_prompt"]
|
| 35 |
+
if "conversation" in parq.schema_arrow.names:
|
| 36 |
+
cols.append("conversation")
|
| 37 |
+
df = parq.read(columns=cols).to_pylist()
|
| 38 |
+
for row in df:
|
| 39 |
+
if row.get("conversation"):
|
| 40 |
+
conv = json.loads(row["conversation"])
|
| 41 |
+
msgs, tools = conv["messages"], conv.get("tools")
|
| 42 |
+
else:
|
| 43 |
+
msgs = [{"role": "user", "content": row["user_prompt"]}]
|
| 44 |
+
tools = None
|
| 45 |
+
size = sum(len(m["content"].encode()) for m in msgs)
|
| 46 |
+
if size > 3500: # short-ish prompts only
|
| 47 |
+
continue
|
| 48 |
+
sid = f"{row['dataset']}/{row['split']}/{row['entry_name']}/{row['language']}"
|
| 49 |
+
out.append({"id": sid, "messages": msgs, "tools": tools})
|
| 50 |
+
if len(out) >= 160:
|
| 51 |
+
break
|
| 52 |
+
print(f"{shard}: {len(out)} kept", flush=True)
|
| 53 |
+
if len(out) >= 160:
|
| 54 |
+
break
|
| 55 |
+
|
| 56 |
+
Path("/root/drawn.jsonl").write_text(
|
| 57 |
+
"".join(json.dumps(r, ensure_ascii=False) + "\n" for r in out)
|
| 58 |
+
)
|
| 59 |
+
print("wrote /root/drawn.jsonl:", len(out), "rows")
|