Run this model with HF Jobs
Run LLM-course/chess-model-jawad-chemaou 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-model-jawad-chemaou. 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-model-jawad-chemaou 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-model-jawad-chemaou. 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-model-jawad-chemaou. 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-model-jawad-chemaou with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LLM-course/chess-model-jawad-chemaou with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LLM-course/chess-model-jawad-chemaou")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("LLM-course/chess-model-jawad-chemaou", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LLM-course/chess-model-jawad-chemaou with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LLM-course/chess-model-jawad-chemaou" # 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-model-jawad-chemaou", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/LLM-course/chess-model-jawad-chemaou
- SGLang
How to use LLM-course/chess-model-jawad-chemaou 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-model-jawad-chemaou" \ --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-model-jawad-chemaou", "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-model-jawad-chemaou" \ --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-model-jawad-chemaou", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use LLM-course/chess-model-jawad-chemaou with Docker Model Runner:
docker model run hf.co/LLM-course/chess-model-jawad-chemaou
Chess Challenge submission by JawadC
Browse filesFiles changed (6)
- README.mdAdded+26
- config.jsonAdded+20
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+6
- tokenizer_config.jsonAdded+44
- vocab.jsonAdded+119
1234567891011121314151617181920212223242526---library_name: transformerstags:- chess- llm-course- chess-challengelicense: mit---
# chess-model-jawad-chemaou
Chess model submitted to the LLM Course Chess Challenge.
## Submission Info
- **Submitted by**: [JawadC](https://huggingface.co/JawadC)- **Parameters**: 989,460- **Organization**: LLM-course
## Model Details
- **Architecture**: Chess Transformer (GPT-style)- **Vocab size**: 117- **Embedding dim**: 184- **Layers**: 3- **Heads**: 81234567891011121314151617181920{ "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": 184, "n_head": 8, "n_inner": 460, "n_layer": 3, "pad_token_id": 0, "tie_weights": true, "transformers_version": "4.57.5", "vocab_size": 117}123version https://git-lfs.github.com/spec/v1oid sha256:ae1d8763197765a0e1073cc43cce8616bcf7c98339770a43cef2300432c82b7bsize 3961232123456{ "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]"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119{ "[PAD]": 0, "[BOS]": 1, "[EOS]": 2, "[UNK]": 3, "(+)": 4, "(+*)": 5, "(+*B)": 6, "(+*N)": 7, "(+*Q)": 8, "(+*R)": 9, "(+B)": 10, "(+N)": 11, "(+Q)": 12, "(+R)": 13, "(B)": 14, "(N)": 15, "(O)": 16, "(O+)": 17, "(O+*)": 18, "(Q)": 19, "(R)": 20, "(o)": 21, "(o+)": 22, "(o+*)": 23, "(x)": 24, "(x+)": 25, "(x+*)": 26, "(x+*B)": 27, "(x+*Q)": 28, "(x+*R)": 29, "(x+B)": 30, "(x+N)": 31, "(x+Q)": 32, "(x+R)": 33, "(xB)": 34, "(xE)": 35, "(xE+)": 36, "(xE+*)": 37, "(xN)": 38, "(xQ)": 39, "(xR)": 40, "BB": 41, "BK": 42, "BN": 43, "BP": 44, "BQ": 45, "BR": 46, "WB": 47, "WK": 48, "WN": 49, "WP": 50, "WQ": 51, "WR": 52, "a1": 53, "a2": 54, "a3": 55, "a4": 56, "a5": 57, "a6": 58, "a7": 59, "a8": 60, "b1": 61, "b2": 62, "b3": 63, "b4": 64, "b5": 65, "b6": 66, "b7": 67, "b8": 68, "c1": 69, "c2": 70, "c3": 71, "c4": 72, "c5": 73, "c6": 74, "c7": 75, "c8": 76, "d1": 77, "d2": 78, "d3": 79, "d4": 80, "d5": 81, "d6": 82, "d7": 83, "d8": 84, "e1": 85, "e2": 86, "e3": 87, "e4": 88, "e5": 89, "e6": 90, "e7": 91, "e8": 92, "f1": 93, "f2": 94, "f3": 95, "f4": 96, "f5": 97, "f6": 98, "f7": 99, "f8": 100, "g1": 101, "g2": 102, "g3": 103, "g4": 104, "g5": 105, "g6": 106, "g7": 107, "g8": 108, "h1": 109, "h2": 110, "h3": 111, "h4": 112, "h5": 113, "h6": 114, "h7": 115, "h8": 116}README.mdAdded+26
config.jsonAdded+20
model.safetensorsAdded+3
special_tokens_map.jsonAdded+6
tokenizer_config.jsonAdded+44
vocab.jsonAdded+119