Scalar Phos Pro (Fully Merged) repository containing fully un-quantized 16-bit safetensor shards with LoRA adapters baked directly into the base weights. Optimized for automated evaluation leaderboards, vLLM, SGLang, and high-performance cloud inference.
Looking for lightweight PEFT LoRA adapters for Python training?
Check out the main repository: scalar-ai/scalar-phos-pro
Looking for GGUF binaries for Ollama & local edge inference?
Check out the companion repository: scalar-ai/scalar-phos-pro-gguf
Scalar-Phos-Pro-Merged combines the base foundation intelligence of meta-llama/Llama-3.1-8B-Instruct with our fine-tuned rank-16 QLoRA instruction adapters into a single, unified 16-bit BFloat16 model.
This repository is specifically packaged to satisfy automated evaluation harnesses (such as the Hugging Face Open LLM Leaderboard) and production inference engines that require standard multi-shard safetensors without dynamic PEFT wrapper overhead.
| MMLU Disciplinary Category | Scalar-Phos-Pro Accuracy | Base Parity Retention |
|---|---|---|
| Social Sciences | 78.06% | 97.33% |
| Humanities | 69.23% | 96.83% |
| Other (Business / Medicine) | 68.72% | 97.06% |
| STEM | 55.96% | 96.32% |
| Overall MMLU | 66.55% | 95.89% |
Because these weights are fully merged, you can load and run the model directly using standard Hugging Face pipelines without needing the peft library:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "scalar-ai/scalar-phos-pro-merged"
print("🚀 Loading Scalar Phos Pro (Merged)...")
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
# Format prompt using Llama-3.1 chat template
messages = [
{"role": "system", "content": "You are Scalar Phos Pro, an expert AI assistant."},
{"role": "user", "content": "Explain the significance of model merging in large language models."}
]
input_ids = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
return_tensors="pt"
).to(model.device)
outputs = model.generate(
input_ids,
max_new_tokens=512,
temperature=0.7,
do_sample=True
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
vLLM)To serve this merged model efficiently with high throughput using vLLM:
python -m vllm.entrypoints.openai.api_server \
--model scalar-ai/scalar-phos-pro-merged \
--tensor-parallel-size 1 \
--max-model-len 8192
Released under the Llama 3.1 Community License Agreement.
model-00002-of-00004.safetensors 5.0 GBmodel-00001-of-00004.safetensors 5.0 GBmodel-00003-of-00004.safetensors 4.9 GBmodel-00004-of-00004.safetensors 1.2 GB