Skip to content

use of sgnlp api #7

@evantian110

Description

@evantian110

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?

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