Instructions to use Snowflake/snowflake-arctic-instruct-vllm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Snowflake/snowflake-arctic-instruct-vllm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Snowflake/snowflake-arctic-instruct-vllm", 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("Snowflake/snowflake-arctic-instruct-vllm", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Snowflake/snowflake-arctic-instruct-vllm with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Snowflake/snowflake-arctic-instruct-vllm" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Snowflake/snowflake-arctic-instruct-vllm", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Snowflake/snowflake-arctic-instruct-vllm
- SGLang
How to use Snowflake/snowflake-arctic-instruct-vllm 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 "Snowflake/snowflake-arctic-instruct-vllm" \ --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": "Snowflake/snowflake-arctic-instruct-vllm", "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 "Snowflake/snowflake-arctic-instruct-vllm" \ --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": "Snowflake/snowflake-arctic-instruct-vllm", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Snowflake/snowflake-arctic-instruct-vllm with Docker Model Runner:
docker model run hf.co/Snowflake/snowflake-arctic-instruct-vllm
Commit History
-
Update README.md
Verified signatured5454a3 -
Upload tokenizer_config.json with huggingface_hub
Verified signature26d6498 -
Upload config.json with huggingface_hub
Verified signature5c1c83b -
Upload tokenization_arctic.py with huggingface_hub
Verified signaturebe0db57 -
Upload modeling_arctic.py with huggingface_hub
Verified signature1d65bfa -
Upload configuration_arctic.py with huggingface_hub
Verified signatureaa6eb8c
-
Upload model-rank-7-part-9.safetensors with huggingface_hub
Verified signature67c9921 -
Upload model-rank-7-part-8.safetensors with huggingface_hub
Verified signatured48ca69 -
Upload model-rank-7-part-7.safetensors with huggingface_hub
Verified signature5096d73 -
Upload model-rank-7-part-6.safetensors with huggingface_hub
Verified signature9112f30 -
Upload model-rank-7-part-5.safetensors with huggingface_hub
Verified signature94eb5ce -
Upload model-rank-7-part-4.safetensors with huggingface_hub
Verified signature7dcddc4 -
Upload model-rank-7-part-3.safetensors with huggingface_hub
Verified signaturedb4e8ed -
Upload model-rank-7-part-2.safetensors with huggingface_hub
Verified signature2730e80 -
Upload model-rank-7-part-11.safetensors with huggingface_hub
Verified signature6c2236d -
Upload model-rank-7-part-10.safetensors with huggingface_hub
Verified signature013830d -
Upload model-rank-7-part-1.safetensors with huggingface_hub
Verified signaturee44104e -
Upload model-rank-7-part-0.safetensors with huggingface_hub
Verified signatureba4956b -
Upload model-rank-6-part-9.safetensors with huggingface_hub
Verified signature67cf67f -
Upload model-rank-6-part-8.safetensors with huggingface_hub
Verified signature83885c4 -
Upload model-rank-6-part-7.safetensors with huggingface_hub
Verified signature9badd2f -
Upload model-rank-6-part-6.safetensors with huggingface_hub
Verified signature7f8034c -
Upload model-rank-6-part-5.safetensors with huggingface_hub
Verified signature80c3f72 -
Upload model-rank-6-part-4.safetensors with huggingface_hub
Verified signature2d837f8 -
Upload model-rank-6-part-3.safetensors with huggingface_hub
Verified signature6d3ec90 -
Upload model-rank-6-part-2.safetensors with huggingface_hub
Verified signature6d88d23 -
Upload model-rank-6-part-11.safetensors with huggingface_hub
Verified signature0bddaa5 -
Upload model-rank-6-part-10.safetensors with huggingface_hub
Verified signaturee726e3c -
Upload model-rank-6-part-1.safetensors with huggingface_hub
Verified signatureab451f0 -
Upload model-rank-6-part-0.safetensors with huggingface_hub
Verified signature0de0653 -
Upload model-rank-5-part-9.safetensors with huggingface_hub
Verified signatureccb36e1 -
Upload model-rank-5-part-8.safetensors with huggingface_hub
Verified signature3791a96 -
Upload model-rank-5-part-7.safetensors with huggingface_hub
Verified signaturec8eab9a -
Upload model-rank-5-part-6.safetensors with huggingface_hub
Verified signature9aaed41 -
Upload model-rank-5-part-5.safetensors with huggingface_hub
Verified signature1c039e8 -
Upload model-rank-5-part-4.safetensors with huggingface_hub
Verified signature6d25815 -
Upload model-rank-5-part-3.safetensors with huggingface_hub
Verified signature8aafdb0 -
Upload model-rank-5-part-2.safetensors with huggingface_hub
Verified signature2f23845 -
Upload model-rank-5-part-11.safetensors with huggingface_hub
Verified signature0fa4f14 -
Upload model-rank-5-part-10.safetensors with huggingface_hub
Verified signature5eebc14 -
Upload model-rank-5-part-1.safetensors with huggingface_hub
Verified signature3d7e7f0 -
Upload model-rank-5-part-0.safetensors with huggingface_hub
Verified signature796da56 -
Upload model-rank-4-part-9.safetensors with huggingface_hub
Verified signature84cf393 -
Upload model-rank-4-part-8.safetensors with huggingface_hub
Verified signatureedf881d -
Upload model-rank-4-part-7.safetensors with huggingface_hub
Verified signatureb5c33a9 -
Upload model-rank-4-part-6.safetensors with huggingface_hub
Verified signatured0bbaa7 -
Upload model-rank-4-part-5.safetensors with huggingface_hub
Verified signature18ff8cf -
Upload model-rank-4-part-4.safetensors with huggingface_hub
Verified signaturef7bfc79 -
Upload model-rank-4-part-3.safetensors with huggingface_hub
Verified signaturecd47040 -
Upload model-rank-4-part-2.safetensors with huggingface_hub
Verified signature938b47d