Text Generation
Transformers
Safetensors
arctic
snowflake
Mixture of Experts
conversational
custom_code
Instructions to use Snowflake/snowflake-arctic-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Snowflake/snowflake-arctic-instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Snowflake/snowflake-arctic-instruct", 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", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Snowflake/snowflake-arctic-instruct 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" # 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", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Snowflake/snowflake-arctic-instruct
- SGLang
How to use Snowflake/snowflake-arctic-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 "Snowflake/snowflake-arctic-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": "Snowflake/snowflake-arctic-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 "Snowflake/snowflake-arctic-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": "Snowflake/snowflake-arctic-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Snowflake/snowflake-arctic-instruct with Docker Model Runner:
docker model run hf.co/Snowflake/snowflake-arctic-instruct
Commit History
-
Upload model-00194-of-00194.safetensors with huggingface_hub
Verified signaturefb6a619 -
Upload model-00193-of-00194.safetensors with huggingface_hub
Verified signature0a2baf9 -
Upload model-00192-of-00194.safetensors with huggingface_hub
Verified signature138cba0 -
Upload model-00191-of-00194.safetensors with huggingface_hub
Verified signature6e6b506 -
Upload model-00190-of-00194.safetensors with huggingface_hub
Verified signature00a8ab7 -
Upload model-00189-of-00194.safetensors with huggingface_hub
Verified signatureb4d9ca6 -
Upload model-00188-of-00194.safetensors with huggingface_hub
Verified signatureee85462 -
Upload model-00187-of-00194.safetensors with huggingface_hub
Verified signaturefe0ba4e -
Upload model-00186-of-00194.safetensors with huggingface_hub
Verified signatureac031fd -
Upload model-00185-of-00194.safetensors with huggingface_hub
Verified signature147b1dd -
Upload model-00184-of-00194.safetensors with huggingface_hub
Verified signature119fb62 -
Upload model-00183-of-00194.safetensors with huggingface_hub
Verified signature7e897e8 -
Upload model-00182-of-00194.safetensors with huggingface_hub
Verified signaturea50e765 -
Upload model-00181-of-00194.safetensors with huggingface_hub
Verified signature894b668 -
Upload model-00180-of-00194.safetensors with huggingface_hub
Verified signatureff9af02 -
Upload model-00179-of-00194.safetensors with huggingface_hub
Verified signatureb7ae90b -
Upload model-00178-of-00194.safetensors with huggingface_hub
Verified signature1f5942b -
Upload model-00177-of-00194.safetensors with huggingface_hub
Verified signaturef61fe45 -
Upload model-00176-of-00194.safetensors with huggingface_hub
Verified signatured822f3c -
Upload model-00175-of-00194.safetensors with huggingface_hub
Verified signaturedbf6743 -
Upload model-00174-of-00194.safetensors with huggingface_hub
Verified signature9c148ca -
Upload model-00173-of-00194.safetensors with huggingface_hub
Verified signatured099a5e -
Upload model-00172-of-00194.safetensors with huggingface_hub
Verified signature2d53165 -
Upload model-00171-of-00194.safetensors with huggingface_hub
Verified signature65856ef -
Upload model-00170-of-00194.safetensors with huggingface_hub
Verified signaturea926567 -
Upload model-00169-of-00194.safetensors with huggingface_hub
Verified signatured2ca9cd -
Upload model-00168-of-00194.safetensors with huggingface_hub
Verified signature27e508d -
Upload model-00167-of-00194.safetensors with huggingface_hub
Verified signature6a49f28 -
Upload model-00166-of-00194.safetensors with huggingface_hub
Verified signature1a8970e -
Upload model-00165-of-00194.safetensors with huggingface_hub
Verified signature4914454 -
Upload model-00164-of-00194.safetensors with huggingface_hub
Verified signature55c9437 -
Upload model-00163-of-00194.safetensors with huggingface_hub
Verified signaturec9a7b5d -
Upload model-00162-of-00194.safetensors with huggingface_hub
Verified signature175edbb -
Upload model-00161-of-00194.safetensors with huggingface_hub
Verified signatured03d5a3 -
Upload model-00160-of-00194.safetensors with huggingface_hub
Verified signature5533640 -
Upload model-00159-of-00194.safetensors with huggingface_hub
Verified signature1dc61a4 -
Upload model-00158-of-00194.safetensors with huggingface_hub
Verified signature6890236 -
Upload model-00157-of-00194.safetensors with huggingface_hub
Verified signature56c6dcc -
Upload model-00156-of-00194.safetensors with huggingface_hub
Verified signature9f2d3a5 -
Upload model-00155-of-00194.safetensors with huggingface_hub
Verified signature8e3ef2b -
Upload model-00154-of-00194.safetensors with huggingface_hub
Verified signature3f0ea3f -
Upload model-00153-of-00194.safetensors with huggingface_hub
Verified signaturec7de6df -
Upload model-00152-of-00194.safetensors with huggingface_hub
Verified signature82f9c3e -
Upload model-00151-of-00194.safetensors with huggingface_hub
Verified signatureeb7ef80 -
Upload model-00150-of-00194.safetensors with huggingface_hub
Verified signature9ed806e -
Upload model-00149-of-00194.safetensors with huggingface_hub
Verified signature3627b5b -
Upload model-00148-of-00194.safetensors with huggingface_hub
Verified signaturec8650c7 -
Upload model-00147-of-00194.safetensors with huggingface_hub
Verified signature1f3abf3 -
Upload model-00146-of-00194.safetensors with huggingface_hub
Verified signaturebf7cac2 -
Upload model-00145-of-00194.safetensors with huggingface_hub
Verified signature46fb653