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

Reduce resources to load language models #157

Closed
pemistahl opened this issue Nov 5, 2022 · 1 comment
Closed

Reduce resources to load language models #157

pemistahl opened this issue Nov 5, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@pemistahl
Copy link
Owner

Currently, the language models are parsed from json files and loaded into simple maps at runtime. Even though accessing the maps is pretty fast, they consume a significant amount of memory. The goal is to investigate whether there are more suitable data structures available that require less storage space in memory, something like NumPy for Python. Perhaps it is even possible to store those data structures in some kind of binary format on disk which can be loaded faster than the current json files.

Promising candidates could be:

@pemistahl pemistahl added the enhancement New feature or request label Nov 5, 2022
@pemistahl pemistahl added this to the Lingua 1.3.0 milestone Nov 5, 2022
@pemistahl
Copy link
Owner Author

Closed in favor of #214.

@pemistahl pemistahl removed this from the Lingua 1.3.0 milestone Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant