Skip to content

Commit

Permalink
Merge pull request #1 from iQuxLE/iQuxLE-patch-hf_download
Browse files Browse the repository at this point in the history
refactor hf_download
  • Loading branch information
iQuxLE authored Feb 6, 2025
2 parents 3763ae9 + f7f62c6 commit d823f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/curategpt/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2549,7 +2549,7 @@ def download_embeddings(path, collection, repo_id, embeddings_filename, metadata
df = pd.read_parquet(Path(parquet_download))
store_objects = [
{
"metadata": row.iloc[0]['metadata'],
"metadata": row.iloc[0],
"embeddings": row.iloc[1],
"document": row.iloc[2]
} for _, row in df.iterrows()
Expand Down

0 comments on commit d823f00

Please sign in to comment.