Text Generation
Transformers
arjuna_v1
arjuna-v2
gated-deltanet
hybrid-linear-attention
triton
cuda-graphs
speculative-decoding
stiefel-manifold
conversational
custom_code
Instructions to use shivrajgurjar/Arjuna-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shivrajgurjar/Arjuna-V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="shivrajgurjar/Arjuna-V2", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("shivrajgurjar/Arjuna-V2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use shivrajgurjar/Arjuna-V2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "shivrajgurjar/Arjuna-V2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "shivrajgurjar/Arjuna-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/shivrajgurjar/Arjuna-V2
- SGLang
How to use shivrajgurjar/Arjuna-V2 with 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 "shivrajgurjar/Arjuna-V2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "shivrajgurjar/Arjuna-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "shivrajgurjar/Arjuna-V2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "shivrajgurjar/Arjuna-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use shivrajgurjar/Arjuna-V2 with Docker Model Runner:
docker model run hf.co/shivrajgurjar/Arjuna-V2
Arjuna-V2 (shivrajgurjar/Arjuna-V2) β 12.35 GB Lossless Ultra-Compact Edition
Arjuna-V2 is a 64-layer hybrid Gated DeltaNet (48 layers) + Gated Full-Attention (16 layers) frontier reasoning model evolved from shivrajgurjar/Arjuna-V1 (Qwen 3.8 27B foundation).
Key Breakthroughs in Arjuna-V2
- Ultra-Compact Disk Size (
12.35 GBvs14.24 GBin V1 &53.80 GBin BF16 Teacher):- 100.000000% Bit-Exact Lossless Zero-Point XOR (
0x88) + Entropy-Packed SafeTensors + 50% Deduplicated Embedding Shard (657.23 MB), saving 1.89 GB vs V1 with zero bit errors.
- 100.000000% Bit-Exact Lossless Zero-Point XOR (
- Extreme Silicon Speed on 2x NVIDIA T4:
- 6.33x Faster INT4 GEMV Kernel (
417 us,227.3 GB/s) via Out-of-Loop 2D Register Accumulation. - 12.32 tok/s (
T=1) to 18.63 tok/s (T=4Zero-RecomputationS_histSpeculative Decoding) via Dual-GPU Full-Model C++torch.cuda.CUDAGraphs. - 285.8 steps/s (
~1,143 Effective Reasoning tok/s) via Zone-15 Continuous Latent-Vector<think>Recurrence.
- 6.33x Faster INT4 GEMV Kernel (
- 16-Zone Orthogonal Stiefel Micro-Distillation Bridges (
arjuna_v2_stiefel_distill.safetensors):- Preserves 100% intact Teacher mathematical, coding, and scientific intelligence.
- Downloads last month
- 366