Instructions to use DarkGenius01/Intelligence_OS_1p5B-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 DarkGenius01/Intelligence_OS_1p5B-GGUF 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 DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M
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 DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use DarkGenius01/Intelligence_OS_1p5B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DarkGenius01/Intelligence_OS_1p5B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DarkGenius01/Intelligence_OS_1p5B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M
- Ollama
How to use DarkGenius01/Intelligence_OS_1p5B-GGUF with Ollama:
ollama run hf.co/DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use DarkGenius01/Intelligence_OS_1p5B-GGUF with Docker Model Runner:
docker model run hf.co/DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M
- Lemonade
How to use DarkGenius01/Intelligence_OS_1p5B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DarkGenius01/Intelligence_OS_1p5B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Intelligence_OS_1p5B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Intelligence_OS_1p5B β GGUF
GGUF build of shreyansh-programmer/Intelligence_OS_1p5B,
a from-scratch decoder-only sparse MoE model. Runs in LM Studio, llama.cpp, ollama
(import), and anything else that speaks GGUF.
The upstream repo ships raw PyTorch checkpoints (intelligence_os_1p5b_latest.pt) written with
a custom model.py β there is no transformers model, and no usable tokenizer. This repo
contains the converted weights, so you can use the model without reproducing the conversion.
Files
| file | size | notes |
|---|---|---|
Intelligence_OS_1p5B-Q4_K_M.gguf |
424 MiB | 4-bit; the one to use |
Intelligence_OS_1p5B-f16.gguf |
1 371 MiB | reference build, matches the PyTorch model |
What the model actually is
Values read from the checkpoint itself (the upstream config.json does not match the weights):
| parameters | 718 505 984 (~0.72 B), fp16 |
| layers | 24 |
| hidden size | 1024 |
| attention | GQA, 16 query / 4 KV heads, head_dim 64 |
| FFN | MoE, 4 SwiGLU experts, top-2, expert hidden 2048 |
| norms | pre-norm RMSNorm, eps 1e-5 |
| positions | RoPE, theta 10000, max context 4096 |
| vocab | 50 257 (GPT-2 BPE) |
| embeddings | tied |
| training | 40 009 steps, 163 876 864 tokens, ~60 h |
So it is a 0.72 B model, not 1.5 B: "1.5B" is the theoretical configuration in the
upstream config.json (26 layers / hidden 2048 / vocab 49152), which never matches the
released weights.
How it was converted
The architecture is structurally Mixtral (GQA + RoPE + pre-norm RMSNorm + SwiGLU MoE top-2),
so the tensors were renamed to the MixtralForCausalLM layout (which current llama.cpp maps
to its llama architecture, MoE-capable) and converted with the stock
convert_hf_to_gguf.py. Scripts are in scripts/.
Two details that are easy to get wrong, and were handled here:
- RoPE convention. The model rotates pairs of neighbouring values, while
convert_hf_to_gguf.pyassumes HF-Llama'srotate_halflayout and permutesq_proj/k_proj. The conversion therefore pre-applies the inverse permutation β withn_kv_heads(4) fork_proj, notn_heads(16). - Tokenizer. The upstream repo only has a 512-token stub. The embedding has 50 257 rows, so the GPT-2 BPE tokenizer is used. This is an inference (no tokenizer files survive in the upstream repo), but generated text is coherent English, which is consistent with it.
Verification: greedy decoding of the f16 build reproduces the PyTorch reference
(token-for-token, temperature = 0), and perplexity drops from 3739 (a build with the
k_proj bug) to 134.8 (f16) / 134.1 (Q4_K_M) on the same test text.
Usage
LM Studio
lms import Intelligence_OS_1p5B-Q4_K_M.gguf --user-repo local/intelligence-os -c
Or drag the file into the app. Chat template: use Empty (or the Jinja equivalent
{% for message in messages %}{{ message['content'] + '\n' }}{% endfor %}) β the model is a
base model and was never instruction-tuned, so any chat scaffolding only hurts.
llama.cpp
llama-cli -m Intelligence_OS_1p5B-Q4_K_M.gguf -p "Step 1:" -n 128 --temp 0.2 --repeat-penalty 1.3
ollama
cat > Modelfile <<'EOF'
FROM ./Intelligence_OS_1p5B-Q4_K_M.gguf
TEMPLATE "{{ .Prompt }}"
PARAMETER temperature 0.2
PARAMETER repeat_penalty 1.3
EOF
ollama create intelligence-os -f Modelfile
Sampling matters a lot
The model has a very peaked, repetitive next-token distribution. With LM Studio defaults
(temp 0.8, top_k 40, top_p 0.95, repeat_penalty 1.1) it collapses into loops
($16 * $16 * $16 β¦). Verified on this build:
| settings | output for The capital of France is |
|---|---|
temp 0 |
Step 4: Multiply df/du by 2: f'(x) = 4.00 β¦ |
temp 0.8 / k40 / p0.95 / rep 1.1 |
β¦ second second second β¦ space space space β¦ (loop) |
temp 0.8 + DRY (0.8 / 1.75 / 2 / 512) |
Step 1: β¦ 3/2 + 3/4 = 9/25 β¦ |
Recommended: temperature 0.1β0.3, top_k 20β40, top_p 0.9, repeat_penalty 1.2β1.3,
and DRY if your runtime exposes it. Keep answers short (100β150 tokens).
Limitations
- Not an assistant. It was trained on 164 M tokens (β85Γ less than Chinchilla-optimal for
this size) and mostly continues "textbook" patterns: math word problems,
Step 1: β¦,Therefore if β¦. Ask it a question and you will often get math soup instead of an answer. - No chat template is embedded:
tokenizer.chat_templateis intentionally absent because the model has no instruction format. - Tokenizer is inferred (GPT-2 BPE), see above. If the original training used an extended GPT-2 vocabulary, some prompts will be tokenized differently.
- Upstream describes the model as a research prototype
(
"status": "architecture scaffold"), and this repo is a faithful conversion of exactly that. - Converted and quantized on Apple Silicon; the 4-bit build was produced with
llama-quantize β¦ Q4_K_Mand loads in LM Studio's runtime (llama.cpp 2.70.0).
Reproduction
# 1. repack the PyTorch checkpoint into a Mixtral-style HF directory
python scripts/ios2hf.py intelligence_os_1p5b_latest.pt ./hf --heads 16 --head-dim 64 --tokenizer-dir ./gpt2-tok
# 2. convert + quantize
python convert_hf_to_gguf.py ./hf --outtype f16 --outfile ios-f16.gguf
llama-quantize ios-f16.gguf ios-Q4_K_M.gguf Q4_K_M
scripts/inspect_ckpt.py prints what is inside a checkpoint, scripts/check_gguf.py verifies
the resulting GGUF (architecture, hyperparameters, MoE tensors, tokenizer).
Licence
Apache-2.0, inherited from the upstream model. Upstream: shreyansh-programmer/Intelligence_OS_1p5B.
- Downloads last month
- 72
4-bit
16-bit
Model tree for DarkGenius01/Intelligence_OS_1p5B-GGUF
Base model
shreyansh-programmer/Intelligence_OS_1p5B