Views
No views yet
| Strategy | Win Rate | Description |
|---|---|---|
| CAND | 0.866 | Candidate filtering (optimal) |
| IGX | 0.127 | Information gain exact |
| POS | 0.160 | Positional priors |
| LEN | 0.112 | Length-based priors |
| IG | 0.100 | Information gain |
1DuelingQNet(
2 d_model=128,
3 nhead=4,
4 nlayers=2,
5 ff_mult=4,
6 max_len=35,
7 dropout=0.1
8)1import torch
2from hangman.rl.models import DuelingQNet
3
4# Load model
5model = DuelingQNet(d_model=128, nhead=4, nlayers=2, ff_mult=4, max_len=35, dropout=0.1)
6checkpoint = torch.load('bc_dueling_qnet.pt', map_location='cpu')
7model.load_state_dict(checkpoint['model'])
8
9# Use with hangman environment
10# (See simulator_playground.py for complete usage)simulator_playground.py script which provides:bc_dueling_qnet.pt: PyTorch model checkpointsimulator_playground.py: Evaluation and analysis tooltraining_monitor.py: Training progress monitoringperformance_report.md: Detailed performance analysis1@misc{hangman-dqn-hangman dqn baseline,
2 title={Hangman DQN: Deep Q-Network for Hangman Game},
3 author={Your Name},
4 year={2025},
5 publisher={Hugging Face},
6 howpublished={\url{https://huggingface.co/your-username/hangman dqn baseline}}
7}