Instructions to use LLM-course/chess-Sunxt25 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LLM-course/chess-Sunxt25 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LLM-course/chess-Sunxt25")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("LLM-course/chess-Sunxt25", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LLM-course/chess-Sunxt25 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LLM-course/chess-Sunxt25" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LLM-course/chess-Sunxt25", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/LLM-course/chess-Sunxt25
- SGLang
How to use LLM-course/chess-Sunxt25 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 "LLM-course/chess-Sunxt25" \ --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": "LLM-course/chess-Sunxt25", "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 "LLM-course/chess-Sunxt25" \ --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": "LLM-course/chess-Sunxt25", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use LLM-course/chess-Sunxt25 with Docker Model Runner:
docker model run hf.co/LLM-course/chess-Sunxt25
Commit History
-
Update tokenizer_config.json
Verified signaturede2327c -
Update tokenizer_config.json
Verified signature801b244 -
Chess Challenge submission by Sunxt25
Verified signature4e07509 -
Update tokenizer_config.json
Verified signature5154ad9 -
Chess Challenge submission by Sunxt25
Verified signature81ed7b9 -
Update tokenizer.py
Verified signature21ed1fa -
Update tokenizer_config.json
Verified signatureb7dc9f4 -
Update tokenizer.py
Verified signaturecfab09e -
Update tokenizer.py
Verified signaturea4c10fe -
Chess Challenge submission by Sunxt25
Verified signaturea17994d -
Update tokenizer.py
Verified signature7de47b2 -
Update tokenizer.py
Verified signaturea6243fc -
Upload tokenizer.py
Verified signature2ab9c78 -
Update tokenizer_config.json
Verified signature09b738c -
Upload tokenizer.py
Verified signature1407416 -
Update tokenizer_config.json
Verified signaturefd4d329 -
Delete tokenizer.py
Verified signature2e52fad -
Update tokenizer.py
Verified signaturee37eb91 -
Upload tokenizer.py
Verified signature1c4ae93 -
Delete tokenizer.py
Verified signaturee396958 -
Upload tokenizer.py
Verified signaturedb901bc -
Update tokenizer_config.json
Verified signature66eda65
-
Chess Challenge submission by Sunxt25
Verified signaturede1d4e0
-
Delete data.py
Verified signatureac4ed54 -
Delete model.py
Verified signaturee25c15f -
Delete chess_tokenizer_custom.py
Verified signature82d39fe -
Chess Challenge submission by Sunxt25
Verified signature0f30676
-
Update tokenizer_config.json
Verified signature5592107 -
Delete train.py
Verified signature9db286b -
Update tokenizer_config.json
Verified signature499d287 -
Update config.json
Verified signature2ddcbfd -
Upload chess_tokenizer_custom.py
Verified signature30ea680 -
Upload chess_tokenizer_custom.py
Verified signaturee9bf244 -
Delete tokenizer.py
Verified signature6156855 -
Update tokenizer_config.json
Verified signatureacfaf7d -
Update config.json
Verified signaturea2afcf8 -
Update tokenizer_config.json
Verified signature6e020d0
-
Update config.json
Verified signature802fe97 -
Upload 4 files
Verified signature519a223 -
Chess Challenge submission by Sunxt25
Verified signature218ccbc -
initial commit
Verified signature0813ae6