UER-py
UER-py copied to clipboard
OSError: Can't load config for 'uer/roberta-base-finetuned-jd-binary-chinese'
HI,
First of all, thanks to share this fine-tuned model on public. I followed huggingface usage and tried to use below model on python https://huggingface.co/uer/roberta-base-finetuned-jd-binary-chinese
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("uer/roberta-base-finetuned-jd-binary-chinese")
model = AutoModelForSequenceClassification.from_pretrained("uer/roberta-base-finetuned-jd-binary-chinese")
There is always error as below : OSError: Can't load config for 'uer/roberta-base-finetuned-jd-binary-chinese'. Make sure that:
-
'uer/roberta-base-finetuned-jd-binary-chinese' is a correct model identifier listed on 'https://huggingface.co/models'
-
or 'uer/roberta-base-finetuned-jd-binary-chinese' is the correct path to a directory containing a config.json file
Did this model not exist on huggingface ?
Hello, this model can be donwloaded normally by following your command
