Instructions to use 0xrushi/chesslfm-experiments with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 0xrushi/chesslfm-experiments with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="0xrushi/chesslfm-experiments")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("0xrushi/chesslfm-experiments", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use 0xrushi/chesslfm-experiments with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "0xrushi/chesslfm-experiments" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "0xrushi/chesslfm-experiments", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/0xrushi/chesslfm-experiments
- SGLang
How to use 0xrushi/chesslfm-experiments 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 "0xrushi/chesslfm-experiments" \ --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": "0xrushi/chesslfm-experiments", "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 "0xrushi/chesslfm-experiments" \ --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": "0xrushi/chesslfm-experiments", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use 0xrushi/chesslfm-experiments with Docker Model Runner:
docker model run hf.co/0xrushi/chesslfm-experiments
Clarify LiquidAI to ChessLFM model lineage
Browse files
README.md
CHANGED
|
@@ -3,7 +3,7 @@ library_name: transformers
|
|
| 3 |
license: other
|
| 4 |
license_name: lfm1.0
|
| 5 |
license_link: LICENSE
|
| 6 |
-
base_model:
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
tags:
|
| 9 |
- chess
|
|
@@ -16,7 +16,7 @@ tags:
|
|
| 16 |
|
| 17 |
Five chess language-model checkpoints and evaluation summaries from experiments in [0xrushi/ChessLFM](https://github.com/0xrushi/ChessLFM). These checkpoints are provided for research and reproducibility.
|
| 18 |
|
| 19 |
-
**
|
| 20 |
|
| 21 |
## Checkpoints and observed results
|
| 22 |
|
|
|
|
| 3 |
license: other
|
| 4 |
license_name: lfm1.0
|
| 5 |
license_link: LICENSE
|
| 6 |
+
base_model: LiquidAI/LFM2.5-230M-Base
|
| 7 |
pipeline_tag: text-generation
|
| 8 |
tags:
|
| 9 |
- chess
|
|
|
|
| 16 |
|
| 17 |
Five chess language-model checkpoints and evaluation summaries from experiments in [0xrushi/ChessLFM](https://github.com/0xrushi/ChessLFM). These checkpoints are provided for research and reproducibility.
|
| 18 |
|
| 19 |
+
**Model lineage:** [LiquidAI/LFM2.5-230M-Base](https://huggingface.co/LiquidAI/LFM2.5-230M-Base) → public [mlabonne/LFM2.5-230M-Chess](https://huggingface.co/mlabonne/LFM2.5-230M-Chess) → four experiments in this repository. The upstream ChessLFM checkpoint records LiquidAI's base model in its `surgery_meta.json`. Our four experimental checkpoints use the released ChessLFM weights as their **direct** starting point, so they descend from LiquidAI's base through ChessLFM. **They were not trained from random initialization or directly from the LiquidAI base weights.** The `released-baseline/` folder is the upstream ChessLFM reference, not a model trained by this project.
|
| 20 |
|
| 21 |
## Checkpoints and observed results
|
| 22 |
|