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
-
Revert extraneous tokenizer config changes
Verified signaturef9281b7 -
Update AutoTokenizer path
Verified signatureecca7ac -
Add Arctic modeling/config/tokenization files
Verified signature2af13d2 -
Update README.md
Verified signatureaae4619 -
Update README.md
Verified signature169bba5 -
Update README.md
Verified signatureebffa9b -
Update README.md
Verified signaturee7ae5bd -
Update README.md
Verified signatured32df80 -
Update README.md
Verified signature0a2b9c6 -
Set BOS and EOS to <|im_start|> and <|im_end|> respectively (#1)
Verified signature- Set BOS and EOS to <|im_start|> and <|im_end|> respectively (2ede38ff39509acb6f95f3efc75add0547e13838) Co-authored-by: Ashwin Devaraj <adevaraj@users.noreply.huggingface.co>3cc5dd0 -
update BOS and EOS in generation config (#2)
Verified signature- update BOS and EOS in generation config (fe25fe31e3c57438381e095ca52b6466f2892dd3) Co-authored-by: Ashwin Devaraj <adevaraj@users.noreply.huggingface.co>e8bd8ca -
Upload special_tokens_map.json with huggingface_hub
Verified signature5bc8dc3 -
Upload tokenizer.model with huggingface_hub
Verified signaturec16aa90 -
Upload tokenizer_config.json with huggingface_hub
Verified signaturece39146
-
Upload tokenizer.json with huggingface_hub
Verified signature94f516c -
Update tokenizer_config.json
Verified signature9a1c8c0 -
Update config.json
Verified signature8265e0f
-
Upload tokenizer_config.json with huggingface_hub
Verified signature44afd12 -
Upload special_tokens_map.json with huggingface_hub
Verified signature81f2493 -
Upload generation_config.json with huggingface_hub
Verified signature78b8ee5 -
Upload tokenizer.json with huggingface_hub
Verified signatureaadb53a -
Upload tokenizer.model with huggingface_hub
Verified signature857b9da -
Upload model-00118-of-00195.safetensors with huggingface_hub
Verified signatureaa1f348 -
Upload model-00155-of-00195.safetensors with huggingface_hub
Verified signaturec797606 -
Upload model-00034-of-00195.safetensors with huggingface_hub
Verified signaturee5e175c -
Upload model-00151-of-00195.safetensors with huggingface_hub
Verified signature268c21f -
Upload model-00139-of-00195.safetensors with huggingface_hub
Verified signaturef37fcb6 -
Upload model-00003-of-00195.safetensors with huggingface_hub
Verified signaturea2f6d86 -
Upload model-00188-of-00195.safetensors with huggingface_hub
Verified signaturee54d7e2 -
Upload model-00189-of-00195.safetensors with huggingface_hub
Verified signature28329f7 -
Upload model-00058-of-00195.safetensors with huggingface_hub
Verified signaturee0f85a5 -
Upload model-00007-of-00195.safetensors with huggingface_hub
Verified signature62cd8a9 -
Upload model-00080-of-00195.safetensors with huggingface_hub
Verified signature171ec66 -
Upload model-00059-of-00195.safetensors with huggingface_hub
Verified signaturec6e2318 -
Upload model-00110-of-00195.safetensors with huggingface_hub
Verified signaturebf161b7 -
Upload model-00156-of-00195.safetensors with huggingface_hub
Verified signatureb614e01 -
Upload model-00153-of-00195.safetensors with huggingface_hub
Verified signature853d070 -
Upload model-00123-of-00195.safetensors with huggingface_hub
Verified signaturee93ce4b -
Upload model-00046-of-00195.safetensors with huggingface_hub
Verified signature87985be -
Upload model-00025-of-00195.safetensors with huggingface_hub
Verified signaturecb399ef -
Upload model-00088-of-00195.safetensors with huggingface_hub
Verified signature338a391 -
Upload model-00178-of-00195.safetensors with huggingface_hub
Verified signaturecbfdc13 -
Upload model-00128-of-00195.safetensors with huggingface_hub
Verified signaturefc88dfe -
Upload model-00168-of-00195.safetensors with huggingface_hub
Verified signature6dc0673 -
Upload model-00183-of-00195.safetensors with huggingface_hub
Verified signaturec4e5094 -
Upload model-00012-of-00195.safetensors with huggingface_hub
Verified signature1b4164c -
Upload model-00072-of-00195.safetensors with huggingface_hub
Verified signature9f44945 -
Upload model-00052-of-00195.safetensors with huggingface_hub
Verified signature81bfca1 -
Upload model-00061-of-00195.safetensors with huggingface_hub
Verified signaturee45f1a9 -
Upload model-00011-of-00195.safetensors with huggingface_hub
Verified signature28795a9