Support for 'Train on inputs' that handles interactive discussions #1011
-
Hi, I'm aware of the 'Train on inputs' boolean that allows the training to only generate loss for the replies to instructions, rather than on the instructions themselves. But, how could this be made to work for extended conversations between a user and the AI? Especially if I have a raw input where the conversation looks like: User: Here is my question I want the training to learn both of the AI lines without learning either of the User's lines. Obviously I could break this into two pairs, but I wouldn't actually want the second AI reply to be learned as a response to the second User question without the first question and response being part of the context. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The default behavior is that it'll mask both user lines as you wanted. It doesn't mask only last and does not require you to split into two. |
Beta Was this translation helpful? Give feedback.
The default behavior is that it'll mask both user lines as you wanted. It doesn't mask only last and does not require you to split into two.