با سلام.
من موقع اجرای کدی به خطای زیر برخورد کردم
C:\Users\Azadeh\Desktop\finetune-transformer-lm-master>python -m spacy download en
Requirement already satisfied: en_core_web_sm==2.0.0 from https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz#egg=en_core_web_sm==2.0.0 in c:\users\azadeh\appdata\local\programs\python\python35\lib\site-packages (2.0.0)
You do not have sufficient privilege to perform this operation.
Linking successful
C:\Users\Azadeh\AppData\Local\Programs\Python\Python35\lib\site-packages\en_core_web_sm
-->
C:\Users\Azadeh\AppData\Local\Programs\Python\Python35\lib\site-packages\spacy\data\en
You can now load the model via spacy.load('en')
C:\Users\Azadeh\Desktop\finetune-transformer-lm-master>python train.py --dataset rocstories --desc rocstories --submit --analysis --data_dir data
Namespace(afn='gelu', analysis=True, attn_pdrop=0.1, b1=0.9, b2=0.999, bpe_path='model/vocab_40000.bpe', clf_pdrop=0.1, data_dir='data', dataset='rocstories', desc='rocstories', e=1e-08, embd_pdrop=0.1, encoder_path='model/encoder_bpe_40000.json', l2=0.01, lm_coef=0.5, log_dir='log/', lr=6.25e-05, lr_schedule='warmup_linear', lr_warmup=0.002, max_grad_norm=1, n_batch=8, n_ctx=512, n_embd=768, n_gpu=4, n_head=12, n_iter=3, n_layer=12, n_transfer=12, opt='adam', resid_pdrop=0.1, save_dir='save/', seed=42, submission_dir='submission/', submit=True, vector_l2=False)
Traceback (most recent call last):
File "train.py", line 366, in <module>
text_encoder = TextEncoder(encoder_path, bpe_path)
File "C:\Users\Azadeh\Desktop\finetune-transformer-lm-master\text_utils.py", line 41, in __init__
self.nlp = spacy.load('en', disable=['parser', 'tagger', 'ner', 'textcat'])
File "C:\Users\Azadeh\AppData\Local\Programs\Python\Python35\lib\site-packages\spacy\__init__.py", line 21, in load
return util.load_model(name, **overrides)
File "C:\Users\Azadeh\AppData\Local\Programs\Python\Python35\lib\site-packages\spacy\util.py", line 119, in load_model
raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
با اینکه python -m spacy download en
رو هم زدم و لینک هم شد اما باز هم اجرا نمیشه.
ممکنه راهنمایی کنید.