Config Json missing

#3
by DMurge - opened

When I try to load model I get an error message config.json is not found. Its also not visible under files and version tab.
I am guessing its config might be from base model 'distilbert-base-uncased'. If that's right then I have raised a PR to push config.json file from distilbert-base-uncased model. If that's not right, @beki can you help?

Thanks for pointing this out. I've added config.json for the base model 'distilbert-base-cased'

Incidentally, how are you trying to load the model? It should work with:

!pip install https://huggingface.co/beki/en_spacy_pii_distilbert/resolve/main/en_spacy_pii_distilbert-any-py3-none-any.whl

# Using spacy.load().
import spacy
nlp = spacy.load("en_spacy_pii_distilbert")

Sign up or log in to comment