# Hugging Face Transformers v2.10.0 — Release & Upgrade Intelligence
- **Product:** Hugging Face Transformers (https://huggingface.co)
- **Version:** v2.10.0
- **Released:** May 22, 2020
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/transformers/updates/v2.10.0/

## Executive Summary (TL;DR)
Hugging Face Transformers v2.10.0. Source highlight: Reformer (@patrickvonplaten)

## New Features
- Added a new model "Reformer": https://arxiv.org/abs/2001.04451 to the library. Original trax code: https://github.com/google/trax/tree/master/trax/models/reformer was translated to PyTorch.
- The `ElectraForSequenceClassification` was added
- Added a conversion script to convert both PyTorch/TensorFlow models to ONNX.
- Added a notebook explaining how it works

## Bug Fixes
- Fixed the optimizer weight updates
- Fixed the `nn.DataParallel` support compatibility for PyTorch `v1.5.0`
- Support flake8 3.8 (@julien-c)
- Tests are now faster thanks to using dummy smaller models (@sshleifer)
- Fixed the eval loss in the trainer (@patil-suraj)
- Fixed the `p_mask` in SQuAD pre-processing (@LysandreJik)

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