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 | 63 | December 25, 2024 | |
How to use Seq2seq Trainer with my original "[MASK]" | 2 | 703 | October 22, 2020 | |
[SOLVED] :Difference between `eval_strategy` and `evaluation_strategy` | 2 | 821 | July 10, 2024 | |
Parameters for evaluation loop of a Seq2SeqTrainer model | 0 | 1158 | November 26, 2021 | |
Trainer vs seq2seqtrainer | 4 | 14460 | November 15, 2024 |