Skip to content

Commit

Permalink
Changed embedding json name
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewcoole committed Oct 10, 2024
1 parent 0907700 commit 7d89512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llm_eval/prepare_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def main():
with open("data/eidc_metadata.json") as input, open("data/prepared_data.json", "w") as output:
data = json.load(input)
for dataset in data["datasets"]:
dataset["desc_embedding"] = create_embedding(dataset["desc"]).tolist()
dataset["desc_emb"] = create_embedding(dataset["desc"]).tolist()
json.dump(data, output)


Expand Down

1 comment on commit 7d89512

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

answer_correctness: 0.4881744797989672
context_precision: 0.5062204283549187
context_recall: 0.4861733998184514
answer_relevancy: 0.5147883588786235

Please sign in to comment.