You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LANGUAGE = st.sidebar.radio("Language",["english","dutch"],0)
if LANGUAGE == "english":
MODEL_PATH = "./dbmdz/bert-large-cased-finetuned-conll03-english"
elif LANGUAGE == "dutch":
MODEL_PATH = "./data/wietsedv/bert-base-dutch-cased"
else:
raise NotImplementedError(f"Unsupported language ({LANGUAGE}) expected 'english' or 'dutch'.")
The text was updated successfully, but these errors were encountered:
I believe we forgot to add the download instructies (and I spotted a missing dependency in the setup.py). It should hopefully be fixed after @RensDimmendaal merges these PRs: #3 and #4.
huggingface/transformers#2392
This is the new location for the huggingface library:
https://huggingface.co/dbmdz/bert-large-cased-finetuned-conll03-english
After making this alteration I got it working:
LANGUAGE = st.sidebar.radio("Language",["english","dutch"],0)
if LANGUAGE == "english":
MODEL_PATH = "./dbmdz/bert-large-cased-finetuned-conll03-english"
elif LANGUAGE == "dutch":
MODEL_PATH = "./data/wietsedv/bert-base-dutch-cased"
else:
raise NotImplementedError(f"Unsupported language ({LANGUAGE}) expected 'english' or 'dutch'.")
The text was updated successfully, but these errors were encountered: