thu-coai / SentiLARE

Codes for our paper "SentiLARE: Sentiment-Aware Language Representation Learning with Linguistic Knowledge" (EMNLP 2020)
78 stars 12 forks source link

the config.json Should have a `model_type` key in its config.json #11

Open TianlinZhang668 opened 2 years ago

TianlinZhang668 commented 2 years ago

ValueError: Unrecognized model in ../SentiLARE. Should have a model_type key in its config.json, or contain one of the following strings in its name: fnet, gptj, layoutlmv2, beit, rembert, visual_bert, canine, roformer, clip, bigbird_pegasus, deit, luke, detr, gpt_neo, big_bird, speech_to_text_2, speech_to_text, vit, wav2vec2, m2m_100, convbert, led, blenderbot-small, retribert, ibert, mt5, t5, mobilebert, distilbert, albert, bert-generation, camembert, xlm-roberta, pegasus, marian, mbart, megatron-bert, mpnet, bart, blenderbot, reformer, longformer, roberta, deberta-v2, deberta, flaubert, fsmt, squeezebert, hubert, bert, openai-gpt, gpt2, transfo-xl, xlnet, xlm-prophetnet, prophetnet, xlm, ctrl, electra, speech-encoder-decoder, encoder-decoder, funnel, lxmert, dpr, layoutlm, rag, tapas, splinter

Because I want to use it to get sentence embedding

gauravsh0812 commented 1 month ago

Anyone found any help?