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

MDaytek
/
chess-submission-v12-final

Text Generation
Transformers
Safetensors
chess_gpt
chess
llm-course
custom_code
Model card Files Files and versions
xet
Community

Instructions to use MDaytek/chess-submission-v12-final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use MDaytek/chess-submission-v12-final with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="MDaytek/chess-submission-v12-final", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("MDaytek/chess-submission-v12-final", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use MDaytek/chess-submission-v12-final with vLLM:

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

    How to use MDaytek/chess-submission-v12-final 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 "MDaytek/chess-submission-v12-final" \
        --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": "MDaytek/chess-submission-v12-final",
    		"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 "MDaytek/chess-submission-v12-final" \
            --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": "MDaytek/chess-submission-v12-final",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use MDaytek/chess-submission-v12-final with Docker Model Runner:

    docker model run hf.co/MDaytek/chess-submission-v12-final
chess-submission-v12-final
4.36 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
MDaytek's picture
MDaytek
V12 Final
f71d4c6 verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    98 Bytes
    V12 Final 5 months ago
  • config.json
    383 Bytes
    V12 Final 5 months ago
  • model.py
    3.85 kB
    V12 Final 5 months ago
  • model.safetensors
    4.34 MB
    xet
    V12 Final 5 months ago
  • tokenizer.py
    1.33 kB
    V12 Final 5 months ago
  • vocab.json
    17.9 kB
    V12 Final 5 months ago