Shared types and utilities for evalaution
Project description
Coral
A PyTorch-based neural network library for board game evaluation.
Overview
Coral provides a flexible framework for building and deploying neural networks to evaluate board game positions. It includes modular components for input conversion, neural network architectures, and output interpretation.
Features
- Multiple NN Architectures: Multi-layer perceptrons, transformers, and custom models
- Flexible Input/Output Conversion: Modular converters for different board representations and evaluation formats
- Point-of-View Evaluation: Support for evaluating positions from different player perspectives
- PyTorch Integration: Built on PyTorch with JIT compilation support for optimized inference
Installation
pip install git+https://github.com/victorgabillon/coral.git@main
Requirements
- Python >= 3.13
- PyTorch
- valanga (board game library)
Project Structure
src/coral/
├── board_evaluation.py # Point-of-view and evaluation types
├── chi_nn.py # Base neural network class
└── neural_networks/
├── factory.py # NN factory pattern
├── nn_content_evaluator.py # Board evaluation with NNs
├── models/ # NN architectures (MLP, Transformer)
├── input_converters/ # Board to tensor conversion
└── output_converters/ # NN output to evaluation conversion
License
GPL-3.0-only
Project details
Release history Release notifications | RSS feed
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 algorhino_coral-0.1.11.tar.gz.
File metadata
- Download URL: algorhino_coral-0.1.11.tar.gz
- Upload date:
- Size: 30.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eb1406cb813c5b42ac295a70a8876246c26d3e75d9dac7e1a8a413632d0c8b0
|
|
| MD5 |
f1e0a17f677c60a52341453f3792a96b
|
|
| BLAKE2b-256 |
e1698baf0655b3cfaa6afda707fbed967523128d9e1022aa1f0c75a7bf0fc35e
|
Provenance
The following attestation bundles were made for algorhino_coral-0.1.11.tar.gz:
Publisher:
release.yml on victorgabillon/coral
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
algorhino_coral-0.1.11.tar.gz -
Subject digest:
8eb1406cb813c5b42ac295a70a8876246c26d3e75d9dac7e1a8a413632d0c8b0 - Sigstore transparency entry: 927050733
- Sigstore integration time:
-
Permalink:
victorgabillon/coral@88b5ab3eb2aa6bc16763caefcb039d9e153f99b5 -
Branch / Tag:
refs/tags/v0.1.11 - Owner: https://github.com/victorgabillon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@88b5ab3eb2aa6bc16763caefcb039d9e153f99b5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file algorhino_coral-0.1.11-py3-none-any.whl.
File metadata
- Download URL: algorhino_coral-0.1.11-py3-none-any.whl
- Upload date:
- Size: 34.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25eb7fd45678a292b2894d47b6790fcb1fc199fe039b3ffd5459a856f5724e5f
|
|
| MD5 |
caad71cf28ae444958bb4d40e8f339e9
|
|
| BLAKE2b-256 |
fb29e3d1f22e8126cbe29c0a570b0b83494a8109a79471390c204db0bdd16c96
|
Provenance
The following attestation bundles were made for algorhino_coral-0.1.11-py3-none-any.whl:
Publisher:
release.yml on victorgabillon/coral
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
algorhino_coral-0.1.11-py3-none-any.whl -
Subject digest:
25eb7fd45678a292b2894d47b6790fcb1fc199fe039b3ffd5459a856f5724e5f - Sigstore transparency entry: 927050735
- Sigstore integration time:
-
Permalink:
victorgabillon/coral@88b5ab3eb2aa6bc16763caefcb039d9e153f99b5 -
Branch / Tag:
refs/tags/v0.1.11 - Owner: https://github.com/victorgabillon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@88b5ab3eb2aa6bc16763caefcb039d9e153f99b5 -
Trigger Event:
push
-
Statement type: