File size: 961 Bytes
a964291
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
tags: [bridge, contract-bridge, reinforcement-learning, self-play, game-ai]
---
# Pidgin: contract bridge bots from self-play

Weights for the bots in https://github.com/hsperr/pidgin. Code, training recipes and the server
live there; this repo only holds the weights.

| Team | Bidding | Card play |
|---|---|---|
| PidginV1 | `D_cw_s75k.pt` | `play_E48_wideleagueH.pt` |
| BRL | `brl_fsp_weights.npz` | `play_B2g_s540k.pt` |
| PidginV2 | `pidginv2_bid_s40000.pt` | `play_B2g_s540k.pt` |

Other files: `belief_r2.pt` (belief net for the bidding search),
`bench_100k.npz` (frozen card-play benchmark), `play_E48_leagueE.pt`.

`brl_fsp_weights.npz` is not ours: it is the FSP bidder of Kita et al. (2024),
redistributed under its Apache-2.0 licence (`brl_LICENSE`).

## Use

```bash
git clone https://github.com/hsperr/pidgin && cd pidgin
scripts/get_models.sh
python scripts/bid.py AKQ2.JT9.876.543 --auction "1H P"
scripts/serve.sh
```