You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the previous Finto AI model update-round the the same mistake was made twice: a (base) project training was interrupted but not immediately noticed as there existed an old model with the same project id. Noticing the mistake was not easy from the suggestion or evaluation results either, because the old model produced sensible suggestions coming from the new vocabulary. The vocabulary had of course been loaded before the training (updating the vocabulary was introduced in #274/#383).
Annif could emit a warning when suggesting with a model, whose vocabulary has been modified since the model has been trained.
Implementation could rely on comparing the timestamps of the model/vocabulary files in the project/vocabulary directories, which would be straightforward. However, the timestamps of the model files could be greater than (after) the timestamps of the vocabulary files even when the model has not been retrained at least in two cases, and these could lead the warning to be missing:
in case of learn of a learning backend has been used
if (re)training has been interrupted, but the backend have created some temporary files in the project directory (like fasttext-train9ic43tsy.txt) that remain
The text was updated successfully, but these errors were encountered:
In the previous Finto AI model update-round the the same mistake was made twice: a (base) project training was interrupted but not immediately noticed as there existed an old model with the same project id. Noticing the mistake was not easy from the suggestion or evaluation results either, because the old model produced sensible suggestions coming from the new vocabulary. The vocabulary had of course been loaded before the training (updating the vocabulary was introduced in #274/#383).
Annif could emit a warning when suggesting with a model, whose vocabulary has been modified since the model has been trained.
Implementation could rely on comparing the timestamps of the model/vocabulary files in the project/vocabulary directories, which would be straightforward. However, the timestamps of the model files could be greater than (after) the timestamps of the vocabulary files even when the model has not been retrained at least in two cases, and these could lead the warning to be missing:
learn
of a learning backend has been usedfasttext-train9ic43tsy.txt
) that remainThe text was updated successfully, but these errors were encountered: