# Migration Context: Hugging Face Transformers v0.6 -> v1 # Generated by Changelogs.us: 2026-11-30T03:04:30.518112+00:00 # Target Version: 1.2.0 # Upgrade Command: N/A # Breaking Changes: 3 # Security Fixes: 0 ## Executive Summary Upgrading Hugging Face Transformers from 0.6 to 1 involves 3 releases with risk rating Moderate. ## Breaking Changes List: - [vv1.0.0] Breaking-changes The [migration section](https://github.com/huggingface/pytorch-transformers#migrating-from-pytorch-pretrained-bert-to-pytorch-transformers) of the readme lists the breaking changes when switching from `pytorch-pretrained-bert` to `pytorch-transformers`.: - [vv1.0.0] The [migration section](https://github.com/huggingface/pytorch-transformers#migrating-from-pytorch-pretrained-bert-to-pytorch-transformers) of the readme lists the breaking changes when switching from `pytorch-pretrained-bert` to `pytorch-transformers`.: - [vv1.0.0] The main breaking change is that all models now returns a `tuple` of results.: ## Instructions for AI Assistant: When migrating user code from Hugging Face Transformers 0.6 to 1, scan for the deprecated APIs and breaking changes above and refactor code to use modern v1.2.0 idioms.