Text Generation
Transformers
Safetensors
English
multilingual
deepnarra
hiraya
instruct
chat
agent
908m
0.9b
v1.0
14-horizons
h-moe
cua
mua
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/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepNarra/Hiraya-1-Instruct", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepNarra/Hiraya-1-Instruct", "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 "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/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepNarra/Hiraya-1-Instruct", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - 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
14 days ago
-
Add upstream dataset & open-source attribution NOTICE
Verified signature85f51fd -
Add official Apache License 2.0 legal text
Verified signature6bfdae4 -
Publish verified factual Model Card (README.md) with Apache-2.0 & ODC-By attributions
Verified signaturebf479dc -
Upload model.safetensors with huggingface_hub
Verified signature9d6a5bf -
Upload tokenizer_config.json with huggingface_hub
Verified signature0ae47e0 -
Upload tokenizer.json with huggingface_hub
Verified signaturef8a0f70 -
Upload config.json with huggingface_hub
Verified signature99d18d5 -
initial commit
Verified signaturef0ab291