thu-ml/zhusuan
thu-ml/zhusuan has 2,218 GitHub stars and 411 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-13 07:53 UTC. Last push 2022-12-17.
Comment ces chiffres sont mesurés
A probabilistic programming library for Bayesian deep learning, generative models, based on Tensorflow
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalZhuSuan is a Python probabilistic programming library for Bayesian deep learning, which conjoins the complimentary advantages of Bayesian methods and deep learning. ZhuSuan is built upon TensorFlow. Unlike existing deep learning libraries, which are mainly designed for deterministic neural networks and supervised tasks, ZhuSuan provides deep learning style primitives and algorithms for building probabilistic models and applying Bayesian inference. The supported inference algorithms include:
Variational Inference (VI) with programmable variational posteriors, various objectives and advanced gradient estimators (SGVB, REINFORCE, VIMCO, etc.).
Importance Sampling (IS) for learning and evaluating models, with programmable proposals.
Hamiltonian Monte Carlo (HMC) with parallel chains, and optional automatic parameter tuning.
Stochastic Gradient Markov Chain Monte Carlo (SGMCMC): SGLD, PSGLD, SGHMC, and SGNHT.
Installation
ZhuSuan is still under development. Before the first stable release (1.0), please clone the repository and run
pip install .
in the main directory. This will install ZhuSuan and its dependencies automatically. ZhuSuan also requires TensorFlow 1.13.0 or later. Because users should choose whether to install the cpu or gpu version of TensorFlow, we do not include it in the dependencies. See Installing TensorFlow.
If you are developing ZhuSuan, you may want to install in an "editable" or "develop" mode. Please refer to the Contributing section below.
Documentation
Examples
We provide examples on traditional hierarchical Bayesian models and recent deep generative models.
To run the provided examples, you may need extra dependencies to be installed. This can be done by
pip install ".[examples]"
- Gaussian: HMC
- Toy 2D Intractable Posterior: SGVB
- Bayesian Neural Networks: SGVB, SGMCMC
- Variational Autoencoder (VAE): SGVB, IWAE
- Convolutional VAE: SGVB
- Semi-supervised VAE (Kingma, 2014): SGVB, Adaptive IS
- Deep Sigmoid Belief Networks Adaptive IS, VIMCO
- Logistic Normal Topic Model: HMC
- Probabilistic Matrix Factorization: HMC
- Sparse Variational Gaussian Process: SGVB
Citing ZhuSuan
If you find ZhuSuan useful, please cite it in your publications. We provide a BibTeX entry of the ZhuSuan white paper below.
@ARTICLE{zhusuan2017,
title={Zhu{S}uan: A Library for {B}ayesian Deep Learning},
author={Shi, Jiaxin and Chen, Jianfei. and Zhu, Jun and Sun, Shengyang
and Luo, Yucen and Gu, Yihong and Zhou, Yuhao},
journal={arXiv preprint arXiv:1709.05870},
year=2017,
}
Contributing
We always welcome contributions to help make ZhuSuan better. If you would like to contribute, please check out the guidelines here.
Explorer des projets similaires
tensorflow/tensorflow
Un framework open source d'apprentissage automatique pour tous
201,584 étoileshuggingface/transformers
🤗 Transformers : le framework de définition de modèles pour les modèles d'apprentissage automatique de pointe en texte, vision, audio et multimodal, pour l'inférence et l'entraînement.
168,917 étoilesAUTOMATIC1111/stable-diffusion-webui
Interface web de Stable Diffusion
165,300 étoilesComfy-Org/ComfyUI
La GUI, l'API et le backend les plus puissants et modulaires pour les modèles de diffusion, avec une interface de graphes et de nœuds. Le moteur d'inférence local le plus rapide au monde.
146,472 étoiles