Skip to content

Commit

Permalink
🎨 YAY: Simplify date and authors markup (huggingface#816)
Browse files Browse the repository at this point in the history
* consistency

* consistency

* one more

* consistency

* OK LET'S GOOO

* missed one for some reason

* Update README.md

* BOOOM

* some missing ones

* Pheeew

* unrelated but nice cleanup

* add my seminal blog hehe

* Feedback from @pcuenca

* better formatting

* more tweaks

* Fix changed usernames

* unrelated fix
  • Loading branch information
julien-c authored Feb 3, 2023
1 parent 44b2559 commit f407082
Show file tree
Hide file tree
Showing 178 changed files with 980 additions and 3,762 deletions.
28 changes: 7 additions & 21 deletions 1b-sentence-embeddings.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
---
title: "Train a Sentence Embedding Model with 1B Training Pairs"
authors:
- user: asi
guest: true
---

<h1>
Train a Sentence Embedding Model with 1 Billion Training Pairs
</h1>

<div class="blog-metadata">
<small>Published September 1, 2021.</small>
<a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/huggingface/blog/blob/main/1b-sentence-embeddings.md">
Update on GitHub
</a>
</div>

<div class="author-card">
<a href="/asi">
<img class="avatar avatar-user" src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1635232952881-6087d7c0df398c3b285ce94c.jpeg?w=200&h=200&f=face" title="Gravatar">
<div class="bfc">
<code>asi</code>
<span class="fullname">Antoine Simoulin</span>
<span class="bg-gray-100 dark:bg-gray-700 rounded px-1 text-gray-600 text-sm font-mono">guest</span>
</div>
</a>
</div>
# Train a Sentence Embedding Model with 1 Billion Training Pairs

{blog_metadata}
{authors}

**Sentence embedding** is a method that maps sentences to vectors of real numbers. Ideally, these vectors would capture the semantic of a sentence and be highly generic. Such representations could then be used for many downstream applications such as clustering, text mining, or question answering.

Expand Down
35 changes: 6 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,20 @@ For the rest of your files, create a mirrored folder in the HuggingFace Document
4️⃣ Copy and paste this to your md file and change the elements
- title
- thumbnail
- Published (change the date)
- Change the author card
- href ="/ your huggingface username"
- src : your huggingface picture, for that right click to the huggingface picture and copy the link
- <span class="fullname"> : your name

- 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
<div class="blog-metadata">
<small>Published September 02, 2022.</small>
<a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/huggingface/blog/blob/main/decision-transformers-train.md">
Update on GitHub
</a>
</div>
<div class="author-card">
<a href="/edbeeching">
<img class="avatar avatar-user" src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1644220542819-noauth.jpeg?w=200&h=200&f=face" title="Gravatar">
<div class="bfc">
<code>edbeeching</code>
<span class="fullname">Edward Beeching</span>
</div>
</a>
<a href="/ThomasSimonini">
<img class="avatar avatar-user" src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1632748593235-60cae820b1c79a3e4b436664.jpeg?w=200&h=200&f=face" title="Gravatar">
<div class="bfc">
<code>ThomasSimonini</code>
<span class="fullname">Thomas Simonini</span>
</div>
</a>
</div>
{blog_metadata}
{authors}
```

5️⃣ Then, you can add your content. It's markdown system so if you wrote your text on notion just control shift v to copy/paste as markdown.
Expand Down
4 changes: 2 additions & 2 deletions _blog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@

- local: ethics-soc-1
title: "Ethics and Society Newsletter #1"
author: meg-huggingface
author: meg
thumbnail: /blog/assets/103_ethics-soc-1/thumbnail.png
date: Sep 22, 2022
tags:
Expand Down Expand Up @@ -1675,7 +1675,7 @@
- local: optimum-onnxruntime-training
title: "Optimum+ONNX Runtime - Easier, Faster training for your Hugging Face models"
author: Jingya
thumbnail: blog/assets/optimum_onnxruntime-training/thumbnail.png
thumbnail: /blog/assets/optimum_onnxruntime-training/thumbnail.png
date: January 24, 2023
tags:
- guide
Expand Down
28 changes: 5 additions & 23 deletions accelerate-deepspeed.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,15 @@
---
title: "Accelerate Large Model Training using DeepSpeed"
thumbnail: /blog/assets/83_accelerate_deepspeed/deepspeed-thumbnail.png
authors:
- user: smangrul
- user: sgugger
---

<h1>Accelerate Large Model Training using DeepSpeed</h1>

<div class="blog-metadata">
<small>Published June 28, 2022.</small>
<a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/huggingface/blog/blob/main/pytorch-fsdp.md">
Update on GitHub
</a>
</div>

<div class="author-card">
<a href="/smangrul">
<img class="avatar avatar-user" src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1638132956881-5fca176d1d7a08cb34d79d5d.jpeg?w=200&h=200&f=face" title="Gravatar">
<div class="bfc">
<code>smangrul</code>
<span class="fullname">Sourab Mangrulkar</span>
</div>
</a>
<a href="/sgugger">
<img class="avatar avatar-user" src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1593126474392-5ef50182b71947201082a4e5.jpeg?w=200&h=200&f=face" title="Gravatar">
<div class="bfc">
<code>sgugger</code>
<span class="fullname">Sylvain Gugger</span>
</div>
</a>
</div>
{blog_metadata}
{authors}

In this post we will look at how we can leverage the **[Accelerate](https://github.com/huggingface/accelerate)** library for training large models which enables users to leverage the ZeRO features of **[DeeSpeed](https://www.deepspeed.ai)**.

Expand Down
26 changes: 6 additions & 20 deletions accelerate-large-models.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
---
title: "How 🤗 Accelerate runs very large models thanks to PyTorch"
thumbnail: /blog/assets/104_accelerate-large-models/thumbnail.png
authors:
- user: sgugger
---

<h1>
How 🤗 Accelerate runs very large models thanks to PyTorch
</h1>

<div class="blog-metadata">
<small>Published September 27, 2022.</small>
<a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/huggingface/blog/blob/main/accelerate-large-models.md">
Update on GitHub
</a>
</div>

<div class="author-card">
<a href="/sgugger">
<img class="avatar avatar-user" src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1593126474392-5ef50182b71947201082a4e5.jpeg?w=200&h=200&f=face" title="Gravatar">
<div class="bfc">
<code>sgugger</code>
<span class="fullname">Sylvain Gugger</span>
</div>
</a>
</div>
# How 🤗 Accelerate runs very large models thanks to PyTorch

{blog_metadata}
{authors}

## Load and run large models

Expand Down
26 changes: 6 additions & 20 deletions accelerate-library.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
---
title: "Introducing 🤗 Accelerate"
thumbnail: /blog/assets/20_accelerate_library/accelerate_diff.png
authors:
- user: sgugger
---

<h1>
Introducing 🤗 Accelerate
</h1>

<div class="blog-metadata">
<small>Published April 16, 2021.</small>
<a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/huggingface/blog/blob/main/accelerate-library.md">
Update on GitHub
</a>
</div>

<div class="author-card">
<a href="/sgugger">
<img class="avatar avatar-user" src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1593126474392-5ef50182b71947201082a4e5.jpeg?w=200&h=200&f=face" title="Gravatar">
<div class="bfc">
<code>sgugger</code>
<span class="fullname">Sylvain Gugger</span>
</div>
</a>
</div>
# Introducing 🤗 Accelerate

{blog_metadata}
{authors}

## 🤗 Accelerate

Expand Down
7 changes: 1 addition & 6 deletions accelerated-inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ thumbnail: /blog/assets/09_accelerated_inference/thumbnail.png

<h1>How we sped up transformer inference 100x for 🤗 API customers</h1>

<div class="blog-metadata">
<small>Published Jan 18, 2021.</small>
<a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/huggingface/blog/blob/main/accelerated-inference.md">
Update on GitHub
</a>
</div>
{blog_metadata}

🤗 Transformers has become the default library for data scientists all around the world to explore state of the art NLP models and build new NLP features. With over 5,000 pre-trained and fine-tuned models available, in over 250 languages, it is a rich playground, easily accessible whichever framework you are working in.

Expand Down
28 changes: 7 additions & 21 deletions accelerating-pytorch.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,15 @@
---
title: "Accelerating PyTorch distributed fine-tuning with Intel technologies"
thumbnail: /blog/assets/36_accelerating_pytorch/04_four_nodes.png
authors:
- user: juliensimon
---

<h1>
Accelerating PyTorch distributed fine-tuning with Intel technologies
</h1>


<div class="blog-metadata">
<small>Published November 19, 2021.</small>
<a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/juliensimon/blog/blob/main/large-language-models.md">
Update on GitHub
</a>
</div>

<div class="author-card">
<a href="https://twitter.com/julsimon">
<img class="avatar avatar-user" src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1633343465505-noauth.jpeg?w=128&h=128&f=face" title="Julien Simon">
<div class="bfc">
<code>juliensimon</code>
<span class=fullname">Julien Simon</span>
</div>
</a>
</div>
# Accelerating PyTorch distributed fine-tuning with Intel technologies


{blog_metadata}
{authors}

For all their amazing performance, state of the art deep learning models often take a long time to train. In order to speed up training jobs, engineering teams rely on distributed training, a divide-and-conquer technique where clustered servers each keep a copy of the model, train it on a subset of the training set, and exchange results to converge to a final model.

Expand Down
26 changes: 6 additions & 20 deletions ai-residency.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
---
title: "Announcing the 🤗 AI Research Residency Program"
thumbnail: /blog/assets/57_ai_residency/residency-thumbnail.jpg
authors:
- user: douwekiela
---

<h1>
Announcing the 🤗 AI Research Residency Program 🎉 🎉 🎉
</h1>

<div class="blog-metadata">
<small>Published March 22, 2022.</small>
<a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/huggingface/blog/blob/main/ai-residency.md">
Update on GitHub
</a>
</div>

<div class="author-card">
<a href="/douwekiela">
<img class="avatar avatar-user" src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1641847245435-61dc997715b47073db1620dc.jpeg?w=200&h=200&f=face" title="Gravatar">
<div class="bfc">
<code>douwekiela</code>
<span class="fullname">Douwe Kiela</span>
</div>
</a>
</div>
# Announcing the 🤗 AI Research Residency Program 🎉 🎉 🎉

{blog_metadata}
{authors}


The 🤗 Research Residency Program is a 9-month opportunity to launch or advance your career in machine learning research 🚀. The goal of the residency is to help you grow into an impactful AI researcher. Residents will work alongside Researchers from our Science Team. Together, you will pick a research problem and then develop new machine learning techniques to solve it in an open & collaborative way, with the hope of ultimately publishing your work and making it visible to a wide audience.
Expand Down
26 changes: 6 additions & 20 deletions ambassadors.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
---
title: "Student Ambassador Program’s call for applications is open!"
thumbnail: /blog/assets/67_ambassadors/thumbnail.png
authors:
- user: Violette
---

<h1>
Student Ambassador Program’s call for applications is open!
</h1>

<div class="blog-metadata">
<small>Published May 13, 2022.</small>
<a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/huggingface/blog/blob/main/ambassadors-program.md">
Update on GitHub
</a>
</div>

<div class="author-card">
<a href="/Violette">
<img class="avatar avatar-user" src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1638698875017-noauth.jpeg?w=200&h=200&f=face" title="Gravatar">
<div class="bfc">
<code>Violette</code>
<span class="fullname">Violette Lepercq</span>
</div>
</a>
</div>
# Student Ambassador Program’s call for applications is open!

{blog_metadata}
{authors}

As an open-source company democratizing machine learning, Hugging Face believes it is essential to **[teach](https://huggingface.co/blog/education)** open-source ML to people from all backgrounds worldwide. **We aim to teach machine learning to 5 million people by 2023**.

Expand Down
33 changes: 6 additions & 27 deletions annotated-diffusion.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,15 @@
---
title: The Annotated Diffusion Model
thumbnail: /blog/assets/78_annotated-diffusion/thumbnail.png
authors:
- user: nielsr
- user: kashif
---

<h1>
The Annotated Diffusion Model
</h1>
# The Annotated Diffusion Model

<div class="blog-metadata">
<small>Published June 7th, 2022.</small>
<a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/huggingface/blog/blob/master/annotated-diffusion.md">
Update on GitHub
</a>
</div>

<div class="author-card">
<a href="/nielsr">
<img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/48327001?v=4" width="100" title="Gravatar">
<div class="bfc">
<code>nielsr</code>
<span class="fullname">Niels Rogge</span>
</div>
</a>
<a href="/kashif">
<img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/8100?v=4" width="100" title="Gravatar">
<div class="bfc">
<code>kashif</code>
<span class="fullname">Kashif Rasul</span>
</div>
</a>

</div>
{blog_metadata}
{authors}

<script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script>

Expand Down
Loading

0 comments on commit f407082

Please sign in to comment.