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
/
Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3

Text Generation
Safetensors
llama
gptqmodel
modelcloud
llama3.2
instruct
int4
conversational
4-bit precision
gptq
Model card Files Files and versions
xet
Community
1

Instructions to use ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Local Apps
  • vLLM

    How to use ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3 with vLLM:

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

    How to use ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3 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/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3" \
        --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": "ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3",
    		"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 "ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3" \
            --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": "ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3 with Docker Model Runner:

    docker model run hf.co/ModelCloud/Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3
Llama-3.2-3B-Instruct-gptqmodel-4bit-vortex-v3
3.22 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
lrl-modelcloud's picture
lrl-modelcloud
Update README.md
73c1bb4 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    1.55 kB
    Update README.md over 1 year ago
  • config.json
    1.38 kB
    Upload folder using huggingface_hub (#1) over 1 year ago
  • model.safetensors
    3.21 GB
    xet
    Upload folder using huggingface_hub (#1) over 1 year ago
  • quantize_config.json
    385 Bytes
    Upload folder using huggingface_hub (#1) over 1 year ago
  • special_tokens_map.json
    296 Bytes
    Upload folder using huggingface_hub (#1) over 1 year ago
  • tokenizer.json
    9.09 MB
    Upload folder using huggingface_hub (#1) over 1 year ago
  • tokenizer_config.json
    54.5 kB
    Upload folder using huggingface_hub (#1) over 1 year ago