Update documentation

This commit is contained in:
Chime Ogbuji 2024-11-10 10:10:04 -05:00 committed by Awni Hannun
parent 3f08dfc762
commit 5ce58e4b6a

View File

@ -77,9 +77,9 @@ You can resume fine-tuning with an existing adapter with
`--resume-adapter-file <path_to_adapters.safetensors>`.
### Input Masking
There are custom functions for masking the input sequence of tokens during the loss calculation to ensure
the model is not being penalized for not recreating the prompt. To fine-tune with masked input sequences,
use the `--mask-inputs` argument.
There are custom functions for masking the sequence of tokens associated with the `prompt` in a completion dataset
during the loss calculation to ensure the model is not being penalized for not recreating the prompt. To fine-tune
with masked input sequences, use the `--mask-inputs` argument.
### Evaluate