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 "Hanuman2/Supra-1.5-50M-Base-exp" \
    --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": "Hanuman2/Supra-1.5-50M-Base-exp",
		"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 "Hanuman2/Supra-1.5-50M-Base-exp" \
        --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": "Hanuman2/Supra-1.5-50M-Base-exp",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Quick Links

Supra1.5-50M Base

Continued Pretraining • 50M Parameters • 5K Context

Supra-1.5-Base-EXP

Supra-1.5-50M-Base-exp is a continued-pretrained 50M parameter Llama-style base model derived from SupraLabs/Supra-50M-Base. The target update expands the usable context window from 1,024 tokens to 5,120 tokens using RoPE scaling and full-weight continued pretraining.

Architecture

The model keeps the original Supra-50M architecture and tokenizer:

Specification Value
Architecture LlamaForCausalLM
Parameters ~50M
Vocabulary Size 32,000
Hidden Size 512
Layers 12
Attention Heads 8
KV Heads 4
Context Length 5,120 tokens
Tokenizer Original Supra byte-level BPE tokenizer

Continued Pretraining Objective

This is CPT, not instruction fine-tuning. Training uses packed raw text with standard causal language-modeling loss:

  • labels = input_ids
  • all non-pad tokens are trained
  • no response-only masking
  • no system/user/assistant masking
  • no LoRA adapters in the default run

Data Mix

The current local training mix prepared for this run is:

  • 3,000,000,062 CPT tokens
    • 30% Tool Calling
    • 30% ChatML Conversations
    • 25% Factual Text (articles, essays, blogs)
    • 15% Math & Logic Questions

Intended Use

Supervised Fine-Tuning (SFT) and Reinforcement Learning

Downloads last month
14
Safetensors
Model size
51.8M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support