Instructions to use naapeli/chess-puzzle-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use naapeli/chess-puzzle-generator with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("naapeli/chess-puzzle-generator", dtype=torch.bfloat16, device_map="cuda") prompt = "My name is Julien and I like to" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
| { | |
| "_class_name": "MaskedDiffusion", | |
| "_diffusers_version": "0.39.0", | |
| "embed_dim": 1024, | |
| "fen_length": 76, | |
| "move_length": 5, | |
| "n_fen_tokens": 48, | |
| "n_heads": 8, | |
| "n_layers": 16, | |
| "n_move_tokens": 4, | |
| "n_themes": 66, | |
| "predict_moves": true, | |
| "rating_dim": 1, | |
| "use_context": true | |
| } | |