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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Akashium
/
DeepSeek-R1-Distill-Llama-8B-GPTQ

Text Generation
Safetensors
llama
gptq
q8_0
conversational
8-bit precision
Model card Files Files and versions
xet
Community

Instructions to use Akashium/DeepSeek-R1-Distill-Llama-8B-GPTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Local Apps Settings
  • vLLM

    How to use Akashium/DeepSeek-R1-Distill-Llama-8B-GPTQ with vLLM:

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

    How to use Akashium/DeepSeek-R1-Distill-Llama-8B-GPTQ 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 "Akashium/DeepSeek-R1-Distill-Llama-8B-GPTQ" \
        --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": "Akashium/DeepSeek-R1-Distill-Llama-8B-GPTQ",
    		"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 "Akashium/DeepSeek-R1-Distill-Llama-8B-GPTQ" \
            --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": "Akashium/DeepSeek-R1-Distill-Llama-8B-GPTQ",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use Akashium/DeepSeek-R1-Distill-Llama-8B-GPTQ with Docker Model Runner:

    docker model run hf.co/Akashium/DeepSeek-R1-Distill-Llama-8B-GPTQ
DeepSeek-R1-Distill-Llama-8B-GPTQ
9.27 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Akashium's picture
Akashium
Update README.md
7b8deb0 verified over 1 year ago
  • .gitattributes
    1.57 kB
    Upload 8 files over 1 year ago
  • README.md
    309 Bytes
    Update README.md over 1 year ago
  • config.json
    1.5 kB
    Upload 8 files over 1 year ago
  • generation_config.json
    181 Bytes
    Upload 8 files over 1 year ago
  • model-00001-of-00002.safetensors
    4.95 GB
    xet
    Upload 8 files over 1 year ago
  • model-00002-of-00002.safetensors
    4.3 GB
    xet
    Upload 8 files over 1 year ago
  • model.safetensors.index.json
    78.5 kB
    Upload 8 files over 1 year ago
  • special_tokens_map.json
    485 Bytes
    Upload 8 files over 1 year ago
  • tokenizer.json
    17.2 MB
    xet
    Upload 8 files over 1 year ago
  • tokenizer_config.json
    52.9 kB
    Upload 8 files over 1 year ago