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

  • Log In
  • Sign Up

SiddharthaChekuri
/
deepseek-coder-6.7b-aie-qlora

Text Generation
PEFT
Safetensors
Transformers
lora
conversational
Model card Files Files and versions
xet
Community

Instructions to use SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("deepseek-ai/deepseek-coder-6.7b-instruct")
    model = PeftModel.from_pretrained(base_model, "SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora")
  • Transformers

    How to use SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora with vLLM:

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

    How to use SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora 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 "SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora" \
        --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": "SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora",
    		"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 "SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora" \
            --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": "SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora with Docker Model Runner:

    docker model run hf.co/SiddharthaChekuri/deepseek-coder-6.7b-aie-qlora
deepseek-coder-6.7b-aie-qlora
162 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
SiddharthaChekuri's picture
SiddharthaChekuri
deepseek-ai/deepseek-coder-6.7b-instruct AIE QLoRA adapter - 11K dataset
befedda verified 17 days ago
  • .gitattributes
    1.52 kB
    initial commit 17 days ago
  • README.md
    5.23 kB
    deepseek-ai/deepseek-coder-6.7b-instruct AIE QLoRA adapter - 11K dataset 17 days ago
  • adapter_config.json
    1.12 kB
    deepseek-ai/deepseek-coder-6.7b-instruct AIE QLoRA adapter - 11K dataset 17 days ago
  • adapter_model.safetensors
    160 MB
    xet
    deepseek-ai/deepseek-coder-6.7b-instruct AIE QLoRA adapter - 11K dataset 17 days ago
  • chat_template.jinja
    1.04 kB
    deepseek-ai/deepseek-coder-6.7b-instruct AIE QLoRA adapter - 11K dataset 17 days ago
  • tokenizer.json
    2.29 MB
    deepseek-ai/deepseek-coder-6.7b-instruct AIE QLoRA adapter - 11K dataset 17 days ago
  • tokenizer_config.json
    392 Bytes
    deepseek-ai/deepseek-coder-6.7b-instruct AIE QLoRA adapter - 11K dataset 17 days ago