From 88514d51e39eda05317b2506c0fa23374bebe2db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20Gallou=C3=A9dec?= <45557362+qgallouedec@users.noreply.github.com> Date: Sat, 18 Jan 2025 21:12:25 +0100 Subject: [PATCH] Update reducing_memory_usage.md --- docs/source/reducing_memory_usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/reducing_memory_usage.md b/docs/source/reducing_memory_usage.md index ecc921168e..e015c43906 100644 --- a/docs/source/reducing_memory_usage.md +++ b/docs/source/reducing_memory_usage.md @@ -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=...) ```