RECCON icon indicating copy to clipboard operation
RECCON copied to clipboard

use of sgnlp api

Open TTTnlp opened this issue 9 months ago • 0 comments

when i load model, something wrong.

config = RecconEmotionEntailmentConfig.from_pretrained( "https://storage.googleapis.com/sgnlp/models/reccon_emotion_entailment/config.json" ) tokenizer = RecconEmotionEntailmentTokenizer.from_pretrained("roberta-base") model = RecconEmotionEntailmentModel.from_pretrained( "https://storage.googleapis.com/sgnlp/models/reccon_emotion_entailment/pytorch_model.bin", config=config, )

wrong: 403 Forbidden: None. Cannot access content at: https://storage.googleapis.com/sgnlp/models/reccon_emotion_entailment/config.json. If you are trying to create or update content,make sure you have a token with the write role.

what can i do to solve this problem?

TTTnlp avatar May 21 '24 11:05 TTTnlp