Instructions to use kortexa-ai/shingi-27b 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 kortexa-ai/shingi-27b 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 kortexa-ai/shingi-27b # Run inference directly in the terminal: llama cli -hf kortexa-ai/shingi-27b
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kortexa-ai/shingi-27b # Run inference directly in the terminal: llama cli -hf kortexa-ai/shingi-27b
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 kortexa-ai/shingi-27b # Run inference directly in the terminal: ./build/bin/llama cli -hf kortexa-ai/shingi-27b
Use Docker
docker model run hf.co/kortexa-ai/shingi-27b
- Llama new
- LM Studio
- Jan
- Ollama
How to use kortexa-ai/shingi-27b with Ollama:
ollama run hf.co/kortexa-ai/shingi-27b
- Unsloth Desktop
- Pi
How to use kortexa-ai/shingi-27b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kortexa-ai/shingi-27b
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": "kortexa-ai/shingi-27b" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kortexa-ai/shingi-27b with Docker Model Runner:
docker model run hf.co/kortexa-ai/shingi-27b
- Lemonade
How to use kortexa-ai/shingi-27b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kortexa-ai/shingi-27b
Run and chat with the model
lemonade run user.shingi-27b-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use kortexa-ai/shingi-27b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kortexa-ai/shingi-27b
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 kortexa-ai/shingi-27b
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kortexa-ai/shingi-27b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kortexa-ai/shingi-27b
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 "kortexa-ai/shingi-27b" \ --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"
Shingi 27B v3.2 weights: stage 2 on data v3.2 (scales-04) and its calibration
Browse files- calibration.json +22 -18
- shingi-27b.gguf +1 -1
calibration.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
{
|
| 2 |
"parameters": {
|
| 3 |
"temperature": 1.0,
|
| 4 |
-
"noul_temperature": 1.
|
| 5 |
"noul_bias": 0.0
|
| 6 |
},
|
| 7 |
-
"fit_records":
|
| 8 |
-
"choice_score_records":
|
| 9 |
-
"noul_records":
|
| 10 |
"grid": {
|
| 11 |
"temperatures": [
|
| 12 |
0.5,
|
|
@@ -25,24 +25,20 @@
|
|
| 25 |
]
|
| 26 |
},
|
| 27 |
"before": {
|
| 28 |
-
"choice_score_nll": 0.
|
| 29 |
-
"noul_nll": 0.
|
| 30 |
},
|
| 31 |
"after": {
|
| 32 |
-
"choice_score_nll": 0.
|
| 33 |
-
"noul_nll": 0.
|
| 34 |
},
|
| 35 |
"limitations": "Global temperatures only; no weight changes. The yes/no bias is not fitted because the split's yes/no pool is small and its gold-yes share reflects a few sources.",
|
| 36 |
"objective": "hard-label NLL on the frozen data v3 calibration split only; temperatures only, yes/no bias fixed at 0",
|
| 37 |
"noul_pool": {
|
| 38 |
-
"records":
|
| 39 |
-
"gold_yes":
|
| 40 |
"gold_yes_share": 0.5,
|
| 41 |
"by_source": {
|
| 42 |
-
"civil_comments": {
|
| 43 |
-
"records": 40,
|
| 44 |
-
"gold_yes": 20
|
| 45 |
-
},
|
| 46 |
"gsm8k_judge": {
|
| 47 |
"records": 80,
|
| 48 |
"gold_yes": 40
|
|
@@ -62,16 +58,24 @@
|
|
| 62 |
"synth_state": {
|
| 63 |
"records": 14,
|
| 64 |
"gold_yes": 7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
}
|
| 66 |
}
|
| 67 |
},
|
| 68 |
"provenance": {
|
| 69 |
-
"source_revision": "
|
| 70 |
-
"model_sha256": "
|
| 71 |
"adapter_sha256": null,
|
| 72 |
"executable_sha256": "dd71ef5ac08ac18e2028db3dd84dcca7864f12b904fb9a76379c12c0f034c2fb",
|
| 73 |
-
"data_manifest_sha256": "
|
| 74 |
"choice_order": "canonical",
|
| 75 |
-
"predictions_sha256": "
|
| 76 |
}
|
| 77 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"parameters": {
|
| 3 |
"temperature": 1.0,
|
| 4 |
+
"noul_temperature": 1.0,
|
| 5 |
"noul_bias": 0.0
|
| 6 |
},
|
| 7 |
+
"fit_records": 1696,
|
| 8 |
+
"choice_score_records": 1356,
|
| 9 |
+
"noul_records": 340,
|
| 10 |
"grid": {
|
| 11 |
"temperatures": [
|
| 12 |
0.5,
|
|
|
|
| 25 |
]
|
| 26 |
},
|
| 27 |
"before": {
|
| 28 |
+
"choice_score_nll": 0.6331164448410751,
|
| 29 |
+
"noul_nll": 0.20858523761769068
|
| 30 |
},
|
| 31 |
"after": {
|
| 32 |
+
"choice_score_nll": 0.6331164448410751,
|
| 33 |
+
"noul_nll": 0.20858523761769068
|
| 34 |
},
|
| 35 |
"limitations": "Global temperatures only; no weight changes. The yes/no bias is not fitted because the split's yes/no pool is small and its gold-yes share reflects a few sources.",
|
| 36 |
"objective": "hard-label NLL on the frozen data v3 calibration split only; temperatures only, yes/no bias fixed at 0",
|
| 37 |
"noul_pool": {
|
| 38 |
+
"records": 340,
|
| 39 |
+
"gold_yes": 170,
|
| 40 |
"gold_yes_share": 0.5,
|
| 41 |
"by_source": {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
"gsm8k_judge": {
|
| 43 |
"records": 80,
|
| 44 |
"gold_yes": 40
|
|
|
|
| 58 |
"synth_state": {
|
| 59 |
"records": 14,
|
| 60 |
"gold_yes": 7
|
| 61 |
+
},
|
| 62 |
+
"tabfact": {
|
| 63 |
+
"records": 80,
|
| 64 |
+
"gold_yes": 40
|
| 65 |
+
},
|
| 66 |
+
"tat_qa_judge": {
|
| 67 |
+
"records": 80,
|
| 68 |
+
"gold_yes": 40
|
| 69 |
}
|
| 70 |
}
|
| 71 |
},
|
| 72 |
"provenance": {
|
| 73 |
+
"source_revision": "a0e9b38bbac543ddef50a3aba4c1d799f78a679e",
|
| 74 |
+
"model_sha256": "c62ae5b61e458aa70aa2f51ebbd193d50e00d170cb318c60341bb68c6471242c",
|
| 75 |
"adapter_sha256": null,
|
| 76 |
"executable_sha256": "dd71ef5ac08ac18e2028db3dd84dcca7864f12b904fb9a76379c12c0f034c2fb",
|
| 77 |
+
"data_manifest_sha256": "c6eeb7ddf21a94335d6ea8c5b9ea77cc3f1f12db41220c04924d19206542314e",
|
| 78 |
"choice_order": "canonical",
|
| 79 |
+
"predictions_sha256": "52c45b33e8a75548de7e65b4b99d58bff1935487153701e30f36101ff852a403"
|
| 80 |
}
|
| 81 |
}
|
shingi-27b.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 7206168928
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c62ae5b61e458aa70aa2f51ebbd193d50e00d170cb318c60341bb68c6471242c
|
| 3 |
size 7206168928
|