KnowledgeablePromptTuning icon indicating copy to clipboard operation
KnowledgeablePromptTuning copied to clipboard

kpt code

Results 10 KnowledgeablePromptTuning issues
Sort by recently updated
recently updated
newest added

it seems that there is no datasets online? how can i get it ?

test fewshot.py, get the below fatal error. pytorch 1.10.0 ``` for step, inputs in enumerate(train_dataloader): if use_cuda: inputs = inputs.cuda() logits = prompt_model(inputs) labels = inputs['label'] loss = loss_func(logits, labels)...

Thank you for sharing your work. In my understanding, the knowledgeable_verbalizer.json is coming from the "OpenPrompt/scripts/TextClassification/yahoo_answers_topics/knowledgeable_verbalizer.json" (yahoo for instance). I think the high-quailty knowledgeable_verbalizer is very important. Could you generate...

I am running run_few_shot.sh from the repository with no changes This error occurs every time. I tried to add the directory ckpts, but that didn't help The error's stacktrace is...

Need to install packages before run setup.py

KnowledgeableVerbalizer 可以运用在中文的情感分析嘛? 就是 KnowledgeableVerbalizer 是否训练了中文感情的外部知识?

我没有理解few shot中的KPT-LR后是怎样使用few shot训练数据的?我的理解是仅在LR时使用了few shot提供的数据,而不明白-LR后是怎样运作的。

I have already installed the latest openprompt package. And the script for KPT is ```bash PYTHONPATH=python3 BASEPATH="./" DATASET=dbpedia #agnews dbpedia imdb amazon yahoo TEMPLATEID=0 # 1 2 3 SEED=144 #...

Thanks for your excellent work! As I'm a totally beginer about prompt learning, I want to know how to do the ablation experiment "-RR""-LR" and "PT+CC" ![QQ截图20221014180044](https://user-images.githubusercontent.com/71198047/195820328-c9b9be88-ca26-45a1-add2-fb5c7d954ac7.jpg) Thanks to anyone...