Skip to content

Instantly share code, notes, and snippets.

@Barqawiz
Last active August 14, 2023 13:11
Show Gist options
  • Save Barqawiz/861b69082e6db9a91f38caa5dd7edc05 to your computer and use it in GitHub Desktop.
Save Barqawiz/861b69082e6db9a91f38caa5dd7edc05 to your computer and use it in GitHub Desktop.
{
'openai/gpt-4': [
{
prediction: '<model-output>',
score_cosine_similarity: <score>,
score_euclidean_distance: <score>
}
],
'cohere/command': [
{
prediction: '<model-output>',
score_cosine_similarity: <score>,
score_euclidean_distance: <score>
}
],
'replicate/70b-chat': [
prediction: '<model-output>',
score_cosine_similarity: <score>,
score_euclidean_distance: <score>
],
lookup: {
cosine_similarity: 'a value closer to 1 indicates a higher degree of similarity between two vectors',
euclidean_distance: 'the lower the value, the closer the two points'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment