(no title)
gmarland | 1 year ago
For anyone who is interested in how this works, it's pretty straightforward. The baseline creates an embedding for the outputted phrase and stores it in the json file. The test then runs the same phrase through the tested llm/model and the embeds the results.
The results of the baseline and the test are then compared with a cosine similarity so determine the similarity.
It was a pretty fun library to write!
No comments yet.