Skip to content

Commit

Permalink
Update ort training installation instructions (#2173)
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix authored Jan 30, 2025
1 parent b755036 commit 90c4146
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,13 @@ You can find more examples in the [documentation](https://huggingface.co/docs/op

### ONNX Runtime


Before you begin, make sure you have all the necessary libraries installed :

```bash
pip install optimum[onnxruntime-training]
```

```diff
- from transformers import Trainer, TrainingArguments
+ from optimum.onnxruntime import ORTTrainer, ORTTrainingArguments
Expand Down

0 comments on commit 90c4146

Please sign in to comment.