Skip to content

Commit 05c5043

Browse files
update citation icons and footer text
1 parent 476c2ff commit 05c5043

File tree

2 files changed

+38
-28
lines changed

2 files changed

+38
-28
lines changed

_includes/citation/cite.qmd

Lines changed: 37 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,43 @@
22
<div class="citation-container">
33
<h3 id="cite" class="pb-1 text-center">Turing.jl is an <a href="https://github.com/TuringLang/Turing.jl/blob/main/LICENCE" class="turing-license-link"><code>MIT</code></a> Licensed Open Source Project</h3>
44
<p class="text-center">If you use Turing.jl in your research, please consider citing our papers.</p>
5-
6-
<ul id="citation-list" class="citation-list">
5+
6+
<ul id="citation-list" class="citation-list">
77
<!-- Citations will be dynamically injected here -->
88
</ul>
99
</div>
1010
1111
<script>
1212
// DATA: Add new BibTeX entries here
1313
const bibtexData = [
14-
`@article{Fjelde2025Turing,
15-
author = {Fjelde, Tor Erlend and Xu, Kai and Widmann, David and Tarek, Mohamed and Pfiffer, Cameron and Trapp, Martin and Axen, Seth D. and Sun, Xianda and Hauru, Markus and Yong, Penelope and Tebbutt, Will and Ghahramani, Zoubin and Ge, Hong},
16-
title = {Turing.jl: a general-purpose probabilistic programming language},
17-
journal = {ACM Transactions on Probabilistic Machine Learning},
18-
year = {2025},
14+
`@article{10.1145/3711897,
15+
author = {Fjelde, Tor Erlend and Xu, Kai and Widmann, David and Tarek, Mohamed and Pfiffer, Cameron and Trapp, Martin and Axen, Seth D. and Sun, Xianda and Hauru, Markus and Yong, Penelope and Tebbutt, Will and Ghahramani, Zoubin and Ge, Hong},
16+
title = {Turing.jl: a general-purpose probabilistic programming language},
17+
year = {2025},
1918
publisher = {Association for Computing Machinery},
20-
doi = {10.1145/3711897},
21-
note = {Just Accepted},
22-
url = {https://doi.org/10.1145/3711897}
19+
address = {New York, NY, USA},
20+
url = {https://doi.org/10.1145/3711897},
21+
doi = {10.1145/3711897},
22+
abstract = {Probabilistic programming languages (PPLs) are becoming increasingly important in many scientific disciplines, such as economics, epidemiology, and biology, to extract meaning from sources of data while accounting for one's uncertainty. The key idea of probabilistic programming is to decouple inference and model specification, thus allowing the practitioner to approach their task at hand using Bayesian inference, without requiring extensive knowledge in programming or computational statistics. At the same time, the complexity of problem settings in which PPLs are employed is steadily increasing, both in terms of project size and model complexity, calling for more flexible and efficient systems. In this work, we describe Turing.jl, a general-purpose PPL, which is designed to be flexible, efficient, and easy to use. Turing.jl is built on top of the Julia programming language, which is known for its high performance and ease-of-use. We describe the design of Turing.jl, contextualizing it within different types of users and use cases, its key features, and how it can be used to solve a wide range of problems. We also provide a brief overview of the ecosystem around Turing.jl, including the different libraries and tools that can be used in conjunction with it. Finally, we provide a few examples of how Turing.jl can be used in practice.},
23+
note = {Just Accepted},
24+
journal = {ACM Trans. Probab. Mach. Learn.},
25+
month = feb,
26+
keywords = {Probabilistic Programming, Probabilistic Programming Languages, Probabilistic Inference, Bayesian Inference, Markov Chain Monte Carlo, Variational Inference, Sequential Monte Carlo, Uncertainty Quantification, Modeling Methodologies, Latent Variable Models, Maximum a Posteriori Modeling, Software Libraries and Repositories, Bayesian Computation, Variational Methods, Sequential Monte Carlo Methods}
2327
}`,
24-
`@inproceedings{Ge2018Turing,
25-
author = {Ge, Hong and Xu, Kai and Ghahramani, Zoubin},
26-
title = {Turing: a language for flexible probabilistic inference},
27-
booktitle = {Proceedings of the 21st International Conference on Artificial Intelligence and Statistics (AISTATS)},
28-
series = {Proceedings of Machine Learning Research},
29-
volume = {84},
30-
pages = {1682--1690},
31-
year = {2018},
28+
`@InProceedings{pmlr-v84-ge18b,
29+
title = {Turing: A Language for Flexible Probabilistic Inference},
30+
author = {Ge, Hong and Xu, Kai and Ghahramani, Zoubin},
31+
booktitle = {Proceedings of the Twenty-First International Conference on Artificial Intelligence and Statistics},
32+
pages = {1682--1690},
33+
year = {2018},
34+
editor = {Storkey, Amos and Perez-Cruz, Fernando},
35+
volume = {84},
36+
series = {Proceedings of Machine Learning Research},
37+
month = {09--11 Apr},
3238
publisher = {PMLR},
33-
url = {http://proceedings.mlr.press/v84/ge18b.html}
39+
pdf = {http://proceedings.mlr.press/v84/ge18b/ge18b.pdf},
40+
url = {https://proceedings.mlr.press/v84/ge18b.html},
41+
abstract = {Probabilistic programming promises to simplify and democratize probabilistic machine learning, but successful probabilistic programming systems require flexible, generic and efficient inference engines. In this work, we present a system called Turing for building MCMC algorithms for probabilistic programming inference. Turing has a very simple syntax and makes full use of the numerical capabilities in the Julia programming language, including all implemented probability distributions, and automatic differentiation. Turing supports a wide range of popular Monte Carlo algorithms, including Hamiltonian Monte Carlo (HMC), HMC with No-U-Turns (NUTS), Gibbs sampling, sequential Monte Carlo (SMC), and several particle MCMC (PMCMC) samplers. Most importantly, Turing inference is composable: it combines MCMC operations on subsets of variables, for example using a combination of an HMC engine and a particle Gibbs (PG) engine. We explore several combinations of inference methods with the aim of finding approaches that are both efficient and universal, i.e. applicable to arbitrary probabilistic models. NUTS—a popular variant of HMC that adapts Hamiltonian simulation path length automatically, although quite powerful for exploring differentiable target distributions, is however not universal. We identify some failure modes for the NUTS engine, and demonstrate that composition of PG (for discrete variables) and NUTS (for continuous variables) can be useful when the NUTS engine is either not applicable, or simply does not work well. Our aim is to present Turing and its composable inference engines to the world and encourage other researchers to build on this system to help advance the field of probabilistic machine learning.}
3442
}`
3543
];
3644
@@ -67,9 +75,9 @@ function generateCitationHTML(bibData) {
6775
if (note) {
6876
publicationInfo += ` ${note}.`;
6977
}
70-
78+
7179
const viewUrl = url || (doi ? `https://doi.org/${doi}` : '#');
72-
80+
7381
// The author string is now used directly from the bibtex data without formatting.
7482
const authorsFormatted = author || 'N/A';
7583
@@ -81,11 +89,13 @@ function generateCitationHTML(bibData) {
8189
</p>
8290
</div>
8391
<div class="citation-actions">
84-
<a href="${viewUrl}" target="_blank" rel="noopener noreferrer" class="citation-icon-btn" aria-label="View Paper: ${title}">
85-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z"/><path fill-rule="evenodd" d="M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z"/></svg>
92+
<a href="${viewUrl}" target="_blank" rel="noopener noreferrer" class="citation-icon-btn" aria-label="View Paper: ${title}" title="View Paper">
93+
<!-- Bootstrap redirection icon -->
94+
<i class="bi bi-box-arrow-up-right"></i>
8695
</a>
87-
<button class="citation-icon-btn copy-bibtex-btn" aria-label="Copy BibTeX for ${title}">
88-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/></svg>
96+
<button class="citation-icon-btn copy-bibtex-btn" aria-label="Copy BibTeX for ${title}" title="Copy BibTeX">
97+
<!-- Custom SVG for citation icon -->
98+
<svg fill="currentColor" height="135px" width="135px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 191.029 191.029" xml:space="preserve"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M44.33,88.474v15.377h38.417v82.745H0v-82.745h0.002V88.474c0-31.225,8.984-54.411,26.704-68.918 C38.964,9.521,54.48,4.433,72.824,4.433v44.326C62.866,48.759,44.33,48.759,44.33,88.474z M181.107,48.759V4.433 c-18.343,0-33.859,5.088-46.117,15.123c-17.72,14.507-26.705,37.694-26.705,68.918v15.377h0v82.745h82.744v-82.745h-38.417V88.474 C152.613,48.759,171.149,48.759,181.107,48.759z"></path> </g></svg>
8999
</button>
90100
</div>
91101
<pre class="citation-bibtex-data" style="display:none;">${raw}</pre>
@@ -99,7 +109,7 @@ function copyBibtex(buttonElement) {
99109
100110
const bibtexPreElement = citationEntry.querySelector('.citation-bibtex-data');
101111
if (!bibtexPreElement) return;
102-
112+
103113
const bibtexText = bibtexPreElement.textContent.trim();
104114
105115
if (navigator.clipboard && window.isSecureContext) {
@@ -167,7 +177,7 @@ document.addEventListener('DOMContentLoaded', () => {
167177
// Generate and inject HTML
168178
const allCitationsHTML = bibtexData.map(bib => generateCitationHTML(parseBibtex(bib))).join('');
169179
container.innerHTML = allCitationsHTML;
170-
180+
171181
container.addEventListener('click', function(event) {
172182
const button = event.target.closest('.copy-bibtex-btn');
173183
if (button) {

_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ format:
8989
</div>
9090
9191
<div class="footer-column footer-brands">
92-
<h5>Supported by world-class institutions</h5>
92+
<h5>Supported by leading researchers</h5>
9393
<p>Turing.jl is developed by researchers and engineers at the following research institutions.</p>
9494
<div class="logo-grid">
9595
<a href="https://mlg.eng.cam.ac.uk/" class="partner-logo" target="_blank" rel="noopener">

0 commit comments

Comments
 (0)