fvolchyok
fvolchyok
@romansielewicz looks like there is some kind of compiler incompatibility issues between gcld/protobuf. What helped me is to install an older version of protobuf and temporarily point to it: https://github.com/google/cld3/issues/80#issuecomment-1693630268
After quite a lot of head scratching I came up with this solution and explanation: https://stackoverflow.com/a/77172656/2305175 **TL;DR:** Try limiting your output to console as much as possible while working with...
Additionally, it seems like the old model (lid.176.bin) is much better in some cases, e.g. for "儿童英语启蒙" old model outputs: [('zh', 0.8819286823272705), ('fr', 0.027756499126553535), ('en', 0.025446636602282524)] while new model (lid218e.bin)...
Very late, but for anyone interested – assuming you're asking about `lid218e.bin` model - you could use [fasttext](https://github.com/facebookresearch/fastText) library: ``` python import fasttext fasttext_model = fasttext.load_model('lid218e.bin') fasttext_model.predict("русский язык", k=3) ```...
Seems like this problem is specific to filesystem backend, there is full setup: ```python # echo "[]" > empty_arr.json # python3 -m http.server 9000 import requests import requests_cache requests_cache.install_cache( "http_cache",...
I'm not an expert on archive formats, but seems like zip does not guarantee support for file permissions? More info is here: https://superuser.com/a/1257441/758853