Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Why use evaluation results of train data when train biencoder? #102

Open
scarlettllc opened this issue Nov 8, 2021 · 0 comments
Open

Why use evaluation results of train data when train biencoder? #102

scarlettllc opened this issue Nov 8, 2021 · 0 comments

Comments

@scarlettllc
Copy link

        logger.info("Valid data evaluation")
        results = evaluate(
            reranker, valid_dataloader, params,
            cand_encs=cand_encs, device=device,
            logger=logger, faiss_index=cand_encs_index,
            get_losses=params["get_losses"],
        )
        logger.info("Train data evaluation")
        results = evaluate(
            reranker, train_dataloader, params,
            cand_encs=cand_encs, device=device,
            logger=logger, faiss_index=cand_encs_index,
            get_losses=params["get_losses"],
        )

        ls = [best_score, results["normalized_f1"]]
        li = [best_epoch_idx, epoch_idx]
@scarlettllc scarlettllc changed the title Why use evaluation results of train data when train_biencoder? Why use evaluation results of train data when train biencoder? Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant