Skip to content

Commit 9f6d69c

Browse files
committed
Update README.md
• reorder some sections of the README file • add reference to the AUTHORS file • rename Syzygybases to Syzygy tablebases • add pointer to the Discord channel • more precise info about the GPLv3 licence No functional change
1 parent 40cb0f0 commit 9f6d69c

File tree

1 file changed

+36
-32
lines changed

1 file changed

+36
-32
lines changed

README.md

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,15 @@ This distribution of Stockfish consists of the following files:
2424
* Readme.md, the file you are currently reading.
2525

2626
* Copying.txt, a text file containing the GNU General Public License version 3.
27+
28+
* AUTHORS, a text file with the list of authors for the project
2729

2830
* src, a subdirectory containing the full source code, including a Makefile
2931
that can be used to compile Stockfish on Unix-like systems.
3032

3133
* a file with the .nnue extension, storing the neural network for the NNUE
3234
evaluation. Binary distributions will have this file embedded.
3335

34-
Note: to use the NNUE evaluation, the additional data file with neural network parameters
35-
needs to be available. Normally, this file is already embedded in the binary or it can be downloaded.
36-
The filename for the default (recommended) net can be found as the default
37-
value of the `EvalFile` UCI option, with the format `nn-[SHA256 first 12 digits].nnue`
38-
(for instance, `nn-c157e0a5755b.nnue`). This file can be downloaded from
39-
```
40-
https://tests.stockfishchess.org/api/nn/[filename]
41-
```
42-
replacing `[filename]` as needed.
43-
44-
4536
## UCI options
4637

4738
Currently, Stockfish has the following UCI options:
@@ -53,6 +44,9 @@ Currently, Stockfish has the following UCI options:
5344
* #### Hash
5445
The size of the hash table in MB. It is recommended to set Hash after setting Threads.
5546

47+
* #### Clear Hash
48+
Clear the hash table.
49+
5650
* #### Ponder
5751
Let Stockfish ponder its next move while the opponent is thinking.
5852

@@ -109,7 +103,7 @@ Currently, Stockfish has the following UCI options:
109103
* #### SyzygyProbeDepth
110104
Minimum remaining search depth for which a position is probed. Set this option
111105
to a higher value to probe less aggressively if you experience too much slowdown
112-
(in terms of nps) due to TB probing.
106+
(in terms of nps) due to tablebase probing.
113107

114108
* #### Syzygy50MoveRule
115109
Disable to let fifty-move rule draws detected by Syzygy tablebase probes count
@@ -139,13 +133,10 @@ Currently, Stockfish has the following UCI options:
139133
Tells the engine to use nodes searched instead of wall time to account for
140134
elapsed time. Useful for engine testing.
141135

142-
* #### Clear Hash
143-
Clear the hash table.
144-
145136
* #### Debug Log File
146137
Write all communication to and from the engine into a text file.
147138

148-
## A note on classical and NNUE evaluation
139+
## A note on classical evaluation versus NNUE evaluation
149140

150141
Both approaches assign a value to a position that is used in alpha-beta (PVS) search
151142
to find the best move. The classical evaluation computes this value as a function
@@ -158,18 +149,29 @@ The NNUE evaluation was first introduced in shogi, and ported to Stockfish after
158149
It can be evaluated efficiently on CPUs, and exploits the fact that only parts
159150
of the neural network need to be updated after a typical chess move.
160151
[The nodchip repository](https://github.com/nodchip/Stockfish) provides additional
161-
tools to train and develop the NNUE networks.
152+
tools to train and develop the NNUE networks. On CPUs supporting modern vector instructions
153+
(avx2 and similar), the NNUE evaluation results in much stronger playing strength, even
154+
if the nodes per second computed by the engine is somewhat lower (roughly 80% of nps
155+
is typical).
162156

163-
On CPUs supporting modern vector instructions (avx2 and similar), the NNUE evaluation
164-
results in stronger playing strength, even if the nodes per second computed by the engine
165-
is somewhat lower (roughly 60% of nps is typical).
157+
Notes:
166158

167-
Note that the NNUE evaluation depends on the Stockfish binary and the network parameter
168-
file (see EvalFile). Not every parameter file is compatible with a given Stockfish binary.
169-
The default value of the EvalFile UCI option is the name of a network that is guaranteed
170-
to be compatible with that binary.
159+
1) the NNUE evaluation depends on the Stockfish binary and the network parameter
160+
file (see the EvalFile UCI option). Not every parameter file is compatible with a given
161+
Stockfish binary, but the default value of the EvalFile UCI option is the name of a network
162+
that is guaranteed to be compatible with that binary.
163+
164+
2) to use the NNUE evaluation, the additional data file with neural network parameters
165+
needs to be available. Normally, this file is already embedded in the binary or it
166+
can be downloaded. The filename for the default (recommended) net can be found as the default
167+
value of the `EvalFile` UCI option, with the format `nn-[SHA256 first 12 digits].nnue`
168+
(for instance, `nn-c157e0a5755b.nnue`). This file can be downloaded from
169+
```
170+
https://tests.stockfishchess.org/api/nn/[filename]
171+
```
172+
replacing `[filename]` as needed.
171173

172-
## What to expect from Syzygybases?
174+
## What to expect from the Syzygy tablebases?
173175

174176
If the engine is searching a position that is not in the tablebases (e.g.
175177
a position with 8 pieces), it will access the tablebases during the search.
@@ -187,9 +189,9 @@ will not report a mate score, even if the position is known to be won.**
187189
It is therefore clear that this behaviour is not identical to what one might
188190
be used to with Nalimov tablebases. There are technical reasons for this
189191
difference, the main technical reason being that Nalimov tablebases use the
190-
DTM metric (distance-to-mate), while Syzygybases use a variation of the
192+
DTM metric (distance-to-mate), while the Syzygy tablebases use a variation of the
191193
DTZ metric (distance-to-zero, zero meaning any move that resets the 50-move
192-
counter). This special metric is one of the reasons that Syzygybases are
194+
counter). This special metric is one of the reasons that the Syzygy tablebases are
193195
more compact than Nalimov tablebases, while still storing all information
194196
needed for optimal play and in addition being able to take into account
195197
the 50-move rule.
@@ -272,8 +274,9 @@ generic rather than being focused on Stockfish's precise implementation.
272274
Nevertheless, a helpful resource.
273275

274276
* The latest source can always be found on [GitHub](https://github.com/official-stockfish/Stockfish).
275-
Discussions about Stockfish take place in the [FishCooking](https://groups.google.com/forum/#!forum/fishcooking)
276-
group and engine testing is done on [Fishtest](https://tests.stockfishchess.org/tests).
277+
Discussions about Stockfish take place these days mainly in the [FishCooking](https://groups.google.com/forum/#!forum/fishcooking)
278+
group and on the [Stockfish Discord channel](https://discord.gg/nv8gDtt).
279+
The engine testing is done on [Fishtest](https://tests.stockfishchess.org/tests).
277280
If you want to help improve Stockfish, please read this [guideline](https://github.com/glinscott/fishtest/wiki/Creating-my-first-test)
278281
first, where the basics of Stockfish development are explained.
279282

@@ -288,9 +291,10 @@ it (either by itself or as part of some bigger software package), or
288291
using it as the starting point for a software project of your own.
289292

290293
The only real limitation is that whenever you distribute Stockfish in
291-
some way, you must always include the full source code, or a pointer
292-
to where the source code can be found. If you make any changes to the
293-
source code, these changes must also be made available under the GPL.
294+
some way, you MUST always include the full source code, or a pointer
295+
to where the source code can be found, to generate the exact binary
296+
you are distributing. If you make any changes to the source code,
297+
these changes must also be made available under the GPL.
294298

295299
For full details, read the copy of the GPL v3 found in the file named
296300
*Copying.txt*.

0 commit comments

Comments
 (0)