Interpretability for LeelaChessZero networks.
Project description
lczerolens 🔍
Leela Chess Zero (lc0) Lens (lczerolens): a set of utilities to make the analysis of Leela Chess Zero networks easy.
Getting Started
Installs
pip install lczerolens
Features
- Visualise Heatmaps:
- Probe Concepts:
- Move Prediction:
- Run Models on GPU:
- Evaluate Models on Puzzles:
- Convert Official Weights:
Tutorials
Demo
Spaces
Local Demo
Additionally, you can run the gradio demo locally. First you'll need the space, which is packaged in a submodule:
git clone --recurse-submodules https://github.com/Xmaster6y/lczerolens.git
cd lczerolens
And then launch the demo (running on port 8000):
make demo
To test the backends use:
make demo-backends
Full Documentation
See the full documentation.
Contribute
See the guidelines in CONTRIBUTING.md.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lczerolens-0.3.3.tar.gz.
File metadata
- Download URL: lczerolens-0.3.3.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a9fb714cf7b2c991cf3ef90b40b24ad4b1eede3f376f13f580c9000343c6957
|
|
| MD5 |
9013f6eee4c3776b9d3434877abf8ec4
|
|
| BLAKE2b-256 |
0611a2e5475b50f8a34ed4e56761ef570f41124412b5203f881e238dc85bf366
|
Provenance
The following attestation bundles were made for lczerolens-0.3.3.tar.gz:
Publisher:
publish.yml on Xmaster6y/lczerolens
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lczerolens-0.3.3.tar.gz -
Subject digest:
1a9fb714cf7b2c991cf3ef90b40b24ad4b1eede3f376f13f580c9000343c6957 - Sigstore transparency entry: 206015745
- Sigstore integration time:
-
Permalink:
Xmaster6y/lczerolens@3487903d6e7711147ae7c28d1b25f014c6141771 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/Xmaster6y
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3487903d6e7711147ae7c28d1b25f014c6141771 -
Trigger Event:
release
-
Statement type:
File details
Details for the file lczerolens-0.3.3-py3-none-any.whl.
File metadata
- Download URL: lczerolens-0.3.3-py3-none-any.whl
- Upload date:
- Size: 35.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8af667fb4b54df6b6306b3db9542f4cd82891a3cf23a76f3141a0ca1e8a5410c
|
|
| MD5 |
76263f13b56761e0f87c0fd742a4f44e
|
|
| BLAKE2b-256 |
4aaa224f68650592d05ca9a15b5150e8de75b980443e10756b9743fe75180241
|
Provenance
The following attestation bundles were made for lczerolens-0.3.3-py3-none-any.whl:
Publisher:
publish.yml on Xmaster6y/lczerolens
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lczerolens-0.3.3-py3-none-any.whl -
Subject digest:
8af667fb4b54df6b6306b3db9542f4cd82891a3cf23a76f3141a0ca1e8a5410c - Sigstore transparency entry: 206015751
- Sigstore integration time:
-
Permalink:
Xmaster6y/lczerolens@3487903d6e7711147ae7c28d1b25f014c6141771 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/Xmaster6y
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3487903d6e7711147ae7c28d1b25f014c6141771 -
Trigger Event:
release
-
Statement type: