Skip to content

Commit

Permalink
Update reducing_memory_usage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qgallouedec authored Jan 18, 2025
1 parent 76837e8 commit 88514d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/reducing_memory_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ To set the truncation parameter, use the following code snippet:
```python
from trl import SFTConfig

training_args = SFTConfig(..., max_length=...)
training_args = SFTConfig(..., max_seq_length=...)
```

</hfoption>
Expand Down

0 comments on commit 88514d5

Please sign in to comment.