# Hugging Face Transformers v4.31.0 — Release & Upgrade Intelligence
- **Product:** Hugging Face Transformers (https://huggingface.co)
- **Version:** v4.31.0
- **Released:** Jul 18, 2023
- **Impact Score:** 7/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/transformers/updates/v4.31.0/

## Executive Summary (TL;DR)
Hugging Face Transformers v4.31.0. Source highlight: Llama 2 was proposed in LLaMA: Open Foundation and Fine-Tuned Chat Models by Hugo Touvron et al. It builds upon the Llama architecture adding Grouped Query Attention for efficient inference.

## Breaking Changes & Deprecations
- Breaking changes Fixes an issue with stripped spaces for the T5 family tokenizers. If this impacts negatively inference/training with your models, please let us know by opening an issue.

## New Features
- Add support for Llama 2 by @ArthurZucker in #24891
- Add Musicgen  by @sanchit-gandhi in #24109
- Add bark  by @ylacombe in #24086
- Add MMS CTC Fine-Tuning  by @patrickvonplaten in #24281
- Add EnCodec model  by @hollance in #23655
- Add InstructBLIP  by @NielsRogge in #23460

## Bug Fixes
- ⚠️⚠️[`T5Tokenize`] Fix T5 family tokenizers⚠️⚠️  by @ArthurZucker in #24565
- add trust_remote_code option to CLI download cmd  by @radames in #24097
- Fix typo in Llama docstrings  by @Kh4L in #24020
- Avoid `GPT-2` daily CI job OOM (in TF tests)  by @ydshieh in #24106
- [Lllama] Update tokenization code to ensure parsing of the special tokens [core]  by @ArthurZucker in #24042
- PLAM => PaLM  by @xingener in #24129

## Upgrade Command
```bash
python -m pip install 'transformers==4.31.0'
```
