From 76837e82b912e4faab9428e1a7d6d4ea7229178f Mon Sep 17 00:00:00 2001 From: Skander Moalla <37197319+skandermoalla@users.noreply.github.com> Date: Sat, 18 Jan 2025 21:10:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=9E=EF=B8=8F=20Fix=20documentation=20S?= =?UTF-8?q?FT=20-`max=5Fseq=5Flength`=20instead=20of=20`max=5Flength`=20(#?= =?UTF-8?q?2590)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/source/reducing_memory_usage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/reducing_memory_usage.md b/docs/source/reducing_memory_usage.md index e6f33f6ebd..ecc921168e 100644 --- a/docs/source/reducing_memory_usage.md +++ b/docs/source/reducing_memory_usage.md @@ -44,7 +44,7 @@ training_args = DPOConfig(..., max_completion_length=...) -SFT truncation is applied to the input sequence via the `max_length` parameter. +SFT truncation is applied to the input sequence via the `max_seq_length` parameter.
Truncation input ids @@ -92,4 +92,4 @@ training_args = SFTConfig(..., packing=True, max_seq_length=512) Packing may cause batch contamination, where adjacent sequences influence one another. This can be problematic for some applications. For more details, see [#1230](https://github.com/huggingface/trl/issues/1230). - \ No newline at end of file +