# Trainer warning with the new version

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftrainer-warning-with-the-new-version%2F115446%3E%5C
**Category:** 🤗Transformers\
**Created:** [November 3, 2024, 8:13pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftrainer-warning-with-the-new-version%2F115446 "2024-11-03T20:13:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [November 4, 2024, 12:44am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftrainer-warning-with-the-new-version%2F115446%2F2 "2024-11-04T00:44:36Z")

</div>

Maybe this?

> [@Tokenizer deprecating in ORPO](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftokenizer-deprecating-in-orpo%2F113928)%3A
>
> Dear all, I was training an LLM using ORPO based on the [guides by Maxime Labonne](https://mlabonne.github.io/blog/posts/2024-04-19_Fine_tune_Llama_3_with_ORPO.html). Unfortunately, I encountered the following error on the code below: Trainer.tokenizer is now deprecated. You should use Trainer.processing\_class instead. Trying to resolve it by using the processing\_class in the way suggested by Gemini/ChatGPT did not resolve the problem. Does anyone have an idea how to resolve this? Kind regards, Ben orpo\_args = ORPOConfig( learning\_rate=8e-6, beta=0.1, lr\_sched…

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftrainer-warning-with-the-new-version%2F115446)._
