Replies: 2 comments 11 replies
-
The preprocessor for Arabert v2 and v1, uses the Farasa segmenter package. In order to use the farasa segmenter package offline, I think you need to clone the project from here https://github.com/MagedSaeed/farasapy . Then modify the target location where the zip file containing the farasa jars to a location where you have manually already downloaded the zip file. This is a complicated task, which can be made easier if you have a one-time connection to let the farasapy package download and setup the files on its own. I suggest opening a discussion or issue in farasapy and further discuss it there. |
Beta Was this translation helpful? Give feedback.
-
so another issue is that normalizing a sentence with basic models takes few seconds(or maybe less than a second) but normalizing a single sentence with 'aubmindlab/bert-base-arabertv2' takes more than 1 minute. Any idea or suggestion? |
Beta Was this translation helpful? Give feedback.
-
Hi
i want to use the arabert-v2 preprocess offline. but it seems saving model is not enough for arabert preprocess function. What else should I download? any ideas?
Beta Was this translation helpful? Give feedback.
All reactions