lingua-go icon indicating copy to clipboard operation
lingua-go copied to clipboard

Find more memory-efficient data structure for language models

Open pemistahl opened this issue 1 year ago • 1 comments

Currently, the language models are 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.

One promising candidate could be Gonum.

pemistahl avatar Nov 05 '22 08:11 pemistahl