Text Generation
Transformers
Safetensors
olmo3_siamese_depth
olmo3
custom-code
siamese-norm
depth-attention
sliding-window-attention
conversational
custom_code
Instructions to use ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think
- SGLang
How to use ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think 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 "ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think" \ --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": "ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think", "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 "ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think" \ --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": "ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think with Docker Model Runner:
docker model run hf.co/ArchSpace-Collection/OLMo3-1B-SiameseNorm-DepthAttention-stage4-think
| e051b876785dc5f1e7f25aed227f4240c498870178f87f32412030ac7e4aad71 README.md | |
| e2144e7990128799f6eaf6430ea0a472dbb17e076bdb08b327887e59f84657be __init__.py | |
| a3d6a7ad3fde8e26fa9953d80ac30682f7d56ac1d03f3428910a4239a4e23bef chat_template.jinja | |
| 77c545f18298aa5960d58d0c83eb752b8559ebac016f5755a3aef50b226588c8 config.json | |
| d66ccce18efda42443a91536bf907e7bcb6e2d0acd0c8dc70d69eb15f277d634 configuration_olmo3_siamese_depth.py | |
| dbd4aa5dc6f7f1bdc0c181d9e5582f6571e1d2a22878dfcd98149324b9f5c4a2 generation_config.json | |
| b6fe424e334903f7fb84d3a106d9730455f4744b9fe3c21ee136d97a00e72502 merges.txt | |
| 29c4567bcbcaf74acfca88df34c23fd23604f1ad66b933ff92bf72991c01ed58 model.safetensors | |
| 12329a1f6cb1732bf100bda2ee2dd62761f6485aefb0a977879eb6d74f764aa6 modeling_olmo3_siamese_depth.py | |
| 78afb564e81264029b25f9caf24bda2521d5bdaeff5cd3fdbc01d3da2e8ce2f2 special_tokens_map.json | |
| 7738a25c46a6043a0e2e605138851baa450269ce9d800af6ca9bf6192e45510c tokenizer.json | |
| 5f959b9c0cff767a63f22a0569e0554cce28214fb49e41479ba326f44169c5ec tokenizer_config.json | |
| d8eb44d0d51f5e39c9b14825ca8bd10a2500f99c438ca81d4462f0263acd3b53 vocab.json | |