Run this model with HF Jobs
Run LLM-course/chess-Sunxt25 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/LLM-course/chess-Sunxt25. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/LLM-course/chess-Sunxt25 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/LLM-course/chess-Sunxt25. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/LLM-course/chess-Sunxt25. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
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
Chess Challenge submission by Sunxt25
Browse filesFiles changed (6)
- README.mdAdded+26
- config.jsonAdded+20
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+6
- tokenizer_config.jsonAdded+44
- vocab.jsonAdded+146
1234567891011121314151617181920212223242526---library_name: transformerstags:- chess- llm-course- chess-challengelicense: mit---
# chess-Sunxt25
Chess model submitted to the LLM Course Chess Challenge.
## Submission Info
- **Submitted by**: [Sunxt25](https://huggingface.co/Sunxt25)- **Parameters**: 878,336- **Organization**: LLM-course
## Model Details
- **Architecture**: Chess Transformer (GPT-style)- **Vocab size**: 144- **Embedding dim**: 128- **Layers**: 5- **Heads**: 41234567891011121314151617181920{ "architectures": [ "ChessForCausalLM" ], "bos_token_id": 1, "dropout": 0.1, "dtype": "float32", "eos_token_id": 2, "layer_norm_epsilon": 1e-05, "model_type": "chess_transformer", "n_ctx": 256, "n_embd": 128, "n_head": 4, "n_inner": 384, "n_layer": 5, "pad_token_id": 0, "tie_weights": true, "transformers_version": "4.57.5", "vocab_size": 144}123version https://git-lfs.github.com/spec/v1oid sha256:f2b168eb150974e5eff71ecdc4c7dc06a708917e31fc17001362a4550da9da07size 3518768123456{ "bos_token": "[BOS]", "eos_token": "[EOS]", "pad_token": "[PAD]", "unk_token": "[UNK]"}1234567891011121314151617181920212223242526272829303132333435363738394041424344{ "added_tokens_decoder": { "0": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "[BOS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "[EOS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "[BOS]", "clean_up_tokenization_spaces": false, "eos_token": "[EOS]", "extra_special_tokens": {}, "model_max_length": 1000000000000000019884624838656, "pad_token": "[PAD]", "tokenizer_class": "ChessTokenizer", "unk_token": "[UNK]"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146{ "[PAD]": 0, "[BOS]": 1, "[EOS]": 2, "[UNK]": 3, "WP": 4, "WN": 5, "WB": 6, "WR": 7, "WQ": 8, "WK": 9, "BP": 10, "BN": 11, "BB": 12, "BR": 13, "BQ": 14, "BK": 15, "a1_f": 16, "b1_f": 17, "c1_f": 18, "d1_f": 19, "e1_f": 20, "f1_f": 21, "g1_f": 22, "h1_f": 23, "a2_f": 24, "b2_f": 25, "c2_f": 26, "d2_f": 27, "e2_f": 28, "f2_f": 29, "g2_f": 30, "h2_f": 31, "a3_f": 32, "b3_f": 33, "c3_f": 34, "d3_f": 35, "e3_f": 36, "f3_f": 37, "g3_f": 38, "h3_f": 39, "a4_f": 40, "b4_f": 41, "c4_f": 42, "d4_f": 43, "e4_f": 44, "f4_f": 45, "g4_f": 46, "h4_f": 47, "a5_f": 48, "b5_f": 49, "c5_f": 50, "d5_f": 51, "e5_f": 52, "f5_f": 53, "g5_f": 54, "h5_f": 55, "a6_f": 56, "b6_f": 57, "c6_f": 58, "d6_f": 59, "e6_f": 60, "f6_f": 61, "g6_f": 62, "h6_f": 63, "a7_f": 64, "b7_f": 65, "c7_f": 66, "d7_f": 67, "e7_f": 68, "f7_f": 69, "g7_f": 70, "h7_f": 71, "a8_f": 72, "b8_f": 73, "c8_f": 74, "d8_f": 75, "e8_f": 76, "f8_f": 77, "g8_f": 78, "h8_f": 79, "a1_t": 80, "b1_t": 81, "c1_t": 82, "d1_t": 83, "e1_t": 84, "f1_t": 85, "g1_t": 86, "h1_t": 87, "a2_t": 88, "b2_t": 89, "c2_t": 90, "d2_t": 91, "e2_t": 92, "f2_t": 93, "g2_t": 94, "h2_t": 95, "a3_t": 96, "b3_t": 97, "c3_t": 98, "d3_t": 99, "e3_t": 100, "f3_t": 101, "g3_t": 102, "h3_t": 103, "a4_t": 104, "b4_t": 105, "c4_t": 106, "d4_t": 107, "e4_t": 108, "f4_t": 109, "g4_t": 110, "h4_t": 111, "a5_t": 112, "b5_t": 113, "c5_t": 114, "d5_t": 115, "e5_t": 116, "f5_t": 117, "g5_t": 118, "h5_t": 119, "a6_t": 120, "b6_t": 121, "c6_t": 122, "d6_t": 123, "e6_t": 124, "f6_t": 125, "g6_t": 126, "h6_t": 127, "a7_t": 128, "b7_t": 129, "c7_t": 130, "d7_t": 131, "e7_t": 132, "f7_t": 133, "g7_t": 134, "h7_t": 135, "a8_t": 136, "b8_t": 137, "c8_t": 138, "d8_t": 139, "e8_t": 140, "f8_t": 141, "g8_t": 142, "h8_t": 143}README.mdAdded+26
config.jsonAdded+20
model.safetensorsAdded+3
special_tokens_map.jsonAdded+6
tokenizer_config.jsonAdded+44
vocab.jsonAdded+146