How can I make, for example, Stockfish 13 or 14 with a NNUE neural network? What is the precise procedure for making a NNUE neural network for some chess engine? I noticed that lichess.org uses Stockfish with NNUE and I want the same in with my Stockfish engine. How does one go about doing this?

1 Answer 1


For Stockfish there are two options - you can either use an exe with an embedded network, or download the network separately and place it in the same folder as the exe.

In either case, you will have to enable the NNUE option. If you are using the command line UCI protocol, the command will be:
setoption name Use NNUE value true

If you are using a GUI like chessbase, there will be a checkbox somewhere that you can set:

Chessbase enable NNUE Note that I have downloaded an explicit NNUE file, and the relative path is set in the EvalFile option

The Stockfish GitHub page has a few more details as well:

  • 1
    I'm not sure if this is the question that was asked - it sounds like Mr. J wants to know how to train a new NNUE for Stockfish.
    – Allure
    Commented Aug 4, 2021 at 0:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.