Relative Content

Tag Archive for pythonpycharmhuggingface-transformershuggingface-trainer

PyCharm + Transformers: Unable to Use Breakpoints with `Trainer()`

I’m used to developing and debugging with PyCharm. I’ve recently started using the HuggingFace ecosystem (transformers, accelerate, trl), specifically following an example of the vanilla Trainer() class in transformers (which uses accelerate under the hood, I believe). I find that: