URL
stringlengths
30
87
Headline
stringlengths
11
143
Authors
stringlengths
5
190
Publication Date
stringlengths
11
18
Article Text
stringlengths
140
47.6k
https://huggingface.co/blog/object-detection-leaderboard
Object Detection Leaderboard: Decoding Metrics and Their Potential Pitfalls
Padilla, Amy Roberts
September 18, 2023
Welcome to our latest dive into the world of leaderboards and models evaluation. In a previous post, we navigated the waters of evaluating Large Language Models. Today, we set sail to a different, yet equally challenging domain – Object Detection. Recently, we released our Object Detection Leaderboard, ranking object d...
https://huggingface.co/blog/optimize-llm
Optimizing your LLM in production
Patrick von Platen
September 15, 2023
Note: This blog post is also available as a documentation page on Transformers.Large Language Models (LLMs) such as GPT3/4, Falcon, and LLama are rapidly advancing in their ability to tackle human-centric tasks, establishing themselves as essential tools in modern knowledge-based industries.Deploying these models in re...
https://huggingface.co/blog/wuerstchen
Introducing Würstchen: Fast Diffusion for Image Generation
Dominic Rampas, Pablo Pernías, Kashif Rasul, Sayak Paul, Pedro Cuenca
September 13, 2023
What is Würstchen? Würstchen is a diffusion model, whose text-conditional component works in a highly compressed latent space of images. Why is this important? Compressing data can reduce computational costs for both training and inference by orders of magnitude. Training on 1024×1024 images is way more expensive than ...
https://huggingface.co/blog/ram-efficient-pytorch-fsdp
Fine-tuning Llama 2 70B using PyTorch FSDP
Sourab Mangrulkar, Sylvain Gugger, Lewis Tunstall, Philipp Schmid
September 13, 2023
IntroductionIn 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 Parallelism (FSDP) is a paradigm in which the optimizer ...
https://huggingface.co/blog/overview-quantization-transformers
Overview of natively supported quantization schemes in 🤗 Transformers
Younes Belkada, Marc Sun, Ilyas Moutawwakil, Clémentine Fourrier, Félix Marty
September 12, 2023
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 large model on a smaller deviceFine-tune adapters on top of quantized modelsSo far,...
https://huggingface.co/blog/safecoder-vs-closed-source-code-assistants
SafeCoder vs. Closed-source Code Assistants
Julien Simon
September 11, 2023
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 Google Tests Software" (Addison-Wesley, 2012), Google ...
https://huggingface.co/blog/t2i-sdxl-adapters
Efficient Controllable Generation for SDXL with T2I-Adapters
ChongMou, Suraj Patil, Sayak Paul, Xintao Wang, hysts
September 8, 2023
T2I-Adapter is an efficient plug-and-play model that provides extra guidance to pre-trained text-to-image models while freezing the original large text-to-image models. T2I-Adapter aligns internal knowledge in T2I models with external control signals. We can train various adapters according to different conditions and ...
https://huggingface.co/blog/falcon-180b
Spread Your Wings: Falcon 180B is here
Philipp Schmid, Omar Sanseviero, Pedro Cuenca, Leandro von Werra, Julien Launay
September 6, 2023
IntroductionToday, we're excited to welcome TII's 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 massive 3.5 trillion tokens using TII's RefinedWeb dataset. This represents the long...
https://huggingface.co/blog/fetch-case-study
Fetch Cuts ML Processing Latency by 50% Using Amazon SageMaker & Hugging Face
Violette Lepercq
September 1, 2023
This article is a cross-post from an originally published post on September 2023 on AWS's website.OverviewConsumer engagement and rewards company Fetch offers an application that lets users earn rewards on their purchases by scanning their receipts. The company also parses these receipts to generate insights into consu...
https://huggingface.co/blog/audioldm2
AudioLDM 2, but faster ⚡️
Sanchit Gandhi
August 30, 2023
AudioLDM 2 was proposed in AudioLDM 2: Learning Holistic Audio Generation with Self-supervised Pretrainingby Haohe Liu et al. AudioLDM 2 takes a text prompt as input and predicts the corresponding audio. It can generate realistic sound effects, human speech and music.While the generated audios are of high quality, runn...
https://huggingface.co/blog/codellama
Code Llama: Llama 2 learns to code
Philipp Schmid, Omar Sanseviero, Pedro Cuenca, Lewis Tunstall, Leandro von Werra, Loubna Ben Allal, Arthur Zucker, Joao Gante
August 25, 2023
IntroductionCode Llama is a family of state-of-the-art, open-access versions of Llama 2 specialized on code tasks, and we’re excited to release integration in the Hugging Face ecosystem! Code Llama has been released with the same permissive community license as Llama 2 and is available for commercial use.Today, we’re e...
https://huggingface.co/blog/password-git-deprecation
Hugging Face Hub: Important Git Authentication Changes
Sylvestre Bcht, Pierric Cistac, Simon Brandeis
August 25, 2023
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 authenticate your command-line Git operations. Instead, we recommen...
https://huggingface.co/blog/gptq-integration
Making LLMs lighter with AutoGPTQ and transformers
Marc Sun, Félix Marty, 潘其威, Junjae Lee, Younes Belkada, Tom Jobbins
August 23, 2023
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 increasingly challenging to meet. 🤗 Hugging Face's core miss...
https://huggingface.co/blog/safecoder
Introducing SafeCoder
Jeff Boudier, Philipp Schmid
August 22, 2023
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 copilot”.Before we dive deeper, he...
https://huggingface.co/blog/idefics
Introducing IDEFICS: An Open Reproduction of State-of-the-Art Visual Language Model
Hugo Laurençon, Daniel van Strien, Stas Bekman, Leo Tronchon, Lucile Saulnier, Thomas Wang, Siddharth Karamcheti, Amanpreet Singh, Giada Pistilli, Yacine Jernite, Victor Sanh
August 22, 2023
We are excited to release IDEFICS (Image-aware Decoder Enhanced à la Flamingo with Interleaved Cross-attentionS), an open-access visual language model. IDEFICS is based on Flamingo, a state-of-the-art visual language model initially developed by DeepMind, which has not been released publicly. Similarly to GPT-4, the mo...
https://huggingface.co/blog/aws-marketplace
Hugging Face Hub on the AWS Marketplace: Pay with your AWS Account
Philipp Schmid, Simon Brandeis, Jeff Boudier
August 10, 2023
The Hugging Face Hub has landed on the AWS Marketplace. Starting today, you can subscribe to the Hugging Face Hub through AWS Marketplace to pay for your Hugging Face usage directly with your AWS account. This new integrated billing method makes it easy to manage payment for usage of all our managed services by all mem...
https://huggingface.co/blog/optimizing-bark
Optimizing a Text-To-Speech model using 🤗 Transformers
Yoach Lacombe
August 9, 2023
🤗 Transformers provides many of the latest state-of-the-art (SoTA) models across domains and tasks. To get the best performance from these models, they need to be optimized for inference speed and memory usage.The 🤗 Hugging Face ecosystem offers precisely such ready & easy to use optimization tools that can be applie...
https://huggingface.co/blog/deploy-deepfloydif-using-bentoml
Deploying Hugging Face Models with BentoML: DeepFloyd IF in Action
Sherlock Xu, Zhao Shenyang
August 9, 2023
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 production environment or in a cloud-native way can still present challenges....
https://huggingface.co/blog/dpo-trl
Fine-tune Llama 2 with DPO
Kashif Rasul, Younes Belkada, Leandro von Werra
August 8, 2023
IntroductionReinforcement 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 the complexity of RL into NLP: we nee...
https://huggingface.co/blog/swift-coreml-llm
Releasing Swift Transformers: Run On-Device LLMs in Apple Devices
Pedro Cuenca
August 8, 2023
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 real estate, UI idioms, network access, persistence, and latency that wa...
https://huggingface.co/blog/run-musicgen-as-an-api
Deploy MusicGen in no time with Inference Endpoints
Vaibhav Srivastav, Merve Noyan
August 4, 2023
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 Inference Endpoints. Inference Endpoints allow us to write custom inference functions called custom handlers. These are particularly ...
https://huggingface.co/blog/huggy-lingo
Huggy Lingo: Using Machine Learning to Improve Language Metadata on the Hugging Face Hub
Daniel van Strien
August 2, 2023
Huggy Lingo: Using Machine Learning to Improve Language Metadata on the Hugging Face Hubtl;dr: We're using machine learning to detect the language of Hub datasets with no language metadata, and librarian-bots to make pull requests to add this metadata. The Hugging Face Hub has become the repository where the community ...
https://huggingface.co/blog/encrypted-llm
Towards Encrypted Large Language Models with FHE
Jordan Frery
August 2, 2023
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' PrivacyDespite the appeal of LLMs, privacy concerns persist surrounding u...
https://huggingface.co/blog/3d-assets
Practical 3D Asset Generation: A Step-by-Step Guide
Dylan Ebert
August 1, 2023
IntroductionGenerative AI has become an instrumental part of artistic workflows for game development. However, as detailed in my earlier post, text-to-3D lags behind 2D in terms of practical applicability. This is beginning to change. Today, we'll be revisiting practical workflows for 3D Asset Generation and taking a s...
https://huggingface.co/blog/sd_distillation
Open-sourcing Knowledge Distillation Code and Weights of SD-Small and SD-Tiny
Yatharth Gupta
August 1, 2023
In recent times, the AI community has witnessed a remarkable surge in the development of larger and more performant language models, such as Falcon 40B, LLaMa-2 70B, Falcon 40B, MPT 30B, and in the imaging domain with models like SD2.1 and SDXL. These advancements have undoubtedly pushed the boundaries of what AI can a...
https://huggingface.co/blog/stable-diffusion-xl-coreml
Stable Diffusion XL on Mac with Advanced Core ML Quantization
Pedro Cuenca, Orhon
July 27, 2023
Stable Diffusion XL 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 dark or very bright images thanks to the latest research on noise schedulers; and it’s open source!The downsid...
https://huggingface.co/blog/eu-ai-act-oss
AI Policy @🤗: Open ML Considerations in the EU AI Act
Yacine Jernite
July 24, 2023
AI Policy @🤗: Open ML Considerations in the EU AI ActHugging FaceModelsDatasetsSpacesPostsDocsSolutionsPricingLog InSign UpBack to ArticlesAI Policy @🤗: Open ML Considerations in the EU AI Act
https://huggingface.co/blog/agents-js
Introducing Agents.js: Give tools to your LLMs using JavaScript
Nathan Sarrazin
July 24, 2023
We have recently been working on Agents.js at huggingface.js. It's a new library for giving tool access to LLMs from JavaScript in either the browser or the server. It ships with a few multi-modal tools out of the box and can easily be extended with your own tools and language models.InstallationGetting started is very...
https://huggingface.co/blog/game-jam-first-edition-results
Results of the Open Source AI Game Jam
Thomas Simonini, Dylan Ebert, Omar Sanseviero
July 21, 2023
From July 7th to July 11th, we hosted our first 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 create games that incorporate at least one Open Source AI Tool. Although proprietary AI tools were all...
https://huggingface.co/blog/diffusers-turns-1
Happy 1st anniversary 🤗 Diffusers!
Steven Liu, Sayak Paul, Pedro Cuenca
July 20, 2023
🤗 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 the world's attention with their ability ...
https://huggingface.co/blog/llama2
Llama 2 is here - get it on Hugging Face
Philipp Schmid, Omar Sanseviero, Pedro Cuenca, Lewis Tunstall
July 18, 2023
IntroductionLlama 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 license and is available for commercial use. The code, pr...
https://huggingface.co/blog/ai-webtv
Building an AI WebTV
Julian Bilcke
July 17, 2023
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.If you are using a mobile device, you can view the stream from the Twitch mirror.ConceptThe motivation for the AI WebTV is to demo videos generated with ...
https://huggingface.co/blog/os-llms
Open-Source Text Generation & LLM Ecosystem at Hugging Face
Merve Noyan
July 17, 2023
[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 parameters and discriminative biases. More coherent outputs were less...
https://huggingface.co/blog/stable-diffusion-finetuning-intel
Fine-tuning Stable Diffusion Models on Intel CPUs
Julien Simon
July 14, 2023
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 Face hub includes over 5,000 pre-trained text-to-image mod...
https://huggingface.co/blog/ml-web-games
Making ML-powered web games with Transformers.js
Joshua
July 5, 2023
In this blog post, I'll show you how I made Doodle Dash, a real-time ML-powered web game that runs completely in your browser (thanks to Transformers.js). The goal of this tutorial is to show you how easy it is to make your own ML-powered web game... just in time for the upcoming Open Source AI Game Jam (7-9 July 2023)...
https://huggingface.co/blog/inference-endpoints-llm
Deploy LLMs with Hugging Face Inference Endpoints
Philipp Schmid
July 4, 2023
Open-source LLMs like Falcon, (Open-)LLaMA, X-Gen, StarCoder or RedPajama, have come a long way in recent months and can compete with closed-source models like ChatGPT or GPT4 for certain use cases. However, deploying these models in an efficient and optimized way still presents a challenge.In this blog post, we will s...
https://huggingface.co/blog/text-to-webapp
Making a web app generator with open ML models
Julian Bilcke
July 3, 2023
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 all in one go.Try the live demo here! → Webapp FactoryU...
https://huggingface.co/blog/writer-case-study
Leveraging Hugging Face for complex generative AI use casess
Jeff Boudier, Waseem AlShikh
July 1, 2023
Leveraging Hugging Face for complex generative AI use casesHugging FaceModelsDatasetsSpacesPostsDocsSolutionsPricingLog InSign UpBack to ArticlesLeveraging Hugging Face for complex generative AI use casess
https://huggingface.co/blog/bridgetower
Accelerating Vision-Language Models: BridgeTower on Habana Gaudi2
Régis Pierrard, Anahita Bhiwandiwalla
June 29, 2023
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 on Habana Gaudi2 achieves x2.5 speedups compared to A100 and x1.4 compared to H100 when fine-tuning BridgeTower, a state-of-the-art vision-language mo...
https://huggingface.co/blog/ethics-soc-4
Ethics and Society Newsletter #4: Bias in Text-to-Image Models
Sasha Luccioni, Giada Pistilli, Nazneen Rajani, Elizabeth Allendorf, Irene Solaiman, Nathan Lambert, Margaret Mitchell
June 26, 2023
TL;DR: We need better ways of evaluating bias in text-to-image modelsIntroductionText-to-image (TTI) generation is all the rage these days, and thousands of TTI models are being uploaded to the Hugging Face Hub. Each modality is potentially susceptible to separate sources of bias, which begs the question: how do we unc...
https://huggingface.co/blog/open-llm-leaderboard-mmlu
What's going on with the Open LLM Leaderboard?
Clémentine Fourrier, Nathan Habib, Julien Launay, Thomas Wolf
June 23, 2023
Recently an interesting discussion arose on Twitter following the release of Falcon 🦅 and its addition to the Open LLM Leaderboard, a public leaderboard comparing open access large language models.The discussion centered around one of the four evaluations displayed on the leaderboard: a benchmark for measuring Massive...
https://huggingface.co/blog/panel-on-hugging-face
Panel on Hugging Face
Rudiger, Sophia Yang
June 22, 2023
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. What does Panel offer?Panel is an open-source Python library that lets you easily build po...
https://huggingface.co/blog/mms_adapters
Fine-tuning MMS Adapter Models for Multi-Lingual ASR
Patrick von Platen
June 19, 2023
New (06/2023): This blog post is strongly inspired by "Fine-tuning XLS-R on Multi-Lingual ASR" and can be seen as an improved version of it.Wav2Vec2 is a pretrained model for Automatic Speech Recognition (ASR) and was released in September 2020 by Alexei Baevski, Michael Auli, and Alex Conneau. Soon after the strong pe...
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
Yacine Jernite, Margaret Mitchell, Irene Solaiman
June 20, 2023
AI Policy @🤗: Response to the U.S. NTIA's Request for Comment on AI AccountabilityHugging Face Models Datasets Spaces Posts Docs Solutions Pricing Log In Sign Up Back to Articles AI Policy @🤗: Response to the U.S. National Telecommunications and Information Administration’s (NTI...
https://huggingface.co/blog/autoformer
Yes, Transformers are Effective for Time Series Forecasting (+ Autoformer)
Eli Simhayev, Kashif Rasul, Niels Rogge
June 16, 2023
Introduction A few months ago, we introduced the Informer model (Zhou, Haoyi, et al., 2021), which is a Time Series Transformer that won the AAAI 2021 best paper award. We also provided an example for multivariate probabilistic forecasting with Informer. In this post, we discuss the question: Are Transformers Effective...
https://huggingface.co/blog/fast-diffusers-coreml
Faster Stable Diffusion with Core ML on iPhone, iPad, and Mac
Pedro Cuenca
June 15, 2023
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 dive deep inside the upcoming features across Apple operating syst...
https://huggingface.co/blog/livebook-app-deployment
Deploy Livebook notebooks as apps to Hugging Face Spaces
José Valim
June 15, 2023
The Elixir 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 use Livebook to build a Whisper-based chat app and then deploy it to Hugging Face Spaces. A...
https://huggingface.co/blog/content-guidelines-update
Announcing our new Community Policy
Giada Pistilli
June 15, 2023
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.We encourage you to familiarize yourself with the complete document to ...
https://huggingface.co/blog/huggingface-and-amd
Hugging Face and AMD partner on accelerating state-of-the-art models for CPU and GPU platforms
Julien Simon
June 13, 2023
Whether language models, large language models, or foundation models, transformers require significant computation for pre-training, fine-tuning, and inference. To help developers and organizations get the most performance bang for their infrastructure bucks, Hugging Face has long been working with hardware companies t...
https://huggingface.co/blog/open-llm-leaderboard-rlhf
Can foundation models label data like humans?
Nazneen Rajani, Nathan Lambert, Sheon Han, Jean Wang, Osvald Nitski, Edward Beeching, Lewis Tunstall, Julien Launay, Thomas Wolf
June 12, 2023
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 the lack of benchmarks designed to test their perf...
https://huggingface.co/blog/hf-hub-glam-guide
The Hugging Face Hub for Galleries, Libraries, Archives and Museums
Daniel van Strien
June 12, 2023
The Hugging Face Hub for Galleries, Libraries, Archives and MuseumsWhat 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 library, offering fre...
https://huggingface.co/blog/hub-duckdb
DuckDB: run SQL queries on 50,000+ datasets on the Hugging Face Hub
Steven Liu, Quentin Lhoest, Sylvain Lesage
June 7, 2023
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, Dolly, MPT, and StarCoder. There are tools for addressing fairness and bias in ...
https://huggingface.co/blog/fasttext
Welcome fastText to the Hugging Face Hub
Sheon Han, Juan Pino
June 6, 2023
fastText is a library for efficient learning of text representation and classification. Open-sourced by Meta AI in 2016, fastText integrates key ideas that have been influential in natural language processing and machine learning over the past few decades: representing sentences using bag of words and bag of n-grams, u...
https://huggingface.co/blog/falcon
The Falcon has landed in the Hugging Face ecosystem
Leandro von Werra, Younes Belkada, Sourab Mangrulkar, Lewis Tunstall, Olivier Dehaene, Pedro Cuenca, Philipp Schmid, Omar Sanseviero
June 5, 2023
Falcon is a new family of state-of-the-art language models created by the Technology Innovation Institute in Abu Dhabi, and released under the Apache 2.0 license. Notably, Falcon-40B is the first “truly open” model with capabilities rivaling many current closed-source models. This is fantastic news for practitioners, e...
https://huggingface.co/blog/unity-asr
AI Speech Recognition in Unity
Dylan Ebert
June 2, 2023
IntroductionThis tutorial guides you through the process of implementing state-of-the-art Speech Recognition in your Unity game using the Hugging Face Unity API. This feature can be used for giving commands, speaking to an NPC, improving accessibility, or any other functionality where converting spoken words to text ma...
https://huggingface.co/blog/game-jam
Announcing the Open Source AI Game Jam 🎮
Thomas Simonini
June 1, 2023
Announcing the Open Source AI Game Jam 🎮Hugging Face Models Datasets Spaces Posts Docs Solutions Pricing Log In Sign Up Back to Articles Announcing the Open Source AI Game Jam 🎮
https://huggingface.co/blog/cnil
Hugging Face Selected for the French Data Protection Agency Enhanced Support Program
Yacine Jernite, Julien Chaumond, Anna Tordjmann, Ima Bello
May 15, 2023
Hugging Face Selected for the French Data Protection Agency Enhanced Support ProgramHugging FaceModelsDatasetsSpacesPostsDocsSolutionsPricingLog InSign UpBack to ArticlesHugging Face Selected for the French Data Protection Agency Enhanced Support Program
https://huggingface.co/blog/sagemaker-huggingface-llm
Introducing the Hugging Face LLM Inference Container for Amazon SageMaker
Philipp Schmid
May 31, 2023
This is an example on how to deploy the open-source LLMs, like BLOOM to Amazon SageMaker for inference using the new Hugging Face LLM Inference Container.We will deploy the 12B Pythia Open Assistant Model, an open-source Chat LLM trained with the Open Assistant dataset.The example covers:Setup development environmentRe...
https://huggingface.co/blog/bertopic
Introducing BERTopic Integration with the Hugging Face Hub
Maarten Grootendorst, Daniel van Strien
May 31, 2023
We are thrilled to announce a significant update to the BERTopic Python library, expanding its capabilities and further streamlining the workflow for topic modelling enthusiasts and practitioners. BERTopic now supports pushing and pulling trained topic models directly to and from the Hugging Face Hub. This new integrat...
https://huggingface.co/blog/train-optimize-sd-intel
Optimizing Stable Diffusion for Intel CPUs with NNCF and 🤗 Optimum
Alexander, Yury Gorbachev, Helena, Sayak Paul, Ella Charlaix
May 25, 2023
Latent Diffusion models are game changers when it comes to solving text-to-image generation problems. Stable Diffusion is one of the most famous examples that got wide adoption in the community and industry. The idea behind the Stable Diffusion model is simple and compelling: you generate an image from a noise vector i...
https://huggingface.co/blog/4bit-transformers-bitsandbytes
Making LLMs even more accessible with bitsandbytes, 4-bit quantization and QLoRA
Younes Belkada, Tim Dettmers, Artidoro Pagnoni, Sylvain Gugger, Sourab Mangrulkar
May 24, 2023
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 showed how the techniques in the LLM.int8 paper were integrated in transformers using the bitsandbytes library.As we strive to make models even more accessible to anyone, ...
https://huggingface.co/blog/hugging-face-endpoints-on-azure
Hugging Face Collaborates with Microsoft to launch Hugging Face Model Catalog on Azure
Jeff Boudier, Philipp Schmid, Julien Simon
May 24, 2023
Hugging Face Collaborates with Microsoft to launch Hugging Face Model Catalog on AzureHugging Face Models Datasets Spaces Posts Docs Solutions Pricing Log In Sign Up Back to Articles Hugging Face Collaborates with Microsoft to launch Hugging Face Model Catalog on Azure
https://huggingface.co/blog/huggingface-and-ibm
Hugging Face and IBM partner on watsonx.ai, the next-generation enterprise studio for AI builders
Julien Simon
May 23, 2023
Hugging Face and IBM partner on watsonx.ai, the next-generation enterprise studio for AI buildersHugging FaceModelsDatasetsSpacesPostsDocsSolutionsPricingLog InSign UpBack to ArticlesHugging Face and IBM partner on watsonx.ai, the next-generation enterprise studio for AI builders
https://huggingface.co/blog/safetensors-security-audit
Audit shows that safetensors is safe and ready to become the default
Nicolas Patry, Stella Biderman
May 23, 2023
Hugging Face, in close collaboration with EleutherAI and Stability AI, has orderedan external security audit of the safetensors library, the results of which allowall three organizations to move toward making the library the default formatfor saved models.The full results of the security audit, performed by Trail of Bi...
https://huggingface.co/blog/instruction-tuning-sd
Instruction-tuning Stable Diffusion with InstructPix2Pix
Sayak Paul
May 23, 2023
This post explores instruction-tuning to teach 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 “instruction”, such as - Apply a cartoon filter to the natural image.Figure 1: We explore the instruction-tuning capab...
https://huggingface.co/blog/dedup
Large-scale Near-deduplication Behind BigCode
Chenghao Mou
May 16, 2023
Intended AudiencePeople who are interested in document-level near-deduplication at a large scale, and have some understanding of hashing, graph and text processing.MotivationsIt is important to take care of our data before feeding it to the model, at least Large Language Model in our case, as the old saying goes, garba...
https://huggingface.co/blog/generative-ai-models-on-intel-cpu
Smaller is better: Q8-Chat, an efficient generative AI experience on Xeon
Julien Simon
May 16, 2023
Large language models (LLMs) are taking the machine learning world by storm. Thanks to their Transformer architecture, LLMs have an uncanny ability to learn from vast amounts of unstructured data, like text, images, video, or audio. They perform very well on many task types, either extractive like text classification o...
https://huggingface.co/blog/chatbot-amd-gpu
Run a Chatgpt-like Chatbot on a Single GPU with ROCm
Andy Luo
May 15, 2023
Introduction ChatGPT, OpenAI's groundbreaking language model, has become aninfluential force in the realm of artificial intelligence, paving theway for a multitude of AI applications across diverse sectors. With itsstaggering ability to comprehend and generate human-like text, ChatGPThas transformed industries, from cu...
https://huggingface.co/blog/rwkv
Introducing RWKV - An RNN with the advantages of a transformer
BlinkDL, Harrison Vanderbyl, Sylvain Gugger, Younes Belkada
May 15, 2023
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 these powerful models stems from the democratization and widespread ...
https://huggingface.co/blog/assisted-generation
Assisted Generation: a new direction toward low-latency text generation
Joao Gante
May 11, 2023
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 times. Latency is critical for a good user experience, and smaller models are ...
https://huggingface.co/blog/starchat-alpha
Creating a Coding Assistant with StarCoder
Lewis Tunstall, Nathan Lambert, Nazneen Rajani, Edward Beeching, Teven Le Scao, Sheon Han, Philipp Schmid, Leandro von Werra, Sasha Rush
May 9, 2023
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 the Nth Fibonacci number”. Although impressive in...
https://huggingface.co/blog/text-to-video
Text-to-Video: The Task, Challenges and the Current State
Alara Dirik
May 8, 2023
Text-to-video is next in line in the long list of incredible advances in generative models. As self-descriptive as it is, text-to-video is a fairly new computer vision task that involves generating a sequence of images from text descriptions that are both temporally and spatially consistent. While this task might seem ...
https://huggingface.co/blog/starcoder
StarCoder: A State-of-the-Art LLM for Code
Leandro von Werra, Loubna Ben Allal
May 4, 2023
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 trained a ~15B parameter model for 1 trillion tokens. We f...
https://huggingface.co/blog/unity-api
How to Install and Use the Hugging Face Unity API
Dylan Ebert
May 1, 2023
The Hugging Face Unity API is an easy-to-use integration of the Hugging Face Inference API, allowing developers to access and use Hugging Face AI models in their Unity projects. In this blog post, we'll walk through the steps to install and use the Hugging Face Unity API.InstallationOpen your Unity projectGo to Window ...
https://huggingface.co/blog/if
Running IF with 🧨 diffusers on a Free Tier Google Colab
Alex Shonenkov, Daria Bakshandaeva, Misha Konstantinov, Will Berman, Patrick von Platen, Apolinário from multimodal AI art
April 26, 2023
TL;DR: We show how to run one of the most powerful open-source textto image models IF on a free-tier Google Colab with 🧨 diffusers.You can also explore the capabilities of the model directly in the Hugging Face Space.Image compressed from official IF GitHub repo.IntroductionIF is a pixel-based text-to-image generation...
https://huggingface.co/blog/tf_tpu
Training a language model with 🤗 Transformers using TensorFlow and TPUs
Matthew Carrigan, Sayak Paul
April 27, 2023
IntroductionTPU 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 model (over 500 billion parameters!) was trained entirely on TPU pods. We’ve previousl...
https://huggingface.co/blog/databricks-case-study
Databricks ❤️ Hugging Face: up to 40% faster training and tuning of Large Language Models
Ali Ghodsi, Maddie Dawson
April 26, 2023
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, as well as the internally crowdsourced dataset licensed for research and commercial use that we used to fine-tune it, the databricks-dolly-15k. Both ...
https://huggingface.co/blog/chinese-language-blog
Introducing HuggingFace blog for Chinese speakers: Fostering Collaboration with the Chinese AI community
Tiezhen WANG, Adina Yakefu, Luke Cheng
April 24, 2023
Welcome to our blog for Chinese speakers!We are delighted to introduce Hugging Face’s new blog for Chinese speakers: hf.co/blog/zh! A committed group of volunteers has made this possible by translating our invaluable resources, including blog posts and comprehensive courses on transformers, diffusion, and reinforcement...
https://huggingface.co/blog/unity-in-spaces
How to host a Unity game in a Space
Dylan Ebert
April 21, 2023
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 are some examples:HuggyFarming Game Unity API DemoHere's how you ...
https://huggingface.co/blog/accelerate-transformers-with-inferentia2
Accelerating Hugging Face Transformers with AWS Inferentia2
Philipp Schmid, Julien Simon
April 17, 2023
In the last five years, Transformer models [1] have become the de facto standard for many machine learning (ML) tasks, such as natural language processing (NLP), computer vision (CV), speech, and more. Today, many data scientists and ML engineers rely on popular transformer architectures like BERT [2], RoBERTa [3], the...
https://huggingface.co/blog/graphml-classification
Graph classification with Transformers
No authors found
April 14, 2023
In the previous blog, we explored some of the theoretical aspects of machine learning on graphs. This one will explore how you can do graph classification using the Transformers library. (You can also follow along by downloading the demo notebook here!)At the moment, the only graph transformer model available in Transf...
https://huggingface.co/blog/owkin-substra
Creating Privacy Preserving AI with Substra
Ali Imran, Katie Link, Nima Boscarino, Thibault Fouqueray
April 12, 2023
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 ethically gathering data while ensuring that data ...
https://huggingface.co/blog/snorkel-case-study
Snorkel AI x Hugging Face: unlock foundation models for enterprises
Violette Lepercq
April 6, 2023
This article is a cross-post from an originally published post on April 6, 2023 in Snorkel's blog, by Friea Berg .As OpenAI releases GPT-4 and Google debuts Bard in beta, enterprises around the world are excited to leverage the power of foundation models. As that excitement builds, so does the realization that most com...
https://huggingface.co/blog/stackllama
StackLLaMA: A hands-on guide to train LLaMA with RLHF
Edward Beeching, Kashif Rasul, Younes Belkada, Lewis Tunstall, Leandro von Werra, Nazneen Rajani, Nathan Lambert
April 5, 2023
Models such as ChatGPT, GPT-4, and Claude are powerful language models that have been fine-tuned using a method called Reinforcement Learning from Human Feedback (RLHF) to be better aligned with how we expect them to behave and would like to use them.In this blog post, we show all the steps involved in training a LlaMa...
https://huggingface.co/blog/ethics-soc-3
Ethics and Society Newsletter #3: Ethical Openness at Hugging Face
Irene Solaiman, Giada Pistilli, Nima Boscarino, Yacine Jernite, Elizabeth Allendorf, Margaret Mitchell, Sasha Luccioni
March 30, 2023
Mission: Open and Good MLIn 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 people can collectively work on AI that reflects their needs and values. Whi...
https://huggingface.co/blog/habana-gaudi-2-bloom
Fast Inference on Large Language Models: BLOOMZ on Habana Gaudi2 Accelerator
Régis Pierrard
March 28, 2023
This article will show you how to easily deploy large language models with hundreds of billions of parameters like BLOOM on Habana® Gaudi®2 using 🤗 Optimum Habana, which is the bridge between Gaudi2 and the 🤗 Transformers library. As demonstrated in the benchmark presented in this post, this will enable you to run in...
https://huggingface.co/blog/stable-diffusion-inference-intel
Accelerating Stable Diffusion Inference on Intel CPUs
Julien Simon, Ella Charlaix
March 28, 2023
Recently, we introduced the latest generation of Intel Xeon CPUs (code name Sapphire Rapids), its new hardware features for deep learning acceleration, and how to use them to accelerate distributed fine-tuning and inference for natural language processing Transformers.In this post, we're going to show you different tec...
https://huggingface.co/blog/fl-with-flower
Federated Learning using Hugging Face and Flower
Charles Beauville
March 27, 2023
This tutorial will show how to leverage Hugging Face to federate the training of language models over multiple clients using Flower. More specifically, we will fine-tune a pre-trained Transformer model (distilBERT) for sequence classification over a dataset of IMDB ratings. The end goal is to detect if a movie rating i...
https://huggingface.co/blog/train-your-controlnet
Train your ControlNet with diffusers 🧨
Apolinário from multimodal AI art, Pedro Cuenca
March 24, 2023
IntroductionControlNet 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 Models, and quickly took over the open-source diffusion community author's release of 8 differe...
https://huggingface.co/blog/notebooks-hub
Jupyter X Hugging Face
Daniel van Strien, Vaibhav Srivastav, Merve Noyan
March 23, 2023
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' interactive and visual nature let...
https://huggingface.co/blog/informer
Multivariate Probabilistic Time Series Forecasting with Informer
Eli Simhayev, Niels Rogge, Kashif Rasul
March 10, 2023
Introduction A few months ago we introduced the Time Series Transformer, which is the vanilla Transformer (Vaswani et al., 2017) applied to forecasting, and showed an example for the univariate probabilistic forecasting task (i.e. predicting each time series' 1-d distribution individually). In this post we introduce th...
https://huggingface.co/blog/trl-peft
Fine-tuning 20B LLMs with RLHF on a 24GB consumer GPU
Edward Beeching, Younes Belkada, Leandro von Werra, Sourab Mangrulkar, Lewis Tunstall, Kashif Rasul
March 9, 2023
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-tuning approaches. Note peft is a general tool that can be applied t...
https://huggingface.co/blog/vit-align
Kakao Brain’s Open Source ViT, ALIGN, and the New COYO Text-Image Dataset
Alara Dirik, Unso Eun Seo Jo, Minwoo Byeon, sungjunlee
March 6, 2023
Kakao Brain and Hugging Face are excited to release a new open-source image-text dataset COYO of 700 million pairs and two new visual language models trained on it, ViT and ALIGN. This is the first time ever the ALIGN model is made public for free and open-source use and the first release of ViT and ALIGN models that c...
https://huggingface.co/blog/using-ml-for-disasters
Using Machine Learning to Aid Survivors and Race through Time
Merve Noyan, Alara Dirik
March 3, 2023
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 Discord server to roll out an application called afetharita, literally me...
https://huggingface.co/blog/controlnet
Ultra fast ControlNet with 🧨 Diffusers
Sayak Paul, YiYi Xu, Patrick von Platen
March 3, 2023
Ever since Stable Diffusion took the world by storm, people have been looking for ways to have more control over the results of the generation process. ControlNet provides a minimal interface allowing users to customize the generation process up to a great extent. With ControlNet, users can easily condition the generat...
https://huggingface.co/blog/ethics-diffusers
Ethical guidelines for developing the Diffusers library
Giada Pistilli
March 2, 2023
We are on a journey to make our libraries more responsible, one commit at a time! As part of the Diffusers library documentation, we are proud to announce the publication of an ethical framework. Given diffusion models' real case applications in the world and potential negative impacts on society, this initiative aims ...
https://huggingface.co/blog/classification-use-cases
How Hugging Face Accelerated Development of Witty Works Writing Assistant
Julien Simon, Violette Lepercq, Florent Gbelidji, Elena Nazarenko, Lukas Kahwe Smith
March 1, 2023
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 landing page and contact us here!Business ContextAs IT continues to evolve and reshape our world, creating a more diverse and inclusive environme...
https://huggingface.co/blog/red-teaming
Red-Teaming Large Language Models
Nazneen Rajani, Nathan Lambert, Lewis Tunstall
February 24, 2023
Red-Teaming Large Language ModelsHugging FaceModelsDatasetsSpacesPostsDocsSolutionsPricingLog InSign UpBack to ArticlesRed-Teaming Large Language Models
https://huggingface.co/blog/fast-mac-diffusers
Swift 🧨Diffusers: Fast Stable Diffusion for Mac
Pedro Cuenca, Vaibhav Srivastav
February 24, 2023
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 for blazingly fast performance. Our latest version, 1....
https://huggingface.co/blog/aws-partnership
Hugging Face and AWS partner to make AI more accessible
Jeff Boudier, Philipp Schmid, Julien Simon
February 21, 2023
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 learning models by making them more accessible to the machine lear...