huggingface
4 traces
- transformers v5 removed TensorFlow and JAX/Flax: TFAutoModel / FlaxAutoModel no longer exist — PyTorch onlyAfter pip install -U transformers (5.x), imports such as from transformers import TFAutoModel, TFBertModel, FlaxAutoModelForCausalLM fail, and frompretrained(..., fromtf=True) style workflows break.
- transformers v5 Trainer: tokenizer= is now processing_class=, no_cuda→use_cpu, per_gpu_*→per_device_*Training scripts written for transformers v4 fail on v5 with TypeError: ... Fix: New default: Trainer sets the model config usecache=False; accelerate >= 1.1.0 is required.
- transformers v5: summarization/translation/question-answering/text2text pipelines removed — use text-generationpipeline("summarization"), pipeline("translationentofr"), pipeline("text2text-generation"), pipeline("question-answering") or pipeline("image-to-image") fail on transformers v5; v4-era tutorials still show them. Fix:…
- huggingface_hub 1.0: huggingface-cli removed (use hf), Repository/HfFolder gone, resume_download removedAfter huggingfacehub upgraded to 1.x (pulled in by transformers v5): huggingface-cli login / huggingface-cli download is not found; from huggingfacehub import Repository, HfFolder, InferenceApi fails;…