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
Ethics and Society Newsletter #3: Ethical Openness at Hugging Face
irenesolaiman
Mar 30, 2023
ethics-soc-3
ethics
https://huggingface.co/blog/ethics-soc-3
# Ethics and Society Newsletter #3: Ethical Openness at Hugging Face ## Mission: Open and Good ML In our mission to democratize good machine learning (ML), we examine how supporting ML community work also empowers examining and preventing possible harms. Open development and science decentralizes power so that many ...
StackLLaMA: A hands-on guide to train LLaMA with RLHF
edbeeching
April 5, 2023
stackllama
rl, rlhf, nlp
https://huggingface.co/blog/stackllama
# StackLLaMA: A hands-on guide to train LLaMA with RLHF Models such as [ChatGPT]([https://openai.com/blog/chatgpt](https://openai.com/blog/chatgpt)), [GPT-4]([https://openai.com/research/gpt-4](https://openai.com/research/gpt-4)), and [Claude]([https://www.anthropic.com/index/introducing-claude](https://www.anthropi...
Snorkel AI x Hugging Face: unlock foundation models for enterprises
Violette
April 6, 2023
snorkel-case-study
case-studies
https://huggingface.co/blog/snorkel-case-study
# Snorkel AI x Hugging Face: unlock foundation models for enterprises _This article is a cross-post from an originally published post on April 6, 2023 [in Snorkel's blog](https://snorkel.ai/snorkel-hugging-face-unlock-foundation-models-for-enterprise/), by Friea Berg ._ As OpenAI releases [GPT-4](https://openai.c...
Creating Privacy Preserving AI with Substra
EazyAl
April 12, 2023
owkin-substra
cv, federated-learning, fl, open-source-collab
https://huggingface.co/blog/owkin-substra
# Creating Privacy Preserving AI with Substra With the recent rise of generative techniques, machine learning is at an incredibly exciting point in its history. The models powering this rise require even more data to produce impactful results, and thus it’s becoming increasingly important to explore new methods of e...
Graph Classification with Transformers
clefourrier
April 14, 2023
graphml-classification
community, guide, graphs
https://huggingface.co/blog/graphml-classification
# Graph classification with Transformers <div class="blog-metadata"> <small>Published April 14, 2023.</small> <a target="_blank" class="btn no-underline text-sm mb-5 font-sans" href="https://github.com/huggingface/blog/blob/main/graphml-classification.md"> Update on GitHub </a> </div> <div class=...
Accelerating Hugging Face Transformers with AWS Inferentia2
philschmid
April 17, 2023
accelerate-transformers-with-inferentia2
partnerships, aws, nlp, cv
https://huggingface.co/blog/accelerate-transformers-with-inferentia2
# Accelerating Hugging Face Transformers with AWS Inferentia2 <script async defer src="https://unpkg.com/medium-zoom-element@0/dist/medium-zoom-element.min.js"></script> In the last five years, Transformer models [[1](https://arxiv.org/abs/1706.03762)] have become the _de facto_ standard for many machine learning (...
How to host a Unity game in a Space
dylanebert
April 21, 2023
unity-in-spaces
community, guide, game-dev
https://huggingface.co/blog/unity-in-spaces
# How to host a Unity game in a Space <!-- {authors} --> Did you know you can host a Unity game in a Hugging Face Space? No? Well, you can! Hugging Face Spaces are an easy way to build, host, and share demos. While they are typically used for Machine Learning demos, they can also host playable Unity games. Here ...
Introducing HuggingFace blog for Chinese speakers: Fostering Collaboration with the Chinese AI community
xianbao
April 24, 2023
chinese-language-blog
partnerships, community
https://huggingface.co/blog/chinese-language-blog
# Introducing HuggingFace blog for Chinese speakers: Fostering Collaboration with the Chinese AI community ## Welcome to our blog for Chinese speakers! We are delighted to introduce Hugging Face’s new blog for Chinese speakers: [hf.co/blog/zh](https://huggingface.co/blog/zh)! A committed group of volunteers has mad...
Databricks ❤️ Hugging Face: up to 40% faster training and tuning of Large Language Models
alighodsi
April 26, 2023
databricks-case-study
case-studies
https://huggingface.co/blog/databricks-case-study
# Databricks ❤️ Hugging Face: up to 40% faster training and tuning of Large Language Models Generative AI has been taking the world by storm. As the data and AI company, we have been on this journey with the release of the open source large language model [Dolly](https://huggingface.co/databricks/dolly-v2-12b), as w...
Training a language model with 🤗 Transformers using TensorFlow and TPUs
rocketknight1
April 27, 2023
tf_tpu
nlp, guide, tensorflow, tpu
https://huggingface.co/blog/tf_tpu
# Training a language model with 🤗 Transformers using TensorFlow and TPUs ## Introduction TPU training is a useful skill to have: TPU pods are high-performance and extremely scalable, making it easy to train models at any scale from a few tens of millions of parameters up to truly enormous sizes: Google’s PaLM mod...
Running IF with 🧨 diffusers on a Free Tier Google Colab
williamberman
April 26, 2023
if
guide, diffusion
https://huggingface.co/blog/if
# Running IF with 🧨 diffusers on a Free Tier Google Colab <a target="_blank" href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/deepfloyd_if_free_tier_google_colab.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> **TL;D...
How to Install and Use the Hugging Face Unity API
dylanebert
May 1, 2023
unity-api
community, guide, game-dev
https://huggingface.co/blog/unity-api
# How to Install and Use the Hugging Face Unity API <!-- {authors} --> The [Hugging Face Unity API](https://github.com/huggingface/unity-api) is an easy-to-use integration of the [Hugging Face Inference API](https://huggingface.co/inference-api), allowing developers to access and use Hugging Face AI models in their...
StarCoder: A State-of-the-Art LLM for Code
lvwerra
May 4, 2023
starcoder
nlp, community, research
https://huggingface.co/blog/starcoder
# StarCoder: A State-of-the-Art LLM for Code ## Introducing StarCoder StarCoder and StarCoderBase are Large Language Models for Code (Code LLMs) trained on permissively licensed data from GitHub, including from 80+ programming languages, Git commits, GitHub issues, and Jupyter notebooks. Similar to LLaMA, we traine...
A Dive into Text-to-Video Models
adirik
May 8, 2023
text-to-video
multi-modal, cv, guide, diffusion, text-to-image, text-to-video
https://huggingface.co/blog/text-to-video
# Text-to-Video: The Task, Challenges and the Current State <p align="center"> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/140_text-to-video/text-to-video-samples.gif" alt="video-samples"><br> <em>Video samples generated with <a href=https://modelscope.cn/mode...
Creating a Coding Assistant with StarCoder
lewtun
May 9, 2023
starchat-alpha
nlp, community, research
https://huggingface.co/blog/starchat-alpha
# Creating a Coding Assistant with StarCoder If you’re a software developer, chances are that you’ve used GitHub Copilot or ChatGPT to solve programming tasks such as translating code from one language to another or generating a full implementation from a natural language query like *“Write a Python program to find ...
Assisted Generation: a new direction toward low-latency text generation
joaogante
May 11, 2023
assisted-generation
nlp, research
https://huggingface.co/blog/assisted-generation
# Assisted Generation: a new direction toward low-latency text generation Large language models are all the rage these days, with many companies investing significant resources to scale them up and unlock new capabilities. However, as humans with ever-decreasing attention spans, we also dislike their slow response t...
Introducing RWKV — An RNN with the advantages of a transformer
BlinkDL
May 15, 2023
rwkv
nlp, community, research
https://huggingface.co/blog/rwkv
# Introducing RWKV - An RNN with the advantages of a transformer ChatGPT and chatbot-powered applications have captured significant attention in the Natural Language Processing (NLP) domain. The community is constantly seeking strong, reliable and open-source models for their applications and use cases. The rise of...
Run a Chatgpt-like Chatbot on a Single GPU with ROCm
andyll7772
May 15, 2023
chatbot-amd-gpu
guide, llm, nlp, inference, rocm
https://huggingface.co/blog/chatbot-amd-gpu
# Run a Chatgpt-like Chatbot on a Single GPU with ROCm ## Introduction ChatGPT, OpenAI's groundbreaking language model, has become an influential force in the realm of artificial intelligence, paving the way for a multitude of AI applications across diverse sectors. With its staggering ability to comprehend and gene...
Smaller is better: Q8-Chat, an efficient generative AI experience on Xeon
andyll7772
May 16, 2023
generative-ai-models-on-intel-cpu
llm, nlp, inference, intel, quantization
https://huggingface.co/blog/generative-ai-models-on-intel-cpu
# Smaller is better: Q8-Chat, an efficient generative AI experience on Xeon Large language models (LLMs) are taking the machine learning world by storm. Thanks to their [Transformer](https://arxiv.org/abs/1706.03762) architecture, LLMs have an uncanny ability to learn from vast amounts of unstructured data, like t...
Large-scale Near-deduplication Behind BigCode
chenghao
May 16, 2023
dedup
bigcode, deduplication
https://huggingface.co/blog/dedup
# Large-scale Near-deduplication Behind BigCode ## Intended Audience People who are interested in document-level near-deduplication at a large scale, and have some understanding of hashing, graph and text processing. ## Motivations It is important to take care of our data before feeding it to the model, at least ...
Instruction-tuning Stable Diffusion with InstructPix2Pix
sayakpaul
May 23, 2023
instruction-tuning-sd
diffusers, diffusion, instruction-tuning, research, guide
https://huggingface.co/blog/instruction-tuning-sd
# Instruction-tuning Stable Diffusion with InstructPix2Pix This post explores instruction-tuning to teach [Stable Diffusion](https://huggingface.co/blog/stable_diffusion) to follow instructions to translate or process input images. With this method, we can prompt Stable Diffusion using an input image and an “instruc...
Safetensors audited as really safe and becoming the default
Narsil
May 23, 2023
safetensors-security-audit
pickle, serialization, load times
https://huggingface.co/blog/safetensors-security-audit
# Audit shows that safetensors is safe and ready to become the default [Hugging Face](https://huggingface.co/), in close collaboration with [EleutherAI](https://www.eleuther.ai/) and [Stability AI](https://stability.ai/), has ordered an external security audit of the `safetensors` library, the results of which allow...
Hugging Face and IBM partner on watsonx.ai, the next-generation enterprise studio for AI builders
juliensimon
May 23, 2023
huggingface-and-ibm
cloud, ibm, partnership
https://huggingface.co/blog/huggingface-and-ibm
# Hugging Face and IBM partner on watsonx.ai, the next-generation enterprise studio for AI builders <kbd> <img src="assets/144_ibm/01.png"> </kbd> All hype aside, it's hard to deny the profound impact that AI is having on society and businesses. From startups to enterprises to the public sector, every customer w...
Hugging Face Collaborates with Microsoft to Launch Hugging Face Model Catalog on Azure
philschmid
May 24, 2023
hugging-face-endpoints-on-azure
cloud, azure, partnership
https://huggingface.co/blog/hugging-face-endpoints-on-azure
# Hugging Face Collaborates with Microsoft to launch Hugging Face Model Catalog on Azure ![Hugging Face Endpoints on Azure](assets/75_hugging_face_endpoints_on_azure/01.jpg "Hugging Face Endpoints on Azure") Today, we are thrilled to announce that Hugging Face expands its collaboration with Microsoft to bring open-...
Making LLMs even more accessible with bitsandbytes, 4-bit quantization and QLoRA
ybelkada
May 24, 2023
4bit-transformers-bitsandbytes
transformers, quantization, bitsandbytes, 4bit
https://huggingface.co/blog/4bit-transformers-bitsandbytes
# Making LLMs even more accessible with bitsandbytes, 4-bit quantization and QLoRA LLMs are known to be large, and running or training them in consumer hardware is a huge challenge for users and accessibility. Our [LLM.int8 blogpost](https://huggingface.co/blog/hf-bitsandbytes-integration) showed how the techniques...
Optimizing Stable Diffusion for Intel CPUs with NNCF and 🤗 Optimum
AlexKoff88
May 25, 2023
train-optimize-sd-intel
diffusers, cpu, intel, guide, quantization
https://huggingface.co/blog/train-optimize-sd-intel
# Optimizing Stable Diffusion for Intel CPUs with NNCF and 🤗 Optimum [**Latent Diffusion models**](https://arxiv.org/abs/2112.10752) are game changers when it comes to solving text-to-image generation problems. [**Stable Diffusion**](https://stability.ai/blog/stable-diffusion-public-release) is one of the most famo...
Introducing BERTopic Integration with Hugging Face Hub
davanstrien
May 31, 2023
bertopic
guide, open-source-collab, community
https://huggingface.co/blog/bertopic
# Introducing BERTopic Integration with the Hugging Face Hub [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg 'open in colab')](https://colab.research.google.com/#fileId=https://huggingface.co/spaces/davanstrien/blog_notebooks/blob/main/BERTopic_hub_starter.ipynb) We are thrilled to annou...
Introducing the Hugging Face LLM Inference Container for Amazon SageMaker
philschmid
May 31, 2023
sagemaker-huggingface-llm
cloud, aws, partnership, guide
https://huggingface.co/blog/sagemaker-huggingface-llm
# Introducing the Hugging Face LLM Inference Container for Amazon SageMaker This is an example on how to deploy the open-source LLMs, like [BLOOM](https://huggingface.co/bigscience/bloom) to Amazon SageMaker for inference using the new Hugging Face LLM Inference Container. We will deploy the 12B [Pythia Open Assista...
Hugging Face Selected for the French Data Protection Agency Enhanced Support Program
yjernite
May 15, 2023
cnil
ethics
https://huggingface.co/blog/cnil
# Hugging Face Selected for the French Data Protection Agency Enhanced Support Program *This blog post was originally published on [LinkedIn on 05/15/2023](https://www.linkedin.com/pulse/accompagnement-renforc%25C3%25A9-de-la-cnil-et-protection-des-donn%25C3%25A9es/)* We are happy to announce that Hugging Face has...
Announcing the Open Source AI Game Jam 🎮
ThomasSimonini
June 1, 2023
game-jam
community
https://huggingface.co/blog/game-jam
# Announcing the Open Source AI Game Jam 🎮 <h2> Unleash Your Creativity with AI Tools and make a game in a weekend!</h2> <!-- {authors} --> We're thrilled to announce the first ever **Open Source AI Game Jam**, where you will create a game using AI tools. With AI's potential to enhance game experiences and workf...
AI Speech Recognition in Unity
dylanebert
June 2, 2023
unity-asr
community, guide, game-dev
https://huggingface.co/blog/unity-asr
# AI Speech Recognition in Unity [![Open Source AI Game Jam](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/124_ml-for-games/gamejambanner.png)](https://itch.io/jam/open-source-ai-game-jam) ## Introduction This tutorial guides you through the process of implementing state-of-the...
The Falcon has landed in the Hugging Face ecosystem
lvwerra
June 5, 2023
falcon
nlp, community, research
https://huggingface.co/blog/falcon
# The Falcon has landed in the Hugging Face ecosystem ## Introduction Falcon is a new family of state-of-the-art language models created by the [Technology Innovation Institute](https://www.tii.ae/) in Abu Dhabi, and released under the Apache 2.0 license. **Notably, [Falcon-40B](https://huggingface.co/tiiuae/falcon...
Welcome fastText to the 🤗 Hub
sheonhan
June 6, 2023
fasttext
open-source-collab, nlp, partnerships
https://huggingface.co/blog/fasttext
# Welcome fastText to the Hugging Face Hub [fastText](https://fasttext.cc/) is a library for efficient learning of text representation and classification. [Open-sourced](https://fasttext.cc/blog/2016/08/18/blog-post.html) by Meta AI in 2016, fastText integrates key ideas that have been influential in natural languag...
DuckDB: run SQL queries on 50,000+ datasets on the Hugging Face Hub
stevhliu
June 7, 2023
hub-duckdb
guide
https://huggingface.co/blog/hub-duckdb
# DuckDB: run SQL queries on 50,000+ datasets on the Hugging Face Hub The Hugging Face Hub is dedicated to providing open access to datasets for everyone and giving users the tools to explore and understand them. You can find many of the datasets used to train popular large language models (LLMs) like [Falcon](https...
The Hugging Face Hub for Galleries, Libraries, Archives and Museums
davanstrien
June 12, 2023
hf-hub-glam-guide
community, guide
https://huggingface.co/blog/hf-hub-glam-guide
## The Hugging Face Hub for Galleries, Libraries, Archives and Museums ### What is the Hugging Face Hub? Hugging Face aims to make high-quality machine learning accessible to everyone. This goal is pursued in various ways, including developing open-source code libraries such as the widely-used Transformers librar...
Can foundation models label data like humans?
nazneen
June 12, 2023
llm-leaderboard
nlp, evaluation, leaderboard
https://huggingface.co/blog/llm-leaderboard
# Can foundation models label data like humans? Since the advent of ChatGPT, we have seen unprecedented growth in the development of Large Language Models (LLMs), and particularly chatty models that are fine-tuned to follow instructions given in the form of prompts. However, how these models compare is unclear due to...
Hugging Face and AMD partner on accelerating state-of-the-art models for CPU and GPU platforms
juliensimon
June 13, 2023
huggingface-and-amd
hardware, amd, partnership
https://huggingface.co/blog/huggingface-and-amd
# Hugging Face and AMD partner on accelerating state-of-the-art models for CPU and GPU platforms <kbd> <img src="assets/148_huggingface_amd/01.png"> </kbd> Whether language models, large language models, or foundation models, transformers require significant computation for pre-training, fine-tuning, and inferen...
Announcing our new Content Guidelines and Policy
giadap
June 15, 2023
content-guidelines-update
community, ethics
https://huggingface.co/blog/content-guidelines-update
# Announcing our new Community Policy As a community-driven platform that aims to advance Open, Collaborative, and Responsible Machine Learning, we are thrilled to support and maintain a welcoming space for our entire community! In support of this goal, we've updated our [Content Policy](https://huggingface.co/conte...
Deploy Livebook notebooks as apps to Hugging Face Spaces
josevalim
Jun 15, 2023
livebook-app-deployment
elixir, notebooks, spaces, whisper
https://huggingface.co/blog/livebook-app-deployment
# Deploy Livebook notebooks as apps to Hugging Face Spaces The [Elixir](https://elixir-lang.org/) community has been making great strides towards Machine Learning and Hugging Face is playing an important role on making it possible. To showcase what you can already achieve with Elixir and Machine Learning today, we u...
Faster Stable Diffusion with Core ML on iPhone, iPad, and Mac
pcuenq
June 15, 2023
fast-diffusers-coreml
coreml, diffusers, stable-diffusion, diffusion, quantization
https://huggingface.co/blog/fast-diffusers-coreml
# Faster Stable Diffusion with Core ML on iPhone, iPad, and Mac WWDC’23 (Apple Worldwide Developers Conference) was held last week. A lot of the news focused on the Vision Pro announcement during the keynote, but there’s much more to it. Like every year, WWDC week is packed with more than 200 technical sessions that...
Yes, Transformers are Effective for Time Series Forecasting (+ Autoformer)
elisim
June 16, 2023
autoformer
guide, research, time-series
https://huggingface.co/blog/autoformer
# Yes, Transformers are Effective for Time Series Forecasting (+ Autoformer) <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/autoformer-transformers-...
AI Policy @🤗: Response to the U.S. NTIA's Request for Comment on AI Accountability
yjernite
June 20, 2023
policy-ntia-rfc
community, ethics
https://huggingface.co/blog/policy-ntia-rfc
# AI Policy @🤗: Response to the U.S. National Telecommunications and Information Administration’s (NTIA) Request for Comment on AI Accountability On June 12th, Hugging Face submitted a response to the US Department of Commerce NTIA request for information on AI Accountability policy. In our response, we stressed th...
Fine-tuning MMS Adapter Models for Multi-Lingual ASR
patrickvonplaten
June 19, 2023
mms_adapters
audio, research
https://huggingface.co/blog/mms_adapters
# **Fine-tuning MMS Adapter Models for Multi-Lingual ASR** <a target="_blank" href="https://colab.research.google.com/github/patrickvonplaten/notebooks/blob/master/Fine_Tune_MMS_on_Common_Voice.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> ***New (06/2023...
Panel on Hugging Face
sophiamyang
June 22, 2023
panel-on-hugging-face
open-source-collab, panel, deployment, spaces, visualization, apps
https://huggingface.co/blog/panel-on-hugging-face
# Panel on Hugging Face We are thrilled to announce the collaboration between Panel and Hugging Face! 🎉 We have integrated a Panel template in Hugging Face Spaces to help you get started building Panel apps and deploy them on Hugging Face effortlessly. <a href="https://huggingface.co/new-space?template=Panel-Org/...
What's going on with the Open LLM Leaderboard?
clefourrier
June 23, 2023
evaluating-mmlu-leaderboard
community, research, nlp, evaluation, leaderboard
https://huggingface.co/blog/evaluating-mmlu-leaderboard
# What's going on with the Open LLM Leaderboard? Recently an interesting discussion arose on Twitter following the release of [**Falcon 🦅**](https://huggingface.co/tiiuae/falcon-40b) and its addition to the [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard), a public leaderboar...
Ethics and Society Newsletter #4: Bias in Text-to-Image Models
sasha
June 26, 2023
ethics-soc-4
ethics
https://huggingface.co/blog/ethics-soc-4
# Ethics and Society Newsletter #4: Bias in Text-to-Image Models **TL;DR: We need better ways of evaluating bias in text-to-image models** ## Introduction [Text-to-image (TTI) generation](https://huggingface.co/models?pipeline_tag=text-to-image&sort=downloads) is all the rage these days, and thousands of TTI mod...
Accelerating Vision-Language Models: BridgeTower on Habana Gaudi2
regisss
June 29, 2023
bridgetower
partnerships, multimodal, nlp, cv, hardware
https://huggingface.co/blog/bridgetower
# Accelerating Vision-Language Models: BridgeTower on Habana Gaudi2 *Update (29/08/2023): A benchmark on H100 was added to this blog post. Also, all performance numbers have been updated with newer versions of software.* [Optimum Habana v1.7](https://github.com/huggingface/optimum-habana/tree/main) on Habana Gaudi2...
Leveraging Hugging Face for complex generative AI use cases
jeffboudier
July 1, 2023
writer-case-study
case-studies
https://huggingface.co/blog/writer-case-study
# Leveraging Hugging Face for complex generative AI use casess In this conversation, Jeff Boudier asks Waseem Alshikh, Co-founder and CTO of Writer, about their journey from a Hugging Face user, to a customer and now an open source model contributor. - why was Writer started? - what are the biggest misconceptions i...
Making a web app generator with open ML models
jbilcke-hf
July 3, 2023
text-to-webapp
guide, llm, apps
https://huggingface.co/blog/text-to-webapp
# Making a web app generator with open ML models As more code generation models become publicly available, it is now possible to do text-to-web and even text-to-app in ways that we couldn't imagine before. This tutorial presents a direct approach to AI web content generation by streaming and rendering the content a...
Deploy LLMs with Hugging Face Inference Endpoints
philschmid
July 4, 2023
inference-endpoints-llm
guide, llm, apps, inference
https://huggingface.co/blog/inference-endpoints-llm
# Deploy LLMs with Hugging Face Inference Endpoints Open-source LLMs like [Falcon](https://huggingface.co/tiiuae/falcon-40b), [(Open-)LLaMA](https://huggingface.co/openlm-research/open_llama_13b), [X-Gen](https://huggingface.co/Salesforce/xgen-7b-8k-base), [StarCoder](https://huggingface.co/bigcode/starcoder) or [Re...
Making ML-powered web games with Transformers.js
Xenova
July 5, 2023
ml-web-games
game-dev, guide, web, javascript, transformers.js
https://huggingface.co/blog/ml-web-games
# Making ML-powered web games with Transformers.js In this blog post, I'll show you how I made [**Doodle Dash**](https://huggingface.co/spaces/Xenova/doodle-dash), a real-time ML-powered web game that runs completely in your browser (thanks to [Transformers.js](https://github.com/xenova/transformers.js)). The goal...
Fine-tuning Stable Diffusion models on Intel CPUs
juliensimon
July 14, 2023
stable-diffusion-finetuning-intel
guide, intel, hardware, partnerships
https://huggingface.co/blog/stable-diffusion-finetuning-intel
# Fine-tuning Stable Diffusion Models on Intel CPUs Diffusion models helped popularize generative AI thanks to their uncanny ability to generate photorealistic images from text prompts. These models have now found their way into enterprise use cases like synthetic data generation or content creation. The Hugging Fa...
Open-Source Text Generation & LLM Ecosystem at Hugging Face
merve
July 17, 2023
os-llms
LLM, inference, nlp
https://huggingface.co/blog/os-llms
# Open-Source Text Generation & LLM Ecosystem at Hugging Face [Updated on July 24, 2023: Added Llama 2.] Text generation and conversational technologies have been around for ages. Earlier challenges in working with these technologies were controlling both the coherence and diversity of the text through inference p...
Building an AI WebTV
jbilcke-hf
July 17, 2023
ai-webtv
text-to-video, guide
https://huggingface.co/blog/ai-webtv
# Building an AI WebTV The AI WebTV is an experimental demo to showcase the latest advancements in automatic video and music synthesis. 👉 Watch the stream now by going to the [AI WebTV Space](https://huggingface.co/spaces/jbilcke-hf/AI-WebTV). If you are using a mobile device, you can view the stream from the [Tw...
Llama 2 is here - get it on Hugging Face
osanseviero
July 18, 2023
llama2
nlp, community, research, LLM
https://huggingface.co/blog/llama2
# Llama 2 is here - get it on Hugging Face ## Introduction Llama 2 is a family of state-of-the-art open-access large language models released by Meta today, and we’re excited to fully support the launch with comprehensive integration in Hugging Face. Llama 2 is being released with a very permissive community licens...
Happy 1st anniversary 🤗 Diffusers!
stevhliu
July 20, 2023
diffusers-turns-1
community, open-source-collab, diffusion, diffusers
https://huggingface.co/blog/diffusers-turns-1
# Happy 1st anniversary 🤗 Diffusers! 🤗 Diffusers is happy to celebrate its first anniversary! It has been an exciting year, and we're proud and grateful for how far we've come thanks to our community and open-source contributors. Last year, text-to-image models like DALL-E 2, Imagen, and Stable Diffusion captured ...
Results of the Open Source AI Game Jam
ThomasSimonini
July 21, 2023
game-jam-first-edition-results
game-dev
https://huggingface.co/blog/game-jam-first-edition-results
# Results of the Open Source AI Game Jam From July 7th to July 11th, **we hosted our [first Open Source AI Game Jam](https://itch.io/jam/open-source-ai-game-jam)**, an exciting event that challenged game developers to create innovative games within a tight 48-hour window using AI. The primary objective was **to cre...
Introducing Agents.js: Give tools to your LLMs using JavaScript
nsarrazin
July 24, 2023
agents-js
agents, javascript, web
https://huggingface.co/blog/agents-js
# Introducing Agents.js: Give tools to your LLMs using JavaScript We have recently been working on Agents.js at [huggingface.js](https://github.com/huggingface/huggingface.js/blob/main/packages/agents/README.md). It's a new library for giving tool access to LLMs from JavaScript in either the browser or the server. I...
AI Policy @🤗: Open ML Considerations in the EU AI Act
yjernite
July 24, 2023
eu-ai-act-oss
ethics
https://huggingface.co/blog/eu-ai-act-oss
# AI Policy @🤗: Open ML Considerations in the EU AI Act Like everyone else in Machine Learning, we’ve been following the EU AI Act closely at Hugging Face. It’s a ground-breaking piece of legislation that is poised to shape how democratic inputs interact with AI technology development around the world. It’s also th...
Stable Diffusion XL on Mac with Advanced Core ML Quantization
pcuenq
July 27, 2023
stable-diffusion-xl-coreml
coreml, stable-diffusion, stable-diffusion-xl, diffusers
https://huggingface.co/blog/stable-diffusion-xl-coreml
# Stable Diffusion XL on Mac with Advanced Core ML Quantization [Stable Diffusion XL](https://stability.ai/stablediffusion) was released yesterday and it’s awesome. It can generate large (1024x1024) high quality images; adherence to prompts has been improved with some new tricks; it can effortlessly produce very dar...
Open-sourcing Knowledge Distillation Code and Weights of SD-Small and SD-Tiny
harishsegmind
August 1, 2023
sd_distillation
stable-diffusion, research, diffusers
https://huggingface.co/blog/sd_distillation
# Open-sourcing Knowledge Distillation Code and Weights of SD-Small and SD-Tiny <p align="center"> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/distill_sd/Picture1.png" width=500> </p> In recent times, the AI community has witnessed a remarkable surge in the de...
Practical 3D Asset Generation: A Step-by-Step Guide
dylanebert
August 01, 2023
3d-assets
community, guide, cv, diffusion, game-dev
https://huggingface.co/blog/3d-assets
# Practical 3D Asset Generation: A Step-by-Step Guide ## Introduction Generative AI has become an instrumental part of artistic workflows for game development. However, as detailed in my [earlier post](https://huggingface.co/blog/ml-for-games-3), text-to-3D lags behind 2D in terms of practical applicability. This i...
Towards Encrypted Large Language Models with FHE
RomanBredehoft
August 02, 2023
encrypted-llm
guide, privacy, research, FHE, llm
https://huggingface.co/blog/encrypted-llm
# Towards Encrypted Large Language Models with FHE Large Language Models (LLM) have recently been proven as reliable tools for improving productivity in many areas such as programming, content creation, text analysis, web search, and distance learning. ## The Impact of Large Language Models on Users' Privacy Despi...
Huggy Lingo: Using Machine Learning to Improve Language Metadata on the Hugging Face Hub
davanstrien
August 2, 2023
huggy-lingo
announcement, research
https://huggingface.co/blog/huggy-lingo
## Huggy Lingo: Using Machine Learning to Improve Language Metadata on the Hugging Face Hub **tl;dr**: We're using machine learning to detect the language of Hub datasets with no language metadata, and [librarian-bots](https://huggingface.co/librarian-bots) to make pull requests to add this metadata. The Hugging ...
Deploy MusicGen in no time with Inference Endpoints
reach-vb
August 4, 2023
run-musicgen-as-an-api
audio, guide
https://huggingface.co/blog/run-musicgen-as-an-api
# Deploy MusicGen in no time with Inference Endpoints [MusicGen](https://huggingface.co/docs/transformers/main/en/model_doc/musicgen) is a powerful music generation model that takes in text prompt and an optional melody to output music. This blog post will guide you through generating music with MusicGen using [Inf...
Releasing Swift Transformers: Run On-Device LLMs in Apple Devices
pcuenq
August 8, 2023
swift-coreml-llm
guide, coreml, llm, swift
https://huggingface.co/blog/swift-coreml-llm
# Releasing Swift Transformers: Run On-Device LLMs in Apple Devices I have a lot of respect for iOS/Mac developers. I started writing apps for iPhones in 2007, when not even APIs or documentation existed. The new devices adopted some unfamiliar decisions in the constraint space, with a combination of power, screen r...
Fine-tune Llama 2 with DPO
kashif
August 8, 2023
dpo-trl
rl, rlhf, nlp
https://huggingface.co/blog/dpo-trl
# Fine-tune Llama 2 with DPO ## Introduction Reinforcement Learning from Human Feedback (RLHF) has become the de facto last training step of LLMs such as GPT-4 or Claude to ensure that the language model's outputs are aligned with human expectations such as chattiness or safety features. However, it brings some of ...
Deploying Hugging Face Models with BentoML: DeepFloyd IF in Action
Sherlockk
August 9, 2023
deploy-deepfloydif-using-bentoml
deployment, open-source-collab, bentoml, guide, diffusers
https://huggingface.co/blog/deploy-deepfloydif-using-bentoml
# Deploying Hugging Face Models with BentoML: DeepFloyd IF in Action Hugging Face provides a Hub platform that allows you to upload, share, and deploy your models with ease. It saves developers the time and computational resources required to train models from scratch. However, deploying models in a real-world produ...
Optimizing Bark using 🤗 Transformers
ylacombe
August 9, 2023
optimizing-bark
text-to-speech, optimization, benchmark, bark
https://huggingface.co/blog/optimizing-bark
# Optimizing a Text-To-Speech model using 🤗 Transformers <a target="_blank" href="https://colab.research.google.com/github/ylacombe/notebooks/blob/main/Benchmark_Bark_HuggingFace.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg"/> </a> 🤗 Transformers provides many of the latest state...
Hugging Face Platform on the AWS Marketplace: Pay with your AWS Account
philschmid
August 10, 2023
aws-marketplace
guide, announcement, partnerships, aws
https://huggingface.co/blog/aws-marketplace
# Hugging Face Platform on the AWS Marketplace: Pay with your AWS Account The [Hugging Face Platform](https://aws.amazon.com/marketplace/pp/prodview-n6vsyhdjkfng2) has landed on the AWS Marketplace. Starting today, you can subscribe to the Hugging Face Platform through AWS Marketplace to pay for your Hugging Face us...
Introducing IDEFICS: An Open Reproduction of State-of-the-art Visual Language Model
VictorSanh
August 22, 2023
idefics
research, nlp, cv
https://huggingface.co/blog/idefics
# Introducing IDEFICS: An Open Reproduction of State-of-the-Art Visual Language Model We are excited to release IDEFICS (**I**mage-aware **D**ecoder **E**nhanced à la **F**lamingo with **I**nterleaved **C**ross-attention**S**), an open-access visual language model. IDEFICS is based on [Flamingo](https://huggingface....
Introducing SafeCoder
jeffboudier
August 22, 2023
safecoder
announcement, partnerships, vmware, bigcode
https://huggingface.co/blog/safecoder
# Introducing SafeCoder Today we are excited to announce SafeCoder - a code assistant solution built for the enterprise. The goal of SafeCoder is to unlock software development productivity for the enterprise, with a fully compliant and self-hosted pair programmer. In marketing speak: “your own on-prem GitHub copil...
Making LLMs lighter with AutoGPTQ and transformers
marcsun13
August 23, 2023
gptq-integration
llm, optimization, quantization
https://huggingface.co/blog/gptq-integration
# Making LLMs lighter with AutoGPTQ and transformers Large language models have demonstrated remarkable capabilities in understanding and generating human-like text, revolutionizing applications across various domains. However, the demands they place on consumer hardware for training and deployment have become incre...
Deprecation of Git Authentication using password
Sylvestre
August 25, 2023
password-git-deprecation
announcement, security
https://huggingface.co/blog/password-git-deprecation
# Hugging Face Hub: Important Git Authentication Changes Because we are committed to improving the security of our services, we are making changes to the way you authenticate when interacting with the Hugging Face Hub through Git. Starting from **October 1st, 2023**, we will no longer accept passwords as a way to au...
Code Llama: Llama 2 learns to code
philschmid
August 25, 2023
codellama
nlp, community, research, LLM
https://huggingface.co/blog/codellama
# Code Llama: Llama 2 learns to code ## Introduction Code Llama is a family of state-of-the-art, open-access versions of [Llama 2](https://huggingface.co/blog/llama2) specialized on code tasks, and we’re excited to release integration in the Hugging Face ecosystem! Code Llama has been released with the same permiss...
AudioLDM 2, but faster ⚡️
sanchit-gandhi
Aug 30, 2023
audioldm2
guide, audio, diffusers, diffusion
https://huggingface.co/blog/audioldm2
# AudioLDM 2, but faster ⚡️ <a target="_blank" href="https://colab.research.google.com/github/sanchit-gandhi/notebooks/blob/main/AudioLDM-2.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> AudioLDM 2 was proposed in [AudioLDM 2: Learning Holistic Audio Gener...
Fetch Cuts ML Processing Latency by 50% Using Amazon SageMaker & Hugging Face
Violette
September 1, 2023
fetch-case-study
case-studies
https://huggingface.co/blog/fetch-case-study
# Fetch Cuts ML Processing Latency by 50% Using Amazon SageMaker & Hugging Face _This article is a cross-post from an originally published post on September 2023 [on AWS's website](https://aws.amazon.com/fr/solutions/case-studies/fetch-case-study/)._ ## Overview Consumer engagement and rewards company [Fetch](htt...
Spread Your Wings: Falcon 180B is here
philschmid
September 6, 2023
falcon-180b
nlp, community, research, LLM
https://huggingface.co/blog/falcon-180b
# Spread Your Wings: Falcon 180B is here ## Introduction **Today, we're excited to welcome [TII's](https://falconllm.tii.ae/) Falcon 180B to HuggingFace!** Falcon 180B sets a new state-of-the-art for open models. It is the largest openly available language model, with 180 billion parameters, and was trained on a ma...
Efficient Controllable Generation for SDXL with T2I-Adapters
Adapter
September 8, 2023
t2i-sdxl-adapters
guide, collaboration, diffusers, diffusion
https://huggingface.co/blog/t2i-sdxl-adapters
# Efficient Controllable Generation for SDXL with T2I-Adapters <p align="center"> <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/t2i-adapters-sdxl/hf_tencent.png" height=180/> </p> [T2I-Adapter](https://huggingface.co/papers/2302.08453) is an efficient plug-and-play m...
SafeCoder vs. Closed-source Code Assistants
julsimon
September 11, 2023
safecoder-vs-closed-source-code-assistants
bigcode
https://huggingface.co/blog/safecoder-vs-closed-source-code-assistants
# SafeCoder vs. Closed-source Code Assistants For decades, software developers have designed methodologies, processes, and tools that help them improve code quality and increase productivity. For instance, agile, test-driven development, code reviews, and CI/CD are now staples in the software industry. In "How Go...
Overview of natively supported quantization schemes in 🤗 Transformers
ybelkada
September 12, 2023
overview-quantization-transformers
llm, optimization, quantization, comparison, bitsandbytes, gptq
https://huggingface.co/blog/overview-quantization-transformers
# Overview of natively supported quantization schemes in 🤗 Transformers We aim to give a clear overview of the pros and cons of each quantization scheme supported in transformers to help you decide which one you should go for. Currently, quantizing models are used for two main purposes: - Running inference of a ...
Fine-tuning Llama 2 70B using PyTorch FSDP
smangrul
September 13, 2023
ram-efficient-pytorch-fsdp
llm, guide, nlp
https://huggingface.co/blog/ram-efficient-pytorch-fsdp
# Fine-tuning Llama 2 70B using PyTorch FSDP ## Introduction In this blog post, we will look at how to fine-tune Llama 2 70B using PyTorch FSDP and related best practices. We will be leveraging Hugging Face Transformers, Accelerate and TRL. We will also learn how to use Accelerate with SLURM. Fully Sharded Data Pa...
Introducing Würstchen: Fast Diffusion for Image Generation
dome272
September 13, 2023
wuerstchen
diffusion, diffusers, text-to-image
https://huggingface.co/blog/wuerstchen
# Introducing Würstchen: Fast Diffusion for Image Generation ![Collage of images created with Würstchen](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/wuertschen/collage_compressed.jpg) ## What is Würstchen? Würstchen is a diffusion model, whose text-conditional component works...
Optimizing your LLM in production
patrickvonplaten
Sep 15, 2023
optimize-llm
nlp, research, LLM
https://huggingface.co/blog/optimize-llm
# Optimizing your LLM in production <a target="_blank" href="https://colab.research.google.com/github/patrickvonplaten/notebooks/blob/master/Getting_the_most_out_of_LLMs.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> ***Note***: *This blog post is also ava...
Object Detection Leaderboard
rafaelpadilla
September 18, 2023
object-detection-leaderboard
community, guide, cv, leaderboard, evaluation
https://huggingface.co/blog/object-detection-leaderboard
# Object Detection Leaderboard: Decoding Metrics and Their Potential Pitfalls Welcome to our latest dive into the world of leaderboards and models evaluation. In a [previous post](https://huggingface.co/blog/evaluating-mmlu-leaderboard), we navigated the waters of evaluating Large Language Models. Today, we set sa...
Introduction to 3D Gaussian Splatting
dylanebert
September 18, 2023
gaussian-splatting
community, guide, cv, game-dev
https://huggingface.co/blog/gaussian-splatting
# Introduction to 3D Gaussian Splatting 3D Gaussian Splatting is a rasterization technique described in [3D Gaussian Splatting for Real-Time Radiance Field Rendering](https://huggingface.co/papers/2308.04079) that allows real-time rendering of photorealistic scenes learned from small samples of images. This article...
Rocket Money x Hugging Face: Scaling Volatile ML Models in Production
nicokuzak
September 19, 2023
rocketmoney-case-study
case-studies
https://huggingface.co/blog/rocketmoney-case-study
# Rocket Money x Hugging Face: Scaling Volatile ML Models in Production #### "We discovered that they were not just service providers, but partners who were invested in our goals and outcomes” _- Nicolas Kuzak, Senior ML Engineer at Rocket Money._ ## Scaling and Maintaining ML Models in Production Without an MLOps ...
Inference for PROs
osanseviero
September 22, 2023
inference-pro
community, guide, inference, api, llm, stable-diffusion
https://huggingface.co/blog/inference-pro
# Inference for PROs ![Inference for PROs image](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/inference-for-pros/Inference-for-pros.png) Today, we're introducing Inference for PRO users - a community offering that gives you access to APIs of curated endpoints for some of the mo...
Llama 2 on Amazon SageMaker a Benchmark
philschmid
September 26, 2023
llama-sagemaker-benchmark
guide, inference, llm, aws
https://huggingface.co/blog/llama-sagemaker-benchmark
# Llama 2 on Amazon SageMaker a Benchmark ![Latency](assets/llama_sagemaker_benchmark/latency.png "Latency") Deploying large language models (LLMs) and other generative AI models can be challenging due to their computational requirements and latency needs. To provide useful recommendations to companies looking to d...
Non-engineers guide: Train a LLaMA 2 chatbot
2legit2overfit
September 28, 2023
Llama2-for-non-engineers
guide, community, nlp
https://huggingface.co/blog/Llama2-for-non-engineers
# Non-engineers guide: Train a LLaMA 2 chatbot ## Introduction In this tutorial we will show you how anyone can build their own open-source ChatGPT without ever writing a single line of code! We’ll use the LLaMA 2 base model, fine tune it for chat with an open-source instruction dataset and then deploy the model to...
Finetune Stable Diffusion Models with DDPO via TRL
metric-space
September 29, 2023
trl-ddpo
guide, diffusers, rl, rlhf
https://huggingface.co/blog/trl-ddpo
# Finetune Stable Diffusion Models with DDPO via TRL ## Introduction Diffusion models (e.g., DALL-E 2, Stable Diffusion) are a class of generative models that are widely successful at generating images most notably of the photorealistic kind. However, the images generated by these models may not always be on par wi...
Ethics and Society Newsletter #5: Hugging Face Goes To Washington and Other Summer 2023 Musings
meg
September 29, 2023
ethics-soc-5
ethics
https://huggingface.co/blog/ethics-soc-5
# Ethics and Society Newsletter #5: Hugging Face Goes To Washington and Other Summer 2023 Musings One of the most important things to know about “ethics” in AI is that it has to do with **values**. Ethics doesn’t tell you what’s right or wrong, it provides a vocabulary of values – transparency, safety, justice – ...
Deploying the AI Comic Factory using the Inference API
jbilcke-hf
October 2, 2023
ai-comic-factory
guide, inference, api, llm, stable-diffusion
https://huggingface.co/blog/ai-comic-factory
# Deploying the AI Comic Factory using the Inference API We recently announced [Inference for PROs](https://huggingface.co/blog/inference-pro), our new offering that makes larger models accessible to a broader audience. This opportunity opens up new possibilities for running end-user applications using Hugging Face ...
Chat Templates: An End to the Silent Performance Killer
rocketknight1
October 3, 2023
chat-templates
LLM, nlp, community
https://huggingface.co/blog/chat-templates
# Chat Templates > *A spectre is haunting chat models - the spectre of incorrect formatting!* ## tl;dr Chat models have been trained with very different formats for converting conversations into a single tokenizable string. Using a format different from the format a model was trained with will usually cause severe,...
Accelerating Stable Diffusion XL Inference with JAX on Cloud TPU v5e
pcuenq
October 3, 2023
sdxl_jax
sdxl, jax, stable diffusion, guide, tpu, google
https://huggingface.co/blog/sdxl_jax
# Accelerating Stable Diffusion XL Inference with JAX on Cloud TPU v5e Generative AI models, such as Stable Diffusion XL (SDXL), enable the creation of high-quality, realistic content with wide-ranging applications. However, harnessing the power of such models presents significant challenges and computational costs....
Accelerating over 130,000 Hugging Face models with ONNX Runtime
sschoenmeyer
October 4, 2023
ort-accelerating-hf-models
open-source-collab, onnxruntime, onnx, inference
https://huggingface.co/blog/ort-accelerating-hf-models
# Accelerating over 130,000 Hugging Face models with ONNX Runtime ## What is ONNX Runtime? ONNX Runtime is a cross-platform machine learning tool that can be used to accelerate a wide variety of models, particularly those with ONNX support. ## Hugging Face ONNX Runtime Support There are over 130,000 ONNX-supported...
Gradio-Lite: Serverless Gradio Running Entirely in Your Browser
abidlabs
October 19, 2023
gradio-lite
gradio, open-source, serverless
https://huggingface.co/blog/gradio-lite
# Gradio-Lite: Serverless Gradio Running Entirely in Your Browser Gradio is a popular Python library for creating interactive machine learning apps. Traditionally, Gradio applications have relied on server-side infrastructure to run, which can be a hurdle for developers who need to host their applications. Enter G...
Exploring simple optimizations for SDXL
sayakpaul
October 24, 2023
simple_sdxl_optimizations
diffusers, guide, sdxl
https://huggingface.co/blog/simple_sdxl_optimizations
# Exploring simple optimizations for SDXL <a target="_blank" href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/exploring_simple%20optimizations_for_sdxl.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a> [Stable Diffusion ...
The N Implementation Details of RLHF with PPO
vwxyzjn
October 24, 2023
the_n_implementation_details_of_rlhf_with_ppo
research, rl, rlhf
https://huggingface.co/blog/the_n_implementation_details_of_rlhf_with_ppo
# The N Implementation Details of RLHF with PPO RLHF / ChatGPT has been a popular research topic these days. In our quest to research more on RLHF, this blog post attempts to do a reproduction of OpenAI’s 2019 original RLHF codebase at [*openai/lm-human-preferences*](https://github.com/openai/lm-human-preferences). D...
Deploy Embedding Models with Hugging Face Inference Endpoints
philschmid
October 24, 2023
inference-endpoints-embeddings
guide, llm, apps, inference
https://huggingface.co/blog/inference-endpoints-embeddings
# Deploy Embedding Models with Hugging Face Inference Endpoints The rise of Generative AI and LLMs like ChatGPT has increased the interest and importance of embedding models for a variety of tasks especially for retrievel augemented generation, like search or chat with your data. Embeddings are helpful since they rep...