How to use UBIAI/en_scibert_ScienceIE with spaCy:
!pip install https://huggingface.co/UBIAI/en_scibert_ScienceIE/resolve/main/en_scibert_ScienceIE-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("en_scibert_ScienceIE") # Importing as module. import en_scibert_ScienceIE nlp = en_scibert_ScienceIE.load()
I'm getting this error when trying to use the API for en_scibert_ScienceIE NER:"cannot import name 'DatasetInfo' from 'huggingface_hub.hf_api' (/usr/local/lib/python3.8/site-packages/huggingface_hub/hf_api.py)".How to solve this?
· Sign up or log in to comment