Closed koppor closed 3 months ago
Size won't change at all.
It depends on the selected embedding model.
Size may vary a lot, so I use FileUtils.byteCountToDisplaySize
. Is there an internationalized method like that?
Size text is not translated. In the translation message there is %0
, which I replace with the results of FileUtils.byteCountToDisplaySize
If a translated variant is still needed, then I can code "nicer" solution (like in https://github.com/InAnYan/jabref/issues/145), with "less than 50 MB", "100 MB", etc.
But I like more what we have now: 1) It's more accurate 2) MB, GB - I think those terms are heard all over the world and everyone knows them, so maybe this it's not priority (but I'm pretty sure I could be wrong here..)
Thank you for the explanation!
Do you have an idea how often the size will change?
Are there code comments pointing to the places in the code if DJL changes the default embedding model?
I think, "382" is a too fine-grained number. Remember, all texts need to be translated. And JabRef translators are lazy ^^.
I would propose to use "about 400 MB"