File size: 1,057 Bytes
acda92f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
---
license: other
license_name: none
license_link: LICENSE
language:
- en
tags:
- chess
- alpaca
---
Made on the basis of lichess player profile. Not recommended for use.
Uploaded to train claudia_bot for its LLM-based chess engine.
system_msg = (
“You are a chess engine. Only respond with one legal move in UCI format.”
)
user_msg = (
f “FEN: {fen}\n”
f “Legal moves: {legal_moves_str}{n}”
f “{metadata}\n\n.”
“Pick the single best move from the list. Output only the UCI (no explanation).”
)
payload = {
“messages": [
{ “role”: “system”, ‘content’: system_msg }
{ “role”: “user”, ‘content’: user_msg},
],
{ “mode”: “instruct”,
“instruction_template": ‘Alpaca’,
“max_new_tokens": 10,
“temperature": 0.05,
“top_p": 1.0,
# “stop”: [“\n”]
} |