Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving/Loading document #35

Open
arita37 opened this issue Nov 29, 2024 · 2 comments
Open

Saving/Loading document #35

arita37 opened this issue Nov 29, 2024 · 2 comments

Comments

@arita37
Copy link

arita37 commented Nov 29, 2024

Hello,

Thanks for the library.
Just wondering if we can load/save from the disk
the computed embedding and models (!)

Thanks !

@raphaelsty
Copy link
Owner

Hi @arita37, to save the model you can use model.save_pretrained("your-model-name")

To save the embeddings computed you can use Pickle or Joblib :)

@arita37
Copy link
Author

arita37 commented Dec 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants