Skip to content

Is there a way to know "Haystack model's overfitting/not" on our data? #3081

Discussion options

You must be logged in to vote

Hi @Renuk9390! I assume you are using the FARMReader, please correct me if I am wrong. You are getting the TypeError, as the FARMReader's train method does not allow an argument eval_report. eval_report is a property of the Trainer that is used inside the FARMReader's train method, and it is set to True by default, so the eval report should be produced. The problem here probably is that the eval report is logged at the logging level INFO, while the default logging level in python is WARNING. In order to see the logs at the INFO level produced by Haystack, you need to add the following code snippet:

import logging
logging.basicConfig(format="%(levelname)s - %(name)s - %(message)s", level=l…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Renuk9390
Comment options

Answer selected by bogdankostic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants