mirror of
https://github.com/zotero/zotero.git
synced 2026-10-11 03:38:25 +00:00
Replace the bundled transformers.js/ONNX Runtime worker with a Zotero.ML engine on the native ONNX backend, which embeds a batch of abstracts several times faster and runs the model outside the main process. The runtime downloads the model files and caches them in the profile directory, so drop the model directory in the data directory along with the code that filled it. Size batches by the amount of text they hold rather than by a fixed item count, since a batch of long abstracts needs far more memory than the same number of short ones, and shrink the budget further while the system is under memory pressure. |
||
|---|---|---|
| .. | ||
| components | ||
| content | ||
| resource | ||
| tests | ||
| chrome.manifest | ||
| runtests.sh | ||