Hello World: My First Blog Post
Welcome
This is my first blog post on this site. The purpose of this page is to preview how different content elements render in the al-folio theme.
Text Formatting
Here is some bold text, italic text, and inline code. You can also use strikethrough and hyperlinks.
This is a blockquote. Useful for highlighting key takeaways or quoting references.
Code Blocks
A Python snippet:
import numpy as np
def hello(name: str = "World") -> str:
"""Greet someone."""
return f"Hello, {name}!"
# Generate some random data
x = np.linspace(0, 2 * np.pi, 100)
y = np.sin(x)
print(hello("Blog"))
An inline terminal command: pip install torch.
Math
Inline math: the Euler identity \(e^{i\pi} + 1 = 0\).
A display equation (Bayes’ theorem):
\[P(A \mid B) = \frac{P(B \mid A)\, P(A)}{P(B)}\]And a multi-line derivation:
\[\begin{aligned} \nabla_\theta \mathcal{L}(\theta) &= \mathbb{E}_{x \sim p_{\text{data}}} \left[ \nabla_\theta \log p_\theta(x) \right] \\ &\approx \frac{1}{N} \sum_{i=1}^{N} \nabla_\theta \log p_\theta(x_i) \end{aligned}\]Lists
Ordered:
- Read the paper
- Reproduce the baseline
- Run ablation experiments
Unordered:
- PyTorch
- NumPy
- Matplotlib
Table
| Method | Accuracy | F1 Score |
|---|---|---|
| Baseline | 0.82 | 0.79 |
| Ours | 0.91 | 0.88 |
Image Placeholder
To insert a real image, place it in assets/img/ and use:
{: width="600"}
What’s Next
This post is just a test. I’ll replace it with real content soon — stay tuned!