gpt-3.5-turbo-0613· OpenAI
WildChat-4.8M (AI2)
Save the encoded embeddings to a file with open(encodedembeddings.pkl, wb) as f…
- User
Save the encoded embeddings to a file
with open(encoded_embeddings.pkl, wb) as f pickle.dump(existing_embeddings, f)
covert that to feather
- Assistant
import pandas as pd
Convert existing embeddings to dataframe
df = pd.DataFrame(existing_embeddings)
Save dataframe to feather format
df.to_feather('encoded_embeddings.feather')