Instructions to use Snowflake/snowflake-arctic-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Snowflake/snowflake-arctic-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Snowflake/snowflake-arctic-base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Snowflake/snowflake-arctic-base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Snowflake/snowflake-arctic-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Snowflake/snowflake-arctic-base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Snowflake/snowflake-arctic-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Snowflake/snowflake-arctic-base
- SGLang
How to use Snowflake/snowflake-arctic-base 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-base" \ --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": "Snowflake/snowflake-arctic-base", "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 "Snowflake/snowflake-arctic-base" \ --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": "Snowflake/snowflake-arctic-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Snowflake/snowflake-arctic-base with Docker Model Runner:
docker model run hf.co/Snowflake/snowflake-arctic-base
Commit History
-
Revert instruct-specific BOS/EOS tokens
Verified signature0957395 -
Add Arctic modeling/config/tokenization files
Verified signatureSee https://huggingface.co/Snowflake/snowflake-arctic-instruct/discussions/3d4d6c14 -
Update README.md
Verified signatureed4a9e8 -
Update README.md
Verified signature556a2fa -
Update README.md
Verified signature05b987a
-
Upload model-00195-of-00195.safetensors with huggingface_hub
Verified signaturec04574c -
Upload model-00194-of-00195.safetensors with huggingface_hub
Verified signature68aad90 -
Upload model-00193-of-00195.safetensors with huggingface_hub
Verified signature49d580b -
Upload model-00192-of-00195.safetensors with huggingface_hub
Verified signature23b9bb4 -
Upload model-00191-of-00195.safetensors with huggingface_hub
Verified signaturef0a248d -
Upload model-00190-of-00195.safetensors with huggingface_hub
Verified signature613c926 -
Upload model-00189-of-00195.safetensors with huggingface_hub
Verified signature59b6d56 -
Upload model-00188-of-00195.safetensors with huggingface_hub
Verified signaturedfc2879 -
Upload model-00187-of-00195.safetensors with huggingface_hub
Verified signaturecd169c0 -
Upload model-00186-of-00195.safetensors with huggingface_hub
Verified signaturec2521ed -
Upload model-00185-of-00195.safetensors with huggingface_hub
Verified signature4504e0d -
Upload model-00184-of-00195.safetensors with huggingface_hub
Verified signaturebb62e64 -
Upload model-00183-of-00195.safetensors with huggingface_hub
Verified signatureb035514 -
Upload model-00182-of-00195.safetensors with huggingface_hub
Verified signature0d3fd90 -
Upload model-00181-of-00195.safetensors with huggingface_hub
Verified signaturee4b9fad -
Upload model-00180-of-00195.safetensors with huggingface_hub
Verified signature8f4c088 -
Upload model-00179-of-00195.safetensors with huggingface_hub
Verified signature1703df2 -
Upload model-00178-of-00195.safetensors with huggingface_hub
Verified signature0694e49 -
Upload model-00177-of-00195.safetensors with huggingface_hub
Verified signatureb163226 -
Upload model-00176-of-00195.safetensors with huggingface_hub
Verified signature0b265e0 -
Upload model-00175-of-00195.safetensors with huggingface_hub
Verified signature22a5f14 -
Upload model-00174-of-00195.safetensors with huggingface_hub
Verified signature2d128dd -
Upload model-00173-of-00195.safetensors with huggingface_hub
Verified signature87a9fb2 -
Upload model-00172-of-00195.safetensors with huggingface_hub
Verified signatureed550b7 -
Upload model-00171-of-00195.safetensors with huggingface_hub
Verified signature0f5b20b -
Upload model-00170-of-00195.safetensors with huggingface_hub
Verified signature8d68a66 -
Upload model-00169-of-00195.safetensors with huggingface_hub
Verified signature9ae5861 -
Upload model-00168-of-00195.safetensors with huggingface_hub
Verified signature6dc9f8f -
Upload model-00167-of-00195.safetensors with huggingface_hub
Verified signaturee157f8d -
Upload model-00166-of-00195.safetensors with huggingface_hub
Verified signature4ffb174 -
Upload model-00165-of-00195.safetensors with huggingface_hub
Verified signaturedc669a8 -
Upload model-00164-of-00195.safetensors with huggingface_hub
Verified signature82470e8 -
Upload model-00163-of-00195.safetensors with huggingface_hub
Verified signature77f336e -
Upload model-00162-of-00195.safetensors with huggingface_hub
Verified signature4a69898 -
Upload model-00161-of-00195.safetensors with huggingface_hub
Verified signature7e66432 -
Upload model-00160-of-00195.safetensors with huggingface_hub
Verified signature5b8ad59 -
Upload model-00159-of-00195.safetensors with huggingface_hub
Verified signature6782d2f -
Upload model-00158-of-00195.safetensors with huggingface_hub
Verified signature3c3f163 -
Upload model-00157-of-00195.safetensors with huggingface_hub
Verified signature6d80f52 -
Upload model-00156-of-00195.safetensors with huggingface_hub
Verified signatureb3756a3 -
Upload model-00155-of-00195.safetensors with huggingface_hub
Verified signature888ed41 -
Upload model-00154-of-00195.safetensors with huggingface_hub
Verified signature6c72383 -
Upload model-00153-of-00195.safetensors with huggingface_hub
Verified signaturea739ef8 -
Upload model-00152-of-00195.safetensors with huggingface_hub
Verified signature1e6b056 -
Upload model-00151-of-00195.safetensors with huggingface_hub
Verified signature0eacb58