How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "mechramc/kalavai-phase1-1b-science-specialist-seed42" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "mechramc/kalavai-phase1-1b-science-specialist-seed42",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "mechramc/kalavai-phase1-1b-science-specialist-seed42" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "mechramc/kalavai-phase1-1b-science-specialist-seed42",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Quick Links

KALAVAI — Science Specialist (pythia-1b, seed 42)

Fine-tuned EleutherAI/pythia-1b on Science data as part of the KALAVAI decentralized cooperative training protocol.

Paper results

Phase 1 English domains at 1B scale. MoE fusion: +7.49% ±0.01pp over best specialist (3 seeds). Mean divergence 15.28%.

How to use

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("mechramc/kalavai-phase1-1b-science-specialist-seed42")
tokenizer = AutoTokenizer.from_pretrained("EleutherAI/pythia-1b")

This model is one specialist in a KALAVAI cooperative. To reproduce the MoE fusion results from the paper, load multiple domain specialists and combine them with a trained MoE router (see the paper and GitHub for details).

Citation

@article{kumaresan2026kalavai,
  title     = {{KALAVAI}: Predicting When Independent Specialist Fusion Works
               --- A Quantitative Model for Post-Hoc Cooperative {LLM} Training},
  author    = {Kumaresan, Ramchand},
  journal   = {arXiv preprint arXiv:2603.22755},
  year      = {2026},
  url       = {https://arxiv.org/abs/2603.22755}
}
Downloads last month
2
Safetensors
Model size
1B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mechramc/kalavai-phase1-1b-science-specialist-seed42

Finetuned
(36)
this model

Collection including mechramc/kalavai-phase1-1b-science-specialist-seed42

Paper for mechramc/kalavai-phase1-1b-science-specialist-seed42