Instructions to use FlameF0X/ChessSLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FlameF0X/ChessSLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FlameF0X/ChessSLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("FlameF0X/ChessSLM") model = AutoModelForCausalLM.from_pretrained("FlameF0X/ChessSLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FlameF0X/ChessSLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FlameF0X/ChessSLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FlameF0X/ChessSLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/FlameF0X/ChessSLM
- SGLang
How to use FlameF0X/ChessSLM 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 "FlameF0X/ChessSLM" \ --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": "FlameF0X/ChessSLM", "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 "FlameF0X/ChessSLM" \ --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": "FlameF0X/ChessSLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use FlameF0X/ChessSLM with Docker Model Runner:
docker model run hf.co/FlameF0X/ChessSLM
Update README.md
Browse files
README.md
CHANGED
|
@@ -57,20 +57,28 @@ The model achieves an averaging rating of **around ~1054 Elo** against other lan
|
|
| 57 |
|
| 58 |
## Benchmark Results -- OUTDATED
|
| 59 |
|
| 60 |
-
| Model
|
| 61 |
-
|------
|
| 62 |
-
|
|
| 63 |
-
|
|
| 64 |
-
|
|
| 65 |
-
| nlpguy/smolchess-v2
|
| 66 |
-
| DedeProGames/
|
| 67 |
-
|
|
| 68 |
-
|
|
| 69 |
-
|
|
| 70 |
-
|
|
| 71 |
-
|
|
| 72 |
-
|
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
---
|
| 76 |
|
|
|
|
| 57 |
|
| 58 |
## Benchmark Results -- OUTDATED
|
| 59 |
|
| 60 |
+
| Model | Elo Rating |
|
| 61 |
+
| ------------------------------ | ---------- |
|
| 62 |
+
| **FlameF0X/ChessSLM** | 1154 |
|
| 63 |
+
| DedeProGames/mini-chennus | 1114 |
|
| 64 |
+
| EleutherAI/pythia-70m-deduped | 1099 |
|
| 65 |
+
| nlpguy/smolchess-v2 | 1092 |
|
| 66 |
+
| DedeProGames/dialochess | 1078 |
|
| 67 |
+
| nlpguy/amdchess-v9 | 1073 |
|
| 68 |
+
| mlabonne/grandpythia-200k-70m | 1065 |
|
| 69 |
+
| **FlameF0X/ChessSLM-PM** | 1055 |
|
| 70 |
+
| DedeProGames/Chesser-248K-Mini | 1050 |
|
| 71 |
+
| bharathrajcl/chess_llama_68m | 1048 |
|
| 72 |
+
| **FlameF0X/ChessSLM-RL** | 1047 |
|
| 73 |
+
| distilbert/distilgpt2 | 1047 |
|
| 74 |
+
| Mattimax/EliaChess-70m | 1047 |
|
| 75 |
+
| HuggingFaceTB/SmolLM2-135M | 1042 |
|
| 76 |
+
| nlpguy/amdchess-v5 | 1041 |
|
| 77 |
+
| facebook/opt-125m | 1041 |
|
| 78 |
+
| EleutherAI/pythia-14m | 1037 |
|
| 79 |
+
| DedeProGames/chennus | 1034 |
|
| 80 |
+
| Smilyai-labs/Smily-ultra-1 | 1034 |
|
| 81 |
+
| huyvux3005/chessllm_FPT | 1034 |
|
| 82 |
|
| 83 |
---
|
| 84 |
|