We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
AddressParser fails due to incorrect model path: https://bpemb.h-its.org/multi/multi.wiki.bpe.vs100000.model
AddressParser
To Reproduce
from deepparse.parser import AddressParser address_parser = AddressParser(model_type="bpemb", device=0)
Expected behavior
I believe the class needs to download the model from the following url: https://bpemb.h-its.org/multi/multi/multi.wiki.bpe.vs1000000.model
The text was updated successfully, but these errors were encountered:
Yeah, it appears they have changed the URL from https://bpemb.h-its.org/multi/multi.wiki.bpe.vs100000.model to https://bpemb.h-its.org/multi/multi/multi.wiki.bpe.vs1000000.model. The problem is not ours but BPEmb library.
It seems like an involuntary error on their side. I have opened an issue on the project repo here.
Sorry, something went wrong.
Is there a fix or is the AddressParser with bpemb unusable for now?
@akseljoonas for the time being, until it is resolved on bpemb side, you can use this workaround.
mkdir -p ~/.cache/deepparse/multi/ && \ wget -O ~/.cache/deepparse/multi/multi.wiki.bpe.vs100000.model https://bpemb.h-its.org/multi/multi/multi.wiki.bpe.vs100000.model && \ wget -O multi.wiki.bpe.vs100000.d300.w2v.bin.tar.gz https://bpemb.h-its.org/multi/multi/multi.wiki.bpe.vs100000.d300.w2v.bin.tar.gz && \ tar -xzf multi.wiki.bpe.vs100000.d300.w2v.bin.tar.gz -C ~/.cache/deepparse/multi/ && rm multi.wiki.bpe.vs100000.d300.w2v.bin.tar.gz
I download these files into the cache folder before initialising AddressParser.
No, except for the @ajndkr solution.
No branches or pull requests
Describe the bug
AddressParser
fails due to incorrect model path: https://bpemb.h-its.org/multi/multi.wiki.bpe.vs100000.modelTo Reproduce
Expected behavior
I believe the class needs to download the model from the following url: https://bpemb.h-its.org/multi/multi/multi.wiki.bpe.vs1000000.model
The text was updated successfully, but these errors were encountered: