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

Nanthasit
/
sakthai-plus-1.5b-coder

Text Generation
Transformers
English
qwen2.5
qwen2.5-coder
code-generation
agent
tool-calling
function-calling
sakthai
house-of-sak
no-weights
skeleton
cpu-inference
llama.cpp
ollama
offline
Eval Results
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Nanthasit/sakthai-plus-1.5b-coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Nanthasit/sakthai-plus-1.5b-coder with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="Nanthasit/sakthai-plus-1.5b-coder")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Nanthasit/sakthai-plus-1.5b-coder", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use Nanthasit/sakthai-plus-1.5b-coder with vLLM:

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

    How to use Nanthasit/sakthai-plus-1.5b-coder 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 "Nanthasit/sakthai-plus-1.5b-coder" \
        --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": "Nanthasit/sakthai-plus-1.5b-coder",
    		"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 "Nanthasit/sakthai-plus-1.5b-coder" \
            --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": "Nanthasit/sakthai-plus-1.5b-coder",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use Nanthasit/sakthai-plus-1.5b-coder with Docker Model Runner:

    docker model run hf.co/Nanthasit/sakthai-plus-1.5b-coder
sakthai-plus-1.5b-coder
44.5 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 87 commits
Nanthasit's picture
Nanthasit
docs: improve README front matter, status, usage snippets, benchmarks, limitations
89da98b verified 5 days ago
  • .eval_results
    Upload .eval_results/cron-eval-sakthai-plus-1.5b-coder-20260801T100000Z.yaml with huggingface_hub 5 days ago
  • .gitattributes
    1.52 kB
    initial commit 7 days ago
  • README.md
    10.7 kB
    docs: improve README front matter, status, usage snippets, benchmarks, limitations 5 days ago