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

## Executive Summary (TL;DR)
Hugging Face Transformers v4.40.0. Source highlight: Llama 3 is supported in this release through the Llama 2 architecture and some fixes in the `tokenizers` library.

## Breaking Changes & Deprecations
- [ `TokenizationLlama`] fix the way we convert tokens to strings to keep leading spaces 🚨 breaking fix  by @ArthurZucker in #29453
- [`generate`] fix breaking change for patch  by @ArthurZucker in #29976

## New Features
- Add Idefics2  by @amyeroberts in #30253
- Add recurrent gemma  by @ArthurZucker in #30143
- Add jamba  by @tomeras91 in #29943
- Add DBRX Model  by @abhi-mosaic in #29921
- Add OLMo model family  by @2015aroras in #29890
- Add Qwen2MoE  by @bozheng-hit in #29377

## Improvements
- Separate out kwargs in processor  by @amyeroberts in #30193
- [Processor classes] Update docs  by @NielsRogge in #29698

## Bug Fixes
- [docs] Remove redundant `-`  and `the` from custom_tools.md  by @windsonsea in #29767
- Fixed typo in quantization_config.py  by @kurokiasahi222 in #29766
- OWL-ViT box_predictor inefficiency issue  by @RVV-karma in #29712
- Allow `-OO` mode for `docstring_decorator`  by @matthid in #29689
- fix issue with logit processor during beam search in Flax  by @giganttheo in #29636
- Fix docker image build for `Latest PyTorch + TensorFlow [dev]`  by @ydshieh in #29764

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