Instructions to use Maxlegrec/ChessBot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Maxlegrec/ChessBot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Maxlegrec/ChessBot", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Maxlegrec/ChessBot", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download __init__.py from Maxlegrec/ChessBot: direct link, hf CLI and curl.
- Browser
- Download file 84 Bytes
-
https://huggingface.co/Maxlegrec/ChessBot/resolve/main/__init__.py
- Command line
-
hf download hf://Maxlegrec/ChessBot/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Maxlegrec/ChessBot/resolve/main/__init__.py
84 Bytes
| # ChessBot Chess Model | |
| from .modeling_chessbot import ChessBotModel, ChessBotConfig | |