Example for using with prompt
#5
by
djstrong - opened
Could you provide example code for using the model with a prompt from the list, e.g. Predict whether passage B contains an answer to query A.?
Simply set prompt='Predict whether passage B contains an answer to query A.' when using compute_score from FlagEmbedding.