title
stringlengths
17
126
author
stringlengths
3
21
date
stringlengths
11
18
local
stringlengths
2
59
tags
stringlengths
2
76
URL
stringlengths
30
87
content
stringlengths
1.11k
108k
Getting Started with Sentiment Analysis on Twitter
FedericoPascual
July 7, 2022
sentiment-analysis-twitter
sentiment-analysis, nlp, guide
https://huggingface.co/blog/sentiment-analysis-twitter
# Getting Started with Sentiment Analysis on Twitter <script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script> Sentiment analysis is the automatic process of classifying text data according to their polarity, such as positive, negative and neutral. Companies leverag...
Introducing The World's Largest Open Multilingual Language Model: BLOOM
BigScience
July 12, 2022
bloom
open-source-collab, community, research
https://huggingface.co/blog/bloom
# 🌸 Introducing The World's Largest Open Multilingual Language Model: BLOOM 🌸 <a href="https://huggingface.co/bigscience/bloom"><img style="middle" width="950" src="/blog/assets/86_bloom/thumbnail-2.png"></a> Large language models (LLMs) have made a significant impact on AI research. These powerful, general mo...
Building a Playlist Generator with Sentence Transformers
NimaBoscarino
July 13, 2022
playlist-generator
nlp, guide
https://huggingface.co/blog/playlist-generator
# Building a Playlist Generator with Sentence Transformers <script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script> A short while ago I published a [playlist generator](https://huggingface.co/spaces/NimaBoscarino/playlist-generator) that I’d built using Sentence Tr...
The Technology Behind BLOOM Training
stas
July 14, 2022
bloom-megatron-deepspeed
nlp, llm
https://huggingface.co/blog/bloom-megatron-deepspeed
# The Technology Behind BLOOM Training In recent years, training ever larger language models has become the norm. While the issues of those models' not being released for further study is frequently discussed, the hidden knowledge about how to train such models rarely gets any attention. This article aims to chang...
How to train your model dynamically using adversarial data
chrisjay
July 16, 2022
mnist-adversarial
mnist, adversarial, guide
https://huggingface.co/blog/mnist-adversarial
# How to train your model dynamically using adversarial data ##### What you will learn here - 💡the basic idea of dynamic adversarial data collection and why it is important. - ⚒ how to collect adversarial data dynamically and train your model on them - using an MNIST handwritten digit recognition task as an example...
Advantage Actor Critic (A2C)
ThomasSimonini
July 22, 2022
deep-rl-a2c
rl
https://huggingface.co/blog/deep-rl-a2c
# Advantage Actor Critic (A2C) <h2>Unit 7, of the <a href="https://github.com/huggingface/deep-rl-class">Deep Reinforcement Learning Class with Hugging Face 🤗</a></h2> ⚠️ A **new updated version of this article is available here** 👉 [https://huggingface.co/deep-rl-course/unit1/introduction](https://huggingface.co...
Deploying TensorFlow Vision Models in Hugging Face with TF Serving
sayakpaul
July 25, 2022
tf-serving-vision
guide, cv
https://huggingface.co/blog/tf-serving-vision
# Deploying TensorFlow Vision Models in Hugging Face with TF Serving <a target="_blank" href="https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/111_tf_serving_vision.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> In the past few...
Faster Text Generation with TensorFlow and XLA
joaogante
July 27, 2022
tf-xla-generate
nlp, guide
https://huggingface.co/blog/tf-xla-generate
# Faster Text Generation with TensorFlow and XLA <em>TL;DR</em>: Text Generation on 🤗 `transformers` using TensorFlow can now be compiled with XLA. It is up to 100x faster than before, and [even faster than PyTorch](https://huggingface.co/spaces/joaogante/tf_xla_generate_benchmarks) -- check the colab below! <a tar...
Introducing new audio and vision documentation in 🤗 Datasets
stevhliu
July 28, 2022
datasets-docs-update
audio, cv, community, announcement
https://huggingface.co/blog/datasets-docs-update
# Introducing new audio and vision documentation in 🤗 Datasets Open and reproducible datasets are essential for advancing good machine learning. At the same time, datasets have grown tremendously in size as rocket fuel for large language models. In 2020, Hugging Face launched 🤗 Datasets, a library dedicated to: 1...
AI Policy @🤗: Comments on U.S. National AI Research Resource Interim Report
irenesolaiman
August 1, 2022
us-national-ai-research-resource
community, ethics
https://huggingface.co/blog/us-national-ai-research-resource
# AI Policy @🤗: Comments on U.S. National AI Research Resource Interim Report In late June 2022, Hugging Face submitted a response to the White House Office of Science and Technology Policy and National Science Foundation’s Request for Information on a roadmap for implementing the National Artificial Intelligence R...
Nyströmformer, Approximating self-attention in linear time and memory via the Nyström method
novice03
August 2, 2022
nystromformer
research, nlp
https://huggingface.co/blog/nystromformer
# Nyströmformer: Approximating self-attention in linear time and memory via the Nyström method <script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script> ## Introduction Transformers have exhibited remarkable performance on various Natural Language Processing and Co...
Introducing the Private Hub: A New Way to Build With Machine Learning
FedericoPascual
August 3, 2022
introducing-private-hub
announcement, enterprise, hub
https://huggingface.co/blog/introducing-private-hub
# Introducing the Private Hub: A New Way to Build With Machine Learning <script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script> <br> <div style="background-color: #e6f9e6; padding: 16px 32px; outline: 2px solid; border-radius: 10px;"> June 2023 Update: The ...
Proximal Policy Optimization (PPO)
ThomasSimonini
August 5, 2022
deep-rl-ppo
rl
https://huggingface.co/blog/deep-rl-ppo
# Proximal Policy Optimization (PPO) <h2>Unit 8, of the <a href="https://github.com/huggingface/deep-rl-class">Deep Reinforcement Learning Class with Hugging Face 🤗</a></h2> ⚠️ A **new updated version of this article is available here** 👉 [https://huggingface.co/deep-rl-course/unit1/introduction](https://huggin...
Train and Fine-Tune Sentence Transformers Models
espejelomar
August 10, 2022
how-to-train-sentence-transformers
guide, nlp
https://huggingface.co/blog/how-to-train-sentence-transformers
# Train and Fine-Tune Sentence Transformers Models Check out this tutorial with the Notebook Companion: <a target="_blank" href="https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/95_Training_Sentence_Transformers.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.s...
Deploying 🤗 ViT on Kubernetes with TF Serving
chansung
August 11, 2022
deploy-tfserving-kubernetes
guide, cv
https://huggingface.co/blog/deploy-tfserving-kubernetes
# Deploying 🤗 ViT on Kubernetes with TF Serving # Introduction In the [<u>previous post</u>](https://huggingface.co/blog/tf-serving-vision), we showed how to deploy a [<u>Vision Transformer (ViT)</u>](https://huggingface.co/docs/transformers/main/en/model_doc/vit) model from 🤗 Transformers locally with TensorFlow...
Hugging Face's TensorFlow Philosophy
rocketknight1
August 12, 2022
tensorflow-philosophy
nlp, cv, guide
https://huggingface.co/blog/tensorflow-philosophy
# Hugging Face's TensorFlow Philosophy ### Introduction Despite increasing competition from PyTorch and JAX, TensorFlow remains [the most-used deep learning framework](https://twitter.com/fchollet/status/1478404084881190912?lang=en). It also differs from those other two libraries in some very important ways. In p...
Introducing Skops
merve
August 12, 2022
skops
open-source-collab, scikit-learn, announcement, guide
https://huggingface.co/blog/skops
# Introducing Skops ## Introducing Skops At Hugging Face, we are working on tackling various problems in open-source machine learning, including, hosting models securely and openly, enabling reproducibility, explainability and collaboration. We are thrilled to introduce you to our new library: Skops! With Skops, yo...
A Gentle Introduction to 8-bit Matrix Multiplication for transformers at scale using transformers, accelerate and bitsandbytes
ybelkada
August 17, 2022
hf-bitsandbytes-integration
nlp, llm, quantization
https://huggingface.co/blog/hf-bitsandbytes-integration
# A Gentle Introduction to 8-bit Matrix Multiplication for transformers at scale using Hugging Face Transformers, Accelerate and bitsandbytes ![thumbnail](assets/96_hf_bitsandbytes_integration/Thumbnail_blue.png) ## Introduction Language models are becoming larger all the time. At the time of this writing, PaLM ha...
Deep Dive: Vision Transformers On Hugging Face Optimum Graphcore
juliensimon
August 18, 2022
vision-transformers
vision, graphcore
https://huggingface.co/blog/vision-transformers
# Deep Dive: Vision Transformers On Hugging Face Optimum Graphcore This blog post will show how easy it is to fine-tune pre-trained Transformer models for your dataset using the Hugging Face Optimum library on Graphcore Intelligence Processing Units (IPUs). As an example, we will show a step-by-step guide and provid...
Deploying 🤗 ViT on Vertex AI
sayakpaul
August 19, 2022
deploy-vertex-ai
guide, cv
https://huggingface.co/blog/deploy-vertex-ai
# Deploying 🤗 ViT on Vertex AI <a target="_blank" href="https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/112_vertex_ai_vision.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> In the previous posts, we showed how to deploy a [<u>...
Pre-Train BERT with Hugging Face Transformers and Habana Gaudi
philschmid
August 22, 2022
pretraining-bert
nlp, partnerships, guide
https://huggingface.co/blog/pretraining-bert
# Pre-Training BERT with Hugging Face Transformers and Habana Gaudi In this Tutorial, you will learn how to pre-train [BERT-base](https://huggingface.co/bert-base-uncased) from scratch using a Habana Gaudi-based [DL1 instance](https://aws.amazon.com/ec2/instance-types/dl1/) on AWS to take advantage of the cost-perfo...
Stable Diffusion with 🧨 Diffusers
valhalla
August 22, 2022
stable_diffusion
guide, diffusion, nlp, text to image, clip, stable-diffusion, dalle
https://huggingface.co/blog/stable_diffusion
# Stable Diffusion with 🧨 Diffusers <a target="_blank" href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/stable_diffusion.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> # **Stable Diffusion** 🎨 *...using 🧨 Diffuse...
Visualize proteins on Hugging Face Spaces
duerrsimon
August 24, 2022
spaces_3dmoljs
research
https://huggingface.co/blog/spaces_3dmoljs
# Visualize proteins on Hugging Face Spaces In this post we will look at how we can visualize proteins on Hugging Face Spaces. ## Motivation 🤗 Proteins have a huge impact on our life - from medicines to washing powder. Machine learning on proteins is a rapidly growing field to help us design new and interesting p...
OpenRAIL: Towards open and responsible AI licensing frameworks
CarlosMFerr
August 31, 2022
open_rail
community
https://huggingface.co/blog/open_rail
# OpenRAIL: Towards open and responsible AI licensing frameworks Open & Responsible AI licenses ("OpenRAIL") are AI-specific licenses enabling open access, use and distribution of AI artifacts while requiring a responsible use of the latter. OpenRAIL licenses could be for open and responsible ML what current ope...
Train your first Decision Transformer
edbeeching
September 08, 2022
train-decision-transformers
rl
https://huggingface.co/blog/train-decision-transformers
# Train your first Decision Transformer In a [previous post](https://huggingface.co/blog/decision-transformers), we announced the launch of Decision Transformers in the transformers library. This new technique of **using a Transformer as a Decision-making model** is getting increasingly popular. So today, **you’ll ...
What's new in Diffusers? 🎨
osanseviero
September 12, 2022
diffusers-2nd-month
guide, diffusion, text_to_image, stable-diffusion
https://huggingface.co/blog/diffusers-2nd-month
# What's new in Diffusers? 🎨 A month and a half ago we released `diffusers`, a library that provides a modular toolbox for diffusion models across modalities. A couple of weeks later, we released support for Stable Diffusion, a high quality text-to-image model, with a free demo for anyone to try out. Apart from bur...
How to train a Language Model with Megatron-LM
loubnabnl
September 7, 2022
megatron-training
guide, nlp
https://huggingface.co/blog/megatron-training
# How to train a Language Model with Megatron-LM Training large language models in Pytorch requires more than a simple training loop. It is usually distributed across multiple devices, with many optimization techniques for a stable and efficient training. Hugging Face 🤗 [Accelerate](https://huggingface.co/docs/acce...
Incredibly Fast BLOOM Inference with DeepSpeed and Accelerate
stas
Sep 16, 2022
bloom-inference-pytorch-scripts
nlp, llm, bloom, inference
https://huggingface.co/blog/bloom-inference-pytorch-scripts
# Incredibly Fast BLOOM Inference with DeepSpeed and Accelerate This article shows how to get an incredibly fast per token throughput when generating with the 176B parameter [BLOOM model](https://huggingface.co/bigscience/bloom). As the model needs 352GB in bf16 (bfloat16) weights (`176*2`), the most efficient set-...
Ethics and Society Newsletter #1
meg
Sep 22, 2022
ethics-soc-1
ethics
https://huggingface.co/blog/ethics-soc-1
# Ethics and Society Newsletter #1 Hello, world! Originating as an open-source company, Hugging Face was founded on some key ethical values in tech: _collaboration_, _responsibility_, and _transparency_. To code in an open environment means having your code – and the choices within – viewable to the world, associa...
SetFit: Efficient Few-Shot Learning Without Prompts
Unso
September 26, 2022
setfit
research, nlp
https://huggingface.co/blog/setfit
# SetFit: Efficient Few-Shot Learning Without Prompts <p align="center"> <img src="assets/103_setfit/setfit_curves.png" width=500> </p> <p align="center"> <em>SetFit is significantly more sample efficient and robust to noise than standard fine-tuning.</em> </p> Few-shot learning with pretrained lan...
How 🤗 Accelerate runs very large models thanks to PyTorch
sgugger
September 27, 2022
accelerate-large-models
guide, research, open-source-collab
https://huggingface.co/blog/accelerate-large-models
# How 🤗 Accelerate runs very large models thanks to PyTorch ## Load and run large models Meta AI and BigScience recently open-sourced very large language models which won't fit into memory (RAM or GPU) of most consumer hardware. At Hugging Face, part of our mission is to make even those large models accessible, so...
Image Classification with AutoTrain
NimaBoscarino
Sep 28, 2022
autotrain-image-classification
autotrain, cv, guide
https://huggingface.co/blog/autotrain-image-classification
# Image Classification with AutoTrain <script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script> So you’ve heard all about the cool things that are happening in the machine learning world, and you want to join in. There’s just one problem – you don’t know how to code...
Very Large Language Models and How to Evaluate Them
mathemakitten
Oct 3, 2022
zero-shot-eval-on-the-hub
autotrain, research, nlp
https://huggingface.co/blog/zero-shot-eval-on-the-hub
# Very Large Language Models and How to Evaluate Them Large language models can now be evaluated on zero-shot classification tasks with [Evaluation on the Hub](https://huggingface.co/spaces/autoevaluate/model-evaluator)! Zero-shot evaluation is a popular way for researchers to measure the performance of large lan...
Japanese Stable Diffusion
mkshing
Oct 5, 2022
japanese-stable-diffusion
diffusion, nlp, text-to-image, clip, stable-diffusion
https://huggingface.co/blog/japanese-stable-diffusion
# Japanese Stable Diffusion <a target="_blank" href="https://huggingface.co/spaces/rinna/japanese-stable-diffusion" target="_parent"><img src="https://img.shields.io/badge/🤗 Hugging Face-Spaces-blue" alt="Open In Hugging Face Spaces"/></a> <a target="_blank" href="https://colab.research.google.com/github/rinnakk/j...
Introducing DOI: the Digital Object Identifier to Datasets and Models
sylvestre
Oct 7, 2022
introducing-doi
community
https://huggingface.co/blog/introducing-doi
# Introducing DOI: the Digital Object Identifier to Datasets and Models Our mission at Hugging Face is to democratize good machine learning. That includes best practices that make ML models and datasets more reproducible, better documented, and easier to use and share. To solve this challenge, **we're excited t...
Optimization story: Bloom inference
Narsil
Oct 12, 2022
bloom-inference-optimization
open-source-collab, community, research
https://huggingface.co/blog/bloom-inference-optimization
# Optimization story: Bloom inference This article gives you the behind-the-scenes of how we made an efficient inference server that powers bloom. inference server that powers [https://huggingface.co/bigscience/bloom](). We achieved a 5x latency reduction over several weeks (and 50x more throughput). We wanted to sh...
Stable Diffusion in JAX/Flax 🚀
pcuenca
Oct 13, 2022
stable_diffusion_jax
guide, diffusion, nlp, text-to-image, clip, stable-diffusion, dalle
https://huggingface.co/blog/stable_diffusion_jax
# 🧨 Stable Diffusion in JAX / Flax ! <a target="_blank" href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/stable_diffusion_jax_how_to.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> # **Stable Diffusion in JAX / Flax*...
Getting started with Hugging Face Inference Endpoints
julsimon
Oct 14, 2022
inference-endpoints
guide, cloud, inference
https://huggingface.co/blog/inference-endpoints
# Getting Started with Hugging Face Inference Endpoints Training machine learning models has become quite simple, especially with the rise of pre-trained models and transfer learning. OK, sometimes it's not *that* simple, but at least, training models will never break critical applications, and make customers unhapp...
MTEB: Massive Text Embedding Benchmark
Muennighoff
Oct 19, 2022
mteb
nlp, research, llm
https://huggingface.co/blog/mteb
# MTEB: Massive Text Embedding Benchmark MTEB is a massive benchmark for measuring the performance of text embedding models on diverse embedding tasks. The 🥇 [leaderboard](https://huggingface.co/spaces/mteb/leaderboard) provides a holistic view of the best text embedding models out there on a variety of tasks. ...
From PyTorch DDP to 🤗 Accelerate to 🤗 Trainer, mastery of distributed training with ease
muellerzr
October 21, 2022
pytorch-ddp-accelerate-transformers
guide, research, open-source-collab
https://huggingface.co/blog/pytorch-ddp-accelerate-transformers
# From PyTorch DDP to Accelerate to Trainer, mastery of distributed training with ease ## General Overview This tutorial assumes you have a basic understanding of PyTorch and how to train a simple model. It will showcase training on multiple GPUs through a process called Distributed Data Parallelism (DDP) through t...
Evaluating Language Model Bias with 🤗 Evaluate
sasha
Oct 24, 2022
evaluating-llm-bias
ethics, research, nlp
https://huggingface.co/blog/evaluating-llm-bias
# Evaluating Language Model Bias with 🤗 Evaluate While the size and capabilities of large language models have drastically increased over the past couple of years, so too has the concern around biases imprinted into these models and their training data. In fact, many popular language models have been found to be bi...
Accelerate your models with 🤗 Optimum Intel and OpenVINO
echarlaix
November 2, 2022
openvino
hardware, intel, guide
https://huggingface.co/blog/openvino
# Accelerate your models with 🤗 Optimum Intel and OpenVINO ![image](assets/113_openvino/thumbnail.png) Last July, we [announced](https://huggingface.co/blog/intel) that Intel and Hugging Face would collaborate on building state-of-the-art yet simple hardware acceleration tools for Transformer models. ​ Today, we ...
Fine-Tune Whisper with 🤗 Transformers
sanchit-gandhi
Nov 3, 2022
fine-tune-whisper
guide, audio
https://huggingface.co/blog/fine-tune-whisper
# Fine-Tune Whisper For Multilingual ASR with 🤗 Transformers <a target="_blank" href="https://colab.research.google.com/github/sanchit-gandhi/notebooks/blob/main/fine_tune_whisper.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> In this blog, we present a s...
Training Stable Diffusion with Dreambooth using 🧨 Diffusers
valhalla
November 7, 2022
dreambooth
diffusers, stable-diffusion, dreambooth, fine-tuning, guide
https://huggingface.co/blog/dreambooth
# Training Stable Diffusion with Dreambooth using 🧨 Diffusers [Dreambooth](https://dreambooth.github.io/) is a technique to teach new concepts to [Stable Diffusion](https://huggingface.co/blog/stable_diffusion) using a specialized form of fine-tuning. Some people have been using it with a few of their photos to pla...
Introducing our new pricing
sbrandeis
November 8, 2022
pricing-update
announcement
https://huggingface.co/blog/pricing-update
# Introducing our new pricing As you might have noticed, our [pricing page](https://huggingface.co/pricing) has changed a lot recently. First of all, we are sunsetting the Paid tier of the Inference API service. The Inference API will still be available for everyone to use for free. But if you're looking for a fast...
Generating Human-level Text with Contrastive Search in Transformers 🤗
yxuansu
Nov 8, 2022
introducing-csearch
nlp, text generation, research
https://huggingface.co/blog/introducing-csearch
# Generating Human-level Text with Contrastive Search in Transformers 🤗 **** <a target="_blank" href="https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/115_introducing_contrastive_search.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/...
Sentiment Classification with Fully Homomorphic Encryption using Concrete ML
jfrery-zama
November 17, 2022
sentiment-analysis-fhe
guide, privacy, research, FHE
https://huggingface.co/blog/sentiment-analysis-fhe
# Sentiment Analysis on Encrypted Data with Homomorphic Encryption It is well-known that a sentiment analysis model determines whether a text is positive, negative, or neutral. However, this process typically requires access to unencrypted text, which can pose privacy concerns. Homomorphic encryption is a type of e...
Hugging Face Machine Learning Demos on arXiv
abidlabs
Nov 17, 2022
arxiv
research, community
https://huggingface.co/blog/arxiv
# Hugging Face Machine Learning Demos on arXiv We’re very excited to announce that Hugging Face has collaborated with arXiv to make papers more accessible, discoverable, and fun! Starting today, [Hugging Face Spaces](https://huggingface.co/spaces) is integrated with arXivLabs through a Demo tab that includes links t...
Director of Machine Learning Insights [Part 4]
Violette
November 23, 2022
ml-director-insights-4
community, research
https://huggingface.co/blog/ml-director-insights-4
# Director of Machine Learning Insights [Part 4] _If you're interested in building ML solutions faster visit: [hf.co/support](https://huggingface.co/support?utm_source=article&utm_medium=blog&utm_campaign=ml_director_insights_3) today!_ 👋 Welcome back to our Director of ML Insights Series! If you missed earlier ...
An Overview of Inference Solutions on Hugging Face
julsimon
Nov 21, 2022
inference-update
guide, inference
https://huggingface.co/blog/inference-update
# An Overview of Inference Solutions on Hugging Face Every day, developers and organizations are adopting models hosted on [Hugging Face](https://huggingface.co/models) to turn ideas into proof-of-concept demos, and demos into production-grade applications. For instance, Transformer models have become a popular arc...
Accelerating Document AI
rajistics
Nov 21, 2022
document-ai
guide, expert-acceleration-program, case-studies
https://huggingface.co/blog/document-ai
# Accelerating Document AI Enterprises are full of documents containing knowledge that isn't accessible by digital workflows. These documents can vary from letters, invoices, forms, reports, to receipts. With the improvements in text, vision, and multimodal AI, it's now possible to unlock that information. This pos...
Diffusion Models Live Event
lewtun
Nov 25, 2022
diffusion-models-event
diffusion, nlp, text to image, clip, stable-diffusion, dalle
https://huggingface.co/blog/diffusion-models-event
# Diffusion Models Live Event We are excited to share that the [Diffusion Models Class](https://github.com/huggingface/diffusion-models-class) with Hugging Face and Jonathan Whitaker will be **released on November 28th** 🥳! In this free course, you will learn all about the theory and application of diffusion models...
We are hiring interns!
douwekiela
November 29, 2022
interns-2023
community, announcement
https://huggingface.co/blog/interns-2023
# We are hiring interns! Want to help build the future at -- if we may say so ourselves -- one of the coolest places in AI? Today we’re announcing our internship program for 2023. Together with your Hugging Face mentor(s), we’ll be working on cutting edge problems in AI and machine learning. Applicants from all bac...
VQ Diffusion with 🧨 Diffusers
williamberman
November 30, 2022
vq-diffusion
diffusers, diffusion, text-to-image
https://huggingface.co/blog/vq-diffusion
# VQ-Diffusion Vector Quantized Diffusion (VQ-Diffusion) is a conditional latent diffusion model developed by the University of Science and Technology of China and Microsoft. Unlike most commonly studied diffusion models, VQ-Diffusion's noising and denoising processes operate on a quantized latent space, i.e., the l...
Probabilistic Time Series Forecasting with 🤗 Transformers
nielsr
December 1, 2022
time-series-transformers
research, time-series
https://huggingface.co/blog/time-series-transformers
# Probabilistic Time Series Forecasting with 🤗 Transformers <script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script> <a target="_blank" href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/time-series-transformers.ipynb"> <im...
Using Stable Diffusion with Core ML on Apple Silicon
pcuenca
December 1, 2022
diffusers-coreml
coreml, diffusers, stable-diffusion, diffusion
https://huggingface.co/blog/diffusers-coreml
# Using Stable Diffusion with Core ML on Apple Silicon Thanks to Apple engineers, you can now run Stable Diffusion on Apple Silicon using Core ML! [This Apple repo](https://github.com/apple/ml-stable-diffusion) provides conversion scripts and inference code based on [🧨 Diffusers](https://github.com/huggingface/dif...
Deep Learning with Proteins
rocketknight1
December 2, 2022
deep-learning-with-proteins
guide, fine-tuning
https://huggingface.co/blog/deep-learning-with-proteins
# Deep Learning With Proteins I have two audiences in mind while writing this. One is biologists who are trying to get into machine learning, and the other is machine learners who are trying to get into biology. If you’re not familiar with either biology or machine learning then you’re still welcome to come along, b...
From GPT2 to Stable Diffusion: Hugging Face arrives to the Elixir community
josevalim
December 9, 2022
elixir-bumblebee
elixir, transformers, stable-diffusion, nlp, open-source-collab
https://huggingface.co/blog/elixir-bumblebee
# From GPT2 to Stable Diffusion: Hugging Face arrives to the Elixir community The [Elixir](https://elixir-lang.org/) community is glad to announce the arrival of several Neural Networks models, from GPT2 to Stable Diffusion, to Elixir. This is possible thanks to the [just announced Bumblebee library](https://news.li...
Illustrating Reinforcement Learning from Human Feedback (RLHF)
natolambert
December 9, 2022
rlhf
rlhf, rl, guide
https://huggingface.co/blog/rlhf
# Illustrating Reinforcement Learning from Human Feedback (RLHF) _This article has been translated to Chinese [简体中文](https://huggingface.co/blog/zh/rlhf) and Vietnamese [đọc tiếng việt](https://trituenhantao.io/kien-thuc/minh-hoa-rlhf-vu-khi-dang-sau-gpt/)_. Language models have shown impressive capabilities in th...
Faster Training and Inference: Habana Gaudi®2 vs Nvidia A100 80GB
regisss
December 14, 2022
habana-gaudi-2-benchmark
partnerships, habana
https://huggingface.co/blog/habana-gaudi-2-benchmark
# Faster Training and Inference: Habana Gaudi®-2 vs Nvidia A100 80GB In this article, you will learn how to use [Habana® Gaudi®2](https://habana.ai/training/gaudi2/) to accelerate model training and inference, and train bigger models with 🤗 [Optimum Habana](https://huggingface.co/docs/optimum/habana/index). Then, w...
A Complete Guide to Audio Datasets
sanchit-gandhi
Dec 15, 2022
audio-datasets
guide, audio
https://huggingface.co/blog/audio-datasets
# A Complete Guide to Audio Datasets <!--- Note to reviewer: comments and TODOs are included in this format. ---> <a target="_blank" href="https://colab.research.google.com/github/sanchit-gandhi/notebooks/blob/main/audio_datasets_colab.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" ...
Ethics and Society Newsletter #2: Let's talk about bias!
yjernite
Dec 15, 2022
ethics-soc-2
ethics
https://huggingface.co/blog/ethics-soc-2
# Machine Learning in development: Let's talk about bias! _Bias in ML is ubiquitous, and Bias in ML is complex; so complex in fact that no single technical intervention is likely to meaningfully address the problems it engenders. ML models, as sociotechnical systems, amplify social trends that may exacerbate inequit...
Model Cards: Introducing HF Model documentation tools
Ezi
December 20, 2022
model-cards
community, research, ethics, guide
https://huggingface.co/blog/model-cards
# Model Cards ## Introduction Model cards are an important documentation framework for understanding, sharing, and improving machine learning models. When done well, a model card can serve as a _boundary object_, a single artefact that is accessible to people with different backgrounds and goals in understanding mod...
Zero-shot image segmentation with CLIPSeg
segments-tobias
December 21, 2022
clipseg-zero-shot
guide, partnerships, cv, clip
https://huggingface.co/blog/clipseg-zero-shot
# Zero-shot image segmentation with CLIPSeg <script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script> <a target="_blank" href="https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/123_clipseg-zero-shot.ipynb"> <img src="https://colab.res...
Accelerating PyTorch Transformers with Intel Sapphire Rapids, part 1
juliensimon
January 2, 2023
intel-sapphire-rapids
guide, intel, hardware, partnerships
https://huggingface.co/blog/intel-sapphire-rapids
# Accelerating PyTorch Transformers with Intel Sapphire Rapids, part 1 About a year ago, we [showed you](https://huggingface.co/blog/accelerating-pytorch) how to distribute the training of Hugging Face transformers on a cluster or third-generation [Intel Xeon Scalable](https://www.intel.com/content/www/us/en/products...
AI for Game Development: Creating a Farming Game in 5 Days. Part 1
dylanebert
January 2, 2023
ml-for-games-1
community, stable-diffusion, guide, game-dev
https://huggingface.co/blog/ml-for-games-1
# AI for Game Development: Creating a Farming Game in 5 Days. Part 1 **Welcome to AI for Game Development!** In this series, we'll be using AI tools to create a fully functional farming game in just 5 days. By the end of this series, you will have learned how you can incorporate a variety of AI tools into your ga...
Introduction to Graph Machine Learning
clefourrier
January 3, 2023
intro-graphml
community, guide, graphs
https://huggingface.co/blog/intro-graphml
# Introduction to Graph Machine Learning In this blog post, we cover the basics of graph machine learning. We first study what graphs are, why they are used, and how best to represent them. We then cover briefly how people learn on graphs, from pre-neural methods (exploring graph features at the same time) to what...
AI for Game Development: Creating a Farming Game in 5 Days. Part 2
dylanebert
January 9, 2023
ml-for-games-2
community, guide, game-dev
https://huggingface.co/blog/ml-for-games-2
# AI for Game Development: Creating a Farming Game in 5 Days. Part 2 **Welcome to AI for Game Development!** In this series, we'll be using AI tools to create a fully functional farming game in just 5 days. By the end of this series, you will have learned how you can incorporate a variety of AI tools into your gam...
Image Similarity with Hugging Face Datasets and Transformers
sayakpaul
Jan 16, 2023
image-similarity
guide, cv
https://huggingface.co/blog/image-similarity
# Image Similarity with Hugging Face Datasets and Transformers <a target="_blank" href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_similarity.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> In this post, you'll l...
Welcome PaddlePaddle to the Hugging Face Hub
paddlepaddle
January 17, 2023
paddlepaddle
open-source-collab, nlp
https://huggingface.co/blog/paddlepaddle
# Welcome PaddlePaddle to the Hugging Face Hub We are happy to share an open source collaboration between Hugging Face and [PaddlePaddle](https://www.paddlepaddle.org.cn/en) on a shared mission to advance and democratize AI through open source! First open sourced by Baidu in 2016, PaddlePaddle enables developers of...
Universal Image Segmentation with Mask2Former and OneFormer
nielsr
Jan 19, 2023
mask2former
cv, guide
https://huggingface.co/blog/mask2former
# Universal Image Segmentation with Mask2Former and OneFormer <script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script> **This guide introduces Mask2Former and OneFormer, 2 state-of-the-art neural networks for image segmentation. The models are now available in [`🤗...
3D Asset Generation: AI for Game Development #3
dylanebert
January 20, 2023
ml-for-games-3
community, guide, game-dev
https://huggingface.co/blog/ml-for-games-3
# 3D Asset Generation: AI for Game Development #3 **Welcome to AI for Game Development!** In this series, we'll be using AI tools to create a fully functional farming game in just 5 days. By the end of this series, you will have learned how you can incorporate a variety of AI tools into your game development workf...
Optimum+ONNX Runtime - Easier, Faster training for your Hugging Face models
Jingya
January 24, 2023
optimum-onnxruntime-training
guide, community, onnxruntime
https://huggingface.co/blog/optimum-onnxruntime-training
# Optimum + ONNX Runtime: Easier, Faster training for your Hugging Face models ## Introduction Transformer based models in language, vision and speech are getting larger to support complex multi-modal use cases for the end customer. Increasing model sizes directly impact the resources needed to train these models a...
What Makes a Dialog Agent Useful?
nazneen
January 24, 2023
dialog-agents
rlhf, ChatGPT, cot, ift, sft
https://huggingface.co/blog/dialog-agents
# What Makes a Dialog Agent Useful? ## The techniques behind ChatGPT: RLHF, IFT, CoT, Red teaming, and more _This article has been translated to Chinese [简体中文](https://mp.weixin.qq.com/s/Xd5VtRP-ziH-PYFOci65Hg)_. A few weeks ago, ChatGPT emerged and launched the public discourse into a set of obscure acronyms: R...
Using LoRA for Efficient Stable Diffusion Fine-Tuning
pcuenq
January 26, 2023
lora
diffusers, stable-diffusion, dreambooth, fine-tuning, guide
https://huggingface.co/blog/lora
# Using LoRA for Efficient Stable Diffusion Fine-Tuning [LoRA: Low-Rank Adaptation of Large Language Models](https://arxiv.org/abs/2106.09685) is a novel technique introduced by Microsoft researchers to deal with the problem of fine-tuning large-language models. Powerful models with billions of parameters, such as G...
2D Asset Generation: AI for Game Development #4
dylanebert
January 26, 2023
ml-for-games-4
community, guide, game-dev
https://huggingface.co/blog/ml-for-games-4
# 2D Asset Generation: AI for Game Development #4 **Welcome to AI for Game Development!** In this series, we'll be using AI tools to create a fully functional farming game in just 5 days. By the end of this series, you will have learned how you can incorporate a variety of AI tools into your game development workfl...
The State of Computer Vision at Hugging Face 🤗
sayakpaul
January 30, 2023
cv_state
community, guide, cv
https://huggingface.co/blog/cv_state
# The State of Computer Vision at Hugging Face 🤗 At Hugging Face, we pride ourselves on democratizing the field of artificial intelligence together with the community. As a part of that mission, we began focusing our efforts on computer vision over the last year. What started as a [PR for having Vision Transformers...
A Dive into Pretraining Strategies for Vision-Language Models
adirik
February 03, 2023
vision_language_pretraining
cv, guide, multimodal
https://huggingface.co/blog/vision_language_pretraining
# A Dive into Vision-Language Models Human learning is inherently multi-modal as jointly leveraging multiple senses helps us understand and analyze new information better. Unsurprisingly, recent advances in multi-modal learning take inspiration from the effectiveness of this process to create models that can process...
Accelerating PyTorch Transformers with Intel Sapphire Rapids, part 2
juliensimon
February 6, 2023
intel-sapphire-rapids-inference
guide, intel, hardware, partnerships
https://huggingface.co/blog/intel-sapphire-rapids-inference
# Accelerating PyTorch Transformers with Intel Sapphire Rapids, part 2 In a [recent post](https://huggingface.co/blog/intel-sapphire-rapids), we introduced you to the fourth generation of Intel Xeon CPUs, code-named [Sapphire Rapids](https://en.wikipedia.org/wiki/Sapphire_Rapids), and its new Advanced Matrix Extensi...
Introducing ⚔️ AI vs. AI ⚔️ a deep reinforcement learning multi-agents competition system
CarlCochet
February 07, 2023
aivsai
rl
https://huggingface.co/blog/aivsai
# Introducing ⚔️ AI vs. AI ⚔️ a deep reinforcement learning multi-agents competition system <div align="center"> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/128_aivsai/thumbnail.png" alt="Thumbnail"> </div> We’re excited to introduce a new tool we created: **⚔️ A...
Generating Stories: AI for Game Development #5
dylanebert
February 07, 2023
ml-for-games-5
community, guide, game-dev
https://huggingface.co/blog/ml-for-games-5
# Generating Stories: AI for Game Development #5 **Welcome to AI for Game Development!** In this series, we'll be using AI tools to create a fully functional farming game in just 5 days. By the end of this series, you will have learned how you can incorporate a variety of AI tools into your game development workfl...
Speech Synthesis, Recognition, and More With SpeechT5
Matthijs
February 8, 2023
speecht5
guide, audio
https://huggingface.co/blog/speecht5
# Speech Synthesis, Recognition, and More With SpeechT5 We’re happy to announce that SpeechT5 is now available in 🤗 Transformers, an open-source library that offers easy-to-use implementations of state-of-the-art machine learning models. SpeechT5 was originally described in the paper [SpeechT5: Unified-Modal Encod...
🤗 PEFT: Parameter-Efficient Fine-Tuning of Billion-Scale Models on Low-Resource Hardware
smangrul
February 10, 2023
peft
guide, nlp, cv, multimodal, fine-tuning, community, dreambooth
https://huggingface.co/blog/peft
# 🤗 PEFT: Parameter-Efficient Fine-Tuning of Billion-Scale Models on Low-Resource Hardware ## Motivation Large Language Models (LLMs) based on the transformer architecture, like GPT, T5, and BERT have achieved state-of-the-art results in various Natural Language Processing (NLP) tasks. They have also started foray...
Why we’re switching to Hugging Face Inference Endpoints, and maybe you should too
mattupson
February 15, 2023
mantis-case-study
case-studies
https://huggingface.co/blog/mantis-case-study
# Why we’re switching to Hugging Face Inference Endpoints, and maybe you should too Hugging Face recently launched [Inference Endpoints](https://huggingface.co/inference-endpoints); which as they put it: solves transformers in production. Inference Endpoints is a managed service that allows you to: - Deploy (almos...
Zero-shot image-to-text generation with BLIP-2
MariaK
February 15, 2023
blip-2
guide, nlp, cv, multimodal
https://huggingface.co/blog/blip-2
# Zero-shot image-to-text generation with BLIP-2 This guide introduces [BLIP-2](https://huggingface.co/docs/transformers/main/en/model_doc/blip-2) from Salesforce Research that enables a suite of state-of-the-art visual-language models that are now available in [🤗 Transformers](https://huggingface.co/transformers)...
Hugging Face and AWS partner to make AI more accessible
jeffboudier
February 21, 2023
aws-partnership
partnerships, aws, nlp, cv
https://huggingface.co/blog/aws-partnership
# Hugging Face and AWS partner to make AI more accessible It’s time to make AI open and accessible to all. That’s the goal of this expanded long-term strategic partnership between Hugging Face and Amazon Web Services (AWS). Together, the two leaders aim to accelerate the availability of next-generation machine learn...
Swift Diffusers: Fast Stable Diffusion for Mac
pcuenq
February 24, 2023
fast-mac-diffusers
coreml, diffusers, stable-diffusion, diffusion
https://huggingface.co/blog/fast-mac-diffusers
# Swift 🧨Diffusers: Fast Stable Diffusion for Mac Transform your text into stunning images with ease using Diffusers for Mac, a native app powered by state-of-the-art diffusion models. It leverages a bouquet of SoTA Text-to-Image models contributed by the community to the Hugging Face Hub, and converted to Core ML ...
Red-Teaming Large Language Models
nazneen
February 24, 2023
red-teaming
llms, rlhf, red-teaming, chatgpt, safety, alignment
https://huggingface.co/blog/red-teaming
# Red-Teaming Large Language Models *Warning: This article is about red-teaming and as such contains examples of model generation that may be offensive or upsetting.* Large language models (LLMs) trained on an enormous amount of text data are very good at generating realistic text. However, these models often exhib...
How Hugging Face Accelerated Development of Witty Works Writing Assistant
Violette
March 1, 2023
classification-use-cases
nlp, case-studies
https://huggingface.co/blog/classification-use-cases
# How Hugging Face Accelerated Development of Witty Works Writing Assistant ## The Success Story of Witty Works with the Hugging Face Expert Acceleration Program. _If you're interested in building ML solutions faster, visit the [Expert Acceleration Program](https://huggingface.co/support?utm_source=blog-post&utm_med...
Ethical guidelines for developing the Diffusers library
giadap
March 2, 2023
ethics-diffusers
ethics, diffusers
https://huggingface.co/blog/ethics-diffusers
# Ethical guidelines for developing the Diffusers library We are on a journey to make our libraries more responsible, one commit at a time! As part of the [Diffusers library documentation](https://huggingface.co/docs/diffusers/main/en/index), we are proud to announce the publication of an [ethical framework](https:...
ControlNet in Diffusers 🧨
sayakpaul
March 3, 2023
controlnet
diffusers
https://huggingface.co/blog/controlnet
# Ultra fast ControlNet with 🧨 Diffusers <a target="_blank" href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/controlnet.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> Ever since Stable Diffusion took the world by ...
Using Machine Learning to Aid Survivors and Race through Time
merve
March 3, 2023
using-ml-for-disasters
nlp, transformers, object-detection
https://huggingface.co/blog/using-ml-for-disasters
# Using Machine Learning to Aid Survivors and Race through Time On February 6, 2023, earthquakes measuring 7.7 and 7.6 hit South Eastern Turkey, affecting 10 cities and resulting in more than 42,000 deaths and 120,000 injured as of February 21. A few hours after the earthquake, a group of programmers started a Disc...
New ViT and ALIGN Models From Kakao Brain
adirik
March 6, 2023
vit-align
cv, guide, partnerships, multimodal
https://huggingface.co/blog/vit-align
# Kakao Brain’s Open Source ViT, ALIGN, and the New COYO Text-Image Dataset Kakao Brain and Hugging Face are excited to release a new open-source image-text dataset [COYO](https://github.com/kakaobrain/coyo-dataset) of 700 million pairs and two new visual language models trained on it, [ViT](https://github.com/kaka...
Fine-tuning 20B LLMs with RLHF on a 24GB consumer GPU
edbeeching
March 9, 2023
trl-peft
rl, rlhf, nlp
https://huggingface.co/blog/trl-peft
# Fine-tuning 20B LLMs with RLHF on a 24GB consumer GPU We are excited to officially release the integration of `trl` with `peft` to make Large Language Model (LLM) fine-tuning with Reinforcement Learning more accessible to anyone! In this post, we explain why this is a competitive alternative to existing fine-tun...
Multivariate Probabilistic Time Series Forecasting with Informer
elisim
March 10, 2023
informer
guide, research, time-series
https://huggingface.co/blog/informer
# Multivariate Probabilistic Time Series Forecasting with Informer <script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script> <a target="_blank" href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multivariate_informer.ipynb"> ...
Jupyter X Hugging Face
davanstrien
March 23, 2023
notebooks-hub
partnerships, announcement
https://huggingface.co/blog/notebooks-hub
# Jupyter X Hugging Face **We’re excited to announce improved support for Jupyter notebooks hosted on the Hugging Face Hub!** From serving as an essential learning resource to being a key tool used for model development, Jupyter notebooks have become a key component across many areas of machine learning. Notebooks...
Train your ControlNet with diffusers
multimodalart
March 24, 2023
train-your-controlnet
guide, diffusion, stable-diffusion
https://huggingface.co/blog/train-your-controlnet
# Train your ControlNet with diffusers 🧨 ## Introduction [ControlNet](https://huggingface.co/blog/controlnet) is a neural network structure that allows fine-grained control of diffusion models by adding extra conditions. The technique debuted with the paper [Adding Conditional Control to Text-to-Image Diffusion Mod...
Federated Learning using Hugging Face and Flower
charlesbvll
March 27, 2023
fl-with-flower
nlp, transformers, guide, flower, federated-learning, fl, open-source-collab
https://huggingface.co/blog/fl-with-flower
# Federated Learning using Hugging Face and Flower <a target="_blank" href="https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/fl-with-flower.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> This tutorial will show how to leverage ...
Accelerating Stable Diffusion Inference on Intel CPUs
juliensimon
March 28, 2023
stable-diffusion-inference-intel
hardware, intel, guide
https://huggingface.co/blog/stable-diffusion-inference-intel
# Accelerating Stable Diffusion Inference on Intel CPUs Recently, we introduced the latest generation of [Intel Xeon](https://www.intel.com/content/www/us/en/products/details/processors/xeon/scalable.html) CPUs (code name Sapphire Rapids), its new hardware features for deep learning acceleration, and how to use the...
Fast Inference on Large Language Models: BLOOMZ on Habana Gaudi2 Accelerator
regisss
March 28, 2023
habana-gaudi-2-bloom
habana, partnerships, hardware, nlp, llm, bloom, inference
https://huggingface.co/blog/habana-gaudi-2-bloom
# Fast Inference on Large Language Models: BLOOMZ on Habana Gaudi2 Accelerator This article will show you how to easily deploy large language models with hundreds of billions of parameters like BLOOM on [Habana® Gaudi®2](https://habana.ai/training/gaudi2/) using 🤗 [Optimum Habana](https://huggingface.co/docs/optimu...