Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ModelCloud
/
Marin-32B-Base-GPTQMODEL-AWQ-W4A16

Text Generation
Safetensors
English
qwen3
gptqmodel
modelcloud
chat
marin
instruct
int4
awq
4bit
w4a16
4-bit precision
Model card Files Files and versions
xet
Community

Instructions to use ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Local Apps Settings
  • vLLM

    How to use ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16 with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16
  • SGLang

    How to use ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16 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 "ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16" \
        --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": "ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16",
    		"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 "ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16" \
            --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": "ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16 with Docker Model Runner:

    docker model run hf.co/ModelCloud/Marin-32B-Base-GPTQMODEL-AWQ-W4A16
Marin-32B-Base-GPTQMODEL-AWQ-W4A16
20.7 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Qubitium's picture
Qubitium
Update README.md
02c9ac7 verified 7 months ago
  • .gitattributes
    1.57 kB
    Add files using upload-large-folder tool 7 months ago
  • README.md
    2.79 kB
    Update README.md 7 months ago
  • config.json
    3.02 kB
    Add files using upload-large-folder tool 7 months ago
  • generation_config.json
    234 Bytes
    Add files using upload-large-folder tool 7 months ago
  • model-00001-of-00005.safetensors
    4.24 GB
    xet
    Add files using upload-large-folder tool 7 months ago
  • model-00002-of-00005.safetensors
    4.23 GB
    xet
    Add files using upload-large-folder tool 7 months ago
  • model-00003-of-00005.safetensors
    4.23 GB
    xet
    Add files using upload-large-folder tool 7 months ago
  • model-00004-of-00005.safetensors
    4.23 GB
    xet
    Add files using upload-large-folder tool 7 months ago
  • model-00005-of-00005.safetensors
    3.75 GB
    xet
    Add files using upload-large-folder tool 7 months ago
  • model.safetensors.index.json
    132 kB
    Add files using upload-large-folder tool 7 months ago
  • quantize_config.json
    561 Bytes
    Add files using upload-large-folder tool 7 months ago
  • special_tokens_map.json
    345 Bytes
    Add files using upload-large-folder tool 7 months ago
  • tokenizer.json
    17.2 MB
    xet
    Add files using upload-large-folder tool 7 months ago
  • tokenizer_config.json
    50.6 kB
    Add files using upload-large-folder tool 7 months ago