Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use of sgnlp api #7

Open
TTTnlp opened this issue May 21, 2024 · 0 comments
Open

use of sgnlp api #7

TTTnlp opened this issue May 21, 2024 · 0 comments

Comments

@TTTnlp
Copy link

TTTnlp commented May 21, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant