Skip to content

irhyl/talyn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

179 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Talyn Logo

Talyn

MIT License Python 3.7+ Status: Production Ready Platform: Cross-platform

Probability Icon Simulation Icon Inference Icon


Talyn is a first-principles simulation kernel for probabilistic modeling and inference, designed for clarity, extensibility, and mathematical rigor.


What is Talyn?

Talyn is a simulation-native probabilistic programming system. It empowers you to define, simulate, and analyze complex probabilistic models using a trace-first, execution-based approach—no abstraction layers or symbolic graphs. Talyn is designed for researchers, educators, and engineers who want full transparency and control over every probabilistic computation.


Key Features

  • Simulation-based inference (no static graphs, pure execution)
  • Transparent execution traces for every run
  • Supports: Monte Carlo, importance sampling, belief propagation, particle filtering, and more
  • Composable, dynamic model definitions (YAML or Python DSL)
  • CLI and Python API for flexible workflows
  • Extensible: add new distributions or inference methods easily
  • Academic-grade testing and validation suite

Installation & Quick Start

pip install talyn # or for local development pip install -e .

Minimal CLI example:

talyn simulate coin.yaml

Project Structure

  • talyn/ — Core library (sampler, trace, inference, etc.)
  • docs/ — Documentation and Jupyter notebooks
  • tests/ — Unit and regression tests
  • examples/ — Example models and scripts

Tutorials & Notebooks

See NOTEBOOKS.md for a categorized list of Jupyter notebooks, including tutorials, validation, and benchmarks.


License & Citation

This project is licensed under the MIT License.

For academic use, please cite using the BibTeX entry in CITATION.md.


built with ❤️ by aditi ramakrishnan

About

A First-Principles Simulation Kernel for Probabilistic Modeling and Inference

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors