Skip to content

Commit

Permalink
fix: update call to save_vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
mortonne committed Jul 23, 2020
1 parent f76e827 commit fd26b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/embed_articles
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def main(map_file, text_dir, h5_file):
df = pd.read_csv(map_file)
items = df['item'].tolist()
vectors = vector.embed_items_use(items, text_dir)
vector.save_vectors(items, vectors, h5_file)
vector.save_vectors(vectors, items, h5_file)


if __name__ == '__main__':
Expand Down

0 comments on commit fd26b83

Please sign in to comment.