facebookresearch / BLINK

Entity Linker solution
MIT License
1.17k stars 231 forks source link

biencoder_wiki_large.json not in download.sh #79

Open preetmodi opened 3 years ago

preetmodi commented 3 years ago

Encountered these Errors.

Error when moving the main_dense.py into the main BLINK folder and then running it:

FileNotFoundError: [Errno 2] No such file or directory: 'models/biencoder_wiki_large.json'

Error from main_dense.py when calling from the location it is currently stored in:

ModuleNotFoundError: No module named 'blink'

wutaiqiang commented 3 years ago

_FileNotFoundError: [Errno 2] No such file or directory: 'models/biencoder_wikilarge.json'

It is not necessary to move the main_dense.py file, u only need move the *.json file to models/ folder after download it

No module named 'blink' way1: adding PYTHONPATH=. before the command way2: set the python search path just like: import sys sys.path.append('XXXX/BLINK/')

alex6226 commented 3 years ago

when i run ↓ models = main_dense.load_models(args, logger=None) they talk me there is no elq_large_params.txt