Text Generation
Transformers
Safetensors
English
deepnarra
hiraya
Mixture of Experts
hierarchical-moe
mamba2
open-llm-leaderboard
instruct
chat
conversational
Instructions to use DeepNarra/Hiraya-1-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepNarra/Hiraya-1-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DeepNarra/Hiraya-1-Instruct")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DeepNarra/Hiraya-1-Instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DeepNarra/Hiraya-1-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DeepNarra/Hiraya-1-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepNarra/Hiraya-1-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DeepNarra/Hiraya-1-Instruct
- SGLang
How to use DeepNarra/Hiraya-1-Instruct 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 "DeepNarra/Hiraya-1-Instruct" \ --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": "DeepNarra/Hiraya-1-Instruct", "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 "DeepNarra/Hiraya-1-Instruct" \ --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": "DeepNarra/Hiraya-1-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DeepNarra/Hiraya-1-Instruct with Docker Model Runner:
docker model run hf.co/DeepNarra/Hiraya-1-Instruct
Commit History
13 days ago
-
Upload model.safetensors with huggingface_hub
Verified signature766cdca -
Upload model.safetensors with huggingface_hub
Verified signature681087b -
Upload config.json with huggingface_hub
Verified signature199dcec -
Upload model.safetensors with huggingface_hub
Verified signaturec3369d2 -
Upload tokenizer_config.json with huggingface_hub
Verified signature30e9291 -
Upload tokenizer.json with huggingface_hub
Verified signatureb1ea9ba -
Upload config.json with huggingface_hub
Verified signaturef71c007
15 days ago
-
Upload model.safetensors with huggingface_hub
Verified signature1afa975 -
Upload config.json with huggingface_hub
Verified signatured1ed878 -
Upload model.safetensors with huggingface_hub
Verified signature967e6a4 -
Upload config.json with huggingface_hub
Verified signature152f5bb -
Upload model.safetensors with huggingface_hub
Verified signature61f9437 -
Upload config.json with huggingface_hub
Verified signature5d2b85e -
Upload model.safetensors with huggingface_hub
Verified signature0a4b3d7 -
Upload config.json with huggingface_hub
Verified signature99bbfc0 -
Upload model.safetensors with huggingface_hub
Verified signature1a45701 -
Upload config.json with huggingface_hub
Verified signatureba3100c -
Upload model.safetensors with huggingface_hub
Verified signature0407f33 -
Upload tokenizer_config.json with huggingface_hub
Verified signature9fcb4b8 -
Upload tokenizer.json with huggingface_hub
Verified signatureb0fc0ad -
Upload config.json with huggingface_hub
Verified signature5d2d591 -
Upload DeepNarra Hiraya-1-Instruct converged weights, manifest, tokenizer and benchmarks
Verified signature8a7bc38 -
Add official 404-token Sovereign Byte-Level BPE tokenizer.json
Verified signaturebb007dc -
Fix config.json dimensions: d_model=768, num_layers=8, vocab_size=404 to match model.safetensors
Verified signature208e638
16 days ago
-
Upload DeepNarra Hiraya-1-Instruct converged weights, manifest, tokenizer and benchmarks
Verified signature3327ab2 -
initial commit
Verified signatureedeea32