When I use Seq2SeqTrainer to train and evaluate, how do I change the decoding strategy. For example, during evaluation after each epoch, I want to use top_p decoding, where do I pass arguments such as do_sample=, top_p=
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Using Seq2SeqTrainer for decoders? | 0 | 77 | December 25, 2024 | |
How to use Seq2seq Trainer with my original "[MASK]" | 2 | 708 | October 22, 2020 | |
[SOLVED] :Difference between `eval_strategy` and `evaluation_strategy` | 2 | 1224 | July 10, 2024 | |
Parameters for evaluation loop of a Seq2SeqTrainer model | 0 | 1163 | November 26, 2021 | |
Trainer vs seq2seqtrainer | 4 | 14800 | November 15, 2024 |