RAG Flashcards

1
Q

what is TF and IDF?

A

TF is term frequency it is the number of times a term occurs in a given document divided by total number of words in the document
IDF is inverse document frequency, think document frequency first so that’s the number of documents in which a term occurs divided by total number of documents
TF-IDF is the product of TF and inverse of IDF.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is BM25

A

Best Match 25 is a modification to TF IDF which let’s it work much better

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly