i try to arabic vector with spacy, so i try code from this github https://github.com/bakrianoo/aravec/blob/master/aravec-with-spacy.ipynb
when i use this code
!python -m spacy init-model ar spacy.aravec.model --vectors-loc ./spacyModel/aravec.txt.gz
it apear this error
Error: No such command 'init-model'.
so i try to fix it by change init-model
to init
and add vector
but this error apear:
!python -m spacy init vectors ar ./spacyModel/spacy.aravec.model --vectors-loc ./spacyModel/aravec.txt.gz
error :
Usage: python -m spacy init vectors [OPTIONS] LANG VECTORS_LOC OUTPUT_DIR
Try 'python -m spacy init vectors --help' for help.
Error: No such option: --vectors-loc
how can i fix it ?