Senpai 3.0 by Fabien LETOUZEY is available!

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Frank Quisinsky
Posts: 7185
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Re: Senpai 3.0 by Fabien LETOUZEY is available!

Post by Frank Quisinsky »

Hi Fabien,

I can add each time a new version on my site.

Jim like it to compare the own compiles with the compiles by the programmers.

In my opinion better ...
To add your own compiles in the Senpai download file and Jim can add his own compiles
on his Repro directory, if Jim do that.

Important is to create a new version number, like Senpai 3.0.1 for an example (of course
your decision).

Your own compiles for the RC1 = release version are 10% slower only.

Hint to Senpai 2.0:
Jim's Senpai 2.0 compiles are 40% faster but I didn't put his Senpai 2 compilations with
the other Senpai files.

Best
Frank
Xann
Posts: 146
Joined: Sat Jan 22, 2011 7:14 pm
Location: Lille, France
Full name: Fabien Letouzey

Re: Senpai 3.0 by Fabien LETOUZEY is available!

Post by Xann »

Frank Quisinsky wrote: Wed Dec 17, 2025 5:36 am Hi Fabien,

I can add each time a new version on my site.

Jim like it to compare the own compiles with the compiles by the programmers.

In my opinion better ...
To add your own compiles in the Senpai download file and Jim can add his own compiles
on his Repro directory, if Jim do that.

Important is to create a new version number, like Senpai 3.0.1 for an example (of course
your decision).

Your own compiles for the RC1 = release version are 10% slower only.

Hint to Senpai 2.0:
Jim's Senpai 2.0 compiles are 40% faster but I didn't put his Senpai 2 compilations with
the other Senpai files.

Best
Frank
Yes Frank 3.0.1 and compile myself, I will do that.

Fabien.
Frank Quisinsky
Posts: 7185
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Re: Senpai 3.0 by Fabien LETOUZEY is available!

Post by Frank Quisinsky »

Yes, and if you create a new eval file ...

I can add the eval file also very easy in the download directory.
If no new compilation is necessary for a new eval file, you could simply call the version Senpai 3.0.1.1 in this case.

Second eval update then 3.0.1.2
Think so ...

Best
Frank
Frank Quisinsky
Posts: 7185
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Re: Senpai 3.0 by Fabien LETOUZEY is available!

Post by Frank Quisinsky »

Hi there,

Fabien sent Senpai 3.0.1.

1. Same download link.
https://www.amateurschach.de/download/_ ... rsions.zip (6.242Mb ... direct download link).

2. I removed Senpai 3.0 from the download directory. The JA versions have also been removed.
3. Insinde is a MAC and Windows executable by Fabien.

I will give Jim a hint in the release thread of TalkChess.

Best
Frank
User avatar
Tibono
Posts: 152
Joined: Sat Aug 01, 2015 6:16 pm
Location: France
Full name: Eric Bonneau

Re: Senpai 3.0 by Fabien LETOUZEY is available!

Post by Tibono »

Frank Quisinsky wrote: Wed Dec 17, 2025 12:17 am ...
HCE can't be ML ... strictly speaking, or?
...
Hi Frank,
thanks for still hosting some interesting resources and letting us be aware; of course congrats & thanks to Fabien for the new Senpai.

I wonder if the question you raised wouldn't actually date back from the Rybka affair?
From my (fading) memory, Fabien's Fruit code had been more or less revamped (at least strongly suspected of) using evaluation weights finely tuned thru some heavy automation process involving powerful machines (PCs or servers). Wouldn't this qualify as "machine learning" (at least sort of)?

Warm regards,
Eric
Xann
Posts: 146
Joined: Sat Jan 22, 2011 7:14 pm
Location: Lille, France
Full name: Fabien Letouzey

Re: Senpai 3.0 by Fabien LETOUZEY is available!

Post by Xann »

Tibono wrote: Wed Dec 17, 2025 8:31 am
Frank Quisinsky wrote: Wed Dec 17, 2025 12:17 am ...
HCE can't be ML ... strictly speaking, or?
...
Hi Frank,
thanks for still hosting some interesting resources and letting us be aware; of course congrats & thanks to Fabien for the new Senpai.

I wonder if the question you raised wouldn't actually date back from the Rybka affair?
From my (fading) memory, Fabien's Fruit code had been more or less revamped (at least strongly suspected of) using evaluation weights finely tuned thru some heavy automation process involving powerful machines (PCs or servers). Wouldn't this qualify as "machine learning" (at least sort of)?

Warm regards,
Eric
Hi Eric,

What I am proposing is to make a distinction between:

a manual eval that might or might not become tuned later (possibly using ML techniques)
and an eval that is designed for weight learning from the beginning.

Senpai 3's eval file has about 163,000 parameters. Does that really count as HCE? Those tables contain knowledge that I am not aware of. By contrast, Fruit was designed to contain few parameters, that I guessed.

Fabien.
User avatar
Roland Chastain
Posts: 692
Joined: Sat Jun 08, 2013 10:07 am
Location: France
Full name: Roland Chastain

Re: Senpai 3.0 by Fabien LETOUZEY is available!

Post by Roland Chastain »

Hi everybody. Thanks for the new version of Senpai.

When I try to compile under Linux (using the first command-line example provided in compile.txt), I get this error:

Code: Select all

   Compiling senpai_301 v3.0.1 (/home/roland/Documents/echecs/sources/moteurs/senpai-versions/v3.0.1)
error[E0583]: file not found for module `game`
 --> src/main.rs:5:1
  |
5 | mod game;
  | ^^^^^^^^^
  |
  = help: to create the module `game`, create file "src/game.rs" or "src/game/mod.rs"
  = note: if there is a `mod game` elsewhere in the crate already, import it with `use crate::...` instead

error[E0583]: file not found for module `util`
 --> src/main.rs:8:1
  |
8 | mod util;
  | ^^^^^^^^^
  |
  = help: to create the module `util`, create file "src/util.rs" or "src/util/mod.rs"
  = note: if there is a `mod util` elsewhere in the crate already, import it with `use crate::...` instead

error[E0432]: unresolved import `super::Key`
 --> src/engine/eval/cache.rs:4:13
  |
4 | use super::{Key, Score};
  |             ^^^ no `Key` in `engine::eval`
  |
  = help: consider importing this unresolved item through its public re-export instead:
          crate::engine::Key

Some errors have detailed explanations: E0432, E0583.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `senpai_301` (bin "senpai_301") due to 3 previous errors
Qui trop embrasse mal étreint.

Author of Eschecs, a simple UCI chess GUI written in Pascal.
Xann
Posts: 146
Joined: Sat Jan 22, 2011 7:14 pm
Location: Lille, France
Full name: Fabien Letouzey

Re: Senpai 3.0 by Fabien LETOUZEY is available!

Post by Xann »

Roland Chastain wrote: Wed Dec 17, 2025 12:31 pm Hi everybody. Thanks for the new version of Senpai.

When I try to compile under Linux (using the first command-line example provided in compile.txt), I get this error:

Code: Select all

   Compiling senpai_301 v3.0.1 (/home/roland/Documents/echecs/sources/moteurs/senpai-versions/v3.0.1)
error[E0583]: file not found for module `game`
 --> src/main.rs:5:1
  |
5 | mod game;
  | ^^^^^^^^^
  |
  = help: to create the module `game`, create file "src/game.rs" or "src/game/mod.rs"
  = note: if there is a `mod game` elsewhere in the crate already, import it with `use crate::...` instead

error[E0583]: file not found for module `util`
 --> src/main.rs:8:1
  |
8 | mod util;
  | ^^^^^^^^^
  |
  = help: to create the module `util`, create file "src/util.rs" or "src/util/mod.rs"
  = note: if there is a `mod util` elsewhere in the crate already, import it with `use crate::...` instead

error[E0432]: unresolved import `super::Key`
 --> src/engine/eval/cache.rs:4:13
  |
4 | use super::{Key, Score};
  |             ^^^ no `Key` in `engine::eval`
  |
  = help: consider importing this unresolved item through its public re-export instead:
          crate::engine::Key

Some errors have detailed explanations: E0432, E0583.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `senpai_301` (bin "senpai_301") due to 3 previous errors
Hi Roland,

OK I just checked and it compiles here. If I type 'tree src/', it shows (other parts truncated):

Code: Select all

...
├── game
│   ├── attack.rs
│   ├── bb.rs
│   ├── board.rs
│   ├── game.rs
│   ├── gen_.rs
│   ├── hash.rs
│   ├── legal.rs
│   ├── mod.rs
│   ├── pawn.rs
│   ├── rule.rs
│   └── square.rs
...
so game/mod.rs does exist in my archive. Same for 'util'. I downloaded Frank's archive, it seems fine too.

For now, my diagnostic would be that your 'src' tree is incomplete, maybe contains only one level?

Fabien.
User avatar
Roland Chastain
Posts: 692
Joined: Sat Jun 08, 2013 10:07 am
Location: France
Full name: Roland Chastain

Re: Senpai 3.0 by Fabien LETOUZEY is available!

Post by Roland Chastain »

Thank you Fabien. I was at office when I downloaded the ZIP, and the security program deleted the EXE file. Maybe it deleted also some RS files. I will download again the ZIP when I am at home and retry to build.
Qui trop embrasse mal étreint.

Author of Eschecs, a simple UCI chess GUI written in Pascal.
User avatar
Roland Chastain
Posts: 692
Joined: Sat Jun 08, 2013 10:07 am
Location: France
Full name: Roland Chastain

Re: Senpai 3.0 by Fabien LETOUZEY is available!

Post by Roland Chastain »

Roland Chastain wrote: Wed Dec 17, 2025 1:06 pm I will download again the ZIP when I am at home and retry to build.
Compilation successful. Sorry for the wrong error report. :)
Qui trop embrasse mal étreint.

Author of Eschecs, a simple UCI chess GUI written in Pascal.