Downloads · 30 days
13
100% of all-time downloads
IgnacioDM/llama-chess-cot1
llama-chess-cot1 is a text generation model from IgnacioDM. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama2.
Downloads · 30 days
13
100% of all-time downloads
All-time downloads
13
Public
Repo size
26 GB
Likes
0
Public
Click a slice to open those files.
.bin26 GB · 100%
From the Hugging Face model README
Prompt format
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Evaluate the chess position (JSON)
### Input:
{"PGN":"1. Nf3 c5 2. g3 Nc6 3. Bg2 g6 4. d3 Bg7 5. O-O d5 6. Nbd2 e6 7. e4 Nge7 8. exd5 Nxd5 9. Re1 O-O 10. Nc4 b6 11. a4 Bb7 12. h4 Rc8 13. h5 Qc7 14. h6 Bh8 15. c3 Rcd8 16. Qe2 Rfe8 17. Nh2 e5 18. Ng4 f5 19. Nge3 Nxe3 20. Nxe3 Ne7 21. Bxb7 Qxb7 22. a5 Nd5 23. axb6 axb6 24. Nc4 e4 25. Bg5 Bf6 26. Bxf6 Nxf6 27. dxe4 Rxe4 28. Qf1 b5 29. Ne5 Qd5 30. Nf3 Rxe1","FEN":"3r2k1/7p/5npP/1ppq1p2/8/2P2NP1/1P3P2/R3rQK1 w - - 0 31"}
Example response
### Response:
{"board":" +------------------------+\n 8 | . . . r . . k . |\n 7 | . . . . . . . p |\n 6 | . . . . . n p P |\n 5 | . p p q . p . . |\n 4 | . . . . . . . . |\n 3 | . . P . . N P . |\n 2 | . P . . . P . . |\n 1 | R . . . r Q K . |\n +------------------------+\n a b c d e f g h","legalMoves":["c4","Nd4","Ne5","Ng5","Nh4","Nh2","Nd2","g4","b3","b4","Ra2","Ra3","Ra4","Ra5","Ra6","Ra7","Ra8","Rb1","Rc1","Rd1","Qe2","Qd3","Qc4+","Qxb5","Qg2","Qh3","Qxe1","Kg2","Kh2"],"bestLines":["31. Qxe1 Re8 32. Qf1 -0.6","31. Nd4 Rxf1+ 32. Kxf1 -7.5","31. Ra8 Rxf1+ 32. Kxf1 -7.9"],"bestMove":"Qxe1"}