Find answers from the community

Updated 4 months ago

Eval

At a glance
Hi guys I am using this
Plain Text
        retriever_evaluator = RetrieverEvaluator.from_metric_names(
            ["mrr", "hit_rate"], retriever=custom_retriever
        )
        eval_results = retriever_evaluator.evaluate_dataset(qa_dataset)

AttributeError: 'RetrieverEvaluator' object has no attribute 'evaluate_dataset'
how to resolve this
L
r
5 comments
aevalute_dataset(...)
Hi
Is it possible to calculate
First for all the chunks in the document, call embedding model and calculate the embeddings, and store them in a dict / list
Second for each query, calculate its embedding
Third for each query do cosine sim with all the emebdding of the document
and while doing all of that can we also calculate the embedding time for each query and the embedding time for the whole dataset
Add a reply
Sign up and join the conversation on Discord