🤗
The Hugging Face Blog Repository This is the official repository of the Hugging Face Blog.
📝
How to write an article? YourName/Title
intro-rl.md
. This is important because the file name will be the blogpost's URL.
assets
. Use the same name as the name of the md file. Optionally you may add a numerical prefix to that folder, using the number that hasn't been used yet. But this is no longer required. i.e. the asset folder in this example could be 123_intro-rl
or intro-rl
. This folder will contain your thumbnail only. The folder number is mostly for (rough) ordering purposes, so it's no big deal if two concurrent articles use the same number.
For the rest of your files, create a mirrored folder in the HuggingFace Documentation Images repo. This is to reduce bloat in the GitHub base repo when cloning and pulling.
- Use compressed images, you can use this website: https://tinypng.com or https://www.iloveimg.com/compress-image
- title
- thumbnail
- authors
---
title: "PUT YOUR TITLE HERE"
thumbnail: /blog/assets/101_decision-transformers-train/thumbnail.gif
authors:
- user: your_hf_user
- user: your_coauthor
---
# Train your first Decision Transformer
<!-- {blog_metadata} -->
<!-- {authors} -->
Your content here [...]
The blog_metadata and authors HTML comments are meant to mark where in the file will be inserted the following UI elements:
- "Published on [date]"
- "Update on GitHub" button
- avatars of the authors that were listed in authors.
_blog.yml
to add your blogpost.
How to get a nice responsive thumbnail?
1300x650
image
Using LaTeX
Just add:
\\(your_latex_here\\)
For instance:
\\( Q(S_t, A_t) \\)