declare-lab / RECCON

This repository contains the dataset and the PyTorch implementations of the models from the paper Recognizing Emotion Cause in Conversations.
168 stars 28 forks source link

use of sgnlp api #7

Open TTTnlp opened 3 months ago

TTTnlp commented 3 months ago

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?