Skip to content

use of sgnlp api #7

Open
Open
@TTTnlp

Description

@TTTnlp

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      use of sgnlp api · Issue #7 · declare-lab/RECCON