Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

stelterlab
/
OlympicCoder-32B-AWQ

Text Generation
Safetensors
English
qwen2
conversational
4-bit precision
awq
Model card Files Files and versions
xet
Community

Instructions to use stelterlab/OlympicCoder-32B-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Local Apps
  • vLLM

    How to use stelterlab/OlympicCoder-32B-AWQ with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "stelterlab/OlympicCoder-32B-AWQ"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "stelterlab/OlympicCoder-32B-AWQ",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/stelterlab/OlympicCoder-32B-AWQ
  • SGLang

    How to use stelterlab/OlympicCoder-32B-AWQ 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 "stelterlab/OlympicCoder-32B-AWQ" \
        --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": "stelterlab/OlympicCoder-32B-AWQ",
    		"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 "stelterlab/OlympicCoder-32B-AWQ" \
            --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": "stelterlab/OlympicCoder-32B-AWQ",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use stelterlab/OlympicCoder-32B-AWQ with Docker Model Runner:

    docker model run hf.co/stelterlab/OlympicCoder-32B-AWQ
OlympicCoder-32B-AWQ
19.3 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
stelterlab's picture
stelterlab
initial version
5918bcf verified about 1 year ago
  • .gitattributes
    1.57 kB
    initial version about 1 year ago
  • README.md
    2.63 kB
    initial version about 1 year ago
  • added_tokens.json
    605 Bytes
    initial version about 1 year ago
  • config.json
    988 Bytes
    initial version about 1 year ago
  • generation_config.json
    243 Bytes
    initial version about 1 year ago
  • merges.txt
    1.67 MB
    initial version about 1 year ago
  • model-00001-of-00004.safetensors
    4.96 GB
    xet
    initial version about 1 year ago
  • model-00002-of-00004.safetensors
    4.99 GB
    xet
    initial version about 1 year ago
  • model-00003-of-00004.safetensors
    4.96 GB
    xet
    initial version about 1 year ago
  • model-00004-of-00004.safetensors
    4.42 GB
    xet
    initial version about 1 year ago
  • model.safetensors.index.json
    137 kB
    initial version about 1 year ago
  • special_tokens_map.json
    610 Bytes
    initial version about 1 year ago
  • tokenizer.json
    11.4 MB
    xet
    initial version about 1 year ago
  • tokenizer_config.json
    7.34 kB
    initial version about 1 year ago
  • vocab.json
    2.78 MB
    initial version about 1 year ago